@htmlbricks/hb-terms-doc-templates 0.71.36 → 0.71.37

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/manifest.json CHANGED
@@ -6,23 +6,6 @@
6
6
  "definitions": {
7
7
  "Events": {
8
8
  "additionalProperties": false,
9
- "properties": {
10
- "event": {
11
- "additionalProperties": false,
12
- "properties": {
13
- "test": {
14
- "type": "boolean"
15
- }
16
- },
17
- "required": [
18
- "test"
19
- ],
20
- "type": "object"
21
- }
22
- },
23
- "required": [
24
- "event"
25
- ],
26
9
  "type": "object"
27
10
  }
28
11
  }
@@ -42,7 +25,8 @@
42
25
  {
43
26
  "$ref": "#/definitions/CookieContent"
44
27
  }
45
- ]
28
+ ],
29
+ "description": "JSON string or object; when a string, parsed in an effect to select a template by `id`."
46
30
  },
47
31
  "i18nlang": {
48
32
  "type": "string"
@@ -54,9 +38,6 @@
54
38
  "type": "string"
55
39
  }
56
40
  },
57
- "required": [
58
- "data"
59
- ],
60
41
  "type": "object"
61
42
  },
62
43
  "CookieContent": {
@@ -411,7 +392,7 @@
411
392
  }
412
393
  }
413
394
  },
414
- "description": "Renders legal-style documents from `data`: privacy templates with site, company, and admin fields, or cookie policies with a `cookies` list. Use `i18nlang` with registered languages for localized copy; emits `event` for integrations.",
395
+ "description": "Renders legal-style documents from `data`: privacy templates with site, company, and admin fields, or cookie policies with a `cookies` list. Use `i18nlang` with registered languages for localized copy.",
415
396
  "storybookArgs": {
416
397
  "data": {
417
398
  "control": {
@@ -422,9 +403,6 @@
422
403
  "control": {
423
404
  "type": "text"
424
405
  }
425
- },
426
- "event": {
427
- "action": "eventEvent"
428
406
  }
429
407
  },
430
408
  "styleSetup": {
@@ -702,7 +680,7 @@
702
680
  }
703
681
  }
704
682
  ],
705
- "iifeIntegrity": "sha384-T6D93VfMGnA01dneoZ4ZOTJFGKhcV4O7gCZoxJvtgoncqAVG576z2nktedBtDOen",
683
+ "iifeIntegrity": "sha384-eeDDAoxJS49lGdgrqybdabTQ6P55EjBr81zXTpwJ07+DDZ0sO+bSXJiE85Gphxkp",
706
684
  "dependencies": [
707
685
  {
708
686
  "name": "hb-table",
@@ -851,5 +829,5 @@
851
829
  "size": {},
852
830
  "iifePath": "main.iife.js",
853
831
  "repoName": "@htmlbricks/hb-terms-doc-templates",
854
- "version": "0.71.36"
832
+ "version": "0.71.37"
855
833
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-terms-doc-templates",
3
- "version": "0.71.36",
3
+ "version": "0.71.37",
4
4
  "contributors": [],
5
- "description": "Renders legal-style documents from `data`: privacy templates with site, company, and admin fields, or cookie policies with a `cookies` list. Use `i18nlang` with registered languages for localized copy; emits `event` for integrations.",
5
+ "description": "Renders legal-style documents from `data`: privacy templates with site, company, and admin fields, or cookie policies with a `cookies` list. Use `i18nlang` with registered languages for localized copy.",
6
6
  "licenses": [
7
7
  {
8
8
  "type": "Apache-2.0",
@@ -13,7 +13,8 @@
13
13
  {
14
14
  "$ref": "#/definitions/CookieContent"
15
15
  }
16
- ]
16
+ ],
17
+ "description": "JSON string or object; when a string, parsed in an effect to select a template by `id`."
17
18
  },
18
19
  "i18nlang": {
19
20
  "type": "string"
@@ -25,9 +26,6 @@
25
26
  "type": "string"
26
27
  }
27
28
  },
28
- "required": [
29
- "data"
30
- ],
31
29
  "type": "object"
32
30
  },
33
31
  "CookieContent": {
@@ -67,9 +67,8 @@ export type Component = {
67
67
  id?: string;
68
68
  style?: string;
69
69
  i18nlang?: string;
70
- data: ITPrivacy | CookieContent;
70
+ /** JSON string or object; when a string, parsed in an effect to select a template by `id`. */
71
+ data?: ITPrivacy | CookieContent;
71
72
  };
72
73
 
73
- export type Events = {
74
- event: { test: boolean };
75
- };
74
+ export type Events = {};
@@ -4,23 +4,6 @@
4
4
  "definitions": {
5
5
  "Events": {
6
6
  "additionalProperties": false,
7
- "properties": {
8
- "event": {
9
- "additionalProperties": false,
10
- "properties": {
11
- "test": {
12
- "type": "boolean"
13
- }
14
- },
15
- "required": [
16
- "test"
17
- ],
18
- "type": "object"
19
- }
20
- },
21
- "required": [
22
- "event"
23
- ],
24
7
  "type": "object"
25
8
  }
26
9
  }