@dargmuesli/nuxt-cookie-control 8.5.5 → 8.6.1
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.
- package/README.md +10 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/CookieControl.vue +9 -7
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -270,6 +270,16 @@ Every property that includes a `{ en: ... }` value is a translatable property th
|
|
|
270
270
|
</CookieIframe>
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
+
#### Control button
|
|
274
|
+
|
|
275
|
+
```html
|
|
276
|
+
<CookieIframe>
|
|
277
|
+
<template #controlButton>
|
|
278
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M247.2 17c-22.1-3.1-44.6.9-64.4 11.4l-74 39.5c-19.7 10.5-35.6 27-45.4 47.1l-36.7 75.6c-9.8 20.1-13 42.9-9.1 64.9l14.5 82.8c3.9 22.1 14.6 42.3 30.7 57.9l60.3 58.4c16.1 15.6 36.6 25.6 58.7 28.7l83 11.7c22.1 3.1 44.6-.9 64.4-11.4l74-39.5c19.7-10.5 35.6-27 45.4-47.2l36.7-75.5c9.8-20.1 13-42.9 9.1-64.9l-14.6-82.8c-3.9-22.1-14.6-42.3-30.7-57.9l-60.2-58.3c-16.1-15.6-36.6-25.6-58.7-28.7zM208 144a32 32 0 1 1 0 64a32 32 0 1 1 0-64m-64 192a32 32 0 1 1 64 0a32 32 0 1 1-64 0m224-64a32 32 0 1 1 0 64a32 32 0 1 1 0-64"/></svg>
|
|
279
|
+
</template>
|
|
280
|
+
</CookieIframe>
|
|
281
|
+
```
|
|
282
|
+
|
|
273
283
|
### Props
|
|
274
284
|
|
|
275
285
|
- locale: `['en']`
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -42,12 +42,14 @@
|
|
|
42
42
|
type="button"
|
|
43
43
|
@click="isModalActive = true"
|
|
44
44
|
>
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
<slot name="controlButton">
|
|
46
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
47
|
+
<path
|
|
48
|
+
fill="currentColor"
|
|
49
|
+
d="M510.52 255.82c-69.97-.85-126.47-57.69-126.47-127.86-70.17 0-127-56.49-127.86-126.45-27.26-4.14-55.13.3-79.72 12.82l-69.13 35.22a132.221 132.221 0 00-57.79 57.81l-35.1 68.88a132.645 132.645 0 00-12.82 80.95l12.08 76.27a132.521 132.521 0 0037.16 72.96l54.77 54.76a132.036 132.036 0 0072.71 37.06l76.71 12.15c27.51 4.36 55.7-.11 80.53-12.76l69.13-35.21a132.273 132.273 0 0057.79-57.81l35.1-68.88c12.56-24.64 17.01-52.58 12.91-79.91zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"
|
|
50
|
+
/>
|
|
51
|
+
</svg>
|
|
52
|
+
</slot>
|
|
51
53
|
</button>
|
|
52
54
|
<transition name="cookieControl__Modal">
|
|
53
55
|
<div
|
|
@@ -229,7 +231,7 @@ import {
|
|
|
229
231
|
} from '#cookie-control/types'
|
|
230
232
|
import { useCookieControl, useCookie, useNuxtApp } from '#imports'
|
|
231
233
|
|
|
232
|
-
|
|
234
|
+
interface Props {
|
|
233
235
|
locale?: Locale
|
|
234
236
|
}
|
|
235
237
|
const props = withDefaults(defineProps<Props>(), {
|
package/package.json
CHANGED
|
@@ -69,11 +69,14 @@
|
|
|
69
69
|
"Jonas Thelemann"
|
|
70
70
|
],
|
|
71
71
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
72
|
-
"packageManager": "pnpm@10.
|
|
72
|
+
"packageManager": "pnpm@10.7.0",
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"pnpm": {
|
|
77
|
+
"ignoredBuiltDependencies": [
|
|
78
|
+
"esbuild"
|
|
79
|
+
],
|
|
77
80
|
"overrides": {
|
|
78
81
|
"typescript": "5.6.3"
|
|
79
82
|
}
|
|
@@ -94,5 +97,5 @@
|
|
|
94
97
|
},
|
|
95
98
|
"type": "module",
|
|
96
99
|
"types": "./dist/types.d.ts",
|
|
97
|
-
"version": "8.
|
|
100
|
+
"version": "8.6.1"
|
|
98
101
|
}
|