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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.12",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -42,19 +42,19 @@
42
42
  "preview": "nuxt preview .playground"
43
43
  },
44
44
  "dependencies": {
45
- "@dargmuesli/nuxt-cookie-control": "6.1.5",
46
- "@http-util/status-i18n": "0.7.0",
45
+ "@dargmuesli/nuxt-cookie-control": "6.4.0",
46
+ "@http-util/status-i18n": "0.8.1",
47
47
  "@nuxt/image": "1.0.0-rc.1",
48
48
  "@nuxtjs/color-mode": "3.3.0",
49
49
  "@nuxtjs/html-validator": "1.5.2",
50
- "@nuxtjs/i18n": "8.0.0-rc.2",
50
+ "@nuxtjs/i18n": "8.0.0-rc.3",
51
51
  "@nuxtjs/tailwindcss": "6.8.0",
52
52
  "@pinia/nuxt": "0.4.11",
53
53
  "@tailwindcss/forms": "0.5.4",
54
54
  "@tailwindcss/typography": "0.5.9",
55
55
  "@urql/core": "4.1.1",
56
56
  "@urql/devtools": "2.0.3",
57
- "@urql/exchange-graphcache": "6.3.1",
57
+ "@urql/exchange-graphcache": "6.3.2",
58
58
  "@urql/vue": "1.1.2",
59
59
  "@vuelidate/core": "2.0.3",
60
60
  "@vuelidate/validators": "2.0.3",
@@ -62,31 +62,32 @@
62
62
  "dayjs": "2.0.0-alpha.4",
63
63
  "is-https": "4.0.0",
64
64
  "jose": "4.14.4",
65
- "marked": "7.0.1",
66
- "nuxt-seo-kit-module": "2.0.0-beta.9",
65
+ "marked": "7.0.4",
66
+ "nuxt-seo-kit-module": "2.0.0-beta.13",
67
67
  "pinia": "2.1.6",
68
- "sweetalert2": "11.7.20",
69
- "vue-gtag": "2.0.1"
68
+ "sweetalert2": "11.7.27",
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",
73
74
  "@nuxtjs/eslint-config-typescript": "12.0.0",
74
75
  "@types/marked": "5.0.1",
75
- "eslint": "8.46.0",
76
+ "eslint": "8.47.0",
76
77
  "eslint-config-prettier": "9.0.0",
77
78
  "eslint-plugin-compat": "4.1.4",
78
79
  "eslint-plugin-nuxt": "4.0.0",
79
80
  "eslint-plugin-prettier": "5.0.0",
80
81
  "eslint-plugin-yml": "1.8.0",
81
- "lint-staged": "13.2.3",
82
+ "lint-staged": "14.0.1",
82
83
  "nuxt": "3.6.5",
83
- "prettier": "3.0.1",
84
- "stylelint": "15.10.2",
84
+ "prettier": "3.0.2",
85
+ "prettier-plugin-tailwindcss": "0.5.3",
86
+ "stylelint": "15.10.3",
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
  }