@kubex/zinc 1.1.160 → 1.1.162

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.
Files changed (34) hide show
  1. package/dist/custom-elements.json +1086 -892
  2. package/dist/vscode.html-custom-data.json +95 -87
  3. package/dist/web-types.json +192 -181
  4. package/dist/zn.d.ts +32 -9
  5. package/dist/zn.min.css +1 -1
  6. package/dist/zn.min.js +367 -330
  7. package/docs/pages/components/data-table.md +30 -20
  8. package/package.json +1 -1
  9. package/scss/themes/_dark.scss +1 -0
  10. package/scss/themes/_light.scss +1 -0
  11. package/src/components/button/button.component.ts +4 -0
  12. package/src/components/button/button.scss +5 -0
  13. package/src/components/button/button.test.ts +10 -0
  14. package/src/components/checkbox/checkbox.component.ts +10 -6
  15. package/src/components/checkbox/checkbox.scss +4 -8
  16. package/src/components/content-block/content-block.component.ts +2 -3
  17. package/src/components/data-table/data-table.component.ts +171 -76
  18. package/src/components/data-table/data-table.scss +16 -60
  19. package/src/components/dropdown/dropdown.component.ts +6 -3
  20. package/src/components/flow-builder/modules/flow-node/flow-node.test.ts +2 -3
  21. package/src/components/flow-builder/modules/flow-step-group/flow-step-group.test.ts +14 -8
  22. package/src/components/form-actions/form-actions.test.ts +4 -1
  23. package/src/components/form-group/form-group.component.ts +45 -15
  24. package/src/components/navbar/navbar.test.ts +3 -2
  25. package/src/components/page/page.component.ts +1 -1
  26. package/src/components/page/page.test.ts +16 -16
  27. package/src/components/panel/panel.scss +23 -0
  28. package/src/components/popup/popup.component.ts +8 -1
  29. package/src/components/sp/sp.test.ts +2 -2
  30. package/src/components/theme-editor/theme-editor.component.ts +3 -2
  31. package/src/components/theme-editor/theme-editor.test.ts +30 -28
  32. package/src/components/tooltip/tooltip.component.ts +10 -1
  33. package/src/components/tooltip/tooltip.scss +5 -0
  34. package/src/components/translation-group/translation-group.test.ts +0 -2
@@ -1905,6 +1905,15 @@
1905
1905
  "description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
1906
1906
  "attribute": "label"
1907
1907
  },
1908
+ {
1909
+ "kind": "field",
1910
+ "name": "pressed",
1911
+ "type": {
1912
+ "text": "'true' | 'false' | 'mixed'"
1913
+ },
1914
+ "description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
1915
+ "attribute": "aria-pressed"
1916
+ },
1908
1917
  {
1909
1918
  "kind": "field",
1910
1919
  "name": "autoClick",
@@ -2367,6 +2376,14 @@
2367
2376
  "description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
2368
2377
  "fieldName": "label"
2369
2378
  },
2379
+ {
2380
+ "name": "aria-pressed",
2381
+ "type": {
2382
+ "text": "'true' | 'false' | 'mixed'"
2383
+ },
2384
+ "description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
2385
+ "fieldName": "pressed"
2386
+ },
2370
2387
  {
2371
2388
  "name": "auto-click",
2372
2389
  "type": {
@@ -4541,7 +4558,7 @@
4541
4558
  "name": "unchecked-icon"
4542
4559
  },
4543
4560
  {
4544
- "description": "The indeterminate icon, an `<zn-icon>` element.",
4561
+ "description": "The indeterminate icon, an `<svg>` element.",
4545
4562
  "name": "indeterminate-icon"
4546
4563
  },
4547
4564
  {
@@ -5326,7 +5343,7 @@
5326
5343
  "tagNameWithoutPrefix": "checkbox",
5327
5344
  "tagName": "zn-checkbox",
5328
5345
  "customElement": true,
5329
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot image - Replaces the built-in image used by contained checkboxes.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart unchecked-icon - The unchecked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<zn-icon>` element.\n * @csspart image-container - The wrapper around the built-in image or image slot.\n * @csspart image - The built-in image.\n * @csspart card-title - The title inside a selection card.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n *\n * @cssproperty --zn-selection-card-image-width - Width of the built-in card image.\n * @cssproperty --zn-selection-card-image-height - Height of the built-in card image.\n * @cssproperty --zn-selection-card-min-height - Minimum height of a contained checkbox with an image.\n * @cssproperty --zn-selection-card-content-min-width - Width the card text keeps before it wraps below the image.\n * @cssproperty --zn-selection-card-title-font-size - Font size of a selection card title.\n * @cssproperty --zn-selection-card-padding - Equal inset around the contents of a selection card.\n * @cssproperty --zn-selection-card-gap - Space between the image, title, and indicator gutter.\n * @cssproperty --zn-selection-card-control-offset - Distance between a positioned control and the card edge.\n * @cssproperty --zn-selection-card-border-radius - Corner radius of a contained container.\n */",
5346
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot image - Replaces the built-in image used by contained checkboxes.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart unchecked-icon - The unchecked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<svg>` element.\n * @csspart image-container - The wrapper around the built-in image or image slot.\n * @csspart image - The built-in image.\n * @csspart card-title - The title inside a selection card.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n *\n * @cssproperty --zn-selection-card-image-width - Width of the built-in card image.\n * @cssproperty --zn-selection-card-image-height - Height of the built-in card image.\n * @cssproperty --zn-selection-card-min-height - Minimum height of a contained checkbox with an image.\n * @cssproperty --zn-selection-card-content-min-width - Width the card text keeps before it wraps below the image.\n * @cssproperty --zn-selection-card-title-font-size - Font size of a selection card title.\n * @cssproperty --zn-selection-card-padding - Equal inset around the contents of a selection card.\n * @cssproperty --zn-selection-card-gap - Space between the image, title, and indicator gutter.\n * @cssproperty --zn-selection-card-control-offset - Distance between a positioned control and the card edge.\n * @cssproperty --zn-selection-card-border-radius - Corner radius of a contained container.\n */",
5330
5347
  "documentation": "https://zinc.style/components/checkbox",
5331
5348
  "status": "experimental",
5332
5349
  "since": "1.0",
@@ -8713,13 +8730,17 @@
8713
8730
  "name": "filter-top"
8714
8731
  },
8715
8732
  {
8716
- "description": "Slot for delete action button, shown beside the caption once rows are selected.",
8733
+ "description": "Slot for delete action button, shown in the header once rows are selected.",
8717
8734
  "name": "delete-action"
8718
8735
  },
8719
8736
  {
8720
- "description": "Slot for modify action button, shown beside the caption once rows are selected.",
8737
+ "description": "Slot for modify action button, shown in the header once rows are selected.",
8721
8738
  "name": "modify-action"
8722
8739
  },
8740
+ {
8741
+ "description": "`zn-button` or `zn-confirm` elements listed in a header menu, enabled once rows are selected.",
8742
+ "name": "actions"
8743
+ },
8723
8744
  {
8724
8745
  "description": "Slot for create action button, at the end of the header's right-hand group.",
8725
8746
  "name": "create-action"
@@ -8938,14 +8959,6 @@
8938
8959
  "default": "\"data_alert\"",
8939
8960
  "attribute": "empty-state-icon"
8940
8961
  },
8941
- {
8942
- "kind": "field",
8943
- "name": "hideCheckboxes",
8944
- "type": {
8945
- "text": "boolean"
8946
- },
8947
- "attribute": "hide-checkboxes"
8948
- },
8949
8962
  {
8950
8963
  "kind": "field",
8951
8964
  "name": "filters",
@@ -9020,13 +9033,6 @@
9020
9033
  "default": "10",
9021
9034
  "attribute": "per-page-size"
9022
9035
  },
9023
- {
9024
- "kind": "field",
9025
- "name": "selectAllButton",
9026
- "type": {
9027
- "text": "ZnButton"
9028
- }
9029
- },
9030
9036
  {
9031
9037
  "kind": "field",
9032
9038
  "name": "_initialLoad",
@@ -9169,7 +9175,7 @@
9169
9175
  "kind": "field",
9170
9176
  "name": "hasSlotController",
9171
9177
  "privacy": "private",
9172
- "default": "new HasSlotController( this, '[default]', ActionSlots.search.valueOf(), ActionSlots.delete.valueOf(), ActionSlots.modify.valueOf(), ActionSlots.create.valueOf(), ActionSlots.filter.valueOf(), ActionSlots.sort.valueOf(), ActionSlots.inputs.valueOf(), 'empty-state', 'no-results' )"
9178
+ "default": "new HasSlotController( this, '[default]', ActionSlots.search.valueOf(), ActionSlots.delete.valueOf(), ActionSlots.modify.valueOf(), ActionSlots.actions.valueOf(), ActionSlots.create.valueOf(), ActionSlots.filter.valueOf(), ActionSlots.sort.valueOf(), ActionSlots.inputs.valueOf(), 'empty-state', 'no-results' )"
9173
9179
  },
9174
9180
  {
9175
9181
  "kind": "field",
@@ -9494,6 +9500,25 @@
9494
9500
  }
9495
9501
  ]
9496
9502
  },
9503
+ {
9504
+ "kind": "method",
9505
+ "name": "tableContent",
9506
+ "privacy": "private",
9507
+ "parameters": [
9508
+ {
9509
+ "name": "content",
9510
+ "type": {
9511
+ "text": "TemplateResult"
9512
+ }
9513
+ },
9514
+ {
9515
+ "name": "pending",
9516
+ "type": {
9517
+ "text": "boolean"
9518
+ }
9519
+ }
9520
+ ]
9521
+ },
9497
9522
  {
9498
9523
  "kind": "method",
9499
9524
  "name": "getTableHeader"
@@ -9607,6 +9632,66 @@
9607
9632
  "kind": "method",
9608
9633
  "name": "getActions"
9609
9634
  },
