@kubex/zinc 1.1.134 → 1.1.135

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.
@@ -13,17 +13,6 @@
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
- },
27
16
  {
28
17
  "name": "zn-alert",
29
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.",
@@ -64,6 +53,17 @@
64
53
  }
65
54
  ]
66
55
  },
56
+ {
57
+ "name": "zn-action-bar",
58
+ "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.",
59
+ "attributes": [],
60
+ "references": [
61
+ {
62
+ "name": "Documentation",
63
+ "url": "https://zinc.style/components/action-bar"
64
+ }
65
+ ]
66
+ },
67
67
  {
68
68
  "name": "zn-animated-button",
69
69
  "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",
@@ -1182,7 +1182,12 @@
1182
1182
  { "name": "multiple", "values": [] },
1183
1183
  { "name": "select-first", "values": [] },
1184
1184
  { "name": "distinct", "values": [] },
1185
- { "name": "conditional", "values": [] }
1185
+ { "name": "conditional", "values": [] },
1186
+ {
1187
+ "name": "requires",
1188
+ "description": "Ids or names of controls that must have a value before this one becomes\nusable, comma separated. Forwarded to the underlying select.",
1189
+ "values": []
1190
+ }
1186
1191
  ],
1187
1192
  "references": [
1188
1193
  {
@@ -2098,6 +2103,11 @@
2098
2103
  "values": []
2099
2104
  },
2100
2105
  { "name": "conditional", "values": [] },
2106
+ {
2107
+ "name": "requires",
2108
+ "description": "Ids or names of controls that must have a value before this one becomes\nusable, comma separated.",
2109
+ "values": []
2110
+ },
2101
2111
  { "name": "disabled", "values": [] },
2102
2112
  { "name": "inline", "values": [] },
2103
2113
  { "name": "padded", "values": [] },
@@ -3076,6 +3086,154 @@
3076
3086
  }
3077
3087
  ]
3078
3088
  },
