@kubex/zinc 1.0.115 → 1.0.117
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 +476 -287
- package/dist/vscode.html-custom-data.json +52 -52
- package/dist/web-types.json +116 -86
- package/dist/zn.d.ts +63 -11
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +1096 -1087
- package/docs/_includes/default.njk +3 -4
- package/docs/assets/styles/docs.css +13 -13
- package/docs/pages/components/absolute-container.md +2 -2
- package/docs/pages/components/alert.md +5 -5
- package/docs/pages/components/audio-select.md +4 -4
- package/docs/pages/components/button-group.md +1 -31
- package/docs/pages/components/button.md +13 -12
- package/docs/pages/components/checkbox.md +4 -4
- package/docs/pages/components/chip.md +14 -14
- package/docs/pages/components/data-table.md +4 -4
- package/docs/pages/components/datepicker.md +5 -5
- package/docs/pages/components/dialog.md +2 -2
- package/docs/pages/components/file.md +81 -9
- package/docs/pages/components/header.md +4 -6
- package/docs/pages/components/hover-container.md +1 -1
- package/docs/pages/components/icon.md +14 -0
- package/docs/pages/components/inline-edit.md +4 -4
- package/docs/pages/components/item.md +2 -2
- package/docs/pages/components/menu.md +2 -2
- package/docs/pages/components/note.md +12 -12
- package/docs/pages/components/page.md +3 -3
- package/docs/pages/components/pagination.md +6 -6
- package/docs/pages/components/pane.md +3 -6
- package/docs/pages/components/panel.md +10 -12
- package/docs/pages/components/priority-list.md +3 -3
- package/docs/pages/components/radio-group.md +4 -4
- package/docs/pages/components/radio.md +4 -4
- package/docs/pages/components/scroll-container.md +10 -10
- package/docs/pages/components/select.md +5 -5
- package/docs/pages/components/split-button.md +4 -4
- package/docs/pages/components/tabs.md +3 -3
- package/docs/pages/components/tile.md +13 -13
- package/docs/pages/components/toggle.md +4 -4
- package/docs/pages/components/translations.md +5 -5
- package/docs/pages/components/vertical-stepper.md +3 -3
- package/docs/pages/components/well.md +19 -19
- package/docs/pages/getting-started/example-layout.md +16 -16
- package/docs/pages/getting-started/example-page.md +1 -3
- package/package.json +2 -1
- package/scss/_root.scss +87 -60
- package/scss/shared/_button.scss +6 -1
- package/scss/shared/_form-elements.scss +1 -0
- package/scss/shared/_table.scss +1 -1
- package/scss/shared/layout.scss +5 -4
- package/scss/themes/_dark.scss +4 -4
- package/scss/themes/_light.scss +70 -287
- package/src/components/bulk-actions/bulk-actions.component.ts +0 -1
- package/src/components/button/button.component.ts +40 -10
- package/src/components/button/button.scss +67 -103
- package/src/components/button-menu/button-menu.component.ts +2 -6
- package/src/components/collapsible/collapsible.scss +1 -1
- package/src/components/cols/cols.scss +1 -1
- package/src/components/content-block/content-block.component.ts +1 -2
- package/src/components/data-table/data-table.component.ts +4 -8
- package/src/components/data-table/data-table.test.ts +7 -0
- package/src/components/data-table-filter/data-table-filter.component.ts +1 -1
- package/src/components/data-table-sort/data-table-sort.component.ts +2 -2
- package/src/components/dialog/dialog.component.ts +0 -1
- package/src/components/editor/modules/dialog/dialog.component.ts +0 -1
- package/src/components/editor/modules/dialog/dialog.scss +1 -1
- package/src/components/editor/modules/toolbar/toolbar.component.ts +0 -1
- package/src/components/expanding-action/expanding-action.component.ts +0 -3
- package/src/components/expanding-action/expanding-action.scss +0 -5
- package/src/components/file/file.component.ts +158 -17
- package/src/components/file/file.scss +122 -29
- package/src/components/header/header.component.ts +2 -8
- package/src/components/header/header.scss +4 -25
- package/src/components/icon/icon.component.ts +80 -1
- package/src/components/icon/icon.scss +8 -0
- package/src/components/icon/icon.test.ts +24 -0
- package/src/components/icon-picker/icon-picker.component.ts +0 -1
- package/src/components/inline-edit/inline-edit.component.ts +3 -4
- package/src/components/input/input.scss +21 -6
- package/src/components/input-group/input-group.scss +2 -1
- package/src/components/markdown-editor/markdown-editor.component.ts +1 -5
- package/src/components/menu/menu.scss +1 -1
- package/src/components/menu-item/menu-item.scss +4 -4
- package/src/components/navbar/navbar.component.ts +20 -0
- package/src/components/navbar/navbar.scss +31 -17
- package/src/components/navbar/navbar.test.ts +72 -0
- package/src/components/note/note.component.ts +0 -1
- package/src/components/page/page.component.ts +43 -12
- package/src/components/page/page.scss +21 -17
- package/src/components/page/page.test.ts +18 -1
- package/src/components/page-nav/page-nav.scss +6 -6
- package/src/components/panel/panel.component.ts +3 -5
- package/src/components/panel/panel.scss +3 -3
- package/src/components/panel/panel.test.ts +14 -0
- package/src/components/query-builder/query-builder.component.ts +0 -1
- package/src/components/slideout/slideout.component.ts +0 -1
- package/src/components/sp/sp.scss +2 -2
- package/src/components/tab/tab.component.ts +2 -0
- package/src/components/tabs/tabs.component.ts +1 -1
- package/src/components/tile/tile.scss +1 -1
- package/src/components/translation-group/translation-group.component.ts +0 -3
- package/src/components/translations/translations.component.ts +0 -3
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "zn-action-bar",
|
|
18
|
+
"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.",
|
|
19
|
+
"attributes": [],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Documentation",
|
|
23
|
+
"url": "https://zinc.style/components/action-bar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
16
27
|
{
|
|
17
28
|
"name": "zn-alert",
|
|
18
29
|
"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.",
|
|
@@ -48,17 +59,6 @@
|
|
|
48
59
|
}
|
|
49
60
|
]
|
|
50
61
|
},
|
|
51
|
-
{
|
|
52
|
-
"name": "zn-action-bar",
|
|
53
|
-
"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.",
|
|
54
|
-
"attributes": [],
|
|
55
|
-
"references": [
|
|
56
|
-
{
|
|
57
|
-
"name": "Documentation",
|
|
58
|
-
"url": "https://zinc.style/components/action-bar"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
62
|
{
|
|
63
63
|
"name": "zn-animated-button",
|
|
64
64
|
"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",
|
|
@@ -156,30 +156,24 @@
|
|
|
156
156
|
"name": "color",
|
|
157
157
|
"values": [
|
|
158
158
|
{ "name": "default" },
|
|
159
|
+
{ "name": "primary" },
|
|
159
160
|
{ "name": "secondary" },
|
|
160
161
|
{ "name": "error" },
|
|
161
162
|
{ "name": "info" },
|
|
162
163
|
{ "name": "success" },
|
|
163
164
|
{ "name": "warning" },
|
|
164
165
|
{ "name": "transparent" },
|
|
165
|
-
{ "name": "star" }
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"name": "size",
|
|
170
|
-
"values": [
|
|
171
|
-
{ "name": "content" },
|
|
172
|
-
{ "name": "x-small" },
|
|
173
|
-
{ "name": "small" },
|
|
174
|
-
{ "name": "medium" },
|
|
175
|
-
{ "name": "large" }
|
|
166
|
+
{ "name": "star" },
|
|
167
|
+
{ "name": "(string & Record<never, never>)" }
|
|
176
168
|
]
|
|
177
169
|
},
|
|
170
|
+
{ "name": "hover-color", "values": [] },
|
|
178
171
|
{ "name": "text", "values": [] },
|
|
179
172
|
{ "name": "outline", "values": [] },
|
|
180
173
|
{ "name": "disabled", "values": [] },
|
|
181
174
|
{ "name": "grow", "values": [] },
|
|
182
175
|
{ "name": "square", "values": [] },
|
|
176
|
+
{ "name": "icon-button", "values": [] },
|
|
183
177
|
{ "name": "panel-bg", "values": [] },
|
|
184
178
|
{ "name": "dropdown-closer", "values": [] },
|
|
185
179
|
{ "name": "notification", "values": [] },
|
|
@@ -299,16 +293,6 @@
|
|
|
299
293
|
{ "name": "containerWidth", "values": [] },
|
|
300
294
|
{ "name": "limit", "values": [] },
|
|
301
295
|
{ "name": "max-level", "values": [] },
|
|
302
|
-
{
|
|
303
|
-
"name": "size",
|
|
304
|
-
"values": [
|
|
305
|
-
{ "name": "content" },
|
|
306
|
-
{ "name": "x-small" },
|
|
307
|
-
{ "name": "small" },
|
|
308
|
-
{ "name": "medium" },
|
|
309
|
-
{ "name": "large" }
|
|
310
|
-
]
|
|
311
|
-
},
|
|
312
296
|
{ "name": "icon-size", "values": [] },
|
|
313
297
|
{ "name": "no-gap", "values": [] },
|
|
314
298
|
{ "name": "no-padding", "values": [] }
|
|
@@ -1287,7 +1271,7 @@
|
|
|
1287
1271
|
},
|
|
1288
1272
|
{
|
|
1289
1273
|
"name": "zn-file",
|
|
1290
|
-
"description": "File controls allow selecting an arbitrary number of files for uploading.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-error** - Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `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. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the button or droparea.\n- **blur()** - Removes focus from the button or droparea.\n\n### **Slots:**\n - **label** - The file control's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.\n- **
|
|
1274
|
+
"description": "File controls allow selecting an arbitrary number of files for uploading.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-clear** - Emitted when the user confirms clearing the selected file or `src`.\n- **zn-error** - Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `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. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the button or droparea.\n- **blur()** - Removes focus from the button or droparea.\n\n### **Slots:**\n - **label** - The file control's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.\n- **trigger** - Optional content to be used as trigger instead of the default content. Opening the file dialog on click and as well as drag and drop will work for this content. Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*, *hide-value*. Also if using the disabled attribute, the disabled styling will not be applied and must be taken care of yourself.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-wrapper** - The wrapper around the button and text value.\n- **button** - The zn-button acting as a file input.\n- **button__base** - The zn-button's exported `base` part.\n- **value** - The chosen files or placeholder text for the file input.\n- **droparea** - The element wrapping the drop zone.\n- **droparea-background** - The background of the drop zone.\n- **upload** - The upload button shown in the droparea when no file is selected.\n- **preview** - The image preview rendered in the droparea for previewable files.\n- **filename** - The filename label rendered in the droparea for non-previewable files.\n- **clear** - The clear button rendered in the droparea when a file is present.\n- **clear-confirm** - The confirmation dialog shown before clearing the file.\n- **link** - The current link anchor rendered when `show-link` is enabled.\n- **trigger** - The container that wraps the trigger.",
|
|
1291
1275
|
"attributes": [
|
|
1292
1276
|
{
|
|
1293
1277
|
"name": "files",
|
|
@@ -1372,6 +1356,21 @@
|
|
|
1372
1356
|
"name": "hide-value",
|
|
1373
1357
|
"description": "Suppress the value from being displayed in the file control",
|
|
1374
1358
|
"values": []
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "src",
|
|
1362
|
+
"description": "URL of an already-uploaded file (e.g., from a CDN) to display as the current value\nwhen no file has been selected locally. If the URL points to an image, it is rendered\nas a preview inside the droparea. Otherwise the URL is shown as a filename.",
|
|
1363
|
+
"values": []
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"name": "trigger-submit",
|
|
1367
|
+
"description": "When enabled, automatically submit the surrounding form whenever the value changes\n(file selected, dropped, or cleared). Useful for forms that only contain this control\nand a CSRF token.",
|
|
1368
|
+
"values": []
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "show-link",
|
|
1372
|
+
"description": "When enabled, render the current link (`previewSrc`) as a clickable URL below the control.\nUseful for showing the existing CDN link alongside the preview.",
|
|
1373
|
+
"values": []
|
|
1375
1374
|
}
|
|
1376
1375
|
],
|
|
1377
1376
|
"references": [
|
|
@@ -1439,7 +1438,6 @@
|
|
|
1439
1438
|
{ "name": "transparent", "values": [] },
|
|
1440
1439
|
{ "name": "caption", "values": [] },
|
|
1441
1440
|
{ "name": "icon", "values": [] },
|
|
1442
|
-
{ "name": "description", "values": [] },
|
|
1443
1441
|
{ "name": "navigation", "values": [{ "name": "array" }] },
|
|
1444
1442
|
{ "name": "full-width", "values": [] },
|
|
1445
1443
|
{ "name": "previous-path", "values": [] },
|
|
@@ -2041,9 +2039,8 @@
|
|
|
2041
2039
|
{ "name": "basis-px", "values": [] },
|
|
2042
2040
|
{ "name": "caption", "values": [] },
|
|
2043
2041
|
{ "name": "icon", "values": [] },
|
|
2044
|
-
{ "name": "description", "values": [] },
|
|
2045
2042
|
{ "name": "tabbed", "values": [] },
|
|
2046
|
-
{ "name": "header-
|
|
2043
|
+
{ "name": "header-borderless", "values": [] },
|
|
2047
2044
|
{ "name": "cosmic", "values": [] },
|
|
2048
2045
|
{ "name": "flush", "values": [] },
|
|
2049
2046
|
{ "name": "flush-x", "values": [] },
|
|
@@ -2356,9 +2353,8 @@
|
|
|
2356
2353
|
{ "name": "basis-px", "values": [] },
|
|
2357
2354
|
{ "name": "caption", "values": [] },
|
|
2358
2355
|
{ "name": "icon", "values": [] },
|
|
2359
|
-
{ "name": "description", "values": [] },
|
|
2360
2356
|
{ "name": "tabbed", "values": [] },
|
|
2361
|
-
{ "name": "header-
|
|
2357
|
+
{ "name": "header-borderless", "values": [] },
|
|
2362
2358
|
{ "name": "cosmic", "values": [] },
|
|
2363
2359
|
{ "name": "flush", "values": [] },
|
|
2364
2360
|
{ "name": "flush-x", "values": [] },
|
|
@@ -3341,18 +3337,6 @@
|
|
|
3341
3337
|
}
|
|
3342
3338
|
]
|
|
3343
3339
|
},
|
|
3344
|
-
{
|
|
3345
|
-
"name": "zn-tab",
|
|
3346
|
-
"description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
|
|
3347
|
-
"attributes": [
|
|
3348
|
-
{ "name": "caption", "values": [] },
|
|
3349
|
-
{ "name": "priority", "values": [] },
|
|
3350
|
-
{ "name": "uri", "values": [] }
|
|
3351
|
-
],
|
|
3352
|
-
"references": [
|
|
3353
|
-
{ "name": "Documentation", "url": "https://zinc.style/components/tab" }
|
|
3354
|
-
]
|
|
3355
|
-
},
|
|
3356
3340
|
{
|
|
3357
3341
|
"name": "zn-table",
|
|
3358
3342
|
"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.",
|
|
@@ -3401,6 +3385,23 @@
|
|
|
3401
3385
|
{ "name": "Documentation", "url": "https://zinc.style/components/tabs" }
|
|
3402
3386
|
]
|
|
3403
3387
|
},
|
|
3388
|
+
{
|
|
3389
|
+
"name": "zn-tab",
|
|
3390
|
+
"description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
|
|
3391
|
+
"attributes": [
|
|
3392
|
+
{ "name": "caption", "values": [] },
|
|
3393
|
+
{ "name": "priority", "values": [] },
|
|
3394
|
+
{ "name": "uri", "values": [] },
|
|
3395
|
+
{
|
|
3396
|
+
"name": "selected",
|
|
3397
|
+
"description": "When present, zn-page opens this tab on load instead of the first tab.",
|
|
3398
|
+
"values": []
|
|
3399
|
+
}
|
|
3400
|
+
],
|
|
3401
|
+
"references": [
|
|
3402
|
+
{ "name": "Documentation", "url": "https://zinc.style/components/tab" }
|
|
3403
|
+
]
|
|
3404
|
+
},
|
|
3404
3405
|
{
|
|
3405
3406
|
"name": "zn-textarea",
|
|
3406
3407
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control 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 - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\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. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textareas label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
|
|
@@ -3696,9 +3697,8 @@
|
|
|
3696
3697
|
{ "name": "basis-px", "values": [] },
|
|
3697
3698
|
{ "name": "caption", "values": [] },
|
|
3698
3699
|
{ "name": "icon", "values": [] },
|
|
3699
|
-
{ "name": "description", "values": [] },
|
|
3700
3700
|
{ "name": "tabbed", "values": [] },
|
|
3701
|
-
{ "name": "header-
|
|
3701
|
+
{ "name": "header-borderless", "values": [] },
|
|
3702
3702
|
{ "name": "cosmic", "values": [] },
|
|
3703
3703
|
{ "name": "flush", "values": [] },
|
|
3704
3704
|
{ "name": "flush-x", "values": [] },
|
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.117",
|
|
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.",
|
|
@@ -70,28 +92,6 @@
|
|
|
70
92
|
]
|
|
71
93
|
}
|
|
72
94
|
},
|
|
73
|
-
{
|
|
74
|
-
"name": "zn-action-bar",
|
|
75
|
-
"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.",
|
|
76
|
-
"doc-url": "",
|
|
77
|
-
"attributes": [],
|
|
78
|
-
"slots": [
|
|
79
|
-
{ "name": "", "description": "The default slot." },
|
|
80
|
-
{ "name": "example", "description": "An example slot." }
|
|
81
|
-
],
|
|
82
|
-
"events": [
|
|
83
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
84
|
-
],
|
|
85
|
-
"js": {
|
|
86
|
-
"properties": [],
|
|
87
|
-
"events": [
|
|
88
|
-
{
|
|
89
|
-
"name": "zn-event-name",
|
|
90
|
-
"description": "Emitted as an example."
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
95
|
{
|
|
96
96
|
"name": "zn-animated-button",
|
|
97
97
|
"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",
|
|
@@ -283,17 +283,11 @@
|
|
|
283
283
|
{
|
|
284
284
|
"name": "color",
|
|
285
285
|
"value": {
|
|
286
|
-
"type": "'default' | 'secondary' | 'error' | 'info' | 'success' | 'warning' |\n 'transparent' | 'star'",
|
|
286
|
+
"type": "'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' |\n 'transparent' | 'star' | (string & Record<never, never>)",
|
|
287
287
|
"default": "'default'"
|
|
288
288
|
}
|
|
289
289
|
},
|
|
290
|
-
{
|
|
291
|
-
"name": "size",
|
|
292
|
-
"value": {
|
|
293
|
-
"type": "'content' | 'x-small' | 'small' | 'medium' | 'large'",
|
|
294
|
-
"default": "'medium'"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
290
|
+
{ "name": "hover-color", "value": { "type": "string" } },
|
|
297
291
|
{
|
|
298
292
|
"name": "text",
|
|
299
293
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -314,6 +308,10 @@
|
|
|
314
308
|
"name": "square",
|
|
315
309
|
"value": { "type": "boolean", "default": "false" }
|
|
316
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"name": "icon-button",
|
|
313
|
+
"value": { "type": "boolean", "default": "false" }
|
|
314
|
+
},
|
|
317
315
|
{
|
|
318
316
|
"name": "panel-bg",
|
|
319
317
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -440,17 +438,15 @@
|
|
|
440
438
|
{ "name": "countdownContainer", "type": "HTMLElement[]" },
|
|
441
439
|
{
|
|
442
440
|
"name": "color",
|
|
443
|
-
"type": "'default' | 'secondary' | 'error' | 'info' | 'success' | 'warning' |\n 'transparent' | 'star'"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"name": "size",
|
|
447
|
-
"type": "'content' | 'x-small' | 'small' | 'medium' | 'large'"
|
|
441
|
+
"type": "'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' |\n 'transparent' | 'star' | (string & Record<never, never>)"
|
|
448
442
|
},
|
|
443
|
+
{ "name": "hoverColor", "type": "string" },
|
|
449
444
|
{ "name": "text", "type": "boolean" },
|
|
450
445
|
{ "name": "outline", "type": "boolean" },
|
|
451
446
|
{ "name": "disabled", "type": "boolean" },
|
|
452
447
|
{ "name": "grow", "type": "boolean" },
|
|
453
448
|
{ "name": "square", "type": "boolean" },
|
|
449
|
+
{ "name": "iconButton", "type": "boolean" },
|
|
454
450
|
{ "name": "panelBackground", "type": "boolean" },
|
|
455
451
|
{ "name": "dropdownCloser", "type": "boolean" },
|
|
456
452
|
{ "name": "notification", "type": "number" },
|
|
@@ -575,13 +571,6 @@
|
|
|
575
571
|
"name": "max-level",
|
|
576
572
|
"value": { "type": "number", "default": "2" }
|
|
577
573
|
},
|
|
578
|
-
{
|
|
579
|
-
"name": "size",
|
|
580
|
-
"value": {
|
|
581
|
-
"type": "'content' | 'x-small' | 'small' | 'medium' | 'large'",
|
|
582
|
-
"default": "'medium'"
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
574
|
{
|
|
586
575
|
"name": "icon-size",
|
|
587
576
|
"value": { "type": "number", "default": "24" }
|
|
@@ -597,10 +586,6 @@
|
|
|
597
586
|
{ "name": "containerWidth", "type": "number" },
|
|
598
587
|
{ "name": "limit", "type": "number" },
|
|
599
588
|
{ "name": "maxLevel", "type": "number" },
|
|
600
|
-
{
|
|
601
|
-
"name": "size",
|
|
602
|
-
"type": "'content' | 'x-small' | 'small' | 'medium' | 'large'"
|
|
603
|
-
},
|
|
604
589
|
{ "name": "iconSize", "type": "number" },
|
|
605
590
|
{ "name": "noGap", "type": "boolean" },
|
|
606
591
|
{ "name": "noPadding", "type": "boolean" }
|
|
@@ -2942,7 +2927,7 @@
|
|
|
2942
2927
|
},
|
|
2943
2928
|
{
|
|
2944
2929
|
"name": "zn-file",
|
|
2945
|
-
"description": "File controls allow selecting an arbitrary number of files for uploading.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-error** - Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `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. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the button or droparea.\n- **blur()** - Removes focus from the button or droparea.\n\n### **Slots:**\n - **label** - The file control's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.\n- **
|
|
2930
|
+
"description": "File controls allow selecting an arbitrary number of files for uploading.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-clear** - Emitted when the user confirms clearing the selected file or `src`.\n- **zn-error** - Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `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. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the button or droparea.\n- **blur()** - Removes focus from the button or droparea.\n\n### **Slots:**\n - **label** - The file control's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.\n- **trigger** - Optional content to be used as trigger instead of the default content. Opening the file dialog on click and as well as drag and drop will work for this content. Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*, *hide-value*. Also if using the disabled attribute, the disabled styling will not be applied and must be taken care of yourself.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-wrapper** - The wrapper around the button and text value.\n- **button** - The zn-button acting as a file input.\n- **button__base** - The zn-button's exported `base` part.\n- **value** - The chosen files or placeholder text for the file input.\n- **droparea** - The element wrapping the drop zone.\n- **droparea-background** - The background of the drop zone.\n- **upload** - The upload button shown in the droparea when no file is selected.\n- **preview** - The image preview rendered in the droparea for previewable files.\n- **filename** - The filename label rendered in the droparea for non-previewable files.\n- **clear** - The clear button rendered in the droparea when a file is present.\n- **clear-confirm** - The confirmation dialog shown before clearing the file.\n- **link** - The current link anchor rendered when `show-link` is enabled.\n- **trigger** - The container that wraps the trigger.",
|
|
2946
2931
|
"doc-url": "",
|
|
2947
2932
|
"attributes": [
|
|
2948
2933
|
{
|
|
@@ -3027,6 +3012,21 @@
|
|
|
3027
3012
|
"name": "hide-value",
|
|
3028
3013
|
"description": "Suppress the value from being displayed in the file control",
|
|
3029
3014
|
"value": { "type": "boolean", "default": "false" }
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "src",
|
|
3018
|
+
"description": "URL of an already-uploaded file (e.g., from a CDN) to display as the current value\nwhen no file has been selected locally. If the URL points to an image, it is rendered\nas a preview inside the droparea. Otherwise the URL is shown as a filename.",
|
|
3019
|
+
"value": { "type": "string", "default": "''" }
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"name": "trigger-submit",
|
|
3023
|
+
"description": "When enabled, automatically submit the surrounding form whenever the value changes\n(file selected, dropped, or cleared). Useful for forms that only contain this control\nand a CSRF token.",
|
|
3024
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "show-link",
|
|
3028
|
+
"description": "When enabled, render the current link (`previewSrc`) as a clickable URL below the control.\nUseful for showing the existing CDN link alongside the preview.",
|
|
3029
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3030
3030
|
}
|
|
3031
3031
|
],
|
|
3032
3032
|
"slots": [
|
|
@@ -3038,10 +3038,6 @@
|
|
|
3038
3038
|
"name": "help-text",
|
|
3039
3039
|
"description": "Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute."
|
|
3040
3040
|
},
|
|
3041
|
-
{
|
|
3042
|
-
"name": "droparea-icon",
|
|
3043
|
-
"description": "Optional droparea icon to use instead of the default. Works best with `<zn-icon>`."
|
|
3044
|
-
},
|
|
3045
3041
|
{
|
|
3046
3042
|
"name": "trigger",
|
|
3047
3043
|
"description": "Optional content to be used as trigger instead of the default content. Opening the file dialog on click and as well as drag and drop will work for this content. Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*, *hide-value*. Also if using the disabled attribute, the disabled styling will not be applied and must be taken care of yourself."
|
|
@@ -3056,6 +3052,10 @@
|
|
|
3056
3052
|
"name": "zn-change",
|
|
3057
3053
|
"description": "Emitted when an alteration to the control's value is committed by the user."
|
|
3058
3054
|
},
|
|
3055
|
+
{
|
|
3056
|
+
"name": "zn-clear",
|
|
3057
|
+
"description": "Emitted when the user confirms clearing the selected file or `src`."
|
|
3058
|
+
},
|
|
3059
3059
|
{
|
|
3060
3060
|
"name": "zn-error",
|
|
3061
3061
|
"description": "Emitted when multiple files are selected via drag and drop, without the `multiple` property being set."
|
|
@@ -3076,6 +3076,10 @@
|
|
|
3076
3076
|
{ "name": "dropareaWrapper", "type": "HTMLDivElement" },
|
|
3077
3077
|
{ "name": "dropareaIcon", "type": "HTMLSpanElement" },
|
|
3078
3078
|
{ "name": "inputChosen", "type": "HTMLSpanElement" },
|
|
3079
|
+
{
|
|
3080
|
+
"name": "clearConfirmDialog",
|
|
3081
|
+
"type": "HTMLElement & { show: () => void; hide: () => void }"
|
|
3082
|
+
},
|
|
3079
3083
|
{
|
|
3080
3084
|
"name": "files",
|
|
3081
3085
|
"description": "The selected files as a FileList object containing a list of File objects.\nThe FileList behaves like an array, so you can get the number of selected files\nvia its length property.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)"
|
|
@@ -3159,6 +3163,21 @@
|
|
|
3159
3163
|
"description": "Suppress the value from being displayed in the file control",
|
|
3160
3164
|
"type": "boolean"
|
|
3161
3165
|
},
|
|
3166
|
+
{
|
|
3167
|
+
"name": "src",
|
|
3168
|
+
"description": "URL of an already-uploaded file (e.g., from a CDN) to display as the current value\nwhen no file has been selected locally. If the URL points to an image, it is rendered\nas a preview inside the droparea. Otherwise the URL is shown as a filename.",
|
|
3169
|
+
"type": "string"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "triggerSubmit",
|
|
3173
|
+
"description": "When enabled, automatically submit the surrounding form whenever the value changes\n(file selected, dropped, or cleared). Useful for forms that only contain this control\nand a CSRF token.",
|
|
3174
|
+
"type": "boolean"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"name": "showLink",
|
|
3178
|
+
"description": "When enabled, render the current link (`previewSrc`) as a clickable URL below the control.\nUseful for showing the existing CDN link alongside the preview.",
|
|
3179
|
+
"type": "boolean"
|
|
3180
|
+
},
|
|
3162
3181
|
{
|
|
3163
3182
|
"name": "validity",
|
|
3164
3183
|
"description": "Gets the validity state object"
|
|
@@ -3166,6 +3185,11 @@
|
|
|
3166
3185
|
{
|
|
3167
3186
|
"name": "validationMessage",
|
|
3168
3187
|
"description": "Gets the validation message"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"name": "previewSrc",
|
|
3191
|
+
"description": "Returns the URL currently shown in the droparea — the locally-selected file's object URL\nif a file is selected, otherwise the externally supplied `src`. Useful for getting the\ncurrent CDN link to submit alongside form data.",
|
|
3192
|
+
"type": "string"
|
|
3169
3193
|
}
|
|
3170
3194
|
],
|
|
3171
3195
|
"events": [
|
|
@@ -3177,6 +3201,10 @@
|
|
|
3177
3201
|
"name": "zn-change",
|
|
3178
3202
|
"description": "Emitted when an alteration to the control's value is committed by the user."
|
|
3179
3203
|
},
|
|
3204
|
+
{
|
|
3205
|
+
"name": "zn-clear",
|
|
3206
|
+
"description": "Emitted when the user confirms clearing the selected file or `src`."
|
|
3207
|
+
},
|
|
3180
3208
|
{
|
|
3181
3209
|
"name": "zn-error",
|
|
3182
3210
|
"description": "Emitted when multiple files are selected via drag and drop, without the `multiple` property being set."
|
|
@@ -3317,7 +3345,6 @@
|
|
|
3317
3345
|
},
|
|
3318
3346
|
{ "name": "caption", "value": { "type": "string" } },
|
|
3319
3347
|
{ "name": "icon", "value": { "type": "string" } },
|
|
3320
|
-
{ "name": "description", "value": { "type": "string" } },
|
|
3321
3348
|
{
|
|
3322
3349
|
"name": "navigation",
|
|
3323
3350
|
"value": { "type": "array", "default": "[]" }
|
|
@@ -3345,7 +3372,6 @@
|
|
|
3345
3372
|
{ "name": "transparent", "type": "boolean" },
|
|
3346
3373
|
{ "name": "caption", "type": "string" },
|
|
3347
3374
|
{ "name": "icon", "type": "string" },
|
|
3348
|
-
{ "name": "description", "type": "string" },
|
|
3349
3375
|
{ "name": "navigation", "type": "array" },
|
|
3350
3376
|
{ "name": "fullWidth", "type": "boolean" },
|
|
3351
3377
|
{ "name": "previousPath", "type": "string" },
|
|
@@ -4603,9 +4629,8 @@
|
|
|
4603
4629
|
{ "name": "basis-px", "value": { "type": "number" } },
|
|
4604
4630
|
{ "name": "caption", "value": { "type": "string" } },
|
|
4605
4631
|
{ "name": "icon", "value": { "type": "string" } },
|
|
4606
|
-
{ "name": "description", "value": { "type": "string" } },
|
|
4607
4632
|
{ "name": "tabbed", "value": { "type": "boolean" } },
|
|
4608
|
-
{ "name": "header-
|
|
4633
|
+
{ "name": "header-borderless", "value": { "type": "boolean" } },
|
|
4609
4634
|
{ "name": "cosmic", "value": { "type": "boolean" } },
|
|
4610
4635
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
4611
4636
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
@@ -4722,9 +4747,8 @@
|
|
|
4722
4747
|
{ "name": "basis", "type": "number" },
|
|
4723
4748
|
{ "name": "caption", "type": "string" },
|
|
4724
4749
|
{ "name": "icon", "type": "string" },
|
|
4725
|
-
{ "name": "description", "type": "string" },
|
|
4726
4750
|
{ "name": "tabbed", "type": "boolean" },
|
|
4727
|
-
{ "name": "
|
|
4751
|
+
{ "name": "headerBorderless", "type": "boolean" },
|
|
4728
4752
|
{ "name": "cosmic", "type": "boolean" },
|
|
4729
4753
|
{ "name": "flush", "type": "boolean" },
|
|
4730
4754
|
{ "name": "flushX", "type": "boolean" },
|
|
@@ -5481,9 +5505,8 @@
|
|
|
5481
5505
|
{ "name": "basis-px", "value": { "type": "number" } },
|
|
5482
5506
|
{ "name": "caption", "value": { "type": "string" } },
|
|
5483
5507
|
{ "name": "icon", "value": { "type": "string" } },
|
|
5484
|
-
{ "name": "description", "value": { "type": "string" } },
|
|
5485
5508
|
{ "name": "tabbed", "value": { "type": "boolean" } },
|
|
5486
|
-
{ "name": "header-
|
|
5509
|
+
{ "name": "header-borderless", "value": { "type": "boolean" } },
|
|
5487
5510
|
{ "name": "cosmic", "value": { "type": "boolean" } },
|
|
5488
5511
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
5489
5512
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
@@ -5509,9 +5532,8 @@
|
|
|
5509
5532
|
{ "name": "basis", "type": "number" },
|
|
5510
5533
|
{ "name": "caption", "type": "string" },
|
|
5511
5534
|
{ "name": "icon", "type": "string" },
|
|
5512
|
-
{ "name": "description", "type": "string" },
|
|
5513
5535
|
{ "name": "tabbed", "type": "boolean" },
|
|
5514
|
-
{ "name": "
|
|
5536
|
+
{ "name": "headerBorderless", "type": "boolean" },
|
|
5515
5537
|
{ "name": "cosmic", "type": "boolean" },
|
|
5516
5538
|
{ "name": "flush", "type": "boolean" },
|
|
5517
5539
|
{ "name": "flushX", "type": "boolean" },
|
|
@@ -7800,26 +7822,6 @@
|
|
|
7800
7822
|
"events": []
|
|
7801
7823
|
}
|
|
7802
7824
|
},
|
|
7803
|
-
{
|
|
7804
|
-
"name": "zn-tab",
|
|
7805
|
-
"description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
|
|
7806
|
-
"doc-url": "",
|
|
7807
|
-
"attributes": [
|
|
7808
|
-
{ "name": "caption", "value": { "type": "string" } },
|
|
7809
|
-
{ "name": "priority", "value": { "type": "number" } },
|
|
7810
|
-
{ "name": "uri", "value": { "type": "string" } }
|
|
7811
|
-
],
|
|
7812
|
-
"slots": [{ "name": "", "description": "The tab panel content." }],
|
|
7813
|
-
"events": [],
|
|
7814
|
-
"js": {
|
|
7815
|
-
"properties": [
|
|
7816
|
-
{ "name": "caption", "type": "string" },
|
|
7817
|
-
{ "name": "priority", "type": "number" },
|
|
7818
|
-
{ "name": "uri", "type": "string" }
|
|
7819
|
-
],
|
|
7820
|
-
"events": []
|
|
7821
|
-
}
|
|
7822
|
-
},
|
|
7823
7825
|
{
|
|
7824
7826
|
"name": "zn-table",
|
|
7825
7827
|
"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.",
|
|
@@ -7975,6 +7977,36 @@
|
|
|
7975
7977
|
]
|
|
7976
7978
|
}
|
|
7977
7979
|
},
|
|
7980
|
+
{
|
|
7981
|
+
"name": "zn-tab",
|
|
7982
|
+
"description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
|
|
7983
|
+
"doc-url": "",
|
|
7984
|
+
"attributes": [
|
|
7985
|
+
{ "name": "caption", "value": { "type": "string" } },
|
|
7986
|
+
{ "name": "priority", "value": { "type": "number" } },
|
|
7987
|
+
{ "name": "uri", "value": { "type": "string" } },
|
|
7988
|
+
{
|
|
7989
|
+
"name": "selected",
|
|
7990
|
+
"description": "When present, zn-page opens this tab on load instead of the first tab.",
|
|
7991
|
+
"value": { "type": "boolean", "default": "false" }
|
|
7992
|
+
}
|
|
7993
|
+
],
|
|
7994
|
+
"slots": [{ "name": "", "description": "The tab panel content." }],
|
|
7995
|
+
"events": [],
|
|
7996
|
+
"js": {
|
|
7997
|
+
"properties": [
|
|
7998
|
+
{ "name": "caption", "type": "string" },
|
|
7999
|
+
{ "name": "priority", "type": "number" },
|
|
8000
|
+
{ "name": "uri", "type": "string" },
|
|
8001
|
+
{
|
|
8002
|
+
"name": "selected",
|
|
8003
|
+
"description": "When present, zn-page opens this tab on load instead of the first tab.",
|
|
8004
|
+
"type": "boolean"
|
|
8005
|
+
}
|
|
8006
|
+
],
|
|
8007
|
+
"events": []
|
|
8008
|
+
}
|
|
8009
|
+
},
|
|
7978
8010
|
{
|
|
7979
8011
|
"name": "zn-textarea",
|
|
7980
8012
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control 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 - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\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. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textareas label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
|
|
@@ -8641,9 +8673,8 @@
|
|
|
8641
8673
|
{ "name": "basis-px", "value": { "type": "number" } },
|
|
8642
8674
|
{ "name": "caption", "value": { "type": "string" } },
|
|
8643
8675
|
{ "name": "icon", "value": { "type": "string" } },
|
|
8644
|
-
{ "name": "description", "value": { "type": "string" } },
|
|
8645
8676
|
{ "name": "tabbed", "value": { "type": "boolean" } },
|
|
8646
|
-
{ "name": "header-
|
|
8677
|
+
{ "name": "header-borderless", "value": { "type": "boolean" } },
|
|
8647
8678
|
{ "name": "cosmic", "value": { "type": "boolean" } },
|
|
8648
8679
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
8649
8680
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
@@ -8687,9 +8718,8 @@
|
|
|
8687
8718
|
{ "name": "basis", "type": "number" },
|
|
8688
8719
|
{ "name": "caption", "type": "string" },
|
|
8689
8720
|
{ "name": "icon", "type": "string" },
|
|
8690
|
-
{ "name": "description", "type": "string" },
|
|
8691
8721
|
{ "name": "tabbed", "type": "boolean" },
|
|
8692
|
-
{ "name": "
|
|
8722
|
+
{ "name": "headerBorderless", "type": "boolean" },
|
|
8693
8723
|
{ "name": "cosmic", "type": "boolean" },
|
|
8694
8724
|
{ "name": "flush", "type": "boolean" },
|
|
8695
8725
|
{ "name": "flushX", "type": "boolean" },
|