@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.
@@ -8664,6 +8664,71 @@
8664
8664
  }
8665
8665
  ]
8666
8666
  },
8667
+ {
8668
+ "kind": "javascript-module",
8669
+ "path": "components/data-table-sort/data-table-sort.js",
8670
+ "declarations": [
8671
+ {
8672
+ "kind": "class",
8673
+ "description": "",
8674
+ "name": "ZnDataTableSort",
8675
+ "cssProperties": [
8676
+ {
8677
+ "description": "An example CSS custom property.",
8678
+ "name": "--example"
8679
+ }
8680
+ ],
8681
+ "cssParts": [
8682
+ {
8683
+ "description": "The component's base wrapper.",
8684
+ "name": "base"
8685
+ }
8686
+ ],
8687
+ "slots": [
8688
+ {
8689
+ "description": "The default slot.",
8690
+ "name": ""
8691
+ },
8692
+ {
8693
+ "description": "An example slot.",
8694
+ "name": "example"
8695
+ }
8696
+ ],
8697
+ "members": [],
8698
+ "events": [
8699
+ {
8700
+ "description": "Emitted as an example.",
8701
+ "name": "zn-event-name"
8702
+ }
8703
+ ],
8704
+ "superclass": {
8705
+ "name": "ZincElement",
8706
+ "module": "/src/internal/zinc-element"
8707
+ },
8708
+ "summary": "Short summary of the component's intended use.",
8709
+ "tagNameWithoutPrefix": "data-table-sort",
8710
+ "tagName": "zn-data-table-sort",
8711
+ "customElement": true,
8712
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table-sort\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
8713
+ "documentation": "https://zinc.style/components/data-table-sort",
8714
+ "status": "experimental",
8715
+ "since": "1.0",
8716
+ "dependencies": [
8717
+ "zn-example"
8718
+ ]
8719
+ }
8720
+ ],
8721
+ "exports": [
8722
+ {
8723
+ "kind": "js",
8724
+ "name": "default",
8725
+ "declaration": {
8726
+ "name": "ZnDataTableSort",
8727
+ "module": "components/data-table-sort/data-table-sort.js"
8728
+ }
8729
+ }
8730
+ ]
8731
+ },
8667
8732
  {
8668
8733
  "kind": "javascript-module",
8669
8734
  "path": "components/data-table-search/data-table-search.js",
@@ -8936,71 +9001,6 @@
8936
9001
  }
8937
9002
  ]
8938
9003
  },
8939
- {
8940
- "kind": "javascript-module",
8941
- "path": "components/data-table-sort/data-table-sort.js",
8942
- "declarations": [
8943
- {
8944
- "kind": "class",
8945
- "description": "",
8946
- "name": "ZnDataTableSort",
8947
- "cssProperties": [
8948
- {
8949
- "description": "An example CSS custom property.",
8950
- "name": "--example"
8951
- }
8952
- ],
8953
- "cssParts": [
8954
- {
8955
- "description": "The component's base wrapper.",
8956
- "name": "base"
8957
- }
8958
- ],
8959
- "slots": [
8960
- {
8961
- "description": "The default slot.",
8962
- "name": ""
8963
- },
8964
- {
8965
- "description": "An example slot.",
8966
- "name": "example"
8967
- }
8968
- ],
8969
- "members": [],
8970
- "events": [
8971
- {
8972
- "description": "Emitted as an example.",
8973
- "name": "zn-event-name"
8974
- }
8975
- ],
8976
- "superclass": {
8977
- "name": "ZincElement",
8978
- "module": "/src/internal/zinc-element"
8979
- },
8980
- "summary": "Short summary of the component's intended use.",
8981
- "tagNameWithoutPrefix": "data-table-sort",
8982
- "tagName": "zn-data-table-sort",
8983
- "customElement": true,
8984
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table-sort\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
8985
- "documentation": "https://zinc.style/components/data-table-sort",
8986
- "status": "experimental",
8987
- "since": "1.0",
8988
- "dependencies": [
8989
- "zn-example"
8990
- ]
8991
- }
8992
- ],
8993
- "exports": [
8994
- {
8995
- "kind": "js",
8996
- "name": "default",
8997
- "declaration": {
8998
- "name": "ZnDataTableSort",
8999
- "module": "components/data-table-sort/data-table-sort.js"
9000
- }
9001
- }
9002
- ]
9003
- },
9004
9004
  {
9005
9005
  "kind": "javascript-module",
9006
9006
  "path": "components/datepicker/datepicker.js",
@@ -21557,116 +21557,6 @@
21557
21557
  }
21558
21558
  ]
21559
21559
  },
