@esri/calcite-components 2.5.0-next.2 → 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/index.esm.js +1 -1
- package/dist/calcite/p-00811dc7.entry.js +7 -0
- package/dist/calcite/p-00811dc7.entry.js.map +1 -0
- package/dist/calcite/p-035c5daa.entry.js +7 -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-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-417aab79.entry.js.map +1 -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-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-6a1531cd.entry.js.map +1 -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-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-96bdb910.entry.js.map +1 -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-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 +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- 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 +4 -4
- 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 +4 -4
- 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/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +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 +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 +1 -1
- package/dist/components/calcite-table.js +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 +1 -1
- package/dist/components/table-header.js +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 +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- 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 +5 -5
- 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 +5 -5
- 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 +16 -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.d.ts +5 -5
- package/hydrate/index.js +22 -24
- package/package.json +2 -2
- package/dist/calcite/p-00407964.entry.js +0 -7
- package/dist/calcite/p-03981671.entry.js +0 -7
- package/dist/calcite/p-04354662.js +0 -7
- package/dist/calcite/p-071835ca.js +0 -7
- package/dist/calcite/p-07a0945c.entry.js +0 -7
- package/dist/calcite/p-0963c31a.entry.js +0 -7
- package/dist/calcite/p-0d86f41e.js +0 -7
- package/dist/calcite/p-100fdb54.entry.js +0 -7
- package/dist/calcite/p-1046fd82.js +0 -7
- package/dist/calcite/p-11c57855.js +0 -7
- package/dist/calcite/p-11d04aed.js +0 -7
- package/dist/calcite/p-12bbd9d9.entry.js +0 -7
- package/dist/calcite/p-15157d54.entry.js +0 -7
- package/dist/calcite/p-16d74968.js +0 -7
- package/dist/calcite/p-1993b8f7.js +0 -7
- package/dist/calcite/p-1a339ac7.entry.js +0 -7
- package/dist/calcite/p-1e8057f4.js +0 -7
- package/dist/calcite/p-207ad3c6.js +0 -7
- package/dist/calcite/p-20a94bb8.js +0 -7
- package/dist/calcite/p-21080b73.entry.js +0 -7
- package/dist/calcite/p-2655f2e6.js +0 -7
- package/dist/calcite/p-27a57492.entry.js +0 -7
- package/dist/calcite/p-27c38ed3.js +0 -7
- package/dist/calcite/p-27e72ce9.entry.js +0 -7
- package/dist/calcite/p-2873883e.js +0 -7
- package/dist/calcite/p-29221ebd.entry.js +0 -7
- package/dist/calcite/p-2b7a5f69.entry.js +0 -7
- package/dist/calcite/p-2ea5c842.js +0 -7
- package/dist/calcite/p-2fa6cd7c.entry.js +0 -7
- package/dist/calcite/p-30517253.entry.js +0 -7
- package/dist/calcite/p-33fe032b.entry.js +0 -7
- package/dist/calcite/p-34457faa.js +0 -7
- package/dist/calcite/p-36012902.js +0 -7
- package/dist/calcite/p-3c627e7e.js +0 -7
- package/dist/calcite/p-3e090648.js +0 -7
- package/dist/calcite/p-3f7c0623.js +0 -7
- package/dist/calcite/p-3f927f4e.entry.js +0 -7
- package/dist/calcite/p-3f927f4e.entry.js.map +0 -1
- package/dist/calcite/p-40f8d312.js +0 -13
- package/dist/calcite/p-42b76c6c.entry.js +0 -7
- package/dist/calcite/p-46bb28b4.js +0 -7
- package/dist/calcite/p-48c4d1e8.js +0 -7
- package/dist/calcite/p-4af08be4.js +0 -7
- package/dist/calcite/p-4b2cb8b0.js +0 -7
- package/dist/calcite/p-4d9ad7c8.entry.js +0 -7
- package/dist/calcite/p-4f8be795.js +0 -7
- package/dist/calcite/p-51b4d321.entry.js +0 -7
- package/dist/calcite/p-52f4c789.entry.js +0 -7
- package/dist/calcite/p-533e284e.js +0 -7
- package/dist/calcite/p-55541222.js +0 -7
- package/dist/calcite/p-55668338.js +0 -7
- package/dist/calcite/p-572235bd.entry.js +0 -7
- package/dist/calcite/p-57637e27.js +0 -7
- package/dist/calcite/p-5808ef89.entry.js +0 -7
- package/dist/calcite/p-5901d805.entry.js +0 -7
- package/dist/calcite/p-5b33e319.js +0 -7
- package/dist/calcite/p-5bab1ad2.entry.js +0 -7
- package/dist/calcite/p-5fcdff2c.entry.js +0 -7
- package/dist/calcite/p-5fcdff2c.entry.js.map +0 -1
- package/dist/calcite/p-61191d64.js +0 -7
- package/dist/calcite/p-61277079.entry.js +0 -7
- package/dist/calcite/p-63564499.js +0 -7
- package/dist/calcite/p-63cb56c4.js +0 -7
- package/dist/calcite/p-65955577.entry.js +0 -7
- package/dist/calcite/p-65b4c4df.js +0 -7
- package/dist/calcite/p-67c98620.entry.js +0 -7
- package/dist/calcite/p-67c98620.entry.js.map +0 -1
- package/dist/calcite/p-6ea4f6de.entry.js +0 -7
- package/dist/calcite/p-6f8dcde6.js +0 -7
- package/dist/calcite/p-708cda19.entry.js +0 -7
- package/dist/calcite/p-708cda19.entry.js.map +0 -1
- package/dist/calcite/p-71888bc4.js +0 -7
- package/dist/calcite/p-720b3d43.js +0 -7
- package/dist/calcite/p-72b0894d.js +0 -7
- package/dist/calcite/p-7327524e.js +0 -7
- package/dist/calcite/p-755ce9d3.js +0 -7
- package/dist/calcite/p-785098ad.js +0 -7
- package/dist/calcite/p-7a05b03e.js +0 -7
- package/dist/calcite/p-7f1e4406.js +0 -7
- package/dist/calcite/p-815b8ec5.js +0 -7
- package/dist/calcite/p-847d437c.entry.js +0 -7
- package/dist/calcite/p-85171f93.entry.js +0 -7
- package/dist/calcite/p-86bbea34.js +0 -7
- package/dist/calcite/p-870f7f2a.js +0 -7
- package/dist/calcite/p-87ffed8b.js +0 -7
- package/dist/calcite/p-8a06d9cf.entry.js +0 -7
- package/dist/calcite/p-8ae9baad.entry.js +0 -7
- package/dist/calcite/p-8b940e63.entry.js +0 -7
- package/dist/calcite/p-8b940e63.entry.js.map +0 -1
- package/dist/calcite/p-8f0b5cad.js +0 -7
- package/dist/calcite/p-8f2928f0.entry.js +0 -7
- package/dist/calcite/p-90c6fac8.js +0 -7
- package/dist/calcite/p-9116a649.js +0 -7
- package/dist/calcite/p-9581f2d9.entry.js +0 -7
- package/dist/calcite/p-9a469271.js +0 -7
- package/dist/calcite/p-9abe4b01.entry.js +0 -7
- package/dist/calcite/p-9bd35b63.js +0 -7
- package/dist/calcite/p-9d99b6eb.entry.js +0 -7
- package/dist/calcite/p-9dad94e6.js +0 -7
- package/dist/calcite/p-a3302d6f.entry.js +0 -7
- package/dist/calcite/p-a3ae9ed0.entry.js +0 -7
- package/dist/calcite/p-a45b7197.js +0 -11
- package/dist/calcite/p-a58dc387.js +0 -7
- package/dist/calcite/p-a75754ec.js +0 -7
- package/dist/calcite/p-a7e5073f.entry.js +0 -7
- package/dist/calcite/p-a7e5073f.entry.js.map +0 -1
- package/dist/calcite/p-ae2ea6e7.js +0 -7
- package/dist/calcite/p-aeb62f23.entry.js +0 -7
- package/dist/calcite/p-b08b4fda.entry.js +0 -7
- package/dist/calcite/p-b0d445b4.js +0 -7
- package/dist/calcite/p-b1867447.js +0 -7
- package/dist/calcite/p-b2ad92bd.js +0 -7
- package/dist/calcite/p-b3d178cd.js +0 -7
- package/dist/calcite/p-b42bf710.entry.js +0 -7
- package/dist/calcite/p-b4ca7ee2.js +0 -7
- package/dist/calcite/p-b5032d1b.js +0 -7
- package/dist/calcite/p-ba4644b4.entry.js +0 -7
- package/dist/calcite/p-ba4644b4.entry.js.map +0 -1
- package/dist/calcite/p-bea42270.entry.js +0 -7
- package/dist/calcite/p-c126a1bf.js +0 -7
- package/dist/calcite/p-c367f2b5.entry.js +0 -7
- package/dist/calcite/p-c367f2b5.entry.js.map +0 -1
- package/dist/calcite/p-c4694f0f.entry.js +0 -7
- package/dist/calcite/p-c7425f90.js +0 -7
- package/dist/calcite/p-c7cc1136.js +0 -7
- package/dist/calcite/p-c7e5a7f5.entry.js +0 -7
- package/dist/calcite/p-c7e5a7f5.entry.js.map +0 -1
- package/dist/calcite/p-cc810944.js +0 -7
- package/dist/calcite/p-ccfbbd1e.entry.js +0 -7
- package/dist/calcite/p-ce0c066a.entry.js +0 -7
- package/dist/calcite/p-ce39f1bc.entry.js +0 -7
- package/dist/calcite/p-ce98cbec.js +0 -7
- package/dist/calcite/p-cfdb4625.js +0 -7
- package/dist/calcite/p-d111a16f.js +0 -12
- package/dist/calcite/p-d13cb9be.entry.js +0 -7
- package/dist/calcite/p-d1ee5494.js +0 -7
- package/dist/calcite/p-d4276aad.js +0 -7
- package/dist/calcite/p-d4e56623.entry.js +0 -7
- package/dist/calcite/p-d59c98cf.js +0 -7
- package/dist/calcite/p-d647e8a4.entry.js +0 -7
- package/dist/calcite/p-d9c4a211.entry.js +0 -7
- package/dist/calcite/p-daf97199.entry.js +0 -7
- package/dist/calcite/p-dc7f4af7.js +0 -7
- package/dist/calcite/p-dca0038c.entry.js +0 -7
- package/dist/calcite/p-ddf536f0.js +0 -7
- package/dist/calcite/p-de321a22.js +0 -7
- package/dist/calcite/p-de407ba0.js +0 -7
- package/dist/calcite/p-dfb80eaa.entry.js +0 -7
- package/dist/calcite/p-e0ae45c1.js +0 -8
- package/dist/calcite/p-e1d6feee.entry.js +0 -7
- package/dist/calcite/p-e1d6feee.entry.js.map +0 -1
- package/dist/calcite/p-e4893df9.js +0 -7
- package/dist/calcite/p-e4e70af2.entry.js +0 -7
- package/dist/calcite/p-e4ff273e.js +0 -7
- package/dist/calcite/p-e721ec55.js +0 -7
- package/dist/calcite/p-e9237f6d.entry.js +0 -7
- package/dist/calcite/p-ec86459d.js +0 -7
- package/dist/calcite/p-eecd578f.entry.js +0 -7
- package/dist/calcite/p-eecd578f.entry.js.map +0 -1
- package/dist/calcite/p-f0a6e04d.entry.js +0 -7
- package/dist/calcite/p-f0d2d25d.js +0 -7
- package/dist/calcite/p-f1752dc7.entry.js +0 -7
- package/dist/calcite/p-f28fb23e.entry.js +0 -7
- package/dist/calcite/p-f47c173d.js +0 -7
- package/dist/calcite/p-f49b701a.js +0 -7
- package/dist/calcite/p-f5ea8b7c.js +0 -7
- package/dist/calcite/p-f970e2e2.js +0 -7
- package/dist/calcite/p-fb851e83.entry.js +0 -7
- package/dist/calcite/p-fd1e0f21.entry.js +0 -7
- package/dist/calcite/p-fe81feea.js +0 -7
- package/dist/calcite/p-ff0b4f6d.entry.js +0 -7
- package/dist/calcite/p-ff46dff5.js +0 -7
- package/dist/cjs/ExpandToggle-4cf02da2.js +0 -110
- package/dist/cjs/ExpandToggle-4cf02da2.js.map +0 -1
- package/dist/cjs/FloatingArrow-33469b37.js +0 -49
- package/dist/cjs/FloatingArrow-33469b37.js.map +0 -1
- package/dist/cjs/Heading-01ade36a.js +0 -22
- package/dist/cjs/Heading-01ade36a.js.map +0 -1
- package/dist/cjs/Validation-2d86c0e1.js +0 -18
- package/dist/cjs/Validation-2d86c0e1.js.map +0 -1
- package/dist/cjs/app-globals-b179418f.js +0 -61
- package/dist/cjs/app-globals-b179418f.js.map +0 -1
- package/dist/cjs/ar-20f44200.js +0 -106
- package/dist/cjs/ar-20f44200.js.map +0 -1
- package/dist/cjs/array-398b0c77.js +0 -14
- package/dist/cjs/array-398b0c77.js.map +0 -1
- package/dist/cjs/bg-059d9750.js +0 -84
- package/dist/cjs/bg-059d9750.js.map +0 -1
- package/dist/cjs/browser-da8993f2.js +0 -20
- package/dist/cjs/browser-da8993f2.js.map +0 -1
- package/dist/cjs/bs-382de223.js +0 -53
- package/dist/cjs/bs-382de223.js.map +0 -1
- package/dist/cjs/ca-7159bd1b.js +0 -73
- package/dist/cjs/ca-7159bd1b.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-85bef0d5.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-85bef0d5.js.map +0 -1
- package/dist/cjs/component-636b4d93.js +0 -30
- package/dist/cjs/component-636b4d93.js.map +0 -1
- package/dist/cjs/conditionalSlot-c28e061e.js +0 -60
- package/dist/cjs/conditionalSlot-c28e061e.js.map +0 -1
- package/dist/cjs/cs-3ce93767.js +0 -149
- package/dist/cjs/cs-3ce93767.js.map +0 -1
- package/dist/cjs/da-be9d5fa3.js +0 -68
- package/dist/cjs/da-be9d5fa3.js.map +0 -1
- package/dist/cjs/de-23839ff4.js +0 -93
- package/dist/cjs/de-23839ff4.js.map +0 -1
- package/dist/cjs/de-at-c345970d.js +0 -92
- package/dist/cjs/de-at-c345970d.js.map +0 -1
- package/dist/cjs/de-ch-c08ffce9.js +0 -92
- package/dist/cjs/de-ch-c08ffce9.js.map +0 -1
- package/dist/cjs/debounce-ad6c53e4.js +0 -498
- package/dist/cjs/debounce-ad6c53e4.js.map +0 -1
- package/dist/cjs/dom-72d408b3.js +0 -1084
- package/dist/cjs/dom-72d408b3.js.map +0 -1
- package/dist/cjs/el-22b5ee98.js +0 -68
- package/dist/cjs/el-22b5ee98.js.map +0 -1
- package/dist/cjs/en-au-efac3862.js +0 -68
- package/dist/cjs/en-au-efac3862.js.map +0 -1
- package/dist/cjs/en-ca-e6609f84.js +0 -67
- package/dist/cjs/en-ca-e6609f84.js.map +0 -1
- package/dist/cjs/en-gb-f81a2f7b.js +0 -71
- package/dist/cjs/en-gb-f81a2f7b.js.map +0 -1
- package/dist/cjs/es-f33b9999.js +0 -68
- package/dist/cjs/es-f33b9999.js.map +0 -1
- package/dist/cjs/es-mx-3a244ad4.js +0 -67
- package/dist/cjs/es-mx-3a244ad4.js.map +0 -1
- package/dist/cjs/et-dfb78b84.js +0 -94
- package/dist/cjs/et-dfb78b84.js.map +0 -1
- package/dist/cjs/fi-9ef986dd.js +0 -117
- package/dist/cjs/fi-9ef986dd.js.map +0 -1
- package/dist/cjs/filter-2390a3d4.js +0 -762
- package/dist/cjs/filter-2390a3d4.js.map +0 -1
- package/dist/cjs/floating-ui-ebee771c.js +0 -1965
- package/dist/cjs/floating-ui-ebee771c.js.map +0 -1
- package/dist/cjs/focusTrapComponent-66377cc0.js +0 -1020
- package/dist/cjs/focusTrapComponent-66377cc0.js.map +0 -1
- package/dist/cjs/form-e2057eb1.js +0 -333
- package/dist/cjs/form-e2057eb1.js.map +0 -1
- package/dist/cjs/fr-46cb1694.js +0 -70
- package/dist/cjs/fr-46cb1694.js.map +0 -1
- package/dist/cjs/fr-ch-a044d7aa.js +0 -68
- package/dist/cjs/fr-ch-a044d7aa.js.map +0 -1
- package/dist/cjs/guid-19e25131.js +0 -23
- package/dist/cjs/guid-19e25131.js.map +0 -1
- package/dist/cjs/he-2200d67a.js +0 -107
- package/dist/cjs/he-2200d67a.js.map +0 -1
- package/dist/cjs/hi-63a3ad06.js +0 -67
- package/dist/cjs/hi-63a3ad06.js.map +0 -1
- package/dist/cjs/hr-0ccf99c6.js +0 -82
- package/dist/cjs/hr-0ccf99c6.js.map +0 -1
- package/dist/cjs/hu-b2185ad6.js +0 -90
- package/dist/cjs/hu-b2185ad6.js.map +0 -1
- package/dist/cjs/id-85c13236.js +0 -68
- package/dist/cjs/id-85c13236.js.map +0 -1
- package/dist/cjs/index-489719b6.js +0 -208
- package/dist/cjs/index-489719b6.js.map +0 -1
- package/dist/cjs/index-65f4526c.js +0 -2655
- package/dist/cjs/index-65f4526c.js.map +0 -1
- package/dist/cjs/index-f0ab549c.js +0 -75
- package/dist/cjs/index-f0ab549c.js.map +0 -1
- package/dist/cjs/input-db724944.js +0 -57
- package/dist/cjs/input-db724944.js.map +0 -1
- package/dist/cjs/interactive-4d4ab547.js +0 -141
- package/dist/cjs/interactive-4d4ab547.js.map +0 -1
- package/dist/cjs/it-ch-67b21898.js +0 -68
- package/dist/cjs/it-ch-67b21898.js.map +0 -1
- package/dist/cjs/it-f4359cb6.js +0 -68
- package/dist/cjs/it-f4359cb6.js.map +0 -1
- package/dist/cjs/ja-887f3a38.js +0 -74
- package/dist/cjs/ja-887f3a38.js.map +0 -1
- package/dist/cjs/key-7862fbb4.js +0 -16
- package/dist/cjs/key-7862fbb4.js.map +0 -1
- package/dist/cjs/ko-768e9073.js +0 -74
- package/dist/cjs/ko-768e9073.js.map +0 -1
- package/dist/cjs/label-6d055418.js +0 -183
- package/dist/cjs/label-6d055418.js.map +0 -1
- package/dist/cjs/loadable-24d4329c.js +0 -91
- package/dist/cjs/loadable-24d4329c.js.map +0 -1
- package/dist/cjs/locale-6fd34571.js +0 -576
- package/dist/cjs/locale-6fd34571.js.map +0 -1
- package/dist/cjs/lt-1ecffb72.js +0 -99
- package/dist/cjs/lt-1ecffb72.js.map +0 -1
- package/dist/cjs/lv-444ceeeb.js +0 -68
- package/dist/cjs/lv-444ceeeb.js.map +0 -1
- package/dist/cjs/math-2544c6d9.js +0 -57
- package/dist/cjs/math-2544c6d9.js.map +0 -1
- package/dist/cjs/mk-bd945dcd.js +0 -68
- package/dist/cjs/mk-bd945dcd.js.map +0 -1
- package/dist/cjs/nb-63fe4346.js +0 -69
- package/dist/cjs/nb-63fe4346.js.map +0 -1
- package/dist/cjs/nl-35917733.js +0 -69
- package/dist/cjs/nl-35917733.js.map +0 -1
- package/dist/cjs/observers-fdb26ec6.js +0 -50
- package/dist/cjs/observers-fdb26ec6.js.map +0 -1
- package/dist/cjs/openCloseComponent-7b826ce8.js +0 -89
- package/dist/cjs/openCloseComponent-7b826ce8.js.map +0 -1
- package/dist/cjs/pl-a5d52e64.js +0 -116
- package/dist/cjs/pl-a5d52e64.js.map +0 -1
- package/dist/cjs/pt-0424d0e8.js +0 -69
- package/dist/cjs/pt-0424d0e8.js.map +0 -1
- package/dist/cjs/pt-br-71ade00a.js +0 -67
- package/dist/cjs/pt-br-71ade00a.js.map +0 -1
- package/dist/cjs/resources-0a463477.js +0 -29
- package/dist/cjs/resources-0a463477.js.map +0 -1
- package/dist/cjs/resources-294d5ac1.js +0 -414
- package/dist/cjs/resources-294d5ac1.js.map +0 -1
- package/dist/cjs/resources-53bc1252.js +0 -17
- package/dist/cjs/resources-53bc1252.js.map +0 -1
- package/dist/cjs/resources-88a47823.js +0 -26
- package/dist/cjs/resources-88a47823.js.map +0 -1
- package/dist/cjs/resources-9aba5c19.js +0 -49
- package/dist/cjs/resources-9aba5c19.js.map +0 -1
- package/dist/cjs/resources-9ac211ca.js +0 -26
- package/dist/cjs/resources-9ac211ca.js.map +0 -1
- package/dist/cjs/resources-e1e85789.js +0 -23
- package/dist/cjs/resources-e1e85789.js.map +0 -1
- package/dist/cjs/ro-66f81ed0.js +0 -68
- package/dist/cjs/ro-66f81ed0.js.map +0 -1
- package/dist/cjs/ru-2a052a08.js +0 -128
- package/dist/cjs/ru-2a052a08.js.map +0 -1
- package/dist/cjs/sk-fad1b019.js +0 -150
- package/dist/cjs/sk-fad1b019.js.map +0 -1
- package/dist/cjs/sl-da8f94c4.js +0 -170
- package/dist/cjs/sl-da8f94c4.js.map +0 -1
- package/dist/cjs/sortableComponent-10c62014.js +0 -2739
- package/dist/cjs/sortableComponent-10c62014.js.map +0 -1
- package/dist/cjs/sr-a75ee2bd.js +0 -103
- package/dist/cjs/sr-a75ee2bd.js.map +0 -1
- package/dist/cjs/sv-62b24529.js +0 -73
- package/dist/cjs/sv-62b24529.js.map +0 -1
- package/dist/cjs/t9n-a5f9365d.js +0 -97
- package/dist/cjs/t9n-a5f9365d.js.map +0 -1
- package/dist/cjs/th-e3aa5f33.js +0 -67
- package/dist/cjs/th-e3aa5f33.js.map +0 -1
- package/dist/cjs/throttle-019afe11.js +0 -77
- package/dist/cjs/throttle-019afe11.js.map +0 -1
- package/dist/cjs/tr-b140a576.js +0 -68
- package/dist/cjs/tr-b140a576.js.map +0 -1
- package/dist/cjs/uk-759f7e71.js +0 -106
- package/dist/cjs/uk-759f7e71.js.map +0 -1
- package/dist/cjs/utils-4d563013.js +0 -307
- package/dist/cjs/utils-4d563013.js.map +0 -1
- package/dist/cjs/utils-a4731c79.js +0 -218
- package/dist/cjs/utils-a4731c79.js.map +0 -1
- package/dist/cjs/vi-0e341fb9.js +0 -72
- package/dist/cjs/vi-0e341fb9.js.map +0 -1
- package/dist/cjs/zh-cn-4542aa07.js +0 -96
- package/dist/cjs/zh-cn-4542aa07.js.map +0 -1
- package/dist/cjs/zh-hk-c2f2d2f4.js +0 -73
- package/dist/cjs/zh-hk-c2f2d2f4.js.map +0 -1
- package/dist/cjs/zh-tw-2e07206e.js +0 -94
- package/dist/cjs/zh-tw-2e07206e.js.map +0 -1
- package/dist/esm/ExpandToggle-75c8e94a.js +0 -102
- package/dist/esm/ExpandToggle-75c8e94a.js.map +0 -1
- package/dist/esm/FloatingArrow-0a28ecc9.js +0 -47
- package/dist/esm/FloatingArrow-0a28ecc9.js.map +0 -1
- package/dist/esm/Heading-0709031a.js +0 -19
- package/dist/esm/Heading-0709031a.js.map +0 -1
- package/dist/esm/Validation-dbe36669.js +0 -16
- package/dist/esm/Validation-dbe36669.js.map +0 -1
- package/dist/esm/app-globals-d313c612.js +0 -59
- package/dist/esm/app-globals-d313c612.js.map +0 -1
- package/dist/esm/ar-cfd3fef6.js +0 -104
- package/dist/esm/ar-cfd3fef6.js.map +0 -1
- package/dist/esm/array-144fcfbf.js +0 -12
- package/dist/esm/array-144fcfbf.js.map +0 -1
- package/dist/esm/bg-51f7d10c.js +0 -82
- package/dist/esm/bg-51f7d10c.js.map +0 -1
- package/dist/esm/browser-21f7ce20.js +0 -18
- package/dist/esm/browser-21f7ce20.js.map +0 -1
- package/dist/esm/bs-701d8a16.js +0 -51
- package/dist/esm/bs-701d8a16.js.map +0 -1
- package/dist/esm/ca-b3285230.js +0 -71
- package/dist/esm/ca-b3285230.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-fd78aee0.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-fd78aee0.js.map +0 -1
- package/dist/esm/component-4ec5d7d6.js +0 -27
- package/dist/esm/component-4ec5d7d6.js.map +0 -1
- package/dist/esm/conditionalSlot-3c7421c3.js +0 -57
- package/dist/esm/conditionalSlot-3c7421c3.js.map +0 -1
- package/dist/esm/cs-83d0d6af.js +0 -147
- package/dist/esm/cs-83d0d6af.js.map +0 -1
- package/dist/esm/da-0f3ca604.js +0 -66
- package/dist/esm/da-0f3ca604.js.map +0 -1
- package/dist/esm/de-31222988.js +0 -91
- package/dist/esm/de-31222988.js.map +0 -1
- package/dist/esm/de-at-4696a46e.js +0 -90
- package/dist/esm/de-at-4696a46e.js.map +0 -1
- package/dist/esm/de-ch-b30256ab.js +0 -90
- package/dist/esm/de-ch-b30256ab.js.map +0 -1
- package/dist/esm/debounce-99951f1a.js +0 -489
- package/dist/esm/debounce-99951f1a.js.map +0 -1
- package/dist/esm/dom-56102a5e.js +0 -1053
- package/dist/esm/dom-56102a5e.js.map +0 -1
- package/dist/esm/el-5b6d8368.js +0 -66
- package/dist/esm/el-5b6d8368.js.map +0 -1
- package/dist/esm/en-au-64f9ad28.js +0 -66
- package/dist/esm/en-au-64f9ad28.js.map +0 -1
- package/dist/esm/en-ca-4b500b30.js +0 -65
- package/dist/esm/en-ca-4b500b30.js.map +0 -1
- package/dist/esm/en-gb-092222af.js +0 -69
- package/dist/esm/en-gb-092222af.js.map +0 -1
- package/dist/esm/es-85b99cfb.js +0 -66
- package/dist/esm/es-85b99cfb.js.map +0 -1
- package/dist/esm/es-mx-ab1847b6.js +0 -65
- package/dist/esm/es-mx-ab1847b6.js.map +0 -1
- package/dist/esm/et-e2bc1721.js +0 -92
- package/dist/esm/et-e2bc1721.js.map +0 -1
- package/dist/esm/fi-bcd98664.js +0 -115
- package/dist/esm/fi-bcd98664.js.map +0 -1
- package/dist/esm/filter-5d1d88d9.js +0 -760
- package/dist/esm/filter-5d1d88d9.js.map +0 -1
- package/dist/esm/floating-ui-c5399e0f.js +0 -1957
- package/dist/esm/floating-ui-c5399e0f.js.map +0 -1
- package/dist/esm/focusTrapComponent-23fec53e.js +0 -1015
- package/dist/esm/focusTrapComponent-23fec53e.js.map +0 -1
- package/dist/esm/form-bb52b7bd.js +0 -324
- package/dist/esm/form-bb52b7bd.js.map +0 -1
- package/dist/esm/fr-b9b72e74.js +0 -68
- package/dist/esm/fr-b9b72e74.js.map +0 -1
- package/dist/esm/fr-ch-c5408c03.js +0 -66
- package/dist/esm/fr-ch-c5408c03.js.map +0 -1
- package/dist/esm/guid-6d5b439f.js +0 -21
- package/dist/esm/guid-6d5b439f.js.map +0 -1
- package/dist/esm/he-d04635d1.js +0 -105
- package/dist/esm/he-d04635d1.js.map +0 -1
- package/dist/esm/hi-b696ed1d.js +0 -65
- package/dist/esm/hi-b696ed1d.js.map +0 -1
- package/dist/esm/hr-71aebf32.js +0 -80
- package/dist/esm/hr-71aebf32.js.map +0 -1
- package/dist/esm/hu-5761def9.js +0 -88
- package/dist/esm/hu-5761def9.js.map +0 -1
- package/dist/esm/id-5838aab9.js +0 -66
- package/dist/esm/id-5838aab9.js.map +0 -1
- package/dist/esm/index-381c67d5.js +0 -2620
- package/dist/esm/index-381c67d5.js.map +0 -1
- package/dist/esm/index-cd2976d5.js +0 -73
- package/dist/esm/index-cd2976d5.js.map +0 -1
- package/dist/esm/index-fbc8b107.js +0 -206
- package/dist/esm/index-fbc8b107.js.map +0 -1
- package/dist/esm/input-02bd8eb3.js +0 -55
- package/dist/esm/input-02bd8eb3.js.map +0 -1
- package/dist/esm/interactive-e8d31387.js +0 -136
- package/dist/esm/interactive-e8d31387.js.map +0 -1
- package/dist/esm/it-cfb8d65f.js +0 -66
- package/dist/esm/it-cfb8d65f.js.map +0 -1
- package/dist/esm/it-ch-fe02200b.js +0 -66
- package/dist/esm/it-ch-fe02200b.js.map +0 -1
- package/dist/esm/ja-7ac1571c.js +0 -72
- package/dist/esm/ja-7ac1571c.js.map +0 -1
- package/dist/esm/key-d37c9ccd.js +0 -13
- package/dist/esm/key-d37c9ccd.js.map +0 -1
- package/dist/esm/ko-e7fa896b.js +0 -72
- package/dist/esm/ko-e7fa896b.js.map +0 -1
- package/dist/esm/label-d78bc1c5.js +0 -176
- package/dist/esm/label-d78bc1c5.js.map +0 -1
- package/dist/esm/loadable-6efd18ae.js +0 -86
- package/dist/esm/loadable-6efd18ae.js.map +0 -1
- package/dist/esm/locale-915d3ead.js +0 -563
- package/dist/esm/locale-915d3ead.js.map +0 -1
- package/dist/esm/lt-70210199.js +0 -97
- package/dist/esm/lt-70210199.js.map +0 -1
- package/dist/esm/lv-7fac3a9c.js +0 -66
- package/dist/esm/lv-7fac3a9c.js.map +0 -1
- package/dist/esm/math-dc1e1050.js +0 -51
- package/dist/esm/math-dc1e1050.js.map +0 -1
- package/dist/esm/mk-999a790d.js +0 -66
- package/dist/esm/mk-999a790d.js.map +0 -1
- package/dist/esm/nb-13bbc40a.js +0 -67
- package/dist/esm/nb-13bbc40a.js.map +0 -1
- package/dist/esm/nl-155b2685.js +0 -67
- package/dist/esm/nl-155b2685.js.map +0 -1
- package/dist/esm/observers-ce855b56.js +0 -48
- package/dist/esm/observers-ce855b56.js.map +0 -1
- package/dist/esm/openCloseComponent-4f6d4f1d.js +0 -87
- package/dist/esm/openCloseComponent-4f6d4f1d.js.map +0 -1
- package/dist/esm/pl-777e17a0.js +0 -114
- package/dist/esm/pl-777e17a0.js.map +0 -1
- package/dist/esm/pt-9143dd79.js +0 -67
- package/dist/esm/pt-9143dd79.js.map +0 -1
- package/dist/esm/pt-br-70e00240.js +0 -65
- package/dist/esm/pt-br-70e00240.js.map +0 -1
- package/dist/esm/resources-026f231d.js +0 -25
- package/dist/esm/resources-026f231d.js.map +0 -1
- package/dist/esm/resources-08a45150.js +0 -23
- package/dist/esm/resources-08a45150.js.map +0 -1
- package/dist/esm/resources-56eb74f2.js +0 -17
- package/dist/esm/resources-56eb74f2.js.map +0 -1
- package/dist/esm/resources-5ec4c35a.js +0 -21
- package/dist/esm/resources-5ec4c35a.js.map +0 -1
- package/dist/esm/resources-71df3ab9.js +0 -19
- package/dist/esm/resources-71df3ab9.js.map +0 -1
- package/dist/esm/resources-7df0eb13.js +0 -45
- package/dist/esm/resources-7df0eb13.js.map +0 -1
- package/dist/esm/resources-b583cc49.js +0 -387
- package/dist/esm/resources-b583cc49.js.map +0 -1
- package/dist/esm/ro-584ecb9f.js +0 -66
- package/dist/esm/ro-584ecb9f.js.map +0 -1
- package/dist/esm/ru-d07c8a38.js +0 -126
- package/dist/esm/ru-d07c8a38.js.map +0 -1
- package/dist/esm/sk-e774f12a.js +0 -148
- package/dist/esm/sk-e774f12a.js.map +0 -1
- package/dist/esm/sl-b49588ac.js +0 -168
- package/dist/esm/sl-b49588ac.js.map +0 -1
- package/dist/esm/sortableComponent-a2175b62.js +0 -2735
- package/dist/esm/sortableComponent-a2175b62.js.map +0 -1
- package/dist/esm/sr-d3c7bae6.js +0 -101
- package/dist/esm/sr-d3c7bae6.js.map +0 -1
- package/dist/esm/sv-0dd0080a.js +0 -71
- package/dist/esm/sv-0dd0080a.js.map +0 -1
- package/dist/esm/t9n-5dce2526.js +0 -92
- package/dist/esm/t9n-5dce2526.js.map +0 -1
- package/dist/esm/th-f5b6b873.js +0 -65
- package/dist/esm/th-f5b6b873.js.map +0 -1
- package/dist/esm/throttle-b5ce229a.js +0 -75
- package/dist/esm/throttle-b5ce229a.js.map +0 -1
- package/dist/esm/tr-2ff63440.js +0 -66
- package/dist/esm/tr-2ff63440.js.map +0 -1
- package/dist/esm/uk-59894c98.js +0 -104
- package/dist/esm/uk-59894c98.js.map +0 -1
- package/dist/esm/utils-812420f7.js +0 -200
- package/dist/esm/utils-812420f7.js.map +0 -1
- package/dist/esm/utils-f47e6695.js +0 -289
- package/dist/esm/utils-f47e6695.js.map +0 -1
- package/dist/esm/vi-362f5cc0.js +0 -70
- package/dist/esm/vi-362f5cc0.js.map +0 -1
- package/dist/esm/zh-cn-9e0655d0.js +0 -94
- package/dist/esm/zh-cn-9e0655d0.js.map +0 -1
- package/dist/esm/zh-hk-a786161e.js +0 -71
- package/dist/esm/zh-hk-a786161e.js.map +0 -1
- package/dist/esm/zh-tw-27780aa2.js +0 -92
- package/dist/esm/zh-tw-27780aa2.js.map +0 -1
- /package/dist/calcite/{p-d9c4a211.entry.js.map → p-035c5daa.entry.js.map} +0 -0
- /package/dist/calcite/{p-71888bc4.js.map → p-0625872c.js.map} +0 -0
- /package/dist/calcite/{p-b4ca7ee2.js.map → p-084add8e.js.map} +0 -0
- /package/dist/calcite/{p-72b0894d.js.map → p-0c9f0b66.js.map} +0 -0
- /package/dist/calcite/{p-c7cc1136.js.map → p-10b76a2b.js.map} +0 -0
- /package/dist/calcite/{p-11c57855.js.map → p-120a39ca.js.map} +0 -0
- /package/dist/calcite/{p-15157d54.entry.js.map → p-12eb1f3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b7a5f69.entry.js.map → p-139e85d4.entry.js.map} +0 -0
- /package/dist/calcite/{p-9116a649.js.map → p-18359ae7.js.map} +0 -0
- /package/dist/calcite/{p-ce39f1bc.entry.js.map → p-184d4d53.entry.js.map} +0 -0
- /package/dist/calcite/{p-d13cb9be.entry.js.map → p-1a280990.entry.js.map} +0 -0
- /package/dist/calcite/{p-0963c31a.entry.js.map → p-1ad245bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-dfb80eaa.entry.js.map → p-1bd1e6ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-d647e8a4.entry.js.map → p-1cd75980.entry.js.map} +0 -0
- /package/dist/calcite/{p-1e8057f4.js.map → p-1df035e4.js.map} +0 -0
- /package/dist/calcite/{p-cfdb4625.js.map → p-224935be.js.map} +0 -0
- /package/dist/calcite/{p-b5032d1b.js.map → p-240b0637.js.map} +0 -0
- /package/dist/calcite/{p-100fdb54.entry.js.map → p-24764169.entry.js.map} +0 -0
- /package/dist/calcite/{p-fb851e83.entry.js.map → p-24ff5e2e.entry.js.map} +0 -0
- /package/dist/calcite/{p-a3ae9ed0.entry.js.map → p-25b93e8a.entry.js.map} +0 -0
- /package/dist/calcite/{p-fd1e0f21.entry.js.map → p-26b601d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4e70af2.entry.js.map → p-26bbbef5.entry.js.map} +0 -0
- /package/dist/calcite/{p-7327524e.js.map → p-27d87a26.js.map} +0 -0
- /package/dist/calcite/{p-85171f93.entry.js.map → p-280bd05c.entry.js.map} +0 -0
- /package/dist/calcite/{p-1a339ac7.entry.js.map → p-28e04e26.entry.js.map} +0 -0
- /package/dist/calcite/{p-33fe032b.entry.js.map → p-29caad14.entry.js.map} +0 -0
- /package/dist/calcite/{p-20a94bb8.js.map → p-2a711503.js.map} +0 -0
- /package/dist/calcite/{p-ec86459d.js.map → p-2bef44f9.js.map} +0 -0
- /package/dist/calcite/{p-e721ec55.js.map → p-2cf51e6d.js.map} +0 -0
- /package/dist/calcite/{p-f0d2d25d.js.map → p-2dfd3047.js.map} +0 -0
- /package/dist/calcite/{p-9bd35b63.js.map → p-2e3c48c4.js.map} +0 -0
- /package/dist/calcite/{p-c4694f0f.entry.js.map → p-31793816.entry.js.map} +0 -0
- /package/dist/calcite/{p-fe81feea.js.map → p-339f4a81.js.map} +0 -0
- /package/dist/calcite/{p-f0a6e04d.entry.js.map → p-371c0aa9.entry.js.map} +0 -0
- /package/dist/calcite/{p-4f8be795.js.map → p-38900907.js.map} +0 -0
- /package/dist/calcite/{p-5808ef89.entry.js.map → p-3e5c5492.entry.js.map} +0 -0
- /package/dist/calcite/{p-b08b4fda.entry.js.map → p-3f517577.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae2ea6e7.js.map → p-4291e86c.js.map} +0 -0
- /package/dist/calcite/{p-9a469271.js.map → p-42c60e95.js.map} +0 -0
- /package/dist/calcite/{p-87ffed8b.js.map → p-437f681a.js.map} +0 -0
- /package/dist/calcite/{p-a3302d6f.entry.js.map → p-444be2f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-1993b8f7.js.map → p-4645e371.js.map} +0 -0
- /package/dist/calcite/{p-071835ca.js.map → p-46fe3554.js.map} +0 -0
- /package/dist/calcite/{p-207ad3c6.js.map → p-47968591.js.map} +0 -0
- /package/dist/calcite/{p-b42bf710.entry.js.map → p-47ca1d8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-533e284e.js.map → p-49c579e5.js.map} +0 -0
- /package/dist/calcite/{p-e9237f6d.entry.js.map → p-4c369960.entry.js.map} +0 -0
- /package/dist/calcite/{p-42b76c6c.entry.js.map → p-4c508da2.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f1e4406.js.map → p-4f02bed9.js.map} +0 -0
- /package/dist/calcite/{p-4d9ad7c8.entry.js.map → p-4f8c75d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-ff0b4f6d.entry.js.map → p-50251139.entry.js.map} +0 -0
- /package/dist/calcite/{p-daf97199.entry.js.map → p-51275203.entry.js.map} +0 -0
- /package/dist/calcite/{p-5901d805.entry.js.map → p-5186eed6.entry.js.map} +0 -0
- /package/dist/calcite/{p-c126a1bf.js.map → p-59521fdf.js.map} +0 -0
- /package/dist/calcite/{p-ce98cbec.js.map → p-5e22872e.js.map} +0 -0
- /package/dist/calcite/{p-12bbd9d9.entry.js.map → p-5e43ab83.entry.js.map} +0 -0
- /package/dist/calcite/{p-8a06d9cf.entry.js.map → p-5e92e1ad.entry.js.map} +0 -0
- /package/dist/calcite/{p-f970e2e2.js.map → p-6079fdc2.js.map} +0 -0
- /package/dist/calcite/{p-e4893df9.js.map → p-622cc688.js.map} +0 -0
- /package/dist/calcite/{p-de407ba0.js.map → p-628662c2.js.map} +0 -0
- /package/dist/calcite/{p-00407964.entry.js.map → p-641e9058.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4276aad.js.map → p-669bc42a.js.map} +0 -0
- /package/dist/calcite/{p-d4e56623.entry.js.map → p-686f0c7c.entry.js.map} +0 -0
- /package/dist/calcite/{p-16d74968.js.map → p-6b06781e.js.map} +0 -0
- /package/dist/calcite/{p-9abe4b01.entry.js.map → p-6d014b44.entry.js.map} +0 -0
- /package/dist/calcite/{p-2fa6cd7c.entry.js.map → p-6dbace39.entry.js.map} +0 -0
- /package/dist/calcite/{p-4b2cb8b0.js.map → p-6f77b6f1.js.map} +0 -0
- /package/dist/calcite/{p-46bb28b4.js.map → p-7071a823.js.map} +0 -0
- /package/dist/calcite/{p-8f0b5cad.js.map → p-742e73a7.js.map} +0 -0
- /package/dist/calcite/{p-b0d445b4.js.map → p-74c69a65.js.map} +0 -0
- /package/dist/calcite/{p-4af08be4.js.map → p-76c93eaf.js.map} +0 -0
- /package/dist/calcite/{p-86bbea34.js.map → p-77547406.js.map} +0 -0
- /package/dist/calcite/{p-ddf536f0.js.map → p-78aae094.js.map} +0 -0
- /package/dist/calcite/{p-5b33e319.js.map → p-7f347a1b.js.map} +0 -0
- /package/dist/calcite/{p-f28fb23e.entry.js.map → p-81f6135e.entry.js.map} +0 -0
- /package/dist/calcite/{p-c7425f90.js.map → p-829b93e3.js.map} +0 -0
- /package/dist/calcite/{p-8ae9baad.entry.js.map → p-84ecb43d.entry.js.map} +0 -0
- /package/dist/calcite/{p-57637e27.js.map → p-8624b17c.js.map} +0 -0
- /package/dist/calcite/{p-785098ad.js.map → p-873f857b.js.map} +0 -0
- /package/dist/calcite/{p-de321a22.js.map → p-8786d071.js.map} +0 -0
- /package/dist/calcite/{p-ff46dff5.js.map → p-8893aba2.js.map} +0 -0
- /package/dist/calcite/{p-07a0945c.entry.js.map → p-88e135c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-63cb56c4.js.map → p-8c52a1c8.js.map} +0 -0
- /package/dist/calcite/{p-9d99b6eb.entry.js.map → p-8c990585.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4ff273e.js.map → p-8e00e760.js.map} +0 -0
- /package/dist/calcite/{p-d111a16f.js.map → p-8fa97612.js.map} +0 -0
- /package/dist/calcite/{p-847d437c.entry.js.map → p-95d85b7f.entry.js.map} +0 -0
- /package/dist/calcite/{p-51b4d321.entry.js.map → p-9717bac8.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c627e7e.js.map → p-996459ff.js.map} +0 -0
- /package/dist/calcite/{p-27e72ce9.entry.js.map → p-9966e031.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1867447.js.map → p-9ae388ae.js.map} +0 -0
- /package/dist/calcite/{p-1046fd82.js.map → p-9e840fe0.js.map} +0 -0
- /package/dist/calcite/{p-0d86f41e.js.map → p-a017bb90.js.map} +0 -0
- /package/dist/calcite/{p-65b4c4df.js.map → p-a01a6712.js.map} +0 -0
- /package/dist/calcite/{p-11d04aed.js.map → p-a578d140.js.map} +0 -0
- /package/dist/calcite/{p-6f8dcde6.js.map → p-a729c4f3.js.map} +0 -0
- /package/dist/calcite/{p-9581f2d9.entry.js.map → p-a8923d3c.entry.js.map} +0 -0
- /package/dist/calcite/{p-7a05b03e.js.map → p-ae62a83c.js.map} +0 -0
- /package/dist/calcite/{p-27c38ed3.js.map → p-b000d861.js.map} +0 -0
- /package/dist/calcite/{p-720b3d43.js.map → p-b09c39cd.js.map} +0 -0
- /package/dist/calcite/{p-21080b73.entry.js.map → p-b122cc2d.entry.js.map} +0 -0
- /package/dist/calcite/{p-63564499.js.map → p-b204681b.js.map} +0 -0
- /package/dist/calcite/{p-a45b7197.js.map → p-b2567815.js.map} +0 -0
- /package/dist/calcite/{p-dca0038c.entry.js.map → p-b2d95cee.entry.js.map} +0 -0
- /package/dist/calcite/{p-55541222.js.map → p-b349c937.js.map} +0 -0
- /package/dist/calcite/{p-65955577.entry.js.map → p-b49ccbb3.entry.js.map} +0 -0
- /package/dist/calcite/{p-d1ee5494.js.map → p-b7dacf13.js.map} +0 -0
- /package/dist/calcite/{p-dc7f4af7.js.map → p-bd6cd55c.js.map} +0 -0
- /package/dist/calcite/{p-572235bd.entry.js.map → p-beacae6b.entry.js.map} +0 -0
- /package/dist/calcite/{p-40f8d312.js.map → p-bf94a9da.js.map} +0 -0
- /package/dist/calcite/{p-815b8ec5.js.map → p-c0a21175.js.map} +0 -0
- /package/dist/calcite/{p-b3d178cd.js.map → p-c0c6ba81.js.map} +0 -0
- /package/dist/calcite/{p-aeb62f23.entry.js.map → p-c11bfb4b.entry.js.map} +0 -0
- /package/dist/calcite/{p-f47c173d.js.map → p-c163f727.js.map} +0 -0
- /package/dist/calcite/{p-ce0c066a.entry.js.map → p-c3d682ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-d59c98cf.js.map → p-c444d512.js.map} +0 -0
- /package/dist/calcite/{p-f49b701a.js.map → p-c4d87776.js.map} +0 -0
- /package/dist/calcite/{p-a75754ec.js.map → p-c6f03eb2.js.map} +0 -0
- /package/dist/calcite/{p-2ea5c842.js.map → p-c770f80e.js.map} +0 -0
- /package/dist/calcite/{p-2655f2e6.js.map → p-c848c82e.js.map} +0 -0
- /package/dist/calcite/{p-27a57492.entry.js.map → p-c88443d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-6ea4f6de.entry.js.map → p-cae107a5.entry.js.map} +0 -0
- /package/dist/calcite/{p-9dad94e6.js.map → p-cde608e0.js.map} +0 -0
- /package/dist/calcite/{p-870f7f2a.js.map → p-cf44a1d7.js.map} +0 -0
- /package/dist/calcite/{p-a58dc387.js.map → p-cf8695c8.js.map} +0 -0
- /package/dist/calcite/{p-52f4c789.entry.js.map → p-d00db92c.entry.js.map} +0 -0
- /package/dist/calcite/{p-61277079.entry.js.map → p-d6caca6b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8f2928f0.entry.js.map → p-dab6d405.entry.js.map} +0 -0
- /package/dist/calcite/{p-04354662.js.map → p-e27243c0.js.map} +0 -0
- /package/dist/calcite/{p-2873883e.js.map → p-e3062192.js.map} +0 -0
- /package/dist/calcite/{p-3e090648.js.map → p-e37ad8c6.js.map} +0 -0
- /package/dist/calcite/{p-755ce9d3.js.map → p-e4be124e.js.map} +0 -0
- /package/dist/calcite/{p-36012902.js.map → p-e6309157.js.map} +0 -0
- /package/dist/calcite/{p-b2ad92bd.js.map → p-e7173f47.js.map} +0 -0
- /package/dist/calcite/{p-29221ebd.entry.js.map → p-e7771e7d.entry.js.map} +0 -0
- /package/dist/calcite/{p-55668338.js.map → p-e778acdc.js.map} +0 -0
- /package/dist/calcite/{p-e0ae45c1.js.map → p-e98961bb.js.map} +0 -0
- /package/dist/calcite/{p-ccfbbd1e.entry.js.map → p-ef71966c.entry.js.map} +0 -0
- /package/dist/calcite/{p-30517253.entry.js.map → p-f0954ae0.entry.js.map} +0 -0
- /package/dist/calcite/{p-48c4d1e8.js.map → p-f37fd38f.js.map} +0 -0
- /package/dist/calcite/{p-3f7c0623.js.map → p-f3e00de9.js.map} +0 -0
- /package/dist/calcite/{p-f5ea8b7c.js.map → p-f496ec2b.js.map} +0 -0
- /package/dist/calcite/{p-03981671.entry.js.map → p-f4e994e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bab1ad2.entry.js.map → p-f738b6f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-34457faa.js.map → p-fbe97994.js.map} +0 -0
- /package/dist/calcite/{p-cc810944.js.map → p-fcd20445.js.map} +0 -0
- /package/dist/calcite/{p-f1752dc7.entry.js.map → p-fd042681.entry.js.map} +0 -0
- /package/dist/calcite/{p-bea42270.entry.js.map → p-fd17f371.entry.js.map} +0 -0
- /package/dist/calcite/{p-61191d64.js.map → p-fe1ca82b.js.map} +0 -0
- /package/dist/calcite/{p-90c6fac8.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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { C as ensureId, a as getElementDir, f as focusFirstTabbable } from './dom.js';
|
|
@@ -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, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -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, forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -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, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -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 { g as guid } from './guid.js';
|
|
@@ -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 } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive.js';
|
|
@@ -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 } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive.js';
|
|
@@ -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 { a as Stack, d as defineCustomElement$1 } from './stack.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 { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive.js';
|
|
@@ -21,7 +21,7 @@ const CSS = {
|
|
|
21
21
|
visuallyHidden: "visually-hidden",
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
const stepperItemCss = ":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal]:not([multiple-view-mode])) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])),:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])) .stepper-item-heading,:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
|
|
24
|
+
const stepperItemCss = ":host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header,:host([layout=horizontal-single][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
|
|
25
25
|
|
|
26
26
|
const StepperItem = /*@__PURE__*/ proxyCustomElement(class StepperItem extends HTMLElement {
|
|
27
27
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-stepper-item.js","mappings":";;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,SAAS,E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SACjC;aAAM,IAAI,IAAI,CAAC,QAAQ,EAAE;YACxB,IAAI,GAAG,cAAc,CAAC;SACvB;QAED,QACE,oBAAc,KAAK,EAAC,mBAAmB,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,GAAG,GAAG,EAC3F;KACH;IAEO,qBAAqB;QAC3B,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,gBAAgB,CAAC;KAC/E;IAEO,mBAAmB;QACzB,IAAI,CAAC,kCAAkC,CAAC,IAAI,CAAC;YAC3C,QAAQ,EAAE,IAAI,CAAC,YAAY;SAC5B,CAAC,CAAC;KACJ;IAqCO,eAAe;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,CAAC,OAAO,CACvF,IAAI,CAAC,EAAE,CACR,CAAC;KACH;IAED,aAAa;QACX,qBAAqB,CAAC,mBAAmB,GAAG;YAC1C,MAAM,EAAE,IAAI,CAAC,eAAe;YAC5B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,WAAW,EAAE,KAAK;SACnB,CAAC;QACF,OAAO,qBAAqB,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC;KAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stepper-item/resources.ts","src/components/stepper-item/stepper-item.scss?tag=calcite-stepper-item&encapsulation=shadow","src/components/stepper-item/stepper-item.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n stepperItemContent: \"stepper-item-content\",\n stepperItemDescription: \"stepper-item-description\",\n stepperItemHeader: \"stepper-item-header\",\n stepperItemHeading: \"stepper-item-heading\",\n stepperItemHeaderText: \"stepper-item-header-text\",\n stepperItemNumber: \"stepper-item-number\",\n visuallyHidden: \"visually-hidden\",\n};\n",":host([scale=\"s\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n @apply text-n1h;\n margin-inline-end: theme(\"margin.1\");\n .stepper-item-description {\n @apply text-n2h;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.4\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.5\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n @apply text-0h;\n margin-inline-end: theme(\"margin.2\");\n .stepper-item-description {\n @apply text-n1h;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.5\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.6\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n @apply text-1h;\n margin-inline-end: theme(\"margin.3\");\n .stepper-item-description {\n @apply text-0h;\n }\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n flex-col\n self-start;\n margin-block-end: var(--calcite-stepper-item-spacing-unit-s);\n}\n\n:host .container {\n @apply text-color-3\n border-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n flex-col\n border-0\n border-t-2\n border-solid\n no-underline\n outline-none\n duration-150\n ease-in-out;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-outset;\n}\n\n// .stepper-item-header / content\n:host .stepper-item-header {\n @apply flex cursor-pointer items-start;\n}\n\n:host .stepper-item-content,\n:host .stepper-item-header {\n @apply duration-150 ease-in-out;\n padding-block: var(--calcite-stepper-item-spacing-unit-l);\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n}\n\n:host .stepper-item-header * {\n @apply inline-flex\n items-center\n duration-150\n ease-in-out;\n}\n\n:host .stepper-item-content {\n @apply text-n2-wrap\n hidden\n w-full\n flex-col;\n}\n\n// stepper item icon\n:host .stepper-item-icon {\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n @apply text-color-3\n opacity-disabled\n mt-px\n inline-flex\n h-3\n flex-shrink-0\n self-start\n duration-150\n ease-in-out;\n}\n\n// stepper item title\n:host .stepper-item-header-text {\n @apply flex-col;\n text-align: initial;\n margin-inline-end: auto;\n}\n\n:host .stepper-item-heading,\n:host .stepper-item-description {\n @apply flex w-full;\n}\n:host .stepper-item-heading {\n @apply text-color-2 mb-1 font-medium;\n}\n:host .stepper-item-description {\n @apply text-color-3;\n}\n\n:host .stepper-item-number {\n @apply text-color-3\n font-medium\n duration-150\n ease-in-out;\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n}\n\n@include disabled();\n\n:host([complete]) .container {\n // todo dark mode\n border-color: rgba($h-bb-060, 0.5);\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n:host([error]) .container {\n @apply border-t-color-danger;\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-brand;\n\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n}\n\n:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-danger-hover;\n}\n\n:host([selected]) .container {\n border-block-start-color: theme(\"backgroundColor.brand\");\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n & .stepper-item-number {\n color: theme(\"backgroundColor.brand\");\n }\n\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n }\n}\n\n:host([selected]) .container {\n & .stepper-item-content {\n @apply flex;\n }\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply border-color-3\n mx-0\n mt-0\n flex-auto\n border-t-0\n border-solid\n py-0;\n border-inline-start-width: theme(\"borderWidth.2\");\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-l);\n\n & .stepper-item-icon {\n @apply order-3 mt-px mb-0;\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-s);\n margin-inline-start: theme(\"margin.auto\");\n }\n & .stepper-item-header {\n padding-inline-end: theme(\"padding.0\");\n }\n & .stepper-item-content {\n @apply p-0;\n }\n}\n\n:host([layout=\"vertical\"][complete]) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][complete]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-brand;\n}\n:host([layout=\"vertical\"][error]) .container {\n @apply border-color-danger;\n}\n:host([layout=\"vertical\"][selected]) .container {\n @apply border-color-brand;\n\n & .stepper-item-content:not(:empty) {\n margin-block-end: var(--calcite-stepper-item-spacing-unit-l);\n }\n}\n:host([layout=\"vertical\"]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"]:focus:not([disabled]):not([selected])) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][error]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-danger-hover;\n}\n\n:host([layout=\"horizontal\"]) {\n display: contents;\n\n .container {\n display: contents;\n }\n\n .stepper-item-header {\n @apply border-color-3\n border-0\n border-solid\n border-t-2\n focus-base;\n grid-row: items;\n\n &:focus {\n @apply focus-outset;\n }\n }\n\n .stepper-item-content {\n @apply cursor-auto duration-150 ease-in-out;\n padding-block: 0;\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n }\n}\n\n:host([layout=\"horizontal\"][disabled]) {\n .stepper-item-header {\n @extend %disabled-host-only;\n }\n}\n\n:host([layout=\"horizontal\"][selected]) {\n .stepper-item-content {\n grid-area: 2 / 1 / 2 / -1;\n }\n}\n\n:host([layout=\"horizontal\"][complete]) .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"horizontal\"][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=\"horizontal\"][complete]:focus:not([disabled]):not([selected])) .stepper-item-header {\n @apply border-color-brand;\n}\n:host([layout=\"horizontal\"][error]) .stepper-item-header {\n @apply border-color-danger;\n}\n:host([layout=\"horizontal\"][selected][multiple-view-mode]) .stepper-item-header {\n @apply border-color-brand;\n}\n:host([layout=\"horizontal\"]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=\"horizontal\"]:focus:not([disabled]):not([selected])) .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"horizontal\"][error]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=\"horizontal\"][error]:focus:not([disabled]):not([selected])) .stepper-item-header {\n @apply border-color-danger-hover;\n}\n\n@media (forced-colors: active) {\n :host .container {\n outline-width: 0;\n outline-offset: 0;\n }\n\n :host(:focus),\n :host(:focus-visible) {\n outline-color: canvasText;\n }\n\n :host([selected]) .container {\n border-block-start-color: highlight;\n & .stepper-item-number {\n color: highlight;\n }\n & .stepper-item-icon {\n color: highlight;\n }\n }\n\n :host([layout=\"vertical\"][selected]) .container {\n border-color: highlight;\n }\n}\n\n:host([layout=\"horizontal\"]:not([multiple-view-mode])) .stepper-item-header {\n @apply border-none \n me-0;\n inline-size: 100%;\n padding-inline: calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem);\n}\n\n:host([layout=\"horizontal\"][error]:not([multiple-view-mode])) .container {\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host([layout=\"horizontal\"][error][selected]:not([multiple-view-mode])),\n:host([layout=\"horizontal\"][complete][selected]:not([multiple-view-mode])) .container {\n @apply text-color-3;\n & .stepper-item-heading {\n @apply text-color-2;\n }\n}\n\n:host([layout=\"horizontal\"][complete][selected]:not([multiple-view-mode])) .container {\n & .stepper-item-icon {\n @apply opacity-disabled;\n }\n & .stepper-item-number {\n @apply text-color-3;\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\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} from \"@stencil/core\";\nimport { Layout, Scale } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n StepperItemChangeEventDetail,\n StepperItemEventDetail,\n StepperItemKeyEventDetail,\n} from \"../stepper/interfaces\";\nimport {\n numberStringFormatter,\n LocalizedComponent,\n disconnectLocalized,\n connectLocalized,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n setUpLoadableComponent,\n setComponentLoaded,\n LoadableComponent,\n componentFocusable,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperItemMessages } from \"./assets/stepper-item/t9n\";\n\n/**\n * @slot - A slot for adding custom content.\n */\n@Component({\n tag: \"calcite-stepper-item\",\n styleUrl: \"stepper-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class StepperItem\n implements InteractiveComponent, LocalizedComponent, LoadableComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n @Watch(\"selected\")\n selectedHandler(): void {\n if (this.selected) {\n this.emitRequestedItem();\n }\n }\n\n /** When `true`, the step has been completed. */\n @Prop({ reflect: true }) complete = false;\n\n /** When `true`, the component contains an error that requires resolution from the user. */\n @Prop({ reflect: true }) error = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The component header text. */\n @Prop() heading: string;\n\n /** A description for the component. Displays below the header text. */\n @Prop() description: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * @internal\n */\n @Prop() numberingSystem: NumberingSystem;\n\n // watch for removal of disabled to register step\n @Watch(\"disabled\")\n disabledWatcher(): void {\n this.registerStepperItem();\n }\n\n /**\n * When `true`, displays a status icon in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() icon = false;\n\n /**\n * Specifies the layout of the `calcite-stepper-item` inherited from parent `calcite-stepper`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop({ reflect: true }) layout: Extract<\"horizontal\" | \"vertical\", Layout>;\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: StepperItemMessages;\n\n /**\n * When `true`, displays the step number in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() numbered = false;\n\n /**\n * Specifies the size of the component inherited from the `calcite-stepper`, defaults to `m`.\n *\n * @internal\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Specifies if the user is viewing one `stepper-item` at a time.\n * Helps in determining if header region is tabbable.\n * @internal\n */\n @Prop({ reflect: true }) multipleViewMode = false;\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<StepperItemMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Internal State/Props\n //\n //--------------------------------------------------------------------------\n\n @State() defaultMessages: StepperItemMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleWatcher(locale: string): void {\n numberStringFormatter.numberFormatOptions = {\n locale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n updateMessages(this, this.effectiveLocale);\n }\n\n headerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemKeyEvent: EventEmitter<StepperItemKeyEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemSelect: EventEmitter<StepperItemEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalUserRequestedStepperItemSelect: EventEmitter<StepperItemChangeEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemRegister: EventEmitter<StepperItemEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.parentStepperEl = this.el.parentElement as HTMLCalciteStepperElement;\n this.itemPosition = this.getItemPosition();\n this.registerStepperItem();\n\n if (this.selected) {\n this.emitRequestedItem();\n }\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n render(): VNode {\n return (\n <Host\n aria-current={this.selected ? \"step\" : \"false\"}\n onClick={this.handleItemClick}\n onKeyDown={this.keyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n {this.complete && (\n <span aria-live=\"polite\" class={CSS.visuallyHidden}>\n {this.messages.complete}\n </span>\n )}\n <div\n class={CSS.stepperItemHeader}\n tabIndex={\n /* additional tab index logic needed because of display: contents */\n this.layout === \"horizontal\" && !this.disabled && this.multipleViewMode ? 0 : null\n }\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.headerEl = el)}\n >\n {this.icon ? this.renderIcon() : null}\n {this.numbered ? (\n <div class={CSS.stepperItemNumber}>{this.renderNumbers()}.</div>\n ) : null}\n <div class={CSS.stepperItemHeaderText}>\n <span class={CSS.stepperItemHeading}>{this.heading}</span>\n <span class={CSS.stepperItemDescription}>{this.description}</span>\n </div>\n </div>\n <div class={CSS.stepperItemContent}>\n <slot />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent<StepperItemChangeEventDetail>): void {\n if (\n event.target === this.parentStepperEl ||\n event.composedPath().includes(this.parentStepperEl)\n ) {\n this.selectedPosition = event.detail.position;\n this.determineSelectedItem();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n (this.layout === \"vertical\" ? this.el : this.headerEl)?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperItemElement;\n\n /** position within parent */\n private itemPosition: number;\n\n /** the latest requested item position*/\n private selectedPosition: number;\n\n /** the parent stepper component */\n private parentStepperEl: HTMLCalciteStepperElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!this.disabled && event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitUserRequestedItem();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"ArrowLeft\":\n case \"ArrowRight\":\n case \"Home\":\n case \"End\":\n this.calciteInternalStepperItemKeyEvent.emit({ item: event });\n event.preventDefault();\n break;\n }\n }\n };\n\n private renderIcon(): VNode {\n let path = \"circle\";\n\n if (this.selected && (this.multipleViewMode || (!this.error && !this.complete))) {\n path = \"circleF\";\n } else if (this.error) {\n path = \"exclamationMarkCircleF\";\n } else if (this.complete) {\n path = \"checkCircleF\";\n }\n\n return (\n <calcite-icon class=\"stepper-item-icon\" flipRtl={this.iconFlipRtl} icon={path} scale=\"s\" />\n );\n }\n\n private determineSelectedItem(): void {\n this.selected = !this.disabled && this.itemPosition === this.selectedPosition;\n }\n\n private registerStepperItem(): void {\n this.calciteInternalStepperItemRegister.emit({\n position: this.itemPosition,\n });\n }\n\n private handleItemClick = (event: MouseEvent): void => {\n if (\n this.disabled ||\n (this.layout === \"horizontal\" &&\n event\n .composedPath()\n .some((el) => (el as HTMLElement).classList?.contains(\"stepper-item-content\")))\n ) {\n return;\n }\n\n this.emitUserRequestedItem();\n };\n\n private emitUserRequestedItem = (): void => {\n this.emitRequestedItem();\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalUserRequestedStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private emitRequestedItem = (): void => {\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private getItemPosition(): number {\n return Array.from(this.parentStepperEl?.querySelectorAll(\"calcite-stepper-item\")).indexOf(\n this.el,\n );\n }\n\n renderNumbers(): string {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n return numberStringFormatter.numberFormatter.format(this.itemPosition + 1);\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-stepper-item.js","mappings":";;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,sBAAsB;IAC1C,sBAAsB,EAAE,0BAA0B;IAClD,iBAAiB,EAAE,qBAAqB;IACxC,kBAAkB,EAAE,sBAAsB;IAC1C,qBAAqB,EAAE,0BAA0B;IACjD,iBAAiB,EAAE,qBAAqB;IACxC,cAAc,EAAE,iBAAiB;CAClC;;ACTD,MAAM,cAAc,GAAG,uyYAAuyY;;MC4DjzY,WAAW;;;;;;;;;;;;;;QAkSd,mBAAc,GAAG,CAAC,KAAoB;YAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,EAAE,EAAE;gBAC9C,QAAQ,KAAK,CAAC,GAAG;oBACf,KAAK,GAAG,CAAC;oBACT,KAAK,OAAO;wBACV,IAAI,CAAC,qBAAqB,EAAE,CAAC;wBAC7B,KAAK,CAAC,cAAc,EAAE,CAAC;wBACvB,MAAM;oBACR,KAAK,SAAS,CAAC;oBACf,KAAK,WAAW,CAAC;oBACjB,KAAK,WAAW,CAAC;oBACjB,KAAK,YAAY,CAAC;oBAClB,KAAK,MAAM,CAAC;oBACZ,KAAK,KAAK;wBACR,IAAI,CAAC,kCAAkC,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;wBAC9D,KAAK,CAAC,cAAc,EAAE,CAAC;wBACvB,MAAM;iBACT;aACF;SACF,CAAC;QA4BM,oBAAe,GAAG,CAAC,KAAiB;YAC1C,IACE,IAAI,CAAC,QAAQ;iBACZ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;;;;;;;","names":[],"sources":["src/components/stepper-item/resources.ts","src/components/stepper-item/stepper-item.scss?tag=calcite-stepper-item&encapsulation=shadow","src/components/stepper-item/stepper-item.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n stepperItemContent: \"stepper-item-content\",\n stepperItemDescription: \"stepper-item-description\",\n stepperItemHeader: \"stepper-item-header\",\n stepperItemHeading: \"stepper-item-heading\",\n stepperItemHeaderText: \"stepper-item-header-text\",\n stepperItemNumber: \"stepper-item-number\",\n visuallyHidden: \"visually-hidden\",\n};\n",":host([scale=\"s\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n @apply text-n1h;\n margin-inline-end: theme(\"margin.1\");\n .stepper-item-description {\n @apply text-n2h;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.4\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.5\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n @apply text-0h;\n margin-inline-end: theme(\"margin.2\");\n .stepper-item-description {\n @apply text-n1h;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.5\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.6\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n @apply text-1h;\n margin-inline-end: theme(\"margin.3\");\n .stepper-item-description {\n @apply text-0h;\n }\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n flex-col\n self-start;\n margin-block-end: var(--calcite-stepper-item-spacing-unit-s);\n}\n\n:host .container {\n @apply text-color-3\n border-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n flex-col\n border-0\n border-t-2\n border-solid\n no-underline\n outline-none\n duration-150\n ease-in-out;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-outset;\n}\n\n// .stepper-item-header / content\n:host .stepper-item-header {\n @apply flex cursor-pointer items-start;\n}\n\n:host .stepper-item-content,\n:host .stepper-item-header {\n @apply duration-150 ease-in-out;\n padding-block: var(--calcite-stepper-item-spacing-unit-l);\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n}\n\n:host .stepper-item-header * {\n @apply inline-flex\n items-center\n duration-150\n ease-in-out;\n}\n\n:host .stepper-item-content {\n @apply text-n2-wrap\n hidden\n w-full\n flex-col;\n}\n\n// stepper item icon\n:host .stepper-item-icon {\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n @apply text-color-3\n opacity-disabled\n mt-px\n inline-flex\n h-3\n flex-shrink-0\n self-start\n duration-150\n ease-in-out;\n}\n\n// stepper item title\n:host .stepper-item-header-text {\n @apply flex-col;\n text-align: initial;\n margin-inline-end: auto;\n}\n\n:host .stepper-item-heading,\n:host .stepper-item-description {\n @apply flex w-full;\n}\n:host .stepper-item-heading {\n @apply text-color-2 mb-1 font-medium;\n}\n:host .stepper-item-description {\n @apply text-color-3;\n}\n\n:host .stepper-item-number {\n @apply text-color-3\n font-medium\n duration-150\n ease-in-out;\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n}\n\n@include disabled();\n\n:host([complete]) .container {\n // todo dark mode\n border-color: rgba($h-bb-060, 0.5);\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n:host([error]) .container {\n @apply border-t-color-danger;\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-brand;\n\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n}\n\n:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-danger-hover;\n}\n\n:host([selected]) .container {\n border-block-start-color: theme(\"backgroundColor.brand\");\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n & .stepper-item-number {\n color: theme(\"backgroundColor.brand\");\n }\n\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n }\n}\n\n:host([selected]) .container {\n & .stepper-item-content {\n @apply flex;\n }\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply border-color-3\n mx-0\n mt-0\n flex-auto\n border-t-0\n border-solid\n py-0;\n border-inline-start-width: theme(\"borderWidth.2\");\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-l);\n\n & .stepper-item-icon {\n @apply order-3 mt-px mb-0;\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-s);\n margin-inline-start: theme(\"margin.auto\");\n }\n & .stepper-item-header {\n padding-inline-end: theme(\"padding.0\");\n }\n & .stepper-item-content {\n @apply p-0;\n }\n}\n\n:host([layout=\"vertical\"][complete]) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][complete]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-brand;\n}\n:host([layout=\"vertical\"][error]) .container {\n @apply border-color-danger;\n}\n:host([layout=\"vertical\"][selected]) .container {\n @apply border-color-brand;\n\n & .stepper-item-content:not(:empty) {\n margin-block-end: var(--calcite-stepper-item-spacing-unit-l);\n }\n}\n:host([layout=\"vertical\"]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"]:focus:not([disabled]):not([selected])) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][error]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-danger-hover;\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n display: contents;\n\n .container {\n display: contents;\n }\n\n .stepper-item-header {\n @apply border-color-3\n border-0\n border-solid\n border-t-2\n focus-base;\n grid-row: items;\n\n &:focus {\n @apply focus-outset;\n }\n }\n\n .stepper-item-content {\n @apply cursor-auto duration-150 ease-in-out;\n padding-block: 0;\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n }\n}\n\n:host([layout=\"horizontal\"][disabled]),\n:host([layout=\"horizontal-single\"][disabled]) {\n .stepper-item-header {\n @extend %disabled-host-only;\n }\n}\n\n:host([layout=\"horizontal-single\"]) {\n .stepper-item-header {\n grid-area: 1 / 1 / 1 / -1;\n }\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n .stepper-item-content {\n grid-area: 2 / 1 / 2 / -1;\n }\n}\n\n:host([layout=\"horizontal\"][complete]),\n:host([layout=\"horizontal-single\"][complete]) {\n .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n }\n}\n:host([layout=\"horizontal\"][complete]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"][complete]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][complete]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][complete]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n @apply border-color-brand;\n }\n}\n:host([layout=\"horizontal\"][error]),\n:host([layout=\"horizontal-single\"][error]) {\n .stepper-item-header {\n @apply border-color-danger;\n }\n}\n:host([layout=\"horizontal\"][selected][multiple-view-mode]),\n:host([layout=\"horizontal-single\"][selected][multiple-view-mode]) {\n .stepper-item-header {\n @apply border-color-brand;\n }\n}\n:host([layout=\"horizontal\"]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n }\n}\n:host([layout=\"horizontal\"][error]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"][error]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][error]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][error]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n @apply border-color-danger-hover;\n }\n}\n\n@media (forced-colors: active) {\n :host .container {\n outline-width: 0;\n outline-offset: 0;\n }\n\n :host(:focus),\n :host(:focus-visible) {\n outline-color: canvasText;\n }\n\n :host([selected]) .container {\n border-block-start-color: highlight;\n & .stepper-item-number {\n color: highlight;\n }\n & .stepper-item-icon {\n color: highlight;\n }\n }\n\n :host([layout=\"vertical\"][selected]) .container {\n border-color: highlight;\n }\n}\n\n:host([layout=\"horizontal-single\"]) .stepper-item-header {\n @apply border-none box-border\n me-0;\n inline-size: 100%;\n padding-inline: calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem);\n}\n\n:host([layout=\"horizontal-single\"][error]) .container {\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host([layout=\"horizontal-single\"][error][selected]),\n:host([layout=\"horizontal-single\"][complete][selected]) .container {\n @apply text-color-3;\n & .stepper-item-heading {\n @apply text-color-2;\n }\n}\n\n:host([layout=\"horizontal-single\"][complete][selected]) .container {\n & .stepper-item-icon {\n @apply opacity-disabled;\n }\n & .stepper-item-number {\n @apply text-color-3;\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\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} from \"@stencil/core\";\nimport { Scale } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n StepperItemChangeEventDetail,\n StepperItemEventDetail,\n StepperItemKeyEventDetail,\n StepperLayout,\n} from \"../stepper/interfaces\";\nimport {\n numberStringFormatter,\n LocalizedComponent,\n disconnectLocalized,\n connectLocalized,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n setUpLoadableComponent,\n setComponentLoaded,\n LoadableComponent,\n componentFocusable,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperItemMessages } from \"./assets/stepper-item/t9n\";\n\n/**\n * @slot - A slot for adding custom content.\n */\n@Component({\n tag: \"calcite-stepper-item\",\n styleUrl: \"stepper-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class StepperItem\n implements InteractiveComponent, LocalizedComponent, LoadableComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n @Watch(\"selected\")\n selectedHandler(): void {\n if (this.selected) {\n this.emitRequestedItem();\n }\n }\n\n /** When `true`, the step has been completed. */\n @Prop({ reflect: true }) complete = false;\n\n /** When `true`, the component contains an error that requires resolution from the user. */\n @Prop({ reflect: true }) error = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The component header text. */\n @Prop() heading: string;\n\n /** A description for the component. Displays below the header text. */\n @Prop() description: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * @internal\n */\n @Prop() numberingSystem: NumberingSystem;\n\n // watch for removal of disabled to register step\n @Watch(\"disabled\")\n disabledWatcher(): void {\n this.registerStepperItem();\n }\n\n /**\n * When `true`, displays a status icon in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() icon = false;\n\n /**\n * Specifies the layout of the `calcite-stepper-item` inherited from parent `calcite-stepper`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop({ reflect: true }) layout: StepperLayout;\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: StepperItemMessages;\n\n /**\n * When `true`, displays the step number in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() numbered = false;\n\n /**\n * Specifies the size of the component inherited from the `calcite-stepper`, defaults to `m`.\n *\n * @internal\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Specifies if the user is viewing one `stepper-item` at a time.\n * Helps in determining if header region is tabbable.\n * @internal\n */\n @Prop({ reflect: true }) multipleViewMode = false;\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<StepperItemMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Internal State/Props\n //\n //--------------------------------------------------------------------------\n\n @State() defaultMessages: StepperItemMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleWatcher(locale: string): void {\n numberStringFormatter.numberFormatOptions = {\n locale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n updateMessages(this, this.effectiveLocale);\n }\n\n headerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemKeyEvent: EventEmitter<StepperItemKeyEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemSelect: EventEmitter<StepperItemEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalUserRequestedStepperItemSelect: EventEmitter<StepperItemChangeEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemRegister: EventEmitter<StepperItemEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.parentStepperEl = this.el.parentElement as HTMLCalciteStepperElement;\n this.itemPosition = this.getItemPosition();\n this.registerStepperItem();\n\n if (this.selected) {\n this.emitRequestedItem();\n }\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n render(): VNode {\n return (\n <Host\n aria-current={this.selected ? \"step\" : \"false\"}\n onClick={this.handleItemClick}\n onKeyDown={this.keyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n {this.complete && (\n <span aria-live=\"polite\" class={CSS.visuallyHidden}>\n {this.messages.complete}\n </span>\n )}\n <div\n class={CSS.stepperItemHeader}\n tabIndex={\n /* additional tab index logic needed because of display: contents */\n this.layout === \"horizontal\" && !this.disabled && this.multipleViewMode ? 0 : null\n }\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.headerEl = el)}\n >\n {this.icon ? this.renderIcon() : null}\n {this.numbered ? (\n <div class={CSS.stepperItemNumber}>{this.renderNumbers()}.</div>\n ) : null}\n <div class={CSS.stepperItemHeaderText}>\n <span class={CSS.stepperItemHeading}>{this.heading}</span>\n <span class={CSS.stepperItemDescription}>{this.description}</span>\n </div>\n </div>\n <div class={CSS.stepperItemContent}>\n <slot />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent<StepperItemChangeEventDetail>): void {\n if (\n event.target === this.parentStepperEl ||\n event.composedPath().includes(this.parentStepperEl)\n ) {\n this.selectedPosition = event.detail.position;\n this.determineSelectedItem();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n (this.layout === \"vertical\" ? this.el : this.headerEl)?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperItemElement;\n\n /** position within parent */\n private itemPosition: number;\n\n /** the latest requested item position*/\n private selectedPosition: number;\n\n /** the parent stepper component */\n private parentStepperEl: HTMLCalciteStepperElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!this.disabled && event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitUserRequestedItem();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"ArrowLeft\":\n case \"ArrowRight\":\n case \"Home\":\n case \"End\":\n this.calciteInternalStepperItemKeyEvent.emit({ item: event });\n event.preventDefault();\n break;\n }\n }\n };\n\n private renderIcon(): VNode {\n let path = \"circle\";\n\n if (this.selected && (this.multipleViewMode || (!this.error && !this.complete))) {\n path = \"circleF\";\n } else if (this.error) {\n path = \"exclamationMarkCircleF\";\n } else if (this.complete) {\n path = \"checkCircleF\";\n }\n\n return (\n <calcite-icon class=\"stepper-item-icon\" flipRtl={this.iconFlipRtl} icon={path} scale=\"s\" />\n );\n }\n\n private determineSelectedItem(): void {\n this.selected = !this.disabled && this.itemPosition === this.selectedPosition;\n }\n\n private registerStepperItem(): void {\n this.calciteInternalStepperItemRegister.emit({\n position: this.itemPosition,\n });\n }\n\n private handleItemClick = (event: MouseEvent): void => {\n if (\n this.disabled ||\n (this.layout === \"horizontal\" &&\n event\n .composedPath()\n .some((el) => (el as HTMLElement).classList?.contains(\"stepper-item-content\")))\n ) {\n return;\n }\n\n this.emitUserRequestedItem();\n };\n\n private emitUserRequestedItem = (): void => {\n this.emitRequestedItem();\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalUserRequestedStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private emitRequestedItem = (): void => {\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private getItemPosition(): number {\n return Array.from(this.parentStepperEl?.querySelectorAll(\"calcite-stepper-item\")).indexOf(\n this.el,\n );\n }\n\n renderNumbers(): string {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n return numberStringFormatter.numberFormatter.format(this.itemPosition + 1);\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 { 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,KAAG,CAAC,eAAe,GAAG,QAAQ;YAC/B,CAACA,KAAG,CAAC,YAAY,GAAG,KAAK;YACzB,CAACA,KAAG,CAAC,eAAe,GAAG,IAAI;SAC5B,EACD,KAAK,EAAC,MAAM,EACZ,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,GACL,CACE,CACP;;AC7CM,MAAM,cAAc,GAAG;IAC5B,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","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,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,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","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
|
|