@dargmuesli/nuxt-vio 20.0.0-beta.2 → 20.0.0-beta.4

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.
@@ -9,7 +9,8 @@ import {
9
9
  XIcon,
10
10
  } from 'lucide-vue-next'
11
11
  import { Toaster as Sonner } from 'vue-sonner'
12
- import { cn } from '@/utils/shadcn'
12
+
13
+ import { cn } from '../../../utils/shadcn'
13
14
 
14
15
  const props = defineProps<ToasterProps>()
15
16
  </script>
@@ -4,7 +4,7 @@
4
4
  </template>
5
5
 
6
6
  <script setup lang="ts">
7
- import type { ColorMode } from '~/types/color-mode'
7
+ import type { ColorMode } from '../../../types/color-mode'
8
8
 
9
9
  const colorMode = useColorMode()
10
10
 
package/package.json CHANGED
@@ -36,6 +36,7 @@
36
36
  "lucide-vue-next": "0.554.0",
37
37
  "nuxt-gtag": "4.1.0",
38
38
  "nuxt-security": "2.5.0",
39
+ "reka-ui": "2.6.0",
39
40
  "shadcn-nuxt": "2.3.3",
40
41
  "tailwind-merge": "3.4.0",
41
42
  "tw-animate-css": "1.4.0",
@@ -55,7 +56,6 @@
55
56
  "pinia": "3.0.4",
56
57
  "prettier": "3.6.2",
57
58
  "prettier-plugin-tailwindcss": "0.7.1",
58
- "reka-ui": "2.6.0",
59
59
  "serve": "14.2.5",
60
60
  "sharp": "0.34.5",
61
61
  "stylelint": "16.26.0",
@@ -114,5 +114,5 @@
114
114
  "start:static": "serve playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
115
115
  },
116
116
  "type": "module",
117
- "version": "20.0.0-beta.2"
117
+ "version": "20.0.0-beta.4"
118
118
  }
@@ -123,7 +123,7 @@ export const VIO_GET_CSP = ({ siteUrl }: { siteUrl: URL }) =>
123
123
  `${siteUrl}_nuxt/`, // bundle
124
124
  ],
125
125
  'style-src': [
126
- "'nonce-{{nonce}}'",
126
+ "'unsafe-inline'", // TODO: replace with "'nonce-{{nonce}}'" once vue-sonner supports it
127
127
  "'self'", // TODO: `${siteUrl}_nuxt/`, // bundle
128
128
  ], // TODO: use `style-src-elem` once Playwright WebKit supports it
129
129
  },