21560
- {
21561
- "kind": "javascript-module",
21562
- "path": "components/opt-group/opt-group.js",
21563
- "declarations": [
21564
- {
21565
- "kind": "class",
21566
- "description": "",
21567
- "name": "ZnOptGroup",
21568
- "cssParts": [
21569
- {
21570
- "description": "The component's base wrapper.",
21571
- "name": "base"
21572
- },
21573
- {
21574
- "description": "The group label element.",
21575
- "name": "label"
21576
- }
21577
- ],
21578
- "slots": [
21579
- {
21580
- "description": "The default slot for `<zn-option>` elements.",
21581
- "name": ""
21582
- }
21583
- ],
21584
- "members": [
21585
- {
21586
- "kind": "field",
21587
- "name": "label",
21588
- "type": {
21589
- "text": "string"
21590
- },
21591
- "default": "''",
21592
- "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
21593
- "attribute": "label"
21594
- },
21595
- {
21596
- "kind": "field",
21597
- "name": "disabled",
21598
- "type": {
21599
- "text": "boolean"
21600
- },
21601
- "default": "false",
21602
- "description": "Disables all options within the group.",
21603
- "attribute": "disabled",
21604
- "reflects": true
21605
- },
21606
- {
21607
- "kind": "method",
21608
- "name": "handleLabelChange"
21609
- },
21610
- {
21611
- "kind": "method",
21612
- "name": "handleDisabledChange"
21613
- },
21614
- {
21615
- "kind": "method",
21616
- "name": "handleSlotChange",
21617
- "privacy": "private"
21618
- },
21619
- {
21620
- "kind": "method",
21621
- "name": "propagateDisabled",
21622
- "privacy": "private"
21623
- }
21624
- ],
21625
- "attributes": [
21626
- {
21627
- "name": "label",
21628
- "type": {
21629
- "text": "string"
21630
- },
21631
- "default": "''",
21632
- "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
21633
- "fieldName": "label"
21634
- },
21635
- {
21636
- "name": "disabled",
21637
- "type": {
21638
- "text": "boolean"
21639
- },
21640
- "default": "false",
21641
- "description": "Disables all options within the group.",
21642
- "fieldName": "disabled"
21643
- }
21644
- ],
21645
- "superclass": {
21646
- "name": "ZincElement",
21647
- "module": "/src/internal/zinc-element"
21648
- },
21649
- "summary": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.",
21650
- "tagNameWithoutPrefix": "opt-group",
21651
- "tagName": "zn-opt-group",
21652
- "customElement": true,
21653
- "jsDoc": "/**\n * @summary Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n * @documentation https://zinc.style/components/opt-group\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot for `<zn-option>` elements.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The group label element.\n */",
21654
- "documentation": "https://zinc.style/components/opt-group",
21655
- "status": "experimental",
21656
- "since": "1.0"
21657
- }
21658
- ],
21659
- "exports": [
21660
- {
21661
- "kind": "js",
21662
- "name": "default",
21663
- "declaration": {
21664
- "name": "ZnOptGroup",
21665
- "module": "components/opt-group/opt-group.js"
21666
- }
21667
- }
21668
- ]
21669
- },
21670
21560
  {
21671
21561
  "kind": "javascript-module",
21672
21562
  "path": "components/option/option.js",
@@ -21885,6 +21775,116 @@
21885
21775
  }
21886
21776
  ]
21887
21777
  },
21778
+ {
21779
+ "kind": "javascript-module",
21780
+ "path": "components/opt-group/opt-group.js",
21781
+ "declarations": [
21782
+ {
21783
+ "kind": "class",
21784
+ "description": "",
21785
+ "name": "ZnOptGroup",
21786
+ "cssParts": [
21787
+ {
21788
+ "description": "The component's base wrapper.",
21789
+ "name": "base"
21790
+ },
21791
+ {
21792
+ "description": "The group label element.",
21793
+ "name": "label"
21794
+ }
21795
+ ],
21796
+ "slots": [
21797
+ {
21798
+ "description": "The default slot for `<zn-option>` elements.",
21799
+ "name": ""
21800
+ }
21801
+ ],
21802
+ "members": [
21803
+ {
21804
+ "kind": "field",
21805
+ "name": "label",
21806
+ "type": {
21807
+ "text": "string"
21808
+ },
21809
+ "default": "''",
21810
+ "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
21811
+ "attribute": "label"
21812
+ },
21813
+ {
21814
+ "kind": "field",
21815
+ "name": "disabled",
21816
+ "type": {
21817
+ "text": "boolean"
21818
+ },
21819
+ "default": "false",
21820
+ "description": "Disables all options within the group.",
21821
+ "attribute": "disabled",
21822
+ "reflects": true
21823
+ },
21824
+ {
21825
+ "kind": "method",
21826
+ "name": "handleLabelChange"
21827
+ },
21828
+ {
21829
+ "kind": "method",
21830
+ "name": "handleDisabledChange"
21831
+ },
21832
+ {
21833
+ "kind": "method",
21834
+ "name": "handleSlotChange",
21835
+ "privacy": "private"
21836
+ },
21837
+ {
21838
+ "kind": "method",
21839
+ "name": "propagateDisabled",
21840
+ "privacy": "private"
21841
+ }
21842
+ ],
21843
+ "attributes": [
21844
+ {
21845
+ "name": "label",
21846
+ "type": {
21847
+ "text": "string"
21848
+ },
21849
+ "default": "''",
21850
+ "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
21851
+ "fieldName": "label"
21852
+ },
21853
+ {
21854
+ "name": "disabled",
21855
+ "type": {
21856
+ "text": "boolean"
21857
+ },
21858
+ "default": "false",
21859
+ "description": "Disables all options within the group.",
21860
+ "fieldName": "disabled"
21861
+ }
21862
+ ],
21863
+ "superclass": {
21864
+ "name": "ZincElement",
21865
+ "module": "/src/internal/zinc-element"
21866
+ },
21867
+ "summary": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.",
21868
+ "tagNameWithoutPrefix": "opt-group",
21869
+ "tagName": "zn-opt-group",
21870
+ "customElement": true,
21871
+ "jsDoc": "/**\n * @summary Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n * @documentation https://zinc.style/components/opt-group\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot for `<zn-option>` elements.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The group label element.\n */",
21872
+ "documentation": "https://zinc.style/components/opt-group",
21873
+ "status": "experimental",
21874
+ "since": "1.0"
21875
+ }
21876
+ ],
21877
+ "exports": [
21878
+ {
21879
+ "kind": "js",
21880
+ "name": "default",
21881
+ "declaration": {
21882
+ "name": "ZnOptGroup",
21883
+ "module": "components/opt-group/opt-group.js"
21884
+ }
21885
+ }
21886
+ ]
21887
+ },
21888
21888
  {
21889
21889
  "kind": "javascript-module",
21890
21890
  "path": "components/order-table/order-table.js",
@@ -38271,7 +38271,7 @@
38271
38271
  "package": {
38272
38272
  "name": "@kubex/zinc",
38273
38273
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
38274
- "version": "1.1.24",
38274
+ "version": "1.1.25",
38275
38275
  "author": "",
38276
38276
  "license": "MIT"
38277
38277
  }
@@ -1073,6 +1073,17 @@
1073
1073
  }