9635
+ {
9636
+ "kind": "method",
9637
+ "name": "getActionsMenu",
9638
+ "privacy": "private"
9639
+ },
9640
+ {
9641
+ "kind": "method",
9642
+ "name": "actionTrigger",
9643
+ "privacy": "private",
9644
+ "return": {
9645
+ "type": {
9646
+ "text": "HTMLElement | null"
9647
+ }
9648
+ },
9649
+ "parameters": [
9650
+ {
9651
+ "name": "item",
9652
+ "type": {
9653
+ "text": "HTMLElement"
9654
+ }
9655
+ }
9656
+ ]
9657
+ },
9658
+ {
9659
+ "kind": "method",
9660
+ "name": "actionLabel",
9661
+ "privacy": "private",
9662
+ "return": {
9663
+ "type": {
9664
+ "text": "string"
9665
+ }
9666
+ },
9667
+ "parameters": [
9668
+ {
9669
+ "name": "item",
9670
+ "type": {
9671
+ "text": "HTMLElement"
9672
+ }
9673
+ },
9674
+ {
9675
+ "name": "trigger",
9676
+ "type": {
9677
+ "text": "HTMLElement | null"
9678
+ }
9679
+ }
9680
+ ]
9681
+ },
9682
+ {
9683
+ "kind": "method",
9684
+ "name": "runAction",
9685
+ "privacy": "private",
9686
+ "parameters": [
9687
+ {
9688
+ "name": "item",
9689
+ "type": {
9690
+ "text": "HTMLElement"
9691
+ }
9692
+ }
9693
+ ]
9694
+ },
9610
9695
  {
9611
9696
  "kind": "method",
9612
9697
  "name": "goToPage",
@@ -9650,14 +9735,7 @@
9650
9735
  {
9651
9736
  "kind": "method",
9652
9737
  "name": "selectAll",
9653
- "parameters": [
9654
- {
9655
- "name": "event",
9656
- "type": {
9657
- "text": "Event"
9658
- }
9659
- }
9660
- ]
9738
+ "description": "Selects every row on the page, or clears the selection when every row is already selected."
9661
9739
  },
9662
9740
  {
9663
9741
  "kind": "method",
@@ -9673,16 +9751,21 @@
9673
9751
  },
9674
9752
  {
9675
9753
  "kind": "method",
9676
- "name": "clearSelectedRows",
9754
+ "name": "toggleRowSelection",
9755
+ "privacy": "private",
9677
9756
  "parameters": [
9678
9757
  {
9679
- "name": "event",
9758
+ "name": "row",
9680
9759
  "type": {
9681
- "text": "Event"
9760
+ "text": "Row"
9682
9761
  }
9683
9762
  }
9684
9763
  ]
9685
9764
  },
9765
+ {
9766
+ "kind": "method",
9767
+ "name": "clearSelectedRows"
9768
+ },
9686
9769
  {
9687
9770
  "kind": "method",
9688
9771
  "name": "updateSort",
@@ -9765,6 +9848,43 @@
9765
9848
  }
9766
9849
  ]
9767
9850
  },
9851
+ {
9852
+ "kind": "method",
9853
+ "name": "sortState",
9854
+ "privacy": "private",
9855
+ "return": {
9856
+ "type": {
9857
+ "text": "'ascending' | 'descending' | 'none'"
9858
+ }
9859
+ },
9860
+ "parameters": [
9861
+ {
9862
+ "name": "key",
9863
+ "type": {
9864
+ "text": "string"
9865
+ }
9866
+ }
9867
+ ]
9868
+ },
9869
+ {
9870
+ "kind": "method",
9871
+ "name": "handleSortKeyDown",
9872
+ "privacy": "private",
9873
+ "parameters": [
9874
+ {
9875
+ "name": "e",
9876
+ "type": {
9877
+ "text": "KeyboardEvent"
9878
+ }
9879
+ },
9880
+ {
9881
+ "name": "key",
9882
+ "type": {
9883
+ "text": "string"
9884
+ }
9885
+ }
9886
+ ]
9887
+ },
9768
9888
  {
9769
9889
  "kind": "method",
9770
9890
  "name": "renderCellBody",
@@ -9869,6 +9989,58 @@
9869
9989
  }
9870
9990
  ]
9871
9991
  },
9992
+ {
9993
+ "kind": "method",
9994
+ "name": "pruneSelectedRows",
9995
+ "privacy": "private"
9996
+ },
9997
+ {
9998
+ "kind": "method",
9999
+ "name": "isSelectable",
10000
+ "privacy": "private",
10001
+ "return": {
10002
+ "type": {
10003
+ "text": "boolean"
10004
+ }
10005
+ }
10006
+ },
10007
+ {
10008
+ "kind": "method",
10009
+ "name": "renderSelectAllCheckbox",
10010
+ "privacy": "private"
10011
+ },
10012
+ {
10013
+ "kind": "method",
10014
+ "name": "renderRowCheckbox",
10015
+ "privacy": "private",
10016
+ "parameters": [
10017
+ {
10018
+ "name": "row",
10019
+ "type": {
10020
+ "text": "Row"
10021
+ }
10022
+ }
10023
+ ]
10024
+ },
10025
+ {
10026
+ "kind": "method",
10027
+ "name": "handleCheckboxCellClick",
10028
+ "privacy": "private",
10029
+ "parameters": [
10030
+ {
10031
+ "name": "e",
10032
+ "type": {
10033
+ "text": "Event"
10034
+ }
10035
+ },
10036
+ {
10037
+ "name": "row",
10038
+ "type": {
10039
+ "text": "Row"
10040
+ }
10041
+ }
10042
+ ]
10043
+ },
9872
10044
  {
9873
10045
  "kind": "method",
9874
10046
  "name": "getRows",
@@ -9902,11 +10074,6 @@
9902
10074
  "name": "updateKeys",
9903
10075
  "privacy": "private"
9904
10076
  },
9905
- {
9906
- "kind": "method",
9907
- "name": "updateSelectAll",
9908
- "privacy": "private"
9909
- },
9910
10077
  {
9911
10078
  "kind": "method",
9912
10079
  "name": "updateModifyKeys",
@@ -10154,13 +10321,6 @@
10154
10321
  "default": "\"data_alert\"",
10155
10322
  "fieldName": "emptyStateIcon"
10156
10323
  },
10157
- {
10158
- "name": "hide-checkboxes",
10159
- "type": {
10160
- "text": "boolean"
10161
- },
10162
- "fieldName": "hideCheckboxes"
10163
- },
10164
10324
  {
10165
10325
  "name": "filters",
10166
10326
  "type": {
@@ -10236,7 +10396,7 @@
10236
10396
  "tagNameWithoutPrefix": "data-table",
10237
10397
  "tagName": "zn-data-table",
10238
10398
  "customElement": true,
10239
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-alert\n * @dependency zn-button\n * @dependency zn-empty-state\n * @dependency zn-chip\n * @dependency zn-hover-container\n * @dependency zn-dropdown\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-panel\n * @dependency zn-button-group\n * @dependency zn-confirm\n * @dependency zn-skeleton\n * @dependency zn-data-table-search\n *\n * @slot - The default slot.\n * @slot search - Slot for search component, in the header's right-hand group.\n * @slot sort - Slot for sort component, in the header's right-hand group.\n * @slot filter - Slot for filter component, in the header's right-hand group.\n * @slot filter-top - Slot for a top-level filter component, rendered above the table's panel.\n * @slot delete-action - Slot for delete action button, shown beside the caption once rows are selected.\n * @slot modify-action - Slot for modify action button, shown beside the caption once rows are selected.\n * @slot create-action - Slot for create action button, at the end of the header's right-hand group.\n * @slot inputs - Slot for additional input controls.\n * @slot empty-state - Slot for custom empty state.\n * @slot no-results - Slot for a custom no-results state, shown when a search on a no-initial-load table returns no rows.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
10399
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-alert\n * @dependency zn-button\n * @dependency zn-empty-state\n * @dependency zn-chip\n * @dependency zn-hover-container\n * @dependency zn-dropdown\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-panel\n * @dependency zn-button-group\n * @dependency zn-confirm\n * @dependency zn-skeleton\n * @dependency zn-data-table-search\n *\n * @slot - The default slot.\n * @slot search - Slot for search component, in the header's right-hand group.\n * @slot sort - Slot for sort component, in the header's right-hand group.\n * @slot filter - Slot for filter component, in the header's right-hand group.\n * @slot filter-top - Slot for a top-level filter component, rendered above the table's panel.\n * @slot delete-action - Slot for delete action button, shown in the header once rows are selected.\n * @slot modify-action - Slot for modify action button, shown in the header once rows are selected.\n * @slot actions - `zn-button` or `zn-confirm` elements listed in a header menu, enabled once rows are selected.\n * @slot create-action - Slot for create action button, at the end of the header's right-hand group.\n * @slot inputs - Slot for additional input controls.\n * @slot empty-state - Slot for custom empty state.\n * @slot no-results - Slot for a custom no-results state, shown when a search on a no-initial-load table returns no rows.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
10240
10400
  "documentation": "https://zinc.style/components/data-table",
10241
10401
  "status": "experimental",
10242
10402
  "since": "1.0",
@@ -17790,6 +17950,15 @@
17790
17950
  "privacy": "private",
17791
17951
  "default": "null"
17792
17952
  },
17953
+ {
17954
+ "kind": "field",
17955
+ "name": "observedAncestors",
17956
+ "type": {
17957
+ "text": "Set<HTMLElement>"
17958
+ },
17959
+ "privacy": "private",
17960
+ "default": "new Set()"
17961
+ },
17793
17962
  {
17794
17963
  "kind": "field",
17795
17964
  "name": "labelColumn",
@@ -17812,7 +17981,7 @@
17812
17981
  }
17813
17982
  }
17814
17983
  ],
17815
- "description": "Coalesces scroll and resize work into one frame, and out of the ResizeObserver callback."
17984
+ "description": "Coalesces scroll and resize work into one frame."
17816
17985
  },
17817
17986
  {
17818
17987
  "kind": "method",
@@ -17845,6 +18014,26 @@
17845
18014
  "privacy": "private",
17846
18015
  "description": "Drops everything this component has put on the label or on the scroller."
17847
18016
  },
