Skip to content

Commit acc8129

Browse files
authored
Merge pull request #638 from add2cal/dev
Dev
2 parents 39229c5 + 1b8abc3 commit acc8129

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2209
-946
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Version 2
44

5+
- v2.7 : Showing open seats on RSVP, better subscription handling
56
- v2.6 : useUserTZ, css ::part, formatting of urls in description
67
- v2.5 : PRO option and more
78
-[introducing PRO offering](https://add-to-calendar-pro.com/)

assets/css/atcb-3d.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: 3D
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1316,6 +1316,17 @@ a.atcb-modal-btn:not([disabled]):hover {
13161316
min-width: 150px;
13171317
}
13181318

1319+
.pro-form-fine {
1320+
font-size: .8em;
1321+
margin: .5em auto 1em;
1322+
opacity: .75;
1323+
text-align: center;
1324+
}
1325+
1326+
.pro-form.form-error .pro-form-fine {
1327+
opacity: 0;
1328+
}
1329+
13191330
.pro-waiting {
13201331
background-color: var(--modal-btn-background);
13211332
border: 1px solid var(--modal-btn-border);
@@ -1390,7 +1401,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13901401
color: inherit;
13911402
}
13921403

1393-
.atcb-modal-content .pro p {
1404+
.atcb-modal-content .pro p:not(.pro-form-fine) {
13941405
margin: 0;
13951406
}
13961407

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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Date
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1021,6 +1021,17 @@ a.atcb-modal-btn:not([disabled]):hover {
10211021
min-width: 150px;
10221022
}
10231023

1024+
.pro-form-fine {
1025+
font-size: .8em;
1026+
margin: .5em auto 1em;
1027+
opacity: .75;
1028+
text-align: center;
1029+
}
1030+
1031+
.pro-form.form-error .pro-form-fine {
1032+
opacity: 0;
1033+
}
1034+
10241035
.pro-waiting {
10251036
background-color: var(--modal-btn-background);
10261037
border: 1px solid var(--modal-btn-border);
@@ -1085,7 +1096,7 @@ a.atcb-modal-btn:not([disabled]):hover {
10851096

10861097
/* overrides */
10871098

1088-
.atcb-modal-content .pro p {
1099+
.atcb-modal-content .pro p:not(.pro-form-fine) {
10891100
margin: 0;
10901101
}
10911102

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: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Flat
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1231,8 +1231,8 @@ a.atcb-modal-btn:not([disabled]):hover {
12311231

12321232
#rsvp-success-msg-doi {
12331233
color: var(--form-error);
1234-
padding-top: 1em;
12351234
font-size: .8em;
1235+
padding-top: 1em;
12361236
}
12371237

12381238
#pro-form-submit {
@@ -1241,6 +1241,17 @@ a.atcb-modal-btn:not([disabled]):hover {
12411241
min-width: 150px;
12421242
}
12431243

1244+
.pro-form-fine {
1245+
font-size: .8em;
1246+
padding: .5em auto 1em;
1247+
opacity: .75;
1248+
text-align: center;
1249+
}
1250+
1251+
.pro-form.form-error .pro-form-fine {
1252+
opacity: 0;
1253+
}
1254+
12441255
.pro-waiting {
12451256
background-color: var(--modal-btn-background);
12461257
border: .2em solid var(--modal-btn-border);
@@ -1315,7 +1326,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13151326
color: inherit;
13161327
}
13171328

1318-
.atcb-modal-content .pro p {
1329+
.atcb-modal-content .pro p:not(.pro-form-fine) {
13191330
margin: 0;
13201331
}
13211332

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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Neumorphism
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1240,6 +1240,17 @@ a.atcb-modal-btn:not([disabled]):hover {
12401240
min-width: 150px;
12411241
}
12421242

1243+
.pro-form-fine {
1244+
font-size: .8em;
1245+
margin: .5em auto 1em;
1246+
opacity: .75;
1247+
text-align: center;
1248+
}
1249+
1250+
.pro-form.form-error .pro-form-fine {
1251+
opacity: 0;
1252+
}
1253+
12431254
.pro-waiting {
12441255
background-color: var(--modal-btn-background);
12451256
border: 1px solid var(--modal-btn-border);
@@ -1314,7 +1325,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13141325
color: inherit;
13151326
}
13161327

1317-
.atcb-modal-content .pro p {
1328+
.atcb-modal-content .pro p:not(.pro-form-fine) {
13181329
margin: 0;
13191330
}
13201331

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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Round
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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,6 +1326,17 @@ a.atcb-modal-btn:not([disabled]):hover {
13261326
min-width: 150px;
13271327
}
13281328

1329+
.pro-form-fine {
1330+
font-size: .8em;
1331+
margin: .5em auto 1em;
1332+
opacity: .75;
1333+
text-align: center;
1334+
}
1335+
1336+
.pro-form.form-error .pro-form-fine {
1337+
opacity: 0;
1338+
}
1339+
13291340
.pro-waiting {
13301341
background-color: var(--modal-btn-background);
13311342
border: 1px solid var(--modal-btn-border);
@@ -1400,7 +1411,7 @@ a.atcb-modal-btn:not([disabled]):hover {
14001411
color: inherit;
14011412
}
14021413

1403-
.atcb-modal-content .pro p {
1414+
.atcb-modal-content .pro p:not(.pro-form-fine) {
14041415
margin: 0;
14051416
}
14061417

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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Text
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1323,6 +1323,17 @@ a.atcb-modal-btn:not([disabled]):hover {
13231323
min-width: 150px;
13241324
}
13251325

1326+
.pro-form-fine {
1327+
font-size: .8em;
1328+
margin: .5em auto 1em;
1329+
opacity: .75;
1330+
text-align: center;
1331+
}
1332+
1333+
.pro-form.form-error .pro-form-fine {
1334+
opacity: 0;
1335+
}
1336+
13261337
.pro-waiting {
13271338
background-color: var(--modal-btn-background);
13281339
border: 1px solid var(--modal-btn-border);
@@ -1397,7 +1408,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13971408
color: inherit;
13981409
}
13991410

1400-
.atcb-modal-content .pro p {
1411+
.atcb-modal-content .pro p:not(.pro-form-fine) {
14011412
margin: 0;
14021413
}
14031414

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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Style: Default
77
*
8-
* Version: 2.6.21
8+
* Version: 2.7.0
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)
@@ -1261,6 +1261,17 @@ a.atcb-modal-btn:not([disabled]):hover {
12611261
min-width: 150px;
12621262
}
12631263

1264+
.pro-form-fine {
1265+
font-size: .8em;
1266+
margin: .5em auto 1em;
1267+
opacity: .75;
1268+
text-align: center;
1269+
}
1270+
1271+
.pro-form.form-error .pro-form-fine {
1272+
opacity: 0;
1273+
}
1274+
12641275
.pro-waiting {
12651276
background-color: var(--modal-btn-background);
12661277
border: 1px solid var(--modal-btn-border);
@@ -1335,7 +1346,7 @@ a.atcb-modal-btn:not([disabled]):hover {
13351346
color: inherit;
13361347
}
13371348

1338-
.atcb-modal-content .pro p {
1349+
.atcb-modal-content .pro p:not(.pro-form-fine) {
13391350
margin: 0;
13401351
}
13411352

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/.eslintrc.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

demo/prettier.config.js renamed to demo/.prettierrc.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/* eslint-disable no-undef */
2-
// prettier.config.js or .prettierrc.js
3-
module.exports = {
1+
/** @type {import("prettier").Config} */
2+
export default {
43
plugins: ['prettier-plugin-tailwindcss'],
54
proseWrap: 'preserve',
65
embeddedLanguageFormatting: 'off',
76
useTabs: false,
87
singleQuote: true,
8+
trailingComma: 'all',
99
arrowParens: 'always',
1010
printWidth: 300,
1111
endOfLine: 'lf',

demo/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { set, LSKey } from '@/utils/localStorage';
33
const { locale } = useI18n();
44
5-
if (process.client) {
5+
if (import.meta.client) {
66
set(LSKey.LANG, locale.value);
77
}
88

demo/components/controls/select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const selectedOptions = computed(() => {
5959
return [];
6060
}
6161
62-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
62+
6363
return props.options.filter((option: any) => {
6464
const key = option && props.byValue ? option[props.byValue] : option;
6565
return Array.isArray(props.modelValue) ? props.modelValue.includes(key) : props.modelValue === key

demo/components/faqBlock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { locale } = useI18n();
66
const localePath = useLocalePath();
77
provideUseId(() => useId());
88
9-
let wpUrl = (function () {
9+
const wpUrl = (function () {
1010
if (locale.value == 'de') {
1111
return 'https://de.wordpress.org/plugins/add-to-calendar-button';
1212
}

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.6.21 </span>
73+
<span class="lowercase text-zinc-400 dark:text-zinc-500"> , Current Version: 2.7.0 </span>
7474
</div>
7575
</div>
7676
<div class="hidden self-center sm:block">

demo/error.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (statusCode == 404 && route.path.startsWith('/en/')) {
2323
navigateTo(newPath, { redirectCode: 301 });
2424
}
2525
26-
if (process.client) {
26+
if (import.meta.client) {
2727
set(LSKey.LANG, locale.value);
2828
}
2929

0 commit comments

Comments
 (0)