1074
1074
  ]
1075
1075
  },
1076
+ {
1077
+ "name": "zn-data-table-sort",
1078
+ "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.",
1079
+ "attributes": [],
1080
+ "references": [
1081
+ {
1082
+ "name": "Documentation",
1083
+ "url": "https://zinc.style/components/data-table-sort"
1084
+ }
1085
+ ]
1086
+ },
1076
1087
  {
1077
1088
  "name": "zn-data-table-search",
1078
1089
  "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.",
@@ -1115,17 +1126,6 @@
1115
1126
  }
1116
1127
  ]
1117
1128
  },
1118
- {
1119
- "name": "zn-data-table-sort",
1120
- "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.",
1121
- "attributes": [],
1122
- "references": [
1123
- {
1124
- "name": "Documentation",
1125
- "url": "https://zinc.style/components/data-table-sort"
1126
- }
1127
- ]
1128
- },
1129
1129
  {
1130
1130
  "name": "zn-datepicker",
1131
1131
  "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.",
@@ -2432,47 +2432,47 @@
2432
2432
  ]
2433
2433
  },
2434
2434
  {
2435
- "name": "zn-opt-group",
2436
- "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.",
2435
+ "name": "zn-option",
2436
+ "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.",
2437
2437
  "attributes": [
2438
2438
  {
2439
- "name": "label",
2440
- "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
2439
+ "name": "value",
2440
+ "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.",
2441
2441
  "values": []
2442
2442
  },
2443
2443
  {
2444
2444
  "name": "disabled",
2445
- "description": "Disables all options within the group.",
2445
+ "description": "Draws the option in a disabled state, preventing selection.",
2446
2446
  "values": []
2447
- }
2447
+ },
2448
+ { "name": "selected", "values": [] }
2448
2449
  ],
2449
2450
  "references": [
2450
2451
  {
2451
2452
  "name": "Documentation",
2452
- "url": "https://zinc.style/components/opt-group"
2453
+ "url": "https://zinc.style/components/option"
2453
2454
  }
2454
2455
  ]
2455
2456
  },
2456
2457
  {
2457
- "name": "zn-option",
2458
- "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.",
2458
+ "name": "zn-opt-group",
2459
+ "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.",
2459
2460
  "attributes": [
2460
2461
  {
2461
- "name": "value",
2462
- "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.",
2462
+ "name": "label",
2463
+ "description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
2463
2464
  "values": []
2464
2465
  },
2465
2466
  {
2466
2467
  "name": "disabled",
2467
- "description": "Draws the option in a disabled state, preventing selection.",
2468
+ "description": "Disables all options within the group.",
2468
2469
  "values": []
2469
- },
2470
- { "name": "selected", "values": [] }
2470
+ }
2471
2471
  ],
2472
2472
  "references": [
2473
2473
  {
2474
2474
  "name": "Documentation",
2475
- "url": "https://zinc.style/components/option"
2475
+ "url": "https://zinc.style/components/opt-group"
2476
2476
  }
2477
2477
  ]
2478
2478
  },