@kubex/zinc 1.1.24 → 1.1.25

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.
@@ -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.24",
4
+ "version": "1.1.25",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -2447,6 +2447,28 @@
2447
2447
  ]
2448
2448
  }
2449
2449
  },
2450
+ {
2451
+ "name": "zn-data-table-sort",
2452
+ "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.",
2453
+ "doc-url": "",
2454
+ "attributes": [],
2455
+ "slots": [
2456
+ { "name": "", "description": "The default slot." },
2457
+ { "name": "example", "description": "An example slot." }
2458
+ ],
2459
+ "events": [
2460
+ { "name": "zn-event-name", "description": "Emitted as an example." }
2461
+ ],
2462
+ "js": {
2463
+ "properties": [],
2464
+ "events": [
2465
+ {
2466
+ "name": "zn-event-name",
2467
+ "description": "Emitted as an example."
2468
+ }
2469
+ ]
2470
+ }
2471
+ },
2450
2472
  {
2451
2473
  "name": "zn-data-table-search",
2452
2474
  "description": "A search component for data tables.\n---\n\n\n### **Events:**\n - **zn-search-change** - Emitted when the search value changes (debounced).\n\n### **Methods:**\n - **getFormData(): _Record<string, any>_** - Collects form data from slotted input elements\n\n### **Slots:**\n - _default_ - The default slot for additional form inputs.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -2540,28 +2562,6 @@
2540
2562
  ]
2541
2563
  }
2542
2564
  },
2543
- {
2544
- "name": "zn-data-table-sort",
2545
- "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.",
2546
- "doc-url": "",
2547
- "attributes": [],
2548
- "slots": [
2549
- { "name": "", "description": "The default slot." },
2550
- { "name": "example", "description": "An example slot." }
2551
- ],
2552
- "events": [
2553
- { "name": "zn-event-name", "description": "Emitted as an example." }
2554
- ],
2555
- "js": {
2556
- "properties": [],
2557
- "events": [
2558
- {
2559
- "name": "zn-event-name",
2560
- "description": "Emitted as an example."
2561
- }
2562
- ]
2563
- }
2564
- },
2565
2565
  {
2566
2566
  "name": "zn-datepicker",
2567
2567
  "description": "A date picker component with calendar popup and input validation.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the date value changes.\n- **zn-input** - Emitted when the input value changes.\n- **zn-blur** - Emitted when the input loses focus.\n- **zn-focus** - Emitted when the input gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **checkValidity(): _boolean_** - Checks the 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 datepicker's label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Tooltip content for the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Additional context text displayed above the input. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Help text displayed below the input. Alternatively, you can use the `help-text` attribute.\n- **prefix** - Content to display before the input (in addition to the default calendar icon).\n- **suffix** - Content to display after the input.\n\n### **CSS Properties:**\n - **--zn-input-*** - Inherited input component CSS custom properties. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **form-control** - The form control wrapper.\n- **form-control-label** - The label element.\n- **form-control-input** - The input wrapper.\n- **form-control-help-text** - The help text element.",
@@ -5687,93 +5687,93 @@
5687
5687
  }
5688
5688
  },
