@dargmuesli/nuxt-cookie-control 5.0.0-beta.6 → 5.0.0-beta.8
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/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -2
- package/dist/runtime/styles.css +4 -2
- package/dist/runtime/types.d.ts +1 -1
- package/package.json +3 -3
package/dist/module.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ interface ModuleOptions {
|
|
|
49
49
|
initialState: boolean;
|
|
50
50
|
};
|
|
51
51
|
locales: Locale[];
|
|
52
|
-
localeTexts: PartialRecord<Locale, LocaleStrings
|
|
52
|
+
localeTexts: PartialRecord<Locale, Partial<LocaleStrings>>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { resolve } from 'node:path';
|
|
|
2
2
|
import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, resolvePath } from '@nuxt/kit';
|
|
3
3
|
|
|
4
4
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
5
|
-
const version = "5.0.0-beta.
|
|
5
|
+
const version = "5.0.0-beta.8";
|
|
6
6
|
|
|
7
7
|
const en = {
|
|
8
8
|
accept: "Accept",
|
|
@@ -151,7 +151,10 @@ const loadLocales = async (moduleOptions) => {
|
|
|
151
151
|
if (!text)
|
|
152
152
|
throw new Error(`Could not import text for locale ${locale}`);
|
|
153
153
|
moduleOptions.locales.push(locale);
|
|
154
|
-
moduleOptions.localeTexts[locale] =
|
|
154
|
+
moduleOptions.localeTexts[locale] = {
|
|
155
|
+
...text,
|
|
156
|
+
...moduleOptions.localeTexts[locale]
|
|
157
|
+
};
|
|
155
158
|
}
|
|
156
159
|
};
|
|
157
160
|
const pushCss = (moduleOptions, nuxt) => {
|
package/dist/runtime/styles.css
CHANGED
|
@@ -193,7 +193,6 @@
|
|
|
193
193
|
.cookieControl__ModalContent {
|
|
194
194
|
position: relative;
|
|
195
195
|
width: 100%;
|
|
196
|
-
padding: 40px;
|
|
197
196
|
max-width: 550px;
|
|
198
197
|
max-height: 80vh;
|
|
199
198
|
text-align: left;
|
|
@@ -274,6 +273,7 @@
|
|
|
274
273
|
display: flex;
|
|
275
274
|
flex-direction: column;
|
|
276
275
|
gap: 10px;
|
|
276
|
+
padding: 40px;
|
|
277
277
|
}
|
|
278
278
|
.cookieControl__ModalInputWrapper {
|
|
279
279
|
display: flex;
|
|
@@ -343,6 +343,8 @@
|
|
|
343
343
|
bottom: 0;
|
|
344
344
|
max-width: none;
|
|
345
345
|
max-height: 100%;
|
|
346
|
+
}
|
|
347
|
+
.cookieControl__ModalContentInner {
|
|
346
348
|
padding: 20px;
|
|
347
349
|
}
|
|
348
350
|
.cookieControl__BarButtons {
|
|
@@ -360,7 +362,7 @@
|
|
|
360
362
|
.cookieControl__BarContainer,
|
|
361
363
|
.cookieControl__ModalButtons {
|
|
362
364
|
flex-direction: column;
|
|
363
|
-
gap:
|
|
365
|
+
gap: 10px;
|
|
364
366
|
}
|
|
365
367
|
.cookieControl__ModalButtons button {
|
|
366
368
|
width: 100%;
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface ModuleOptions {
|
|
|
52
52
|
initialState: boolean;
|
|
53
53
|
};
|
|
54
54
|
locales: Locale[];
|
|
55
|
-
localeTexts: PartialRecord<Locale, LocaleStrings
|
|
55
|
+
localeTexts: PartialRecord<Locale, Partial<LocaleStrings>>;
|
|
56
56
|
}
|
|
57
57
|
export declare const DEFAULTS: Required<ModuleOptions>;
|
|
58
58
|
export interface State {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.8",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@nuxt/module-builder": "0.2.1",
|
|
48
48
|
"@nuxtjs/eslint-config-typescript": "12.0.0",
|
|
49
49
|
"@types/js-cookie": "3.0.3",
|
|
50
|
-
"eslint": "8.
|
|
50
|
+
"eslint": "8.35.0",
|
|
51
51
|
"eslint-config-prettier": "8.6.0",
|
|
52
52
|
"eslint-plugin-prettier": "4.2.1",
|
|
53
53
|
"husky": "8.0.3",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prettier": "2.8.4",
|
|
57
57
|
"typescript": "4.9.5",
|
|
58
58
|
"vue": "3.2.47",
|
|
59
|
-
"vue-tsc": "1.
|
|
59
|
+
"vue-tsc": "1.2.0",
|
|
60
60
|
"webpack": "5.75.0"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|