3089
+ {
3090
+ "name": "zn-preview-frame",
3091
+ "description": "Embeds a live preview iframe and drives the hp-preview postMessage\nprotocol: answers the frame's ready handshake with a config payload fetched\nfrom data-uri, auto-saves watched forms on change, refreshes the preview\nafter each save (its own, or a shell-driven save of a `refresh-on` form),\naccepts a theme payload via setTheme() that is retained and replayed\nafter every ready handshake, and grows the frame to a content height the\nembed reports so the panel scrolls an overflowing page.\n---\n\n\n### **Events:**\n - **zn-error** - Emitted when the preview reports a render error or a save fails.\n\n### **Methods:**\n - **refresh()** - Re-fetches the payload and pushes a fresh config to the preview.\n- **setTheme(theme: _Record<string, unknown>_)** - Pushes a theme payload into the preview. The payload is retained and\nre-posted after every ready handshake, so a frame reload doesn't drop an\nin-progress theme.\n\n### **CSS Properties:**\n - **--zn-preview-frame-dot-spacing** - Spacing of the backdrop dot grid (`backdrop=\"dots\"`). Defaults to 20px. _(default: undefined)_\n- **--zn-preview-frame-dot-opacity** - Opacity of the backdrop dots (`backdrop=\"dots\"`). Defaults to 0.08. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **stage** - The device-width wrapper around the iframe.\n- **iframe** - The preview iframe.\n- **error** - The error overlay.",
3092
+ "attributes": [
3093
+ {
3094
+ "name": "src",
3095
+ "description": "URL of the preview shell page (tokened embed URL).",
3096
+ "values": []
3097
+ },
3098
+ {
3099
+ "name": "frame-origin",
3100
+ "description": "Expected origin of the iframe; all postMessage traffic is checked against it.",
3101
+ "values": []
3102
+ },
3103
+ {
3104
+ "name": "data-uri",
3105
+ "description": "Endpoint returning the hp-preview:config payload JSON. The console proxy rewrites this attribute to an app-prefixed path for proper fetch resolution.",
3106
+ "values": []
3107
+ },
3108
+ {
3109
+ "name": "watch",
3110
+ "description": "Selector (resolved against the component's root node) for the forms to watch.\nDefaults to only forms explicitly opted in via a `data-auto-save` attribute —\nunmarked forms keep normal submit behavior and are never intercepted,\nauto-saved, or used to trigger a preview refresh. Override to widen the scope.",
3111
+ "values": []
3112
+ },
3113
+ {
3114
+ "name": "refresh-on",
3115
+ "description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nMatched by delegation on the shell's bubbled `complete` event rather than\nby attaching to the forms themselves, so a save anywhere on the page\nrefreshes the preview — including forms in a different DOM root, e.g. a\npage-level form saved while the preview sits inside a tab panel's shadow\nroot (a page's Template select lives on one tab, its preview on another).\nSet empty to disable.",
3116
+ "values": []
3117
+ },
3118
+ {
3119
+ "name": "debounce",
3120
+ "description": "Debounce in ms between a form change and its auto-save.",
3121
+ "values": []
3122
+ },
3123
+ {
3124
+ "name": "zoom",
3125
+ "description": "Zooms the previewed page out (0–1]. The frame always fills the panel;\nzoom shrinks the content browser-style, so 0.4 shows the page at 40%\nsize with correspondingly more of it visible. 1 = natural size.\nIgnored when `fill` is set.",
3126
+ "values": []
3127
+ },
3128
+ {
3129
+ "name": "min-height",
3130
+ "description": "The visible height (in CSS pixels) of the preview panel. Fixed rather\nthan measured, because a measured height would feed back into the\nscaled iframe's layout box and grow unbounded. With `fill` set, this\nbecomes a `min-height` floor instead of the height.",
3131
+ "values": []
3132
+ },
3133
+ {
3134
+ "name": "fill",
3135
+ "description": "Fills the panel's own column height instead of using a fixed\n`min-height` pixel height — for hosts (like zn-theme-editor) whose\nlayout already stretches the column to match a taller sibling.\n`zoom` is ignored when set: its oversize maths depends on a known\npixel height, which `fill` deliberately doesn't have.",
3136
+ "values": []
3137
+ },
3138
+ {
3139
+ "name": "device",
3140
+ "description": "Constrains and centres the preview to a device width: `desktop` (100%),\n`tablet` (768px) or `mobile` (390px). The iframe element itself is\nnarrowed, so the embedded page's own media queries fire.",
3141
+ "values": [{ "name": "PreviewFrameDevice" }]
3142
+ },
3143
+ {
3144
+ "name": "backdrop",
3145
+ "description": "Backdrop behind the stage: `dots` (default) is the canvas dot grid; `panel` is a plain `rgb(var(--zn-panel))` fill.",
3146
+ "values": [{ "name": "dots" }, { "name": "panel" }]
3147
+ },
3148
+ {
3149
+ "name": "interactive",
3150
+ "description": "Lets pointer input through to the embedded page. The preview is inert by\ndefault: clicks never reach the frame, so the previewed page can't be\nnavigated or submitted from inside the preview. Cross-origin content can't\nbe reached from here to cancel its own handlers, so this blocks pointer\ninput entirely — hover goes with it. Scrolling doesn't: an overflowing\npage is scrolled by the panel rather than by the frame (see _contentHeight).\n\nSet, the frame becomes a real viewport instead: it stays the panel's own\nheight and the embed scrolls itself, so there is one scrollbar rather than\na panel scrolling an oversized frame, and the embed's viewport-relative\nlayout (`100vh`, `position: fixed`, sticky headers) sizes to what's on\nscreen. _contentHeight is ignored while this is set.",
3151
+ "values": []
3152
+ }
3153
+ ],
3154
+ "references": [
3155
+ {
3156
+ "name": "Documentation",
3157
+ "url": "https://zinc.style/components/preview-frame"
3158
+ }
3159
+ ]
3160
+ },
3161
+ {
3162
+ "name": "zn-priority-list",
3163
+ "description": "A reorderable list where each item receives a numerical priority based on its position. Supports drag-and-drop\nand keyboard reordering. Priority values are submitted as form data via hidden inputs.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the order of items changes.\n- **zn-reorder** - Emitted when items are reordered. Call `getPriorityMap()` on the component to get the updated `{ key: string, priority: number }[]` array.\n\n### **Methods:**\n - **getPriorityMap(): _PriorityItem[]_** - Returns the priority map: an array of { key, priority } objects.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where list items are placed. Each slotted element must have a `value` attribute that uniquely identifies the item. The component automatically assigns slot names to project each item into the correct position. The item's position in the list determines its priority (top = `priority-start`, incrementing).\n- **label** - The component's label. Required for proper accessibility. Alternatively, use the `label` attribute.\n- **label-tooltip** - Used to add text displayed in a tooltip next to the label.\n- **help-text** - Text that describes how to use the component. Alternatively, use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-priority-list-item-gap** - The gap between list items. Defaults to `var(--zn-spacing-2x-small)`. _(default: undefined)_\n- **--zn-priority-list-item-padding** - The padding inside each item. Defaults to `var(--zn-spacing-small) var(--zn-spacing-medium)`. _(default: undefined)_\n- **--zn-priority-list-actions-gap** - The gap between an item's slotted actions. Defaults to `var(--zn-spacing-x-small)`. _(default: undefined)_\n- **--zn-priority-list-handle-color** - The color of the drag handle. Defaults to `var(--zn-color-neutral-500)`. _(default: undefined)_\n- **--zn-priority-list-priority-color** - The color of the priority number. Defaults to `var(--zn-color-neutral-600)`. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control wrapper.\n- **form-control-label** - The label wrapper.\n- **form-control-input** - The input area wrapper.\n- **form-control-help-text** - The help text wrapper.\n- **list** - The list container.\n- **item** - An individual list item row.\n- **drag-handle** - The drag handle icon.\n- **priority** - The priority number badge.\n- **content** - The content area of an item.",
3164
+ "attributes": [
3165
+ {
3166
+ "name": "name",
3167
+ "description": "The name prefix for form submission. Each item generates a hidden input named `{name}[{itemValue}]`\nwith the priority number as its value.",
3168
+ "values": []
3169
+ },
3170
+ {
3171
+ "name": "value",
3172
+ "description": "The current ordered list of item keys, reflecting the visual order. This is the source of truth for ordering.\nEach entry should match a `value` attribute on a slotted child element.",
3173
+ "values": [{ "name": "string[]" }]
3174
+ },
3175
+ {
3176
+ "name": "label",
3177
+ "description": "The component's label. Required for proper accessibility.",
3178
+ "values": []
3179
+ },
3180
+ {
3181
+ "name": "label-tooltip",
3182
+ "description": "Text that appears in a tooltip next to the label.",
3183
+ "values": []
3184
+ },
3185
+ {
3186
+ "name": "help-text",
3187
+ "description": "Help text that describes how to use the component.",
3188
+ "values": []
3189
+ },
3190
+ {
3191
+ "name": "form",
3192
+ "description": "Associates the control with a form by id. The form must be in the same document or shadow root.",
3193
+ "values": []
3194
+ },
3195
+ {
3196
+ "name": "size",
3197
+ "description": "The size of the list items.",
3198
+ "values": [
3199
+ { "name": "small" },
3200
+ { "name": "medium" },
3201
+ { "name": "large" }
3202
+ ]
3203
+ },
3204
+ {
3205
+ "name": "disabled",
3206
+ "description": "Whether the priority list is disabled.",
3207
+ "values": []
3208
+ },
3209
+ {
3210
+ "name": "required",
3211
+ "description": "Ensures the form control has a value before allowing submission.",
3212
+ "values": []
3213
+ },
3214
+ {
3215
+ "name": "priority-start",
3216
+ "description": "The starting priority number. Defaults to 1.",
3217
+ "values": []
3218
+ },
3219
+ {
3220
+ "name": "formaction",
3221
+ "description": "When set, the associated form will be submitted with the given action URL whenever items are reordered.\nIf set to an empty string, the form will be submitted using its existing action.",
3222
+ "values": []
3223
+ },
3224
+ {
3225
+ "name": "order",
3226
+ "description": "A comma-separated list of item keys defining the initial display order.\nKeys must match the `value` attributes on slotted children.\nAny slotted items not listed are appended at the end in DOM order.",
3227
+ "values": []
3228
+ }
3229
+ ],
3230
+ "references": [
3231
+ {
3232
+ "name": "Documentation",
3233
+ "url": "https://zinc.style/components/priority-list"
3234
+ }
3235
+ ]
3236
+ },
3079
3237
  {
3080
3238
  "name": "zn-popup",
3081
3239
  "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 - **reposition()** - Forces the popup to recalculate and 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.",
@@ -3225,154 +3383,6 @@
3225
3383
  }