5689
5689
  {
5690
- "name": "zn-opt-group",
5691
- "description": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for `<zn-option>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The group label element.",
5690
+ "name": "zn-option",
5691
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-option-icon** - The checked option icon, an `<zn-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
5692
5692
  "doc-url": "",
5693
5693
  "attributes": [
5694
5694
  {
5695
- "name": "label",
5696
- "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
5695
+ "name": "value",
5696
+ "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
5697
5697
  "value": { "type": "string", "default": "''" }
5698
5698
  },
5699
5699
  {
5700
5700
  "name": "disabled",
5701
- "description": "Disables all options within the group.",
5701
+ "description": "Draws the option in a disabled state, preventing selection.",
5702
+ "value": { "type": "boolean", "default": "false" }
5703
+ },
5704
+ {
5705
+ "name": "selected",
5702
5706
  "value": { "type": "boolean", "default": "false" }
5703
5707
  }
5704
5708
  ],
5705
5709
  "slots": [
5710
+ { "name": "", "description": "The option's label." },
5706
5711
  {
5707
- "name": "",
5708
- "description": "The default slot for `<zn-option>` elements."
5712
+ "name": "prefix",
5713
+ "description": "Used to prepend an icon or similar element to the menu item."
5714
+ },
5715
+ {
5716
+ "name": "suffix",
5717
+ "description": "Used to append an icon or similar element to the menu item."
5709
5718
  }
5710
5719
  ],
5711
5720
  "events": [],
5712
5721
  "js": {
5713
5722
  "properties": [
5723
+ { "name": "multiple", "type": "boolean" },
5724
+ { "name": "defaultSlot", "type": "HTMLSlotElement" },
5725
+ { "name": "current", "type": "boolean" },
5726
+ { "name": "hasHover", "type": "boolean" },
5714
5727
  {
5715
- "name": "label",
5716
- "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
5728
+ "name": "value",
5729
+ "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
5717
5730
  "type": "string"
5718
5731
  },
5719
5732
  {
5720
5733
  "name": "disabled",
5721
- "description": "Disables all options within the group.",
5734
+ "description": "Draws the option in a disabled state, preventing selection.",
5722
5735
  "type": "boolean"
5723
- }
5736
+ },
5737
+ { "name": "selected", "type": "boolean" }
5724
5738
  ],
5725
5739
  "events": []
5726
5740
  }
5727
5741
  },
5728
5742
  {
5729
- "name": "zn-option",
5730
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-option-icon** - The checked option icon, an `<zn-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
5743
+ "name": "zn-opt-group",
5744
+ "description": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for `<zn-option>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The group label element.",
5731
5745
  "doc-url": "",
5732
5746
  "attributes": [
5733
5747
  {
5734
- "name": "value",
5735
- "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
5748
+ "name": "label",
5749
+ "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
5736
5750
  "value": { "type": "string", "default": "''" }
5737
5751
  },
5738
5752
  {
5739
5753
  "name": "disabled",
5740
- "description": "Draws the option in a disabled state, preventing selection.",
5741
- "value": { "type": "boolean", "default": "false" }
5742
- },
5743
- {
5744
- "name": "selected",
5754
+ "description": "Disables all options within the group.",
5745
5755
  "value": { "type": "boolean", "default": "false" }
5746
5756
  }
5747
5757
  ],
5748
5758
  "slots": [
5749
- { "name": "", "description": "The option's label." },
5750
5759
  {
5751
- "name": "prefix",
5752
- "description": "Used to prepend an icon or similar element to the menu item."
5753
- },
5754
- {
5755
- "name": "suffix",
5756
- "description": "Used to append an icon or similar element to the menu item."
5760
+ "name": "",
5761
+ "description": "The default slot for `<zn-option>` elements."
5757
5762
  }
5758
5763
  ],
5759
5764
  "events": [],
5760
5765
  "js": {
5761
5766
  "properties": [
5762
- { "name": "multiple", "type": "boolean" },
5763
- { "name": "defaultSlot", "type": "HTMLSlotElement" },
5764
- { "name": "current", "type": "boolean" },
5765
- { "name": "hasHover", "type": "boolean" },
5766
5767
  {
5767
- "name": "value",
5768
- "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
5768
+ "name": "label",
5769
+ "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
5769
5770
  "type": "string"
5770
5771
  },
5771
5772
  {
5772
5773
  "name": "disabled",
5773
- "description": "Draws the option in a disabled state, preventing selection.",
5774
+ "description": "Disables all options within the group.",
5774
5775
  "type": "boolean"
5775
- },
5776
- { "name": "selected", "type": "boolean" }
5776
+ }
5777
5777
  ],
5778
5778
  "events": []
5779
5779
  }