18017
+ {
18018
+ "kind": "method",
18019
+ "name": "observeAncestors",
18020
+ "privacy": "private",
18021
+ "parameters": [
18022
+ {
18023
+ "name": "from",
18024
+ "type": {
18025
+ "text": "HTMLElement"
18026
+ }
18027
+ },
18028
+ {
18029
+ "name": "scroller",
18030
+ "type": {
18031
+ "text": "HTMLElement | null"
18032
+ }
18033
+ }
18034
+ ],
18035
+ "description": "The label's travel is measured against the scroller, so content growing elsewhere in it — a sibling group revealing\nmore fields — leaves the label at a stale position until something re-measures. Any such growth resizes a box\nbetween this group and the scroller."
18036
+ },
17848
18037
  {
17849
18038
  "kind": "method",
17850
18039
  "name": "scrollTarget",
@@ -35843,22 +36032,42 @@
35843
36032
  },
35844
36033
  {
35845
36034
  "kind": "javascript-module",
35846
- "path": "components/reveal/reveal.js",
36035
+ "path": "components/rating/rating.js",
35847
36036
  "declarations": [
35848
36037
  {
35849
36038
  "kind": "class",
35850
36039
  "description": "",
35851
- "name": "ZnReveal",
36040
+ "name": "ZnRating",
35852
36041
  "cssProperties": [
35853
36042
  {
35854
36043
  "description": "An example CSS custom property.",
35855
36044
  "name": "--example"
36045
+ },
36046
+ {
36047
+ "description": "The color of the preview value.",
36048
+ "name": "--preview-color"
36049
+ },
36050
+ {
36051
+ "description": "The font size of the preview value.",
36052
+ "name": "--preview-size"
35856
36053
  }
35857
36054
  ],
35858
36055
  "cssParts": [
36056
+ {
36057
+ "description": "The form control that wraps the symbols and help text.",
36058
+ "name": "form-control"
36059
+ },
36060
+ {
36061
+ "description": "The help text's wrapper.",
36062
+ "name": "form-control-help-text"
36063
+ },
35859
36064
  {
35860
36065
  "description": "The component's base wrapper.",
35861
36066
  "name": "base"
36067
+ },
36068
+ {
36069
+ "description": "The value shown next to the symbols when `preview` is enabled.",
36070
+ "name": "preview"
35862
36071
  }
35863
36072
  ],
35864
36073
  "slots": [
@@ -35869,110 +36078,399 @@
35869
36078
  {
35870
36079
  "description": "An example slot.",
35871
36080
  "name": "example"
36081
+ },
36082
+ {
36083
+ "description": "Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.",
36084
+ "name": "help-text"
35872
36085
  }
35873
36086
  ],
35874
36087
  "members": [
35875
36088
  {
35876
36089
  "kind": "field",
35877
- "name": "duration",
36090
+ "name": "formControlController",
36091
+ "privacy": "private",
36092
+ "readonly": true,
36093
+ "default": "new FormControlController(this, { assumeInteractionOn: ['zn-blur', 'zn-input'] })"
36094
+ },
36095
+ {
36096
+ "kind": "field",
36097
+ "name": "hasSlotController",
36098
+ "privacy": "private",
36099
+ "readonly": true,
36100
+ "default": "new HasSlotController(this, 'help-text')"
36101
+ },
36102
+ {
36103
+ "kind": "field",
36104
+ "name": "rating",
36105
+ "type": {
36106
+ "text": "HTMLElement"
36107
+ }
36108
+ },
36109
+ {
36110
+ "kind": "field",
36111
+ "name": "symbols",
36112
+ "type": {
36113
+ "text": "HTMLElement"
36114
+ }
36115
+ },
36116
+ {
36117
+ "kind": "field",
36118
+ "name": "hoverValue",
35878
36119
  "type": {
35879
36120
  "text": "number"
35880
36121
  },
35881
- "default": "2000",
35882
- "attribute": "duration"
36122
+ "privacy": "private",
36123
+ "default": "0"
35883
36124
  },
35884
36125
  {
35885
36126
  "kind": "field",
35886
- "name": "initial",
36127
+ "name": "isHovering",
36128
+ "type": {
36129
+ "text": "boolean"
36130
+ },
36131
+ "privacy": "private",
36132
+ "default": "false"
36133
+ },
36134
+ {
36135
+ "kind": "field",
36136
+ "name": "label",
35887
36137
  "type": {
35888
36138
  "text": "string"
35889
36139
  },
35890
- "default": "''",
35891
- "attribute": "initial"
36140
+ "attribute": "label"
35892
36141
  },
35893
36142
  {
35894
36143
  "kind": "field",
35895
- "name": "revealed",
36144
+ "name": "helpText",
35896
36145
  "type": {
35897
36146
  "text": "string"
35898
36147
  },
35899
36148
  "default": "''",
35900
- "attribute": "revealed"
36149
+ "description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
36150
+ "attribute": "help-text"
35901
36151
  },
35902
36152
  {
35903
36153
  "kind": "field",
35904
- "name": "hideDelay",
36154
+ "name": "name",
36155
+ "type": {
36156
+ "text": "string"
36157
+ },
36158
+ "attribute": "name"
36159
+ },
36160
+ {
36161
+ "kind": "field",
36162
+ "name": "value",
35905
36163
  "type": {
35906
36164
  "text": "number"
35907
36165
  },
35908
- "default": "150",
35909
- "attribute": "hide-delay"
36166
+ "default": "0",
36167
+ "attribute": "value"
35910
36168
  },
35911
36169
  {
35912
36170
  "kind": "field",
35913
- "name": "noToggle",
36171
+ "name": "defaultValue",
36172
+ "type": {
36173
+ "text": "number"
36174
+ },
36175
+ "default": "0",
36176
+ "description": "The default value of the form control. Primarily used for resetting the form control."
36177
+ },
36178
+ {
36179
+ "kind": "field",
36180
+ "name": "max",
36181
+ "type": {
36182
+ "text": "number"
36183
+ },
36184
+ "default": "5",
36185
+ "attribute": "max"
36186
+ },
36187
+ {
36188
+ "kind": "field",
36189
+ "name": "precision",
36190
+ "type": {
36191
+ "text": "number"
36192
+ },
36193
+ "default": "1",
36194
+ "attribute": "precision"
36195
+ },
36196
+ {
36197
+ "kind": "field",
36198
+ "name": "readonly",
35914
36199
  "type": {
35915
36200
  "text": "boolean"
35916
36201
  },
35917
36202
  "default": "false",
35918
- "description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
35919
- "attribute": "no-toggle"
36203
+ "attribute": "readonly"
35920
36204
  },
35921
36205
  {
35922
36206
  "kind": "field",
35923
- "name": "_isMasked",
36207
+ "name": "disabled",
35924
36208
  "type": {
35925
36209
  "text": "boolean"
35926
36210
  },
35927
- "privacy": "private",
35928
- "description": "Nothing is hidden when the revealed value is what's already on show, so there is nothing to reveal.",
35929
- "readonly": true
36211
+ "default": "false",
36212
+ "attribute": "disabled"
35930
36213
  },
35931
36214
  {
35932
36215
  "kind": "field",
35933
- "name": "_isRevealed",
36216
+ "name": "preview",
35934
36217
  "type": {
35935
36218
  "text": "boolean"
35936
36219
  },
35937
- "privacy": "private",
35938
- "default": "false"
36220
+ "default": "false",
36221
+ "description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
36222
+ "attribute": "preview"
35939
36223
  },
35940
36224
  {
35941
36225
  "kind": "field",
35942
- "name": "_isToggled",
36226
+ "name": "size",
35943
36227
  "type": {
35944
- "text": "boolean"
36228
+ "text": "'small' | 'medium' | 'large'"
35945
36229
  },
35946
- "privacy": "private",
35947
- "default": "false"
36230
+ "default": "'medium'",
36231
+ "attribute": "size"
35948
36232
  },
35949
36233
  {
35950
36234
  "kind": "field",
35951
- "name": "_hideTimer",
36235
+ "name": "getSymbol",
35952
36236
  "type": {
35953
- "text": "ReturnType<typeof setTimeout> | undefined"
36237
+ "text": "(value: number) => string"
35954
36238
  },
35955
- "privacy": "private"
36239
+ "attribute": "getSymbol"
36240
+ },
36241
+ {
36242
+ "kind": "field",
36243
+ "name": "validity",
36244
+ "description": "Gets the validity state object",
36245
+ "readonly": true
36246
+ },
36247
+ {
36248
+ "kind": "field",
36249
+ "name": "validationMessage",
36250
+ "description": "Gets the validation message",
36251
+ "readonly": true
35956
36252
  },
35957
36253
  {
35958
36254
  "kind": "method",
35959
- "name": "_clearHideTimer",
36255
+ "name": "checkValidity",
36256
+ "return": {
36257
+ "type": {
36258
+ "text": "boolean"
36259
+ }
36260
+ },
36261
+ "description": "Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
36262
+ },
36263
+ {
36264
+ "kind": "method",
36265
+ "name": "getForm",
36266
+ "return": {
36267
+ "type": {
36268
+ "text": "HTMLFormElement | null"
36269
+ }
36270
+ },
36271
+ "description": "Gets the associated form, if one exists."
36272
+ },
36273
+ {
36274
+ "kind": "method",
36275
+ "name": "reportValidity",
36276
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
36277
+ },
36278
+ {
36279
+ "kind": "method",
36280
+ "name": "setCustomValidity",
36281
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
36282
+ },
36283
+ {
36284
+ "kind": "method",
36285
+ "name": "_roundToPrecision",
36286
+ "privacy": "private",
36287
+ "return": {
36288
+ "type": {
36289
+ "text": "number"
36290
+ }
36291
+ },
36292
+ "parameters": [
36293
+ {
36294
+ "name": "value",
36295
+ "type": {
36296
+ "text": "number"
36297
+ }
36298
+ },
36299
+ {
36300
+ "name": "precision",
36301
+ "type": {
36302
+ "text": "number"
36303
+ }
36304
+ }
36305
+ ]
36306
+ },
36307
+ {
36308
+ "kind": "method",
36309
+ "name": "_getValueFromXCoordinate",
36310
+ "privacy": "private",
36311
+ "return": {
36312
+ "type": {
36313
+ "text": "number"
36314
+ }
36315
+ },
36316
+ "parameters": [
36317
+ {
36318
+ "name": "coordinate",
36319
+ "type": {
36320
+ "text": "number"
36321
+ }
36322
+ }
36323
+ ]
36324
+ },
36325
+ {
36326
+ "kind": "method",
36327
+ "name": "_formatValue",
36328
+ "privacy": "private",
36329
+ "return": {
36330
+ "type": {
36331
+ "text": "string"
36332
+ }
36333
+ },
36334
+ "parameters": [
36335
+ {
36336
+ "name": "value",
36337
+ "type": {
36338
+ "text": "number"
36339
+ }
36340
+ }
36341
+ ]
36342
+ },
36343
+ {
36344
+ "kind": "method",
36345
+ "name": "_getValueFromMousePosition",
36346
+ "privacy": "private",
36347
+ "return": {
36348
+ "type": {
36349
+ "text": "number"
36350
+ }
36351
+ },
36352
+ "parameters": [
36353
+ {
36354
+ "name": "event",
36355
+ "type": {
36356
+ "text": "MouseEvent"
36357
+ }
36358
+ }
36359
+ ]
36360
+ },
36361
+ {
36362
+ "kind": "method",
36363
+ "name": "_getValueFromTouchPosition",
36364
+ "privacy": "private",
36365
+ "return": {
36366
+ "type": {
36367
+ "text": "number"
36368
+ }
36369
+ },
36370
+ "parameters": [
36371
+ {
36372
+ "name": "event",
36373
+ "type": {
36374
+ "text": "TouchEvent"
36375
+ }
36376
+ }
36377
+ ]
36378
+ },
36379
+ {
36380
+ "kind": "method",
36381
+ "name": "_setValue",
36382
+ "privacy": "private",
36383
+ "parameters": [
36384
+ {
36385
+ "name": "value",
36386
+ "type": {
36387
+ "text": "number"
36388
+ }
36389
+ }
36390
+ ]
36391
+ },
36392
+ {
36393
+ "kind": "method",
36394
+ "name": "_handleClick",
36395
+ "privacy": "private",
36396
+ "parameters": [
36397
+ {
36398
+ "name": "event",
36399
+ "type": {
36400
+ "text": "MouseEvent"
36401
+ }
36402
+ }
36403
+ ]
36404
+ },
36405
+ {
36406
+ "kind": "method",
36407
+ "name": "_handleMouseEnter",
36408
+ "privacy": "private",
36409
+ "parameters": [
36410
+ {
36411
+ "name": "event",
36412
+ "type": {
36413
+ "text": "MouseEvent"
36414
+ }
36415
+ }
36416
+ ]
36417
+ },
36418
+ {
36419
+ "kind": "method",
36420
+ "name": "_handleMouseMove",
36421
+ "privacy": "private",
36422
+ "parameters": [
36423
+ {
36424
+ "name": "event",
36425
+ "type": {
36426
+ "text": "MouseEvent"
36427
+ }
36428
+ }
36429
+ ]
36430
+ },
36431
+ {
36432
+ "kind": "method",
36433
+ "name": "_handleMouseLeave",
35960
36434
  "privacy": "private"
35961
36435
  },
35962
36436
  {
35963
36437
  "kind": "method",
35964
- "name": "handleToggleReveal",
35965
- "privacy": "protected"
36438
+ "name": "_handleTouchStart",
36439
+ "privacy": "private",
36440
+ "parameters": [
36441
+ {
36442
+ "name": "event",
36443
+ "type": {
36444
+ "text": "TouchEvent"
36445
+ }
36446
+ }
36447
+ ]
35966
36448
  },
35967
36449
  {
35968
36450
  "kind": "method",
35969
- "name": "handleMouseEnter",
35970
- "privacy": "protected"
36451
+ "name": "_handleTouchMove",
36452
+ "privacy": "private",
36453
+ "parameters": [
36454
+ {
36455
+ "name": "event",
36456
+ "type": {
36457
+ "text": "TouchEvent"
36458
+ }
36459
+ }
36460
+ ]
35971
36461
  },
35972
36462
  {
35973
36463
  "kind": "method",
35974
- "name": "handleMouseLeave",
35975
- "privacy": "protected"
36464
+ "name": "_handleTouchEnd",
36465
+ "privacy": "private",
36466
+ "parameters": [
36467
+ {
36468
+ "name": "event",
36469
+ "type": {
36470
+ "text": "TouchEvent"
36471
+ }
36472
+ }
36473
+ ]
35976
36474
  }
35977
36475
  ],
35978
36476
  "events": [
@@ -35983,45 +36481,91 @@
35983
36481
  ],
35984
36482
  "attributes": [
35985
36483
  {
35986
- "name": "duration",
36484
+ "name": "label",
35987
36485
  "type": {
35988
- "text": "number"
36486
+ "text": "string"
35989
36487
  },
35990
- "default": "2000",
35991
- "fieldName": "duration"
36488
+ "fieldName": "label"
35992
36489
  },
35993
36490
  {
35994
- "name": "initial",
36491
+ "name": "help-text",
35995
36492
  "type": {
35996
36493
  "text": "string"
35997
36494
  },
35998
36495
  "default": "''",
35999
- "fieldName": "initial"
36496
+ "description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
36497
+ "fieldName": "helpText"
36000
36498
  },
36001
36499
  {
36002
- "name": "revealed",
36500
+ "name": "name",
36003
36501
  "type": {
36004
36502
  "text": "string"
36005
36503
  },
36006
- "default": "''",
36007
- "fieldName": "revealed"
36504
+ "fieldName": "name"
36008
36505
  },
36009
36506
  {
36010
- "name": "hide-delay",
36507
+ "name": "value",
36011
36508
  "type": {
36012
36509
  "text": "number"
36013
36510
  },
36014
- "default": "150",
36015
- "fieldName": "hideDelay"
36511
+ "default": "0",
36512
+ "fieldName": "value"
36016
36513
  },
36017
36514
  {
36018
- "name": "no-toggle",
36515
+ "name": "max",
36516
+ "type": {
36517
+ "text": "number"
36518
+ },
36519
+ "default": "5",
36520
+ "fieldName": "max"
36521
+ },
36522
+ {
36523
+ "name": "precision",
36524
+ "type": {
36525
+ "text": "number"
36526
+ },
36527
+ "default": "1",
36528
+ "fieldName": "precision"
36529
+ },
36530
+ {
36531
+ "name": "readonly",
36019
36532
  "type": {
36020
36533
  "text": "boolean"
36021
36534
  },
36022
36535
  "default": "false",
36023
- "description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
36024
- "fieldName": "noToggle"
36536
+ "fieldName": "readonly"
36537
+ },
36538
+ {
36539
+ "name": "disabled",
36540
+ "type": {
36541
+ "text": "boolean"
36542
+ },
36543
+ "default": "false",
36544
+ "fieldName": "disabled"
36545
+ },
36546
+ {
36547
+ "name": "preview",
36548
+ "type": {
36549
+ "text": "boolean"
36550
+ },
36551
+ "default": "false",
36552
+ "description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
36553
+ "fieldName": "preview"
36554
+ },
36555
+ {
36556
+ "name": "size",
36557
+ "type": {
36558
+ "text": "'small' | 'medium' | 'large'"
36559
+ },
36560
+ "default": "'medium'",
36561
+ "fieldName": "size"
36562
+ },
36563
+ {
36564
+ "name": "getSymbol",
36565
+ "type": {
36566
+ "text": "(value: number) => string"
36567
+ },
36568
+ "fieldName": "getSymbol"
36025
36569
  }
36026
36570
  ],
36027
36571
  "superclass": {
@@ -36029,11 +36573,11 @@
36029
36573
  "module": "/src/internal/zinc-element"
36030
36574
  },
36031
36575
  "summary": "Short summary of the component's intended use.",
36032
- "tagNameWithoutPrefix": "reveal",
36033
- "tagName": "zn-reveal",
36576
+ "tagNameWithoutPrefix": "rating",
36577
+ "tagName": "zn-rating",
36034
36578
  "customElement": true,
36035
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/reveal\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 * @usage\n * ```html\n * <zn-reveal duration=\"3000\"\n * initial=\"******@hotmail.com\"\n * revealed=\"john.doe@hotmail.com\" toggle>\n * </zn-reveal>\n * ```\n *\n * @cssproperty --example - An example CSS custom property.\n */",
36036
- "documentation": "https://zinc.style/components/reveal",
36579
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/rating\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 * @slot help-text - Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart form-control - The form control that wraps the symbols and help text.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart preview - The value shown next to the symbols when `preview` is enabled.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --preview-color - The color of the preview value.\n * @cssproperty --preview-size - The font size of the preview value.\n */",
36580
+ "documentation": "https://zinc.style/components/rating",
36037
36581
  "status": "experimental",
36038
36582
  "since": "1.0",
36039
36583
  "dependencies": [
@@ -36046,8 +36590,8 @@
36046
36590
  "kind": "js",
36047
36591
  "name": "default",
36048
36592
  "declaration": {
36049
- "name": "ZnReveal",
36050
- "module": "components/reveal/reveal.js"
36593
+ "name": "ZnRating",
36594
+ "module": "components/rating/rating.js"
36051
36595
  }
36052
36596
  }
36053
36597
  ]
@@ -37874,42 +38418,22 @@
37874
38418
  },
37875
38419
  {
37876
38420
  "kind": "javascript-module",
37877
- "path": "components/rating/rating.js",
38421
+ "path": "components/reveal/reveal.js",
37878
38422
  "declarations": [
37879
38423
  {
37880
38424
  "kind": "class",
37881
38425
  "description": "",
37882
- "name": "ZnRating",
38426
+ "name": "ZnReveal",
37883
38427
  "cssProperties": [
37884
38428
  {
37885
38429
  "description": "An example CSS custom property.",
37886
38430
  "name": "--example"
37887
- },
37888
- {
37889
- "description": "The color of the preview value.",
37890
- "name": "--preview-color"
37891
- },
37892
- {
37893
- "description": "The font size of the preview value.",
37894
- "name": "--preview-size"
37895
38431
  }
37896
38432
  ],
37897
38433
  "cssParts": [
37898
- {
37899
- "description": "The form control that wraps the symbols and help text.",
37900
- "name": "form-control"
37901
- },
37902
- {
37903
- "description": "The help text's wrapper.",
37904
- "name": "form-control-help-text"
37905
- },
37906
38434
  {
37907
38435
  "description": "The component's base wrapper.",
37908
38436
  "name": "base"
37909
- },
37910
- {
37911
- "description": "The value shown next to the symbols when `preview` is enabled.",
37912
- "name": "preview"
37913
38437
  }
37914
38438
  ],
37915
38439
  "slots": [
@@ -37920,399 +38444,110 @@
37920
38444
  {
37921
38445
  "description": "An example slot.",
37922
38446
  "name": "example"
37923
- },
37924
- {
37925
- "description": "Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.",
37926
- "name": "help-text"
37927
38447
  }
37928
38448
  ],
37929
38449
  "members": [
37930
38450
  {
37931
38451
  "kind": "field",
37932
- "name": "formControlController",
37933
- "privacy": "private",
37934
- "readonly": true,
37935
- "default": "new FormControlController(this, { assumeInteractionOn: ['zn-blur', 'zn-input'] })"
37936
- },
37937
- {
37938
- "kind": "field",
37939
- "name": "hasSlotController",
37940
- "privacy": "private",
37941
- "readonly": true,
37942
- "default": "new HasSlotController(this, 'help-text')"
37943
- },
37944
- {
37945
- "kind": "field",
37946
- "name": "rating",
37947
- "type": {
37948
- "text": "HTMLElement"
37949
- }
37950
- },
37951
- {
37952
- "kind": "field",
37953
- "name": "symbols",
37954
- "type": {
37955
- "text": "HTMLElement"
37956
- }
37957
- },
37958
- {
37959
- "kind": "field",
37960
- "name": "hoverValue",
38452
+ "name": "duration",
37961
38453
  "type": {
37962
38454
  "text": "number"
37963
38455
  },
37964
- "privacy": "private",
37965
- "default": "0"
37966
- },
37967
- {
37968
- "kind": "field",
37969
- "name": "isHovering",
37970
- "type": {
37971
- "text": "boolean"
37972
- },
37973
- "privacy": "private",
37974
- "default": "false"
37975
- },
37976
- {
37977
- "kind": "field",
37978
- "name": "label",
37979
- "type": {
37980
- "text": "string"
37981
- },
37982
- "attribute": "label"
38456
+ "default": "2000",
38457
+ "attribute": "duration"
37983
38458
  },
37984
38459
  {
37985
38460
  "kind": "field",
37986
- "name": "helpText",
38461
+ "name": "initial",
37987
38462
  "type": {
37988
38463
  "text": "string"
37989
38464
  },
37990
38465
  "default": "''",
37991
- "description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
37992
- "attribute": "help-text"
38466
+ "attribute": "initial"
37993
38467
  },
37994
38468
  {
37995
38469
  "kind": "field",
37996
- "name": "name",
38470
+ "name": "revealed",
37997
38471
  "type": {
37998
38472
  "text": "string"
37999
38473
  },
38000
- "attribute": "name"
38001
- },
38002
- {
38003
- "kind": "field",
38004
- "name": "value",
38005
- "type": {
38006
- "text": "number"
38007
- },
38008
- "default": "0",
38009
- "attribute": "value"
38010
- },
38011
- {
38012
- "kind": "field",
38013
- "name": "defaultValue",
38014
- "type": {
38015
- "text": "number"
38016
- },
38017
- "default": "0",
38018
- "description": "The default value of the form control. Primarily used for resetting the form control."
38019
- },
38020
- {
38021
- "kind": "field",
38022
- "name": "max",
38023
- "type": {
38024
- "text": "number"
38025
- },
38026
- "default": "5",
38027
- "attribute": "max"
38474
+ "default": "''",
38475
+ "attribute": "revealed"
38028
38476
  },
38029
38477
  {
38030
38478
  "kind": "field",
38031
- "name": "precision",
38479
+ "name": "hideDelay",
38032
38480
  "type": {
38033
38481
  "text": "number"
38034
38482
  },
38035
- "default": "1",
38036
- "attribute": "precision"
38483
+ "default": "150",
38484
+ "attribute": "hide-delay"
38037
38485
  },
38038
38486
  {
38039
38487
  "kind": "field",
38040
- "name": "readonly",
38488
+ "name": "noToggle",
38041
38489
  "type": {
38042
38490
  "text": "boolean"
38043
38491
  },
38044
38492
  "default": "false",
38045
- "attribute": "readonly"
38493
+ "description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
38494
+ "attribute": "no-toggle"
38046
38495
  },
38047
38496
  {
38048
38497
  "kind": "field",
38049
- "name": "disabled",
38498
+ "name": "_isMasked",
38050
38499
  "type": {
38051
38500
  "text": "boolean"
38052
38501
  },
38053
- "default": "false",
38054
- "attribute": "disabled"
38502
+ "privacy": "private",
38503
+ "description": "Nothing is hidden when the revealed value is what's already on show, so there is nothing to reveal.",
38504
+ "readonly": true
38055
38505
  },
38056
38506
  {
38057
38507
  "kind": "field",
38058
- "name": "preview",
38508
+ "name": "_isRevealed",
38059
38509
  "type": {
38060
38510
  "text": "boolean"
38061
38511
  },
38062
- "default": "false",
38063
- "description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
38064
- "attribute": "preview"
38512
+ "privacy": "private",
38513
+ "default": "false"
38065
38514
  },
38066
38515
  {
38067
38516
  "kind": "field",
38068
- "name": "size",
38517
+ "name": "_isToggled",
38069
38518
  "type": {
38070
- "text": "'small' | 'medium' | 'large'"
38519
+ "text": "boolean"
38071
38520
  },
38072
- "default": "'medium'",
38073
- "attribute": "size"
38521
+ "privacy": "private",
38522
+ "default": "false"
38074
38523
  },
38075
38524
  {
38076
38525
  "kind": "field",
38077
- "name": "getSymbol",
38526
+ "name": "_hideTimer",
38078
38527
  "type": {
38079
- "text": "(value: number) => string"
38080
- },
38081
- "attribute": "getSymbol"
38082
- },
38083
- {
38084
- "kind": "field",
38085
- "name": "validity",
38086
- "description": "Gets the validity state object",
38087
- "readonly": true
38088
- },
38089
- {
38090
- "kind": "field",
38091
- "name": "validationMessage",
38092
- "description": "Gets the validation message",
38093
- "readonly": true
38094
- },
38095
- {
38096
- "kind": "method",
38097
- "name": "checkValidity",
38098
- "return": {
38099
- "type": {
38100
- "text": "boolean"
38101
- }
38102
- },
38103
- "description": "Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
38104
- },
38105
- {
38106
- "kind": "method",
38107
- "name": "getForm",
38108
- "return": {
38109
- "type": {
38110
- "text": "HTMLFormElement | null"
38111
- }
38112
- },
38113
- "description": "Gets the associated form, if one exists."
38114
- },
38115
- {
38116
- "kind": "method",
38117
- "name": "reportValidity",
38118
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
38119
- },
38120
- {
38121
- "kind": "method",
38122
- "name": "setCustomValidity",
38123
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
38124
- },
38125
- {
38126
- "kind": "method",
38127
- "name": "_roundToPrecision",
38128
- "privacy": "private",
38129
- "return": {
38130
- "type": {
38131
- "text": "number"
38132
- }
38133
- },
38134
- "parameters": [
38135
- {
38136
- "name": "value",
38137
- "type": {
38138
- "text": "number"
38139
- }
38140
- },
38141
- {
38142
- "name": "precision",
38143
- "type": {
38144
- "text": "number"
38145
- }
38146
- }
38147
- ]
38148
- },
38149
- {
38150
- "kind": "method",
38151
- "name": "_getValueFromXCoordinate",
38152
- "privacy": "private",
38153
- "return": {
38154
- "type": {
38155
- "text": "number"
38156
- }
38157
- },
38158
- "parameters": [
38159
- {
38160
- "name": "coordinate",
38161
- "type": {
38162
- "text": "number"
38163
- }
38164
- }
38165
- ]
38166
- },
38167
- {
38168
- "kind": "method",
38169
- "name": "_formatValue",
38170
- "privacy": "private",
38171
- "return": {
38172
- "type": {
38173
- "text": "string"
38174
- }
38175
- },
38176
- "parameters": [
38177
- {
38178
- "name": "value",
38179
- "type": {
38180
- "text": "number"
38181
- }
38182
- }
38183
- ]
38184
- },
38185
- {
38186
- "kind": "method",
38187
- "name": "_getValueFromMousePosition",
38188
- "privacy": "private",
38189
- "return": {
38190
- "type": {
38191
- "text": "number"
38192
- }
38193
- },
38194
- "parameters": [
38195
- {
38196
- "name": "event",
38197
- "type": {
38198
- "text": "MouseEvent"
38199
- }
38200
- }
38201
- ]
38202
- },
38203
- {
38204
- "kind": "method",
38205
- "name": "_getValueFromTouchPosition",
38206
- "privacy": "private",
38207
- "return": {
38208
- "type": {
38209
- "text": "number"
38210
- }
38528
+ "text": "ReturnType<typeof setTimeout> | undefined"
38211
38529
  },
38212
- "parameters": [
38213
- {
38214
- "name": "event",
38215
- "type": {
38216
- "text": "TouchEvent"
38217
- }
38218
- }
38219
- ]
38220
- },
38221
- {
38222
- "kind": "method",
38223
- "name": "_setValue",
38224
- "privacy": "private",
38225
- "parameters": [
38226
- {
38227
- "name": "value",
38228
- "type": {
38229
- "text": "number"
38230
- }
38231
- }
38232
- ]
38233
- },
38234
- {
38235
- "kind": "method",
38236
- "name": "_handleClick",
38237
- "privacy": "private",
38238
- "parameters": [
38239
- {
38240
- "name": "event",
38241
- "type": {
38242
- "text": "MouseEvent"
38243
- }
38244
- }
38245
- ]
38246
- },
38247
- {
38248
- "kind": "method",
38249
- "name": "_handleMouseEnter",
38250
- "privacy": "private",
38251
- "parameters": [
38252
- {
38253
- "name": "event",
38254
- "type": {
38255
- "text": "MouseEvent"
38256
- }
38257
- }
38258
- ]
38259
- },
38260
- {
38261
- "kind": "method",
38262
- "name": "_handleMouseMove",
38263
- "privacy": "private",
38264
- "parameters": [
38265
- {
38266
- "name": "event",
38267
- "type": {
38268
- "text": "MouseEvent"
38269
- }
38270
- }
38271
- ]
38530
+ "privacy": "private"
38272
38531
  },
38273
38532
  {
38274
38533
  "kind": "method",
38275
- "name": "_handleMouseLeave",
38534
+ "name": "_clearHideTimer",
38276
38535
  "privacy": "private"
38277
38536
  },
38278
38537
  {
38279
38538
  "kind": "method",
38280
- "name": "_handleTouchStart",
38281
- "privacy": "private",
38282
- "parameters": [
38283
- {
38284
- "name": "event",
38285
- "type": {
38286
- "text": "TouchEvent"
38287
- }
38288
- }
38289
- ]
38539
+ "name": "handleToggleReveal",
38540
+ "privacy": "protected"
38290
38541
  },
38291
38542
  {
38292
38543
  "kind": "method",
38293
- "name": "_handleTouchMove",
38294
- "privacy": "private",
38295
- "parameters": [
38296
- {
38297
- "name": "event",
38298
- "type": {
38299
- "text": "TouchEvent"
38300
- }
38301
- }
38302
- ]
38544
+ "name": "handleMouseEnter",
38545
+ "privacy": "protected"
38303
38546
  },
38304
38547
  {
38305
38548
  "kind": "method",
38306
- "name": "_handleTouchEnd",
38307
- "privacy": "private",
38308
- "parameters": [
38309
- {
38310
- "name": "event",
38311
- "type": {
38312
- "text": "TouchEvent"
38313
- }
38314
- }
38315
- ]
38549
+ "name": "handleMouseLeave",
38550
+ "privacy": "protected"
38316
38551
  }
38317
38552
  ],
38318
38553
  "events": [
@@ -38323,91 +38558,45 @@
38323
38558
  ],
38324
38559
  "attributes": [
38325
38560
  {
38326
- "name": "label",
38561
+ "name": "duration",
38327
38562
  "type": {
38328
- "text": "string"
38563
+ "text": "number"
38329
38564
  },
38330
- "fieldName": "label"
38565
+ "default": "2000",
38566
+ "fieldName": "duration"
38331
38567
  },
38332
38568
  {
38333
- "name": "help-text",
38569
+ "name": "initial",
38334
38570
  "type": {
38335
38571
  "text": "string"
38336
38572
  },
38337
38573
  "default": "''",
38338
- "description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
38339
- "fieldName": "helpText"
38574
+ "fieldName": "initial"
38340
38575
  },
38341
38576
  {
38342
- "name": "name",
38577
+ "name": "revealed",
38343
38578
  "type": {
38344
38579
  "text": "string"
38345
38580
  },
38346
- "fieldName": "name"
38347
- },
38348
- {
38349
- "name": "value",
38350
- "type": {
38351
- "text": "number"
38352
- },
38353
- "default": "0",
38354
- "fieldName": "value"
38355
- },
38356
- {
38357
- "name": "max",
38358
- "type": {
38359
- "text": "number"
38360
- },
38361
- "default": "5",
38362
- "fieldName": "max"
38581
+ "default": "''",
38582
+ "fieldName": "revealed"
38363
38583
  },
38364
38584
  {
38365
- "name": "precision",
38585
+ "name": "hide-delay",
38366
38586
  "type": {
38367
38587
  "text": "number"
38368
38588
  },
38369
- "default": "1",
38370
- "fieldName": "precision"
38371
- },
38372
- {
38373
- "name": "readonly",
38374
- "type": {
38375
- "text": "boolean"
38376
- },
38377
- "default": "false",
38378
- "fieldName": "readonly"
38379
- },
38380
- {
38381
- "name": "disabled",
38382
- "type": {
38383
- "text": "boolean"
38384
- },
38385
- "default": "false",
38386
- "fieldName": "disabled"
38589
+ "default": "150",
38590
+ "fieldName": "hideDelay"
38387
38591
  },
38388
38592
  {
38389
- "name": "preview",
38593
+ "name": "no-toggle",
38390
38594
  "type": {
38391
38595
  "text": "boolean"
38392
38596
  },
38393
38597
  "default": "false",
38394
- "description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
38395
- "fieldName": "preview"
38396
- },
38397
- {
38398
- "name": "size",
38399
- "type": {
38400
- "text": "'small' | 'medium' | 'large'"
38401
- },
38402
- "default": "'medium'",
38403
- "fieldName": "size"
38404
- },
38405
- {
38406
- "name": "getSymbol",
38407
- "type": {
38408
- "text": "(value: number) => string"
38409
- },
38410
- "fieldName": "getSymbol"
38598
+ "description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
38599
+ "fieldName": "noToggle"
38411
38600
  }
38412
38601
  ],
38413
38602
  "superclass": {
@@ -38415,11 +38604,11 @@
38415
38604
  "module": "/src/internal/zinc-element"
38416
38605
  },
38417
38606
  "summary": "Short summary of the component's intended use.",
38418
- "tagNameWithoutPrefix": "rating",
38419
- "tagName": "zn-rating",
38607
+ "tagNameWithoutPrefix": "reveal",
38608
+ "tagName": "zn-reveal",
38420
38609
  "customElement": true,
38421
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/rating\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 * @slot help-text - Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart form-control - The form control that wraps the symbols and help text.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart preview - The value shown next to the symbols when `preview` is enabled.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --preview-color - The color of the preview value.\n * @cssproperty --preview-size - The font size of the preview value.\n */",
38422
- "documentation": "https://zinc.style/components/rating",
38610
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/reveal\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 * @usage\n * ```html\n * <zn-reveal duration=\"3000\"\n * initial=\"******@hotmail.com\"\n * revealed=\"john.doe@hotmail.com\" toggle>\n * </zn-reveal>\n * ```\n *\n * @cssproperty --example - An example CSS custom property.\n */",
38611
+ "documentation": "https://zinc.style/components/reveal",
38423
38612
  "status": "experimental",
38424
38613
  "since": "1.0",
38425
38614
  "dependencies": [
@@ -38432,8 +38621,8 @@
38432
38621
  "kind": "js",
38433
38622
  "name": "default",
38434
38623
  "declaration": {
38435
- "name": "ZnRating",
38436
- "module": "components/rating/rating.js"
38624
+ "name": "ZnReveal",
38625
+ "module": "components/reveal/reveal.js"
38437
38626
  }
38438
38627
  }
38439
38628
  ]
@@ -49213,381 +49402,6 @@
49213
49402
  }
49214
49403
  ]
49215
49404
  },
