@dargmuesli/nuxt-vio 3.0.0-beta.10 → 3.0.0-beta.11

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.
@@ -38,6 +38,8 @@ const locale = i18n.locale as WritableComputedRef<Locale>
38
38
 
39
39
  // methods
40
40
  const init = () => {
41
+ $dayjs.locale(locale.value)
42
+
41
43
  if (process.client) {
42
44
  const cookieTimezone = useCookie(TIMEZONE_COOKIE_NAME, {
43
45
  // default: () => undefined, // setting `default` on the client side only does not write the cookie
@@ -9,7 +9,7 @@
9
9
  @submit="(e) => emit('submit', e)"
10
10
  >
11
11
  <VioCard class="flex flex-col" is-high>
12
- <div class="flex flex-col min-h-0 overflow-y-auto gap-6">
12
+ <div class="flex min-h-0 flex-col gap-6 overflow-y-auto">
13
13
  <slot />
14
14
  <div class="flex flex-col items-center justify-between">
15
15
  <VioButtonColored
@@ -3,7 +3,7 @@
3
3
  <div class="flex flex-col gap-8">
4
4
  <div class="flex items-center">
5
5
  <VioLayoutHr />
6
- <IconLogo class="mx-12 h-12 w-12 brightness-0 opacity-60 invert" />
6
+ <IconLogo class="mx-12 h-12 w-12 opacity-60 brightness-0 invert" />
7
7
  <VioLayoutHr />
8
8
  </div>
9
9
  <!-- Justifying evenly, instead of "between", centers a single element. -->
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="flex flex-1 flex-col items-start p-4 basis-1/2 md:flex-none md:basis-auto gap-2"
3
+ class="flex flex-1 basis-1/2 flex-col items-start gap-2 p-4 md:flex-none md:basis-auto"
4
4
  >
5
5
  <span class="whitespace-nowrap text-lg font-medium leading-7">
6
6
  {{ heading }}
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <header class="flex items-center justify-between gap-4 mb-8">
2
+ <header class="mb-8 flex items-center justify-between gap-4">
3
3
  <VioButton :aria-label="t('creal')" :to="localePath('/')">
4
4
  <span class="text-lg font-bold">{{ t('creal') }}</span>
5
5
  <template #prefix>
@@ -3,7 +3,7 @@
3
3
  class="flex h-full items-center justify-center"
4
4
  :title="t('globalStatusLoading')"
5
5
  >
6
- <div class="flex items-center justify-center w-1/2">
6
+ <div class="flex w-1/2 items-center justify-center">
7
7
  <slot />
8
8
  </div>
9
9
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <VioLoaderIndicator>
3
3
  <div
4
- class="w-1/2 aspect-square animate-ping rounded-full bg-gray-500"
4
+ class="aspect-square w-1/2 animate-ping rounded-full bg-gray-500"
5
5
  :title="t('globalStatusLoading')"
6
6
  />
7
7
  </VioLoaderIndicator>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "3.0.0-beta.10",
3
+ "version": "3.0.0-beta.11",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -66,7 +66,8 @@
66
66
  "nuxt-seo-kit-module": "2.0.0-beta.9",
67
67
  "pinia": "2.1.6",
68
68
  "sweetalert2": "11.7.20",
69
- "vue-gtag": "2.0.1"
69
+ "vue-gtag": "2.0.1",
70
+ "vue-tsc": "1.8.8"
70
71
  },
71
72
  "devDependencies": {
72
73
  "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.3",
@@ -81,12 +82,12 @@
81
82
  "lint-staged": "13.2.3",
82
83
  "nuxt": "3.6.5",
83
84
  "prettier": "3.0.1",
85
+ "prettier-plugin-tailwindcss": "0.5.3",
84
86
  "stylelint": "15.10.2",
85
87
  "stylelint-config-recommended-vue": "1.5.0",
86
88
  "stylelint-config-standard": "34.0.0",
87
89
  "stylelint-no-unsupported-browser-features": "7.0.0",
88
90
  "tailwindcss": "3.3.3",
89
- "vue": "3.3.4",
90
- "vue-tsc": "1.8.8"
91
+ "vue": "3.3.4"
91
92
  }
92
93
  }