@kubex/zinc 1.1.75 → 1.1.76

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.
@@ -3961,36 +3961,6 @@
3961
3961
  }
3962
3962
  ]
3963
3963
  },
3964
- {
3965
- "name": "zn-tabs",
3966
- "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 \n\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.",
3967
- "attributes": [
3968
- { "name": "master-id", "values": [] },
3969
- { "name": "default-uri", "values": [] },
3970
- { "name": "active", "values": [] },
3971
- { "name": "split", "values": [] },
3972
- { "name": "split-min", "values": [] },
3973
- { "name": "split-min-secondary", "values": [] },
3974
- { "name": "split-max", "values": [] },
3975
- { "name": "primary-caption", "values": [] },
3976
- { "name": "secondary-caption", "values": [] },
3977
- { "name": "no-prefetch", "values": [] },
3978
- { "name": "no-cache", "values": [] },
3979
- { "name": "local-storage", "values": [] },
3980
- { "name": "store-key", "values": [] },
3981
- { "name": "store-ttl", "values": [] },
3982
- { "name": "padded", "values": [] },
3983
- { "name": "fetch-style", "values": [] },
3984
- { "name": "full-width", "values": [] },
3985
- { "name": "padded-right", "values": [] },
3986
- { "name": "monitor", "values": [] },
3987
- { "name": "caption", "values": [] },
3988
- { "name": "description", "values": [] }
3989
- ],
3990
- "references": [
3991
- { "name": "Documentation", "url": "https://zinc.style/components/tabs" }
3992
- ]
3993
- },
3994
3964
  {
3995
3965
  "name": "zn-textarea",
3996
3966
  "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.",
@@ -4153,6 +4123,36 @@
4153
4123
  }
4154
4124
  ]
4155
4125
  },
4126
+ {
4127
+ "name": "zn-tabs",
4128
+ "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 \n\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.",
4129
+ "attributes": [
4130
+ { "name": "master-id", "values": [] },
4131
+ { "name": "default-uri", "values": [] },
4132
+ { "name": "active", "values": [] },
4133
+ { "name": "split", "values": [] },
4134
+ { "name": "split-min", "values": [] },
4135
+ { "name": "split-min-secondary", "values": [] },
4136
+ { "name": "split-max", "values": [] },
4137
+ { "name": "primary-caption", "values": [] },
4138
+ { "name": "secondary-caption", "values": [] },
4139
+ { "name": "no-prefetch", "values": [] },
4140
+ { "name": "no-cache", "values": [] },
4141
+ { "name": "local-storage", "values": [] },
4142
+ { "name": "store-key", "values": [] },
4143
+ { "name": "store-ttl", "values": [] },
4144
+ { "name": "padded", "values": [] },
4145
+ { "name": "fetch-style", "values": [] },
4146
+ { "name": "full-width", "values": [] },
4147
+ { "name": "padded-right", "values": [] },
4148
+ { "name": "monitor", "values": [] },
4149
+ { "name": "caption", "values": [] },
4150
+ { "name": "description", "values": [] }
4151
+ ],
4152
+ "references": [
4153
+ { "name": "Documentation", "url": "https://zinc.style/components/tabs" }
4154
+ ]
4155
+ },
4156
4156
  {
4157
4157
  "name": "zn-theme-editor",
4158
4158
  "description": "A theme editor: slotted form controls drive a live preview frame,\nwith a toolbar for the preview's light/dark mode and device width.\n---\n\n\n### **Events:**\n - **zn-theme-change** - Emitted when the values, mode or device change.\n- **zn-theme-submit** - Emitted on submit (button click), carrying the current values. With `action` set, only fires after a successful save.\n- **zn-error** - Emitted when a save fails. Also seen for preview render failures: the frame's zn-error is composed and not stopped, so it bubbles out through the editor too.\n\n### **Slots:**\n - _default_ - Ungrouped theme controls, rendered above any sections. Controls assigned `slot=\"<name>\"` matching a `sections` entry (or, when nested, a `groups` entry) render inside that section/group instead. Harvesting and change detection walk every slot's full assigned subtree, not just direct children. With `sections` left unset, the structure is instead derived from the controls' own attributes: `group=\"<label>\"` becomes a tab and `category=\"<label>\"` a collapsible within it, and the control is slotted into that collapsible automatically. Either attribute works alone - a control with only `group` sits directly in its tab, and one with only `category` becomes its own top-level section. Setting `sections` explicitly disables the derivation entirely.\n- **toolbar** - Actions in the toolbar, right-aligned beside the device controls. Where a save button belongs.\n- **footer** - Actions pinned beneath the controls. The built-in submit button lives in the toolbar, not here.\n\n### **CSS Properties:**\n - **--zn-theme-editor-controls-width** - Width of the controls column. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **controls** - The left-hand controls column, full height.\n- **controls-header** - The controls column's header row: `controls-caption` on the left, the light/dark mode toggle on the right.\n- **toolbar** - The preview column's header row: `preview-caption` on the left, the device switcher (and sources/submit) on the right. Spans the preview column only.\n- **section** - A rendered section's or group's collapsible (`section-layout=\"collapsible\"`, or any nested group).\n- **footer** - The footer wrapper beneath the controls.\n- **preview** - The preview column.\n- **error** - The inline error strip.\n- **preview__base** - The frame's base wrapper (forwarded from zn-preview-frame).\n- **preview__stage** - The frame's device-width wrapper (forwarded from zn-preview-frame).\n- **preview__iframe** - The frame's iframe (forwarded from zn-preview-frame).\n- **preview__error** - The frame's own error overlay (forwarded from zn-preview-frame).",
@@ -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.75",
4
+ "version": "1.1.76",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -9364,110 +9364,6 @@
9364
9364
  ]