49216
- {
49217
- "kind": "javascript-module",
49218
- "path": "components/tile/tile.js",
49219
- "declarations": [
49220
- {
49221
- "kind": "class",
49222
- "description": "",
49223
- "name": "ZnTile",
49224
- "cssProperties": [
49225
- {
49226
- "description": "An example CSS custom property.",
49227
- "name": "--example"
49228
- }
49229
- ],
49230
- "cssParts": [
49231
- {
49232
- "description": "The component's base wrapper.",
49233
- "name": "base"
49234
- }
49235
- ],
49236
- "slots": [
49237
- {
49238
- "description": "The default slot.",
49239
- "name": ""
49240
- },
49241
- {
49242
- "description": "An example slot.",
49243
- "name": "example"
49244
- }
49245
- ],
49246
- "members": [
49247
- {
49248
- "kind": "field",
49249
- "name": "hasSlotController",
49250
- "privacy": "private",
49251
- "readonly": true,
49252
- "default": "new HasSlotController(this, '[default]', 'properties', 'actions', 'image')"
49253
- },
49254
- {
49255
- "kind": "field",
49256
- "name": "caption",
49257
- "type": {
49258
- "text": "string"
49259
- },
49260
- "attribute": "caption"
49261
- },
49262
- {
49263
- "kind": "field",
49264
- "name": "description",
49265
- "type": {
49266
- "text": "string"
49267
- },
49268
- "attribute": "description"
49269
- },
49270
- {
49271
- "kind": "field",
49272
- "name": "href",
49273
- "type": {
49274
- "text": "string"
49275
- },
49276
- "attribute": "href"
49277
- },
49278
- {
49279
- "kind": "field",
49280
- "name": "dataTarget",
49281
- "type": {
49282
- "text": "string"
49283
- },
49284
- "attribute": "data-target"
49285
- },
49286
- {
49287
- "kind": "field",
49288
- "name": "gaid",
49289
- "type": {
49290
- "text": "string"
49291
- },
49292
- "attribute": "gaid"
49293
- },
49294
- {
49295
- "kind": "field",
49296
- "name": "dataUri",
49297
- "type": {
49298
- "text": "string"
49299
- },
49300
- "attribute": "data-uri"
49301
- },
49302
- {
49303
- "kind": "field",
49304
- "name": "flush",
49305
- "type": {
49306
- "text": "boolean"
49307
- },
49308
- "attribute": "flush"
49309
- },
49310
- {
49311
- "kind": "field",
49312
- "name": "flushX",
49313
- "type": {
49314
- "text": "boolean"
49315
- },
49316
- "attribute": "flush-x"
49317
- },
49318
- {
49319
- "kind": "field",
49320
- "name": "flushY",
49321
- "type": {
49322
- "text": "boolean"
49323
- },
49324
- "attribute": "flush-y"
49325
- },
49326
- {
49327
- "kind": "field",
49328
- "name": "inline",
49329
- "type": {
49330
- "text": "boolean"
49331
- },
49332
- "attribute": "inline"
49333
- },
49334
- {
49335
- "kind": "field",
49336
- "name": "plain",
49337
- "type": {
49338
- "text": "boolean"
49339
- },
49340
- "description": "Renders the caption in the normal table-content weight instead of bold.",
49341
- "attribute": "plain"
49342
- },
49343
- {
49344
- "kind": "field",
49345
- "name": "grouped",
49346
- "type": {
49347
- "text": "boolean"
49348
- },
49349
- "description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
49350
- "attribute": "grouped",
49351
- "reflects": true
49352
- },
49353
- {
49354
- "kind": "method",
49355
- "name": "_isLink",
49356
- "privacy": "private"
49357
- },
49358
- {
49359
- "kind": "method",
49360
- "name": "_handleActionsClick",
49361
- "privacy": "private",
49362
- "parameters": [
49363
- {
49364
- "name": "e",
49365
- "type": {
49366
- "text": "MouseEvent"
49367
- }
49368
- }
49369
- ]
49370
- }
49371
- ],
49372
- "events": [
49373
- {
49374
- "description": "Emitted as an example.",
49375
- "name": "zn-event-name"
49376
- }
49377
- ],
49378
- "attributes": [
49379
- {
49380
- "name": "caption",
49381
- "type": {
49382
- "text": "string"
49383
- },
49384
- "fieldName": "caption"
49385
- },
49386
- {
49387
- "name": "description",
49388
- "type": {
49389
- "text": "string"
49390
- },
49391
- "fieldName": "description"
49392
- },
49393
- {
49394
- "name": "href",
49395
- "type": {
49396
- "text": "string"
49397
- },
49398
- "fieldName": "href"
49399
- },
49400
- {
49401
- "name": "data-target",
49402
- "type": {
49403
- "text": "string"
49404
- },
49405
- "fieldName": "dataTarget"
49406
- },
49407
- {
49408
- "name": "gaid",
49409
- "type": {
49410
- "text": "string"
49411
- },
49412
- "fieldName": "gaid"
49413
- },
49414
- {
49415
- "name": "data-uri",
49416
- "type": {
49417
- "text": "string"
49418
- },
49419
- "fieldName": "dataUri"
49420
- },
49421
- {
49422
- "name": "flush",
49423
- "type": {
49424
- "text": "boolean"
49425
- },
49426
- "fieldName": "flush"
49427
- },
49428
- {
49429
- "name": "flush-x",
49430
- "type": {
49431
- "text": "boolean"
49432
- },
49433
- "fieldName": "flushX"
49434
- },
49435
- {
49436
- "name": "flush-y",
49437
- "type": {
49438
- "text": "boolean"
49439
- },
49440
- "fieldName": "flushY"
49441
- },
49442
- {
49443
- "name": "inline",
49444
- "type": {
49445
- "text": "boolean"
49446
- },
49447
- "fieldName": "inline"
49448
- },
49449
- {
49450
- "name": "plain",
49451
- "type": {
49452
- "text": "boolean"
49453
- },
49454
- "description": "Renders the caption in the normal table-content weight instead of bold.",
49455
- "fieldName": "plain"
49456
- },
49457
- {
49458
- "name": "grouped",
49459
- "type": {
49460
- "text": "boolean"
49461
- },
49462
- "description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
49463
- "fieldName": "grouped"
49464
- }
49465
- ],
49466
- "superclass": {
49467
- "name": "ZincElement",
49468
- "module": "/src/internal/zinc-element"
49469
- },
49470
- "summary": "Short summary of the component's intended use.",
49471
- "tagNameWithoutPrefix": "tile",
49472
- "tagName": "zn-tile",
49473
- "customElement": true,
49474
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/tile\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 */",
49475
- "documentation": "https://zinc.style/components/tile",
49476
- "status": "experimental",
49477
- "since": "1.0",
49478
- "dependencies": [
49479
- "zn-example"
49480
- ]
49481
- }
49482
- ],
49483
- "exports": [
49484
- {
49485
- "kind": "js",
49486
- "name": "default",
49487
- "declaration": {
49488
- "name": "ZnTile",
49489
- "module": "components/tile/tile.js"
49490
- }
49491
- }
49492
- ]
49493
- },
49494
- {
49495
- "kind": "javascript-module",
49496
- "path": "components/tile-group/tile-group.js",
49497
- "declarations": [
49498
- {
49499
- "kind": "class",
49500
- "description": "",
49501
- "name": "ZnTileGroup",
49502
- "cssProperties": [
49503
- {
49504
- "description": "The number of value/action columns (set automatically).",
49505
- "name": "--zn-tile-cols"
49506
- }
49507
- ],
49508
- "cssParts": [
49509
- {
49510
- "description": "The component's base wrapper (the grid container).",
49511
- "name": "base"
49512
- }
49513
- ],
49514
- "slots": [
49515
- {
49516
- "description": "One or more `zn-tile` elements.",
49517
- "name": ""
49518
- }
49519
- ],
49520
- "members": [
49521
- {
49522
- "kind": "field",
49523
- "name": "divide",
49524
- "type": {
49525
- "text": "boolean"
49526
- },
49527
- "default": "false",
49528
- "description": "Draws a dividing border between rows.",
49529
- "attribute": "divide",
49530
- "reflects": true
49531
- },
49532
- {
49533
- "kind": "field",
49534
- "name": "_mutationObserver",
49535
- "type": {
49536
- "text": "MutationObserver | null"
49537
- },
49538
- "privacy": "private",
49539
- "default": "null"
49540
- },
49541
- {
49542
- "kind": "field",
49543
- "name": "_handleSlotChange",
49544
- "privacy": "private"
49545
- },
49546
- {
49547
- "kind": "method",
49548
- "name": "_sync",
49549
- "privacy": "private"
49550
- }
49551
- ],
49552
- "attributes": [
49553
- {
49554
- "name": "divide",
49555
- "type": {
49556
- "text": "boolean"
49557
- },
49558
- "default": "false",
49559
- "description": "Draws a dividing border between rows.",
49560
- "fieldName": "divide"
49561
- }
49562
- ],
49563
- "superclass": {
49564
- "name": "ZincElement",
49565
- "module": "/src/internal/zinc-element"
49566
- },
49567
- "summary": "Aligns a list of `zn-tile` rows into shared, content-driven columns so values\nand actions line up across every row, with optional dividing borders.",
49568
- "tagNameWithoutPrefix": "tile-group",
49569
- "tagName": "zn-tile-group",
49570
- "customElement": true,
49571
- "jsDoc": "/**\n * @summary Aligns a list of `zn-tile` rows into shared, content-driven columns so values\n * and actions line up across every row, with optional dividing borders.\n * @documentation https://zinc.style/components/tile-group\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-tile\n *\n * @slot - One or more `zn-tile` elements.\n *\n * @csspart base - The component's base wrapper (the grid container).\n *\n * @cssproperty --zn-tile-cols - The number of value/action columns (set automatically).\n */",
49572
- "documentation": "https://zinc.style/components/tile-group",
49573
- "status": "experimental",
49574
- "since": "1.0",
49575
- "dependencies": [
49576
- "zn-tile"
49577
- ]
49578
- }
49579
- ],
49580
- "exports": [
49581
- {
49582
- "kind": "js",
49583
- "name": "default",
49584
- "declaration": {
49585
- "name": "ZnTileGroup",
49586
- "module": "components/tile-group/tile-group.js"
49587
- }
49588
- }
49589
- ]
49590
- },
49591
49405
  {
49592
49406
  "kind": "javascript-module",
49593
49407
  "path": "components/thumbnail/thumbnail.js",
@@ -50751,6 +50565,381 @@
50751
50565
  }
