@kubex/zinc 1.1.141 → 1.1.142
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/custom-elements.json +313 -80
- package/dist/vscode.html-custom-data.json +44 -14
- package/dist/web-types.json +101 -28
- package/dist/zn.d.ts +555 -530
- package/dist/zn.min.js +894 -866
- package/package.json +1 -1
- package/src/components/form-group/form-group.scss +11 -1
- package/src/components/form-group/form-group.test.ts +16 -0
- package/src/components/linked-select/linked-select.component.ts +37 -5
- package/src/components/linked-select/linked-select.test.ts +95 -9
- package/src/components/page-builder/page-builder.component.ts +56 -2
- package/src/components/page-builder/page-builder.scss +41 -0
- package/src/components/page-builder/page-builder.test.ts +210 -0
- package/src/components/remarkd-editor/remarkd-editor.component.ts +2 -0
- package/src/components/remarkd-editor/remarkd-editor.test.ts +35 -7
- package/src/components/sp/sp.scss +6 -0
- package/src/components/sp/sp.test.ts +31 -0
- package/src/components/translations/translations.component.ts +33 -2
- package/src/components/translations/translations.test.ts +41 -0
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.142",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -83,28 +105,6 @@
|
|
|
83
105
|
]
|
|
84
106
|
}
|
|
85
107
|
},
|
|
86
|
-
{
|
|
87
|
-
"name": "zn-action-bar",
|
|
88
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
89
|
-
"doc-url": "",
|
|
90
|
-
"attributes": [],
|
|
91
|
-
"slots": [
|
|
92
|
-
{ "name": "", "description": "The default slot." },
|
|
93
|
-
{ "name": "example", "description": "An example slot." }
|
|
94
|
-
],
|
|
95
|
-
"events": [
|
|
96
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
97
|
-
],
|
|
98
|
-
"js": {
|
|
99
|
-
"properties": [],
|
|
100
|
-
"events": [
|
|
101
|
-
{
|
|
102
|
-
"name": "zn-event-name",
|
|
103
|
-
"description": "Emitted as an example."
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
108
|
{
|
|
109
109
|
"name": "zn-animated-button",
|
|
110
110
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -6057,7 +6057,10 @@
|
|
|
6057
6057
|
"name": "name",
|
|
6058
6058
|
"value": { "type": "string", "default": "\"\"" }
|
|
6059
6059
|
},
|
|
6060
|
-
{
|
|
6060
|
+
{
|
|
6061
|
+
"name": "value",
|
|
6062
|
+
"value": { "type": "string | string[]", "default": "''" }
|
|
6063
|
+
},
|
|
6061
6064
|
{
|
|
6062
6065
|
"name": "checked",
|
|
6063
6066
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -6079,6 +6082,27 @@
|
|
|
6079
6082
|
"name": "select-first",
|
|
6080
6083
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
6081
6084
|
"value": { "type": "boolean", "default": "false" }
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
"name": "multiple",
|
|
6088
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
6089
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
"name": "placeholder",
|
|
6093
|
+
"value": { "type": "string", "default": "''" }
|
|
6094
|
+
},
|
|
6095
|
+
{
|
|
6096
|
+
"name": "clearable",
|
|
6097
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
"name": "search",
|
|
6101
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
"name": "help-text",
|
|
6105
|
+
"value": { "type": "string", "default": "''" }
|
|
6082
6106
|
}
|
|
6083
6107
|
],
|
|
6084
6108
|
"slots": [
|
|
@@ -6091,11 +6115,11 @@
|
|
|
6091
6115
|
"js": {
|
|
6092
6116
|
"properties": [
|
|
6093
6117
|
{ "name": "name", "type": "string" },
|
|
6094
|
-
{ "name": "value", "type": "string" },
|
|
6118
|
+
{ "name": "value", "type": "string | string[]" },
|
|
6095
6119
|
{
|
|
6096
6120
|
"name": "defaultValue",
|
|
6097
6121
|
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
6098
|
-
"type": "string"
|
|
6122
|
+
"type": "string | string[]"
|
|
6099
6123
|
},
|
|
6100
6124
|
{ "name": "checked", "type": "boolean" },
|
|
6101
6125
|
{ "name": "options", "type": "linkedSelectOptions" },
|
|
@@ -6107,6 +6131,15 @@
|
|
|
6107
6131
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
6108
6132
|
"type": "boolean"
|
|
6109
6133
|
},
|
|
6134
|
+
{
|
|
6135
|
+
"name": "multiple",
|
|
6136
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
6137
|
+
"type": "boolean"
|
|
6138
|
+
},
|
|
6139
|
+
{ "name": "placeholder", "type": "string" },
|
|
6140
|
+
{ "name": "clearable", "type": "boolean" },
|
|
6141
|
+
{ "name": "search", "type": "boolean" },
|
|
6142
|
+
{ "name": "helpText", "type": "string" },
|
|
6110
6143
|
{ "name": "input", "type": "ZnSelect" },
|
|
6111
6144
|
{ "name": "displayLabel" },
|
|
6112
6145
|
{ "name": "validity" },
|
|
@@ -12483,7 +12516,7 @@
|
|
|
12483
12516
|
"name": "input-type",
|
|
12484
12517
|
"description": "The control each translation is edited through.",
|
|
12485
12518
|
"value": {
|
|
12486
|
-
"type": "'text' | 'number' | 'textarea'",
|
|
12519
|
+
"type": "'text' | 'number' | 'textarea' | 'remarkd'",
|
|
12487
12520
|
"default": "'text'"
|
|
12488
12521
|
}
|
|
12489
12522
|
},
|
|
@@ -12492,6 +12525,26 @@
|
|
|
12492
12525
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
12493
12526
|
"value": { "type": "number | undefined" }
|
|
12494
12527
|
},
|
|
12528
|
+
{
|
|
12529
|
+
"name": "allow-raw",
|
|
12530
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
12531
|
+
"value": { "type": "boolean", "default": "false" }
|
|
12532
|
+
},
|
|
12533
|
+
{
|
|
12534
|
+
"name": "attachment-url",
|
|
12535
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
12536
|
+
"value": { "type": "string", "default": "''" }
|
|
12537
|
+
},
|
|
12538
|
+
{
|
|
12539
|
+
"name": "include-url",
|
|
12540
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
12541
|
+
"value": { "type": "string", "default": "''" }
|
|
12542
|
+
},
|
|
12543
|
+
{
|
|
12544
|
+
"name": "link-url",
|
|
12545
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
12546
|
+
"value": { "type": "string", "default": "''" }
|
|
12547
|
+
},
|
|
12495
12548
|
{
|
|
12496
12549
|
"name": "inline-edit",
|
|
12497
12550
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|
|
@@ -12606,13 +12659,33 @@
|
|
|
12606
12659
|
{
|
|
12607
12660
|
"name": "inputType",
|
|
12608
12661
|
"description": "The control each translation is edited through.",
|
|
12609
|
-
"type": "'text' | 'number' | 'textarea'"
|
|
12662
|
+
"type": "'text' | 'number' | 'textarea' | 'remarkd'"
|
|
12610
12663
|
},
|
|
12611
12664
|
{
|
|
12612
12665
|
"name": "textareaRows",
|
|
12613
12666
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
12614
12667
|
"type": "number | undefined"
|
|
12615
12668
|
},
|
|
12669
|
+
{
|
|
12670
|
+
"name": "allowRaw",
|
|
12671
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
12672
|
+
"type": "boolean"
|
|
12673
|
+
},
|
|
12674
|
+
{
|
|
12675
|
+
"name": "attachmentUrl",
|
|
12676
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
12677
|
+
"type": "string"
|
|
12678
|
+
},
|
|
12679
|
+
{
|
|
12680
|
+
"name": "includeUrl",
|
|
12681
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
12682
|
+
"type": "string"
|
|
12683
|
+
},
|
|
12684
|
+
{
|
|
12685
|
+
"name": "linkUrl",
|
|
12686
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
12687
|
+
"type": "string"
|
|
12688
|
+
},
|
|
12616
12689
|
{
|
|
12617
12690
|
"name": "inlineEdit",
|
|
12618
12691
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|