9365
9365
  }
9366
9366
  },
9367
- {
9368
- "name": "zn-tabs",
9369
- "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 \n\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.",
9370
- "doc-url": "",
9371
- "attributes": [
9372
- { "name": "master-id", "value": { "type": "string" } },
9373
- {
9374
- "name": "default-uri",
9375
- "value": { "type": "string", "default": "''" }
9376
- },
9377
- {
9378
- "name": "active",
9379
- "value": { "type": "string", "default": "''" }
9380
- },
9381
- { "name": "split", "value": { "type": "number" } },
9382
- {
9383
- "name": "split-min",
9384
- "value": { "type": "number", "default": "60" }
9385
- },
9386
- { "name": "split-min-secondary", "value": { "type": "number" } },
9387
- { "name": "split-max", "value": { "type": "number" } },
9388
- {
9389
- "name": "primary-caption",
9390
- "value": { "type": "string", "default": "'Navigation'" }
9391
- },
9392
- {
9393
- "name": "secondary-caption",
9394
- "value": { "type": "string", "default": "'Content'" }
9395
- },
9396
- {
9397
- "name": "no-prefetch",
9398
- "value": { "type": "boolean", "default": "false" }
9399
- },
9400
- {
9401
- "name": "no-cache",
9402
- "value": { "type": "boolean", "default": "false" }
9403
- },
9404
- { "name": "local-storage", "value": { "type": "boolean" } },
9405
- { "name": "store-key", "value": { "type": "string" } },
9406
- {
9407
- "name": "store-ttl",
9408
- "value": { "type": "number", "default": "0" }
9409
- },
9410
- {
9411
- "name": "padded",
9412
- "value": { "type": "boolean", "default": "false" }
9413
- },
9414
- {
9415
- "name": "fetch-style",
9416
- "value": { "type": "string", "default": "\"\"" }
9417
- },
9418
- {
9419
- "name": "full-width",
9420
- "value": { "type": "boolean", "default": "false" }
9421
- },
9422
- {
9423
- "name": "padded-right",
9424
- "value": { "type": "boolean", "default": "false" }
9425
- },
9426
- { "name": "monitor", "value": { "type": "string" } },
9427
- { "name": "caption", "value": { "type": "string" } },
9428
- { "name": "description", "value": { "type": "string" } }
9429
- ],
9430
- "slots": [
9431
- { "name": "", "description": "The default slot." },
9432
- { "name": "example", "description": "An example slot." }
9433
- ],
9434
- "events": [
9435
- { "name": "zn-event-name", "description": "Emitted as an example." }
9436
- ],
9437
- "js": {
9438
- "properties": [
9439
- { "name": "masterId", "type": "string" },
9440
- { "name": "defaultUri", "type": "string" },
9441
- { "name": "_current", "type": "string" },
9442
- { "name": "_split", "type": "number" },
9443
- { "name": "_splitMin", "type": "number" },
9444
- { "name": "_splitMinSecondary", "type": "number" },
9445
- { "name": "_splitMax", "type": "number" },
9446
- { "name": "primaryCaption", "type": "string" },
9447
- { "name": "secondaryCaption", "type": "string" },
9448
- { "name": "noPrefetch", "type": "boolean" },
9449
- { "name": "noCache", "type": "boolean" },
9450
- { "name": "localStorage", "type": "boolean" },
9451
- { "name": "storeKey", "type": "string" },
9452
- { "name": "storeTtl", "type": "number" },
9453
- { "name": "padded", "type": "boolean" },
9454
- { "name": "fetchStyle", "type": "string" },
9455
- { "name": "fullWidth", "type": "boolean" },
9456
- { "name": "paddedRight", "type": "boolean" },
9457
- { "name": "monitor", "type": "string" },
9458
- { "name": "caption", "type": "string" },
9459
- { "name": "description", "type": "string" },
9460
- { "name": "reRegisterTabs" },
9461
- { "name": "_registerTabs" }
9462
- ],
9463
- "events": [
9464
- {
9465
- "name": "zn-event-name",
9466
- "description": "Emitted as an example."
9467
- }
9468
- ]
9469
- }
9470
- },
9471
9367
  {
9472
9368
  "name": "zn-textarea",
9473
9369
  "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.",
@@ -9811,6 +9707,110 @@
9811
9707
  ]