3226
3384
  ]
3227
3385
  },
3228
- {
3229
- "name": "zn-preview-frame",
3230
- "description": "Embeds a live preview iframe and drives the hp-preview postMessage\nprotocol: answers the frame's ready handshake with a config payload fetched\nfrom data-uri, auto-saves watched forms on change, refreshes the preview\nafter each save (its own, or a shell-driven save of a `refresh-on` form),\naccepts a theme payload via setTheme() that is retained and replayed\nafter every ready handshake, and grows the frame to a content height the\nembed reports so the panel scrolls an overflowing page.\n---\n\n\n### **Events:**\n - **zn-error** - Emitted when the preview reports a render error or a save fails.\n\n### **Methods:**\n - **refresh()** - Re-fetches the payload and pushes a fresh config to the preview.\n- **setTheme(theme: _Record<string, unknown>_)** - Pushes a theme payload into the preview. The payload is retained and\nre-posted after every ready handshake, so a frame reload doesn't drop an\nin-progress theme.\n\n### **CSS Properties:**\n - **--zn-preview-frame-dot-spacing** - Spacing of the backdrop dot grid (`backdrop=\"dots\"`). Defaults to 20px. _(default: undefined)_\n- **--zn-preview-frame-dot-opacity** - Opacity of the backdrop dots (`backdrop=\"dots\"`). Defaults to 0.08. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **stage** - The device-width wrapper around the iframe.\n- **iframe** - The preview iframe.\n- **error** - The error overlay.",
3231
- "attributes": [
3232
- {
3233
- "name": "src",
3234
- "description": "URL of the preview shell page (tokened embed URL).",
3235
- "values": []
3236
- },
3237
- {
3238
- "name": "frame-origin",
3239
- "description": "Expected origin of the iframe; all postMessage traffic is checked against it.",
3240
- "values": []
3241
- },
3242
- {
3243
- "name": "data-uri",
3244
- "description": "Endpoint returning the hp-preview:config payload JSON. The console proxy rewrites this attribute to an app-prefixed path for proper fetch resolution.",
3245
- "values": []
3246
- },
3247
- {
3248
- "name": "watch",
3249
- "description": "Selector (resolved against the component's root node) for the forms to watch.\nDefaults to only forms explicitly opted in via a `data-auto-save` attribute —\nunmarked forms keep normal submit behavior and are never intercepted,\nauto-saved, or used to trigger a preview refresh. Override to widen the scope.",
3250
- "values": []
3251
- },
3252
- {
3253
- "name": "refresh-on",
3254
- "description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nMatched by delegation on the shell's bubbled `complete` event rather than\nby attaching to the forms themselves, so a save anywhere on the page\nrefreshes the preview — including forms in a different DOM root, e.g. a\npage-level form saved while the preview sits inside a tab panel's shadow\nroot (a page's Template select lives on one tab, its preview on another).\nSet empty to disable.",
3255
- "values": []
3256
- },
3257
- {
3258
- "name": "debounce",
3259
- "description": "Debounce in ms between a form change and its auto-save.",
3260
- "values": []
3261
- },
3262
- {
3263
- "name": "zoom",
3264
- "description": "Zooms the previewed page out (0–1]. The frame always fills the panel;\nzoom shrinks the content browser-style, so 0.4 shows the page at 40%\nsize with correspondingly more of it visible. 1 = natural size.\nIgnored when `fill` is set.",
3265
- "values": []
3266
- },
3267
- {
3268
- "name": "min-height",
3269
- "description": "The visible height (in CSS pixels) of the preview panel. Fixed rather\nthan measured, because a measured height would feed back into the\nscaled iframe's layout box and grow unbounded. With `fill` set, this\nbecomes a `min-height` floor instead of the height.",
3270
- "values": []
3271
- },
3272
- {
3273
- "name": "fill",
3274
- "description": "Fills the panel's own column height instead of using a fixed\n`min-height` pixel height — for hosts (like zn-theme-editor) whose\nlayout already stretches the column to match a taller sibling.\n`zoom` is ignored when set: its oversize maths depends on a known\npixel height, which `fill` deliberately doesn't have.",
3275
- "values": []
3276
- },
3277
- {
3278
- "name": "device",
3279
- "description": "Constrains and centres the preview to a device width: `desktop` (100%),\n`tablet` (768px) or `mobile` (390px). The iframe element itself is\nnarrowed, so the embedded page's own media queries fire.",
3280
- "values": [{ "name": "PreviewFrameDevice" }]
3281
- },
3282
- {
3283
- "name": "backdrop",
3284
- "description": "Backdrop behind the stage: `dots` (default) is the canvas dot grid; `panel` is a plain `rgb(var(--zn-panel))` fill.",
3285
- "values": [{ "name": "dots" }, { "name": "panel" }]
3286
- },
3287
- {
3288
- "name": "interactive",
3289
- "description": "Lets pointer input through to the embedded page. The preview is inert by\ndefault: clicks never reach the frame, so the previewed page can't be\nnavigated or submitted from inside the preview. Cross-origin content can't\nbe reached from here to cancel its own handlers, so this blocks pointer\ninput entirely — hover goes with it. Scrolling doesn't: an overflowing\npage is scrolled by the panel rather than by the frame (see _contentHeight).\n\nSet, the frame becomes a real viewport instead: it stays the panel's own\nheight and the embed scrolls itself, so there is one scrollbar rather than\na panel scrolling an oversized frame, and the embed's viewport-relative\nlayout (`100vh`, `position: fixed`, sticky headers) sizes to what's on\nscreen. _contentHeight is ignored while this is set.",
3290
- "values": []
3291
- }
3292
- ],
3293
- "references": [
3294
- {
3295
- "name": "Documentation",
3296
- "url": "https://zinc.style/components/preview-frame"
3297
- }
3298
- ]
3299
- },
3300
- {
3301
- "name": "zn-priority-list",
3302
- "description": "A reorderable list where each item receives a numerical priority based on its position. Supports drag-and-drop\nand keyboard reordering. Priority values are submitted as form data via hidden inputs.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the order of items changes.\n- **zn-reorder** - Emitted when items are reordered. Call `getPriorityMap()` on the component to get the updated `{ key: string, priority: number }[]` array.\n\n### **Methods:**\n - **getPriorityMap(): _PriorityItem[]_** - Returns the priority map: an array of { key, priority } objects.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where list items are placed. Each slotted element must have a `value` attribute that uniquely identifies the item. The component automatically assigns slot names to project each item into the correct position. The item's position in the list determines its priority (top = `priority-start`, incrementing).\n- **label** - The component's label. Required for proper accessibility. Alternatively, use the `label` attribute.\n- **label-tooltip** - Used to add text displayed in a tooltip next to the label.\n- **help-text** - Text that describes how to use the component. Alternatively, use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-priority-list-item-gap** - The gap between list items. Defaults to `var(--zn-spacing-2x-small)`. _(default: undefined)_\n- **--zn-priority-list-item-padding** - The padding inside each item. Defaults to `var(--zn-spacing-small) var(--zn-spacing-medium)`. _(default: undefined)_\n- **--zn-priority-list-actions-gap** - The gap between an item's slotted actions. Defaults to `var(--zn-spacing-x-small)`. _(default: undefined)_\n- **--zn-priority-list-handle-color** - The color of the drag handle. Defaults to `var(--zn-color-neutral-500)`. _(default: undefined)_\n- **--zn-priority-list-priority-color** - The color of the priority number. Defaults to `var(--zn-color-neutral-600)`. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control wrapper.\n- **form-control-label** - The label wrapper.\n- **form-control-input** - The input area wrapper.\n- **form-control-help-text** - The help text wrapper.\n- **list** - The list container.\n- **item** - An individual list item row.\n- **drag-handle** - The drag handle icon.\n- **priority** - The priority number badge.\n- **content** - The content area of an item.",
3303
- "attributes": [
3304
- {
3305
- "name": "name",
3306
- "description": "The name prefix for form submission. Each item generates a hidden input named `{name}[{itemValue}]`\nwith the priority number as its value.",
3307
- "values": []
3308
- },
3309
- {
3310
- "name": "value",
3311
- "description": "The current ordered list of item keys, reflecting the visual order. This is the source of truth for ordering.\nEach entry should match a `value` attribute on a slotted child element.",
3312
- "values": [{ "name": "string[]" }]
3313
- },
3314
- {
3315
- "name": "label",
3316
- "description": "The component's label. Required for proper accessibility.",
3317
- "values": []
3318
- },
3319
- {
3320
- "name": "label-tooltip",
3321
- "description": "Text that appears in a tooltip next to the label.",
3322
- "values": []
3323
- },
3324
- {
3325
- "name": "help-text",
3326
- "description": "Help text that describes how to use the component.",
3327
- "values": []
3328
- },
3329
- {
3330
- "name": "form",
3331
- "description": "Associates the control with a form by id. The form must be in the same document or shadow root.",
3332
- "values": []
3333
- },
3334
- {
3335
- "name": "size",
3336
- "description": "The size of the list items.",
3337
- "values": [
3338
- { "name": "small" },
3339
- { "name": "medium" },
3340
- { "name": "large" }
3341
- ]
3342
- },
3343
- {
3344
- "name": "disabled",
3345
- "description": "Whether the priority list is disabled.",
3346
- "values": []
3347
- },
3348
- {
3349
- "name": "required",
3350
- "description": "Ensures the form control has a value before allowing submission.",
3351
- "values": []
3352
- },
3353
- {
3354
- "name": "priority-start",
3355
- "description": "The starting priority number. Defaults to 1.",
3356
- "values": []
3357
- },
3358
- {
3359
- "name": "formaction",
3360
- "description": "When set, the associated form will be submitted with the given action URL whenever items are reordered.\nIf set to an empty string, the form will be submitted using its existing action.",
3361
- "values": []
3362
- },
3363
- {
3364
- "name": "order",
3365
- "description": "A comma-separated list of item keys defining the initial display order.\nKeys must match the `value` attributes on slotted children.\nAny slotted items not listed are appended at the end in DOM order.",
3366
- "values": []
3367
- }
3368
- ],
3369
- "references": [
3370
- {
3371
- "name": "Documentation",
3372
- "url": "https://zinc.style/components/priority-list"
3373
- }
3374
- ]
3375
- },
3376
3386
  {
3377
3387
  "name": "zn-progress-bar",
3378
3388
  "description": "Progress bars provide visual feedback about the completion status of a task or process.\n---\n\n\n### **CSS Properties:**\n - **--zn-border-color** - The color of the progress bar background track. _(default: undefined)_\n- **--zn-progress-bar-color** - The color of the progress bar fill. _(default: undefined)_\n- **--zn-text-heading** - The color of the caption text. _(default: undefined)_\n- **--zn-text** - The color of the progress percentage and description text. _(default: undefined)_\n- **--zn-spacing-x-small** - The spacing between header/footer and the progress bar. _(default: undefined)_\n\n### **CSS Parts:**\n - **header** - The header container that contains the caption and progress text.\n- **caption** - The caption text element.\n- **progress** - The progress percentage text element.\n- **bar** - The SVG element containing the progress bar.\n- **track** - The background track of the progress bar.\n- **fill** - The filled portion of the progress bar indicating progress.\n- **footer** - The footer container that contains the description.\n- **info** - The description text element.",
@@ -4008,6 +4018,11 @@
4008
4018
  },
4009
4019
  { "name": "distinct", "values": [] },
4010
4020
  { "name": "conditional", "values": [] },
4021
+ {
4022
+ "name": "requires",
4023
+ "description": "Ids or names of controls that must have a value before this one becomes\nusable, comma separated. The control stays disabled until every one of them\nis filled, and is disabled again if any is cleared.",
4024
+ "values": []
4025
+ },
4011
4026
  {
4012
4027
  "name": "data-uri",
4013
4028
  "description": "The URL to fetch options from. When set, the component fetches JSON from this URL and renders the results as\noptions. The expected format is an array of objects with `key` and `value` properties:\n`[{\"key\": \"us\", \"value\": \"United States\"}, ...]`\nWhen not set, the component works exactly as before using slotted `<zn-option>` elements.",