50752
50566
  ]
50753
50567
  },
50568
+ {
50569
+ "kind": "javascript-module",
50570
+ "path": "components/tile/tile.js",
50571
+ "declarations": [
50572
+ {
50573
+ "kind": "class",
50574
+ "description": "",
50575
+ "name": "ZnTile",
50576
+ "cssProperties": [
50577
+ {
50578
+ "description": "An example CSS custom property.",
50579
+ "name": "--example"
50580
+ }
50581
+ ],
50582
+ "cssParts": [
50583
+ {
50584
+ "description": "The component's base wrapper.",
50585
+ "name": "base"
50586
+ }
50587
+ ],
50588
+ "slots": [
50589
+ {
50590
+ "description": "The default slot.",
50591
+ "name": ""
50592
+ },
50593
+ {
50594
+ "description": "An example slot.",
50595
+ "name": "example"
50596
+ }
50597
+ ],
50598
+ "members": [
50599
+ {
50600
+ "kind": "field",
50601
+ "name": "hasSlotController",
50602
+ "privacy": "private",
50603
+ "readonly": true,
50604
+ "default": "new HasSlotController(this, '[default]', 'properties', 'actions', 'image')"
50605
+ },
50606
+ {
50607
+ "kind": "field",
50608
+ "name": "caption",
50609
+ "type": {
50610
+ "text": "string"
50611
+ },
50612
+ "attribute": "caption"
50613
+ },
50614
+ {
50615
+ "kind": "field",
50616
+ "name": "description",
50617
+ "type": {
50618
+ "text": "string"
50619
+ },
50620
+ "attribute": "description"
50621
+ },
50622
+ {
50623
+ "kind": "field",
50624
+ "name": "href",
50625
+ "type": {
50626
+ "text": "string"
50627
+ },
50628
+ "attribute": "href"
50629
+ },
50630
+ {
50631
+ "kind": "field",
50632
+ "name": "dataTarget",
50633
+ "type": {
50634
+ "text": "string"
50635
+ },
50636
+ "attribute": "data-target"
50637
+ },
50638
+ {
50639
+ "kind": "field",
50640
+ "name": "gaid",
50641
+ "type": {
50642
+ "text": "string"
50643
+ },
50644
+ "attribute": "gaid"
50645
+ },
50646
+ {
50647
+ "kind": "field",
50648
+ "name": "dataUri",
50649
+ "type": {
50650
+ "text": "string"
50651
+ },
50652
+ "attribute": "data-uri"
50653
+ },
50654
+ {
50655
+ "kind": "field",
50656
+ "name": "flush",
50657
+ "type": {
50658
+ "text": "boolean"
50659
+ },
50660
+ "attribute": "flush"
50661
+ },
50662
+ {
50663
+ "kind": "field",
50664
+ "name": "flushX",
50665
+ "type": {
50666
+ "text": "boolean"
50667
+ },
50668
+ "attribute": "flush-x"
50669
+ },
50670
+ {
50671
+ "kind": "field",
50672
+ "name": "flushY",
50673
+ "type": {
50674
+ "text": "boolean"
50675
+ },
50676
+ "attribute": "flush-y"
50677
+ },
50678
+ {
50679
+ "kind": "field",
50680
+ "name": "inline",
50681
+ "type": {
50682
+ "text": "boolean"
50683
+ },
50684
+ "attribute": "inline"
50685
+ },
50686
+ {
50687
+ "kind": "field",
50688
+ "name": "plain",
50689
+ "type": {
50690
+ "text": "boolean"
50691
+ },
50692
+ "description": "Renders the caption in the normal table-content weight instead of bold.",
50693
+ "attribute": "plain"
50694
+ },
50695
+ {
50696
+ "kind": "field",
50697
+ "name": "grouped",
50698
+ "type": {
50699
+ "text": "boolean"
50700
+ },
50701
+ "description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
50702
+ "attribute": "grouped",
50703
+ "reflects": true
50704
+ },
50705
+ {
50706
+ "kind": "method",
50707
+ "name": "_isLink",
50708
+ "privacy": "private"
50709
+ },
50710
+ {
50711
+ "kind": "method",
50712
+ "name": "_handleActionsClick",
50713
+ "privacy": "private",
50714
+ "parameters": [
50715
+ {
50716
+ "name": "e",
50717
+ "type": {
50718
+ "text": "MouseEvent"
50719
+ }
50720
+ }
50721
+ ]
50722
+ }
50723
+ ],
50724
+ "events": [
50725
+ {
50726
+ "description": "Emitted as an example.",
50727
+ "name": "zn-event-name"
50728
+ }
50729
+ ],
50730
+ "attributes": [
50731
+ {
50732
+ "name": "caption",
50733
+ "type": {
50734
+ "text": "string"
50735
+ },
50736
+ "fieldName": "caption"
50737
+ },
50738
+ {
50739
+ "name": "description",
50740
+ "type": {
50741
+ "text": "string"
50742
+ },
50743
+ "fieldName": "description"
50744
+ },
50745
+ {
50746
+ "name": "href",
50747
+ "type": {
50748
+ "text": "string"
50749
+ },
50750
+ "fieldName": "href"
50751
+ },
50752
+ {
50753
+ "name": "data-target",
50754
+ "type": {
50755
+ "text": "string"
50756
+ },
50757
+ "fieldName": "dataTarget"
50758
+ },
50759
+ {
50760
+ "name": "gaid",
50761
+ "type": {
50762
+ "text": "string"
50763
+ },
50764
+ "fieldName": "gaid"
50765
+ },
50766
+ {
50767
+ "name": "data-uri",
50768
+ "type": {
50769
+ "text": "string"
50770
+ },
50771
+ "fieldName": "dataUri"
50772
+ },
50773
+ {
50774
+ "name": "flush",
50775
+ "type": {
50776
+ "text": "boolean"
50777
+ },
50778
+ "fieldName": "flush"
50779
+ },
50780
+ {
50781
+ "name": "flush-x",
50782
+ "type": {
50783
+ "text": "boolean"
50784
+ },
50785
+ "fieldName": "flushX"
50786
+ },
50787
+ {
50788
+ "name": "flush-y",
50789
+ "type": {
50790
+ "text": "boolean"
50791
+ },
50792
+ "fieldName": "flushY"
50793
+ },
50794
+ {
50795
+ "name": "inline",
50796
+ "type": {
50797
+ "text": "boolean"
50798
+ },
50799
+ "fieldName": "inline"
50800
+ },
50801
+ {
50802
+ "name": "plain",
50803
+ "type": {
50804
+ "text": "boolean"
50805
+ },
50806
+ "description": "Renders the caption in the normal table-content weight instead of bold.",
50807
+ "fieldName": "plain"
50808
+ },
50809
+ {
50810
+ "name": "grouped",
50811
+ "type": {
50812
+ "text": "boolean"
50813
+ },
50814
+ "description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
50815
+ "fieldName": "grouped"
50816
+ }
50817
+ ],
50818
+ "superclass": {
50819
+ "name": "ZincElement",
50820
+ "module": "/src/internal/zinc-element"
50821
+ },
50822
+ "summary": "Short summary of the component's intended use.",
50823
+ "tagNameWithoutPrefix": "tile",
50824
+ "tagName": "zn-tile",
50825
+ "customElement": true,
50826
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/tile\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 */",
50827
+ "documentation": "https://zinc.style/components/tile",
50828
+ "status": "experimental",
50829
+ "since": "1.0",
50830
+ "dependencies": [
50831
+ "zn-example"
50832
+ ]
50833
+ }
50834
+ ],
50835
+ "exports": [
50836
+ {
50837
+ "kind": "js",
50838
+ "name": "default",
50839
+ "declaration": {
50840
+ "name": "ZnTile",
50841
+ "module": "components/tile/tile.js"
50842
+ }
50843
+ }
50844
+ ]
50845
+ },
50846
+ {
50847
+ "kind": "javascript-module",
50848
+ "path": "components/tile-group/tile-group.js",
50849
+ "declarations": [
50850
+ {
50851
+ "kind": "class",
50852
+ "description": "",
50853
+ "name": "ZnTileGroup",
50854
+ "cssProperties": [
50855
+ {
50856
+ "description": "The number of value/action columns (set automatically).",
50857
+ "name": "--zn-tile-cols"
50858
+ }
50859
+ ],
50860
+ "cssParts": [
50861
+ {
50862
+ "description": "The component's base wrapper (the grid container).",
50863
+ "name": "base"
50864
+ }
50865
+ ],
50866
+ "slots": [
50867
+ {
50868
+ "description": "One or more `zn-tile` elements.",
50869
+ "name": ""
50870
+ }
50871
+ ],
50872
+ "members": [
50873
+ {
50874
+ "kind": "field",
50875
+ "name": "divide",
50876
+ "type": {
50877
+ "text": "boolean"
50878
+ },
50879
+ "default": "false",
50880
+ "description": "Draws a dividing border between rows.",
50881
+ "attribute": "divide",
50882
+ "reflects": true
50883
+ },
50884
+ {
50885
+ "kind": "field",
50886
+ "name": "_mutationObserver",
50887
+ "type": {
50888
+ "text": "MutationObserver | null"
50889
+ },
50890
+ "privacy": "private",
50891
+ "default": "null"
50892
+ },
50893
+ {
50894
+ "kind": "field",
50895
+ "name": "_handleSlotChange",
50896
+ "privacy": "private"
50897
+ },
50898
+ {
50899
+ "kind": "method",
50900
+ "name": "_sync",
50901
+ "privacy": "private"
50902
+ }
50903
+ ],
50904
+ "attributes": [
50905
+ {
50906
+ "name": "divide",
50907
+ "type": {
50908
+ "text": "boolean"
50909
+ },
50910
+ "default": "false",
50911
+ "description": "Draws a dividing border between rows.",
50912
+ "fieldName": "divide"
50913
+ }
50914
+ ],
50915
+ "superclass": {
50916
+ "name": "ZincElement",
50917
+ "module": "/src/internal/zinc-element"
50918
+ },
50919
+ "summary": "Aligns a list of `zn-tile` rows into shared, content-driven columns so values\nand actions line up across every row, with optional dividing borders.",
50920
+ "tagNameWithoutPrefix": "tile-group",
50921
+ "tagName": "zn-tile-group",
50922
+ "customElement": true,
50923
+ "jsDoc": "/**\n * @summary Aligns a list of `zn-tile` rows into shared, content-driven columns so values\n * and actions line up across every row, with optional dividing borders.\n * @documentation https://zinc.style/components/tile-group\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-tile\n *\n * @slot - One or more `zn-tile` elements.\n *\n * @csspart base - The component's base wrapper (the grid container).\n *\n * @cssproperty --zn-tile-cols - The number of value/action columns (set automatically).\n */",
50924
+ "documentation": "https://zinc.style/components/tile-group",
50925
+ "status": "experimental",
50926
+ "since": "1.0",
50927
+ "dependencies": [
50928
+ "zn-tile"
50929
+ ]
50930
+ }
50931
+ ],
50932
+ "exports": [
50933
+ {
50934
+ "kind": "js",
50935
+ "name": "default",
50936
+ "declaration": {
50937
+ "name": "ZnTileGroup",
50938
+ "module": "components/tile-group/tile-group.js"
50939
+ }
50940
+ }
50941
+ ]
50942
+ },
50754
50943
  {
50755
50944
  "kind": "javascript-module",
50756
50945
  "path": "components/tile-property/tile-property.js",
@@ -51701,6 +51890,11 @@
51701
51890
  {
51702
51891
  "kind": "method",
51703
51892
  "name": "hide"
51893
+ },
51894
+ {
51895
+ "kind": "field",
51896
+ "name": "handlePopupClick",
51897
+ "privacy": "private"
51704
51898
  }
51705
51899
  ],
51706
51900
  "events": [
@@ -53632,7 +53826,7 @@
53632
53826
  "package": {
53633
53827
  "name": "@kubex/zinc",
53634
53828
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
53635
- "version": "1.1.160",
53829
+ "version": "1.1.162",
53636
53830
  "author": "",
53637
53831
  "license": "MIT"
53638
53832
  }