9812
9708
  }
9813
9709
  },
9710
+ {
9711
+ "name": "zn-tabs",
9712
+ "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 \n\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.",
9713
+ "doc-url": "",
9714
+ "attributes": [
9715
+ { "name": "master-id", "value": { "type": "string" } },
9716
+ {
9717
+ "name": "default-uri",
9718
+ "value": { "type": "string", "default": "''" }
9719
+ },
9720
+ {
9721
+ "name": "active",
9722
+ "value": { "type": "string", "default": "''" }
9723
+ },
9724
+ { "name": "split", "value": { "type": "number" } },
9725
+ {
9726
+ "name": "split-min",
9727
+ "value": { "type": "number", "default": "60" }
9728
+ },
9729
+ { "name": "split-min-secondary", "value": { "type": "number" } },
9730
+ { "name": "split-max", "value": { "type": "number" } },
9731
+ {
9732
+ "name": "primary-caption",
9733
+ "value": { "type": "string", "default": "'Navigation'" }
9734
+ },
9735
+ {
9736
+ "name": "secondary-caption",
9737
+ "value": { "type": "string", "default": "'Content'" }
9738
+ },
9739
+ {
9740
+ "name": "no-prefetch",
9741
+ "value": { "type": "boolean", "default": "false" }
9742
+ },
9743
+ {
9744
+ "name": "no-cache",
9745
+ "value": { "type": "boolean", "default": "false" }
9746
+ },
9747
+ { "name": "local-storage", "value": { "type": "boolean" } },
9748
+ { "name": "store-key", "value": { "type": "string" } },
9749
+ {
9750
+ "name": "store-ttl",
9751
+ "value": { "type": "number", "default": "0" }
9752
+ },
9753
+ {
9754
+ "name": "padded",
9755
+ "value": { "type": "boolean", "default": "false" }
9756
+ },
9757
+ {
9758
+ "name": "fetch-style",
9759
+ "value": { "type": "string", "default": "\"\"" }
9760
+ },
9761
+ {
9762
+ "name": "full-width",
9763
+ "value": { "type": "boolean", "default": "false" }
9764
+ },
9765
+ {
9766
+ "name": "padded-right",
9767
+ "value": { "type": "boolean", "default": "false" }
9768
+ },
9769
+ { "name": "monitor", "value": { "type": "string" } },
9770
+ { "name": "caption", "value": { "type": "string" } },
9771
+ { "name": "description", "value": { "type": "string" } }
9772
+ ],
9773
+ "slots": [
9774
+ { "name": "", "description": "The default slot." },
9775
+ { "name": "example", "description": "An example slot." }
9776
+ ],
9777
+ "events": [
9778
+ { "name": "zn-event-name", "description": "Emitted as an example." }
9779
+ ],
9780
+ "js": {
9781
+ "properties": [
9782
+ { "name": "masterId", "type": "string" },
9783
+ { "name": "defaultUri", "type": "string" },
9784
+ { "name": "_current", "type": "string" },
9785
+ { "name": "_split", "type": "number" },
9786
+ { "name": "_splitMin", "type": "number" },
9787
+ { "name": "_splitMinSecondary", "type": "number" },
9788
+ { "name": "_splitMax", "type": "number" },
9789
+ { "name": "primaryCaption", "type": "string" },
9790
+ { "name": "secondaryCaption", "type": "string" },
9791
+ { "name": "noPrefetch", "type": "boolean" },
9792
+ { "name": "noCache", "type": "boolean" },
9793
+ { "name": "localStorage", "type": "boolean" },
9794
+ { "name": "storeKey", "type": "string" },
9795
+ { "name": "storeTtl", "type": "number" },
9796
+ { "name": "padded", "type": "boolean" },
9797
+ { "name": "fetchStyle", "type": "string" },
9798
+ { "name": "fullWidth", "type": "boolean" },
9799
+ { "name": "paddedRight", "type": "boolean" },
9800
+ { "name": "monitor", "type": "string" },
9801
+ { "name": "caption", "type": "string" },
9802
+ { "name": "description", "type": "string" },
9803
+ { "name": "reRegisterTabs" },
9804
+ { "name": "_registerTabs" }
9805
+ ],
9806
+ "events": [
9807
+ {
9808
+ "name": "zn-event-name",
9809
+ "description": "Emitted as an example."
9810
+ }
9811
+ ]
9812
+ }
9813
+ },
9814
9814
  {
9815
9815
  "name": "zn-theme-editor",
9816
9816
  "description": "A theme editor: slotted form controls drive a live preview frame,\nwith a toolbar for the preview's light/dark mode and device width.\n---\n\n\n### **Events:**\n - **zn-theme-change** - Emitted when the values, mode or device change.\n- **zn-theme-submit** - Emitted on submit (button click), carrying the current values. With `action` set, only fires after a successful save.\n- **zn-error** - Emitted when a save fails. Also seen for preview render failures: the frame's zn-error is composed and not stopped, so it bubbles out through the editor too.\n\n### **Slots:**\n - _default_ - Ungrouped theme controls, rendered above any sections. Controls assigned `slot=\"<name>\"` matching a `sections` entry (or, when nested, a `groups` entry) render inside that section/group instead. Harvesting and change detection walk every slot's full assigned subtree, not just direct children. With `sections` left unset, the structure is instead derived from the controls' own attributes: `group=\"<label>\"` becomes a tab and `category=\"<label>\"` a collapsible within it, and the control is slotted into that collapsible automatically. Either attribute works alone - a control with only `group` sits directly in its tab, and one with only `category` becomes its own top-level section. Setting `sections` explicitly disables the derivation entirely.\n- **toolbar** - Actions in the toolbar, right-aligned beside the device controls. Where a save button belongs.\n- **footer** - Actions pinned beneath the controls. The built-in submit button lives in the toolbar, not here.\n\n### **CSS Properties:**\n - **--zn-theme-editor-controls-width** - Width of the controls column. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **controls** - The left-hand controls column, full height.\n- **controls-header** - The controls column's header row: `controls-caption` on the left, the light/dark mode toggle on the right.\n- **toolbar** - The preview column's header row: `preview-caption` on the left, the device switcher (and sources/submit) on the right. Spans the preview column only.\n- **section** - A rendered section's or group's collapsible (`section-layout=\"collapsible\"`, or any nested group).\n- **footer** - The footer wrapper beneath the controls.\n- **preview** - The preview column.\n- **error** - The inline error strip.\n- **preview__base** - The frame's base wrapper (forwarded from zn-preview-frame).\n- **preview__stage** - The frame's device-width wrapper (forwarded from zn-preview-frame).\n- **preview__iframe** - The frame's iframe (forwarded from zn-preview-frame).\n- **preview__error** - The frame's own error overlay (forwarded from zn-preview-frame).",