@kubex/zinc 1.1.136 → 1.1.138
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 +870 -851
- package/dist/vscode.html-custom-data.json +96 -96
- package/dist/web-types.json +198 -198
- package/dist/zn.d.ts +7 -0
- package/dist/zn.min.js +6 -5
- package/package.json +1 -1
- package/src/components/button-menu/button-menu.scss +10 -0
- package/src/components/chip/chip.scss +1 -1
- package/src/components/page/page.scss +3 -1
- package/src/components/page-builder/modules/page-section-card/page-section-card.scss +16 -3
- package/src/components/page-builder/page-builder.component.ts +27 -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.138",
|
|
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",
|
|
@@ -250,44 +250,6 @@
|
|
|
250
250
|
"events": []
|
|
251
251
|
}
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"name": "zn-bulk-actions",
|
|
255
|
-
"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.",
|
|
256
|
-
"doc-url": "",
|
|
257
|
-
"attributes": [
|
|
258
|
-
{ "name": "name", "value": { "type": "string" } },
|
|
259
|
-
{ "name": "value", "value": { "type": "PropertyKey" } },
|
|
260
|
-
{
|
|
261
|
-
"name": "actions",
|
|
262
|
-
"value": { "type": "BulkActionData", "default": "[]" }
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
"slots": [
|
|
266
|
-
{ "name": "", "description": "The default slot." },
|
|
267
|
-
{ "name": "example", "description": "An example slot." }
|
|
268
|
-
],
|
|
269
|
-
"events": [
|
|
270
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
271
|
-
],
|
|
272
|
-
"js": {
|
|
273
|
-
"properties": [
|
|
274
|
-
{ "name": "container", "type": "HTMLDivElement" },
|
|
275
|
-
{ "name": "addRule", "type": "ZnSelect" },
|
|
276
|
-
{ "name": "input", "type": "HTMLInputElement" },
|
|
277
|
-
{ "name": "name", "type": "string" },
|
|
278
|
-
{ "name": "value", "type": "PropertyKey" },
|
|
279
|
-
{ "name": "actions", "type": "BulkActionData" },
|
|
280
|
-
{ "name": "validationMessage", "type": "string" },
|
|
281
|
-
{ "name": "validity", "type": "ValidityState" }
|
|
282
|
-
],
|
|
283
|
-
"events": [
|
|
284
|
-
{
|
|
285
|
-
"name": "zn-event-name",
|
|
286
|
-
"description": "Emitted as an example."
|
|
287
|
-
}
|
|
288
|
-
]
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
253
|
{
|
|
292
254
|
"name": "zn-background",
|
|
293
255
|
"description": "Composes a colour, decorative image, image strength, optional motion and contrast overlay behind slotted content.\n---\n\n\n### **Slots:**\n - _default_ - Content displayed above the background layers.\n\n### **CSS Properties:**\n - **--zn-background-color** - Fallback colour when the `color` attribute is not set. _(default: undefined)_\n- **--zn-background-image-position** - Position of the background image. Defaults to `center`. _(default: undefined)_\n- **--zn-background-overlay-angle** - Direction of the overlay gradient. Defaults to `110deg`. _(default: undefined)_\n- **--zn-background-floating-icon-color** - Colour of the floating icons. Defaults to `currentColor`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's full-size background canvas.\n- **image** - The decorative background image.\n- **overlay** - The contrast overlay between the image and content.\n- **floating-icons** - The non-interactive layer containing the floating icons.\n- **floating-icon** - Each floating `zn-icon`.\n- **content** - The wrapper around the default slot.",
|
|
@@ -390,6 +352,44 @@
|
|
|
390
352
|
"events": []
|
|
391
353
|
}
|
|
392
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"name": "zn-bulk-actions",
|
|
357
|
+
"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.",
|
|
358
|
+
"doc-url": "",
|
|
359
|
+
"attributes": [
|
|
360
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
361
|
+
{ "name": "value", "value": { "type": "PropertyKey" } },
|
|
362
|
+
{
|
|
363
|
+
"name": "actions",
|
|
364
|
+
"value": { "type": "BulkActionData", "default": "[]" }
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"slots": [
|
|
368
|
+
{ "name": "", "description": "The default slot." },
|
|
369
|
+
{ "name": "example", "description": "An example slot." }
|
|
370
|
+
],
|
|
371
|
+
"events": [
|
|
372
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
373
|
+
],
|
|
374
|
+
"js": {
|
|
375
|
+
"properties": [
|
|
376
|
+
{ "name": "container", "type": "HTMLDivElement" },
|
|
377
|
+
{ "name": "addRule", "type": "ZnSelect" },
|
|
378
|
+
{ "name": "input", "type": "HTMLInputElement" },
|
|
379
|
+
{ "name": "name", "type": "string" },
|
|
380
|
+
{ "name": "value", "type": "PropertyKey" },
|
|
381
|
+
{ "name": "actions", "type": "BulkActionData" },
|
|
382
|
+
{ "name": "validationMessage", "type": "string" },
|
|
383
|
+
{ "name": "validity", "type": "ValidityState" }
|
|
384
|
+
],
|
|
385
|
+
"events": [
|
|
386
|
+
{
|
|
387
|
+
"name": "zn-event-name",
|
|
388
|
+
"description": "Emitted as an example."
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
393
|
{
|
|
394
394
|
"name": "zn-button",
|
|
395
395
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the button loses focus.\n- **zn-focus** - Emitted when the button gains focus.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **cancel** - Slot for custom cancel button/content when autoClick is active.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<zn-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
|
|
@@ -676,6 +676,40 @@
|
|
|
676
676
|
]
|
|
677
677
|
}
|
|
678
678
|
},
|
|
679
|
+
{
|
|
680
|
+
"name": "zn-button-menu",
|
|
681
|
+
"description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
682
|
+
"doc-url": "",
|
|
683
|
+
"attributes": [
|
|
684
|
+
{ "name": "max-width", "value": { "type": "number" } },
|
|
685
|
+
{ "name": "containerWidth", "value": { "type": "number" } },
|
|
686
|
+
{ "name": "limit", "value": { "type": "number", "default": "-1" } },
|
|
687
|
+
{
|
|
688
|
+
"name": "max-level",
|
|
689
|
+
"value": { "type": "number", "default": "2" }
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "icon-size",
|
|
693
|
+
"value": { "type": "number", "default": "20" }
|
|
694
|
+
},
|
|
695
|
+
{ "name": "no-gap", "value": { "type": "boolean" } },
|
|
696
|
+
{ "name": "no-padding", "value": { "type": "boolean" } }
|
|
697
|
+
],
|
|
698
|
+
"slots": [{ "name": "", "description": "The default slot." }],
|
|
699
|
+
"events": [],
|
|
700
|
+
"js": {
|
|
701
|
+
"properties": [
|
|
702
|
+
{ "name": "maxWidth", "type": "number" },
|
|
703
|
+
{ "name": "containerWidth", "type": "number" },
|
|
704
|
+
{ "name": "limit", "type": "number" },
|
|
705
|
+
{ "name": "maxLevel", "type": "number" },
|
|
706
|
+
{ "name": "iconSize", "type": "number" },
|
|
707
|
+
{ "name": "noGap", "type": "boolean" },
|
|
708
|
+
{ "name": "noPadding", "type": "boolean" }
|
|
709
|
+
],
|
|
710
|
+
"events": []
|
|
711
|
+
}
|
|
712
|
+
},
|
|
679
713
|
{
|
|
680
714
|
"name": "zn-button-group",
|
|
681
715
|
"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\n### **CSS Properties:**\n - **--grow** - Use flex-grow to fill available space. _(default: undefined)_\n- **--start** - Justify content at the start of the flex space. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -726,40 +760,6 @@
|
|
|
726
760
|
]
|
|
727
761
|
}
|
|
728
762
|
},
|
|
729
|
-
{
|
|
730
|
-
"name": "zn-button-menu",
|
|
731
|
-
"description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
732
|
-
"doc-url": "",
|
|
733
|
-
"attributes": [
|
|
734
|
-
{ "name": "max-width", "value": { "type": "number" } },
|
|
735
|
-
{ "name": "containerWidth", "value": { "type": "number" } },
|
|
736
|
-
{ "name": "limit", "value": { "type": "number", "default": "-1" } },
|
|
737
|
-
{
|
|
738
|
-
"name": "max-level",
|
|
739
|
-
"value": { "type": "number", "default": "2" }
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "icon-size",
|
|
743
|
-
"value": { "type": "number", "default": "20" }
|
|
744
|
-
},
|
|
745
|
-
{ "name": "no-gap", "value": { "type": "boolean" } },
|
|
746
|
-
{ "name": "no-padding", "value": { "type": "boolean" } }
|
|
747
|
-
],
|
|
748
|
-
"slots": [{ "name": "", "description": "The default slot." }],
|
|
749
|
-
"events": [],
|
|
750
|
-
"js": {
|
|
751
|
-
"properties": [
|
|
752
|
-
{ "name": "maxWidth", "type": "number" },
|
|
753
|
-
{ "name": "containerWidth", "type": "number" },
|
|
754
|
-
{ "name": "limit", "type": "number" },
|
|
755
|
-
{ "name": "maxLevel", "type": "number" },
|
|
756
|
-
{ "name": "iconSize", "type": "number" },
|
|
757
|
-
{ "name": "noGap", "type": "boolean" },
|
|
758
|
-
{ "name": "noPadding", "type": "boolean" }
|
|
759
|
-
],
|
|
760
|
-
"events": []
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
763
|
{
|
|
764
764
|
"name": "zn-channel-tile",
|
|
765
765
|
"description": "A channel/queue slot tile with two faces: an active (occupied) state\nshowing an in-progress item, and an available (empty) state advertising\ncapacity — optionally reserving an incoming item with an auto-accept countdown.\n---\n\n\n### **Events:**\n - **zn-accept** - Emitted when an available tile is accepted (click or auto-accept). Cancelable — call `preventDefault()` to suppress the built-in `accept-uri` fetch.\n- **zn-reject** - Emitted when the reject control is pressed.\n\n### **Slots:**\n - **title** - Replaces the primary line. Falls back to the `title` attribute (or \"Available\" when unset in the available state).\n- **subtitle** - Replaces the secondary line. Falls back to the `subtitle` attribute.\n- **leading** - Replaces the leading icon in the active state.\n- **action** - Action content for the available state (e.g. a form). Falls back to a default accept button.\n- **footer** - Trailing content (e.g. status badges) in the active state.\n\n### **CSS Properties:**\n - **--channel-tile-color** - Resolved accent color (set from the `color` property). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **progress** - The progress indicator (incoming countdown overlay or active progress bar).",
|
|
@@ -3372,109 +3372,6 @@
|
|
|
3372
3372
|
]
|
|
3373
3373
|
}
|
|
3374
3374
|
},
|
|
3375
|
-
{
|
|
3376
|
-
"name": "zn-defined-label",
|
|
3377
|
-
"description": "This component provides a labeled input with support for predefined and custom labels,\nallowing users to select or enter label-value pairs within a dropdown interface.\n---\n\n\n### **CSS Parts:**\n - **input** - The component's main input.\n- **input-value** - The label's value inputs.",
|
|
3378
|
-
"doc-url": "",
|
|
3379
|
-
"attributes": [
|
|
3380
|
-
{
|
|
3381
|
-
"name": "value",
|
|
3382
|
-
"description": "The selected label key. Also acts as the filter while typing.",
|
|
3383
|
-
"value": { "type": "string", "default": "''" }
|
|
3384
|
-
},
|
|
3385
|
-
{
|
|
3386
|
-
"name": "inputValue",
|
|
3387
|
-
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
3388
|
-
"value": { "type": "string", "default": "''" }
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
"name": "input-size",
|
|
3392
|
-
"description": "The size of the main input.",
|
|
3393
|
-
"value": {
|
|
3394
|
-
"type": "'x-small' | 'small' | 'medium' | 'large'",
|
|
3395
|
-
"default": "'medium'"
|
|
3396
|
-
}
|
|
3397
|
-
},
|
|
3398
|
-
{
|
|
3399
|
-
"name": "name",
|
|
3400
|
-
"description": "The name of the control. Used for form submission.",
|
|
3401
|
-
"value": { "type": "string", "default": "'label'" }
|
|
3402
|
-
},
|
|
3403
|
-
{
|
|
3404
|
-
"name": "title",
|
|
3405
|
-
"description": "The title of the main input.",
|
|
3406
|
-
"value": { "type": "string" }
|
|
3407
|
-
},
|
|
3408
|
-
{
|
|
3409
|
-
"name": "disabled",
|
|
3410
|
-
"description": "Disables the control.",
|
|
3411
|
-
"value": { "type": "boolean", "default": "false" }
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
"name": "allow-custom",
|
|
3415
|
-
"description": "Allows labels that aren't in the predefined list.",
|
|
3416
|
-
"value": { "type": "boolean", "default": "false" }
|
|
3417
|
-
},
|
|
3418
|
-
{
|
|
3419
|
-
"name": "predefined-labels",
|
|
3420
|
-
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
3421
|
-
"value": {
|
|
3422
|
-
"type": "(PredefinedLabel | string)[]",
|
|
3423
|
-
"default": "[]"
|
|
3424
|
-
}
|
|
3425
|
-
}
|
|
3426
|
-
],
|
|
3427
|
-
"events": [],
|
|
3428
|
-
"js": {
|
|
3429
|
-
"properties": [
|
|
3430
|
-
{ "name": "input", "type": "ZnInput" },
|
|
3431
|
-
{ "name": "dropdown", "type": "ZnDropdown" },
|
|
3432
|
-
{
|
|
3433
|
-
"name": "value",
|
|
3434
|
-
"description": "The selected label key. Also acts as the filter while typing.",
|
|
3435
|
-
"type": "string"
|
|
3436
|
-
},
|
|
3437
|
-
{
|
|
3438
|
-
"name": "inputValue",
|
|
3439
|
-
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
3440
|
-
"type": "string"
|
|
3441
|
-
},
|
|
3442
|
-
{
|
|
3443
|
-
"name": "inputSize",
|
|
3444
|
-
"description": "The size of the main input.",
|
|
3445
|
-
"type": "'x-small' | 'small' | 'medium' | 'large'"
|
|
3446
|
-
},
|
|
3447
|
-
{
|
|
3448
|
-
"name": "name",
|
|
3449
|
-
"description": "The name of the control. Used for form submission.",
|
|
3450
|
-
"type": "string"
|
|
3451
|
-
},
|
|
3452
|
-
{
|
|
3453
|
-
"name": "title",
|
|
3454
|
-
"description": "The title of the main input.",
|
|
3455
|
-
"type": "string"
|
|
3456
|
-
},
|
|
3457
|
-
{
|
|
3458
|
-
"name": "disabled",
|
|
3459
|
-
"description": "Disables the control.",
|
|
3460
|
-
"type": "boolean"
|
|
3461
|
-
},
|
|
3462
|
-
{
|
|
3463
|
-
"name": "allowCustom",
|
|
3464
|
-
"description": "Allows labels that aren't in the predefined list.",
|
|
3465
|
-
"type": "boolean"
|
|
3466
|
-
},
|
|
3467
|
-
{
|
|
3468
|
-
"name": "predefinedLabels",
|
|
3469
|
-
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
3470
|
-
"type": "(PredefinedLabel | string)[]"
|
|
3471
|
-
},
|
|
3472
|
-
{ "name": "validationMessage" },
|
|
3473
|
-
{ "name": "validity" }
|
|
3474
|
-
],
|
|
3475
|
-
"events": []
|
|
3476
|
-
}
|
|
3477
|
-
},
|
|
3478
3375
|
{
|
|
3479
3376
|
"name": "zn-dialog",
|
|
3480
3377
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the dialog is opens.\n- **zn-close** - Emitted when the dialog is closed.\n- **zn-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The dialog's label. Alternatively you can use the `label` attribute.\n- **header-icon** - Optional icon to add to the left of the dialog's label (title). A color will be applied to the icon depending on the dialog variant.\n- **announcement-intro** - Optional Intro text to display below the icon, when using the variant `announcement`.\n- **header-actions** - Optional actions to add to the header. Works best with `<zn-button>` elements.\n- **footer** - The dialog's footer. This is typically used for buttons representing various options.\n- **footer-text** - Optional text to include below the footer buttons, when using the variant `announcement`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<zn-button>` elements.\n- **title** - The dialog's title.\n- **close-button** - The dialog's close button.\n- **close-button__base** - The close buttons exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
@@ -3616,6 +3513,109 @@
|
|
|
3616
3513
|
]
|
|
3617
3514
|
}
|
|
3618
3515
|
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "zn-defined-label",
|
|
3518
|
+
"description": "This component provides a labeled input with support for predefined and custom labels,\nallowing users to select or enter label-value pairs within a dropdown interface.\n---\n\n\n### **CSS Parts:**\n - **input** - The component's main input.\n- **input-value** - The label's value inputs.",
|
|
3519
|
+
"doc-url": "",
|
|
3520
|
+
"attributes": [
|
|
3521
|
+
{
|
|
3522
|
+
"name": "value",
|
|
3523
|
+
"description": "The selected label key. Also acts as the filter while typing.",
|
|
3524
|
+
"value": { "type": "string", "default": "''" }
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"name": "inputValue",
|
|
3528
|
+
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
3529
|
+
"value": { "type": "string", "default": "''" }
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "input-size",
|
|
3533
|
+
"description": "The size of the main input.",
|
|
3534
|
+
"value": {
|
|
3535
|
+
"type": "'x-small' | 'small' | 'medium' | 'large'",
|
|
3536
|
+
"default": "'medium'"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"name": "name",
|
|
3541
|
+
"description": "The name of the control. Used for form submission.",
|
|
3542
|
+
"value": { "type": "string", "default": "'label'" }
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"name": "title",
|
|
3546
|
+
"description": "The title of the main input.",
|
|
3547
|
+
"value": { "type": "string" }
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"name": "disabled",
|
|
3551
|
+
"description": "Disables the control.",
|
|
3552
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"name": "allow-custom",
|
|
3556
|
+
"description": "Allows labels that aren't in the predefined list.",
|
|
3557
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "predefined-labels",
|
|
3561
|
+
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
3562
|
+
"value": {
|
|
3563
|
+
"type": "(PredefinedLabel | string)[]",
|
|
3564
|
+
"default": "[]"
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
],
|
|
3568
|
+
"events": [],
|
|
3569
|
+
"js": {
|
|
3570
|
+
"properties": [
|
|
3571
|
+
{ "name": "input", "type": "ZnInput" },
|
|
3572
|
+
{ "name": "dropdown", "type": "ZnDropdown" },
|
|
3573
|
+
{
|
|
3574
|
+
"name": "value",
|
|
3575
|
+
"description": "The selected label key. Also acts as the filter while typing.",
|
|
3576
|
+
"type": "string"
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
"name": "inputValue",
|
|
3580
|
+
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
3581
|
+
"type": "string"
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
"name": "inputSize",
|
|
3585
|
+
"description": "The size of the main input.",
|
|
3586
|
+
"type": "'x-small' | 'small' | 'medium' | 'large'"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"name": "name",
|
|
3590
|
+
"description": "The name of the control. Used for form submission.",
|
|
3591
|
+
"type": "string"
|
|
3592
|
+
},
|
|
3593
|
+
{
|
|
3594
|
+
"name": "title",
|
|
3595
|
+
"description": "The title of the main input.",
|
|
3596
|
+
"type": "string"
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"name": "disabled",
|
|
3600
|
+
"description": "Disables the control.",
|
|
3601
|
+
"type": "boolean"
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"name": "allowCustom",
|
|
3605
|
+
"description": "Allows labels that aren't in the predefined list.",
|
|
3606
|
+
"type": "boolean"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "predefinedLabels",
|
|
3610
|
+
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
3611
|
+
"type": "(PredefinedLabel | string)[]"
|
|
3612
|
+
},
|
|
3613
|
+
{ "name": "validationMessage" },
|
|
3614
|
+
{ "name": "validity" }
|
|
3615
|
+
],
|
|
3616
|
+
"events": []
|
|
3617
|
+
}
|
|
3618
|
+
},
|
|
3619
3619
|
{
|
|
3620
3620
|
"name": "zn-dropdown",
|
|
3621
3621
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n - **show()** - Opens the dropdown\n- **hide()** - Closes the dropdown\n- **reposition()** - Instructs the dropdown to reposition itself\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/zn.d.ts
CHANGED
|
@@ -11851,6 +11851,13 @@ declare module "components/page-builder/page-builder.component" {
|
|
|
11851
11851
|
private _onColumnsEntered;
|
|
11852
11852
|
private _removeSection;
|
|
11853
11853
|
private _duplicateSection;
|
|
11854
|
+
/**
|
|
11855
|
+
* Hands focus to a card, moving it off the action button that was just used.
|
|
11856
|
+
* Cards render unkeyed, so focus left behind stays with the original card's
|
|
11857
|
+
* element and keeps its hover actions showing after the pointer leaves.
|
|
11858
|
+
*/
|
|
11859
|
+
private _focusCard;
|
|
11860
|
+
private _blurActiveCard;
|
|
11854
11861
|
/** Moves a section (top-level or slotted) to a top-level position. */
|
|
11855
11862
|
private _moveSection;
|
|
11856
11863
|
/**
|