@htmlbricks/hb-terms-doc-templates 0.71.35 → 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/README.md +93 -18
- package/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +43 -30
- package/package.json +2 -2
- package/types/webcomponent.type.d.json +2 -4
- package/types/webcomponent.type.d.ts +3 -4
- package/types/webcomponent_events.type.d.json +0 -17
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
|
|
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,17 +403,49 @@
|
|
|
422
403
|
"control": {
|
|
423
404
|
"type": "text"
|
|
424
405
|
}
|
|
425
|
-
},
|
|
426
|
-
"event": {
|
|
427
|
-
"action": "eventEvent"
|
|
428
406
|
}
|
|
429
407
|
},
|
|
430
408
|
"styleSetup": {
|
|
431
|
-
"vars": [
|
|
409
|
+
"vars": [
|
|
410
|
+
{
|
|
411
|
+
"name": "--bulma-block-spacing",
|
|
412
|
+
"valueType": "number",
|
|
413
|
+
"defaultValue": "",
|
|
414
|
+
"description": "Vertical spacing between headings, paragraphs, and lists."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "--bulma-content-heading-bottom",
|
|
418
|
+
"valueType": "number",
|
|
419
|
+
"defaultValue": "",
|
|
420
|
+
"description": "Margin below `h1` / `h2` chapter titles."
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "--bulma-line-height-main",
|
|
424
|
+
"valueType": "number",
|
|
425
|
+
"defaultValue": "",
|
|
426
|
+
"description": "Line height for paragraphs and list items."
|
|
427
|
+
}
|
|
428
|
+
],
|
|
432
429
|
"parts": [
|
|
433
430
|
{
|
|
434
|
-
"name": "
|
|
435
|
-
"description": "
|
|
431
|
+
"name": "h1",
|
|
432
|
+
"description": "Document title at the top of the rendered policy."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "h2",
|
|
436
|
+
"description": "Chapter heading including numeric index from the template."
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"name": "p",
|
|
440
|
+
"description": "Body paragraph inside a chapter."
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "ul",
|
|
444
|
+
"description": "Bullet list wrapper for chapter list blocks."
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "li",
|
|
448
|
+
"description": "Individual list entry text."
|
|
436
449
|
}
|
|
437
450
|
]
|
|
438
451
|
},
|
|
@@ -667,7 +680,7 @@
|
|
|
667
680
|
}
|
|
668
681
|
}
|
|
669
682
|
],
|
|
670
|
-
"iifeIntegrity": "sha384-
|
|
683
|
+
"iifeIntegrity": "sha384-eeDDAoxJS49lGdgrqybdabTQ6P55EjBr81zXTpwJ07+DDZ0sO+bSXJiE85Gphxkp",
|
|
671
684
|
"dependencies": [
|
|
672
685
|
{
|
|
673
686
|
"name": "hb-table",
|
|
@@ -816,5 +829,5 @@
|
|
|
816
829
|
"size": {},
|
|
817
830
|
"iifePath": "main.iife.js",
|
|
818
831
|
"repoName": "@htmlbricks/hb-terms-doc-templates",
|
|
819
|
-
"version": "0.71.
|
|
832
|
+
"version": "0.71.37"
|
|
820
833
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-terms-doc-templates",
|
|
3
|
-
"version": "0.71.
|
|
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
|
|
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
|
-
|
|
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
|
}
|