Skip to content

Commit 736bd5d

Browse files
authored
Merge pull request #643 from add2cal/dev
Dev
2 parents 00257b1 + af49f13 commit 736bd5d

30 files changed

+47
-46
lines changed

assets/css/atcb-3d.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: 3D
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1319,7 +1319,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13191319
.pro-form-fine {
13201320
font-size: .8em;
13211321
margin: .5em auto 1em;
1322-
opacity: .75;
1322+
opacity: .5;
13231323
text-align: center;
13241324
}
13251325

assets/css/atcb-3d.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb-date.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Date
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1024,7 +1024,7 @@ a.atcb-modal-btn:not([disabled]):hover {
10241024
.pro-form-fine {
10251025
font-size: .8em;
10261026
margin: .5em auto 1em;
1027-
opacity: .75;
1027+
opacity: .5;
10281028
text-align: center;
10291029
}
10301030

assets/css/atcb-date.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb-flat.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Flat
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1244,7 +1244,7 @@ a.atcb-modal-btn:not([disabled]):hover {
12441244
.pro-form-fine {
12451245
font-size: .8em;
12461246
padding: .5em auto 1em;
1247-
opacity: .75;
1247+
opacity: .5;
12481248
text-align: center;
12491249
}
12501250

assets/css/atcb-flat.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb-neumorphism.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Neumorphism
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1243,7 +1243,7 @@ a.atcb-modal-btn:not([disabled]):hover {
12431243
.pro-form-fine {
12441244
font-size: .8em;
12451245
margin: .5em auto 1em;
1246-
opacity: .75;
1246+
opacity: .5;
12471247
text-align: center;
12481248
}
12491249

assets/css/atcb-neumorphism.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb-round.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Round
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1329,7 +1329,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13291329
.pro-form-fine {
13301330
font-size: .8em;
13311331
margin: .5em auto 1em;
1332-
opacity: .75;
1332+
opacity: .5;
13331333
text-align: center;
13341334
}
13351335

assets/css/atcb-round.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb-text.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Text
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1326,7 +1326,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13261326
.pro-form-fine {
13271327
font-size: .8em;
13281328
margin: .5em auto 1em;
1329-
opacity: .75;
1329+
opacity: .5;
13301330
text-align: center;
13311331
}
13321332

assets/css/atcb-text.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/atcb.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Default
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1264,7 +1264,7 @@ a.atcb-modal-btn:not([disabled]):hover {
12641264
.pro-form-fine {
12651265
font-size: .8em;
12661266
margin: .5em auto 1em;
1267-
opacity: .75;
1267+
opacity: .5;
12681268
text-align: center;
12691269
}
12701270

assets/css/atcb.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/components/footer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function topFunction() {
7070
</span>
7171
<div class="mt-6 text-xs sm:mt-5 md:mt-3">
7272
<span class="font-semibold text-zinc-500 dark:text-zinc-400"> &copy; {{new Date().getFullYear()}} </span>
73-
<span class="lowercase text-zinc-400 dark:text-zinc-500"> , Current Version: 2.7.1 </span>
73+
<span class="lowercase text-zinc-400 dark:text-zinc-500"> , Current Version: 2.7.2 </span>
7474
</div>
7575
</div>
7676
<div class="hidden self-center sm:block">

demo/public/atcb.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Default
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -1264,7 +1264,7 @@ a.atcb-modal-btn:not([disabled]):hover {
12641264
.pro-form-fine {
12651265
font-size: .8em;
12661266
margin: .5em auto 1em;
1267-
opacity: .75;
1267+
opacity: .5;
12681268
text-align: center;
12691269
}
12701270

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "add-to-calendar-button",
3-
"version": "2.7.1",
3+
"version": "2.7.2",
44
"engines": {
55
"node": ">=18.17.0",
66
"npm": ">=9.6.7"

src/atcb-control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-decorate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-generate-pro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-generate-rich-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-generate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-globals.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
* Add to Calendar Button
66
* ++++++++++++++++++++++
77
*
8-
* Version: 2.7.1
8+
* Version: 2.7.2
99
* Creator: Jens Kuerschner (https://jekuer.com)
1010
* Project: https://github.com/add2cal/add-to-calendar-button
1111
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
1212
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
1313
*
1414
*/
15-
const atcbVersion = '2.7.1';
15+
const atcbVersion = '2.7.2';
1616

1717
// DEFINING CSS
1818
const atcbCssTemplate = {};

src/atcb-i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-links.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
@@ -47,7 +47,7 @@ function atcb_generate_links(host, type, data, subEvent = 'all', keyboardTrigger
4747
if (!skipDoubleLink) {
4848
// nothing to show here at the moment...
4949
// if something comes up, we can use something like the following:
50-
// if (atcbIsiOS() && linkType === 'google') {
50+
// if ((atcbIsiOS() || data.fakeIOS) && linkType === 'google') {
5151
// atcb_create_modal(host, data, 'warning', '', atcb_translate_hook('modal.warn.1.text', data), [{ label: atcb_translate_hook('continue', data), primary: true, type: '2timeslink' },{ label: atcb_translate_hook('cancel', data) }], [], keyboardTrigger, { type: type, id: subEvent + 1 });
5252
// return;
5353
// }
@@ -210,7 +210,7 @@ function atcb_set_fully_successful(host, data, multiDateModal = false) {
210210
// ICAL
211211
function atcb_subscribe_ical(data, fileUrl, host = null, keyboardTrigger = false) {
212212
// for Chrome on iOS, we can not directly open the file, but we can show a modal with instructions
213-
if ((atcbIsiOS() || data.fakeIOS) && !atcbIsSafari()) {
213+
if (atcbIsiOS() && !atcbIsSafari()) {
214214
atcb_ical_copy_note(host, fileUrl, data, keyboardTrigger);
215215
return;
216216
}
@@ -485,11 +485,12 @@ function atcb_generate_ical(host, data, subEvent = 'all', keyboardTrigger = fals
485485
// if we are in proxy mode, we can directly redirect
486486
if (data.proxy) {
487487
const langUrlPart = data.language && data.language === 'de' ? data.language + '/' : '';
488-
atcb_open_cal_url(data, 'ical', 'https://caldn.net/' + langUrlPart + 'no-ics-file', false, subEvent);
488+
const url = (data.dev ? 'https://dev.caldn.net/' : 'https://caldn.net/') + langUrlPart + 'no-ics-file';
489+
atcb_open_cal_url(data, 'ical', url, false, subEvent);
489490
return;
490491
}
491492
// else, we directly load it (not if iOS and WebView - will be catched further down - except it is explicitely bridged)
492-
if (givenIcsFile !== '' && (!atcbIsiOS() || !atcbIsWebView() || data.bypassWebViewCheck)) {
493+
if (givenIcsFile !== '' && ((!atcbIsiOS() && !data.fakeIOS) || !atcbIsWebView() || data.bypassWebViewCheck)) {
493494
atcb_save_file(givenIcsFile, filename);
494495
return;
495496
}
@@ -603,7 +604,7 @@ function atcb_generate_ical(host, data, subEvent = 'all', keyboardTrigger = fals
603604
// in in-app browser cases (WebView), we offer a copy option, since the on-the-fly client side generation is usually not supported
604605
// for Android, we are more specific than with iOS and only go for specific apps at the moment
605606
// for Chrome on iOS we basically do the same
606-
if (((atcbIsiOS() || data.fakeIOS) && !atcbIsSafari()) || (atcbIsWebView() && (atcbIsiOS() || data.fakeIOS || ((atcbIsAndroid() || data.fakeAndroid) && atcbIsProblematicWebView())))) {
607+
if ((atcbIsiOS() && !atcbIsSafari()) || (atcbIsWebView() && (atcbIsiOS() || (atcbIsAndroid() && atcbIsProblematicWebView())))) {
607608
atcb_ical_copy_note(host, dataUrl, data, keyboardTrigger);
608609
return;
609610
}
@@ -634,7 +635,7 @@ function atcb_ical_copy_note(host, dataUrl, data, keyboardTrigger) {
634635
// putting the download url to the clipboard
635636
atcb_copy_to_clipboard(dataUrl);
636637
// creating the modal
637-
if ((atcbIsiOS() || data.fakeIOS) && !atcbIsSafari()) {
638+
if (atcbIsiOS() && !atcbIsSafari()) {
638639
atcb_create_modal(
639640
host,
640641
data,

src/atcb-util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

src/atcb-validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Add to Calendar Button
44
* ++++++++++++++++++++++
55
*
6-
* Version: 2.7.1
6+
* Version: 2.7.2
77
* Creator: Jens Kuerschner (https://jekuer.com)
88
* Project: https://github.com/add2cal/add-to-calendar-button
99
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)

0 commit comments

Comments
 (0)