@htmlbricks/hb-cookie-law-banner 0.8.1 → 0.8.2

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
@@ -10,7 +10,10 @@ export const storybookArgs = {
10
10
 
11
11
  const cssVars: CssVar[] = [];
12
12
  export const cssParts: CssPart[] = [];
13
- export const htmlSlots: HtmlSlot[] = [];
13
+ export const htmlSlots: HtmlSlot[] = [
14
+ { name: "title", description: "" },
15
+ { name: "text", description: "" },
16
+ ];
14
17
  export const i18nLanguages: i18nLang[] = [
15
18
  { lang: "it", language: "italian" },
16
19
  { lang: "en", language: "english" },
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.1",
5
+ "version": "0.8.2",
6
6
  "main": "release/release.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -27,7 +27,7 @@
27
27
  "prepublish": "npm run build:release"
28
28
  },
29
29
  "devDependencies": {
30
- "@htmlbricks/hb-jsutils": "^0.8.1",
30
+ "@htmlbricks/hb-jsutils": "^0.8.2",
31
31
  "@rollup/plugin-alias": "^3.1.2",
32
32
  "@rollup/plugin-commonjs": "^18.0.0",
33
33
  "@rollup/plugin-json": "^4.1.0",
@@ -71,5 +71,5 @@
71
71
  "webcomponents"
72
72
  ],
73
73
  "contributors": [],
74
- "gitHead": "06c940a5e5dd2d16bf3fe6fb760c1b7f9afd1742"
74
+ "gitHead": "fc70abf71b8a0e71ec0a591bb34c0e13f35ff5de"
75
75
  }
package/release/docs.js CHANGED
@@ -7,7 +7,10 @@ export var storybookArgs = {
7
7
  };
8
8
  var cssVars = [];
9
9
  export var cssParts = [];
10
- export var htmlSlots = [];
10
+ export var htmlSlots = [
11
+ { name: "title", description: "" },
12
+ { name: "text", description: "" },
13
+ ];
11
14
  export var i18nLanguages = [
12
15
  { lang: "it", language: "italian" },
13
16
  { lang: "en", language: "english" },
@@ -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,EAAE,CAAC;AACxC,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"}
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,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"}
package/release/docs.ts CHANGED
@@ -10,7 +10,10 @@ export const storybookArgs = {
10
10
 
11
11
  const cssVars: CssVar[] = [];
12
12
  export const cssParts: CssPart[] = [];
13
- export const htmlSlots: HtmlSlot[] = [];
13
+ export const htmlSlots: HtmlSlot[] = [
14
+ { name: "title", description: "" },
15
+ { name: "text", description: "" },
16
+ ];
14
17
  export const i18nLanguages: i18nLang[] = [
15
18
  { lang: "it", language: "italian" },
16
19
  { lang: "en", language: "english" },
@@ -31,6 +31,27 @@
31
31
  },
32
32
  "Events": {
33
33
  "additionalProperties": false,
34
+ "properties": {
35
+ "acceptCookieLaw": {
36
+ "additionalProperties": false,
37
+ "properties": {
38
+ "accepted": {
39
+ "enum": [
40
+ "yes",
41
+ "no"
42
+ ],
43
+ "type": "string"
44
+ }
45
+ },
46
+ "required": [
47
+ "accepted"
48
+ ],
49
+ "type": "object"
50
+ }
51
+ },
52
+ "required": [
53
+ "acceptCookieLaw"
54
+ ],
34
55
  "type": "object"
35
56
  },
36
57
  "ICapabilities": {
@@ -29,4 +29,6 @@ export type Component = {
29
29
  cookielawuri4more: string;
30
30
  };
31
31
 
32
- export type Events = {};
32
+ export type Events = {
33
+ acceptCookieLaw: { accepted: "yes" | "no" };
34
+ };