Skip to content

Commit

Permalink
Merge pull request #582 from add2cal/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jekuer committed Apr 4, 2024
2 parents ad90f8f + df643c1 commit 08dc52d
Show file tree
Hide file tree
Showing 39 changed files with 312 additions and 345 deletions.
3 changes: 1 addition & 2 deletions assets/css/atcb-3d.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: 3D
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -431,7 +431,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-3d.min.css

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions assets/css/atcb-date.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Date
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -244,7 +244,7 @@
}

.atcb-date-btn-left {
border-radius: var(--btn-border-radius) 0 0 var(--btn-border-radius);
border-radius: calc(var(--btn-border-radius) + 3px) 0 0 calc(var(--btn-border-radius) + 3px);
align-self: stretch;
background-color: var(--date-btn-cal-background);
color: var(--date-btn-hover-background);
Expand All @@ -257,7 +257,7 @@
}

.atcb-rtl .atcb-date-btn-left {
border-radius: 0 var(--btn-border-radius) var(--btn-border-radius) 0;
border-radius: 0 calc(var(--btn-border-radius) + 3px) calc(var(--btn-border-radius) + 3px) 0;
}

.atcb-button:hover .atcb-date-btn-left,
Expand Down Expand Up @@ -495,7 +495,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-date.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions assets/css/atcb-flat.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Flat
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -394,7 +394,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-flat.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions assets/css/atcb-neumorphism.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Neumorphism
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -371,7 +371,6 @@
margin: -0.2em;
position: relative;
z-index: 15000010;
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-neumorphism.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions assets/css/atcb-round.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Round
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -457,7 +457,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-round.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions assets/css/atcb-text.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Text
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -463,7 +463,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb-text.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions assets/css/atcb.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Style: Default
*
* Version: 2.6.9
* Version: 2.6.10
* Creator: Jens Kuerschner (https://jekuer.com)
* Project: https://github.com/add2cal/add-to-calendar-button
* License: Elastic License 2.0 (ELv2) (https://github.com/add2cal/add-to-calendar-button/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -369,7 +369,6 @@
.atcb-list-item:focus-visible {
background-color: var(--list-hover-background);
color: var(--accent-color);
font-weight: 600;
outline: none;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/atcb.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/components/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function topFunction() {
</span>
<div class="mt-6 text-xs sm:mt-5 md:mt-3">
<span class="font-semibold text-zinc-500 dark:text-zinc-400"> &copy; {{new Date().getFullYear()}} </span>
<span class="lowercase text-zinc-400 dark:text-zinc-500"> , Current Version: 2.6.9 </span>
<span class="lowercase text-zinc-400 dark:text-zinc-500"> , Current Version: 2.6.10 </span>
</div>
</div>
<div class="hidden self-center sm:block">
Expand Down
14 changes: 6 additions & 8 deletions demo/components/hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,12 @@ const localePath = useLocalePath();
</div>
</div>
<div>
<DelayHydration>
<ClientOnly>
<StatsBar />
<template #fallback>
<StatsBarPlaceholder />
</template>
</ClientOnly>
</DelayHydration>
<ClientOnly>
<StatsBar />
<template #fallback>
<StatsBarPlaceholder />
</template>
</ClientOnly>
</div>
</div>
<div :class="view.atTopOfPage ? 'top-[-80px]' : 'top-0'" class="fixed z-50 w-full bg-gradient-to-tr from-primary to-primary-light py-3 shadow-xl transition-all dark:from-primary-darkest dark:to-primary-darker lg:hidden">
Expand Down
2 changes: 1 addition & 1 deletion demo/components/integration/integrationGuidesOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const localePath = useLocalePath();
<NextJS class="self-center p-4 group-hover:drop-shadow-light-xl" />
<div class="self-center p-4 pt-0">Next.js</div>
</NuxtLink>
<NuxtLink class="tech-stack-button hover:border-nuxt hover:from-nuxt hover:to-nuxt dark:hover:border-nuxt dark:hover:from-nuxt dark:hover:to-nuxt group h-32 w-32 hover:text-white dark:hover:text-white xs:h-36 xs:w-40" :to="localePath('use-with-nuxt')">
<NuxtLink class="tech-stack-button group h-32 w-32 hover:border-nuxt hover:from-nuxt hover:to-nuxt hover:text-white dark:hover:border-nuxt dark:hover:from-nuxt dark:hover:to-nuxt dark:hover:text-white xs:h-36 xs:w-40" :to="localePath('use-with-nuxt')">
<Nuxt class="self-center p-4" />
<div class="self-center p-4 pt-0">Nuxt 3</div>
</NuxtLink>
Expand Down
2 changes: 1 addition & 1 deletion demo/components/playground/attrs/layoutAttrs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function onHideTextOptionsUpdate(options: string[]) {
<div class="grid">
<Select v-model="internalValue[LayoutAttrsKey.OPTIONS]" multiselect :label="t(`labels.inputs.${[LayoutAttrsKey.OPTIONS]}`.toLocaleLowerCase())" :options="Object.values(Option)" class="mb-3 border-b border-zinc-400 pb-4 dark:border-zinc-600" />

<div class="mb-3 flex items-center justify-between">
<div class="z-0 mb-3 flex items-center justify-between">
<Select v-model="internalValue[LayoutAttrsKey.BUTTON_STYLE]" :label="t(`labels.inputs.${[LayoutAttrsKey.BUTTON_STYLE]}`.toLocaleLowerCase())" :options="Object.values(ButtonStyle)" class="mr-5 flex-1" />
<Switch v-model="internalValue[LayoutAttrsKey.IS_BUTTONS_LIST]" :label="t(`labels.inputs.${[LayoutAttrsKey.IS_BUTTONS_LIST]}`.toLocaleLowerCase())" class="pb-0 pt-6" />
</div>
Expand Down
6 changes: 1 addition & 5 deletions demo/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const baseUrl = process.env.NUXT_PUBLIC_SITE_URL || 'https://add-to-calendar-but
const robots = process.env.NUXT_PUBLIC_ROBOTS || 'index, follow';

export default defineNuxtConfig({
modules: ['@nuxtjs/i18n', '@nuxtjs/tailwindcss', 'nuxt-headlessui', 'nuxt-security', 'nuxt-schema-org', '@nuxt/image', '@vite-pwa/nuxt', '@nuxtjs/sitemap', 'nuxt-delay-hydration'],
modules: ['@nuxtjs/i18n', '@nuxtjs/tailwindcss', 'nuxt-headlessui', 'nuxt-security', 'nuxt-schema-org', '@nuxt/image', '@vite-pwa/nuxt', '@nuxtjs/sitemap'],
vue: {
compilerOptions: {
isCustomElement: (tag) => tag === 'add-to-calendar-button',
Expand All @@ -29,10 +29,6 @@ export default defineNuxtConfig({
experimental: {
payloadExtraction: true,
},
delayHydration: {
mode: 'manual',
debug: process.env.NODE_ENV === 'development',
},
security: {
enabled: process.env.NODE_ENV === 'development' ? false : true,
removeLoggers: false,
Expand Down
Loading

0 comments on commit 08dc52d

Please sign in to comment.