add-to-calendar-button 2.6.15 → 2.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/assets/css/atcb-3d.css +1 -1
- package/assets/css/atcb-date.css +1 -1
- package/assets/css/atcb-flat.css +1 -1
- package/assets/css/atcb-neumorphism.css +1 -1
- package/assets/css/atcb-round.css +1 -1
- package/assets/css/atcb-text.css +1 -1
- package/assets/css/atcb.css +1 -1
- package/dist/atcb-no-pro-unstyle.js +4 -2
- package/dist/atcb-no-pro.js +4 -2
- package/dist/atcb-unstyle.js +4 -2
- package/dist/atcb.js +4 -2
- package/dist/commonjs/index.js +4 -2
- package/dist/commonjs/no-pro/index.js +4 -2
- package/dist/commonjs/no-pro-unstyle/index.js +4 -2
- package/dist/commonjs/unstyle/index.js +4 -2
- package/dist/module/index.js +4 -2
- package/dist/module/no-pro/index.js +4 -2
- package/dist/module/no-pro-unstyle/index.js +4 -2
- package/dist/module/unstyle/index.js +4 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/add-to-calendar-button)
|
|
5
5
|
[](https://www.npmjs.com/package/add-to-calendar-button)
|
|
6
6
|
[](https://www.jsdelivr.com/package/npm/add-to-calendar-button?tab=stats)
|
|
7
|
-

|
|
8
7
|
|
|
9
8
|
<br />
|
|
10
9
|
|
package/assets/css/atcb-3d.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: 3D
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
package/assets/css/atcb-date.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Date
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
package/assets/css/atcb-flat.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Flat
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Neumorphism
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Round
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
package/assets/css/atcb-text.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Text
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
package/assets/css/atcb.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Style: Default
|
|
7
7
|
*
|
|
8
|
-
* Version: 2.6.
|
|
8
|
+
* Version: 2.6.16
|
|
9
9
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
10
10
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
11
11
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
@@ -974,14 +974,14 @@ function tzlib_get_timezones(jsonType = false) {
|
|
|
974
974
|
* Add to Calendar Button
|
|
975
975
|
* ++++++++++++++++++++++
|
|
976
976
|
*
|
|
977
|
-
* Version: 2.6.
|
|
977
|
+
* Version: 2.6.16
|
|
978
978
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
979
979
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
980
980
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
981
981
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
982
982
|
*
|
|
983
983
|
*/
|
|
984
|
-
const atcbVersion = '2.6.
|
|
984
|
+
const atcbVersion = '2.6.16';
|
|
985
985
|
const atcbCssTemplate = {};
|
|
986
986
|
const atcbIsBrowser = () => {
|
|
987
987
|
if (typeof window === 'undefined') {
|
|
@@ -2843,6 +2843,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2843
2843
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2844
2844
|
}
|
|
2845
2845
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2846
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2846
2847
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2847
2848
|
document.body.append(newModalHost);
|
|
2848
2849
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -5148,6 +5149,7 @@ if (atcbIsBrowser()) {
|
|
|
5148
5149
|
this.identifier = this.data.identifier;
|
|
5149
5150
|
}
|
|
5150
5151
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
5152
|
+
this.classList.add('add-to-calendar');
|
|
5151
5153
|
try {
|
|
5152
5154
|
this.style.visibility = 'visible';
|
|
5153
5155
|
this.style.opacity = '1';
|
package/dist/atcb-no-pro.js
CHANGED
|
@@ -974,14 +974,14 @@ function tzlib_get_timezones(jsonType = false) {
|
|
|
974
974
|
* Add to Calendar Button
|
|
975
975
|
* ++++++++++++++++++++++
|
|
976
976
|
*
|
|
977
|
-
* Version: 2.6.
|
|
977
|
+
* Version: 2.6.16
|
|
978
978
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
979
979
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
980
980
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
981
981
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
982
982
|
*
|
|
983
983
|
*/
|
|
984
|
-
const atcbVersion = '2.6.
|
|
984
|
+
const atcbVersion = '2.6.16';
|
|
985
985
|
const atcbCssTemplate = {
|
|
986
986
|
if (typeof window === 'undefined') {
|
|
987
987
|
return false;
|
|
@@ -2842,6 +2842,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2842
2842
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2843
2843
|
}
|
|
2844
2844
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2845
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2845
2846
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2846
2847
|
document.body.append(newModalHost);
|
|
2847
2848
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -5147,6 +5148,7 @@ if (atcbIsBrowser()) {
|
|
|
5147
5148
|
this.identifier = this.data.identifier;
|
|
5148
5149
|
}
|
|
5149
5150
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
5151
|
+
this.classList.add('add-to-calendar');
|
|
5150
5152
|
try {
|
|
5151
5153
|
this.style.visibility = 'visible';
|
|
5152
5154
|
this.style.opacity = '1';
|
package/dist/atcb-unstyle.js
CHANGED
|
@@ -974,14 +974,14 @@ function tzlib_get_timezones(jsonType = false) {
|
|
|
974
974
|
* Add to Calendar Button
|
|
975
975
|
* ++++++++++++++++++++++
|
|
976
976
|
*
|
|
977
|
-
* Version: 2.6.
|
|
977
|
+
* Version: 2.6.16
|
|
978
978
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
979
979
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
980
980
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
981
981
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
982
982
|
*
|
|
983
983
|
*/
|
|
984
|
-
const atcbVersion = '2.6.
|
|
984
|
+
const atcbVersion = '2.6.16';
|
|
985
985
|
const atcbCssTemplate = {};
|
|
986
986
|
const atcbIsBrowser = () => {
|
|
987
987
|
if (typeof window === 'undefined') {
|
|
@@ -3549,6 +3549,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
3549
3549
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
3550
3550
|
}
|
|
3551
3551
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
3552
|
+
newModalHost.classList.add('add-to-calendar');
|
|
3552
3553
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
3553
3554
|
document.body.append(newModalHost);
|
|
3554
3555
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -5854,6 +5855,7 @@ if (atcbIsBrowser()) {
|
|
|
5854
5855
|
this.identifier = this.data.identifier;
|
|
5855
5856
|
}
|
|
5856
5857
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
5858
|
+
this.classList.add('add-to-calendar');
|
|
5857
5859
|
try {
|
|
5858
5860
|
this.style.visibility = 'visible';
|
|
5859
5861
|
this.style.opacity = '1';
|
package/dist/atcb.js
CHANGED
|
@@ -974,14 +974,14 @@ function tzlib_get_timezones(jsonType = false) {
|
|
|
974
974
|
* Add to Calendar Button
|
|
975
975
|
* ++++++++++++++++++++++
|
|
976
976
|
*
|
|
977
|
-
* Version: 2.6.
|
|
977
|
+
* Version: 2.6.16
|
|
978
978
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
979
979
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
980
980
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
981
981
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
982
982
|
*
|
|
983
983
|
*/
|
|
984
|
-
const atcbVersion = '2.6.
|
|
984
|
+
const atcbVersion = '2.6.16';
|
|
985
985
|
const atcbCssTemplate = {
|
|
986
986
|
if (typeof window === 'undefined') {
|
|
987
987
|
return false;
|
|
@@ -3548,6 +3548,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
3548
3548
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
3549
3549
|
}
|
|
3550
3550
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
3551
|
+
newModalHost.classList.add('add-to-calendar');
|
|
3551
3552
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
3552
3553
|
document.body.append(newModalHost);
|
|
3553
3554
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -5853,6 +5854,7 @@ if (atcbIsBrowser()) {
|
|
|
5853
5854
|
this.identifier = this.data.identifier;
|
|
5854
5855
|
}
|
|
5855
5856
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
5857
|
+
this.classList.add('add-to-calendar');
|
|
5856
5858
|
try {
|
|
5857
5859
|
this.style.visibility = 'visible';
|
|
5858
5860
|
this.style.opacity = '1';
|
package/dist/commonjs/index.js
CHANGED
|
@@ -7,14 +7,14 @@ const tzlibActions = require('timezones-ical-library');
|
|
|
7
7
|
* Add to Calendar Button
|
|
8
8
|
* ++++++++++++++++++++++
|
|
9
9
|
*
|
|
10
|
-
* Version: 2.6.
|
|
10
|
+
* Version: 2.6.16
|
|
11
11
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
12
12
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
13
13
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
14
14
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
const atcbVersion = '2.6.
|
|
17
|
+
const atcbVersion = '2.6.16';
|
|
18
18
|
const atcbCssTemplate = {
|
|
19
19
|
if (typeof window === 'undefined') {
|
|
20
20
|
return false;
|
|
@@ -2581,6 +2581,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2581
2581
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2582
2582
|
}
|
|
2583
2583
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2584
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2584
2585
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2585
2586
|
document.body.append(newModalHost);
|
|
2586
2587
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4886,6 +4887,7 @@ if (atcbIsBrowser()) {
|
|
|
4886
4887
|
this.identifier = this.data.identifier;
|
|
4887
4888
|
}
|
|
4888
4889
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4890
|
+
this.classList.add('add-to-calendar');
|
|
4889
4891
|
try {
|
|
4890
4892
|
this.style.visibility = 'visible';
|
|
4891
4893
|
this.style.opacity = '1';
|
|
@@ -7,14 +7,14 @@ const tzlibActions = require('timezones-ical-library');
|
|
|
7
7
|
* Add to Calendar Button
|
|
8
8
|
* ++++++++++++++++++++++
|
|
9
9
|
*
|
|
10
|
-
* Version: 2.6.
|
|
10
|
+
* Version: 2.6.16
|
|
11
11
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
12
12
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
13
13
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
14
14
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
const atcbVersion = '2.6.
|
|
17
|
+
const atcbVersion = '2.6.16';
|
|
18
18
|
const atcbCssTemplate = {
|
|
19
19
|
if (typeof window === 'undefined') {
|
|
20
20
|
return false;
|
|
@@ -1875,6 +1875,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
1875
1875
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
1876
1876
|
}
|
|
1877
1877
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
1878
|
+
newModalHost.classList.add('add-to-calendar');
|
|
1878
1879
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
1879
1880
|
document.body.append(newModalHost);
|
|
1880
1881
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4180,6 +4181,7 @@ if (atcbIsBrowser()) {
|
|
|
4180
4181
|
this.identifier = this.data.identifier;
|
|
4181
4182
|
}
|
|
4182
4183
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4184
|
+
this.classList.add('add-to-calendar');
|
|
4183
4185
|
try {
|
|
4184
4186
|
this.style.visibility = 'visible';
|
|
4185
4187
|
this.style.opacity = '1';
|
|
@@ -7,14 +7,14 @@ const tzlibActions = require('timezones-ical-library');
|
|
|
7
7
|
* Add to Calendar Button
|
|
8
8
|
* ++++++++++++++++++++++
|
|
9
9
|
*
|
|
10
|
-
* Version: 2.6.
|
|
10
|
+
* Version: 2.6.16
|
|
11
11
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
12
12
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
13
13
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
14
14
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
const atcbVersion = '2.6.
|
|
17
|
+
const atcbVersion = '2.6.16';
|
|
18
18
|
const atcbCssTemplate = {};
|
|
19
19
|
const atcbIsBrowser = () => {
|
|
20
20
|
if (typeof window === 'undefined') {
|
|
@@ -1876,6 +1876,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
1876
1876
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
1877
1877
|
}
|
|
1878
1878
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
1879
|
+
newModalHost.classList.add('add-to-calendar');
|
|
1879
1880
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
1880
1881
|
document.body.append(newModalHost);
|
|
1881
1882
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4181,6 +4182,7 @@ if (atcbIsBrowser()) {
|
|
|
4181
4182
|
this.identifier = this.data.identifier;
|
|
4182
4183
|
}
|
|
4183
4184
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4185
|
+
this.classList.add('add-to-calendar');
|
|
4184
4186
|
try {
|
|
4185
4187
|
this.style.visibility = 'visible';
|
|
4186
4188
|
this.style.opacity = '1';
|
|
@@ -7,14 +7,14 @@ const tzlibActions = require('timezones-ical-library');
|
|
|
7
7
|
* Add to Calendar Button
|
|
8
8
|
* ++++++++++++++++++++++
|
|
9
9
|
*
|
|
10
|
-
* Version: 2.6.
|
|
10
|
+
* Version: 2.6.16
|
|
11
11
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
12
12
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
13
13
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
14
14
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
const atcbVersion = '2.6.
|
|
17
|
+
const atcbVersion = '2.6.16';
|
|
18
18
|
const atcbCssTemplate = {};
|
|
19
19
|
const atcbIsBrowser = () => {
|
|
20
20
|
if (typeof window === 'undefined') {
|
|
@@ -2582,6 +2582,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2582
2582
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2583
2583
|
}
|
|
2584
2584
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2585
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2585
2586
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2586
2587
|
document.body.append(newModalHost);
|
|
2587
2588
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4887,6 +4888,7 @@ if (atcbIsBrowser()) {
|
|
|
4887
4888
|
this.identifier = this.data.identifier;
|
|
4888
4889
|
}
|
|
4889
4890
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4891
|
+
this.classList.add('add-to-calendar');
|
|
4890
4892
|
try {
|
|
4891
4893
|
this.style.visibility = 'visible';
|
|
4892
4894
|
this.style.opacity = '1';
|
package/dist/module/index.js
CHANGED
|
@@ -6,14 +6,14 @@ import { tzlib_get_ical_block, tzlib_get_offset, tzlib_get_timezones } from 'tim
|
|
|
6
6
|
* Add to Calendar Button
|
|
7
7
|
* ++++++++++++++++++++++
|
|
8
8
|
*
|
|
9
|
-
* Version: 2.6.
|
|
9
|
+
* Version: 2.6.16
|
|
10
10
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
11
11
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
12
12
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
13
13
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
const atcbVersion = '2.6.
|
|
16
|
+
const atcbVersion = '2.6.16';
|
|
17
17
|
const atcbCssTemplate = {
|
|
18
18
|
if (typeof window === 'undefined') {
|
|
19
19
|
return false;
|
|
@@ -2580,6 +2580,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2580
2580
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2581
2581
|
}
|
|
2582
2582
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2583
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2583
2584
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2584
2585
|
document.body.append(newModalHost);
|
|
2585
2586
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4885,6 +4886,7 @@ if (atcbIsBrowser()) {
|
|
|
4885
4886
|
this.identifier = this.data.identifier;
|
|
4886
4887
|
}
|
|
4887
4888
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4889
|
+
this.classList.add('add-to-calendar');
|
|
4888
4890
|
try {
|
|
4889
4891
|
this.style.visibility = 'visible';
|
|
4890
4892
|
this.style.opacity = '1';
|
|
@@ -6,14 +6,14 @@ import { tzlib_get_ical_block, tzlib_get_offset, tzlib_get_timezones } from 'tim
|
|
|
6
6
|
* Add to Calendar Button
|
|
7
7
|
* ++++++++++++++++++++++
|
|
8
8
|
*
|
|
9
|
-
* Version: 2.6.
|
|
9
|
+
* Version: 2.6.16
|
|
10
10
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
11
11
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
12
12
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
13
13
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
const atcbVersion = '2.6.
|
|
16
|
+
const atcbVersion = '2.6.16';
|
|
17
17
|
const atcbCssTemplate = {
|
|
18
18
|
if (typeof window === 'undefined') {
|
|
19
19
|
return false;
|
|
@@ -1874,6 +1874,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
1874
1874
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
1875
1875
|
}
|
|
1876
1876
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
1877
|
+
newModalHost.classList.add('add-to-calendar');
|
|
1877
1878
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
1878
1879
|
document.body.append(newModalHost);
|
|
1879
1880
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4179,6 +4180,7 @@ if (atcbIsBrowser()) {
|
|
|
4179
4180
|
this.identifier = this.data.identifier;
|
|
4180
4181
|
}
|
|
4181
4182
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4183
|
+
this.classList.add('add-to-calendar');
|
|
4182
4184
|
try {
|
|
4183
4185
|
this.style.visibility = 'visible';
|
|
4184
4186
|
this.style.opacity = '1';
|
|
@@ -6,14 +6,14 @@ import { tzlib_get_ical_block, tzlib_get_offset, tzlib_get_timezones } from 'tim
|
|
|
6
6
|
* Add to Calendar Button
|
|
7
7
|
* ++++++++++++++++++++++
|
|
8
8
|
*
|
|
9
|
-
* Version: 2.6.
|
|
9
|
+
* Version: 2.6.16
|
|
10
10
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
11
11
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
12
12
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
13
13
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
const atcbVersion = '2.6.
|
|
16
|
+
const atcbVersion = '2.6.16';
|
|
17
17
|
const atcbCssTemplate = {};
|
|
18
18
|
const atcbIsBrowser = () => {
|
|
19
19
|
if (typeof window === 'undefined') {
|
|
@@ -1875,6 +1875,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
1875
1875
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
1876
1876
|
}
|
|
1877
1877
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
1878
|
+
newModalHost.classList.add('add-to-calendar');
|
|
1878
1879
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
1879
1880
|
document.body.append(newModalHost);
|
|
1880
1881
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4180,6 +4181,7 @@ if (atcbIsBrowser()) {
|
|
|
4180
4181
|
this.identifier = this.data.identifier;
|
|
4181
4182
|
}
|
|
4182
4183
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4184
|
+
this.classList.add('add-to-calendar');
|
|
4183
4185
|
try {
|
|
4184
4186
|
this.style.visibility = 'visible';
|
|
4185
4187
|
this.style.opacity = '1';
|
|
@@ -6,14 +6,14 @@ import { tzlib_get_ical_block, tzlib_get_offset, tzlib_get_timezones } from 'tim
|
|
|
6
6
|
* Add to Calendar Button
|
|
7
7
|
* ++++++++++++++++++++++
|
|
8
8
|
*
|
|
9
|
-
* Version: 2.6.
|
|
9
|
+
* Version: 2.6.16
|
|
10
10
|
* Creator: Jens Kuerschner (https://jekuer.com)
|
|
11
11
|
* Project: https://github.com/add2cal/add-to-calendar-button
|
|
12
12
|
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
|
|
13
13
|
* Note: DO NOT REMOVE THE COPYRIGHT NOTICE ABOVE!
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
const atcbVersion = '2.6.
|
|
16
|
+
const atcbVersion = '2.6.16';
|
|
17
17
|
const atcbCssTemplate = {};
|
|
18
18
|
const atcbIsBrowser = () => {
|
|
19
19
|
if (typeof window === 'undefined') {
|
|
@@ -2581,6 +2581,7 @@ async function atcb_generate_modal_host(host, data, reset = true) {
|
|
|
2581
2581
|
newModalHost.setAttribute('cspnonce', host.host.getAttribute('cspnonce'));
|
|
2582
2582
|
}
|
|
2583
2583
|
newModalHost.setAttribute('atcb-button-id', data.identifier);
|
|
2584
|
+
newModalHost.classList.add('add-to-calendar');
|
|
2584
2585
|
newModalHost.setAttribute('style', 'transform:translate3D(0, 0, 0);visibility:visible;opacity:1;position:fixed;top:0;left:0;width:100%;height:100%;display:flex;z-index:13999998;');
|
|
2585
2586
|
document.body.append(newModalHost);
|
|
2586
2587
|
newModalHost.attachShadow({ mode: 'open', delegateFocus: true });
|
|
@@ -4886,6 +4887,7 @@ if (atcbIsBrowser()) {
|
|
|
4886
4887
|
this.identifier = this.data.identifier;
|
|
4887
4888
|
}
|
|
4888
4889
|
this.setAttribute('atcb-button-id', this.data.identifier);
|
|
4890
|
+
this.classList.add('add-to-calendar');
|
|
4889
4891
|
try {
|
|
4890
4892
|
this.style.visibility = 'visible';
|
|
4891
4893
|
this.style.opacity = '1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "add-to-calendar-button",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.16",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18.17.0",
|
|
6
6
|
"npm": ">=9.6.7"
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@open-wc/testing": "^4.0.0",
|
|
103
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
104
|
-
"@typescript-eslint/parser": "^7.
|
|
103
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
104
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
105
105
|
"@web/test-runner": "^0.18.2",
|
|
106
106
|
"eslint": "^8.57.0",
|
|
107
107
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"grunt-file-creator": "^0.1.3",
|
|
117
117
|
"grunt-version": "^3.0.1",
|
|
118
118
|
"prettier": "3.2.5",
|
|
119
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
120
|
-
"stylelint": "^16.
|
|
119
|
+
"prettier-plugin-tailwindcss": "^0.6.0",
|
|
120
|
+
"stylelint": "^16.6.1",
|
|
121
121
|
"stylelint-config-standard": "^36.0.0"
|
|
122
122
|
}
|
|
123
123
|
}
|