@esri/calcite-components 2.5.0-next.1 → 2.5.0-next.3
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.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00811dc7.entry.js +7 -0
- package/dist/calcite/p-035c5daa.entry.js +7 -0
- package/dist/calcite/p-035c5daa.entry.js.map +1 -0
- package/dist/calcite/p-0625872c.js +7 -0
- package/dist/calcite/p-084add8e.js +7 -0
- package/dist/calcite/p-0c9f0b66.js +7 -0
- package/dist/calcite/p-10b76a2b.js +7 -0
- package/dist/calcite/p-120a39ca.js +7 -0
- package/dist/calcite/p-12eb1f3a.entry.js +7 -0
- package/dist/calcite/p-139e85d4.entry.js +7 -0
- package/dist/calcite/p-18359ae7.js +7 -0
- package/dist/calcite/p-184d4d53.entry.js +7 -0
- package/dist/calcite/p-1a280990.entry.js +7 -0
- package/dist/calcite/p-1ad245bb.entry.js +7 -0
- package/dist/calcite/p-1bd1e6ee.entry.js +7 -0
- package/dist/calcite/p-1cd75980.entry.js +7 -0
- package/dist/calcite/p-1df035e4.js +7 -0
- package/dist/calcite/p-224935be.js +7 -0
- package/dist/calcite/p-240b0637.js +7 -0
- package/dist/calcite/p-24764169.entry.js +7 -0
- package/dist/calcite/p-24ff5e2e.entry.js +7 -0
- package/dist/calcite/p-25b93e8a.entry.js +7 -0
- package/dist/calcite/p-26b601d9.entry.js +7 -0
- package/dist/calcite/p-26bbbef5.entry.js +7 -0
- package/dist/calcite/p-27d87a26.js +7 -0
- package/dist/calcite/p-280bd05c.entry.js +7 -0
- package/dist/calcite/p-28e04e26.entry.js +7 -0
- package/dist/calcite/p-29caad14.entry.js +7 -0
- package/dist/calcite/p-2a711503.js +7 -0
- package/dist/calcite/p-2bef44f9.js +7 -0
- package/dist/calcite/p-2cf51e6d.js +7 -0
- package/dist/calcite/p-2dfd3047.js +7 -0
- package/dist/calcite/p-2e3c48c4.js +7 -0
- package/dist/calcite/p-31793816.entry.js +7 -0
- package/dist/calcite/p-339f4a81.js +7 -0
- package/dist/calcite/p-371c0aa9.entry.js +7 -0
- package/dist/calcite/p-371c0aa9.entry.js.map +1 -0
- package/dist/calcite/p-38900907.js +7 -0
- package/dist/calcite/p-3e5c5492.entry.js +7 -0
- package/dist/calcite/p-3f517577.entry.js +7 -0
- package/dist/calcite/p-417aab79.entry.js +7 -0
- package/dist/calcite/p-4291e86c.js +7 -0
- package/dist/calcite/p-42c60e95.js +7 -0
- package/dist/calcite/p-437f681a.js +7 -0
- package/dist/calcite/p-444be2f5.entry.js +7 -0
- package/dist/calcite/p-4645e371.js +7 -0
- package/dist/calcite/p-46fe3554.js +7 -0
- package/dist/calcite/p-478951ea.entry.js +7 -0
- package/dist/calcite/p-478951ea.entry.js.map +1 -0
- package/dist/calcite/p-47968591.js +7 -0
- package/dist/calcite/p-47ca1d8e.entry.js +7 -0
- package/dist/calcite/p-49c579e5.js +7 -0
- package/dist/calcite/p-4c369960.entry.js +7 -0
- package/dist/calcite/p-4c508da2.entry.js +7 -0
- package/dist/calcite/p-4f02bed9.js +7 -0
- package/dist/calcite/p-4f8c75d5.entry.js +7 -0
- package/dist/calcite/p-50251139.entry.js +7 -0
- package/dist/calcite/p-51275203.entry.js +7 -0
- package/dist/calcite/p-5186eed6.entry.js +7 -0
- package/dist/calcite/p-5685acb6.entry.js +7 -0
- package/dist/calcite/p-5685acb6.entry.js.map +1 -0
- package/dist/calcite/p-59521fdf.js +7 -0
- package/dist/calcite/p-5e22872e.js +7 -0
- package/dist/calcite/p-5e43ab83.entry.js +7 -0
- package/dist/calcite/p-5e92e1ad.entry.js +7 -0
- package/dist/calcite/p-6079fdc2.js +7 -0
- package/dist/calcite/p-607e71d8.entry.js +7 -0
- package/dist/calcite/p-607e71d8.entry.js.map +1 -0
- package/dist/calcite/p-622cc688.js +7 -0
- package/dist/calcite/p-628662c2.js +7 -0
- package/dist/calcite/p-641e9058.entry.js +7 -0
- package/dist/calcite/p-641e9058.entry.js.map +1 -0
- package/dist/calcite/p-669bc42a.js +7 -0
- package/dist/calcite/p-686f0c7c.entry.js +7 -0
- package/dist/calcite/p-6a1531cd.entry.js +7 -0
- package/dist/calcite/p-6b06781e.js +7 -0
- package/dist/calcite/p-6d014b44.entry.js +7 -0
- package/dist/calcite/p-6dbace39.entry.js +7 -0
- package/dist/calcite/p-6f77b6f1.js +7 -0
- package/dist/calcite/p-7071a823.js +7 -0
- package/dist/calcite/p-742e73a7.js +7 -0
- package/dist/calcite/p-74c69a65.js +7 -0
- package/dist/calcite/p-76c93eaf.js +7 -0
- package/dist/calcite/p-77547406.js +7 -0
- package/dist/calcite/p-78aae094.js +7 -0
- package/dist/calcite/p-7f347a1b.js +7 -0
- package/dist/calcite/p-7f347a1b.js.map +1 -0
- package/dist/calcite/p-81f6135e.entry.js +7 -0
- package/dist/calcite/p-829b93e3.js +7 -0
- package/dist/calcite/p-84ecb43d.entry.js +7 -0
- package/dist/calcite/p-8624b17c.js +7 -0
- package/dist/calcite/p-873f857b.js +7 -0
- package/dist/calcite/p-8786d071.js +7 -0
- package/dist/calcite/p-8893aba2.js +7 -0
- package/dist/calcite/p-88e135c5.entry.js +7 -0
- package/dist/calcite/p-8c52a1c8.js +7 -0
- package/dist/calcite/p-8c990585.entry.js +7 -0
- package/dist/calcite/p-8e00e760.js +7 -0
- package/dist/calcite/p-8fa97612.js +12 -0
- package/dist/calcite/p-95d85b7f.entry.js +7 -0
- package/dist/calcite/p-96bdb910.entry.js +7 -0
- package/dist/calcite/p-9717bac8.entry.js +7 -0
- package/dist/calcite/p-996459ff.js +7 -0
- package/dist/calcite/p-9966e031.entry.js +7 -0
- package/dist/calcite/p-9a746419.entry.js +7 -0
- package/dist/calcite/p-9a746419.entry.js.map +1 -0
- package/dist/calcite/p-9ae388ae.js +7 -0
- package/dist/calcite/p-9e840fe0.js +7 -0
- package/dist/calcite/p-a017bb90.js +7 -0
- package/dist/calcite/p-a01a6712.js +7 -0
- package/dist/calcite/p-a060c594.entry.js +7 -0
- package/dist/calcite/p-a060c594.entry.js.map +1 -0
- package/dist/calcite/p-a578d140.js +7 -0
- package/dist/calcite/p-a729c4f3.js +7 -0
- package/dist/calcite/p-a8923d3c.entry.js +7 -0
- package/dist/calcite/p-ae62a83c.js +7 -0
- package/dist/calcite/p-b000d861.js +7 -0
- package/dist/calcite/p-b09c39cd.js +7 -0
- package/dist/calcite/p-b122cc2d.entry.js +7 -0
- package/dist/calcite/p-b204681b.js +7 -0
- package/dist/calcite/p-b2567815.js +11 -0
- package/dist/calcite/p-b2d95cee.entry.js +7 -0
- package/dist/calcite/p-b349c937.js +7 -0
- package/dist/calcite/p-b49ccbb3.entry.js +7 -0
- package/dist/calcite/p-b7d78227.entry.js +7 -0
- package/dist/calcite/p-b7d78227.entry.js.map +1 -0
- package/dist/calcite/p-b7dacf13.js +7 -0
- package/dist/calcite/p-bd6cd55c.js +7 -0
- package/dist/calcite/p-beacae6b.entry.js +7 -0
- package/dist/calcite/p-bf94a9da.js +13 -0
- package/dist/calcite/p-c0a21175.js +7 -0
- package/dist/calcite/p-c0c6ba81.js +7 -0
- package/dist/calcite/p-c11bfb4b.entry.js +7 -0
- package/dist/calcite/p-c163f727.js +7 -0
- package/dist/calcite/p-c3d682ca.entry.js +7 -0
- package/dist/calcite/p-c444d512.js +7 -0
- package/dist/calcite/p-c4d87776.js +7 -0
- package/dist/calcite/p-c6f03eb2.js +7 -0
- package/dist/calcite/p-c770f80e.js +7 -0
- package/dist/calcite/p-c848c82e.js +7 -0
- package/dist/calcite/p-c88443d6.entry.js +7 -0
- package/dist/calcite/p-cae107a5.entry.js +7 -0
- package/dist/calcite/p-cde608e0.js +7 -0
- package/dist/calcite/p-cf44a1d7.js +7 -0
- package/dist/calcite/p-cf8695c8.js +7 -0
- package/dist/calcite/p-d00db92c.entry.js +7 -0
- package/dist/calcite/p-d5db58bd.entry.js +7 -0
- package/dist/calcite/p-d5db58bd.entry.js.map +1 -0
- package/dist/calcite/p-d6caca6b.entry.js +7 -0
- package/dist/calcite/p-d6caca6b.entry.js.map +1 -0
- package/dist/calcite/p-dab6d405.entry.js +7 -0
- package/dist/calcite/p-e27243c0.js +7 -0
- package/dist/calcite/p-e3062192.js +7 -0
- package/dist/calcite/p-e37ad8c6.js +7 -0
- package/dist/calcite/p-e4be124e.js +7 -0
- package/dist/calcite/p-e6309157.js +7 -0
- package/dist/calcite/p-e7173f47.js +7 -0
- package/dist/calcite/p-e7771e7d.entry.js +7 -0
- package/dist/calcite/p-e778acdc.js +7 -0
- package/dist/calcite/p-e98961bb.js +8 -0
- package/dist/calcite/p-ef71966c.entry.js +7 -0
- package/dist/calcite/p-f0954ae0.entry.js +7 -0
- package/dist/calcite/p-f37fd38f.js +7 -0
- package/dist/calcite/p-f3e00de9.js +7 -0
- package/dist/calcite/p-f496ec2b.js +7 -0
- package/dist/calcite/p-f4e994e8.entry.js +7 -0
- package/dist/calcite/p-f738b6f5.entry.js +7 -0
- package/dist/calcite/p-fbe97994.js +7 -0
- package/dist/calcite/p-fcd20445.js +7 -0
- package/dist/calcite/p-fd042681.entry.js +7 -0
- package/dist/calcite/p-fd17f371.entry.js +7 -0
- package/dist/calcite/p-fe1ca82b.js +7 -0
- package/dist/calcite/p-fed6a5bf.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-760eac8a.js +110 -0
- package/dist/cjs/ExpandToggle-760eac8a.js.map +1 -0
- package/dist/cjs/FloatingArrow-25ed9c5c.js +49 -0
- package/dist/cjs/FloatingArrow-25ed9c5c.js.map +1 -0
- package/dist/cjs/Heading-6936b968.js +22 -0
- package/dist/cjs/Heading-6936b968.js.map +1 -0
- package/dist/cjs/Validation-e2fd8241.js +18 -0
- package/dist/cjs/Validation-e2fd8241.js.map +1 -0
- package/dist/cjs/app-globals-28742352.js +61 -0
- package/dist/cjs/app-globals-28742352.js.map +1 -0
- package/dist/cjs/ar-b396d0cc.js +106 -0
- package/dist/cjs/ar-b396d0cc.js.map +1 -0
- package/dist/cjs/array-6246cd2f.js +14 -0
- package/dist/cjs/array-6246cd2f.js.map +1 -0
- package/dist/cjs/bg-49771309.js +84 -0
- package/dist/cjs/bg-49771309.js.map +1 -0
- package/dist/cjs/browser-9bea214b.js +20 -0
- package/dist/cjs/browser-9bea214b.js.map +1 -0
- package/dist/cjs/bs-f65a1d96.js +53 -0
- package/dist/cjs/bs-f65a1d96.js.map +1 -0
- package/dist/cjs/ca-797846a8.js +73 -0
- package/dist/cjs/ca-797846a8.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-2932e283.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-2932e283.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +16 -16
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +29 -31
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +27 -17
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +75 -69
- package/dist/cjs/calcite-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +14 -11
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-da204f58.js +30 -0
- package/dist/cjs/component-da204f58.js.map +1 -0
- package/dist/cjs/conditionalSlot-d5984a21.js +60 -0
- package/dist/cjs/conditionalSlot-d5984a21.js.map +1 -0
- package/dist/cjs/cs-58c96abf.js +149 -0
- package/dist/cjs/cs-58c96abf.js.map +1 -0
- package/dist/cjs/da-dc334d8d.js +68 -0
- package/dist/cjs/da-dc334d8d.js.map +1 -0
- package/dist/cjs/de-627d865e.js +93 -0
- package/dist/cjs/de-627d865e.js.map +1 -0
- package/dist/cjs/de-at-925976e4.js +92 -0
- package/dist/cjs/de-at-925976e4.js.map +1 -0
- package/dist/cjs/de-ch-dc946688.js +92 -0
- package/dist/cjs/de-ch-dc946688.js.map +1 -0
- package/dist/cjs/debounce-3e399ca6.js +498 -0
- package/dist/cjs/debounce-3e399ca6.js.map +1 -0
- package/dist/cjs/dom-7578a1d4.js +1084 -0
- package/dist/cjs/dom-7578a1d4.js.map +1 -0
- package/dist/cjs/el-1fb82c23.js +68 -0
- package/dist/cjs/el-1fb82c23.js.map +1 -0
- package/dist/cjs/en-au-dcbf41d3.js +68 -0
- package/dist/cjs/en-au-dcbf41d3.js.map +1 -0
- package/dist/cjs/en-ca-00a358c4.js +67 -0
- package/dist/cjs/en-ca-00a358c4.js.map +1 -0
- package/dist/cjs/en-gb-b7f19ce2.js +71 -0
- package/dist/cjs/en-gb-b7f19ce2.js.map +1 -0
- package/dist/cjs/es-923103ec.js +68 -0
- package/dist/cjs/es-923103ec.js.map +1 -0
- package/dist/cjs/es-mx-5dd31a56.js +67 -0
- package/dist/cjs/es-mx-5dd31a56.js.map +1 -0
- package/dist/cjs/et-0340dd29.js +94 -0
- package/dist/cjs/et-0340dd29.js.map +1 -0
- package/dist/cjs/fi-177fd413.js +117 -0
- package/dist/cjs/fi-177fd413.js.map +1 -0
- package/dist/cjs/filter-f4b8843f.js +762 -0
- package/dist/cjs/filter-f4b8843f.js.map +1 -0
- package/dist/cjs/floating-ui-7287e848.js +1965 -0
- package/dist/cjs/floating-ui-7287e848.js.map +1 -0
- package/dist/cjs/focusTrapComponent-3bc219cc.js +1020 -0
- package/dist/cjs/focusTrapComponent-3bc219cc.js.map +1 -0
- package/dist/cjs/form-9502ee56.js +333 -0
- package/dist/cjs/form-9502ee56.js.map +1 -0
- package/dist/cjs/fr-3d0e0a04.js +70 -0
- package/dist/cjs/fr-3d0e0a04.js.map +1 -0
- package/dist/cjs/fr-ch-e6689012.js +68 -0
- package/dist/cjs/fr-ch-e6689012.js.map +1 -0
- package/dist/cjs/guid-acf410ab.js +23 -0
- package/dist/cjs/guid-acf410ab.js.map +1 -0
- package/dist/cjs/he-2a04e405.js +107 -0
- package/dist/cjs/he-2a04e405.js.map +1 -0
- package/dist/cjs/hi-73571b06.js +67 -0
- package/dist/cjs/hi-73571b06.js.map +1 -0
- package/dist/cjs/hr-6d01e6dd.js +82 -0
- package/dist/cjs/hr-6d01e6dd.js.map +1 -0
- package/dist/cjs/hu-9849b662.js +90 -0
- package/dist/cjs/hu-9849b662.js.map +1 -0
- package/dist/cjs/id-ff45160a.js +68 -0
- package/dist/cjs/id-ff45160a.js.map +1 -0
- package/dist/cjs/index-782e692c.js +2655 -0
- package/dist/cjs/index-782e692c.js.map +1 -0
- package/dist/cjs/index-d52293e3.js +75 -0
- package/dist/cjs/index-d52293e3.js.map +1 -0
- package/dist/cjs/index-fdbdd62e.js +208 -0
- package/dist/cjs/index-fdbdd62e.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-9dc2b926.js +57 -0
- package/dist/cjs/input-9dc2b926.js.map +1 -0
- package/dist/cjs/interactive-c57fecd3.js +141 -0
- package/dist/cjs/interactive-c57fecd3.js.map +1 -0
- package/dist/cjs/it-737eff00.js +68 -0
- package/dist/cjs/it-737eff00.js.map +1 -0
- package/dist/cjs/it-ch-7285b597.js +68 -0
- package/dist/cjs/it-ch-7285b597.js.map +1 -0
- package/dist/cjs/ja-ac377163.js +74 -0
- package/dist/cjs/ja-ac377163.js.map +1 -0
- package/dist/cjs/key-56bfdd9f.js +16 -0
- package/dist/cjs/key-56bfdd9f.js.map +1 -0
- package/dist/cjs/ko-80da28b5.js +74 -0
- package/dist/cjs/ko-80da28b5.js.map +1 -0
- package/dist/cjs/label-559895b1.js +183 -0
- package/dist/cjs/label-559895b1.js.map +1 -0
- package/dist/cjs/loadable-541807aa.js +91 -0
- package/dist/cjs/loadable-541807aa.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-4c916cec.js +576 -0
- package/dist/cjs/locale-4c916cec.js.map +1 -0
- package/dist/cjs/lt-c4e86d62.js +99 -0
- package/dist/cjs/lt-c4e86d62.js.map +1 -0
- package/dist/cjs/lv-29150ccd.js +68 -0
- package/dist/cjs/lv-29150ccd.js.map +1 -0
- package/dist/cjs/math-853fd449.js +57 -0
- package/dist/cjs/math-853fd449.js.map +1 -0
- package/dist/cjs/mk-9dc520be.js +68 -0
- package/dist/cjs/mk-9dc520be.js.map +1 -0
- package/dist/cjs/nb-dc502914.js +69 -0
- package/dist/cjs/nb-dc502914.js.map +1 -0
- package/dist/cjs/nl-1f8735ea.js +69 -0
- package/dist/cjs/nl-1f8735ea.js.map +1 -0
- package/dist/cjs/observers-17895322.js +50 -0
- package/dist/cjs/observers-17895322.js.map +1 -0
- package/dist/cjs/openCloseComponent-71649d3a.js +89 -0
- package/dist/cjs/openCloseComponent-71649d3a.js.map +1 -0
- package/dist/cjs/pl-6ce9b526.js +116 -0
- package/dist/cjs/pl-6ce9b526.js.map +1 -0
- package/dist/cjs/pt-64040ed8.js +69 -0
- package/dist/cjs/pt-64040ed8.js.map +1 -0
- package/dist/cjs/pt-br-0fb26054.js +67 -0
- package/dist/cjs/pt-br-0fb26054.js.map +1 -0
- package/dist/cjs/resources-12630921.js +49 -0
- package/dist/cjs/resources-12630921.js.map +1 -0
- package/dist/cjs/resources-5ba2556a.js +23 -0
- package/dist/cjs/resources-5ba2556a.js.map +1 -0
- package/dist/cjs/resources-a68345f3.js +26 -0
- package/dist/cjs/resources-a68345f3.js.map +1 -0
- package/dist/cjs/resources-d26fb905.js +414 -0
- package/dist/cjs/resources-d26fb905.js.map +1 -0
- package/dist/cjs/resources-d87baa56.js +17 -0
- package/dist/cjs/resources-d87baa56.js.map +1 -0
- package/dist/cjs/resources-eb571ac5.js +26 -0
- package/dist/cjs/resources-eb571ac5.js.map +1 -0
- package/dist/cjs/resources-f7c47fe3.js +29 -0
- package/dist/cjs/resources-f7c47fe3.js.map +1 -0
- package/dist/cjs/ro-90e9b970.js +68 -0
- package/dist/cjs/ro-90e9b970.js.map +1 -0
- package/dist/cjs/ru-6f8dd2ae.js +128 -0
- package/dist/cjs/ru-6f8dd2ae.js.map +1 -0
- package/dist/cjs/sk-5e6626fe.js +150 -0
- package/dist/cjs/sk-5e6626fe.js.map +1 -0
- package/dist/cjs/sl-0c48cee7.js +170 -0
- package/dist/cjs/sl-0c48cee7.js.map +1 -0
- package/dist/cjs/sortableComponent-8b44726a.js +2739 -0
- package/dist/cjs/sortableComponent-8b44726a.js.map +1 -0
- package/dist/cjs/sr-d2bce4f6.js +103 -0
- package/dist/cjs/sr-d2bce4f6.js.map +1 -0
- package/dist/cjs/sv-f3d07591.js +73 -0
- package/dist/cjs/sv-f3d07591.js.map +1 -0
- package/dist/cjs/t9n-84b57d1e.js +97 -0
- package/dist/cjs/t9n-84b57d1e.js.map +1 -0
- package/dist/cjs/th-773e6a28.js +67 -0
- package/dist/cjs/th-773e6a28.js.map +1 -0
- package/dist/cjs/throttle-137a2f4e.js +77 -0
- package/dist/cjs/throttle-137a2f4e.js.map +1 -0
- package/dist/cjs/tr-c36d89fa.js +68 -0
- package/dist/cjs/tr-c36d89fa.js.map +1 -0
- package/dist/cjs/uk-c9fb2b01.js +106 -0
- package/dist/cjs/uk-c9fb2b01.js.map +1 -0
- package/dist/cjs/utils-046d968a.js +218 -0
- package/dist/cjs/utils-046d968a.js.map +1 -0
- package/dist/cjs/utils-70100f02.js +307 -0
- package/dist/cjs/utils-70100f02.js.map +1 -0
- package/dist/cjs/vi-13584ffc.js +72 -0
- package/dist/cjs/vi-13584ffc.js.map +1 -0
- package/dist/cjs/zh-cn-f1fda097.js +96 -0
- package/dist/cjs/zh-cn-f1fda097.js.map +1 -0
- package/dist/cjs/zh-hk-f8a7cd3c.js +73 -0
- package/dist/cjs/zh-hk-f8a7cd3c.js.map +1 -0
- package/dist/cjs/zh-tw-83282a46.js +94 -0
- package/dist/cjs/zh-tw-83282a46.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +6 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +7 -7
- package/dist/collection/components/input/common/input.spec.js.map +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +6 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/interfaces.js.map +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +11 -8
- package/dist/collection/components/stepper/stepper.e2e.js +6 -6
- package/dist/collection/components/stepper/stepper.e2e.js.map +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -27
- package/dist/collection/components/stepper/stepper.js.map +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +51 -28
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +89 -1
- package/dist/collection/components/table/table.e2e.js.map +1 -1
- package/dist/collection/components/table/table.js +30 -1
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +2 -1
- package/dist/collection/components/table-cell/resources.js.map +1 -1
- package/dist/collection/components/table-cell/table-cell.css +12 -8
- package/dist/collection/components/table-cell/table-cell.js +34 -2
- package/dist/collection/components/table-cell/table-cell.js.map +1 -1
- package/dist/collection/components/table-header/resources.js +2 -1
- package/dist/collection/components/table-header/resources.js.map +1 -1
- package/dist/collection/components/table-header/table-header.css +9 -7
- package/dist/collection/components/table-header/table-header.js +32 -2
- package/dist/collection/components/table-header/table-header.js.map +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +96 -61
- package/dist/collection/components/table-row/table-row.js.map +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow-item.js.map +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +17 -19
- package/dist/components/calcite-stepper.js.map +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +69 -61
- package/dist/components/calcite-table-row.js.map +1 -1
- package/dist/components/calcite-table.js +6 -1
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +10 -3
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +8 -3
- package/dist/components/table-header.js.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-7038b444.js +102 -0
- package/dist/esm/ExpandToggle-7038b444.js.map +1 -0
- package/dist/esm/FloatingArrow-8dd5798e.js +47 -0
- package/dist/esm/FloatingArrow-8dd5798e.js.map +1 -0
- package/dist/esm/Heading-3ff1c6e9.js +19 -0
- package/dist/esm/Heading-3ff1c6e9.js.map +1 -0
- package/dist/esm/Validation-cc143109.js +16 -0
- package/dist/esm/Validation-cc143109.js.map +1 -0
- package/dist/esm/app-globals-0061ccc8.js +59 -0
- package/dist/esm/app-globals-0061ccc8.js.map +1 -0
- package/dist/esm/ar-b8368fe6.js +104 -0
- package/dist/esm/ar-b8368fe6.js.map +1 -0
- package/dist/esm/array-93ae0b1c.js +12 -0
- package/dist/esm/array-93ae0b1c.js.map +1 -0
- package/dist/esm/bg-cd583439.js +82 -0
- package/dist/esm/bg-cd583439.js.map +1 -0
- package/dist/esm/browser-359f7c4c.js +18 -0
- package/dist/esm/browser-359f7c4c.js.map +1 -0
- package/dist/esm/bs-4d9b52e9.js +51 -0
- package/dist/esm/bs-4d9b52e9.js.map +1 -0
- package/dist/esm/ca-67e1ff80.js +71 -0
- package/dist/esm/ca-67e1ff80.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-3914e1da.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-3914e1da.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +16 -16
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +29 -31
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +27 -17
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +75 -69
- package/dist/esm/calcite-table-row.entry.js.map +1 -1
- package/dist/esm/calcite-table.entry.js +14 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-be88998f.js +27 -0
- package/dist/esm/component-be88998f.js.map +1 -0
- package/dist/esm/conditionalSlot-4c9a22b5.js +57 -0
- package/dist/esm/conditionalSlot-4c9a22b5.js.map +1 -0
- package/dist/esm/cs-1ff0851a.js +147 -0
- package/dist/esm/cs-1ff0851a.js.map +1 -0
- package/dist/esm/da-02df9474.js +66 -0
- package/dist/esm/da-02df9474.js.map +1 -0
- package/dist/esm/de-6b5e9a4d.js +91 -0
- package/dist/esm/de-6b5e9a4d.js.map +1 -0
- package/dist/esm/de-at-6af42ba4.js +90 -0
- package/dist/esm/de-at-6af42ba4.js.map +1 -0
- package/dist/esm/de-ch-e37e2f27.js +90 -0
- package/dist/esm/de-ch-e37e2f27.js.map +1 -0
- package/dist/esm/debounce-8756dbbd.js +489 -0
- package/dist/esm/debounce-8756dbbd.js.map +1 -0
- package/dist/esm/dom-b53ddd5e.js +1053 -0
- package/dist/esm/dom-b53ddd5e.js.map +1 -0
- package/dist/esm/el-8b68e032.js +66 -0
- package/dist/esm/el-8b68e032.js.map +1 -0
- package/dist/esm/en-au-d63df72f.js +66 -0
- package/dist/esm/en-au-d63df72f.js.map +1 -0
- package/dist/esm/en-ca-3f51229b.js +65 -0
- package/dist/esm/en-ca-3f51229b.js.map +1 -0
- package/dist/esm/en-gb-64285a02.js +69 -0
- package/dist/esm/en-gb-64285a02.js.map +1 -0
- package/dist/esm/es-7ef5c985.js +66 -0
- package/dist/esm/es-7ef5c985.js.map +1 -0
- package/dist/esm/es-mx-86973204.js +65 -0
- package/dist/esm/es-mx-86973204.js.map +1 -0
- package/dist/esm/et-6e72a5f9.js +92 -0
- package/dist/esm/et-6e72a5f9.js.map +1 -0
- package/dist/esm/fi-02b1b280.js +115 -0
- package/dist/esm/fi-02b1b280.js.map +1 -0
- package/dist/esm/filter-80da289a.js +760 -0
- package/dist/esm/filter-80da289a.js.map +1 -0
- package/dist/esm/floating-ui-fe8e3310.js +1957 -0
- package/dist/esm/floating-ui-fe8e3310.js.map +1 -0
- package/dist/esm/focusTrapComponent-82b68d0c.js +1015 -0
- package/dist/esm/focusTrapComponent-82b68d0c.js.map +1 -0
- package/dist/esm/form-1f9a81b6.js +324 -0
- package/dist/esm/form-1f9a81b6.js.map +1 -0
- package/dist/esm/fr-ch-4a846ae6.js +66 -0
- package/dist/esm/fr-ch-4a846ae6.js.map +1 -0
- package/dist/esm/fr-e6440f04.js +68 -0
- package/dist/esm/fr-e6440f04.js.map +1 -0
- package/dist/esm/guid-49e4c7a4.js +21 -0
- package/dist/esm/guid-49e4c7a4.js.map +1 -0
- package/dist/esm/he-34f438c3.js +105 -0
- package/dist/esm/he-34f438c3.js.map +1 -0
- package/dist/esm/hi-327e6376.js +65 -0
- package/dist/esm/hi-327e6376.js.map +1 -0
- package/dist/esm/hr-febbf10b.js +80 -0
- package/dist/esm/hr-febbf10b.js.map +1 -0
- package/dist/esm/hu-9cdbf0cb.js +88 -0
- package/dist/esm/hu-9cdbf0cb.js.map +1 -0
- package/dist/esm/id-86fd814f.js +66 -0
- package/dist/esm/id-86fd814f.js.map +1 -0
- package/dist/esm/index-a606d5d8.js +206 -0
- package/dist/esm/index-a606d5d8.js.map +1 -0
- package/dist/esm/index-dbebce0f.js +2620 -0
- package/dist/esm/index-dbebce0f.js.map +1 -0
- package/dist/esm/index-f7504916.js +73 -0
- package/dist/esm/index-f7504916.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-99362534.js +55 -0
- package/dist/esm/input-99362534.js.map +1 -0
- package/dist/esm/interactive-218ce927.js +136 -0
- package/dist/esm/interactive-218ce927.js.map +1 -0
- package/dist/esm/it-658d4b7f.js +66 -0
- package/dist/esm/it-658d4b7f.js.map +1 -0
- package/dist/esm/it-ch-2060da48.js +66 -0
- package/dist/esm/it-ch-2060da48.js.map +1 -0
- package/dist/esm/ja-2bd9f1eb.js +72 -0
- package/dist/esm/ja-2bd9f1eb.js.map +1 -0
- package/dist/esm/key-354c2eba.js +13 -0
- package/dist/esm/key-354c2eba.js.map +1 -0
- package/dist/esm/ko-2b1441a1.js +72 -0
- package/dist/esm/ko-2b1441a1.js.map +1 -0
- package/dist/esm/label-b4dce83f.js +176 -0
- package/dist/esm/label-b4dce83f.js.map +1 -0
- package/dist/esm/loadable-2449b25d.js +86 -0
- package/dist/esm/loadable-2449b25d.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-778c9cba.js +563 -0
- package/dist/esm/locale-778c9cba.js.map +1 -0
- package/dist/esm/lt-0e93f25b.js +97 -0
- package/dist/esm/lt-0e93f25b.js.map +1 -0
- package/dist/esm/lv-9b8467d1.js +66 -0
- package/dist/esm/lv-9b8467d1.js.map +1 -0
- package/dist/esm/math-8f596d8f.js +51 -0
- package/dist/esm/math-8f596d8f.js.map +1 -0
- package/dist/esm/mk-63a3e185.js +66 -0
- package/dist/esm/mk-63a3e185.js.map +1 -0
- package/dist/esm/nb-3434fdd4.js +67 -0
- package/dist/esm/nb-3434fdd4.js.map +1 -0
- package/dist/esm/nl-656eed74.js +67 -0
- package/dist/esm/nl-656eed74.js.map +1 -0
- package/dist/esm/observers-86f06c9e.js +48 -0
- package/dist/esm/observers-86f06c9e.js.map +1 -0
- package/dist/esm/openCloseComponent-07d78e24.js +87 -0
- package/dist/esm/openCloseComponent-07d78e24.js.map +1 -0
- package/dist/esm/pl-6c0770ed.js +114 -0
- package/dist/esm/pl-6c0770ed.js.map +1 -0
- package/dist/esm/pt-9bd84699.js +67 -0
- package/dist/esm/pt-9bd84699.js.map +1 -0
- package/dist/esm/pt-br-edb494e2.js +65 -0
- package/dist/esm/pt-br-edb494e2.js.map +1 -0
- package/dist/esm/resources-18b049f4.js +19 -0
- package/dist/esm/resources-18b049f4.js.map +1 -0
- package/dist/esm/resources-2686c29d.js +17 -0
- package/dist/esm/resources-2686c29d.js.map +1 -0
- package/dist/esm/resources-65cb3a2d.js +23 -0
- package/dist/esm/resources-65cb3a2d.js.map +1 -0
- package/dist/esm/resources-678b27be.js +25 -0
- package/dist/esm/resources-678b27be.js.map +1 -0
- package/dist/esm/resources-67dfa085.js +45 -0
- package/dist/esm/resources-67dfa085.js.map +1 -0
- package/dist/esm/resources-b65914e8.js +21 -0
- package/dist/esm/resources-b65914e8.js.map +1 -0
- package/dist/esm/resources-c85d66fa.js +387 -0
- package/dist/esm/resources-c85d66fa.js.map +1 -0
- package/dist/esm/ro-06a5edf3.js +66 -0
- package/dist/esm/ro-06a5edf3.js.map +1 -0
- package/dist/esm/ru-ec2fe4f1.js +126 -0
- package/dist/esm/ru-ec2fe4f1.js.map +1 -0
- package/dist/esm/sk-197fe99a.js +148 -0
- package/dist/esm/sk-197fe99a.js.map +1 -0
- package/dist/esm/sl-76fc52aa.js +168 -0
- package/dist/esm/sl-76fc52aa.js.map +1 -0
- package/dist/esm/sortableComponent-2c04961e.js +2735 -0
- package/dist/esm/sortableComponent-2c04961e.js.map +1 -0
- package/dist/esm/sr-c97ac754.js +101 -0
- package/dist/esm/sr-c97ac754.js.map +1 -0
- package/dist/esm/sv-1109b3fb.js +71 -0
- package/dist/esm/sv-1109b3fb.js.map +1 -0
- package/dist/esm/t9n-e5e49356.js +92 -0
- package/dist/esm/t9n-e5e49356.js.map +1 -0
- package/dist/esm/th-af910392.js +65 -0
- package/dist/esm/th-af910392.js.map +1 -0
- package/dist/esm/throttle-9f0091b4.js +75 -0
- package/dist/esm/throttle-9f0091b4.js.map +1 -0
- package/dist/esm/tr-b9fbf792.js +66 -0
- package/dist/esm/tr-b9fbf792.js.map +1 -0
- package/dist/esm/uk-37c00a7f.js +104 -0
- package/dist/esm/uk-37c00a7f.js.map +1 -0
- package/dist/esm/utils-33fe09a4.js +200 -0
- package/dist/esm/utils-33fe09a4.js.map +1 -0
- package/dist/esm/utils-521fd0a0.js +289 -0
- package/dist/esm/utils-521fd0a0.js.map +1 -0
- package/dist/esm/vi-a4095532.js +70 -0
- package/dist/esm/vi-a4095532.js.map +1 -0
- package/dist/esm/zh-cn-3f52d6f7.js +94 -0
- package/dist/esm/zh-cn-3f52d6f7.js.map +1 -0
- package/dist/esm/zh-hk-b2064936.js +71 -0
- package/dist/esm/zh-hk-b2064936.js.map +1 -0
- package/dist/esm/zh-tw-4670c2fc.js +92 -0
- package/dist/esm/zh-tw-4670c2fc.js.map +1 -0
- package/dist/extras/docs-json.json +54 -11
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/stepper/interfaces.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +3 -3
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/table/interfaces.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +3 -1
- package/dist/types/components/table-cell/resources.d.ts +1 -0
- package/dist/types/components/table-cell/table-cell.d.ts +3 -1
- package/dist/types/components/table-header/resources.d.ts +1 -0
- package/dist/types/components/table-header/table-header.d.ts +3 -1
- package/dist/types/components/table-row/table-row.d.ts +3 -1
- package/dist/types/components.d.ts +18 -7
- package/hydrate/index.js +110 -89
- package/package.json +2 -2
- package/dist/calcite/p-06bc838e.entry.js +0 -7
- package/dist/calcite/p-06bc838e.entry.js.map +0 -1
- package/dist/calcite/p-098dde49.entry.js +0 -7
- package/dist/calcite/p-0a226917.entry.js +0 -7
- package/dist/calcite/p-0f6aef5f.js +0 -7
- package/dist/calcite/p-102a8a3c.entry.js +0 -7
- package/dist/calcite/p-106a9b3c.entry.js +0 -7
- package/dist/calcite/p-11e896ea.entry.js +0 -7
- package/dist/calcite/p-126e7efd.entry.js +0 -7
- package/dist/calcite/p-12f73849.js +0 -7
- package/dist/calcite/p-12f9ae32.entry.js +0 -7
- package/dist/calcite/p-145a99eb.js +0 -7
- package/dist/calcite/p-16c12e8d.js +0 -7
- package/dist/calcite/p-192ac931.entry.js +0 -7
- package/dist/calcite/p-195622fd.entry.js +0 -7
- package/dist/calcite/p-1a70e255.entry.js +0 -7
- package/dist/calcite/p-1ad3f590.entry.js +0 -7
- package/dist/calcite/p-1b6a7d43.entry.js +0 -7
- package/dist/calcite/p-1b6df6e3.js +0 -7
- package/dist/calcite/p-1bed2571.js +0 -7
- package/dist/calcite/p-1bed2571.js.map +0 -1
- package/dist/calcite/p-1d8fa933.js +0 -7
- package/dist/calcite/p-1d9815c1.js +0 -7
- package/dist/calcite/p-1f107d76.entry.js +0 -7
- package/dist/calcite/p-1f107d76.entry.js.map +0 -1
- package/dist/calcite/p-21111ff8.js +0 -7
- package/dist/calcite/p-211b17ce.entry.js +0 -7
- package/dist/calcite/p-218195fe.js +0 -7
- package/dist/calcite/p-270b8733.js +0 -7
- package/dist/calcite/p-28f1b0cd.js +0 -7
- package/dist/calcite/p-29d96e73.js +0 -7
- package/dist/calcite/p-2b5b4ef0.entry.js +0 -7
- package/dist/calcite/p-2ba0f9e1.js +0 -7
- package/dist/calcite/p-2ba49f61.js +0 -7
- package/dist/calcite/p-2dd28699.entry.js +0 -7
- package/dist/calcite/p-2f46886e.entry.js +0 -7
- package/dist/calcite/p-3094fdeb.js +0 -7
- package/dist/calcite/p-3302dafe.entry.js +0 -7
- package/dist/calcite/p-33d10fc7.js +0 -7
- package/dist/calcite/p-343e5a25.js +0 -7
- package/dist/calcite/p-349d9d39.js +0 -7
- package/dist/calcite/p-379211fa.js +0 -7
- package/dist/calcite/p-392d03a3.js +0 -7
- package/dist/calcite/p-436f688a.js +0 -7
- package/dist/calcite/p-44015444.entry.js +0 -7
- package/dist/calcite/p-44015444.entry.js.map +0 -1
- package/dist/calcite/p-452b6321.js +0 -7
- package/dist/calcite/p-45e2e445.js +0 -7
- package/dist/calcite/p-4887bcc6.js +0 -7
- package/dist/calcite/p-48b67298.entry.js +0 -7
- package/dist/calcite/p-4978e6f6.js +0 -7
- package/dist/calcite/p-49814e41.entry.js +0 -7
- package/dist/calcite/p-4abdccae.entry.js +0 -7
- package/dist/calcite/p-4ad7e3b4.js +0 -7
- package/dist/calcite/p-4cfb8d30.js +0 -8
- package/dist/calcite/p-4d1d795a.js +0 -7
- package/dist/calcite/p-5024cc43.js +0 -7
- package/dist/calcite/p-50ba23b3.entry.js +0 -7
- package/dist/calcite/p-5124ce6e.entry.js +0 -7
- package/dist/calcite/p-59978662.js +0 -7
- package/dist/calcite/p-5a949941.js +0 -7
- package/dist/calcite/p-5ae8bfd3.js +0 -7
- package/dist/calcite/p-5defa0ff.entry.js +0 -7
- package/dist/calcite/p-5defa0ff.entry.js.map +0 -1
- package/dist/calcite/p-6035fa76.entry.js +0 -7
- package/dist/calcite/p-6035fa76.entry.js.map +0 -1
- package/dist/calcite/p-62d49b49.entry.js +0 -7
- package/dist/calcite/p-62d49b49.entry.js.map +0 -1
- package/dist/calcite/p-662e2116.js +0 -7
- package/dist/calcite/p-67ef9330.entry.js +0 -7
- package/dist/calcite/p-68c56c33.entry.js +0 -7
- package/dist/calcite/p-6b63e9bf.entry.js +0 -7
- package/dist/calcite/p-6dfb11a1.entry.js +0 -7
- package/dist/calcite/p-6f17d28e.js +0 -7
- package/dist/calcite/p-70a06df5.js +0 -7
- package/dist/calcite/p-779c146e.js +0 -7
- package/dist/calcite/p-78ba453e.js +0 -7
- package/dist/calcite/p-78ebc8db.js +0 -11
- package/dist/calcite/p-79ce43f7.js +0 -7
- package/dist/calcite/p-79d47ae7.entry.js +0 -7
- package/dist/calcite/p-7aabf34a.entry.js +0 -7
- package/dist/calcite/p-7ab6a0cd.js +0 -7
- package/dist/calcite/p-7ce83347.js +0 -7
- package/dist/calcite/p-7ed30e3b.entry.js +0 -7
- package/dist/calcite/p-80fbba8e.js +0 -7
- package/dist/calcite/p-81da01ea.js +0 -7
- package/dist/calcite/p-82cf7ed8.js +0 -7
- package/dist/calcite/p-833641c0.js +0 -7
- package/dist/calcite/p-848d50fd.js +0 -7
- package/dist/calcite/p-84ad90ba.js +0 -7
- package/dist/calcite/p-85b1bec3.js +0 -7
- package/dist/calcite/p-88235bb5.js +0 -7
- package/dist/calcite/p-8ac3c2e4.entry.js +0 -7
- package/dist/calcite/p-8be8d73f.js +0 -7
- package/dist/calcite/p-8c052cff.js +0 -7
- package/dist/calcite/p-8cf807d3.js +0 -7
- package/dist/calcite/p-8fad797d.js +0 -7
- package/dist/calcite/p-9047fdad.js +0 -7
- package/dist/calcite/p-905f710f.js +0 -7
- package/dist/calcite/p-91c8e1a8.entry.js +0 -7
- package/dist/calcite/p-91c8e1a8.entry.js.map +0 -1
- package/dist/calcite/p-91fbe602.js +0 -7
- package/dist/calcite/p-9281b2c6.js +0 -7
- package/dist/calcite/p-93c4c54a.js +0 -7
- package/dist/calcite/p-94645116.js +0 -7
- package/dist/calcite/p-9788c794.js +0 -7
- package/dist/calcite/p-990c5d41.entry.js +0 -7
- package/dist/calcite/p-9dace80d.js +0 -7
- package/dist/calcite/p-9fe527a6.js +0 -7
- package/dist/calcite/p-a209805b.js +0 -7
- package/dist/calcite/p-a334baae.js +0 -12
- package/dist/calcite/p-a570e9d8.entry.js +0 -7
- package/dist/calcite/p-ae902554.entry.js +0 -7
- package/dist/calcite/p-ae9db8f1.entry.js +0 -7
- package/dist/calcite/p-b2da4c2f.js +0 -7
- package/dist/calcite/p-b33332da.entry.js +0 -7
- package/dist/calcite/p-b6838251.entry.js +0 -7
- package/dist/calcite/p-b885203e.entry.js +0 -7
- package/dist/calcite/p-b9af6b29.entry.js +0 -7
- package/dist/calcite/p-b9f32da9.entry.js +0 -7
- package/dist/calcite/p-ba942625.js +0 -7
- package/dist/calcite/p-bab51c05.js +0 -13
- package/dist/calcite/p-bd4811d2.entry.js +0 -7
- package/dist/calcite/p-bedfe651.entry.js +0 -7
- package/dist/calcite/p-c02e0865.js +0 -7
- package/dist/calcite/p-c2520c09.js +0 -7
- package/dist/calcite/p-c2db7c6f.entry.js +0 -7
- package/dist/calcite/p-c5559e48.js +0 -7
- package/dist/calcite/p-c6d1758c.entry.js +0 -7
- package/dist/calcite/p-c83997bc.entry.js +0 -7
- package/dist/calcite/p-cae42867.entry.js +0 -7
- package/dist/calcite/p-cb72f3b1.js +0 -7
- package/dist/calcite/p-cc9ac333.js +0 -7
- package/dist/calcite/p-ccf2667e.entry.js +0 -7
- package/dist/calcite/p-ccf2667e.entry.js.map +0 -1
- package/dist/calcite/p-cf778589.js +0 -7
- package/dist/calcite/p-cfde9025.entry.js +0 -7
- package/dist/calcite/p-d0504436.entry.js +0 -7
- package/dist/calcite/p-d11591e6.entry.js +0 -7
- package/dist/calcite/p-d11591e6.entry.js.map +0 -1
- package/dist/calcite/p-d4ea0c6e.entry.js +0 -7
- package/dist/calcite/p-d6bb739a.js +0 -7
- package/dist/calcite/p-d864234c.entry.js +0 -7
- package/dist/calcite/p-d8e6e50c.entry.js +0 -7
- package/dist/calcite/p-d922dc04.js +0 -7
- package/dist/calcite/p-d9db6b9b.js +0 -7
- package/dist/calcite/p-df73ee17.entry.js +0 -7
- package/dist/calcite/p-e10e797a.js +0 -7
- package/dist/calcite/p-e7ec6bb8.js +0 -7
- package/dist/calcite/p-e8cd9f95.entry.js +0 -7
- package/dist/calcite/p-e8e58eab.entry.js +0 -7
- package/dist/calcite/p-eb186efb.entry.js +0 -7
- package/dist/calcite/p-eb186efb.entry.js.map +0 -1
- package/dist/calcite/p-eb9e9f2a.js +0 -7
- package/dist/calcite/p-ecb89e48.js +0 -7
- package/dist/calcite/p-ecc44eea.js +0 -7
- package/dist/calcite/p-ee6f2620.entry.js +0 -7
- package/dist/calcite/p-ef08cf8d.js +0 -7
- package/dist/calcite/p-ef42a511.js +0 -7
- package/dist/calcite/p-f0d3641e.entry.js +0 -7
- package/dist/calcite/p-f0d3641e.entry.js.map +0 -1
- package/dist/calcite/p-f1974ab0.js +0 -7
- package/dist/calcite/p-f1dfe371.js +0 -7
- package/dist/calcite/p-f1f41147.entry.js +0 -7
- package/dist/calcite/p-f498f0e1.entry.js +0 -7
- package/dist/calcite/p-f72de1cc.entry.js +0 -7
- package/dist/calcite/p-f73aaed8.js +0 -7
- package/dist/calcite/p-f8231dcb.js +0 -7
- package/dist/calcite/p-f861810d.js +0 -7
- package/dist/calcite/p-f8e7ddef.entry.js +0 -7
- package/dist/calcite/p-f9a83991.entry.js +0 -7
- package/dist/calcite/p-fb49ce47.js +0 -7
- package/dist/calcite/p-fc2de2e1.entry.js +0 -7
- package/dist/cjs/ExpandToggle-f8fb482a.js +0 -110
- package/dist/cjs/ExpandToggle-f8fb482a.js.map +0 -1
- package/dist/cjs/FloatingArrow-6299b603.js +0 -49
- package/dist/cjs/FloatingArrow-6299b603.js.map +0 -1
- package/dist/cjs/Heading-aa6d8157.js +0 -22
- package/dist/cjs/Heading-aa6d8157.js.map +0 -1
- package/dist/cjs/Validation-ba3b6ebf.js +0 -18
- package/dist/cjs/Validation-ba3b6ebf.js.map +0 -1
- package/dist/cjs/app-globals-76d37f23.js +0 -61
- package/dist/cjs/app-globals-76d37f23.js.map +0 -1
- package/dist/cjs/ar-3d03e954.js +0 -106
- package/dist/cjs/ar-3d03e954.js.map +0 -1
- package/dist/cjs/array-abc8f866.js +0 -14
- package/dist/cjs/array-abc8f866.js.map +0 -1
- package/dist/cjs/bg-7f43aed5.js +0 -84
- package/dist/cjs/bg-7f43aed5.js.map +0 -1
- package/dist/cjs/browser-f3f285f4.js +0 -20
- package/dist/cjs/browser-f3f285f4.js.map +0 -1
- package/dist/cjs/bs-5b5a217a.js +0 -53
- package/dist/cjs/bs-5b5a217a.js.map +0 -1
- package/dist/cjs/ca-223c25f9.js +0 -73
- package/dist/cjs/ca-223c25f9.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c099520b.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c099520b.js.map +0 -1
- package/dist/cjs/component-60017307.js +0 -30
- package/dist/cjs/component-60017307.js.map +0 -1
- package/dist/cjs/conditionalSlot-e58d6711.js +0 -60
- package/dist/cjs/conditionalSlot-e58d6711.js.map +0 -1
- package/dist/cjs/cs-388490b0.js +0 -149
- package/dist/cjs/cs-388490b0.js.map +0 -1
- package/dist/cjs/da-88abc8ab.js +0 -68
- package/dist/cjs/da-88abc8ab.js.map +0 -1
- package/dist/cjs/de-5bd3de87.js +0 -93
- package/dist/cjs/de-5bd3de87.js.map +0 -1
- package/dist/cjs/de-at-668193db.js +0 -92
- package/dist/cjs/de-at-668193db.js.map +0 -1
- package/dist/cjs/de-ch-bad76bd7.js +0 -92
- package/dist/cjs/de-ch-bad76bd7.js.map +0 -1
- package/dist/cjs/debounce-0c7e1a59.js +0 -498
- package/dist/cjs/debounce-0c7e1a59.js.map +0 -1
- package/dist/cjs/dom-d4bdfc93.js +0 -1084
- package/dist/cjs/dom-d4bdfc93.js.map +0 -1
- package/dist/cjs/el-7466491b.js +0 -68
- package/dist/cjs/el-7466491b.js.map +0 -1
- package/dist/cjs/en-au-fda1bd9a.js +0 -68
- package/dist/cjs/en-au-fda1bd9a.js.map +0 -1
- package/dist/cjs/en-ca-a835e49f.js +0 -67
- package/dist/cjs/en-ca-a835e49f.js.map +0 -1
- package/dist/cjs/en-gb-936e5972.js +0 -71
- package/dist/cjs/en-gb-936e5972.js.map +0 -1
- package/dist/cjs/es-d0295860.js +0 -68
- package/dist/cjs/es-d0295860.js.map +0 -1
- package/dist/cjs/es-mx-749d587c.js +0 -67
- package/dist/cjs/es-mx-749d587c.js.map +0 -1
- package/dist/cjs/et-616fdd2f.js +0 -94
- package/dist/cjs/et-616fdd2f.js.map +0 -1
- package/dist/cjs/fi-42e5fa5c.js +0 -117
- package/dist/cjs/fi-42e5fa5c.js.map +0 -1
- package/dist/cjs/filter-513ae2bf.js +0 -762
- package/dist/cjs/filter-513ae2bf.js.map +0 -1
- package/dist/cjs/floating-ui-2142db87.js +0 -1965
- package/dist/cjs/floating-ui-2142db87.js.map +0 -1
- package/dist/cjs/focusTrapComponent-7f6948b7.js +0 -1020
- package/dist/cjs/focusTrapComponent-7f6948b7.js.map +0 -1
- package/dist/cjs/form-f34ee1ae.js +0 -333
- package/dist/cjs/form-f34ee1ae.js.map +0 -1
- package/dist/cjs/fr-7b4d8b94.js +0 -70
- package/dist/cjs/fr-7b4d8b94.js.map +0 -1
- package/dist/cjs/fr-ch-5f4ff2fc.js +0 -68
- package/dist/cjs/fr-ch-5f4ff2fc.js.map +0 -1
- package/dist/cjs/guid-c97ceae0.js +0 -23
- package/dist/cjs/guid-c97ceae0.js.map +0 -1
- package/dist/cjs/he-32b69b22.js +0 -107
- package/dist/cjs/he-32b69b22.js.map +0 -1
- package/dist/cjs/hi-69584488.js +0 -67
- package/dist/cjs/hi-69584488.js.map +0 -1
- package/dist/cjs/hr-b79ef6c8.js +0 -82
- package/dist/cjs/hr-b79ef6c8.js.map +0 -1
- package/dist/cjs/hu-8da36a85.js +0 -90
- package/dist/cjs/hu-8da36a85.js.map +0 -1
- package/dist/cjs/id-dfe7e505.js +0 -68
- package/dist/cjs/id-dfe7e505.js.map +0 -1
- package/dist/cjs/index-28c9b535.js +0 -2655
- package/dist/cjs/index-28c9b535.js.map +0 -1
- package/dist/cjs/index-71433929.js +0 -75
- package/dist/cjs/index-71433929.js.map +0 -1
- package/dist/cjs/index-d69d829e.js +0 -208
- package/dist/cjs/index-d69d829e.js.map +0 -1
- package/dist/cjs/input-cd70f4ba.js +0 -57
- package/dist/cjs/input-cd70f4ba.js.map +0 -1
- package/dist/cjs/interactive-f9f66f8f.js +0 -141
- package/dist/cjs/interactive-f9f66f8f.js.map +0 -1
- package/dist/cjs/it-55a85a13.js +0 -68
- package/dist/cjs/it-55a85a13.js.map +0 -1
- package/dist/cjs/it-ch-4c285b14.js +0 -68
- package/dist/cjs/it-ch-4c285b14.js.map +0 -1
- package/dist/cjs/ja-35829c87.js +0 -74
- package/dist/cjs/ja-35829c87.js.map +0 -1
- package/dist/cjs/key-bbb62d71.js +0 -16
- package/dist/cjs/key-bbb62d71.js.map +0 -1
- package/dist/cjs/ko-b35a50b6.js +0 -74
- package/dist/cjs/ko-b35a50b6.js.map +0 -1
- package/dist/cjs/label-b783cc72.js +0 -183
- package/dist/cjs/label-b783cc72.js.map +0 -1
- package/dist/cjs/loadable-fb9078dd.js +0 -91
- package/dist/cjs/loadable-fb9078dd.js.map +0 -1
- package/dist/cjs/locale-6fa7eb38.js +0 -576
- package/dist/cjs/locale-6fa7eb38.js.map +0 -1
- package/dist/cjs/lt-a4ef0054.js +0 -99
- package/dist/cjs/lt-a4ef0054.js.map +0 -1
- package/dist/cjs/lv-1d5be5f7.js +0 -68
- package/dist/cjs/lv-1d5be5f7.js.map +0 -1
- package/dist/cjs/math-63677290.js +0 -57
- package/dist/cjs/math-63677290.js.map +0 -1
- package/dist/cjs/mk-0ea585bb.js +0 -68
- package/dist/cjs/mk-0ea585bb.js.map +0 -1
- package/dist/cjs/nb-a8b9b54c.js +0 -69
- package/dist/cjs/nb-a8b9b54c.js.map +0 -1
- package/dist/cjs/nl-44db397b.js +0 -69
- package/dist/cjs/nl-44db397b.js.map +0 -1
- package/dist/cjs/observers-064ac249.js +0 -50
- package/dist/cjs/observers-064ac249.js.map +0 -1
- package/dist/cjs/openCloseComponent-656ce4c9.js +0 -89
- package/dist/cjs/openCloseComponent-656ce4c9.js.map +0 -1
- package/dist/cjs/pl-9432eb1e.js +0 -116
- package/dist/cjs/pl-9432eb1e.js.map +0 -1
- package/dist/cjs/pt-980403b9.js +0 -69
- package/dist/cjs/pt-980403b9.js.map +0 -1
- package/dist/cjs/pt-br-158bd2d4.js +0 -67
- package/dist/cjs/pt-br-158bd2d4.js.map +0 -1
- package/dist/cjs/resources-339a809b.js +0 -49
- package/dist/cjs/resources-339a809b.js.map +0 -1
- package/dist/cjs/resources-555ae9c3.js +0 -414
- package/dist/cjs/resources-555ae9c3.js.map +0 -1
- package/dist/cjs/resources-639f71f7.js +0 -26
- package/dist/cjs/resources-639f71f7.js.map +0 -1
- package/dist/cjs/resources-72a978f4.js +0 -29
- package/dist/cjs/resources-72a978f4.js.map +0 -1
- package/dist/cjs/resources-863d7f17.js +0 -26
- package/dist/cjs/resources-863d7f17.js.map +0 -1
- package/dist/cjs/resources-c333b556.js +0 -23
- package/dist/cjs/resources-c333b556.js.map +0 -1
- package/dist/cjs/resources-dc909774.js +0 -17
- package/dist/cjs/resources-dc909774.js.map +0 -1
- package/dist/cjs/ro-5b65b1c4.js +0 -68
- package/dist/cjs/ro-5b65b1c4.js.map +0 -1
- package/dist/cjs/ru-9cbeb39b.js +0 -128
- package/dist/cjs/ru-9cbeb39b.js.map +0 -1
- package/dist/cjs/sk-ce9005bc.js +0 -150
- package/dist/cjs/sk-ce9005bc.js.map +0 -1
- package/dist/cjs/sl-38e12db4.js +0 -170
- package/dist/cjs/sl-38e12db4.js.map +0 -1
- package/dist/cjs/sortableComponent-4a4b2293.js +0 -2739
- package/dist/cjs/sortableComponent-4a4b2293.js.map +0 -1
- package/dist/cjs/sr-fe5cae60.js +0 -103
- package/dist/cjs/sr-fe5cae60.js.map +0 -1
- package/dist/cjs/sv-15f1cc71.js +0 -73
- package/dist/cjs/sv-15f1cc71.js.map +0 -1
- package/dist/cjs/t9n-c8b706fd.js +0 -97
- package/dist/cjs/t9n-c8b706fd.js.map +0 -1
- package/dist/cjs/th-8d5f7665.js +0 -67
- package/dist/cjs/th-8d5f7665.js.map +0 -1
- package/dist/cjs/throttle-b9c75f82.js +0 -77
- package/dist/cjs/throttle-b9c75f82.js.map +0 -1
- package/dist/cjs/tr-b212ca71.js +0 -68
- package/dist/cjs/tr-b212ca71.js.map +0 -1
- package/dist/cjs/uk-d6b1d1b1.js +0 -106
- package/dist/cjs/uk-d6b1d1b1.js.map +0 -1
- package/dist/cjs/utils-afcb5b91.js +0 -307
- package/dist/cjs/utils-afcb5b91.js.map +0 -1
- package/dist/cjs/utils-df7c2f32.js +0 -218
- package/dist/cjs/utils-df7c2f32.js.map +0 -1
- package/dist/cjs/vi-946ee544.js +0 -72
- package/dist/cjs/vi-946ee544.js.map +0 -1
- package/dist/cjs/zh-cn-3e37931a.js +0 -96
- package/dist/cjs/zh-cn-3e37931a.js.map +0 -1
- package/dist/cjs/zh-hk-b4eddd51.js +0 -73
- package/dist/cjs/zh-hk-b4eddd51.js.map +0 -1
- package/dist/cjs/zh-tw-e3399aec.js +0 -94
- package/dist/cjs/zh-tw-e3399aec.js.map +0 -1
- package/dist/esm/ExpandToggle-f64fe709.js +0 -102
- package/dist/esm/ExpandToggle-f64fe709.js.map +0 -1
- package/dist/esm/FloatingArrow-74d36f3b.js +0 -47
- package/dist/esm/FloatingArrow-74d36f3b.js.map +0 -1
- package/dist/esm/Heading-8d5b03f8.js +0 -19
- package/dist/esm/Heading-8d5b03f8.js.map +0 -1
- package/dist/esm/Validation-ec921a54.js +0 -16
- package/dist/esm/Validation-ec921a54.js.map +0 -1
- package/dist/esm/app-globals-cb356a9c.js +0 -59
- package/dist/esm/app-globals-cb356a9c.js.map +0 -1
- package/dist/esm/ar-8ac4ce04.js +0 -104
- package/dist/esm/ar-8ac4ce04.js.map +0 -1
- package/dist/esm/array-898ba311.js +0 -12
- package/dist/esm/array-898ba311.js.map +0 -1
- package/dist/esm/bg-b94e6bb9.js +0 -82
- package/dist/esm/bg-b94e6bb9.js.map +0 -1
- package/dist/esm/browser-b1424b1c.js +0 -18
- package/dist/esm/browser-b1424b1c.js.map +0 -1
- package/dist/esm/bs-ad144e7a.js +0 -51
- package/dist/esm/bs-ad144e7a.js.map +0 -1
- package/dist/esm/ca-4a41f28f.js +0 -71
- package/dist/esm/ca-4a41f28f.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1177cbfa.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1177cbfa.js.map +0 -1
- package/dist/esm/component-bf361bd7.js +0 -27
- package/dist/esm/component-bf361bd7.js.map +0 -1
- package/dist/esm/conditionalSlot-2f1aca52.js +0 -57
- package/dist/esm/conditionalSlot-2f1aca52.js.map +0 -1
- package/dist/esm/cs-fb8ae30b.js +0 -147
- package/dist/esm/cs-fb8ae30b.js.map +0 -1
- package/dist/esm/da-a4f0fb1d.js +0 -66
- package/dist/esm/da-a4f0fb1d.js.map +0 -1
- package/dist/esm/de-at-3929b8e7.js +0 -90
- package/dist/esm/de-at-3929b8e7.js.map +0 -1
- package/dist/esm/de-ch-4d540f21.js +0 -90
- package/dist/esm/de-ch-4d540f21.js.map +0 -1
- package/dist/esm/de-ea3f41b6.js +0 -91
- package/dist/esm/de-ea3f41b6.js.map +0 -1
- package/dist/esm/debounce-e3b28c3a.js +0 -489
- package/dist/esm/debounce-e3b28c3a.js.map +0 -1
- package/dist/esm/dom-2b4f468e.js +0 -1053
- package/dist/esm/dom-2b4f468e.js.map +0 -1
- package/dist/esm/el-2671646a.js +0 -66
- package/dist/esm/el-2671646a.js.map +0 -1
- package/dist/esm/en-au-a8ad3bf0.js +0 -66
- package/dist/esm/en-au-a8ad3bf0.js.map +0 -1
- package/dist/esm/en-ca-3f5429fc.js +0 -65
- package/dist/esm/en-ca-3f5429fc.js.map +0 -1
- package/dist/esm/en-gb-5c04b277.js +0 -69
- package/dist/esm/en-gb-5c04b277.js.map +0 -1
- package/dist/esm/es-97797bf9.js +0 -66
- package/dist/esm/es-97797bf9.js.map +0 -1
- package/dist/esm/es-mx-58e2ae50.js +0 -65
- package/dist/esm/es-mx-58e2ae50.js.map +0 -1
- package/dist/esm/et-7f65df66.js +0 -92
- package/dist/esm/et-7f65df66.js.map +0 -1
- package/dist/esm/fi-4f2b676d.js +0 -115
- package/dist/esm/fi-4f2b676d.js.map +0 -1
- package/dist/esm/filter-7266e670.js +0 -760
- package/dist/esm/filter-7266e670.js.map +0 -1
- package/dist/esm/floating-ui-de4f1a07.js +0 -1957
- package/dist/esm/floating-ui-de4f1a07.js.map +0 -1
- package/dist/esm/focusTrapComponent-98b375a3.js +0 -1015
- package/dist/esm/focusTrapComponent-98b375a3.js.map +0 -1
- package/dist/esm/form-da443173.js +0 -324
- package/dist/esm/form-da443173.js.map +0 -1
- package/dist/esm/fr-03ae87b8.js +0 -68
- package/dist/esm/fr-03ae87b8.js.map +0 -1
- package/dist/esm/fr-ch-0b9069b5.js +0 -66
- package/dist/esm/fr-ch-0b9069b5.js.map +0 -1
- package/dist/esm/guid-ec049642.js +0 -21
- package/dist/esm/guid-ec049642.js.map +0 -1
- package/dist/esm/he-548bf24b.js +0 -105
- package/dist/esm/he-548bf24b.js.map +0 -1
- package/dist/esm/hi-164def17.js +0 -65
- package/dist/esm/hi-164def17.js.map +0 -1
- package/dist/esm/hr-c2894622.js +0 -80
- package/dist/esm/hr-c2894622.js.map +0 -1
- package/dist/esm/hu-d745c627.js +0 -88
- package/dist/esm/hu-d745c627.js.map +0 -1
- package/dist/esm/id-1c2d9f3a.js +0 -66
- package/dist/esm/id-1c2d9f3a.js.map +0 -1
- package/dist/esm/index-04521c1c.js +0 -2620
- package/dist/esm/index-04521c1c.js.map +0 -1
- package/dist/esm/index-a461e905.js +0 -73
- package/dist/esm/index-a461e905.js.map +0 -1
- package/dist/esm/index-b4b2c9bb.js +0 -206
- package/dist/esm/index-b4b2c9bb.js.map +0 -1
- package/dist/esm/input-4eace5ed.js +0 -55
- package/dist/esm/input-4eace5ed.js.map +0 -1
- package/dist/esm/interactive-2ea0a255.js +0 -136
- package/dist/esm/interactive-2ea0a255.js.map +0 -1
- package/dist/esm/it-62002867.js +0 -66
- package/dist/esm/it-62002867.js.map +0 -1
- package/dist/esm/it-ch-afa63d98.js +0 -66
- package/dist/esm/it-ch-afa63d98.js.map +0 -1
- package/dist/esm/ja-ae214550.js +0 -72
- package/dist/esm/ja-ae214550.js.map +0 -1
- package/dist/esm/key-b01e1fe4.js +0 -13
- package/dist/esm/key-b01e1fe4.js.map +0 -1
- package/dist/esm/ko-42cd36b3.js +0 -72
- package/dist/esm/ko-42cd36b3.js.map +0 -1
- package/dist/esm/label-b853daa7.js +0 -176
- package/dist/esm/label-b853daa7.js.map +0 -1
- package/dist/esm/loadable-e91fc681.js +0 -86
- package/dist/esm/loadable-e91fc681.js.map +0 -1
- package/dist/esm/locale-3c16311d.js +0 -563
- package/dist/esm/locale-3c16311d.js.map +0 -1
- package/dist/esm/lt-74ba9b28.js +0 -97
- package/dist/esm/lt-74ba9b28.js.map +0 -1
- package/dist/esm/lv-5ce626b7.js +0 -66
- package/dist/esm/lv-5ce626b7.js.map +0 -1
- package/dist/esm/math-921f6806.js +0 -51
- package/dist/esm/math-921f6806.js.map +0 -1
- package/dist/esm/mk-d8ee78e9.js +0 -66
- package/dist/esm/mk-d8ee78e9.js.map +0 -1
- package/dist/esm/nb-933d14b7.js +0 -67
- package/dist/esm/nb-933d14b7.js.map +0 -1
- package/dist/esm/nl-b462ef4e.js +0 -67
- package/dist/esm/nl-b462ef4e.js.map +0 -1
- package/dist/esm/observers-1e1893e0.js +0 -48
- package/dist/esm/observers-1e1893e0.js.map +0 -1
- package/dist/esm/openCloseComponent-f13e36af.js +0 -87
- package/dist/esm/openCloseComponent-f13e36af.js.map +0 -1
- package/dist/esm/pl-f6c9c8cb.js +0 -114
- package/dist/esm/pl-f6c9c8cb.js.map +0 -1
- package/dist/esm/pt-br-c24ed964.js +0 -65
- package/dist/esm/pt-br-c24ed964.js.map +0 -1
- package/dist/esm/pt-ed3c6e8b.js +0 -67
- package/dist/esm/pt-ed3c6e8b.js.map +0 -1
- package/dist/esm/resources-187e2daa.js +0 -23
- package/dist/esm/resources-187e2daa.js.map +0 -1
- package/dist/esm/resources-1c339606.js +0 -21
- package/dist/esm/resources-1c339606.js.map +0 -1
- package/dist/esm/resources-3038aca1.js +0 -387
- package/dist/esm/resources-3038aca1.js.map +0 -1
- package/dist/esm/resources-4a1418d0.js +0 -45
- package/dist/esm/resources-4a1418d0.js.map +0 -1
- package/dist/esm/resources-7fe2839f.js +0 -25
- package/dist/esm/resources-7fe2839f.js.map +0 -1
- package/dist/esm/resources-861d2bdc.js +0 -19
- package/dist/esm/resources-861d2bdc.js.map +0 -1
- package/dist/esm/resources-ae7ab2d6.js +0 -17
- package/dist/esm/resources-ae7ab2d6.js.map +0 -1
- package/dist/esm/ro-e24f0eb7.js +0 -66
- package/dist/esm/ro-e24f0eb7.js.map +0 -1
- package/dist/esm/ru-e0027e38.js +0 -126
- package/dist/esm/ru-e0027e38.js.map +0 -1
- package/dist/esm/sk-e021c370.js +0 -148
- package/dist/esm/sk-e021c370.js.map +0 -1
- package/dist/esm/sl-732a10dc.js +0 -168
- package/dist/esm/sl-732a10dc.js.map +0 -1
- package/dist/esm/sortableComponent-114d2347.js +0 -2735
- package/dist/esm/sortableComponent-114d2347.js.map +0 -1
- package/dist/esm/sr-f6ead27a.js +0 -101
- package/dist/esm/sr-f6ead27a.js.map +0 -1
- package/dist/esm/sv-d851cbad.js +0 -71
- package/dist/esm/sv-d851cbad.js.map +0 -1
- package/dist/esm/t9n-fc4d7f56.js +0 -92
- package/dist/esm/t9n-fc4d7f56.js.map +0 -1
- package/dist/esm/th-0f15da38.js +0 -65
- package/dist/esm/th-0f15da38.js.map +0 -1
- package/dist/esm/throttle-62da2ccc.js +0 -75
- package/dist/esm/throttle-62da2ccc.js.map +0 -1
- package/dist/esm/tr-7d58d805.js +0 -66
- package/dist/esm/tr-7d58d805.js.map +0 -1
- package/dist/esm/uk-a3ecd43b.js +0 -104
- package/dist/esm/uk-a3ecd43b.js.map +0 -1
- package/dist/esm/utils-a6170a61.js +0 -289
- package/dist/esm/utils-a6170a61.js.map +0 -1
- package/dist/esm/utils-ddf44969.js +0 -200
- package/dist/esm/utils-ddf44969.js.map +0 -1
- package/dist/esm/vi-e6608784.js +0 -70
- package/dist/esm/vi-e6608784.js.map +0 -1
- package/dist/esm/zh-cn-b67a8649.js +0 -94
- package/dist/esm/zh-cn-b67a8649.js.map +0 -1
- package/dist/esm/zh-hk-282a8e94.js +0 -71
- package/dist/esm/zh-hk-282a8e94.js.map +0 -1
- package/dist/esm/zh-tw-77b21489.js +0 -92
- package/dist/esm/zh-tw-77b21489.js.map +0 -1
- /package/dist/calcite/{p-c83997bc.entry.js.map → p-00811dc7.entry.js.map} +0 -0
- /package/dist/calcite/{p-f861810d.js.map → p-0625872c.js.map} +0 -0
- /package/dist/calcite/{p-88235bb5.js.map → p-084add8e.js.map} +0 -0
- /package/dist/calcite/{p-3094fdeb.js.map → p-0c9f0b66.js.map} +0 -0
- /package/dist/calcite/{p-f1dfe371.js.map → p-10b76a2b.js.map} +0 -0
- /package/dist/calcite/{p-f73aaed8.js.map → p-120a39ca.js.map} +0 -0
- /package/dist/calcite/{p-7aabf34a.entry.js.map → p-12eb1f3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-a570e9d8.entry.js.map → p-139e85d4.entry.js.map} +0 -0
- /package/dist/calcite/{p-7ab6a0cd.js.map → p-18359ae7.js.map} +0 -0
- /package/dist/calcite/{p-f498f0e1.entry.js.map → p-184d4d53.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ad3f590.entry.js.map → p-1a280990.entry.js.map} +0 -0
- /package/dist/calcite/{p-49814e41.entry.js.map → p-1ad245bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-4abdccae.entry.js.map → p-1bd1e6ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-b9f32da9.entry.js.map → p-1cd75980.entry.js.map} +0 -0
- /package/dist/calcite/{p-270b8733.js.map → p-1df035e4.js.map} +0 -0
- /package/dist/calcite/{p-4ad7e3b4.js.map → p-224935be.js.map} +0 -0
- /package/dist/calcite/{p-ba942625.js.map → p-240b0637.js.map} +0 -0
- /package/dist/calcite/{p-195622fd.entry.js.map → p-24764169.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ac3c2e4.entry.js.map → p-24ff5e2e.entry.js.map} +0 -0
- /package/dist/calcite/{p-e8cd9f95.entry.js.map → p-25b93e8a.entry.js.map} +0 -0
- /package/dist/calcite/{p-d8e6e50c.entry.js.map → p-26b601d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-0a226917.entry.js.map → p-26bbbef5.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a949941.js.map → p-27d87a26.js.map} +0 -0
- /package/dist/calcite/{p-f9a83991.entry.js.map → p-280bd05c.entry.js.map} +0 -0
- /package/dist/calcite/{p-102a8a3c.entry.js.map → p-28e04e26.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b6a7d43.entry.js.map → p-29caad14.entry.js.map} +0 -0
- /package/dist/calcite/{p-d9db6b9b.js.map → p-2a711503.js.map} +0 -0
- /package/dist/calcite/{p-e7ec6bb8.js.map → p-2bef44f9.js.map} +0 -0
- /package/dist/calcite/{p-f8231dcb.js.map → p-2cf51e6d.js.map} +0 -0
- /package/dist/calcite/{p-4d1d795a.js.map → p-2dfd3047.js.map} +0 -0
- /package/dist/calcite/{p-a209805b.js.map → p-2e3c48c4.js.map} +0 -0
- /package/dist/calcite/{p-1a70e255.entry.js.map → p-31793816.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b6df6e3.js.map → p-339f4a81.js.map} +0 -0
- /package/dist/calcite/{p-c5559e48.js.map → p-38900907.js.map} +0 -0
- /package/dist/calcite/{p-b33332da.entry.js.map → p-3e5c5492.entry.js.map} +0 -0
- /package/dist/calcite/{p-2f46886e.entry.js.map → p-3f517577.entry.js.map} +0 -0
- /package/dist/calcite/{p-b885203e.entry.js.map → p-417aab79.entry.js.map} +0 -0
- /package/dist/calcite/{p-436f688a.js.map → p-4291e86c.js.map} +0 -0
- /package/dist/calcite/{p-349d9d39.js.map → p-42c60e95.js.map} +0 -0
- /package/dist/calcite/{p-c02e0865.js.map → p-437f681a.js.map} +0 -0
- /package/dist/calcite/{p-fc2de2e1.entry.js.map → p-444be2f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-218195fe.js.map → p-4645e371.js.map} +0 -0
- /package/dist/calcite/{p-392d03a3.js.map → p-46fe3554.js.map} +0 -0
- /package/dist/calcite/{p-8fad797d.js.map → p-47968591.js.map} +0 -0
- /package/dist/calcite/{p-12f9ae32.entry.js.map → p-47ca1d8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf778589.js.map → p-49c579e5.js.map} +0 -0
- /package/dist/calcite/{p-e8e58eab.entry.js.map → p-4c369960.entry.js.map} +0 -0
- /package/dist/calcite/{p-b9af6b29.entry.js.map → p-4c508da2.entry.js.map} +0 -0
- /package/dist/calcite/{p-452b6321.js.map → p-4f02bed9.js.map} +0 -0
- /package/dist/calcite/{p-3302dafe.entry.js.map → p-4f8c75d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-126e7efd.entry.js.map → p-50251139.entry.js.map} +0 -0
- /package/dist/calcite/{p-106a9b3c.entry.js.map → p-51275203.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae9db8f1.entry.js.map → p-5186eed6.entry.js.map} +0 -0
- /package/dist/calcite/{p-79ce43f7.js.map → p-59521fdf.js.map} +0 -0
- /package/dist/calcite/{p-eb9e9f2a.js.map → p-5e22872e.js.map} +0 -0
- /package/dist/calcite/{p-7ed30e3b.entry.js.map → p-5e43ab83.entry.js.map} +0 -0
- /package/dist/calcite/{p-d0504436.entry.js.map → p-5e92e1ad.entry.js.map} +0 -0
- /package/dist/calcite/{p-8c052cff.js.map → p-6079fdc2.js.map} +0 -0
- /package/dist/calcite/{p-82cf7ed8.js.map → p-622cc688.js.map} +0 -0
- /package/dist/calcite/{p-94645116.js.map → p-628662c2.js.map} +0 -0
- /package/dist/calcite/{p-2ba49f61.js.map → p-669bc42a.js.map} +0 -0
- /package/dist/calcite/{p-79d47ae7.entry.js.map → p-686f0c7c.entry.js.map} +0 -0
- /package/dist/calcite/{p-f8e7ddef.entry.js.map → p-6a1531cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-8be8d73f.js.map → p-6b06781e.js.map} +0 -0
- /package/dist/calcite/{p-bd4811d2.entry.js.map → p-6d014b44.entry.js.map} +0 -0
- /package/dist/calcite/{p-11e896ea.entry.js.map → p-6dbace39.entry.js.map} +0 -0
- /package/dist/calcite/{p-29d96e73.js.map → p-6f77b6f1.js.map} +0 -0
- /package/dist/calcite/{p-8cf807d3.js.map → p-7071a823.js.map} +0 -0
- /package/dist/calcite/{p-662e2116.js.map → p-742e73a7.js.map} +0 -0
- /package/dist/calcite/{p-33d10fc7.js.map → p-74c69a65.js.map} +0 -0
- /package/dist/calcite/{p-9dace80d.js.map → p-76c93eaf.js.map} +0 -0
- /package/dist/calcite/{p-78ba453e.js.map → p-77547406.js.map} +0 -0
- /package/dist/calcite/{p-59978662.js.map → p-78aae094.js.map} +0 -0
- /package/dist/calcite/{p-ee6f2620.entry.js.map → p-81f6135e.entry.js.map} +0 -0
- /package/dist/calcite/{p-5ae8bfd3.js.map → p-829b93e3.js.map} +0 -0
- /package/dist/calcite/{p-098dde49.entry.js.map → p-84ecb43d.entry.js.map} +0 -0
- /package/dist/calcite/{p-45e2e445.js.map → p-8624b17c.js.map} +0 -0
- /package/dist/calcite/{p-5024cc43.js.map → p-873f857b.js.map} +0 -0
- /package/dist/calcite/{p-12f73849.js.map → p-8786d071.js.map} +0 -0
- /package/dist/calcite/{p-e10e797a.js.map → p-8893aba2.js.map} +0 -0
- /package/dist/calcite/{p-bedfe651.entry.js.map → p-88e135c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-6f17d28e.js.map → p-8c52a1c8.js.map} +0 -0
- /package/dist/calcite/{p-48b67298.entry.js.map → p-8c990585.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d9815c1.js.map → p-8e00e760.js.map} +0 -0
- /package/dist/calcite/{p-a334baae.js.map → p-8fa97612.js.map} +0 -0
- /package/dist/calcite/{p-50ba23b3.entry.js.map → p-95d85b7f.entry.js.map} +0 -0
- /package/dist/calcite/{p-cae42867.entry.js.map → p-96bdb910.entry.js.map} +0 -0
- /package/dist/calcite/{p-211b17ce.entry.js.map → p-9717bac8.entry.js.map} +0 -0
- /package/dist/calcite/{p-28f1b0cd.js.map → p-996459ff.js.map} +0 -0
- /package/dist/calcite/{p-b6838251.entry.js.map → p-9966e031.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d8fa933.js.map → p-9ae388ae.js.map} +0 -0
- /package/dist/calcite/{p-ecb89e48.js.map → p-9e840fe0.js.map} +0 -0
- /package/dist/calcite/{p-cc9ac333.js.map → p-a017bb90.js.map} +0 -0
- /package/dist/calcite/{p-9fe527a6.js.map → p-a01a6712.js.map} +0 -0
- /package/dist/calcite/{p-81da01ea.js.map → p-a578d140.js.map} +0 -0
- /package/dist/calcite/{p-833641c0.js.map → p-a729c4f3.js.map} +0 -0
- /package/dist/calcite/{p-d864234c.entry.js.map → p-a8923d3c.entry.js.map} +0 -0
- /package/dist/calcite/{p-93c4c54a.js.map → p-ae62a83c.js.map} +0 -0
- /package/dist/calcite/{p-9788c794.js.map → p-b000d861.js.map} +0 -0
- /package/dist/calcite/{p-84ad90ba.js.map → p-b09c39cd.js.map} +0 -0
- /package/dist/calcite/{p-f1f41147.entry.js.map → p-b122cc2d.entry.js.map} +0 -0
- /package/dist/calcite/{p-9047fdad.js.map → p-b204681b.js.map} +0 -0
- /package/dist/calcite/{p-78ebc8db.js.map → p-b2567815.js.map} +0 -0
- /package/dist/calcite/{p-990c5d41.entry.js.map → p-b2d95cee.entry.js.map} +0 -0
- /package/dist/calcite/{p-d922dc04.js.map → p-b349c937.js.map} +0 -0
- /package/dist/calcite/{p-ae902554.entry.js.map → p-b49ccbb3.entry.js.map} +0 -0
- /package/dist/calcite/{p-848d50fd.js.map → p-b7dacf13.js.map} +0 -0
- /package/dist/calcite/{p-0f6aef5f.js.map → p-bd6cd55c.js.map} +0 -0
- /package/dist/calcite/{p-68c56c33.entry.js.map → p-beacae6b.entry.js.map} +0 -0
- /package/dist/calcite/{p-bab51c05.js.map → p-bf94a9da.js.map} +0 -0
- /package/dist/calcite/{p-fb49ce47.js.map → p-c0a21175.js.map} +0 -0
- /package/dist/calcite/{p-b2da4c2f.js.map → p-c0c6ba81.js.map} +0 -0
- /package/dist/calcite/{p-f72de1cc.entry.js.map → p-c11bfb4b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6bb739a.js.map → p-c163f727.js.map} +0 -0
- /package/dist/calcite/{p-d4ea0c6e.entry.js.map → p-c3d682ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-4978e6f6.js.map → p-c444d512.js.map} +0 -0
- /package/dist/calcite/{p-c2520c09.js.map → p-c4d87776.js.map} +0 -0
- /package/dist/calcite/{p-2ba0f9e1.js.map → p-c6f03eb2.js.map} +0 -0
- /package/dist/calcite/{p-91fbe602.js.map → p-c770f80e.js.map} +0 -0
- /package/dist/calcite/{p-80fbba8e.js.map → p-c848c82e.js.map} +0 -0
- /package/dist/calcite/{p-6b63e9bf.entry.js.map → p-c88443d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b5b4ef0.entry.js.map → p-cae107a5.entry.js.map} +0 -0
- /package/dist/calcite/{p-4887bcc6.js.map → p-cde608e0.js.map} +0 -0
- /package/dist/calcite/{p-21111ff8.js.map → p-cf44a1d7.js.map} +0 -0
- /package/dist/calcite/{p-ef42a511.js.map → p-cf8695c8.js.map} +0 -0
- /package/dist/calcite/{p-67ef9330.entry.js.map → p-d00db92c.entry.js.map} +0 -0
- /package/dist/calcite/{p-2dd28699.entry.js.map → p-dab6d405.entry.js.map} +0 -0
- /package/dist/calcite/{p-343e5a25.js.map → p-e27243c0.js.map} +0 -0
- /package/dist/calcite/{p-70a06df5.js.map → p-e3062192.js.map} +0 -0
- /package/dist/calcite/{p-85b1bec3.js.map → p-e37ad8c6.js.map} +0 -0
- /package/dist/calcite/{p-16c12e8d.js.map → p-e4be124e.js.map} +0 -0
- /package/dist/calcite/{p-ef08cf8d.js.map → p-e6309157.js.map} +0 -0
- /package/dist/calcite/{p-7ce83347.js.map → p-e7173f47.js.map} +0 -0
- /package/dist/calcite/{p-192ac931.entry.js.map → p-e7771e7d.entry.js.map} +0 -0
- /package/dist/calcite/{p-cb72f3b1.js.map → p-e778acdc.js.map} +0 -0
- /package/dist/calcite/{p-4cfb8d30.js.map → p-e98961bb.js.map} +0 -0
- /package/dist/calcite/{p-c2db7c6f.entry.js.map → p-ef71966c.entry.js.map} +0 -0
- /package/dist/calcite/{p-cfde9025.entry.js.map → p-f0954ae0.entry.js.map} +0 -0
- /package/dist/calcite/{p-ecc44eea.js.map → p-f37fd38f.js.map} +0 -0
- /package/dist/calcite/{p-379211fa.js.map → p-f3e00de9.js.map} +0 -0
- /package/dist/calcite/{p-779c146e.js.map → p-f496ec2b.js.map} +0 -0
- /package/dist/calcite/{p-c6d1758c.entry.js.map → p-f4e994e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-df73ee17.entry.js.map → p-f738b6f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-f1974ab0.js.map → p-fbe97994.js.map} +0 -0
- /package/dist/calcite/{p-9281b2c6.js.map → p-fcd20445.js.map} +0 -0
- /package/dist/calcite/{p-5124ce6e.entry.js.map → p-fd042681.entry.js.map} +0 -0
- /package/dist/calcite/{p-6dfb11a1.entry.js.map → p-fd17f371.entry.js.map} +0 -0
- /package/dist/calcite/{p-145a99eb.js.map → p-fe1ca82b.js.map} +0 -0
- /package/dist/calcite/{p-905f710f.js.map → p-fed6a5bf.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host, readTask } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { s as slotChangeGetAssignedElements, v as focusElementInGroup } from './dom.js';
|
|
@@ -46,7 +46,7 @@ const CSS = {
|
|
|
46
46
|
singleView: "single-view",
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
const stepperCss = ":host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container{display:grid;grid-template-areas:\"items\" \"content\";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
|
|
49
|
+
const stepperCss = ":host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:\"items\" \"content\";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
|
|
50
50
|
|
|
51
51
|
const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLElement {
|
|
52
52
|
constructor() {
|
|
@@ -148,7 +148,7 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
148
148
|
this.mutationObserver?.disconnect();
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h(Host, { "aria-label": this.messages.label, role: "region" }, h("div", { class: { container: true, [CSS.singleView]: !this.multipleViewMode }, ref: this.setContainerEl },
|
|
151
|
+
return (h(Host, { "aria-label": this.messages.label, role: "region" }, h("div", { class: { container: true, [CSS.singleView]: !this.multipleViewMode }, ref: this.setContainerEl }, this.layout === "horizontal-single" && (h("div", { class: { [CSS.stepBarContainer]: true } }, this.items.map((item, index) => (h(StepBar, { active: index === this.currentActivePosition, complete: item.complete && index !== this.currentActivePosition && !item.error, disabled: item.disabled && index !== this.currentActivePosition, error: item.error && index !== this.currentActivePosition, key: index }))))), h("div", { class: { [CSS.actionContainer]: true } }, this.renderAction("start"), this.renderAction("end")), h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
152
152
|
}
|
|
153
153
|
//--------------------------------------------------------------------------
|
|
154
154
|
//
|
|
@@ -267,13 +267,22 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
267
267
|
}
|
|
268
268
|
determineActiveStepper(currentActivePositionChanged = false) {
|
|
269
269
|
const totalItems = this.items.length;
|
|
270
|
-
if (!this.elWidth || !totalItems || this.layout
|
|
270
|
+
if (!this.elWidth || !totalItems || this.layout === "vertical" || totalItems === 1) {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
273
|
const activePosition = this.currentActivePosition || 0;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
274
|
+
if (this.layout === "horizontal") {
|
|
275
|
+
if (this.multipleViewMode && !currentActivePositionChanged) {
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
this.multipleViewMode = true;
|
|
279
|
+
this.setGridTemplateColumns(this.items);
|
|
280
|
+
this.items.forEach((item) => {
|
|
281
|
+
item.hidden = false;
|
|
282
|
+
item.multipleViewMode = true;
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
else {
|
|
277
286
|
this.multipleViewMode = false;
|
|
278
287
|
this.items.forEach((item, index) => {
|
|
279
288
|
if (index !== activePosition) {
|
|
@@ -285,17 +294,6 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
285
294
|
}
|
|
286
295
|
});
|
|
287
296
|
}
|
|
288
|
-
else if (this.elWidth > totalMinWidthOfItems + totalRowGap) {
|
|
289
|
-
if (this.multipleViewMode && !currentActivePositionChanged) {
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
this.multipleViewMode = true;
|
|
293
|
-
this.setGridTemplateColumns(this.items);
|
|
294
|
-
this.items.forEach((item) => {
|
|
295
|
-
item.hidden = false;
|
|
296
|
-
item.multipleViewMode = true;
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
297
|
}
|
|
300
298
|
getEnabledStepIndex(startIndex, direction = "next") {
|
|
301
299
|
const { items, currentActivePosition } = this;
|
|
@@ -327,7 +325,7 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
327
325
|
const { currentActivePosition, multipleViewMode, layout } = this;
|
|
328
326
|
const totalItems = this.items.length;
|
|
329
327
|
const id = `${this.guid}-${isPositionStart ? "start" : "end"}`;
|
|
330
|
-
return layout === "horizontal" && !multipleViewMode ? (h("calcite-action", { alignment: "center", appearance: "transparent", class: {
|
|
328
|
+
return layout === "horizontal-single" && !multipleViewMode ? (h("calcite-action", { alignment: "center", appearance: "transparent", class: {
|
|
331
329
|
[CSS.actionIcon]: true,
|
|
332
330
|
}, compact: true, "data-position": position, disabled: (currentActivePosition === 0 && isPositionStart) ||
|
|
333
331
|
(currentActivePosition === totalItems - 1 && !isPositionStart), icon: path, iconFlipRtl: true, id: id, onClick: this.handleActionClick, scale: this.scale, text: isPositionStart ? this.messages.previousStep : this.messages.nextStep })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-stepper.js","mappings":";;;;;;;;;;;;;;;AAUO,MAAMA,KAAG,GAAG;IACjB,OAAO,EAAE,UAAU;IACnB,aAAa,EAAE,kBAAkB;IACjC,eAAe,EAAE,oBAAoB;IACrC,eAAe,EAAE,oBAAoB;IACrC,YAAY,EAAE,iBAAiB;IAC/B,eAAe,EAAE,oBAAoB;CACtC,CAAC;AAEK,MAAM,OAAO,GAAsC,CAAC,EACzD,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,KAAK,EACL,GAAG,GACJ,MACC,WACE,KAAK,EAAE;QACL,CAACA,KAAG,CAAC,OAAO,GAAG,IAAI;KACpB,EACD,GAAG,EAAE,GAAG;IAER,YACE,KAAK,EAAE;YACL,CAACA,KAAG,CAAC,aAAa,GAAG,MAAM;YAC3B,CAACA,KAAG,CAAC,eAAe,GAAG,QAAQ;YAC/B,CAACA,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CAAC;QACjF,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,iBAAiB,GAAG,OAAO,CAAC;QACnD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,mBAAmB,GAAG,OAAO,CAAC;KACtD;IAEO,wBAAwB;QAC9B,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["CSS"],"sources":["src/components/stepper/functional/step-bar.tsx","src/components/stepper/resources.ts","src/components/stepper/stepper.scss?tag=calcite-stepper&encapsulation=shadow","src/components/stepper/stepper.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\ninterface StepBarProps {\n active: boolean;\n complete: boolean;\n error: boolean;\n disabled: boolean;\n key: number;\n}\n\nexport const CSS = {\n stepBar: \"step-bar\",\n stepBarActive: \"step-bar--active\",\n stepBarComplete: \"step-bar--complete\",\n stepBarDisabled: \"step-bar--disabled\",\n stepBarError: \"step-bar--error\",\n stepBarInActive: \"step-bar--inactive\",\n};\n\nexport const StepBar: FunctionalComponent<StepBarProps> = ({\n disabled,\n active,\n complete,\n error,\n key,\n}) => (\n <svg\n class={{\n [CSS.stepBar]: true,\n }}\n key={key}\n >\n <rect\n class={{\n [CSS.stepBarActive]: active,\n [CSS.stepBarComplete]: complete,\n [CSS.stepBarDisabled]: disabled,\n [CSS.stepBarError]: error,\n [CSS.stepBarInActive]: true,\n }}\n width=\"100%\"\n x=\"0\"\n y=\"0\"\n />\n </svg>\n);\n","export const ITEM_MIN_WIDTH = {\n s: 120,\n m: 180,\n l: 200,\n};\n\nexport const CSS = {\n actionIcon: \"action-icon\",\n actionIconStart: \"action-icon--start\",\n actionIconEnd: \"action-icon--end\",\n actionContainer: \"action-container\",\n stepBarContainer: \"step-bar-container\",\n singleView: \"single-view\",\n};\n",":host([scale=\"s\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.11\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n --calcite-internal-step-bar-gap: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.13\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.16\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n --calcite-internal-step-bar-gap: theme(\"spacing.3\");\n}\n\n:host {\n @apply flex;\n}\n\n.container {\n @apply relative\n flex\n w-full\n min-w-fit\n flex-row\n flex-wrap\n items-stretch\n justify-between;\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply flex-auto flex-col;\n}\n\n:host([layout=\"horizontal\"]) .container {\n display: grid;\n // grid-templates-columns are dynamically generated\n // grid-templates-rows are dynamically generated\n grid-template-areas:\n \"items\"\n \"content\";\n gap: theme(\"spacing.2\") var(--calcite-internal-stepper-item-spacing-unit-s);\n}\n\n:host([layout=\"horizontal\"][scale=\"s\"]) .container {\n gap: theme(\"spacing.1\") var(--calcite-internal-stepper-item-spacing-unit-s);\n}\n\n:host([layout=\"horizontal\"][scale=\"l\"]) .container {\n gap: theme(\"spacing.3\") var(--calcite-internal-stepper-item-spacing-unit-s);\n}\n\n:host([layout=\"horizontal\"]) .container.single-view {\n @apply flex grid-cols-none;\n}\n\n.action-icon {\n @apply flex relative grow-0;\n block-size: var(--calcite-internal-stepper-action-block-size);\n inline-size: var(--calcite-internal-stepper-action-inline-size);\n}\n\n.action-container {\n @apply absolute flex justify-between;\n padding-block: 0.25rem;\n inline-size: 100%;\n}\n\n@mixin stepBar {\n .step-bar {\n @apply flex;\n block-size: 100%;\n inline-size: 100%;\n }\n\n .step-bar-container {\n @apply flex absolute justify-between items-start;\n block-size: 0.125rem;\n inline-size: 100%;\n gap: var(--calcite-internal-step-bar-gap, 0.5rem);\n }\n\n .step-bar--inactive {\n fill: var(--calcite-color-border-3, #dfdfdf);\n fill-opacity: 1;\n block-size: 100%;\n }\n\n .step-bar--active {\n fill: var(--calcite-color-brand);\n }\n\n .step-bar--complete {\n fill: var(--calcite-color-brand);\n fill-opacity: 0.5;\n }\n\n .step-bar--error {\n fill: var(--calcite-color-status-danger);\n }\n\n .step-bar--disabled {\n opacity: 0.5;\n }\n}\n\n@include stepBar();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n readTask,\n} from \"@stencil/core\";\nimport { focusElementInGroup, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport { Layout, Position, Scale } from \"../interfaces\";\nimport { StepperItemChangeEventDetail, StepperItemKeyEventDetail } from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { StepBar } from \"./functional/step-bar\";\nimport { ITEM_MIN_WIDTH, CSS } from \"./resources\";\nimport { guid } from \"../../utils/guid\";\n\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperMessages } from \"./assets/stepper/t9n\";\n\n/**\n * @slot - A slot for adding `calcite-stepper-item` elements.\n */\n@Component({\n tag: \"calcite-stepper\",\n styleUrl: \"stepper.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Stepper implements LocalizedComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays a status icon in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) icon = false;\n\n /** Defines the layout of the component. */\n @Prop({ reflect: true }) layout: Extract<\"horizontal\" | \"vertical\", Layout> = \"horizontal\";\n\n /** When `true`, displays the step number in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) numbered = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"icon\")\n @Watch(\"layout\")\n @Watch(\"numbered\")\n @Watch(\"scale\")\n handleItemPropChange(): void {\n this.updateItems();\n }\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: StepperMessages;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop({ reflect: true }) numberingSystem?: NumberingSystem;\n\n @Watch(\"numberingSystem\")\n numberingSystemChange(): void {\n this.setStepperItemNumberingSystem();\n }\n\n /**\n * Specifies the component's selected item.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItem: HTMLCalciteStepperItemElement = null;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<StepperMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n */\n @Event({ cancelable: false }) calciteStepperItemChange: EventEmitter<void>;\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemChange: EventEmitter<StepperItemChangeEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true });\n this.updateItems();\n connectMessages(this);\n connectLocalized(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n this.resizeObserver?.observe(this.containerEl);\n // if no stepper items are set as active, default to the first one\n if (typeof this.currentActivePosition !== \"number\") {\n const enabledStepIndex = this.getFirstEnabledStepperPosition();\n\n if (enabledStepIndex === 0) {\n this.currentActivePosition = enabledStepIndex;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position: enabledStepIndex,\n });\n }\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n disconnectMessages(this);\n disconnectLocalized(this);\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n return (\n <Host aria-label={this.messages.label} role=\"region\">\n <div\n class={{ container: true, [CSS.singleView]: !this.multipleViewMode }}\n ref={this.setContainerEl}\n >\n {!this.multipleViewMode && this.layout === \"horizontal\" && (\n <div class={{ [CSS.stepBarContainer]: true }}>\n {this.items.map((item, index) => (\n <StepBar\n active={index === this.currentActivePosition}\n complete={item.complete && index !== this.currentActivePosition && !item.error}\n disabled={item.disabled && index !== this.currentActivePosition}\n error={item.error && index !== this.currentActivePosition}\n key={index}\n />\n ))}\n </div>\n )}\n <div class={{ [CSS.actionContainer]: true }}>\n {this.renderAction(\"start\")}\n {this.renderAction(\"end\")}\n </div>\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemKeyEvent\")\n calciteInternalStepperItemKeyEvent(event: CustomEvent<StepperItemKeyEventDetail>): void {\n const item = event.detail.item;\n const itemToFocus = event.target as HTMLCalciteStepperItemElement;\n\n switch (item.key) {\n case \"ArrowDown\":\n case \"ArrowRight\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"next\");\n break;\n case \"ArrowUp\":\n case \"ArrowLeft\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"first\");\n break;\n case \"End\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"last\");\n break;\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemRegister\")\n registerItem(event: CustomEvent): void {\n const item = event.target as HTMLCalciteStepperItemElement;\n const { content, position } = event.detail;\n\n this.itemMap.set(item, { position, content });\n this.enabledItems = this.filterItems();\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemSelect\")\n updateItem(event: CustomEvent): void {\n const { position } = event.detail;\n if (typeof position === \"number\") {\n this.currentActivePosition = position;\n this.selectedItem = event.target as HTMLCalciteStepperItemElement;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n @Listen(\"calciteInternalUserRequestedStepperItemSelect\")\n handleUserRequestedStepperItemSelect(): void {\n this.calciteStepperItemChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Set the next `calcite-stepper-item` as active. */\n @Method()\n async nextStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition + 1, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the previous `calcite-stepper-item` as active. */\n @Method()\n async prevStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /**\n * Set a specified `calcite-stepper-item` as active.\n *\n * @param step\n */\n @Method()\n async goToStep(step: number): Promise<void> {\n const position = step - 1;\n\n if (this.currentActivePosition !== position) {\n this.updateStep(position);\n }\n }\n\n /** Set the first `calcite-stepper-item` as active. */\n @Method()\n async startStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(0, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the last `calcite-stepper-item` as active. */\n @Method()\n async endStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperElement;\n\n @State() defaultMessages: StepperMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() currentActivePosition: number;\n\n @Watch(\"currentActivePosition\")\n handlePositionChange(): void {\n readTask((): void => {\n this.determineActiveStepper(true);\n });\n }\n\n @State() elWidth: number;\n\n @Watch(\"elWidth\")\n handleElWidthChange(): void {\n readTask((): void => {\n this.determineActiveStepper();\n });\n }\n\n private enabledItems: HTMLCalciteStepperItemElement[] = [];\n\n private itemMap = new Map<HTMLCalciteStepperItemElement, { position: number; content: Node[] }>();\n\n private items: HTMLCalciteStepperItemElement[] = [];\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n /** Specifies if the user is viewing one `stepper-item` at a time when the page width is less than sum of min-width of each item. */\n private multipleViewMode = false;\n\n private guid = `calcite-stepper-action-${guid()}`;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private resizeObserver = createObserver(\n \"resize\",\n (entries) => (this.elWidth = entries[0].contentRect.width),\n );\n\n private updateItems(): void {\n this.el.querySelectorAll(\"calcite-stepper-item\").forEach((item) => {\n item.icon = this.icon;\n item.numbered = this.numbered;\n item.layout = this.layout;\n item.scale = this.scale;\n });\n }\n\n private determineActiveStepper(currentActivePositionChanged = false): void {\n const totalItems = this.items.length;\n if (!this.elWidth || !totalItems || this.layout !== \"horizontal\" || totalItems === 1) {\n return;\n }\n\n const activePosition = this.currentActivePosition || 0;\n const totalMinWidthOfItems = totalItems * this.getMinWidthOfStepperItem();\n const totalRowGap =\n (totalItems - 1) * (parseInt(window.getComputedStyle(this.containerEl).rowGap) || 0);\n\n if (this.elWidth <= totalMinWidthOfItems + totalRowGap) {\n this.multipleViewMode = false;\n\n this.items.forEach((item: HTMLCalciteStepperItemElement, index) => {\n if (index !== activePosition) {\n item.hidden = true;\n } else {\n item.hidden = false;\n item.multipleViewMode = false;\n }\n });\n } else if (this.elWidth > totalMinWidthOfItems + totalRowGap) {\n if (this.multipleViewMode && !currentActivePositionChanged) {\n return;\n }\n\n this.multipleViewMode = true;\n this.setGridTemplateColumns(this.items);\n this.items.forEach((item: HTMLCalciteStepperItemElement) => {\n item.hidden = false;\n item.multipleViewMode = true;\n });\n }\n }\n\n private getEnabledStepIndex(\n startIndex: number,\n direction: \"next\" | \"previous\" = \"next\",\n ): number | null {\n const { items, currentActivePosition } = this;\n\n let newIndex = startIndex;\n\n while (items[newIndex]?.disabled && this.multipleViewMode) {\n newIndex = newIndex + (direction === \"previous\" ? -1 : 1);\n }\n\n return newIndex !== currentActivePosition && newIndex < items.length && newIndex >= 0\n ? newIndex\n : null;\n }\n\n private updateStep(position: number): void {\n this.currentActivePosition = position;\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n private filterItems(): HTMLCalciteStepperItemElement[] {\n return this.items.filter((item) => !item.disabled);\n }\n\n private setStepperItemNumberingSystem(): void {\n this.items.forEach((item: HTMLCalciteStepperItemElement) => {\n item.numberingSystem = this.numberingSystem;\n });\n }\n\n private renderAction(position: Position): VNode {\n const isPositionStart = position === \"start\";\n const path = isPositionStart ? \"chevron-left\" : \"chevron-right\";\n const { currentActivePosition, multipleViewMode, layout } = this;\n const totalItems = this.items.length;\n const id = `${this.guid}-${isPositionStart ? \"start\" : \"end\"}`;\n\n return layout === \"horizontal\" && !multipleViewMode ? (\n <calcite-action\n alignment=\"center\"\n appearance=\"transparent\"\n class={{\n [CSS.actionIcon]: true,\n }}\n compact={true}\n data-position={position}\n disabled={\n (currentActivePosition === 0 && isPositionStart) ||\n (currentActivePosition === totalItems - 1 && !isPositionStart)\n }\n icon={path}\n iconFlipRtl={true}\n id={id}\n onClick={this.handleActionClick}\n scale={this.scale}\n text={isPositionStart ? this.messages.previousStep : this.messages.nextStep}\n />\n ) : null;\n }\n\n private handleActionClick = (event: MouseEvent): void => {\n const currentActivePosition = this.currentActivePosition;\n const target = event.target as HTMLCalciteActionElement;\n if (target.getAttribute(\"data-position\") === \"start\") {\n this.prevStep();\n } else {\n this.nextStep();\n }\n\n if (\n typeof this.currentActivePosition === \"number\" &&\n currentActivePosition !== this.currentActivePosition &&\n !this.items[this.currentActivePosition].disabled\n ) {\n this.calciteStepperItemChange.emit();\n }\n };\n\n private getFirstEnabledStepperPosition(): number {\n const enabledStepIndex = this.items.findIndex((item) => !item.disabled);\n\n if (enabledStepIndex > -1) {\n return enabledStepIndex;\n }\n\n return 0;\n }\n\n private setContainerEl = (el: HTMLDivElement): void => {\n this.containerEl = el;\n };\n\n handleDefaultSlotChange = (event: Event): void => {\n const items = slotChangeGetAssignedElements(event).filter(\n (el) => el?.tagName === \"CALCITE-STEPPER-ITEM\",\n );\n this.items = items as HTMLCalciteStepperItemElement[];\n this.setGridTemplateColumns(items);\n this.setStepperItemNumberingSystem();\n };\n\n private setGridTemplateColumns(items: Element[]): void {\n const minWidth = this.getMinWidthOfStepperItem();\n const spacing = Array(items.length).fill(`minmax(${minWidth}px, 1fr)`).join(\" \");\n this.containerEl.style.gridTemplateAreas = spacing;\n this.containerEl.style.gridTemplateColumns = spacing;\n }\n\n private getMinWidthOfStepperItem(): number {\n return ITEM_MIN_WIDTH[this.scale];\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-stepper.js","mappings":";;;;;;;;;;;;;;;AAUO,MAAMA,KAAG,GAAG;IACjB,OAAO,EAAE,UAAU;IACnB,aAAa,EAAE,kBAAkB;IACjC,eAAe,EAAE,oBAAoB;IACrC,eAAe,EAAE,oBAAoB;IACrC,YAAY,E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,IAAI,CAAC,GAAG,CAAC,CAAC;QACjF,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,iBAAiB,GAAG,OAAO,CAAC;QACnD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,mBAAmB,GAAG,OAAO,CAAC;KACtD;IAEO,wBAAwB;QAC9B,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["CSS"],"sources":["src/components/stepper/functional/step-bar.tsx","src/components/stepper/resources.ts","src/components/stepper/stepper.scss?tag=calcite-stepper&encapsulation=shadow","src/components/stepper/stepper.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\ninterface StepBarProps {\n active: boolean;\n complete: boolean;\n error: boolean;\n disabled: boolean;\n key: number;\n}\n\nexport const CSS = {\n stepBar: \"step-bar\",\n stepBarActive: \"step-bar--active\",\n stepBarComplete: \"step-bar--complete\",\n stepBarDisabled: \"step-bar--disabled\",\n stepBarError: \"step-bar--error\",\n stepBarInActive: \"step-bar--inactive\",\n};\n\nexport const StepBar: FunctionalComponent<StepBarProps> = ({\n disabled,\n active,\n complete,\n error,\n key,\n}) => (\n <svg\n class={{\n [CSS.stepBar]: true,\n }}\n key={key}\n >\n <rect\n class={{\n [CSS.stepBarActive]: active,\n [CSS.stepBarComplete]: complete,\n [CSS.stepBarDisabled]: disabled,\n [CSS.stepBarError]: error,\n [CSS.stepBarInActive]: true,\n }}\n width=\"100%\"\n x=\"0\"\n y=\"0\"\n />\n </svg>\n);\n","export const ITEM_MIN_WIDTH = {\n s: 120,\n m: 180,\n l: 200,\n};\n\nexport const CSS = {\n actionIcon: \"action-icon\",\n actionIconStart: \"action-icon--start\",\n actionIconEnd: \"action-icon--end\",\n actionContainer: \"action-container\",\n stepBarContainer: \"step-bar-container\",\n singleView: \"single-view\",\n};\n",":host([scale=\"s\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.11\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n --calcite-internal-step-bar-gap: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.13\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.16\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n --calcite-internal-step-bar-gap: theme(\"spacing.3\");\n}\n\n:host {\n @apply flex;\n}\n\n.container {\n @apply relative\n flex\n w-full\n min-w-fit\n flex-row\n flex-wrap\n items-stretch\n justify-between;\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply flex-auto flex-col;\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n .container {\n display: grid;\n // grid-templates-columns are dynamically generated\n // grid-templates-rows are dynamically generated\n grid-template-areas:\n \"items\"\n \"content\";\n gap: theme(\"spacing.2\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"][scale=\"s\"]),\n:host([layout=\"horizontal-single\"][scale=\"s\"]) {\n .container {\n gap: theme(\"spacing.1\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"][scale=\"l\"]),\n:host([layout=\"horizontal-single\"][scale=\"l\"]) {\n .container {\n gap: theme(\"spacing.3\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"]) .container.single-view {\n @apply flex grid-cols-none;\n}\n\n.action-icon {\n @apply flex relative grow-0;\n block-size: var(--calcite-internal-stepper-action-block-size);\n inline-size: var(--calcite-internal-stepper-action-inline-size);\n}\n\n.action-container {\n @apply absolute flex justify-between;\n padding-block: 0.25rem;\n inline-size: 100%;\n}\n\n@mixin stepBar {\n .step-bar {\n @apply flex;\n block-size: 100%;\n inline-size: 100%;\n }\n\n .step-bar-container {\n @apply flex absolute justify-between items-start;\n block-size: 0.125rem;\n inline-size: 100%;\n gap: var(--calcite-internal-step-bar-gap, 0.5rem);\n }\n\n .step-bar--inactive {\n fill: var(--calcite-color-border-3, #dfdfdf);\n fill-opacity: 1;\n block-size: 100%;\n }\n\n .step-bar--active {\n fill: var(--calcite-color-brand);\n }\n\n .step-bar--complete {\n fill: var(--calcite-color-brand);\n fill-opacity: 0.5;\n }\n\n .step-bar--error {\n fill: var(--calcite-color-status-danger);\n }\n\n .step-bar--disabled {\n opacity: 0.5;\n }\n}\n\n@include stepBar();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n readTask,\n} from \"@stencil/core\";\nimport { focusElementInGroup, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport { Position, Scale } from \"../interfaces\";\nimport {\n StepperItemChangeEventDetail,\n StepperItemKeyEventDetail,\n StepperLayout,\n} from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { StepBar } from \"./functional/step-bar\";\nimport { ITEM_MIN_WIDTH, CSS } from \"./resources\";\nimport { guid } from \"../../utils/guid\";\n\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperMessages } from \"./assets/stepper/t9n\";\n\n/**\n * @slot - A slot for adding `calcite-stepper-item` elements.\n */\n@Component({\n tag: \"calcite-stepper\",\n styleUrl: \"stepper.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Stepper implements LocalizedComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays a status icon in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) icon = false;\n\n /** Defines the layout of the component. */\n @Prop({ reflect: true }) layout: StepperLayout = \"horizontal\";\n\n /** When `true`, displays the step number in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) numbered = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"icon\")\n @Watch(\"layout\")\n @Watch(\"numbered\")\n @Watch(\"scale\")\n handleItemPropChange(): void {\n this.updateItems();\n }\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: StepperMessages;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop({ reflect: true }) numberingSystem?: NumberingSystem;\n\n @Watch(\"numberingSystem\")\n numberingSystemChange(): void {\n this.setStepperItemNumberingSystem();\n }\n\n /**\n * Specifies the component's selected item.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItem: HTMLCalciteStepperItemElement = null;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<StepperMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n */\n @Event({ cancelable: false }) calciteStepperItemChange: EventEmitter<void>;\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemChange: EventEmitter<StepperItemChangeEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true });\n this.updateItems();\n connectMessages(this);\n connectLocalized(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n this.resizeObserver?.observe(this.containerEl);\n // if no stepper items are set as active, default to the first one\n if (typeof this.currentActivePosition !== \"number\") {\n const enabledStepIndex = this.getFirstEnabledStepperPosition();\n\n if (enabledStepIndex === 0) {\n this.currentActivePosition = enabledStepIndex;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position: enabledStepIndex,\n });\n }\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n disconnectMessages(this);\n disconnectLocalized(this);\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n return (\n <Host aria-label={this.messages.label} role=\"region\">\n <div\n class={{ container: true, [CSS.singleView]: !this.multipleViewMode }}\n ref={this.setContainerEl}\n >\n {this.layout === \"horizontal-single\" && (\n <div class={{ [CSS.stepBarContainer]: true }}>\n {this.items.map((item, index) => (\n <StepBar\n active={index === this.currentActivePosition}\n complete={item.complete && index !== this.currentActivePosition && !item.error}\n disabled={item.disabled && index !== this.currentActivePosition}\n error={item.error && index !== this.currentActivePosition}\n key={index}\n />\n ))}\n </div>\n )}\n <div class={{ [CSS.actionContainer]: true }}>\n {this.renderAction(\"start\")}\n {this.renderAction(\"end\")}\n </div>\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemKeyEvent\")\n calciteInternalStepperItemKeyEvent(event: CustomEvent<StepperItemKeyEventDetail>): void {\n const item = event.detail.item;\n const itemToFocus = event.target as HTMLCalciteStepperItemElement;\n\n switch (item.key) {\n case \"ArrowDown\":\n case \"ArrowRight\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"next\");\n break;\n case \"ArrowUp\":\n case \"ArrowLeft\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"first\");\n break;\n case \"End\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"last\");\n break;\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemRegister\")\n registerItem(event: CustomEvent): void {\n const item = event.target as HTMLCalciteStepperItemElement;\n const { content, position } = event.detail;\n\n this.itemMap.set(item, { position, content });\n this.enabledItems = this.filterItems();\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemSelect\")\n updateItem(event: CustomEvent): void {\n const { position } = event.detail;\n if (typeof position === \"number\") {\n this.currentActivePosition = position;\n this.selectedItem = event.target as HTMLCalciteStepperItemElement;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n @Listen(\"calciteInternalUserRequestedStepperItemSelect\")\n handleUserRequestedStepperItemSelect(): void {\n this.calciteStepperItemChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Set the next `calcite-stepper-item` as active. */\n @Method()\n async nextStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition + 1, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the previous `calcite-stepper-item` as active. */\n @Method()\n async prevStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /**\n * Set a specified `calcite-stepper-item` as active.\n *\n * @param step\n */\n @Method()\n async goToStep(step: number): Promise<void> {\n const position = step - 1;\n\n if (this.currentActivePosition !== position) {\n this.updateStep(position);\n }\n }\n\n /** Set the first `calcite-stepper-item` as active. */\n @Method()\n async startStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(0, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the last `calcite-stepper-item` as active. */\n @Method()\n async endStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperElement;\n\n @State() defaultMessages: StepperMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() currentActivePosition: number;\n\n @Watch(\"currentActivePosition\")\n handlePositionChange(): void {\n readTask((): void => {\n this.determineActiveStepper(true);\n });\n }\n\n @State() elWidth: number;\n\n @Watch(\"elWidth\")\n handleElWidthChange(): void {\n readTask((): void => {\n this.determineActiveStepper();\n });\n }\n\n private enabledItems: HTMLCalciteStepperItemElement[] = [];\n\n private itemMap = new Map<HTMLCalciteStepperItemElement, { position: number; content: Node[] }>();\n\n private items: HTMLCalciteStepperItemElement[] = [];\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n /** Specifies if the user is viewing one `stepper-item` at a time when the page width is less than sum of min-width of each item. */\n private multipleViewMode = false;\n\n private guid = `calcite-stepper-action-${guid()}`;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private resizeObserver = createObserver(\n \"resize\",\n (entries) => (this.elWidth = entries[0].contentRect.width),\n );\n\n private updateItems(): void {\n this.el.querySelectorAll(\"calcite-stepper-item\").forEach((item) => {\n item.icon = this.icon;\n item.numbered = this.numbered;\n item.layout = this.layout;\n item.scale = this.scale;\n });\n }\n\n private determineActiveStepper(currentActivePositionChanged = false): void {\n const totalItems = this.items.length;\n if (!this.elWidth || !totalItems || this.layout === \"vertical\" || totalItems === 1) {\n return;\n }\n\n const activePosition = this.currentActivePosition || 0;\n\n if (this.layout === \"horizontal\") {\n if (this.multipleViewMode && !currentActivePositionChanged) {\n return;\n }\n this.multipleViewMode = true;\n this.setGridTemplateColumns(this.items);\n this.items.forEach((item: HTMLCalciteStepperItemElement) => {\n item.hidden = false;\n item.multipleViewMode = true;\n });\n } else {\n this.multipleViewMode = false;\n this.items.forEach((item: HTMLCalciteStepperItemElement, index) => {\n if (index !== activePosition) {\n item.hidden = true;\n } else {\n item.hidden = false;\n item.multipleViewMode = false;\n }\n });\n }\n }\n\n private getEnabledStepIndex(\n startIndex: number,\n direction: \"next\" | \"previous\" = \"next\",\n ): number | null {\n const { items, currentActivePosition } = this;\n\n let newIndex = startIndex;\n\n while (items[newIndex]?.disabled && this.multipleViewMode) {\n newIndex = newIndex + (direction === \"previous\" ? -1 : 1);\n }\n\n return newIndex !== currentActivePosition && newIndex < items.length && newIndex >= 0\n ? newIndex\n : null;\n }\n\n private updateStep(position: number): void {\n this.currentActivePosition = position;\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n private filterItems(): HTMLCalciteStepperItemElement[] {\n return this.items.filter((item) => !item.disabled);\n }\n\n private setStepperItemNumberingSystem(): void {\n this.items.forEach((item: HTMLCalciteStepperItemElement) => {\n item.numberingSystem = this.numberingSystem;\n });\n }\n\n private renderAction(position: Position): VNode {\n const isPositionStart = position === \"start\";\n const path = isPositionStart ? \"chevron-left\" : \"chevron-right\";\n const { currentActivePosition, multipleViewMode, layout } = this;\n const totalItems = this.items.length;\n const id = `${this.guid}-${isPositionStart ? \"start\" : \"end\"}`;\n\n return layout === \"horizontal-single\" && !multipleViewMode ? (\n <calcite-action\n alignment=\"center\"\n appearance=\"transparent\"\n class={{\n [CSS.actionIcon]: true,\n }}\n compact={true}\n data-position={position}\n disabled={\n (currentActivePosition === 0 && isPositionStart) ||\n (currentActivePosition === totalItems - 1 && !isPositionStart)\n }\n icon={path}\n iconFlipRtl={true}\n id={id}\n onClick={this.handleActionClick}\n scale={this.scale}\n text={isPositionStart ? this.messages.previousStep : this.messages.nextStep}\n />\n ) : null;\n }\n\n private handleActionClick = (event: MouseEvent): void => {\n const currentActivePosition = this.currentActivePosition;\n const target = event.target as HTMLCalciteActionElement;\n if (target.getAttribute(\"data-position\") === \"start\") {\n this.prevStep();\n } else {\n this.nextStep();\n }\n\n if (\n typeof this.currentActivePosition === \"number\" &&\n currentActivePosition !== this.currentActivePosition &&\n !this.items[this.currentActivePosition].disabled\n ) {\n this.calciteStepperItemChange.emit();\n }\n };\n\n private getFirstEnabledStepperPosition(): number {\n const enabledStepIndex = this.items.findIndex((item) => !item.disabled);\n\n if (enabledStepIndex > -1) {\n return enabledStepIndex;\n }\n\n return 0;\n }\n\n private setContainerEl = (el: HTMLDivElement): void => {\n this.containerEl = el;\n };\n\n handleDefaultSlotChange = (event: Event): void => {\n const items = slotChangeGetAssignedElements(event).filter(\n (el) => el?.tagName === \"CALCITE-STEPPER-ITEM\",\n );\n this.items = items as HTMLCalciteStepperItemElement[];\n this.setGridTemplateColumns(items);\n this.setStepperItemNumberingSystem();\n };\n\n private setGridTemplateColumns(items: Element[]): void {\n const minWidth = this.getMinWidthOfStepperItem();\n const spacing = Array(items.length).fill(`minmax(${minWidth}px, 1fr)`).join(\" \");\n this.containerEl.style.gridTemplateAreas = spacing;\n this.containerEl.style.gridTemplateColumns = spacing;\n }\n\n private getMinWidthOfStepperItem(): number {\n return ITEM_MIN_WIDTH[this.scale];\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { S as Switch, d as defineCustomElement$1 } from './switch.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { T as TabNav, d as defineCustomElement$1 } from './tab-nav.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { T as TabTitle, d as defineCustomElement$1 } from './tab-title.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { T as Tab, d as defineCustomElement$1 } from './tab.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { T as TableCell, d as defineCustomElement$1 } from './table-cell.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { T as TableHeader, d as defineCustomElement$1 } from './table-header.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.
|
|
4
|
+
* v2.5.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { v as focusElementInGroup } from './dom.js';
|
|
@@ -26,6 +26,68 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
26
26
|
this.calciteTableRowSelect = createEvent(this, "calciteTableRowSelect", 6);
|
|
27
27
|
this.calciteInternalTableRowFocusRequest = createEvent(this, "calciteInternalTableRowFocusRequest", 6);
|
|
28
28
|
this.rowCells = [];
|
|
29
|
+
//--------------------------------------------------------------------------
|
|
30
|
+
//
|
|
31
|
+
// Private Methods
|
|
32
|
+
//
|
|
33
|
+
//--------------------------------------------------------------------------
|
|
34
|
+
this.keyDownHandler = (event) => {
|
|
35
|
+
if (this.interactionMode !== "interactive") {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const el = event.target;
|
|
39
|
+
const key = event.key;
|
|
40
|
+
const isControl = event.ctrlKey;
|
|
41
|
+
const cells = this.rowCells;
|
|
42
|
+
if (el.matches("calcite-table-cell") || el.matches("calcite-table-header")) {
|
|
43
|
+
switch (key) {
|
|
44
|
+
case "ArrowUp":
|
|
45
|
+
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "previous");
|
|
46
|
+
event.preventDefault();
|
|
47
|
+
break;
|
|
48
|
+
case "ArrowDown":
|
|
49
|
+
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "next");
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
break;
|
|
52
|
+
case "PageUp":
|
|
53
|
+
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "first");
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
break;
|
|
56
|
+
case "PageDown":
|
|
57
|
+
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "last");
|
|
58
|
+
event.preventDefault();
|
|
59
|
+
break;
|
|
60
|
+
case "ArrowLeft":
|
|
61
|
+
focusElementInGroup(cells, el, "previous", false);
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
break;
|
|
64
|
+
case "ArrowRight":
|
|
65
|
+
focusElementInGroup(cells, el, "next", false);
|
|
66
|
+
event.preventDefault();
|
|
67
|
+
break;
|
|
68
|
+
case "Home":
|
|
69
|
+
if (isControl) {
|
|
70
|
+
this.emitTableRowFocusRequest(1, this.positionAll, "first");
|
|
71
|
+
event.preventDefault();
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
focusElementInGroup(cells, el, "first", false);
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
78
|
+
case "End":
|
|
79
|
+
if (isControl) {
|
|
80
|
+
this.emitTableRowFocusRequest(this.rowCells?.length, this.positionAll, "last", true);
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
focusElementInGroup(cells, el, "last", false);
|
|
85
|
+
event.preventDefault();
|
|
86
|
+
}
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
29
91
|
this.emitTableRowFocusRequest = (cellPosition, rowPosition, destination, lastCell) => {
|
|
30
92
|
this.calciteInternalTableRowFocusRequest.emit({
|
|
31
93
|
cellPosition,
|
|
@@ -42,6 +104,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
42
104
|
const cells = renderedCells ? renderedCells.concat(slottedCells) : slottedCells;
|
|
43
105
|
if (cells.length > 0) {
|
|
44
106
|
cells?.forEach((cell, index) => {
|
|
107
|
+
cell.interactionMode = this.interactionMode;
|
|
45
108
|
cell.positionInRow = index + 1;
|
|
46
109
|
cell.parentRowType = this.rowType;
|
|
47
110
|
cell.parentRowIsSelected = this.selected;
|
|
@@ -71,6 +134,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
71
134
|
this.disabled = false;
|
|
72
135
|
this.selected = false;
|
|
73
136
|
this.cellCount = undefined;
|
|
137
|
+
this.interactionMode = "interactive";
|
|
74
138
|
this.lastVisibleRow = undefined;
|
|
75
139
|
this.rowType = undefined;
|
|
76
140
|
this.numbered = false;
|
|
@@ -142,65 +206,6 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
142
206
|
}
|
|
143
207
|
//--------------------------------------------------------------------------
|
|
144
208
|
//
|
|
145
|
-
// Private Methods
|
|
146
|
-
//
|
|
147
|
-
//--------------------------------------------------------------------------
|
|
148
|
-
keyDownHandler(event) {
|
|
149
|
-
const el = event.target;
|
|
150
|
-
const key = event.key;
|
|
151
|
-
const isControl = event.ctrlKey;
|
|
152
|
-
const cells = this.rowCells;
|
|
153
|
-
if (el.matches("calcite-table-cell") || el.matches("calcite-table-header")) {
|
|
154
|
-
switch (key) {
|
|
155
|
-
case "ArrowUp":
|
|
156
|
-
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "previous");
|
|
157
|
-
event.preventDefault();
|
|
158
|
-
break;
|
|
159
|
-
case "ArrowDown":
|
|
160
|
-
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "next");
|
|
161
|
-
event.preventDefault();
|
|
162
|
-
break;
|
|
163
|
-
case "PageUp":
|
|
164
|
-
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "first");
|
|
165
|
-
event.preventDefault();
|
|
166
|
-
break;
|
|
167
|
-
case "PageDown":
|
|
168
|
-
this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, "last");
|
|
169
|
-
event.preventDefault();
|
|
170
|
-
break;
|
|
171
|
-
case "ArrowLeft":
|
|
172
|
-
focusElementInGroup(cells, el, "previous", false);
|
|
173
|
-
event.preventDefault();
|
|
174
|
-
break;
|
|
175
|
-
case "ArrowRight":
|
|
176
|
-
focusElementInGroup(cells, el, "next", false);
|
|
177
|
-
event.preventDefault();
|
|
178
|
-
break;
|
|
179
|
-
case "Home":
|
|
180
|
-
if (isControl) {
|
|
181
|
-
this.emitTableRowFocusRequest(1, this.positionAll, "first");
|
|
182
|
-
event.preventDefault();
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
focusElementInGroup(cells, el, "first", false);
|
|
186
|
-
event.preventDefault();
|
|
187
|
-
}
|
|
188
|
-
break;
|
|
189
|
-
case "End":
|
|
190
|
-
if (isControl) {
|
|
191
|
-
this.emitTableRowFocusRequest(this.rowCells?.length, this.positionAll, "last", true);
|
|
192
|
-
event.preventDefault();
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
focusElementInGroup(cells, el, "last", false);
|
|
196
|
-
event.preventDefault();
|
|
197
|
-
}
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
//--------------------------------------------------------------------------
|
|
203
|
-
//
|
|
204
209
|
// Render Methods
|
|
205
210
|
//
|
|
206
211
|
//--------------------------------------------------------------------------
|
|
@@ -221,7 +226,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
221
226
|
return this.rowType === "head" ? (h("calcite-table-header", { alignment: "center", key: "numbered-head", numberCell: true })) : this.rowType === "body" ? (h("calcite-table-cell", { alignment: "center", key: "numbered-body", numberCell: true }, this.positionSectionLocalized)) : (h("calcite-table-cell", { alignment: "center", key: "numbered-foot", numberCell: true }));
|
|
222
227
|
}
|
|
223
228
|
render() {
|
|
224
|
-
return (h(Host, null, h(InteractiveContainer, { disabled: this.disabled }, h("tr", { "aria-disabled": this.disabled, "aria-rowindex": this.positionAll + 1, "aria-selected": this.selected, class: { [CSS.lastVisibleRow]: this.lastVisibleRow }, onKeyDown:
|
|
229
|
+
return (h(Host, null, h(InteractiveContainer, { disabled: this.disabled }, h("tr", { "aria-disabled": this.disabled, "aria-rowindex": this.positionAll + 1, "aria-selected": this.selected, class: { [CSS.lastVisibleRow]: this.lastVisibleRow }, onKeyDown: this.keyDownHandler,
|
|
225
230
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
226
231
|
ref: (el) => (this.tableRowEl = el) }, this.numbered && this.renderNumberedCell(), this.selectionMode !== "none" && this.renderSelectableCell(), h("slot", { onSlotchange: this.updateCells, ref: (el) => (this.tableRowSlotEl = el) })))));
|
|
227
232
|
}
|
|
@@ -231,6 +236,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
231
236
|
"scale": ["handleCellChanges"],
|
|
232
237
|
"selected": ["handleCellChanges"],
|
|
233
238
|
"selectedRowCount": ["handleCellChanges"],
|
|
239
|
+
"interactionMode": ["handleCellChanges"],
|
|
234
240
|
"numbered": ["handleDelayedCellChanges"],
|
|
235
241
|
"selectionMode": ["handleDelayedCellChanges"]
|
|
236
242
|
}; }
|
|
@@ -239,6 +245,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
239
245
|
"disabled": [516],
|
|
240
246
|
"selected": [516],
|
|
241
247
|
"cellCount": [1026, "cell-count"],
|
|
248
|
+
"interactionMode": [1, "interaction-mode"],
|
|
242
249
|
"lastVisibleRow": [4, "last-visible-row"],
|
|
243
250
|
"rowType": [1, "row-type"],
|
|
244
251
|
"numbered": [4],
|
|
@@ -257,6 +264,7 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
257
264
|
"scale": ["handleCellChanges"],
|
|
258
265
|
"selected": ["handleCellChanges"],
|
|
259
266
|
"selectedRowCount": ["handleCellChanges"],
|
|
267
|
+
"interactionMode": ["handleCellChanges"],
|
|
260
268
|
"numbered": ["handleDelayedCellChanges"],
|
|
261
269
|
"selectionMode": ["handleDelayedCellChanges"]
|
|
262
270
|
}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-table-row.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,cAAc,EAAE,kBAAkB;CACnC;;ACFD,MAAM,WAAW,GAAG,g3BAAg3B;;MCqCv3B,QAAQ;;;;;;;QAsGX,aAAQ,GAAoE,EAAE,CAAC;QAkH/E,6BAAwB,GAAG,CACjC,YAAoB,EACpB,WAAmB,EACnB,WAA2C,EAC3C,QAAkB;YAElB,IAAI,CAAC,mCAAmC,CAAC,IAAI,CAAC;gBAC5C,YAAY;gBACZ,WAAW;gBACX,WAAW;gBACX,QAAQ;aACT,CAAC,CAAC;SACJ,CAAC;QAEM,gBAAW,GAAG;YACpB,MAAM,YAAY,GAAG,IAAI,CAAC,cAAc;kBACpC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kBACnC,MAAM,CACN,CAAC,EAA+D,KAC9D,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CACzE,CAAC;YAEJ,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,IAAI,CAAC,UAAU,EAAE,gBAAgB,CAAC,0CAA0C,CAAC,CAC9E,EAAE,MAAM,CACP,CAAC,EAA+D,KAC9D,EAAE,CAAC,UAAU,IAAI,EAAE,CAAC,aAAa,CACpC,CAAC;YAEF,MAAM,KAAK,GAAG,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,YAAY,CAAC;YAEhF,IAAI,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ACzB,0BAAoB,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,eAAe,EAAC,UAAU,EAAE,IAAI,IACxE,IAAI,CAAC,wBAAwB,CACX,KAErB,0BAAoB,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,eAAe,EAAC,UAAU,EAAE,IAAI,GAAI,CAChF,CAAC;KACH;IAED,MAAM;QACJ,QACE,EAAC,IAAI,QACH,EAAC,oBAAoB,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAC3C,2BACiB,IAAI,CAAC,QAAQ,mBACb,IAAI,CAAC,WAAW,GAAG,CAAC,mBACpB,IAAI,CAAC,QAAQ,EAC5B,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,EAAE,EACpD,SAAS,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;;YAEhD,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC,IAElC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,kBAAkB,EAAE,EAC1C,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,oBAAoB,EAAE,EAC7D,YACE,YAAY,EAAE,IAAI,CAAC,WAAW,EAC9B,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,cAAc,GAAG,EAAqB,CAAC,GAC1D,CACC,CACgB,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/table-row/resources.ts","src/components/table-row/table-row.scss?tag=calcite-table-row&encapsulation=shadow","src/components/table-row/table-row.tsx"],"sourcesContent":["export const CSS = {\n lastVisibleRow: \"last-visible-row\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-table-row-background: Specifies the background color of the component.\n * @prop --calcite-table-row-border-color: Specifies the border color of the component.\n */\n\n:host {\n --calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));\n --calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);\n @apply contents;\n}\n\n@include base-component();\n\n@include disabled() {\n tr {\n @apply opacity-disabled pointer-events-none;\n }\n}\n\ntr {\n border-block-end: 1px solid var(--calcite-internal-table-row-border-color);\n background-color: var(--calcite-internal-table-row-background);\n}\n\ntr.last-visible-row {\n border-block-end: 0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { LocalizedComponent } from \"../../utils/locale\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { focusElementInGroup, FocusElementInGroupDestination } from \"../../utils/dom\";\nimport { RowType, TableRowFocusEvent } from \"../table/interfaces\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { getIconScale } from \"../../utils/component\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-table-cell` or `calcite-table-header` elements.\n */\n\n@Component({\n tag: \"calcite-table-row\",\n styleUrl: \"table-row.scss\",\n shadow: true,\n})\nexport class TableRow implements InteractiveComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true }) selected = false;\n\n /** @internal */\n @Prop({ mutable: true }) cellCount: number;\n\n /** @internal */\n @Prop() lastVisibleRow: boolean;\n\n /** @internal */\n @Prop() rowType: RowType;\n\n /** @internal */\n @Prop() numbered = false;\n\n /** @internal */\n @Prop() positionSection: number;\n\n /** @internal */\n @Prop() positionSectionLocalized: string;\n\n /** @internal */\n @Prop() positionAll: number;\n\n /** @internal */\n @Prop() readCellContentsToAT: boolean;\n\n /** @internal */\n @Prop() scale: Scale;\n\n /** @internal */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"none\", SelectionMode> = \"none\";\n\n /** @internal */\n @Prop() selectedRowCount: number;\n\n /** @internal */\n @Prop() selectedRowCountLocalized: string;\n\n /** @internal */\n @Prop() bodyRowCount: number;\n\n @Watch(\"bodyRowCount\")\n @Watch(\"scale\")\n @Watch(\"selected\")\n @Watch(\"selectedRowCount\")\n handleCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n @Watch(\"numbered\")\n @Watch(\"selectionMode\")\n handleDelayedCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n requestAnimationFrame(() => this.updateCells());\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentDidLoad(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTableRowElement;\n\n private rowCells: (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[] = [];\n\n private tableRowEl: HTMLTableRowElement;\n\n private tableRowSlotEl: HTMLSlotElement;\n\n @State() effectiveLocale = \"\";\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteTableRowSelect: EventEmitter<void>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalTableRowFocusRequest: EventEmitter<TableRowFocusEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTableRowFocusChange\", { target: \"document\" })\n calciteInternalTableRowFocusChangeHandler(event: CustomEvent): void {\n if ((event.target as Element).contains(this.el)) {\n const position = event.detail.cellPosition;\n const rowPosition = event.detail.rowPosition;\n const destination = event.detail.destination;\n const lastCell = event.detail.lastCell;\n\n if (rowPosition === this.positionAll) {\n if (this.disabled) {\n const deflectDirection =\n destination === \"last\" ? \"previous\" : destination === \"first\" ? \"next\" : destination;\n this.emitTableRowFocusRequest(position, this.positionAll, deflectDirection);\n return;\n }\n const cellPosition = lastCell\n ? this.rowCells[this.rowCells.length - 1]\n : this.rowCells?.find((_, index) => index + 1 === position);\n\n if (cellPosition) {\n cellPosition.setFocus();\n }\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler(event: KeyboardEvent): void {\n const el = event.target as HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement;\n const key = event.key;\n const isControl = event.ctrlKey;\n const cells = this.rowCells;\n if (el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\")) {\n switch (key) {\n case \"ArrowUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"previous\");\n event.preventDefault();\n break;\n case \"ArrowDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"next\");\n event.preventDefault();\n break;\n case \"PageUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"first\");\n event.preventDefault();\n break;\n case \"PageDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"last\");\n event.preventDefault();\n break;\n case \"ArrowLeft\":\n focusElementInGroup(cells, el, \"previous\", false);\n event.preventDefault();\n break;\n case \"ArrowRight\":\n focusElementInGroup(cells, el, \"next\", false);\n event.preventDefault();\n break;\n case \"Home\":\n if (isControl) {\n this.emitTableRowFocusRequest(1, this.positionAll, \"first\");\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"first\", false);\n event.preventDefault();\n }\n break;\n case \"End\":\n if (isControl) {\n this.emitTableRowFocusRequest(this.rowCells?.length, this.positionAll, \"last\", true);\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"last\", false);\n event.preventDefault();\n }\n break;\n }\n }\n }\n\n private emitTableRowFocusRequest = (\n cellPosition: number,\n rowPosition: number,\n destination: FocusElementInGroupDestination,\n lastCell?: boolean,\n ): void => {\n this.calciteInternalTableRowFocusRequest.emit({\n cellPosition,\n rowPosition,\n destination,\n lastCell,\n });\n };\n\n private updateCells = (): void => {\n const slottedCells = this.tableRowSlotEl\n ?.assignedElements({ flatten: true })\n ?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\"),\n );\n\n const renderedCells = Array.from(\n this.tableRowEl?.querySelectorAll(\"calcite-table-header, calcite-table-cell\"),\n )?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.numberCell || el.selectionCell,\n );\n\n const cells = renderedCells ? renderedCells.concat(slottedCells) : slottedCells;\n\n if (cells.length > 0) {\n cells?.forEach((cell: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement, index) => {\n cell.positionInRow = index + 1;\n cell.parentRowType = this.rowType;\n cell.parentRowIsSelected = this.selected;\n cell.scale = this.scale;\n cell.lastCell = index === cells.length - 1;\n\n if (cell.nodeName === \"CALCITE-TABLE-CELL\") {\n (cell as HTMLCalciteTableCellElement).readCellContentsToAT = this.readCellContentsToAT;\n (cell as HTMLCalciteTableCellElement).disabled = this.disabled;\n }\n });\n }\n\n this.rowCells =\n (cells as (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[]) || [];\n this.cellCount = cells?.length;\n };\n\n private handleSelectionOfRow = (): void => {\n this.calciteTableRowSelect.emit();\n };\n\n private handleKeyboardSelection = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n if (event.key === \" \") {\n event.preventDefault();\n }\n this.handleSelectionOfRow();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? \"check-square-f\"\n : this.selectionMode === \"multiple\"\n ? \"square\"\n : this.selected\n ? \"circle-f\"\n : \"circle\";\n\n return <calcite-icon icon={icon} scale={getIconScale(this.scale)} />;\n }\n\n renderSelectableCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header\n alignment=\"center\"\n bodyRowCount={this.bodyRowCount}\n key=\"selection-head\"\n onClick={this.selectionMode === \"multiple\" && this.handleSelectionOfRow}\n onKeyDown={this.selectionMode === \"multiple\" && this.handleKeyboardSelection}\n selectedRowCount={this.selectedRowCount}\n selectedRowCountLocalized={this.selectedRowCountLocalized}\n selectionCell={true}\n selectionMode={this.selectionMode}\n />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell\n alignment=\"center\"\n key=\"selection-body\"\n onClick={this.handleSelectionOfRow}\n onKeyDown={this.handleKeyboardSelection}\n parentRowIsSelected={this.selected}\n parentRowPositionLocalized={this.positionSectionLocalized}\n selectionCell={true}\n >\n {this.renderSelectionIcon()}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell alignment=\"center\" key=\"selection-foot\" selectionCell={true} />\n );\n }\n\n renderNumberedCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header alignment=\"center\" key=\"numbered-head\" numberCell={true} />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell alignment=\"center\" key=\"numbered-body\" numberCell={true}>\n {this.positionSectionLocalized}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell alignment=\"center\" key=\"numbered-foot\" numberCell={true} />\n );\n }\n\n render(): VNode {\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <tr\n aria-disabled={this.disabled}\n aria-rowindex={this.positionAll + 1}\n aria-selected={this.selected}\n class={{ [CSS.lastVisibleRow]: this.lastVisibleRow }}\n onKeyDown={(event) => this.keyDownHandler(event)}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.tableRowEl = el)}\n >\n {this.numbered && this.renderNumberedCell()}\n {this.selectionMode !== \"none\" && this.renderSelectableCell()}\n <slot\n onSlotchange={this.updateCells}\n ref={(el) => (this.tableRowSlotEl = el as HTMLSlotElement)}\n />\n </tr>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-table-row.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,cAAc,EAAE,kBAAkB;CACnC;;ACFD,MAAM,WAAW,GAAG,g3BAAg3B;;MCqCv3B,QAAQ;;;;;;;QA0GX,aAAQ,GAAoE,EAAE,CAAC;;;;;;QA6D/E,mBAAc,GAAG,CAAC,KAAoB;YAC5C,IAAI,IAAI,CAAC,eAAe,KAAK,aAAa,EAAE;gBAC1C,OAAO;aACR;YACD,MAAM,EAAE,GAAG,KAAK,CAAC,MAAqE,CAAC;YACvF,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;YACtB,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC;YAChC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC;YAC5B,IAAI,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,EAAE;gBAC1E,QAAQ,GAAG;oBACT,KAAK,SAAS;wBACZ,IAAI,CAAC,wBAAwB,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;wBAC9E,KAAK,CAAC,cAAc,EAAE,CAAC;wBACvB,MAAM;oBACR,KAAK,WAAW;wBACd,IAAI,CAAC,wBAAwB,CAAC,EAAE,CAAC,aA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row/resources.ts","src/components/table-row/table-row.scss?tag=calcite-table-row&encapsulation=shadow","src/components/table-row/table-row.tsx"],"sourcesContent":["export const CSS = {\n lastVisibleRow: \"last-visible-row\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-table-row-background: Specifies the background color of the component.\n * @prop --calcite-table-row-border-color: Specifies the border color of the component.\n */\n\n:host {\n --calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));\n --calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);\n @apply contents;\n}\n\n@include base-component();\n\n@include disabled() {\n tr {\n @apply opacity-disabled pointer-events-none;\n }\n}\n\ntr {\n border-block-end: 1px solid var(--calcite-internal-table-row-border-color);\n background-color: var(--calcite-internal-table-row-background);\n}\n\ntr.last-visible-row {\n border-block-end: 0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { LocalizedComponent } from \"../../utils/locale\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { focusElementInGroup, FocusElementInGroupDestination } from \"../../utils/dom\";\nimport { RowType, TableInteractionMode, TableRowFocusEvent } from \"../table/interfaces\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { getIconScale } from \"../../utils/component\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-table-cell` or `calcite-table-header` elements.\n */\n\n@Component({\n tag: \"calcite-table-row\",\n styleUrl: \"table-row.scss\",\n shadow: true,\n})\nexport class TableRow implements InteractiveComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true }) selected = false;\n\n /** @internal */\n @Prop({ mutable: true }) cellCount: number;\n\n /** @internal */\n @Prop() interactionMode: TableInteractionMode = \"interactive\";\n\n /** @internal */\n @Prop() lastVisibleRow: boolean;\n\n /** @internal */\n @Prop() rowType: RowType;\n\n /** @internal */\n @Prop() numbered = false;\n\n /** @internal */\n @Prop() positionSection: number;\n\n /** @internal */\n @Prop() positionSectionLocalized: string;\n\n /** @internal */\n @Prop() positionAll: number;\n\n /** @internal */\n @Prop() readCellContentsToAT: boolean;\n\n /** @internal */\n @Prop() scale: Scale;\n\n /** @internal */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"none\", SelectionMode> = \"none\";\n\n /** @internal */\n @Prop() selectedRowCount: number;\n\n /** @internal */\n @Prop() selectedRowCountLocalized: string;\n\n /** @internal */\n @Prop() bodyRowCount: number;\n\n @Watch(\"bodyRowCount\")\n @Watch(\"scale\")\n @Watch(\"selected\")\n @Watch(\"selectedRowCount\")\n @Watch(\"interactionMode\")\n handleCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n @Watch(\"numbered\")\n @Watch(\"selectionMode\")\n handleDelayedCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n requestAnimationFrame(() => this.updateCells());\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentDidLoad(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTableRowElement;\n\n private rowCells: (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[] = [];\n\n private tableRowEl: HTMLTableRowElement;\n\n private tableRowSlotEl: HTMLSlotElement;\n\n @State() effectiveLocale = \"\";\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteTableRowSelect: EventEmitter<void>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalTableRowFocusRequest: EventEmitter<TableRowFocusEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTableRowFocusChange\", { target: \"document\" })\n calciteInternalTableRowFocusChangeHandler(event: CustomEvent): void {\n if ((event.target as Element).contains(this.el)) {\n const position = event.detail.cellPosition;\n const rowPosition = event.detail.rowPosition;\n const destination = event.detail.destination;\n const lastCell = event.detail.lastCell;\n\n if (rowPosition === this.positionAll) {\n if (this.disabled) {\n const deflectDirection =\n destination === \"last\" ? \"previous\" : destination === \"first\" ? \"next\" : destination;\n this.emitTableRowFocusRequest(position, this.positionAll, deflectDirection);\n return;\n }\n const cellPosition = lastCell\n ? this.rowCells[this.rowCells.length - 1]\n : this.rowCells?.find((_, index) => index + 1 === position);\n\n if (cellPosition) {\n cellPosition.setFocus();\n }\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (this.interactionMode !== \"interactive\") {\n return;\n }\n const el = event.target as HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement;\n const key = event.key;\n const isControl = event.ctrlKey;\n const cells = this.rowCells;\n if (el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\")) {\n switch (key) {\n case \"ArrowUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"previous\");\n event.preventDefault();\n break;\n case \"ArrowDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"next\");\n event.preventDefault();\n break;\n case \"PageUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"first\");\n event.preventDefault();\n break;\n case \"PageDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"last\");\n event.preventDefault();\n break;\n case \"ArrowLeft\":\n focusElementInGroup(cells, el, \"previous\", false);\n event.preventDefault();\n break;\n case \"ArrowRight\":\n focusElementInGroup(cells, el, \"next\", false);\n event.preventDefault();\n break;\n case \"Home\":\n if (isControl) {\n this.emitTableRowFocusRequest(1, this.positionAll, \"first\");\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"first\", false);\n event.preventDefault();\n }\n break;\n case \"End\":\n if (isControl) {\n this.emitTableRowFocusRequest(this.rowCells?.length, this.positionAll, \"last\", true);\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"last\", false);\n event.preventDefault();\n }\n break;\n }\n }\n };\n\n private emitTableRowFocusRequest = (\n cellPosition: number,\n rowPosition: number,\n destination: FocusElementInGroupDestination,\n lastCell?: boolean,\n ): void => {\n this.calciteInternalTableRowFocusRequest.emit({\n cellPosition,\n rowPosition,\n destination,\n lastCell,\n });\n };\n\n private updateCells = (): void => {\n const slottedCells = this.tableRowSlotEl\n ?.assignedElements({ flatten: true })\n ?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\"),\n );\n\n const renderedCells = Array.from(\n this.tableRowEl?.querySelectorAll(\"calcite-table-header, calcite-table-cell\"),\n )?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.numberCell || el.selectionCell,\n );\n\n const cells = renderedCells ? renderedCells.concat(slottedCells) : slottedCells;\n\n if (cells.length > 0) {\n cells?.forEach((cell: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement, index) => {\n cell.interactionMode = this.interactionMode;\n cell.positionInRow = index + 1;\n cell.parentRowType = this.rowType;\n cell.parentRowIsSelected = this.selected;\n cell.scale = this.scale;\n cell.lastCell = index === cells.length - 1;\n\n if (cell.nodeName === \"CALCITE-TABLE-CELL\") {\n (cell as HTMLCalciteTableCellElement).readCellContentsToAT = this.readCellContentsToAT;\n (cell as HTMLCalciteTableCellElement).disabled = this.disabled;\n }\n });\n }\n\n this.rowCells =\n (cells as (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[]) || [];\n this.cellCount = cells?.length;\n };\n\n private handleSelectionOfRow = (): void => {\n this.calciteTableRowSelect.emit();\n };\n\n private handleKeyboardSelection = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n if (event.key === \" \") {\n event.preventDefault();\n }\n this.handleSelectionOfRow();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? \"check-square-f\"\n : this.selectionMode === \"multiple\"\n ? \"square\"\n : this.selected\n ? \"circle-f\"\n : \"circle\";\n\n return <calcite-icon icon={icon} scale={getIconScale(this.scale)} />;\n }\n\n renderSelectableCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header\n alignment=\"center\"\n bodyRowCount={this.bodyRowCount}\n key=\"selection-head\"\n onClick={this.selectionMode === \"multiple\" && this.handleSelectionOfRow}\n onKeyDown={this.selectionMode === \"multiple\" && this.handleKeyboardSelection}\n selectedRowCount={this.selectedRowCount}\n selectedRowCountLocalized={this.selectedRowCountLocalized}\n selectionCell={true}\n selectionMode={this.selectionMode}\n />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell\n alignment=\"center\"\n key=\"selection-body\"\n onClick={this.handleSelectionOfRow}\n onKeyDown={this.handleKeyboardSelection}\n parentRowIsSelected={this.selected}\n parentRowPositionLocalized={this.positionSectionLocalized}\n selectionCell={true}\n >\n {this.renderSelectionIcon()}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell alignment=\"center\" key=\"selection-foot\" selectionCell={true} />\n );\n }\n\n renderNumberedCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header alignment=\"center\" key=\"numbered-head\" numberCell={true} />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell alignment=\"center\" key=\"numbered-body\" numberCell={true}>\n {this.positionSectionLocalized}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell alignment=\"center\" key=\"numbered-foot\" numberCell={true} />\n );\n }\n\n render(): VNode {\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <tr\n aria-disabled={this.disabled}\n aria-rowindex={this.positionAll + 1}\n aria-selected={this.selected}\n class={{ [CSS.lastVisibleRow]: this.lastVisibleRow }}\n onKeyDown={this.keyDownHandler}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.tableRowEl = el)}\n >\n {this.numbered && this.renderNumberedCell()}\n {this.selectionMode !== \"none\" && this.renderSelectableCell()}\n <slot\n onSlotchange={this.updateCells}\n ref={(el) => (this.tableRowSlotEl = el as HTMLSlotElement)}\n />\n </tr>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|