@htmlbricks/hb-cookie-law-banner 0.8.39 → 0.8.42

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/extra/docs.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
2
+ import type { Component } from "../app/types/webcomponent.type";
2
3
 
3
4
  export const storybookArgs = {
4
5
  allowdecline: { control: { type: "boolean" } },
@@ -23,15 +24,20 @@ export const styleSetup: StyleSetup = {
23
24
  parts: cssParts,
24
25
  };
25
26
 
26
- export const componentSetup: ComponentSetup = {
27
+ const examples: Component[] = [
28
+ {
29
+ allowdecline: "yes",
30
+ },
31
+ ];
32
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
27
33
  definitions: null,
28
34
  storybookArgs,
29
35
  styleSetup,
30
36
  htmlSlots,
31
37
  i18n: i18nLanguages,
32
- examples: [],
33
- name: "",
34
- category: "",
35
- tags: [],
38
+ examples,
39
+ name: "hb-cookie-law-banner",
40
+ category: "layout",
41
+ tags: ["layout"],
36
42
  size: {},
37
43
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@htmlbricks/hb-cookie-law-banner",
3
3
  "displayName": "Svelte cookielaw WebComponent",
4
4
  "description": "Svelte cookielaw WebComponent",
5
- "version": "0.8.39",
5
+ "version": "0.8.42",
6
6
  "main": "release/release.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -30,7 +30,7 @@
30
30
  "prepublish": "npm run build:release"
31
31
  },
32
32
  "devDependencies": {
33
- "@htmlbricks/hb-jsutils": "^0.8.39",
33
+ "@htmlbricks/hb-jsutils": "^0.8.42",
34
34
  "@htmlbricks/manifester": "^0.0.5",
35
35
  "@rollup/plugin-alias": "^3.1.2",
36
36
  "@rollup/plugin-commonjs": "^18.0.0",
@@ -75,5 +75,5 @@
75
75
  "webcomponents"
76
76
  ],
77
77
  "contributors": [],
78
- "gitHead": "a771bab3b3337eaa36e3c3330545158c3ef927e6"
78
+ "gitHead": "d6919a86b5627d502a37fe2a28830a32724d0a52"
79
79
  }
package/release/docs.js CHANGED
@@ -19,16 +19,21 @@ export var styleSetup = {
19
19
  vars: cssVars,
20
20
  parts: cssParts
21
21
  };
22
+ var examples = [
23
+ {
24
+ allowdecline: "yes"
25
+ },
26
+ ];
22
27
  export var componentSetup = {
23
28
  definitions: null,
24
29
  storybookArgs: storybookArgs,
25
30
  styleSetup: styleSetup,
26
31
  htmlSlots: htmlSlots,
27
32
  i18n: i18nLanguages,
28
- examples: [],
29
- name: "",
30
- category: "",
31
- tags: [],
33
+ examples: examples,
34
+ name: "hb-cookie-law-banner",
35
+ category: "layout",
36
+ tags: ["layout"],
32
37
  size: {}
33
38
  };
34
39
  //# sourceMappingURL=docs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC9C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,iBAAiB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAChD,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC7C,eAAe,EAAE,EAAE,MAAM,EAAE,sBAAsB,EAAE;CACnD,CAAC;AAEF,IAAM,OAAO,GAAa,EAAE,CAAC;AAC7B,MAAM,CAAC,IAAM,QAAQ,GAAc,EAAE,CAAC;AACtC,MAAM,CAAC,IAAM,SAAS,GAAe;IACpC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE;IAClC,EAAE,IAAI,EAAE,MAAM,EAAE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,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE;CACjC,CAAC;AACF,MAAM,CAAC,IAAM,aAAa,GAAe;IACxC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE;IACnC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE;CACnC,CAAC;AACF,MAAM,CAAC,IAAM,UAAU,GAAe;IACrC,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,QAAQ;CACf,CAAC;AAEF,IAAM,QAAQ,GAAgB;IAC7B;QACC,YAAY,EAAE,KAAK;KACnB;CACD,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAA+C;IACzE,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,sBAAsB;IAC5B,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE,CAAC,QAAQ,CAAC;IAChB,IAAI,EAAE,EAAE;CACR,CAAC"}
package/release/docs.mjs CHANGED
@@ -19,16 +19,21 @@ export var styleSetup = {
19
19
  vars: cssVars,
20
20
  parts: cssParts
21
21
  };
22
+ var examples = [
23
+ {
24
+ allowdecline: "yes"
25
+ },
26
+ ];
22
27
  export var componentSetup = {
23
28
  definitions: null,
24
29
  storybookArgs: storybookArgs,
25
30
  styleSetup: styleSetup,
26
31
  htmlSlots: htmlSlots,
27
32
  i18n: i18nLanguages,
28
- examples: [],
29
- name: "",
30
- category: "",
31
- tags: [],
33
+ examples: examples,
34
+ name: "hb-cookie-law-banner",
35
+ category: "layout",
36
+ tags: ["layout"],
32
37
  size: {}
33
38
  };
34
39
  //# sourceMappingURL=docs.js.map
package/release/docs.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
2
+ import type { Component } from "../app/types/webcomponent.type";
2
3
 
3
4
  export const storybookArgs = {
4
5
  allowdecline: { control: { type: "boolean" } },
@@ -23,15 +24,20 @@ export const styleSetup: StyleSetup = {
23
24
  parts: cssParts,
24
25
  };
25
26
 
26
- export const componentSetup: ComponentSetup = {
27
+ const examples: Component[] = [
28
+ {
29
+ allowdecline: "yes",
30
+ },
31
+ ];
32
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
27
33
  definitions: null,
28
34
  storybookArgs,
29
35
  styleSetup,
30
36
  htmlSlots,
31
37
  i18n: i18nLanguages,
32
- examples: [],
33
- name: "",
34
- category: "",
35
- tags: [],
38
+ examples,
39
+ name: "hb-cookie-law-banner",
40
+ category: "layout",
41
+ tags: ["layout"],
36
42
  size: {},
37
43
  };
@@ -206,9 +206,15 @@
206
206
  "language": "english"
207
207
  }
208
208
  ],
209
- "examples": [],
210
- "name": "",
211
- "category": "",
212
- "tags": [],
209
+ "examples": [
210
+ {
211
+ "allowdecline": "yes"
212
+ }
213
+ ],
214
+ "name": "hb-cookie-law-banner",
215
+ "category": "layout",
216
+ "tags": [
217
+ "layout"
218
+ ],
213
219
  "size": {}
214
220
  }