@kubex/zinc 1.0.18 → 1.0.20
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 +721 -8
- package/dist/vscode.html-custom-data.json +98 -3
- package/dist/web-types.json +195 -5
- package/dist/zn.d.ts +156 -4
- package/dist/zn.min.js +744 -668
- package/docs/pages/components/input-group.md +61 -0
- package/docs/pages/components/translations.md +53 -0
- package/package.json +1 -1
- package/src/components/audio-select/audio-select.component.ts +131 -0
- package/src/components/audio-select/audio-select.scss +4 -0
- package/src/components/audio-select/audio-select.test.ts +10 -0
- package/src/components/audio-select/index.ts +12 -0
- package/src/components/checkbox/checkbox.component.ts +66 -11
- package/src/components/checkbox/checkbox.scss +102 -15
- package/src/components/data-table/data-table.component.ts +7 -0
- package/src/components/inline-edit/inline-edit.component.ts +2 -1
- package/src/components/input-group/index.ts +12 -0
- package/src/components/input-group/input-group.component.ts +73 -0
- package/src/components/input-group/input-group.scss +65 -0
- package/src/components/input-group/input-group.test.ts +98 -0
- package/src/components/item/item.component.ts +5 -1
- package/src/components/item/item.scss +4 -0
- package/src/components/navbar/navbar.component.ts +21 -6
- package/src/components/navbar/navbar.scss +17 -1
- package/src/components/select/select.component.ts +7 -11
- package/src/components/select/select.scss +3 -3
- package/src/components/tabs/tabs.component.ts +33 -24
- package/src/components/translations/index.ts +6 -0
- package/src/components/translations/translations.component.ts +214 -0
- package/src/components/translations/translations.scss +15 -0
- package/src/components/translations/translations.test.ts +39 -0
- package/src/zinc.ts +3 -0
|
@@ -59,6 +59,22 @@
|
|
|
59
59
|
}
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"name": "zn-audio-select",
|
|
64
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **actions** - The actions slot.\n- **footer** - The footer 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.",
|
|
65
|
+
"attributes": [
|
|
66
|
+
{ "name": "value", "values": [] },
|
|
67
|
+
{ "name": "label", "values": [] },
|
|
68
|
+
{ "name": "placeholder", "values": [] },
|
|
69
|
+
{ "name": "files", "values": [{ "name": "AudioFile[]" }] }
|
|
70
|
+
],
|
|
71
|
+
"references": [
|
|
72
|
+
{
|
|
73
|
+
"name": "Documentation",
|
|
74
|
+
"url": "https://zinc.style/components/audio-select"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
62
78
|
{
|
|
63
79
|
"name": "zn-bulk-actions",
|
|
64
80
|
"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.",
|
|
@@ -274,7 +290,7 @@
|
|
|
274
290
|
},
|
|
275
291
|
{
|
|
276
292
|
"name": "zn-checkbox",
|
|
277
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
|
|
293
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **unchecked-icon** - The unchecked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
|
|
278
294
|
"attributes": [
|
|
279
295
|
{ "name": "title", "values": [] },
|
|
280
296
|
{
|
|
@@ -287,6 +303,11 @@
|
|
|
287
303
|
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
288
304
|
"values": []
|
|
289
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"name": "unchecked-value",
|
|
308
|
+
"description": "The unchecked value of the checkbox, submitted as a name/value pair with form data.",
|
|
309
|
+
"values": []
|
|
310
|
+
},
|
|
290
311
|
{
|
|
291
312
|
"name": "size",
|
|
292
313
|
"description": "The checkbox's size.",
|
|
@@ -331,13 +352,43 @@
|
|
|
331
352
|
"description": "Makes the checkbox a required field.",
|
|
332
353
|
"values": []
|
|
333
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"name": "submit-on-click",
|
|
357
|
+
"description": "Submits the form when checkbox is clicked.",
|
|
358
|
+
"values": []
|
|
359
|
+
},
|
|
334
360
|
{
|
|
335
361
|
"name": "description",
|
|
336
362
|
"description": "The checkbox's help text. If you need to display HTML, use the `description` slot instead.",
|
|
337
363
|
"values": []
|
|
338
364
|
},
|
|
339
365
|
{ "name": "label", "values": [] },
|
|
340
|
-
{ "name": "label-tooltip", "values": [] }
|
|
366
|
+
{ "name": "label-tooltip", "values": [] },
|
|
367
|
+
{
|
|
368
|
+
"name": "checked-icon",
|
|
369
|
+
"description": "The icon to show when the checkbox is checked.",
|
|
370
|
+
"values": []
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "unchecked-icon",
|
|
374
|
+
"description": "The icon to show when the checkbox is unchecked.",
|
|
375
|
+
"values": []
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "color",
|
|
379
|
+
"description": "The color of the checkbox.",
|
|
380
|
+
"values": [{ "name": "ColorOption" }]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "checked-color",
|
|
384
|
+
"description": "The color of the checkbox when checked. Overrides `color`.",
|
|
385
|
+
"values": [{ "name": "ColorOption" }]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "unchecked-color",
|
|
389
|
+
"description": "The color of the checkbox when unchecked. Overrides `color`.",
|
|
390
|
+
"values": [{ "name": "ColorOption" }]
|
|
391
|
+
}
|
|
341
392
|
],
|
|
342
393
|
"references": [
|
|
343
394
|
{
|
|
@@ -1566,6 +1617,23 @@
|
|
|
1566
1617
|
}
|
|
1567
1618
|
]
|
|
1568
1619
|
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "zn-input-group",
|
|
1622
|
+
"description": "A wrapper component that groups inputs and selects visually.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for inputs and selects.\n- **label** - The input group's label. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **form-control** - The form control wrapper.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input group container.",
|
|
1623
|
+
"attributes": [
|
|
1624
|
+
{
|
|
1625
|
+
"name": "label",
|
|
1626
|
+
"description": "The input group's label. If you need to display HTML, use the `label` slot.",
|
|
1627
|
+
"values": []
|
|
1628
|
+
}
|
|
1629
|
+
],
|
|
1630
|
+
"references": [
|
|
1631
|
+
{
|
|
1632
|
+
"name": "Documentation",
|
|
1633
|
+
"url": "https://zinc.style/components/input-group"
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1569
1637
|
{
|
|
1570
1638
|
"name": "zn-item",
|
|
1571
1639
|
"description": "Used for listing items in a description list. Caption on the right, content on the left.\n---\n\n\n### **Slots:**\n - _default_ - The default slot. Can either be slotted or use the value attribute\n- **actions** - Used for adding actions to a zn-item.\n\n### **CSS Parts:**\n - **base** - The items base wrapper\n- **caption** - The items caption\n- **icon** - The items icon",
|
|
@@ -1587,7 +1655,8 @@
|
|
|
1587
1655
|
{ "name": "inline", "values": [] },
|
|
1588
1656
|
{ "name": "grid", "values": [] },
|
|
1589
1657
|
{ "name": "no-padding", "values": [] },
|
|
1590
|
-
{ "name": "align-end", "values": [] }
|
|
1658
|
+
{ "name": "align-end", "values": [] },
|
|
1659
|
+
{ "name": "align-center", "values": [] }
|
|
1591
1660
|
],
|
|
1592
1661
|
"references": [
|
|
1593
1662
|
{ "name": "Documentation", "url": "https://zinc.style/components/item" }
|
|
@@ -1694,6 +1763,7 @@
|
|
|
1694
1763
|
{ "name": "stacked", "values": [] },
|
|
1695
1764
|
{ "name": "dropdown", "values": [{ "name": "array" }] },
|
|
1696
1765
|
{ "name": "no-pad", "values": [{ "name": "false" }] },
|
|
1766
|
+
{ "name": "manual-add-items", "values": [] },
|
|
1697
1767
|
{ "name": "_appended", "values": [{ "name": "Element[]" }] }
|
|
1698
1768
|
],
|
|
1699
1769
|
"references": [
|
|
@@ -2933,6 +3003,31 @@
|
|
|
2933
3003
|
}
|
|
2934
3004
|
]
|
|
2935
3005
|
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "zn-translations",
|
|
3008
|
+
"description": "\n---\n",
|
|
3009
|
+
"attributes": [
|
|
3010
|
+
{ "name": "name", "values": [] },
|
|
3011
|
+
{ "name": "value", "values": [] },
|
|
3012
|
+
{ "name": "label", "values": [] },
|
|
3013
|
+
{ "name": "disabled", "values": [] },
|
|
3014
|
+
{ "name": "required", "values": [] },
|
|
3015
|
+
{
|
|
3016
|
+
"name": "languages",
|
|
3017
|
+
"values": [{ "name": "Record<string" }, { "name": "string>" }]
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"name": "values",
|
|
3021
|
+
"values": [{ "name": "Record<string" }, { "name": "string>" }]
|
|
3022
|
+
}
|
|
3023
|
+
],
|
|
3024
|
+
"references": [
|
|
3025
|
+
{
|
|
3026
|
+
"name": "Documentation",
|
|
3027
|
+
"url": "https://zinc.style/components/translations"
|
|
3028
|
+
}
|
|
3029
|
+
]
|
|
3030
|
+
},
|
|
2936
3031
|
{
|
|
2937
3032
|
"name": "zn-vertical-stepper",
|
|
2938
3033
|
"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.",
|
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.0.
|
|
4
|
+
"version": "1.0.20",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -92,6 +92,38 @@
|
|
|
92
92
|
]
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"name": "zn-audio-select",
|
|
97
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **actions** - The actions slot.\n- **footer** - The footer 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.",
|
|
98
|
+
"doc-url": "",
|
|
99
|
+
"attributes": [
|
|
100
|
+
{ "name": "value", "value": { "type": "string", "default": "''" } },
|
|
101
|
+
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
102
|
+
{
|
|
103
|
+
"name": "placeholder",
|
|
104
|
+
"value": { "type": "string", "default": "''" }
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "files",
|
|
108
|
+
"value": { "type": "AudioFile[]", "default": "[]" }
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"slots": [
|
|
112
|
+
{ "name": "", "description": "The default slot." },
|
|
113
|
+
{ "name": "actions", "description": "The actions slot." },
|
|
114
|
+
{ "name": "footer", "description": "The footer slot." }
|
|
115
|
+
],
|
|
116
|
+
"events": [],
|
|
117
|
+
"js": {
|
|
118
|
+
"properties": [
|
|
119
|
+
{ "name": "value", "type": "string" },
|
|
120
|
+
{ "name": "label", "type": "string" },
|
|
121
|
+
{ "name": "placeholder", "type": "string" },
|
|
122
|
+
{ "name": "files", "type": "AudioFile[]" }
|
|
123
|
+
],
|
|
124
|
+
"events": []
|
|
125
|
+
}
|
|
126
|
+
},
|
|
95
127
|
{
|
|
96
128
|
"name": "zn-bulk-actions",
|
|
97
129
|
"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.",
|
|
@@ -533,7 +565,7 @@
|
|
|
533
565
|
},
|
|
534
566
|
{
|
|
535
567
|
"name": "zn-checkbox",
|
|
536
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
|
|
568
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **unchecked-icon** - The unchecked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
|
|
537
569
|
"doc-url": "",
|
|
538
570
|
"attributes": [
|
|
539
571
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -547,6 +579,11 @@
|
|
|
547
579
|
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
548
580
|
"value": { "type": "string" }
|
|
549
581
|
},
|
|
582
|
+
{
|
|
583
|
+
"name": "unchecked-value",
|
|
584
|
+
"description": "The unchecked value of the checkbox, submitted as a name/value pair with form data.",
|
|
585
|
+
"value": { "type": "string" }
|
|
586
|
+
},
|
|
550
587
|
{
|
|
551
588
|
"name": "size",
|
|
552
589
|
"description": "The checkbox's size.",
|
|
@@ -590,13 +627,43 @@
|
|
|
590
627
|
"description": "Makes the checkbox a required field.",
|
|
591
628
|
"value": { "type": "boolean", "default": "false" }
|
|
592
629
|
},
|
|
630
|
+
{
|
|
631
|
+
"name": "submit-on-click",
|
|
632
|
+
"description": "Submits the form when checkbox is clicked.",
|
|
633
|
+
"value": { "type": "boolean", "default": "false" }
|
|
634
|
+
},
|
|
593
635
|
{
|
|
594
636
|
"name": "description",
|
|
595
637
|
"description": "The checkbox's help text. If you need to display HTML, use the `description` slot instead.",
|
|
596
638
|
"value": { "type": "string", "default": "''" }
|
|
597
639
|
},
|
|
598
640
|
{ "name": "label", "value": { "type": "string" } },
|
|
599
|
-
{ "name": "label-tooltip", "value": { "type": "string" } }
|
|
641
|
+
{ "name": "label-tooltip", "value": { "type": "string" } },
|
|
642
|
+
{
|
|
643
|
+
"name": "checked-icon",
|
|
644
|
+
"description": "The icon to show when the checkbox is checked.",
|
|
645
|
+
"value": { "type": "string", "default": "''" }
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "unchecked-icon",
|
|
649
|
+
"description": "The icon to show when the checkbox is unchecked.",
|
|
650
|
+
"value": { "type": "string", "default": "''" }
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "color",
|
|
654
|
+
"description": "The color of the checkbox.",
|
|
655
|
+
"value": { "type": "ColorOption", "default": "'default'" }
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "checked-color",
|
|
659
|
+
"description": "The color of the checkbox when checked. Overrides `color`.",
|
|
660
|
+
"value": { "type": "ColorOption" }
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "unchecked-color",
|
|
664
|
+
"description": "The color of the checkbox when unchecked. Overrides `color`.",
|
|
665
|
+
"value": { "type": "ColorOption" }
|
|
666
|
+
}
|
|
600
667
|
],
|
|
601
668
|
"slots": [
|
|
602
669
|
{ "name": "", "description": "The checkbox's label." },
|
|
@@ -645,6 +712,11 @@
|
|
|
645
712
|
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
646
713
|
"type": "string"
|
|
647
714
|
},
|
|
715
|
+
{
|
|
716
|
+
"name": "uncheckedValue",
|
|
717
|
+
"description": "The unchecked value of the checkbox, submitted as a name/value pair with form data.",
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
648
720
|
{
|
|
649
721
|
"name": "size",
|
|
650
722
|
"description": "The checkbox's size.",
|
|
@@ -690,6 +762,11 @@
|
|
|
690
762
|
"description": "Makes the checkbox a required field.",
|
|
691
763
|
"type": "boolean"
|
|
692
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"name": "submitOnClick",
|
|
767
|
+
"description": "Submits the form when checkbox is clicked.",
|
|
768
|
+
"type": "boolean"
|
|
769
|
+
},
|
|
693
770
|
{
|
|
694
771
|
"name": "description",
|
|
695
772
|
"description": "The checkbox's help text. If you need to display HTML, use the `description` slot instead.",
|
|
@@ -697,6 +774,31 @@
|
|
|
697
774
|
},
|
|
698
775
|
{ "name": "label", "type": "string" },
|
|
699
776
|
{ "name": "labelTooltip", "type": "string" },
|
|
777
|
+
{
|
|
778
|
+
"name": "checkedIcon",
|
|
779
|
+
"description": "The icon to show when the checkbox is checked.",
|
|
780
|
+
"type": "string"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "uncheckedIcon",
|
|
784
|
+
"description": "The icon to show when the checkbox is unchecked.",
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "color",
|
|
789
|
+
"description": "The color of the checkbox.",
|
|
790
|
+
"type": "ColorOption"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "checkedColor",
|
|
794
|
+
"description": "The color of the checkbox when checked. Overrides `color`.",
|
|
795
|
+
"type": "ColorOption"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"name": "uncheckedColor",
|
|
799
|
+
"description": "The color of the checkbox when unchecked. Overrides `color`.",
|
|
800
|
+
"type": "ColorOption"
|
|
801
|
+
},
|
|
700
802
|
{
|
|
701
803
|
"name": "validity",
|
|
702
804
|
"description": "Gets the validity state object"
|
|
@@ -3532,6 +3634,40 @@
|
|
|
3532
3634
|
]
|
|
3533
3635
|
}
|
|
3534
3636
|
},
|
|
3637
|
+
{
|
|
3638
|
+
"name": "zn-input-group",
|
|
3639
|
+
"description": "A wrapper component that groups inputs and selects visually.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for inputs and selects.\n- **label** - The input group's label. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **form-control** - The form control wrapper.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input group container.",
|
|
3640
|
+
"doc-url": "",
|
|
3641
|
+
"attributes": [
|
|
3642
|
+
{
|
|
3643
|
+
"name": "label",
|
|
3644
|
+
"description": "The input group's label. If you need to display HTML, use the `label` slot.",
|
|
3645
|
+
"value": { "type": "string", "default": "''" }
|
|
3646
|
+
}
|
|
3647
|
+
],
|
|
3648
|
+
"slots": [
|
|
3649
|
+
{
|
|
3650
|
+
"name": "",
|
|
3651
|
+
"description": "The default slot for inputs and selects."
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"name": "label",
|
|
3655
|
+
"description": "The input group's label. Alternatively, you can use the `label` attribute."
|
|
3656
|
+
}
|
|
3657
|
+
],
|
|
3658
|
+
"events": [],
|
|
3659
|
+
"js": {
|
|
3660
|
+
"properties": [
|
|
3661
|
+
{ "name": "defaultSlot", "type": "HTMLSlotElement" },
|
|
3662
|
+
{
|
|
3663
|
+
"name": "label",
|
|
3664
|
+
"description": "The input group's label. If you need to display HTML, use the `label` slot.",
|
|
3665
|
+
"type": "string"
|
|
3666
|
+
}
|
|
3667
|
+
],
|
|
3668
|
+
"events": []
|
|
3669
|
+
}
|
|
3670
|
+
},
|
|
3535
3671
|
{
|
|
3536
3672
|
"name": "zn-item",
|
|
3537
3673
|
"description": "Used for listing items in a description list. Caption on the right, content on the left.\n---\n\n\n### **Slots:**\n - _default_ - The default slot. Can either be slotted or use the value attribute\n- **actions** - Used for adding actions to a zn-item.\n\n### **CSS Parts:**\n - **base** - The items base wrapper\n- **caption** - The items caption\n- **icon** - The items icon",
|
|
@@ -3553,7 +3689,8 @@
|
|
|
3553
3689
|
{ "name": "inline", "value": { "type": "boolean" } },
|
|
3554
3690
|
{ "name": "grid", "value": { "type": "boolean" } },
|
|
3555
3691
|
{ "name": "no-padding", "value": { "type": "boolean" } },
|
|
3556
|
-
{ "name": "align-end", "value": { "type": "boolean" } }
|
|
3692
|
+
{ "name": "align-end", "value": { "type": "boolean" } },
|
|
3693
|
+
{ "name": "align-center", "value": { "type": "boolean" } }
|
|
3557
3694
|
],
|
|
3558
3695
|
"slots": [
|
|
3559
3696
|
{
|
|
@@ -3578,7 +3715,8 @@
|
|
|
3578
3715
|
{ "name": "inline", "type": "boolean" },
|
|
3579
3716
|
{ "name": "grid", "type": "boolean" },
|
|
3580
3717
|
{ "name": "noPadding", "type": "boolean" },
|
|
3581
|
-
{ "name": "alignEnd", "type": "boolean" }
|
|
3718
|
+
{ "name": "alignEnd", "type": "boolean" },
|
|
3719
|
+
{ "name": "alignCenter", "type": "boolean" }
|
|
3582
3720
|
],
|
|
3583
3721
|
"events": []
|
|
3584
3722
|
}
|
|
@@ -3810,6 +3948,10 @@
|
|
|
3810
3948
|
"value": { "type": "array", "default": "[]" }
|
|
3811
3949
|
},
|
|
3812
3950
|
{ "name": "no-pad", "value": { "type": "false" } },
|
|
3951
|
+
{
|
|
3952
|
+
"name": "manual-add-items",
|
|
3953
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3954
|
+
},
|
|
3813
3955
|
{ "name": "_appended", "value": { "type": "Element[]" } }
|
|
3814
3956
|
],
|
|
3815
3957
|
"slots": [
|
|
@@ -3831,6 +3973,7 @@
|
|
|
3831
3973
|
{ "name": "stacked", "type": "boolean" },
|
|
3832
3974
|
{ "name": "dropdown", "type": "array" },
|
|
3833
3975
|
{ "name": "noPad", "type": "false" },
|
|
3976
|
+
{ "name": "manualAddItems", "type": "boolean" },
|
|
3834
3977
|
{ "name": "handleResize" }
|
|
3835
3978
|
],
|
|
3836
3979
|
"events": [
|
|
@@ -6823,6 +6966,53 @@
|
|
|
6823
6966
|
]
|
|
6824
6967
|
}
|
|
6825
6968
|
},
|
|
6969
|
+
{
|
|
6970
|
+
"name": "zn-translations",
|
|
6971
|
+
"description": "\n---\n",
|
|
6972
|
+
"doc-url": "",
|
|
6973
|
+
"attributes": [
|
|
6974
|
+
{ "name": "name", "value": { "type": "string", "default": "''" } },
|
|
6975
|
+
{
|
|
6976
|
+
"name": "value",
|
|
6977
|
+
"value": { "type": "string", "default": "'{\"en\":\"\"}'" }
|
|
6978
|
+
},
|
|
6979
|
+
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
6980
|
+
{
|
|
6981
|
+
"name": "disabled",
|
|
6982
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6983
|
+
},
|
|
6984
|
+
{
|
|
6985
|
+
"name": "required",
|
|
6986
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
"name": "languages",
|
|
6990
|
+
"value": {
|
|
6991
|
+
"type": "Record<string, string>",
|
|
6992
|
+
"default": "{ 'en': 'English' }"
|
|
6993
|
+
}
|
|
6994
|
+
},
|
|
6995
|
+
{
|
|
6996
|
+
"name": "values",
|
|
6997
|
+
"value": { "type": "Record<string, string>", "default": "{}" }
|
|
6998
|
+
}
|
|
6999
|
+
],
|
|
7000
|
+
"events": [],
|
|
7001
|
+
"js": {
|
|
7002
|
+
"properties": [
|
|
7003
|
+
{ "name": "name", "type": "string" },
|
|
7004
|
+
{ "name": "value", "type": "string" },
|
|
7005
|
+
{ "name": "label", "type": "string" },
|
|
7006
|
+
{ "name": "disabled", "type": "boolean" },
|
|
7007
|
+
{ "name": "required", "type": "boolean" },
|
|
7008
|
+
{ "name": "languages", "type": "Record<string, string>" },
|
|
7009
|
+
{ "name": "values", "type": "Record<string, string>" },
|
|
7010
|
+
{ "name": "validity", "type": "ValidityState" },
|
|
7011
|
+
{ "name": "validationMessage" }
|
|
7012
|
+
],
|
|
7013
|
+
"events": []
|
|
7014
|
+
}
|
|
7015
|
+
},
|
|
6826
7016
|
{
|
|
6827
7017
|
"name": "zn-vertical-stepper",
|
|
6828
7018
|
"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.",
|