@esri/calcite-components 2.5.0-next.1 → 2.5.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00811dc7.entry.js +7 -0
- package/dist/calcite/p-035c5daa.entry.js +7 -0
- package/dist/calcite/p-035c5daa.entry.js.map +1 -0
- package/dist/calcite/p-0625872c.js +7 -0
- package/dist/calcite/p-084add8e.js +7 -0
- package/dist/calcite/p-0c9f0b66.js +7 -0
- package/dist/calcite/p-10b76a2b.js +7 -0
- package/dist/calcite/p-120a39ca.js +7 -0
- package/dist/calcite/p-12eb1f3a.entry.js +7 -0
- package/dist/calcite/p-139e85d4.entry.js +7 -0
- package/dist/calcite/p-18359ae7.js +7 -0
- package/dist/calcite/p-184d4d53.entry.js +7 -0
- package/dist/calcite/p-1a280990.entry.js +7 -0
- package/dist/calcite/p-1ad245bb.entry.js +7 -0
- package/dist/calcite/p-1bd1e6ee.entry.js +7 -0
- package/dist/calcite/p-1cd75980.entry.js +7 -0
- package/dist/calcite/p-1df035e4.js +7 -0
- package/dist/calcite/p-224935be.js +7 -0
- package/dist/calcite/p-240b0637.js +7 -0
- package/dist/calcite/p-24764169.entry.js +7 -0
- package/dist/calcite/p-24ff5e2e.entry.js +7 -0
- package/dist/calcite/p-25b93e8a.entry.js +7 -0
- package/dist/calcite/p-26b601d9.entry.js +7 -0
- package/dist/calcite/p-26bbbef5.entry.js +7 -0
- package/dist/calcite/p-27d87a26.js +7 -0
- package/dist/calcite/p-280bd05c.entry.js +7 -0
- package/dist/calcite/p-28e04e26.entry.js +7 -0
- package/dist/calcite/p-29caad14.entry.js +7 -0
- package/dist/calcite/p-2a711503.js +7 -0
- package/dist/calcite/p-2bef44f9.js +7 -0
- package/dist/calcite/p-2cf51e6d.js +7 -0
- package/dist/calcite/p-2dfd3047.js +7 -0
- package/dist/calcite/p-2e3c48c4.js +7 -0
- package/dist/calcite/p-31793816.entry.js +7 -0
- package/dist/calcite/p-339f4a81.js +7 -0
- package/dist/calcite/p-371c0aa9.entry.js +7 -0
- package/dist/calcite/p-371c0aa9.entry.js.map +1 -0
- package/dist/calcite/p-38900907.js +7 -0
- package/dist/calcite/p-3e5c5492.entry.js +7 -0
- package/dist/calcite/p-3f517577.entry.js +7 -0
- package/dist/calcite/p-417aab79.entry.js +7 -0
- package/dist/calcite/p-4291e86c.js +7 -0
- package/dist/calcite/p-42c60e95.js +7 -0
- package/dist/calcite/p-437f681a.js +7 -0
- package/dist/calcite/p-444be2f5.entry.js +7 -0
- package/dist/calcite/p-4645e371.js +7 -0
- package/dist/calcite/p-46fe3554.js +7 -0
- package/dist/calcite/p-478951ea.entry.js +7 -0
- package/dist/calcite/p-478951ea.entry.js.map +1 -0
- package/dist/calcite/p-47968591.js +7 -0
- package/dist/calcite/p-47ca1d8e.entry.js +7 -0
- package/dist/calcite/p-49c579e5.js +7 -0
- package/dist/calcite/p-4c369960.entry.js +7 -0
- package/dist/calcite/p-4c508da2.entry.js +7 -0
- package/dist/calcite/p-4f02bed9.js +7 -0
- package/dist/calcite/p-4f8c75d5.entry.js +7 -0
- package/dist/calcite/p-50251139.entry.js +7 -0
- package/dist/calcite/p-51275203.entry.js +7 -0
- package/dist/calcite/p-5186eed6.entry.js +7 -0
- package/dist/calcite/p-5685acb6.entry.js +7 -0
- package/dist/calcite/p-5685acb6.entry.js.map +1 -0
- package/dist/calcite/p-59521fdf.js +7 -0
- package/dist/calcite/p-5e22872e.js +7 -0
- package/dist/calcite/p-5e43ab83.entry.js +7 -0
- package/dist/calcite/p-5e92e1ad.entry.js +7 -0
- package/dist/calcite/p-6079fdc2.js +7 -0
- package/dist/calcite/p-607e71d8.entry.js +7 -0
- package/dist/calcite/p-607e71d8.entry.js.map +1 -0
- package/dist/calcite/p-622cc688.js +7 -0
- package/dist/calcite/p-628662c2.js +7 -0
- package/dist/calcite/p-641e9058.entry.js +7 -0
- package/dist/calcite/p-641e9058.entry.js.map +1 -0
- package/dist/calcite/p-669bc42a.js +7 -0
- package/dist/calcite/p-686f0c7c.entry.js +7 -0
- package/dist/calcite/p-6a1531cd.entry.js +7 -0
- package/dist/calcite/p-6b06781e.js +7 -0
- package/dist/calcite/p-6d014b44.entry.js +7 -0
- package/dist/calcite/p-6dbace39.entry.js +7 -0
- package/dist/calcite/p-6f77b6f1.js +7 -0
- package/dist/calcite/p-7071a823.js +7 -0
- package/dist/calcite/p-742e73a7.js +7 -0
- package/dist/calcite/p-74c69a65.js +7 -0
- package/dist/calcite/p-76c93eaf.js +7 -0
- package/dist/calcite/p-77547406.js +7 -0
- package/dist/calcite/p-78aae094.js +7 -0
- package/dist/calcite/p-7f347a1b.js +7 -0
- package/dist/calcite/p-7f347a1b.js.map +1 -0
- package/dist/calcite/p-81f6135e.entry.js +7 -0
- package/dist/calcite/p-829b93e3.js +7 -0
- package/dist/calcite/p-84ecb43d.entry.js +7 -0
- package/dist/calcite/p-8624b17c.js +7 -0
- package/dist/calcite/p-873f857b.js +7 -0
- package/dist/calcite/p-8786d071.js +7 -0
- package/dist/calcite/p-8893aba2.js +7 -0
- package/dist/calcite/p-88e135c5.entry.js +7 -0
- package/dist/calcite/p-8c52a1c8.js +7 -0
- package/dist/calcite/p-8c990585.entry.js +7 -0
- package/dist/calcite/p-8e00e760.js +7 -0
- package/dist/calcite/p-8fa97612.js +12 -0
- package/dist/calcite/p-95d85b7f.entry.js +7 -0
- package/dist/calcite/p-96bdb910.entry.js +7 -0
- package/dist/calcite/p-9717bac8.entry.js +7 -0
- package/dist/calcite/p-996459ff.js +7 -0
- package/dist/calcite/p-9966e031.entry.js +7 -0
- package/dist/calcite/p-9a746419.entry.js +7 -0
- package/dist/calcite/p-9a746419.entry.js.map +1 -0
- package/dist/calcite/p-9ae388ae.js +7 -0
- package/dist/calcite/p-9e840fe0.js +7 -0
- package/dist/calcite/p-a017bb90.js +7 -0
- package/dist/calcite/p-a01a6712.js +7 -0
- package/dist/calcite/p-a060c594.entry.js +7 -0
- package/dist/calcite/p-a060c594.entry.js.map +1 -0
- package/dist/calcite/p-a578d140.js +7 -0
- package/dist/calcite/p-a729c4f3.js +7 -0
- package/dist/calcite/p-a8923d3c.entry.js +7 -0
- package/dist/calcite/p-ae62a83c.js +7 -0
- package/dist/calcite/p-b000d861.js +7 -0
- package/dist/calcite/p-b09c39cd.js +7 -0
- package/dist/calcite/p-b122cc2d.entry.js +7 -0
- package/dist/calcite/p-b204681b.js +7 -0
- package/dist/calcite/p-b2567815.js +11 -0
- package/dist/calcite/p-b2d95cee.entry.js +7 -0
- package/dist/calcite/p-b349c937.js +7 -0
- package/dist/calcite/p-b49ccbb3.entry.js +7 -0
- package/dist/calcite/p-b7d78227.entry.js +7 -0
- package/dist/calcite/p-b7d78227.entry.js.map +1 -0
- package/dist/calcite/p-b7dacf13.js +7 -0
- package/dist/calcite/p-bd6cd55c.js +7 -0
- package/dist/calcite/p-beacae6b.entry.js +7 -0
- package/dist/calcite/p-bf94a9da.js +13 -0
- package/dist/calcite/p-c0a21175.js +7 -0
- package/dist/calcite/p-c0c6ba81.js +7 -0
- package/dist/calcite/p-c11bfb4b.entry.js +7 -0
- package/dist/calcite/p-c163f727.js +7 -0
- package/dist/calcite/p-c3d682ca.entry.js +7 -0
- package/dist/calcite/p-c444d512.js +7 -0
- package/dist/calcite/p-c4d87776.js +7 -0
- package/dist/calcite/p-c6f03eb2.js +7 -0
- package/dist/calcite/p-c770f80e.js +7 -0
- package/dist/calcite/p-c848c82e.js +7 -0
- package/dist/calcite/p-c88443d6.entry.js +7 -0
- package/dist/calcite/p-cae107a5.entry.js +7 -0
- package/dist/calcite/p-cde608e0.js +7 -0
- package/dist/calcite/p-cf44a1d7.js +7 -0
- package/dist/calcite/p-cf8695c8.js +7 -0
- package/dist/calcite/p-d00db92c.entry.js +7 -0
- package/dist/calcite/p-d5db58bd.entry.js +7 -0
- package/dist/calcite/p-d5db58bd.entry.js.map +1 -0
- package/dist/calcite/p-d6caca6b.entry.js +7 -0
- package/dist/calcite/p-d6caca6b.entry.js.map +1 -0
- package/dist/calcite/p-dab6d405.entry.js +7 -0
- package/dist/calcite/p-e27243c0.js +7 -0
- package/dist/calcite/p-e3062192.js +7 -0
- package/dist/calcite/p-e37ad8c6.js +7 -0
- package/dist/calcite/p-e4be124e.js +7 -0
- package/dist/calcite/p-e6309157.js +7 -0
- package/dist/calcite/p-e7173f47.js +7 -0
- package/dist/calcite/p-e7771e7d.entry.js +7 -0
- package/dist/calcite/p-e778acdc.js +7 -0
- package/dist/calcite/p-e98961bb.js +8 -0
- package/dist/calcite/p-ef71966c.entry.js +7 -0
- package/dist/calcite/p-f0954ae0.entry.js +7 -0
- package/dist/calcite/p-f37fd38f.js +7 -0
- package/dist/calcite/p-f3e00de9.js +7 -0
- package/dist/calcite/p-f496ec2b.js +7 -0
- package/dist/calcite/p-f4e994e8.entry.js +7 -0
- package/dist/calcite/p-f738b6f5.entry.js +7 -0
- package/dist/calcite/p-fbe97994.js +7 -0
- package/dist/calcite/p-fcd20445.js +7 -0
- package/dist/calcite/p-fd042681.entry.js +7 -0
- package/dist/calcite/p-fd17f371.entry.js +7 -0
- package/dist/calcite/p-fe1ca82b.js +7 -0
- package/dist/calcite/p-fed6a5bf.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-760eac8a.js +110 -0
- package/dist/cjs/ExpandToggle-760eac8a.js.map +1 -0
- package/dist/cjs/FloatingArrow-25ed9c5c.js +49 -0
- package/dist/cjs/FloatingArrow-25ed9c5c.js.map +1 -0
- package/dist/cjs/Heading-6936b968.js +22 -0
- package/dist/cjs/Heading-6936b968.js.map +1 -0
- package/dist/cjs/Validation-e2fd8241.js +18 -0
- package/dist/cjs/Validation-e2fd8241.js.map +1 -0
- package/dist/cjs/app-globals-28742352.js +61 -0
- package/dist/cjs/app-globals-28742352.js.map +1 -0
- package/dist/cjs/ar-b396d0cc.js +106 -0
- package/dist/cjs/ar-b396d0cc.js.map +1 -0
- package/dist/cjs/array-6246cd2f.js +14 -0
- package/dist/cjs/array-6246cd2f.js.map +1 -0
- package/dist/cjs/bg-49771309.js +84 -0
- package/dist/cjs/bg-49771309.js.map +1 -0
- package/dist/cjs/browser-9bea214b.js +20 -0
- package/dist/cjs/browser-9bea214b.js.map +1 -0
- package/dist/cjs/bs-f65a1d96.js +53 -0
- package/dist/cjs/bs-f65a1d96.js.map +1 -0
- package/dist/cjs/ca-797846a8.js +73 -0
- package/dist/cjs/ca-797846a8.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-2932e283.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-2932e283.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +16 -16
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +29 -31
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +27 -17
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +75 -69
- package/dist/cjs/calcite-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +14 -11
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-da204f58.js +30 -0
- package/dist/cjs/component-da204f58.js.map +1 -0
- package/dist/cjs/conditionalSlot-d5984a21.js +60 -0
- package/dist/cjs/conditionalSlot-d5984a21.js.map +1 -0
- package/dist/cjs/cs-58c96abf.js +149 -0
- package/dist/cjs/cs-58c96abf.js.map +1 -0
- package/dist/cjs/da-dc334d8d.js +68 -0
- package/dist/cjs/da-dc334d8d.js.map +1 -0
- package/dist/cjs/de-627d865e.js +93 -0
- package/dist/cjs/de-627d865e.js.map +1 -0
- package/dist/cjs/de-at-925976e4.js +92 -0
- package/dist/cjs/de-at-925976e4.js.map +1 -0
- package/dist/cjs/de-ch-dc946688.js +92 -0
- package/dist/cjs/de-ch-dc946688.js.map +1 -0
- package/dist/cjs/debounce-3e399ca6.js +498 -0
- package/dist/cjs/debounce-3e399ca6.js.map +1 -0
- package/dist/cjs/dom-7578a1d4.js +1084 -0
- package/dist/cjs/dom-7578a1d4.js.map +1 -0
- package/dist/cjs/el-1fb82c23.js +68 -0
- package/dist/cjs/el-1fb82c23.js.map +1 -0
- package/dist/cjs/en-au-dcbf41d3.js +68 -0
- package/dist/cjs/en-au-dcbf41d3.js.map +1 -0
- package/dist/cjs/en-ca-00a358c4.js +67 -0
- package/dist/cjs/en-ca-00a358c4.js.map +1 -0
- package/dist/cjs/en-gb-b7f19ce2.js +71 -0
- package/dist/cjs/en-gb-b7f19ce2.js.map +1 -0
- package/dist/cjs/es-923103ec.js +68 -0
- package/dist/cjs/es-923103ec.js.map +1 -0
- package/dist/cjs/es-mx-5dd31a56.js +67 -0
- package/dist/cjs/es-mx-5dd31a56.js.map +1 -0
- package/dist/cjs/et-0340dd29.js +94 -0
- package/dist/cjs/et-0340dd29.js.map +1 -0
- package/dist/cjs/fi-177fd413.js +117 -0
- package/dist/cjs/fi-177fd413.js.map +1 -0
- package/dist/cjs/filter-f4b8843f.js +762 -0
- package/dist/cjs/filter-f4b8843f.js.map +1 -0
- package/dist/cjs/floating-ui-7287e848.js +1965 -0
- package/dist/cjs/floating-ui-7287e848.js.map +1 -0
- package/dist/cjs/focusTrapComponent-3bc219cc.js +1020 -0
- package/dist/cjs/focusTrapComponent-3bc219cc.js.map +1 -0
- package/dist/cjs/form-9502ee56.js +333 -0
- package/dist/cjs/form-9502ee56.js.map +1 -0
- package/dist/cjs/fr-3d0e0a04.js +70 -0
- package/dist/cjs/fr-3d0e0a04.js.map +1 -0
- package/dist/cjs/fr-ch-e6689012.js +68 -0
- package/dist/cjs/fr-ch-e6689012.js.map +1 -0
- package/dist/cjs/guid-acf410ab.js +23 -0
- package/dist/cjs/guid-acf410ab.js.map +1 -0
- package/dist/cjs/he-2a04e405.js +107 -0
- package/dist/cjs/he-2a04e405.js.map +1 -0
- package/dist/cjs/hi-73571b06.js +67 -0
- package/dist/cjs/hi-73571b06.js.map +1 -0
- package/dist/cjs/hr-6d01e6dd.js +82 -0
- package/dist/cjs/hr-6d01e6dd.js.map +1 -0
- package/dist/cjs/hu-9849b662.js +90 -0
- package/dist/cjs/hu-9849b662.js.map +1 -0
- package/dist/cjs/id-ff45160a.js +68 -0
- package/dist/cjs/id-ff45160a.js.map +1 -0
- package/dist/cjs/index-782e692c.js +2655 -0
- package/dist/cjs/index-782e692c.js.map +1 -0
- package/dist/cjs/index-d52293e3.js +75 -0
- package/dist/cjs/index-d52293e3.js.map +1 -0
- package/dist/cjs/index-fdbdd62e.js +208 -0
- package/dist/cjs/index-fdbdd62e.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-9dc2b926.js +57 -0
- package/dist/cjs/input-9dc2b926.js.map +1 -0
- package/dist/cjs/interactive-c57fecd3.js +141 -0
- package/dist/cjs/interactive-c57fecd3.js.map +1 -0
- package/dist/cjs/it-737eff00.js +68 -0
- package/dist/cjs/it-737eff00.js.map +1 -0
- package/dist/cjs/it-ch-7285b597.js +68 -0
- package/dist/cjs/it-ch-7285b597.js.map +1 -0
- package/dist/cjs/ja-ac377163.js +74 -0
- package/dist/cjs/ja-ac377163.js.map +1 -0
- package/dist/cjs/key-56bfdd9f.js +16 -0
- package/dist/cjs/key-56bfdd9f.js.map +1 -0
- package/dist/cjs/ko-80da28b5.js +74 -0
- package/dist/cjs/ko-80da28b5.js.map +1 -0
- package/dist/cjs/label-559895b1.js +183 -0
- package/dist/cjs/label-559895b1.js.map +1 -0
- package/dist/cjs/loadable-541807aa.js +91 -0
- package/dist/cjs/loadable-541807aa.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-4c916cec.js +576 -0
- package/dist/cjs/locale-4c916cec.js.map +1 -0
- package/dist/cjs/lt-c4e86d62.js +99 -0
- package/dist/cjs/lt-c4e86d62.js.map +1 -0
- package/dist/cjs/lv-29150ccd.js +68 -0
- package/dist/cjs/lv-29150ccd.js.map +1 -0
- package/dist/cjs/math-853fd449.js +57 -0
- package/dist/cjs/math-853fd449.js.map +1 -0
- package/dist/cjs/mk-9dc520be.js +68 -0
- package/dist/cjs/mk-9dc520be.js.map +1 -0
- package/dist/cjs/nb-dc502914.js +69 -0
- package/dist/cjs/nb-dc502914.js.map +1 -0
- package/dist/cjs/nl-1f8735ea.js +69 -0
- package/dist/cjs/nl-1f8735ea.js.map +1 -0
- package/dist/cjs/observers-17895322.js +50 -0
- package/dist/cjs/observers-17895322.js.map +1 -0
- package/dist/cjs/openCloseComponent-71649d3a.js +89 -0
- package/dist/cjs/openCloseComponent-71649d3a.js.map +1 -0
- package/dist/cjs/pl-6ce9b526.js +116 -0
- package/dist/cjs/pl-6ce9b526.js.map +1 -0
- package/dist/cjs/pt-64040ed8.js +69 -0
- package/dist/cjs/pt-64040ed8.js.map +1 -0
- package/dist/cjs/pt-br-0fb26054.js +67 -0
- package/dist/cjs/pt-br-0fb26054.js.map +1 -0
- package/dist/cjs/resources-12630921.js +49 -0
- package/dist/cjs/resources-12630921.js.map +1 -0
- package/dist/cjs/resources-5ba2556a.js +23 -0
- package/dist/cjs/resources-5ba2556a.js.map +1 -0
- package/dist/cjs/resources-a68345f3.js +26 -0
- package/dist/cjs/resources-a68345f3.js.map +1 -0
- package/dist/cjs/resources-d26fb905.js +414 -0
- package/dist/cjs/resources-d26fb905.js.map +1 -0
- package/dist/cjs/resources-d87baa56.js +17 -0
- package/dist/cjs/resources-d87baa56.js.map +1 -0
- package/dist/cjs/resources-eb571ac5.js +26 -0
- package/dist/cjs/resources-eb571ac5.js.map +1 -0
- package/dist/cjs/resources-f7c47fe3.js +29 -0
- package/dist/cjs/resources-f7c47fe3.js.map +1 -0
- package/dist/cjs/ro-90e9b970.js +68 -0
- package/dist/cjs/ro-90e9b970.js.map +1 -0
- package/dist/cjs/ru-6f8dd2ae.js +128 -0
- package/dist/cjs/ru-6f8dd2ae.js.map +1 -0
- package/dist/cjs/sk-5e6626fe.js +150 -0
- package/dist/cjs/sk-5e6626fe.js.map +1 -0
- package/dist/cjs/sl-0c48cee7.js +170 -0
- package/dist/cjs/sl-0c48cee7.js.map +1 -0
- package/dist/cjs/sortableComponent-8b44726a.js +2739 -0
- package/dist/cjs/sortableComponent-8b44726a.js.map +1 -0
- package/dist/cjs/sr-d2bce4f6.js +103 -0
- package/dist/cjs/sr-d2bce4f6.js.map +1 -0
- package/dist/cjs/sv-f3d07591.js +73 -0
- package/dist/cjs/sv-f3d07591.js.map +1 -0
- package/dist/cjs/t9n-84b57d1e.js +97 -0
- package/dist/cjs/t9n-84b57d1e.js.map +1 -0
- package/dist/cjs/th-773e6a28.js +67 -0
- package/dist/cjs/th-773e6a28.js.map +1 -0
- package/dist/cjs/throttle-137a2f4e.js +77 -0
- package/dist/cjs/throttle-137a2f4e.js.map +1 -0
- package/dist/cjs/tr-c36d89fa.js +68 -0
- package/dist/cjs/tr-c36d89fa.js.map +1 -0
- package/dist/cjs/uk-c9fb2b01.js +106 -0
- package/dist/cjs/uk-c9fb2b01.js.map +1 -0
- package/dist/cjs/utils-046d968a.js +218 -0
- package/dist/cjs/utils-046d968a.js.map +1 -0
- package/dist/cjs/utils-70100f02.js +307 -0
- package/dist/cjs/utils-70100f02.js.map +1 -0
- package/dist/cjs/vi-13584ffc.js +72 -0
- package/dist/cjs/vi-13584ffc.js.map +1 -0
- package/dist/cjs/zh-cn-f1fda097.js +96 -0
- package/dist/cjs/zh-cn-f1fda097.js.map +1 -0
- package/dist/cjs/zh-hk-f8a7cd3c.js +73 -0
- package/dist/cjs/zh-hk-f8a7cd3c.js.map +1 -0
- package/dist/cjs/zh-tw-83282a46.js +94 -0
- package/dist/cjs/zh-tw-83282a46.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +6 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +7 -7
- package/dist/collection/components/input/common/input.spec.js.map +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +6 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/interfaces.js.map +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +11 -8
- package/dist/collection/components/stepper/stepper.e2e.js +6 -6
- package/dist/collection/components/stepper/stepper.e2e.js.map +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -27
- package/dist/collection/components/stepper/stepper.js.map +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +51 -28
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +89 -1
- package/dist/collection/components/table/table.e2e.js.map +1 -1
- package/dist/collection/components/table/table.js +30 -1
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +2 -1
- package/dist/collection/components/table-cell/resources.js.map +1 -1
- package/dist/collection/components/table-cell/table-cell.css +12 -8
- package/dist/collection/components/table-cell/table-cell.js +34 -2
- package/dist/collection/components/table-cell/table-cell.js.map +1 -1
- package/dist/collection/components/table-header/resources.js +2 -1
- package/dist/collection/components/table-header/resources.js.map +1 -1
- package/dist/collection/components/table-header/table-header.css +9 -7
- package/dist/collection/components/table-header/table-header.js +32 -2
- package/dist/collection/components/table-header/table-header.js.map +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +96 -61
- package/dist/collection/components/table-row/table-row.js.map +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow-item.js.map +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +17 -19
- package/dist/components/calcite-stepper.js.map +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +69 -61
- package/dist/components/calcite-table-row.js.map +1 -1
- package/dist/components/calcite-table.js +6 -1
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +10 -3
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +8 -3
- package/dist/components/table-header.js.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-7038b444.js +102 -0
- package/dist/esm/ExpandToggle-7038b444.js.map +1 -0
- package/dist/esm/FloatingArrow-8dd5798e.js +47 -0
- package/dist/esm/FloatingArrow-8dd5798e.js.map +1 -0
- package/dist/esm/Heading-3ff1c6e9.js +19 -0
- package/dist/esm/Heading-3ff1c6e9.js.map +1 -0
- package/dist/esm/Validation-cc143109.js +16 -0
- package/dist/esm/Validation-cc143109.js.map +1 -0
- package/dist/esm/app-globals-0061ccc8.js +59 -0
- package/dist/esm/app-globals-0061ccc8.js.map +1 -0
- package/dist/esm/ar-b8368fe6.js +104 -0
- package/dist/esm/ar-b8368fe6.js.map +1 -0
- package/dist/esm/array-93ae0b1c.js +12 -0
- package/dist/esm/array-93ae0b1c.js.map +1 -0
- package/dist/esm/bg-cd583439.js +82 -0
- package/dist/esm/bg-cd583439.js.map +1 -0
- package/dist/esm/browser-359f7c4c.js +18 -0
- package/dist/esm/browser-359f7c4c.js.map +1 -0
- package/dist/esm/bs-4d9b52e9.js +51 -0
- package/dist/esm/bs-4d9b52e9.js.map +1 -0
- package/dist/esm/ca-67e1ff80.js +71 -0
- package/dist/esm/ca-67e1ff80.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-3914e1da.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-3914e1da.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +16 -16
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +29 -31
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +27 -17
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +75 -69
- package/dist/esm/calcite-table-row.entry.js.map +1 -1
- package/dist/esm/calcite-table.entry.js +14 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-be88998f.js +27 -0
- package/dist/esm/component-be88998f.js.map +1 -0
- package/dist/esm/conditionalSlot-4c9a22b5.js +57 -0
- package/dist/esm/conditionalSlot-4c9a22b5.js.map +1 -0
- package/dist/esm/cs-1ff0851a.js +147 -0
- package/dist/esm/cs-1ff0851a.js.map +1 -0
- package/dist/esm/da-02df9474.js +66 -0
- package/dist/esm/da-02df9474.js.map +1 -0
- package/dist/esm/de-6b5e9a4d.js +91 -0
- package/dist/esm/de-6b5e9a4d.js.map +1 -0
- package/dist/esm/de-at-6af42ba4.js +90 -0
- package/dist/esm/de-at-6af42ba4.js.map +1 -0
- package/dist/esm/de-ch-e37e2f27.js +90 -0
- package/dist/esm/de-ch-e37e2f27.js.map +1 -0
- package/dist/esm/debounce-8756dbbd.js +489 -0
- package/dist/esm/debounce-8756dbbd.js.map +1 -0
- package/dist/esm/dom-b53ddd5e.js +1053 -0
- package/dist/esm/dom-b53ddd5e.js.map +1 -0
- package/dist/esm/el-8b68e032.js +66 -0
- package/dist/esm/el-8b68e032.js.map +1 -0
- package/dist/esm/en-au-d63df72f.js +66 -0
- package/dist/esm/en-au-d63df72f.js.map +1 -0
- package/dist/esm/en-ca-3f51229b.js +65 -0
- package/dist/esm/en-ca-3f51229b.js.map +1 -0
- package/dist/esm/en-gb-64285a02.js +69 -0
- package/dist/esm/en-gb-64285a02.js.map +1 -0
- package/dist/esm/es-7ef5c985.js +66 -0
- package/dist/esm/es-7ef5c985.js.map +1 -0
- package/dist/esm/es-mx-86973204.js +65 -0
- package/dist/esm/es-mx-86973204.js.map +1 -0
- package/dist/esm/et-6e72a5f9.js +92 -0
- package/dist/esm/et-6e72a5f9.js.map +1 -0
- package/dist/esm/fi-02b1b280.js +115 -0
- package/dist/esm/fi-02b1b280.js.map +1 -0
- package/dist/esm/filter-80da289a.js +760 -0
- package/dist/esm/filter-80da289a.js.map +1 -0
- package/dist/esm/floating-ui-fe8e3310.js +1957 -0
- package/dist/esm/floating-ui-fe8e3310.js.map +1 -0
- package/dist/esm/focusTrapComponent-82b68d0c.js +1015 -0
- package/dist/esm/focusTrapComponent-82b68d0c.js.map +1 -0
- package/dist/esm/form-1f9a81b6.js +324 -0
- package/dist/esm/form-1f9a81b6.js.map +1 -0
- package/dist/esm/fr-ch-4a846ae6.js +66 -0
- package/dist/esm/fr-ch-4a846ae6.js.map +1 -0
- package/dist/esm/fr-e6440f04.js +68 -0
- package/dist/esm/fr-e6440f04.js.map +1 -0
- package/dist/esm/guid-49e4c7a4.js +21 -0
- package/dist/esm/guid-49e4c7a4.js.map +1 -0
- package/dist/esm/he-34f438c3.js +105 -0
- package/dist/esm/he-34f438c3.js.map +1 -0
- package/dist/esm/hi-327e6376.js +65 -0
- package/dist/esm/hi-327e6376.js.map +1 -0
- package/dist/esm/hr-febbf10b.js +80 -0
- package/dist/esm/hr-febbf10b.js.map +1 -0
- package/dist/esm/hu-9cdbf0cb.js +88 -0
- package/dist/esm/hu-9cdbf0cb.js.map +1 -0
- package/dist/esm/id-86fd814f.js +66 -0
- package/dist/esm/id-86fd814f.js.map +1 -0
- package/dist/esm/index-a606d5d8.js +206 -0
- package/dist/esm/index-a606d5d8.js.map +1 -0
- package/dist/esm/index-dbebce0f.js +2620 -0
- package/dist/esm/index-dbebce0f.js.map +1 -0
- package/dist/esm/index-f7504916.js +73 -0
- package/dist/esm/index-f7504916.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-99362534.js +55 -0
- package/dist/esm/input-99362534.js.map +1 -0
- package/dist/esm/interactive-218ce927.js +136 -0
- package/dist/esm/interactive-218ce927.js.map +1 -0
- package/dist/esm/it-658d4b7f.js +66 -0
- package/dist/esm/it-658d4b7f.js.map +1 -0
- package/dist/esm/it-ch-2060da48.js +66 -0
- package/dist/esm/it-ch-2060da48.js.map +1 -0
- package/dist/esm/ja-2bd9f1eb.js +72 -0
- package/dist/esm/ja-2bd9f1eb.js.map +1 -0
- package/dist/esm/key-354c2eba.js +13 -0
- package/dist/esm/key-354c2eba.js.map +1 -0
- package/dist/esm/ko-2b1441a1.js +72 -0
- package/dist/esm/ko-2b1441a1.js.map +1 -0
- package/dist/esm/label-b4dce83f.js +176 -0
- package/dist/esm/label-b4dce83f.js.map +1 -0
- package/dist/esm/loadable-2449b25d.js +86 -0
- package/dist/esm/loadable-2449b25d.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-778c9cba.js +563 -0
- package/dist/esm/locale-778c9cba.js.map +1 -0
- package/dist/esm/lt-0e93f25b.js +97 -0
- package/dist/esm/lt-0e93f25b.js.map +1 -0
- package/dist/esm/lv-9b8467d1.js +66 -0
- package/dist/esm/lv-9b8467d1.js.map +1 -0
- package/dist/esm/math-8f596d8f.js +51 -0
- package/dist/esm/math-8f596d8f.js.map +1 -0
- package/dist/esm/mk-63a3e185.js +66 -0
- package/dist/esm/mk-63a3e185.js.map +1 -0
- package/dist/esm/nb-3434fdd4.js +67 -0
- package/dist/esm/nb-3434fdd4.js.map +1 -0
- package/dist/esm/nl-656eed74.js +67 -0
- package/dist/esm/nl-656eed74.js.map +1 -0
- package/dist/esm/observers-86f06c9e.js +48 -0
- package/dist/esm/observers-86f06c9e.js.map +1 -0
- package/dist/esm/openCloseComponent-07d78e24.js +87 -0
- package/dist/esm/openCloseComponent-07d78e24.js.map +1 -0
- package/dist/esm/pl-6c0770ed.js +114 -0
- package/dist/esm/pl-6c0770ed.js.map +1 -0
- package/dist/esm/pt-9bd84699.js +67 -0
- package/dist/esm/pt-9bd84699.js.map +1 -0
- package/dist/esm/pt-br-edb494e2.js +65 -0
- package/dist/esm/pt-br-edb494e2.js.map +1 -0
- package/dist/esm/resources-18b049f4.js +19 -0
- package/dist/esm/resources-18b049f4.js.map +1 -0
- package/dist/esm/resources-2686c29d.js +17 -0
- package/dist/esm/resources-2686c29d.js.map +1 -0
- package/dist/esm/resources-65cb3a2d.js +23 -0
- package/dist/esm/resources-65cb3a2d.js.map +1 -0
- package/dist/esm/resources-678b27be.js +25 -0
- package/dist/esm/resources-678b27be.js.map +1 -0
- package/dist/esm/resources-67dfa085.js +45 -0
- package/dist/esm/resources-67dfa085.js.map +1 -0
- package/dist/esm/resources-b65914e8.js +21 -0
- package/dist/esm/resources-b65914e8.js.map +1 -0
- package/dist/esm/resources-c85d66fa.js +387 -0
- package/dist/esm/resources-c85d66fa.js.map +1 -0
- package/dist/esm/ro-06a5edf3.js +66 -0
- package/dist/esm/ro-06a5edf3.js.map +1 -0
- package/dist/esm/ru-ec2fe4f1.js +126 -0
- package/dist/esm/ru-ec2fe4f1.js.map +1 -0
- package/dist/esm/sk-197fe99a.js +148 -0
- package/dist/esm/sk-197fe99a.js.map +1 -0
- package/dist/esm/sl-76fc52aa.js +168 -0
- package/dist/esm/sl-76fc52aa.js.map +1 -0
- package/dist/esm/sortableComponent-2c04961e.js +2735 -0
- package/dist/esm/sortableComponent-2c04961e.js.map +1 -0
- package/dist/esm/sr-c97ac754.js +101 -0
- package/dist/esm/sr-c97ac754.js.map +1 -0
- package/dist/esm/sv-1109b3fb.js +71 -0
- package/dist/esm/sv-1109b3fb.js.map +1 -0
- package/dist/esm/t9n-e5e49356.js +92 -0
- package/dist/esm/t9n-e5e49356.js.map +1 -0
- package/dist/esm/th-af910392.js +65 -0
- package/dist/esm/th-af910392.js.map +1 -0
- package/dist/esm/throttle-9f0091b4.js +75 -0
- package/dist/esm/throttle-9f0091b4.js.map +1 -0
- package/dist/esm/tr-b9fbf792.js +66 -0
- package/dist/esm/tr-b9fbf792.js.map +1 -0
- package/dist/esm/uk-37c00a7f.js +104 -0
- package/dist/esm/uk-37c00a7f.js.map +1 -0
- package/dist/esm/utils-33fe09a4.js +200 -0
- package/dist/esm/utils-33fe09a4.js.map +1 -0
- package/dist/esm/utils-521fd0a0.js +289 -0
- package/dist/esm/utils-521fd0a0.js.map +1 -0
- package/dist/esm/vi-a4095532.js +70 -0
- package/dist/esm/vi-a4095532.js.map +1 -0
- package/dist/esm/zh-cn-3f52d6f7.js +94 -0
- package/dist/esm/zh-cn-3f52d6f7.js.map +1 -0
- package/dist/esm/zh-hk-b2064936.js +71 -0
- package/dist/esm/zh-hk-b2064936.js.map +1 -0
- package/dist/esm/zh-tw-4670c2fc.js +92 -0
- package/dist/esm/zh-tw-4670c2fc.js.map +1 -0
- package/dist/extras/docs-json.json +54 -11
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/stepper/interfaces.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +3 -3
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/table/interfaces.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +3 -1
- package/dist/types/components/table-cell/resources.d.ts +1 -0
- package/dist/types/components/table-cell/table-cell.d.ts +3 -1
- package/dist/types/components/table-header/resources.d.ts +1 -0
- package/dist/types/components/table-header/table-header.d.ts +3 -1
- package/dist/types/components/table-row/table-row.d.ts +3 -1
- package/dist/types/components.d.ts +18 -7
- package/hydrate/index.js +110 -89
- package/package.json +2 -2
- package/dist/calcite/p-06bc838e.entry.js +0 -7
- package/dist/calcite/p-06bc838e.entry.js.map +0 -1
- package/dist/calcite/p-098dde49.entry.js +0 -7
- package/dist/calcite/p-0a226917.entry.js +0 -7
- package/dist/calcite/p-0f6aef5f.js +0 -7
- package/dist/calcite/p-102a8a3c.entry.js +0 -7
- package/dist/calcite/p-106a9b3c.entry.js +0 -7
- package/dist/calcite/p-11e896ea.entry.js +0 -7
- package/dist/calcite/p-126e7efd.entry.js +0 -7
- package/dist/calcite/p-12f73849.js +0 -7
- package/dist/calcite/p-12f9ae32.entry.js +0 -7
- package/dist/calcite/p-145a99eb.js +0 -7
- package/dist/calcite/p-16c12e8d.js +0 -7
- package/dist/calcite/p-192ac931.entry.js +0 -7
- package/dist/calcite/p-195622fd.entry.js +0 -7
- package/dist/calcite/p-1a70e255.entry.js +0 -7
- package/dist/calcite/p-1ad3f590.entry.js +0 -7
- package/dist/calcite/p-1b6a7d43.entry.js +0 -7
- package/dist/calcite/p-1b6df6e3.js +0 -7
- package/dist/calcite/p-1bed2571.js +0 -7
- package/dist/calcite/p-1bed2571.js.map +0 -1
- package/dist/calcite/p-1d8fa933.js +0 -7
- package/dist/calcite/p-1d9815c1.js +0 -7
- package/dist/calcite/p-1f107d76.entry.js +0 -7
- package/dist/calcite/p-1f107d76.entry.js.map +0 -1
- package/dist/calcite/p-21111ff8.js +0 -7
- package/dist/calcite/p-211b17ce.entry.js +0 -7
- package/dist/calcite/p-218195fe.js +0 -7
- package/dist/calcite/p-270b8733.js +0 -7
- package/dist/calcite/p-28f1b0cd.js +0 -7
- package/dist/calcite/p-29d96e73.js +0 -7
- package/dist/calcite/p-2b5b4ef0.entry.js +0 -7
- package/dist/calcite/p-2ba0f9e1.js +0 -7
- package/dist/calcite/p-2ba49f61.js +0 -7
- package/dist/calcite/p-2dd28699.entry.js +0 -7
- package/dist/calcite/p-2f46886e.entry.js +0 -7
- package/dist/calcite/p-3094fdeb.js +0 -7
- package/dist/calcite/p-3302dafe.entry.js +0 -7
- package/dist/calcite/p-33d10fc7.js +0 -7
- package/dist/calcite/p-343e5a25.js +0 -7
- package/dist/calcite/p-349d9d39.js +0 -7
- package/dist/calcite/p-379211fa.js +0 -7
- package/dist/calcite/p-392d03a3.js +0 -7
- package/dist/calcite/p-436f688a.js +0 -7
- package/dist/calcite/p-44015444.entry.js +0 -7
- package/dist/calcite/p-44015444.entry.js.map +0 -1
- package/dist/calcite/p-452b6321.js +0 -7
- package/dist/calcite/p-45e2e445.js +0 -7
- package/dist/calcite/p-4887bcc6.js +0 -7
- package/dist/calcite/p-48b67298.entry.js +0 -7
- package/dist/calcite/p-4978e6f6.js +0 -7
- package/dist/calcite/p-49814e41.entry.js +0 -7
- package/dist/calcite/p-4abdccae.entry.js +0 -7
- package/dist/calcite/p-4ad7e3b4.js +0 -7
- package/dist/calcite/p-4cfb8d30.js +0 -8
- package/dist/calcite/p-4d1d795a.js +0 -7
- package/dist/calcite/p-5024cc43.js +0 -7
- package/dist/calcite/p-50ba23b3.entry.js +0 -7
- package/dist/calcite/p-5124ce6e.entry.js +0 -7
- package/dist/calcite/p-59978662.js +0 -7
- package/dist/calcite/p-5a949941.js +0 -7
- package/dist/calcite/p-5ae8bfd3.js +0 -7
- package/dist/calcite/p-5defa0ff.entry.js +0 -7
- package/dist/calcite/p-5defa0ff.entry.js.map +0 -1
- package/dist/calcite/p-6035fa76.entry.js +0 -7
- package/dist/calcite/p-6035fa76.entry.js.map +0 -1
- package/dist/calcite/p-62d49b49.entry.js +0 -7
- package/dist/calcite/p-62d49b49.entry.js.map +0 -1
- package/dist/calcite/p-662e2116.js +0 -7
- package/dist/calcite/p-67ef9330.entry.js +0 -7
- package/dist/calcite/p-68c56c33.entry.js +0 -7
- package/dist/calcite/p-6b63e9bf.entry.js +0 -7
- package/dist/calcite/p-6dfb11a1.entry.js +0 -7
- package/dist/calcite/p-6f17d28e.js +0 -7
- package/dist/calcite/p-70a06df5.js +0 -7
- package/dist/calcite/p-779c146e.js +0 -7
- package/dist/calcite/p-78ba453e.js +0 -7
- package/dist/calcite/p-78ebc8db.js +0 -11
- package/dist/calcite/p-79ce43f7.js +0 -7
- package/dist/calcite/p-79d47ae7.entry.js +0 -7
- package/dist/calcite/p-7aabf34a.entry.js +0 -7
- package/dist/calcite/p-7ab6a0cd.js +0 -7
- package/dist/calcite/p-7ce83347.js +0 -7
- package/dist/calcite/p-7ed30e3b.entry.js +0 -7
- package/dist/calcite/p-80fbba8e.js +0 -7
- package/dist/calcite/p-81da01ea.js +0 -7
- package/dist/calcite/p-82cf7ed8.js +0 -7
- package/dist/calcite/p-833641c0.js +0 -7
- package/dist/calcite/p-848d50fd.js +0 -7
- package/dist/calcite/p-84ad90ba.js +0 -7
- package/dist/calcite/p-85b1bec3.js +0 -7
- package/dist/calcite/p-88235bb5.js +0 -7
- package/dist/calcite/p-8ac3c2e4.entry.js +0 -7
- package/dist/calcite/p-8be8d73f.js +0 -7
- package/dist/calcite/p-8c052cff.js +0 -7
- package/dist/calcite/p-8cf807d3.js +0 -7
- package/dist/calcite/p-8fad797d.js +0 -7
- package/dist/calcite/p-9047fdad.js +0 -7
- package/dist/calcite/p-905f710f.js +0 -7
- package/dist/calcite/p-91c8e1a8.entry.js +0 -7
- package/dist/calcite/p-91c8e1a8.entry.js.map +0 -1
- package/dist/calcite/p-91fbe602.js +0 -7
- package/dist/calcite/p-9281b2c6.js +0 -7
- package/dist/calcite/p-93c4c54a.js +0 -7
- package/dist/calcite/p-94645116.js +0 -7
- package/dist/calcite/p-9788c794.js +0 -7
- package/dist/calcite/p-990c5d41.entry.js +0 -7
- package/dist/calcite/p-9dace80d.js +0 -7
- package/dist/calcite/p-9fe527a6.js +0 -7
- package/dist/calcite/p-a209805b.js +0 -7
- package/dist/calcite/p-a334baae.js +0 -12
- package/dist/calcite/p-a570e9d8.entry.js +0 -7
- package/dist/calcite/p-ae902554.entry.js +0 -7
- package/dist/calcite/p-ae9db8f1.entry.js +0 -7
- package/dist/calcite/p-b2da4c2f.js +0 -7
- package/dist/calcite/p-b33332da.entry.js +0 -7
- package/dist/calcite/p-b6838251.entry.js +0 -7
- package/dist/calcite/p-b885203e.entry.js +0 -7
- package/dist/calcite/p-b9af6b29.entry.js +0 -7
- package/dist/calcite/p-b9f32da9.entry.js +0 -7
- package/dist/calcite/p-ba942625.js +0 -7
- package/dist/calcite/p-bab51c05.js +0 -13
- package/dist/calcite/p-bd4811d2.entry.js +0 -7
- package/dist/calcite/p-bedfe651.entry.js +0 -7
- package/dist/calcite/p-c02e0865.js +0 -7
- package/dist/calcite/p-c2520c09.js +0 -7
- package/dist/calcite/p-c2db7c6f.entry.js +0 -7
- package/dist/calcite/p-c5559e48.js +0 -7
- package/dist/calcite/p-c6d1758c.entry.js +0 -7
- package/dist/calcite/p-c83997bc.entry.js +0 -7
- package/dist/calcite/p-cae42867.entry.js +0 -7
- package/dist/calcite/p-cb72f3b1.js +0 -7
- package/dist/calcite/p-cc9ac333.js +0 -7
- package/dist/calcite/p-ccf2667e.entry.js +0 -7
- package/dist/calcite/p-ccf2667e.entry.js.map +0 -1
- package/dist/calcite/p-cf778589.js +0 -7
- package/dist/calcite/p-cfde9025.entry.js +0 -7
- package/dist/calcite/p-d0504436.entry.js +0 -7
- package/dist/calcite/p-d11591e6.entry.js +0 -7
- package/dist/calcite/p-d11591e6.entry.js.map +0 -1
- package/dist/calcite/p-d4ea0c6e.entry.js +0 -7
- package/dist/calcite/p-d6bb739a.js +0 -7
- package/dist/calcite/p-d864234c.entry.js +0 -7
- package/dist/calcite/p-d8e6e50c.entry.js +0 -7
- package/dist/calcite/p-d922dc04.js +0 -7
- package/dist/calcite/p-d9db6b9b.js +0 -7
- package/dist/calcite/p-df73ee17.entry.js +0 -7
- package/dist/calcite/p-e10e797a.js +0 -7
- package/dist/calcite/p-e7ec6bb8.js +0 -7
- package/dist/calcite/p-e8cd9f95.entry.js +0 -7
- package/dist/calcite/p-e8e58eab.entry.js +0 -7
- package/dist/calcite/p-eb186efb.entry.js +0 -7
- package/dist/calcite/p-eb186efb.entry.js.map +0 -1
- package/dist/calcite/p-eb9e9f2a.js +0 -7
- package/dist/calcite/p-ecb89e48.js +0 -7
- package/dist/calcite/p-ecc44eea.js +0 -7
- package/dist/calcite/p-ee6f2620.entry.js +0 -7
- package/dist/calcite/p-ef08cf8d.js +0 -7
- package/dist/calcite/p-ef42a511.js +0 -7
- package/dist/calcite/p-f0d3641e.entry.js +0 -7
- package/dist/calcite/p-f0d3641e.entry.js.map +0 -1
- package/dist/calcite/p-f1974ab0.js +0 -7
- package/dist/calcite/p-f1dfe371.js +0 -7
- package/dist/calcite/p-f1f41147.entry.js +0 -7
- package/dist/calcite/p-f498f0e1.entry.js +0 -7
- package/dist/calcite/p-f72de1cc.entry.js +0 -7
- package/dist/calcite/p-f73aaed8.js +0 -7
- package/dist/calcite/p-f8231dcb.js +0 -7
- package/dist/calcite/p-f861810d.js +0 -7
- package/dist/calcite/p-f8e7ddef.entry.js +0 -7
- package/dist/calcite/p-f9a83991.entry.js +0 -7
- package/dist/calcite/p-fb49ce47.js +0 -7
- package/dist/calcite/p-fc2de2e1.entry.js +0 -7
- package/dist/cjs/ExpandToggle-f8fb482a.js +0 -110
- package/dist/cjs/ExpandToggle-f8fb482a.js.map +0 -1
- package/dist/cjs/FloatingArrow-6299b603.js +0 -49
- package/dist/cjs/FloatingArrow-6299b603.js.map +0 -1
- package/dist/cjs/Heading-aa6d8157.js +0 -22
- package/dist/cjs/Heading-aa6d8157.js.map +0 -1
- package/dist/cjs/Validation-ba3b6ebf.js +0 -18
- package/dist/cjs/Validation-ba3b6ebf.js.map +0 -1
- package/dist/cjs/app-globals-76d37f23.js +0 -61
- package/dist/cjs/app-globals-76d37f23.js.map +0 -1
- package/dist/cjs/ar-3d03e954.js +0 -106
- package/dist/cjs/ar-3d03e954.js.map +0 -1
- package/dist/cjs/array-abc8f866.js +0 -14
- package/dist/cjs/array-abc8f866.js.map +0 -1
- package/dist/cjs/bg-7f43aed5.js +0 -84
- package/dist/cjs/bg-7f43aed5.js.map +0 -1
- package/dist/cjs/browser-f3f285f4.js +0 -20
- package/dist/cjs/browser-f3f285f4.js.map +0 -1
- package/dist/cjs/bs-5b5a217a.js +0 -53
- package/dist/cjs/bs-5b5a217a.js.map +0 -1
- package/dist/cjs/ca-223c25f9.js +0 -73
- package/dist/cjs/ca-223c25f9.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c099520b.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c099520b.js.map +0 -1
- package/dist/cjs/component-60017307.js +0 -30
- package/dist/cjs/component-60017307.js.map +0 -1
- package/dist/cjs/conditionalSlot-e58d6711.js +0 -60
- package/dist/cjs/conditionalSlot-e58d6711.js.map +0 -1
- package/dist/cjs/cs-388490b0.js +0 -149
- package/dist/cjs/cs-388490b0.js.map +0 -1
- package/dist/cjs/da-88abc8ab.js +0 -68
- package/dist/cjs/da-88abc8ab.js.map +0 -1
- package/dist/cjs/de-5bd3de87.js +0 -93
- package/dist/cjs/de-5bd3de87.js.map +0 -1
- package/dist/cjs/de-at-668193db.js +0 -92
- package/dist/cjs/de-at-668193db.js.map +0 -1
- package/dist/cjs/de-ch-bad76bd7.js +0 -92
- package/dist/cjs/de-ch-bad76bd7.js.map +0 -1
- package/dist/cjs/debounce-0c7e1a59.js +0 -498
- package/dist/cjs/debounce-0c7e1a59.js.map +0 -1
- package/dist/cjs/dom-d4bdfc93.js +0 -1084
- package/dist/cjs/dom-d4bdfc93.js.map +0 -1
- package/dist/cjs/el-7466491b.js +0 -68
- package/dist/cjs/el-7466491b.js.map +0 -1
- package/dist/cjs/en-au-fda1bd9a.js +0 -68
- package/dist/cjs/en-au-fda1bd9a.js.map +0 -1
- package/dist/cjs/en-ca-a835e49f.js +0 -67
- package/dist/cjs/en-ca-a835e49f.js.map +0 -1
- package/dist/cjs/en-gb-936e5972.js +0 -71
- package/dist/cjs/en-gb-936e5972.js.map +0 -1
- package/dist/cjs/es-d0295860.js +0 -68
- package/dist/cjs/es-d0295860.js.map +0 -1
- package/dist/cjs/es-mx-749d587c.js +0 -67
- package/dist/cjs/es-mx-749d587c.js.map +0 -1
- package/dist/cjs/et-616fdd2f.js +0 -94
- package/dist/cjs/et-616fdd2f.js.map +0 -1
- package/dist/cjs/fi-42e5fa5c.js +0 -117
- package/dist/cjs/fi-42e5fa5c.js.map +0 -1
- package/dist/cjs/filter-513ae2bf.js +0 -762
- package/dist/cjs/filter-513ae2bf.js.map +0 -1
- package/dist/cjs/floating-ui-2142db87.js +0 -1965
- package/dist/cjs/floating-ui-2142db87.js.map +0 -1
- package/dist/cjs/focusTrapComponent-7f6948b7.js +0 -1020
- package/dist/cjs/focusTrapComponent-7f6948b7.js.map +0 -1
- package/dist/cjs/form-f34ee1ae.js +0 -333
- package/dist/cjs/form-f34ee1ae.js.map +0 -1
- package/dist/cjs/fr-7b4d8b94.js +0 -70
- package/dist/cjs/fr-7b4d8b94.js.map +0 -1
- package/dist/cjs/fr-ch-5f4ff2fc.js +0 -68
- package/dist/cjs/fr-ch-5f4ff2fc.js.map +0 -1
- package/dist/cjs/guid-c97ceae0.js +0 -23
- package/dist/cjs/guid-c97ceae0.js.map +0 -1
- package/dist/cjs/he-32b69b22.js +0 -107
- package/dist/cjs/he-32b69b22.js.map +0 -1
- package/dist/cjs/hi-69584488.js +0 -67
- package/dist/cjs/hi-69584488.js.map +0 -1
- package/dist/cjs/hr-b79ef6c8.js +0 -82
- package/dist/cjs/hr-b79ef6c8.js.map +0 -1
- package/dist/cjs/hu-8da36a85.js +0 -90
- package/dist/cjs/hu-8da36a85.js.map +0 -1
- package/dist/cjs/id-dfe7e505.js +0 -68
- package/dist/cjs/id-dfe7e505.js.map +0 -1
- package/dist/cjs/index-28c9b535.js +0 -2655
- package/dist/cjs/index-28c9b535.js.map +0 -1
- package/dist/cjs/index-71433929.js +0 -75
- package/dist/cjs/index-71433929.js.map +0 -1
- package/dist/cjs/index-d69d829e.js +0 -208
- package/dist/cjs/index-d69d829e.js.map +0 -1
- package/dist/cjs/input-cd70f4ba.js +0 -57
- package/dist/cjs/input-cd70f4ba.js.map +0 -1
- package/dist/cjs/interactive-f9f66f8f.js +0 -141
- package/dist/cjs/interactive-f9f66f8f.js.map +0 -1
- package/dist/cjs/it-55a85a13.js +0 -68
- package/dist/cjs/it-55a85a13.js.map +0 -1
- package/dist/cjs/it-ch-4c285b14.js +0 -68
- package/dist/cjs/it-ch-4c285b14.js.map +0 -1
- package/dist/cjs/ja-35829c87.js +0 -74
- package/dist/cjs/ja-35829c87.js.map +0 -1
- package/dist/cjs/key-bbb62d71.js +0 -16
- package/dist/cjs/key-bbb62d71.js.map +0 -1
- package/dist/cjs/ko-b35a50b6.js +0 -74
- package/dist/cjs/ko-b35a50b6.js.map +0 -1
- package/dist/cjs/label-b783cc72.js +0 -183
- package/dist/cjs/label-b783cc72.js.map +0 -1
- package/dist/cjs/loadable-fb9078dd.js +0 -91
- package/dist/cjs/loadable-fb9078dd.js.map +0 -1
- package/dist/cjs/locale-6fa7eb38.js +0 -576
- package/dist/cjs/locale-6fa7eb38.js.map +0 -1
- package/dist/cjs/lt-a4ef0054.js +0 -99
- package/dist/cjs/lt-a4ef0054.js.map +0 -1
- package/dist/cjs/lv-1d5be5f7.js +0 -68
- package/dist/cjs/lv-1d5be5f7.js.map +0 -1
- package/dist/cjs/math-63677290.js +0 -57
- package/dist/cjs/math-63677290.js.map +0 -1
- package/dist/cjs/mk-0ea585bb.js +0 -68
- package/dist/cjs/mk-0ea585bb.js.map +0 -1
- package/dist/cjs/nb-a8b9b54c.js +0 -69
- package/dist/cjs/nb-a8b9b54c.js.map +0 -1
- package/dist/cjs/nl-44db397b.js +0 -69
- package/dist/cjs/nl-44db397b.js.map +0 -1
- package/dist/cjs/observers-064ac249.js +0 -50
- package/dist/cjs/observers-064ac249.js.map +0 -1
- package/dist/cjs/openCloseComponent-656ce4c9.js +0 -89
- package/dist/cjs/openCloseComponent-656ce4c9.js.map +0 -1
- package/dist/cjs/pl-9432eb1e.js +0 -116
- package/dist/cjs/pl-9432eb1e.js.map +0 -1
- package/dist/cjs/pt-980403b9.js +0 -69
- package/dist/cjs/pt-980403b9.js.map +0 -1
- package/dist/cjs/pt-br-158bd2d4.js +0 -67
- package/dist/cjs/pt-br-158bd2d4.js.map +0 -1
- package/dist/cjs/resources-339a809b.js +0 -49
- package/dist/cjs/resources-339a809b.js.map +0 -1
- package/dist/cjs/resources-555ae9c3.js +0 -414
- package/dist/cjs/resources-555ae9c3.js.map +0 -1
- package/dist/cjs/resources-639f71f7.js +0 -26
- package/dist/cjs/resources-639f71f7.js.map +0 -1
- package/dist/cjs/resources-72a978f4.js +0 -29
- package/dist/cjs/resources-72a978f4.js.map +0 -1
- package/dist/cjs/resources-863d7f17.js +0 -26
- package/dist/cjs/resources-863d7f17.js.map +0 -1
- package/dist/cjs/resources-c333b556.js +0 -23
- package/dist/cjs/resources-c333b556.js.map +0 -1
- package/dist/cjs/resources-dc909774.js +0 -17
- package/dist/cjs/resources-dc909774.js.map +0 -1
- package/dist/cjs/ro-5b65b1c4.js +0 -68
- package/dist/cjs/ro-5b65b1c4.js.map +0 -1
- package/dist/cjs/ru-9cbeb39b.js +0 -128
- package/dist/cjs/ru-9cbeb39b.js.map +0 -1
- package/dist/cjs/sk-ce9005bc.js +0 -150
- package/dist/cjs/sk-ce9005bc.js.map +0 -1
- package/dist/cjs/sl-38e12db4.js +0 -170
- package/dist/cjs/sl-38e12db4.js.map +0 -1
- package/dist/cjs/sortableComponent-4a4b2293.js +0 -2739
- package/dist/cjs/sortableComponent-4a4b2293.js.map +0 -1
- package/dist/cjs/sr-fe5cae60.js +0 -103
- package/dist/cjs/sr-fe5cae60.js.map +0 -1
- package/dist/cjs/sv-15f1cc71.js +0 -73
- package/dist/cjs/sv-15f1cc71.js.map +0 -1
- package/dist/cjs/t9n-c8b706fd.js +0 -97
- package/dist/cjs/t9n-c8b706fd.js.map +0 -1
- package/dist/cjs/th-8d5f7665.js +0 -67
- package/dist/cjs/th-8d5f7665.js.map +0 -1
- package/dist/cjs/throttle-b9c75f82.js +0 -77
- package/dist/cjs/throttle-b9c75f82.js.map +0 -1
- package/dist/cjs/tr-b212ca71.js +0 -68
- package/dist/cjs/tr-b212ca71.js.map +0 -1
- package/dist/cjs/uk-d6b1d1b1.js +0 -106
- package/dist/cjs/uk-d6b1d1b1.js.map +0 -1
- package/dist/cjs/utils-afcb5b91.js +0 -307
- package/dist/cjs/utils-afcb5b91.js.map +0 -1
- package/dist/cjs/utils-df7c2f32.js +0 -218
- package/dist/cjs/utils-df7c2f32.js.map +0 -1
- package/dist/cjs/vi-946ee544.js +0 -72
- package/dist/cjs/vi-946ee544.js.map +0 -1
- package/dist/cjs/zh-cn-3e37931a.js +0 -96
- package/dist/cjs/zh-cn-3e37931a.js.map +0 -1
- package/dist/cjs/zh-hk-b4eddd51.js +0 -73
- package/dist/cjs/zh-hk-b4eddd51.js.map +0 -1
- package/dist/cjs/zh-tw-e3399aec.js +0 -94
- package/dist/cjs/zh-tw-e3399aec.js.map +0 -1
- package/dist/esm/ExpandToggle-f64fe709.js +0 -102
- package/dist/esm/ExpandToggle-f64fe709.js.map +0 -1
- package/dist/esm/FloatingArrow-74d36f3b.js +0 -47
- package/dist/esm/FloatingArrow-74d36f3b.js.map +0 -1
- package/dist/esm/Heading-8d5b03f8.js +0 -19
- package/dist/esm/Heading-8d5b03f8.js.map +0 -1
- package/dist/esm/Validation-ec921a54.js +0 -16
- package/dist/esm/Validation-ec921a54.js.map +0 -1
- package/dist/esm/app-globals-cb356a9c.js +0 -59
- package/dist/esm/app-globals-cb356a9c.js.map +0 -1
- package/dist/esm/ar-8ac4ce04.js +0 -104
- package/dist/esm/ar-8ac4ce04.js.map +0 -1
- package/dist/esm/array-898ba311.js +0 -12
- package/dist/esm/array-898ba311.js.map +0 -1
- package/dist/esm/bg-b94e6bb9.js +0 -82
- package/dist/esm/bg-b94e6bb9.js.map +0 -1
- package/dist/esm/browser-b1424b1c.js +0 -18
- package/dist/esm/browser-b1424b1c.js.map +0 -1
- package/dist/esm/bs-ad144e7a.js +0 -51
- package/dist/esm/bs-ad144e7a.js.map +0 -1
- package/dist/esm/ca-4a41f28f.js +0 -71
- package/dist/esm/ca-4a41f28f.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1177cbfa.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1177cbfa.js.map +0 -1
- package/dist/esm/component-bf361bd7.js +0 -27
- package/dist/esm/component-bf361bd7.js.map +0 -1
- package/dist/esm/conditionalSlot-2f1aca52.js +0 -57
- package/dist/esm/conditionalSlot-2f1aca52.js.map +0 -1
- package/dist/esm/cs-fb8ae30b.js +0 -147
- package/dist/esm/cs-fb8ae30b.js.map +0 -1
- package/dist/esm/da-a4f0fb1d.js +0 -66
- package/dist/esm/da-a4f0fb1d.js.map +0 -1
- package/dist/esm/de-at-3929b8e7.js +0 -90
- package/dist/esm/de-at-3929b8e7.js.map +0 -1
- package/dist/esm/de-ch-4d540f21.js +0 -90
- package/dist/esm/de-ch-4d540f21.js.map +0 -1
- package/dist/esm/de-ea3f41b6.js +0 -91
- package/dist/esm/de-ea3f41b6.js.map +0 -1
- package/dist/esm/debounce-e3b28c3a.js +0 -489
- package/dist/esm/debounce-e3b28c3a.js.map +0 -1
- package/dist/esm/dom-2b4f468e.js +0 -1053
- package/dist/esm/dom-2b4f468e.js.map +0 -1
- package/dist/esm/el-2671646a.js +0 -66
- package/dist/esm/el-2671646a.js.map +0 -1
- package/dist/esm/en-au-a8ad3bf0.js +0 -66
- package/dist/esm/en-au-a8ad3bf0.js.map +0 -1
- package/dist/esm/en-ca-3f5429fc.js +0 -65
- package/dist/esm/en-ca-3f5429fc.js.map +0 -1
- package/dist/esm/en-gb-5c04b277.js +0 -69
- package/dist/esm/en-gb-5c04b277.js.map +0 -1
- package/dist/esm/es-97797bf9.js +0 -66
- package/dist/esm/es-97797bf9.js.map +0 -1
- package/dist/esm/es-mx-58e2ae50.js +0 -65
- package/dist/esm/es-mx-58e2ae50.js.map +0 -1
- package/dist/esm/et-7f65df66.js +0 -92
- package/dist/esm/et-7f65df66.js.map +0 -1
- package/dist/esm/fi-4f2b676d.js +0 -115
- package/dist/esm/fi-4f2b676d.js.map +0 -1
- package/dist/esm/filter-7266e670.js +0 -760
- package/dist/esm/filter-7266e670.js.map +0 -1
- package/dist/esm/floating-ui-de4f1a07.js +0 -1957
- package/dist/esm/floating-ui-de4f1a07.js.map +0 -1
- package/dist/esm/focusTrapComponent-98b375a3.js +0 -1015
- package/dist/esm/focusTrapComponent-98b375a3.js.map +0 -1
- package/dist/esm/form-da443173.js +0 -324
- package/dist/esm/form-da443173.js.map +0 -1
- package/dist/esm/fr-03ae87b8.js +0 -68
- package/dist/esm/fr-03ae87b8.js.map +0 -1
- package/dist/esm/fr-ch-0b9069b5.js +0 -66
- package/dist/esm/fr-ch-0b9069b5.js.map +0 -1
- package/dist/esm/guid-ec049642.js +0 -21
- package/dist/esm/guid-ec049642.js.map +0 -1
- package/dist/esm/he-548bf24b.js +0 -105
- package/dist/esm/he-548bf24b.js.map +0 -1
- package/dist/esm/hi-164def17.js +0 -65
- package/dist/esm/hi-164def17.js.map +0 -1
- package/dist/esm/hr-c2894622.js +0 -80
- package/dist/esm/hr-c2894622.js.map +0 -1
- package/dist/esm/hu-d745c627.js +0 -88
- package/dist/esm/hu-d745c627.js.map +0 -1
- package/dist/esm/id-1c2d9f3a.js +0 -66
- package/dist/esm/id-1c2d9f3a.js.map +0 -1
- package/dist/esm/index-04521c1c.js +0 -2620
- package/dist/esm/index-04521c1c.js.map +0 -1
- package/dist/esm/index-a461e905.js +0 -73
- package/dist/esm/index-a461e905.js.map +0 -1
- package/dist/esm/index-b4b2c9bb.js +0 -206
- package/dist/esm/index-b4b2c9bb.js.map +0 -1
- package/dist/esm/input-4eace5ed.js +0 -55
- package/dist/esm/input-4eace5ed.js.map +0 -1
- package/dist/esm/interactive-2ea0a255.js +0 -136
- package/dist/esm/interactive-2ea0a255.js.map +0 -1
- package/dist/esm/it-62002867.js +0 -66
- package/dist/esm/it-62002867.js.map +0 -1
- package/dist/esm/it-ch-afa63d98.js +0 -66
- package/dist/esm/it-ch-afa63d98.js.map +0 -1
- package/dist/esm/ja-ae214550.js +0 -72
- package/dist/esm/ja-ae214550.js.map +0 -1
- package/dist/esm/key-b01e1fe4.js +0 -13
- package/dist/esm/key-b01e1fe4.js.map +0 -1
- package/dist/esm/ko-42cd36b3.js +0 -72
- package/dist/esm/ko-42cd36b3.js.map +0 -1
- package/dist/esm/label-b853daa7.js +0 -176
- package/dist/esm/label-b853daa7.js.map +0 -1
- package/dist/esm/loadable-e91fc681.js +0 -86
- package/dist/esm/loadable-e91fc681.js.map +0 -1
- package/dist/esm/locale-3c16311d.js +0 -563
- package/dist/esm/locale-3c16311d.js.map +0 -1
- package/dist/esm/lt-74ba9b28.js +0 -97
- package/dist/esm/lt-74ba9b28.js.map +0 -1
- package/dist/esm/lv-5ce626b7.js +0 -66
- package/dist/esm/lv-5ce626b7.js.map +0 -1
- package/dist/esm/math-921f6806.js +0 -51
- package/dist/esm/math-921f6806.js.map +0 -1
- package/dist/esm/mk-d8ee78e9.js +0 -66
- package/dist/esm/mk-d8ee78e9.js.map +0 -1
- package/dist/esm/nb-933d14b7.js +0 -67
- package/dist/esm/nb-933d14b7.js.map +0 -1
- package/dist/esm/nl-b462ef4e.js +0 -67
- package/dist/esm/nl-b462ef4e.js.map +0 -1
- package/dist/esm/observers-1e1893e0.js +0 -48
- package/dist/esm/observers-1e1893e0.js.map +0 -1
- package/dist/esm/openCloseComponent-f13e36af.js +0 -87
- package/dist/esm/openCloseComponent-f13e36af.js.map +0 -1
- package/dist/esm/pl-f6c9c8cb.js +0 -114
- package/dist/esm/pl-f6c9c8cb.js.map +0 -1
- package/dist/esm/pt-br-c24ed964.js +0 -65
- package/dist/esm/pt-br-c24ed964.js.map +0 -1
- package/dist/esm/pt-ed3c6e8b.js +0 -67
- package/dist/esm/pt-ed3c6e8b.js.map +0 -1
- package/dist/esm/resources-187e2daa.js +0 -23
- package/dist/esm/resources-187e2daa.js.map +0 -1
- package/dist/esm/resources-1c339606.js +0 -21
- package/dist/esm/resources-1c339606.js.map +0 -1
- package/dist/esm/resources-3038aca1.js +0 -387
- package/dist/esm/resources-3038aca1.js.map +0 -1
- package/dist/esm/resources-4a1418d0.js +0 -45
- package/dist/esm/resources-4a1418d0.js.map +0 -1
- package/dist/esm/resources-7fe2839f.js +0 -25
- package/dist/esm/resources-7fe2839f.js.map +0 -1
- package/dist/esm/resources-861d2bdc.js +0 -19
- package/dist/esm/resources-861d2bdc.js.map +0 -1
- package/dist/esm/resources-ae7ab2d6.js +0 -17
- package/dist/esm/resources-ae7ab2d6.js.map +0 -1
- package/dist/esm/ro-e24f0eb7.js +0 -66
- package/dist/esm/ro-e24f0eb7.js.map +0 -1
- package/dist/esm/ru-e0027e38.js +0 -126
- package/dist/esm/ru-e0027e38.js.map +0 -1
- package/dist/esm/sk-e021c370.js +0 -148
- package/dist/esm/sk-e021c370.js.map +0 -1
- package/dist/esm/sl-732a10dc.js +0 -168
- package/dist/esm/sl-732a10dc.js.map +0 -1
- package/dist/esm/sortableComponent-114d2347.js +0 -2735
- package/dist/esm/sortableComponent-114d2347.js.map +0 -1
- package/dist/esm/sr-f6ead27a.js +0 -101
- package/dist/esm/sr-f6ead27a.js.map +0 -1
- package/dist/esm/sv-d851cbad.js +0 -71
- package/dist/esm/sv-d851cbad.js.map +0 -1
- package/dist/esm/t9n-fc4d7f56.js +0 -92
- package/dist/esm/t9n-fc4d7f56.js.map +0 -1
- package/dist/esm/th-0f15da38.js +0 -65
- package/dist/esm/th-0f15da38.js.map +0 -1
- package/dist/esm/throttle-62da2ccc.js +0 -75
- package/dist/esm/throttle-62da2ccc.js.map +0 -1
- package/dist/esm/tr-7d58d805.js +0 -66
- package/dist/esm/tr-7d58d805.js.map +0 -1
- package/dist/esm/uk-a3ecd43b.js +0 -104
- package/dist/esm/uk-a3ecd43b.js.map +0 -1
- package/dist/esm/utils-a6170a61.js +0 -289
- package/dist/esm/utils-a6170a61.js.map +0 -1
- package/dist/esm/utils-ddf44969.js +0 -200
- package/dist/esm/utils-ddf44969.js.map +0 -1
- package/dist/esm/vi-e6608784.js +0 -70
- package/dist/esm/vi-e6608784.js.map +0 -1
- package/dist/esm/zh-cn-b67a8649.js +0 -94
- package/dist/esm/zh-cn-b67a8649.js.map +0 -1
- package/dist/esm/zh-hk-282a8e94.js +0 -71
- package/dist/esm/zh-hk-282a8e94.js.map +0 -1
- package/dist/esm/zh-tw-77b21489.js +0 -92
- package/dist/esm/zh-tw-77b21489.js.map +0 -1
- /package/dist/calcite/{p-c83997bc.entry.js.map → p-00811dc7.entry.js.map} +0 -0
- /package/dist/calcite/{p-f861810d.js.map → p-0625872c.js.map} +0 -0
- /package/dist/calcite/{p-88235bb5.js.map → p-084add8e.js.map} +0 -0
- /package/dist/calcite/{p-3094fdeb.js.map → p-0c9f0b66.js.map} +0 -0
- /package/dist/calcite/{p-f1dfe371.js.map → p-10b76a2b.js.map} +0 -0
- /package/dist/calcite/{p-f73aaed8.js.map → p-120a39ca.js.map} +0 -0
- /package/dist/calcite/{p-7aabf34a.entry.js.map → p-12eb1f3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-a570e9d8.entry.js.map → p-139e85d4.entry.js.map} +0 -0
- /package/dist/calcite/{p-7ab6a0cd.js.map → p-18359ae7.js.map} +0 -0
- /package/dist/calcite/{p-f498f0e1.entry.js.map → p-184d4d53.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ad3f590.entry.js.map → p-1a280990.entry.js.map} +0 -0
- /package/dist/calcite/{p-49814e41.entry.js.map → p-1ad245bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-4abdccae.entry.js.map → p-1bd1e6ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-b9f32da9.entry.js.map → p-1cd75980.entry.js.map} +0 -0
- /package/dist/calcite/{p-270b8733.js.map → p-1df035e4.js.map} +0 -0
- /package/dist/calcite/{p-4ad7e3b4.js.map → p-224935be.js.map} +0 -0
- /package/dist/calcite/{p-ba942625.js.map → p-240b0637.js.map} +0 -0
- /package/dist/calcite/{p-195622fd.entry.js.map → p-24764169.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ac3c2e4.entry.js.map → p-24ff5e2e.entry.js.map} +0 -0
- /package/dist/calcite/{p-e8cd9f95.entry.js.map → p-25b93e8a.entry.js.map} +0 -0
- /package/dist/calcite/{p-d8e6e50c.entry.js.map → p-26b601d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-0a226917.entry.js.map → p-26bbbef5.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a949941.js.map → p-27d87a26.js.map} +0 -0
- /package/dist/calcite/{p-f9a83991.entry.js.map → p-280bd05c.entry.js.map} +0 -0
- /package/dist/calcite/{p-102a8a3c.entry.js.map → p-28e04e26.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b6a7d43.entry.js.map → p-29caad14.entry.js.map} +0 -0
- /package/dist/calcite/{p-d9db6b9b.js.map → p-2a711503.js.map} +0 -0
- /package/dist/calcite/{p-e7ec6bb8.js.map → p-2bef44f9.js.map} +0 -0
- /package/dist/calcite/{p-f8231dcb.js.map → p-2cf51e6d.js.map} +0 -0
- /package/dist/calcite/{p-4d1d795a.js.map → p-2dfd3047.js.map} +0 -0
- /package/dist/calcite/{p-a209805b.js.map → p-2e3c48c4.js.map} +0 -0
- /package/dist/calcite/{p-1a70e255.entry.js.map → p-31793816.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b6df6e3.js.map → p-339f4a81.js.map} +0 -0
- /package/dist/calcite/{p-c5559e48.js.map → p-38900907.js.map} +0 -0
- /package/dist/calcite/{p-b33332da.entry.js.map → p-3e5c5492.entry.js.map} +0 -0
- /package/dist/calcite/{p-2f46886e.entry.js.map → p-3f517577.entry.js.map} +0 -0
- /package/dist/calcite/{p-b885203e.entry.js.map → p-417aab79.entry.js.map} +0 -0
- /package/dist/calcite/{p-436f688a.js.map → p-4291e86c.js.map} +0 -0
- /package/dist/calcite/{p-349d9d39.js.map → p-42c60e95.js.map} +0 -0
- /package/dist/calcite/{p-c02e0865.js.map → p-437f681a.js.map} +0 -0
- /package/dist/calcite/{p-fc2de2e1.entry.js.map → p-444be2f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-218195fe.js.map → p-4645e371.js.map} +0 -0
- /package/dist/calcite/{p-392d03a3.js.map → p-46fe3554.js.map} +0 -0
- /package/dist/calcite/{p-8fad797d.js.map → p-47968591.js.map} +0 -0
- /package/dist/calcite/{p-12f9ae32.entry.js.map → p-47ca1d8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf778589.js.map → p-49c579e5.js.map} +0 -0
- /package/dist/calcite/{p-e8e58eab.entry.js.map → p-4c369960.entry.js.map} +0 -0
- /package/dist/calcite/{p-b9af6b29.entry.js.map → p-4c508da2.entry.js.map} +0 -0
- /package/dist/calcite/{p-452b6321.js.map → p-4f02bed9.js.map} +0 -0
- /package/dist/calcite/{p-3302dafe.entry.js.map → p-4f8c75d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-126e7efd.entry.js.map → p-50251139.entry.js.map} +0 -0
- /package/dist/calcite/{p-106a9b3c.entry.js.map → p-51275203.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae9db8f1.entry.js.map → p-5186eed6.entry.js.map} +0 -0
- /package/dist/calcite/{p-79ce43f7.js.map → p-59521fdf.js.map} +0 -0
- /package/dist/calcite/{p-eb9e9f2a.js.map → p-5e22872e.js.map} +0 -0
- /package/dist/calcite/{p-7ed30e3b.entry.js.map → p-5e43ab83.entry.js.map} +0 -0
- /package/dist/calcite/{p-d0504436.entry.js.map → p-5e92e1ad.entry.js.map} +0 -0
- /package/dist/calcite/{p-8c052cff.js.map → p-6079fdc2.js.map} +0 -0
- /package/dist/calcite/{p-82cf7ed8.js.map → p-622cc688.js.map} +0 -0
- /package/dist/calcite/{p-94645116.js.map → p-628662c2.js.map} +0 -0
- /package/dist/calcite/{p-2ba49f61.js.map → p-669bc42a.js.map} +0 -0
- /package/dist/calcite/{p-79d47ae7.entry.js.map → p-686f0c7c.entry.js.map} +0 -0
- /package/dist/calcite/{p-f8e7ddef.entry.js.map → p-6a1531cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-8be8d73f.js.map → p-6b06781e.js.map} +0 -0
- /package/dist/calcite/{p-bd4811d2.entry.js.map → p-6d014b44.entry.js.map} +0 -0
- /package/dist/calcite/{p-11e896ea.entry.js.map → p-6dbace39.entry.js.map} +0 -0
- /package/dist/calcite/{p-29d96e73.js.map → p-6f77b6f1.js.map} +0 -0
- /package/dist/calcite/{p-8cf807d3.js.map → p-7071a823.js.map} +0 -0
- /package/dist/calcite/{p-662e2116.js.map → p-742e73a7.js.map} +0 -0
- /package/dist/calcite/{p-33d10fc7.js.map → p-74c69a65.js.map} +0 -0
- /package/dist/calcite/{p-9dace80d.js.map → p-76c93eaf.js.map} +0 -0
- /package/dist/calcite/{p-78ba453e.js.map → p-77547406.js.map} +0 -0
- /package/dist/calcite/{p-59978662.js.map → p-78aae094.js.map} +0 -0
- /package/dist/calcite/{p-ee6f2620.entry.js.map → p-81f6135e.entry.js.map} +0 -0
- /package/dist/calcite/{p-5ae8bfd3.js.map → p-829b93e3.js.map} +0 -0
- /package/dist/calcite/{p-098dde49.entry.js.map → p-84ecb43d.entry.js.map} +0 -0
- /package/dist/calcite/{p-45e2e445.js.map → p-8624b17c.js.map} +0 -0
- /package/dist/calcite/{p-5024cc43.js.map → p-873f857b.js.map} +0 -0
- /package/dist/calcite/{p-12f73849.js.map → p-8786d071.js.map} +0 -0
- /package/dist/calcite/{p-e10e797a.js.map → p-8893aba2.js.map} +0 -0
- /package/dist/calcite/{p-bedfe651.entry.js.map → p-88e135c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-6f17d28e.js.map → p-8c52a1c8.js.map} +0 -0
- /package/dist/calcite/{p-48b67298.entry.js.map → p-8c990585.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d9815c1.js.map → p-8e00e760.js.map} +0 -0
- /package/dist/calcite/{p-a334baae.js.map → p-8fa97612.js.map} +0 -0
- /package/dist/calcite/{p-50ba23b3.entry.js.map → p-95d85b7f.entry.js.map} +0 -0
- /package/dist/calcite/{p-cae42867.entry.js.map → p-96bdb910.entry.js.map} +0 -0
- /package/dist/calcite/{p-211b17ce.entry.js.map → p-9717bac8.entry.js.map} +0 -0
- /package/dist/calcite/{p-28f1b0cd.js.map → p-996459ff.js.map} +0 -0
- /package/dist/calcite/{p-b6838251.entry.js.map → p-9966e031.entry.js.map} +0 -0
- /package/dist/calcite/{p-1d8fa933.js.map → p-9ae388ae.js.map} +0 -0
- /package/dist/calcite/{p-ecb89e48.js.map → p-9e840fe0.js.map} +0 -0
- /package/dist/calcite/{p-cc9ac333.js.map → p-a017bb90.js.map} +0 -0
- /package/dist/calcite/{p-9fe527a6.js.map → p-a01a6712.js.map} +0 -0
- /package/dist/calcite/{p-81da01ea.js.map → p-a578d140.js.map} +0 -0
- /package/dist/calcite/{p-833641c0.js.map → p-a729c4f3.js.map} +0 -0
- /package/dist/calcite/{p-d864234c.entry.js.map → p-a8923d3c.entry.js.map} +0 -0
- /package/dist/calcite/{p-93c4c54a.js.map → p-ae62a83c.js.map} +0 -0
- /package/dist/calcite/{p-9788c794.js.map → p-b000d861.js.map} +0 -0
- /package/dist/calcite/{p-84ad90ba.js.map → p-b09c39cd.js.map} +0 -0
- /package/dist/calcite/{p-f1f41147.entry.js.map → p-b122cc2d.entry.js.map} +0 -0
- /package/dist/calcite/{p-9047fdad.js.map → p-b204681b.js.map} +0 -0
- /package/dist/calcite/{p-78ebc8db.js.map → p-b2567815.js.map} +0 -0
- /package/dist/calcite/{p-990c5d41.entry.js.map → p-b2d95cee.entry.js.map} +0 -0
- /package/dist/calcite/{p-d922dc04.js.map → p-b349c937.js.map} +0 -0
- /package/dist/calcite/{p-ae902554.entry.js.map → p-b49ccbb3.entry.js.map} +0 -0
- /package/dist/calcite/{p-848d50fd.js.map → p-b7dacf13.js.map} +0 -0
- /package/dist/calcite/{p-0f6aef5f.js.map → p-bd6cd55c.js.map} +0 -0
- /package/dist/calcite/{p-68c56c33.entry.js.map → p-beacae6b.entry.js.map} +0 -0
- /package/dist/calcite/{p-bab51c05.js.map → p-bf94a9da.js.map} +0 -0
- /package/dist/calcite/{p-fb49ce47.js.map → p-c0a21175.js.map} +0 -0
- /package/dist/calcite/{p-b2da4c2f.js.map → p-c0c6ba81.js.map} +0 -0
- /package/dist/calcite/{p-f72de1cc.entry.js.map → p-c11bfb4b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6bb739a.js.map → p-c163f727.js.map} +0 -0
- /package/dist/calcite/{p-d4ea0c6e.entry.js.map → p-c3d682ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-4978e6f6.js.map → p-c444d512.js.map} +0 -0
- /package/dist/calcite/{p-c2520c09.js.map → p-c4d87776.js.map} +0 -0
- /package/dist/calcite/{p-2ba0f9e1.js.map → p-c6f03eb2.js.map} +0 -0
- /package/dist/calcite/{p-91fbe602.js.map → p-c770f80e.js.map} +0 -0
- /package/dist/calcite/{p-80fbba8e.js.map → p-c848c82e.js.map} +0 -0
- /package/dist/calcite/{p-6b63e9bf.entry.js.map → p-c88443d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b5b4ef0.entry.js.map → p-cae107a5.entry.js.map} +0 -0
- /package/dist/calcite/{p-4887bcc6.js.map → p-cde608e0.js.map} +0 -0
- /package/dist/calcite/{p-21111ff8.js.map → p-cf44a1d7.js.map} +0 -0
- /package/dist/calcite/{p-ef42a511.js.map → p-cf8695c8.js.map} +0 -0
- /package/dist/calcite/{p-67ef9330.entry.js.map → p-d00db92c.entry.js.map} +0 -0
- /package/dist/calcite/{p-2dd28699.entry.js.map → p-dab6d405.entry.js.map} +0 -0
- /package/dist/calcite/{p-343e5a25.js.map → p-e27243c0.js.map} +0 -0
- /package/dist/calcite/{p-70a06df5.js.map → p-e3062192.js.map} +0 -0
- /package/dist/calcite/{p-85b1bec3.js.map → p-e37ad8c6.js.map} +0 -0
- /package/dist/calcite/{p-16c12e8d.js.map → p-e4be124e.js.map} +0 -0
- /package/dist/calcite/{p-ef08cf8d.js.map → p-e6309157.js.map} +0 -0
- /package/dist/calcite/{p-7ce83347.js.map → p-e7173f47.js.map} +0 -0
- /package/dist/calcite/{p-192ac931.entry.js.map → p-e7771e7d.entry.js.map} +0 -0
- /package/dist/calcite/{p-cb72f3b1.js.map → p-e778acdc.js.map} +0 -0
- /package/dist/calcite/{p-4cfb8d30.js.map → p-e98961bb.js.map} +0 -0
- /package/dist/calcite/{p-c2db7c6f.entry.js.map → p-ef71966c.entry.js.map} +0 -0
- /package/dist/calcite/{p-cfde9025.entry.js.map → p-f0954ae0.entry.js.map} +0 -0
- /package/dist/calcite/{p-ecc44eea.js.map → p-f37fd38f.js.map} +0 -0
- /package/dist/calcite/{p-379211fa.js.map → p-f3e00de9.js.map} +0 -0
- /package/dist/calcite/{p-779c146e.js.map → p-f496ec2b.js.map} +0 -0
- /package/dist/calcite/{p-c6d1758c.entry.js.map → p-f4e994e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-df73ee17.entry.js.map → p-f738b6f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-f1974ab0.js.map → p-fbe97994.js.map} +0 -0
- /package/dist/calcite/{p-9281b2c6.js.map → p-fcd20445.js.map} +0 -0
- /package/dist/calcite/{p-5124ce6e.entry.js.map → p-fd042681.entry.js.map} +0 -0
- /package/dist/calcite/{p-6dfb11a1.entry.js.map → p-fd17f371.entry.js.map} +0 -0
- /package/dist/calcite/{p-145a99eb.js.map → p-fe1ca82b.js.map} +0 -0
- /package/dist/calcite/{p-905f710f.js.map → p-fed6a5bf.js.map} +0 -0
|
@@ -1,1965 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.5.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const dom = require('./dom-d4bdfc93.js');
|
|
9
|
-
const debounce = require('./debounce-0c7e1a59.js');
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Custom positioning reference element.
|
|
13
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
17
|
-
const alignments = ['start', 'end'];
|
|
18
|
-
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
19
|
-
const min = Math.min;
|
|
20
|
-
const max = Math.max;
|
|
21
|
-
const round = Math.round;
|
|
22
|
-
const floor = Math.floor;
|
|
23
|
-
const createCoords = v => ({
|
|
24
|
-
x: v,
|
|
25
|
-
y: v
|
|
26
|
-
});
|
|
27
|
-
const oppositeSideMap = {
|
|
28
|
-
left: 'right',
|
|
29
|
-
right: 'left',
|
|
30
|
-
bottom: 'top',
|
|
31
|
-
top: 'bottom'
|
|
32
|
-
};
|
|
33
|
-
const oppositeAlignmentMap = {
|
|
34
|
-
start: 'end',
|
|
35
|
-
end: 'start'
|
|
36
|
-
};
|
|
37
|
-
function clamp(start, value, end) {
|
|
38
|
-
return max(start, min(value, end));
|
|
39
|
-
}
|
|
40
|
-
function evaluate(value, param) {
|
|
41
|
-
return typeof value === 'function' ? value(param) : value;
|
|
42
|
-
}
|
|
43
|
-
function getSide(placement) {
|
|
44
|
-
return placement.split('-')[0];
|
|
45
|
-
}
|
|
46
|
-
function getAlignment(placement) {
|
|
47
|
-
return placement.split('-')[1];
|
|
48
|
-
}
|
|
49
|
-
function getOppositeAxis(axis) {
|
|
50
|
-
return axis === 'x' ? 'y' : 'x';
|
|
51
|
-
}
|
|
52
|
-
function getAxisLength(axis) {
|
|
53
|
-
return axis === 'y' ? 'height' : 'width';
|
|
54
|
-
}
|
|
55
|
-
function getSideAxis(placement) {
|
|
56
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
57
|
-
}
|
|
58
|
-
function getAlignmentAxis(placement) {
|
|
59
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
60
|
-
}
|
|
61
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
62
|
-
if (rtl === void 0) {
|
|
63
|
-
rtl = false;
|
|
64
|
-
}
|
|
65
|
-
const alignment = getAlignment(placement);
|
|
66
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
67
|
-
const length = getAxisLength(alignmentAxis);
|
|
68
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
69
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
70
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
71
|
-
}
|
|
72
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
73
|
-
}
|
|
74
|
-
function getExpandedPlacements(placement) {
|
|
75
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
76
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
77
|
-
}
|
|
78
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
79
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
80
|
-
}
|
|
81
|
-
function getSideList(side, isStart, rtl) {
|
|
82
|
-
const lr = ['left', 'right'];
|
|
83
|
-
const rl = ['right', 'left'];
|
|
84
|
-
const tb = ['top', 'bottom'];
|
|
85
|
-
const bt = ['bottom', 'top'];
|
|
86
|
-
switch (side) {
|
|
87
|
-
case 'top':
|
|
88
|
-
case 'bottom':
|
|
89
|
-
if (rtl) return isStart ? rl : lr;
|
|
90
|
-
return isStart ? lr : rl;
|
|
91
|
-
case 'left':
|
|
92
|
-
case 'right':
|
|
93
|
-
return isStart ? tb : bt;
|
|
94
|
-
default:
|
|
95
|
-
return [];
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
99
|
-
const alignment = getAlignment(placement);
|
|
100
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
101
|
-
if (alignment) {
|
|
102
|
-
list = list.map(side => side + "-" + alignment);
|
|
103
|
-
if (flipAlignment) {
|
|
104
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return list;
|
|
108
|
-
}
|
|
109
|
-
function getOppositePlacement(placement) {
|
|
110
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
111
|
-
}
|
|
112
|
-
function expandPaddingObject(padding) {
|
|
113
|
-
return {
|
|
114
|
-
top: 0,
|
|
115
|
-
right: 0,
|
|
116
|
-
bottom: 0,
|
|
117
|
-
left: 0,
|
|
118
|
-
...padding
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function getPaddingObject(padding) {
|
|
122
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
123
|
-
top: padding,
|
|
124
|
-
right: padding,
|
|
125
|
-
bottom: padding,
|
|
126
|
-
left: padding
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function rectToClientRect(rect) {
|
|
130
|
-
return {
|
|
131
|
-
...rect,
|
|
132
|
-
top: rect.y,
|
|
133
|
-
left: rect.x,
|
|
134
|
-
right: rect.x + rect.width,
|
|
135
|
-
bottom: rect.y + rect.height
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
140
|
-
let {
|
|
141
|
-
reference,
|
|
142
|
-
floating
|
|
143
|
-
} = _ref;
|
|
144
|
-
const sideAxis = getSideAxis(placement);
|
|
145
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
146
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
147
|
-
const side = getSide(placement);
|
|
148
|
-
const isVertical = sideAxis === 'y';
|
|
149
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
150
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
151
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
152
|
-
let coords;
|
|
153
|
-
switch (side) {
|
|
154
|
-
case 'top':
|
|
155
|
-
coords = {
|
|
156
|
-
x: commonX,
|
|
157
|
-
y: reference.y - floating.height
|
|
158
|
-
};
|
|
159
|
-
break;
|
|
160
|
-
case 'bottom':
|
|
161
|
-
coords = {
|
|
162
|
-
x: commonX,
|
|
163
|
-
y: reference.y + reference.height
|
|
164
|
-
};
|
|
165
|
-
break;
|
|
166
|
-
case 'right':
|
|
167
|
-
coords = {
|
|
168
|
-
x: reference.x + reference.width,
|
|
169
|
-
y: commonY
|
|
170
|
-
};
|
|
171
|
-
break;
|
|
172
|
-
case 'left':
|
|
173
|
-
coords = {
|
|
174
|
-
x: reference.x - floating.width,
|
|
175
|
-
y: commonY
|
|
176
|
-
};
|
|
177
|
-
break;
|
|
178
|
-
default:
|
|
179
|
-
coords = {
|
|
180
|
-
x: reference.x,
|
|
181
|
-
y: reference.y
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
switch (getAlignment(placement)) {
|
|
185
|
-
case 'start':
|
|
186
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
187
|
-
break;
|
|
188
|
-
case 'end':
|
|
189
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
190
|
-
break;
|
|
191
|
-
}
|
|
192
|
-
return coords;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
197
|
-
* next to a given reference element.
|
|
198
|
-
*
|
|
199
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
200
|
-
* write one for the platform you are using Floating UI with.
|
|
201
|
-
*/
|
|
202
|
-
const computePosition$1 = async (reference, floating, config) => {
|
|
203
|
-
const {
|
|
204
|
-
placement = 'bottom',
|
|
205
|
-
strategy = 'absolute',
|
|
206
|
-
middleware = [],
|
|
207
|
-
platform
|
|
208
|
-
} = config;
|
|
209
|
-
const validMiddleware = middleware.filter(Boolean);
|
|
210
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
211
|
-
let rects = await platform.getElementRects({
|
|
212
|
-
reference,
|
|
213
|
-
floating,
|
|
214
|
-
strategy
|
|
215
|
-
});
|
|
216
|
-
let {
|
|
217
|
-
x,
|
|
218
|
-
y
|
|
219
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
220
|
-
let statefulPlacement = placement;
|
|
221
|
-
let middlewareData = {};
|
|
222
|
-
let resetCount = 0;
|
|
223
|
-
for (let i = 0; i < validMiddleware.length; i++) {
|
|
224
|
-
const {
|
|
225
|
-
name,
|
|
226
|
-
fn
|
|
227
|
-
} = validMiddleware[i];
|
|
228
|
-
const {
|
|
229
|
-
x: nextX,
|
|
230
|
-
y: nextY,
|
|
231
|
-
data,
|
|
232
|
-
reset
|
|
233
|
-
} = await fn({
|
|
234
|
-
x,
|
|
235
|
-
y,
|
|
236
|
-
initialPlacement: placement,
|
|
237
|
-
placement: statefulPlacement,
|
|
238
|
-
strategy,
|
|
239
|
-
middlewareData,
|
|
240
|
-
rects,
|
|
241
|
-
platform,
|
|
242
|
-
elements: {
|
|
243
|
-
reference,
|
|
244
|
-
floating
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
x = nextX != null ? nextX : x;
|
|
248
|
-
y = nextY != null ? nextY : y;
|
|
249
|
-
middlewareData = {
|
|
250
|
-
...middlewareData,
|
|
251
|
-
[name]: {
|
|
252
|
-
...middlewareData[name],
|
|
253
|
-
...data
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
if (reset && resetCount <= 50) {
|
|
257
|
-
resetCount++;
|
|
258
|
-
if (typeof reset === 'object') {
|
|
259
|
-
if (reset.placement) {
|
|
260
|
-
statefulPlacement = reset.placement;
|
|
261
|
-
}
|
|
262
|
-
if (reset.rects) {
|
|
263
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
|
264
|
-
reference,
|
|
265
|
-
floating,
|
|
266
|
-
strategy
|
|
267
|
-
}) : reset.rects;
|
|
268
|
-
}
|
|
269
|
-
({
|
|
270
|
-
x,
|
|
271
|
-
y
|
|
272
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
273
|
-
}
|
|
274
|
-
i = -1;
|
|
275
|
-
continue;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
return {
|
|
279
|
-
x,
|
|
280
|
-
y,
|
|
281
|
-
placement: statefulPlacement,
|
|
282
|
-
strategy,
|
|
283
|
-
middlewareData
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
289
|
-
* element is overflowing a given clipping boundary on each side.
|
|
290
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
291
|
-
* - negative = how many pixels left before it will overflow
|
|
292
|
-
* - 0 = lies flush with the boundary
|
|
293
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
294
|
-
*/
|
|
295
|
-
async function detectOverflow(state, options) {
|
|
296
|
-
var _await$platform$isEle;
|
|
297
|
-
if (options === void 0) {
|
|
298
|
-
options = {};
|
|
299
|
-
}
|
|
300
|
-
const {
|
|
301
|
-
x,
|
|
302
|
-
y,
|
|
303
|
-
platform,
|
|
304
|
-
rects,
|
|
305
|
-
elements,
|
|
306
|
-
strategy
|
|
307
|
-
} = state;
|
|
308
|
-
const {
|
|
309
|
-
boundary = 'clippingAncestors',
|
|
310
|
-
rootBoundary = 'viewport',
|
|
311
|
-
elementContext = 'floating',
|
|
312
|
-
altBoundary = false,
|
|
313
|
-
padding = 0
|
|
314
|
-
} = evaluate(options, state);
|
|
315
|
-
const paddingObject = getPaddingObject(padding);
|
|
316
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
317
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
318
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
319
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
320
|
-
boundary,
|
|
321
|
-
rootBoundary,
|
|
322
|
-
strategy
|
|
323
|
-
}));
|
|
324
|
-
const rect = elementContext === 'floating' ? {
|
|
325
|
-
...rects.floating,
|
|
326
|
-
x,
|
|
327
|
-
y
|
|
328
|
-
} : rects.reference;
|
|
329
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
330
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
331
|
-
x: 1,
|
|
332
|
-
y: 1
|
|
333
|
-
} : {
|
|
334
|
-
x: 1,
|
|
335
|
-
y: 1
|
|
336
|
-
};
|
|
337
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
338
|
-
rect,
|
|
339
|
-
offsetParent,
|
|
340
|
-
strategy
|
|
341
|
-
}) : rect);
|
|
342
|
-
return {
|
|
343
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
344
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
345
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
346
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Provides data to position an inner element of the floating element so that it
|
|
352
|
-
* appears centered to the reference element.
|
|
353
|
-
* @see https://floating-ui.com/docs/arrow
|
|
354
|
-
*/
|
|
355
|
-
const arrow$1 = options => ({
|
|
356
|
-
name: 'arrow',
|
|
357
|
-
options,
|
|
358
|
-
async fn(state) {
|
|
359
|
-
const {
|
|
360
|
-
x,
|
|
361
|
-
y,
|
|
362
|
-
placement,
|
|
363
|
-
rects,
|
|
364
|
-
platform,
|
|
365
|
-
elements,
|
|
366
|
-
middlewareData
|
|
367
|
-
} = state;
|
|
368
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
369
|
-
const {
|
|
370
|
-
element,
|
|
371
|
-
padding = 0
|
|
372
|
-
} = evaluate(options, state) || {};
|
|
373
|
-
if (element == null) {
|
|
374
|
-
return {};
|
|
375
|
-
}
|
|
376
|
-
const paddingObject = getPaddingObject(padding);
|
|
377
|
-
const coords = {
|
|
378
|
-
x,
|
|
379
|
-
y
|
|
380
|
-
};
|
|
381
|
-
const axis = getAlignmentAxis(placement);
|
|
382
|
-
const length = getAxisLength(axis);
|
|
383
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
384
|
-
const isYAxis = axis === 'y';
|
|
385
|
-
const minProp = isYAxis ? 'top' : 'left';
|
|
386
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
387
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
388
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
389
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
390
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
391
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
392
|
-
|
|
393
|
-
// DOM platform can return `window` as the `offsetParent`.
|
|
394
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
395
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
396
|
-
}
|
|
397
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
398
|
-
|
|
399
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
|
400
|
-
// centered, modify the padding so that it is centered.
|
|
401
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
402
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
403
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
404
|
-
|
|
405
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
|
406
|
-
// point is outside the floating element's bounds.
|
|
407
|
-
const min$1 = minPadding;
|
|
408
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
409
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
410
|
-
const offset = clamp(min$1, center, max);
|
|
411
|
-
|
|
412
|
-
// If the reference is small enough that the arrow's padding causes it to
|
|
413
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
|
414
|
-
// floating element itself. To ensure `shift()` continues to take action,
|
|
415
|
-
// a single reset is performed when this is true.
|
|
416
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
417
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
418
|
-
return {
|
|
419
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
420
|
-
data: {
|
|
421
|
-
[axis]: offset,
|
|
422
|
-
centerOffset: center - offset - alignmentOffset,
|
|
423
|
-
...(shouldAddOffset && {
|
|
424
|
-
alignmentOffset
|
|
425
|
-
})
|
|
426
|
-
},
|
|
427
|
-
reset: shouldAddOffset
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
});
|
|
431
|
-
|
|
432
|
-
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
433
|
-
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
434
|
-
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
435
|
-
if (alignment) {
|
|
436
|
-
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
437
|
-
}
|
|
438
|
-
return true;
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
443
|
-
* that has the most space available automatically, without needing to specify a
|
|
444
|
-
* preferred placement. Alternative to `flip`.
|
|
445
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
446
|
-
*/
|
|
447
|
-
const autoPlacement$1 = function (options) {
|
|
448
|
-
if (options === void 0) {
|
|
449
|
-
options = {};
|
|
450
|
-
}
|
|
451
|
-
return {
|
|
452
|
-
name: 'autoPlacement',
|
|
453
|
-
options,
|
|
454
|
-
async fn(state) {
|
|
455
|
-
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
456
|
-
const {
|
|
457
|
-
rects,
|
|
458
|
-
middlewareData,
|
|
459
|
-
placement,
|
|
460
|
-
platform,
|
|
461
|
-
elements
|
|
462
|
-
} = state;
|
|
463
|
-
const {
|
|
464
|
-
crossAxis = false,
|
|
465
|
-
alignment,
|
|
466
|
-
allowedPlacements = placements,
|
|
467
|
-
autoAlignment = true,
|
|
468
|
-
...detectOverflowOptions
|
|
469
|
-
} = evaluate(options, state);
|
|
470
|
-
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
471
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
472
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
473
|
-
const currentPlacement = placements$1[currentIndex];
|
|
474
|
-
if (currentPlacement == null) {
|
|
475
|
-
return {};
|
|
476
|
-
}
|
|
477
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
478
|
-
|
|
479
|
-
// Make `computeCoords` start from the right place.
|
|
480
|
-
if (placement !== currentPlacement) {
|
|
481
|
-
return {
|
|
482
|
-
reset: {
|
|
483
|
-
placement: placements$1[0]
|
|
484
|
-
}
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
488
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
489
|
-
placement: currentPlacement,
|
|
490
|
-
overflows: currentOverflows
|
|
491
|
-
}];
|
|
492
|
-
const nextPlacement = placements$1[currentIndex + 1];
|
|
493
|
-
|
|
494
|
-
// There are more placements to check.
|
|
495
|
-
if (nextPlacement) {
|
|
496
|
-
return {
|
|
497
|
-
data: {
|
|
498
|
-
index: currentIndex + 1,
|
|
499
|
-
overflows: allOverflows
|
|
500
|
-
},
|
|
501
|
-
reset: {
|
|
502
|
-
placement: nextPlacement
|
|
503
|
-
}
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
507
|
-
const alignment = getAlignment(d.placement);
|
|
508
|
-
return [d.placement, alignment && crossAxis ?
|
|
509
|
-
// Check along the mainAxis and main crossAxis side.
|
|
510
|
-
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
511
|
-
// Check only the mainAxis.
|
|
512
|
-
d.overflows[0], d.overflows];
|
|
513
|
-
}).sort((a, b) => a[1] - b[1]);
|
|
514
|
-
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
515
|
-
// Aligned placements should not check their opposite crossAxis
|
|
516
|
-
// side.
|
|
517
|
-
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
518
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
519
|
-
if (resetPlacement !== placement) {
|
|
520
|
-
return {
|
|
521
|
-
data: {
|
|
522
|
-
index: currentIndex + 1,
|
|
523
|
-
overflows: allOverflows
|
|
524
|
-
},
|
|
525
|
-
reset: {
|
|
526
|
-
placement: resetPlacement
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
return {};
|
|
531
|
-
}
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
537
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
538
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
539
|
-
* @see https://floating-ui.com/docs/flip
|
|
540
|
-
*/
|
|
541
|
-
const flip$1 = function (options) {
|
|
542
|
-
if (options === void 0) {
|
|
543
|
-
options = {};
|
|
544
|
-
}
|
|
545
|
-
return {
|
|
546
|
-
name: 'flip',
|
|
547
|
-
options,
|
|
548
|
-
async fn(state) {
|
|
549
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
550
|
-
const {
|
|
551
|
-
placement,
|
|
552
|
-
middlewareData,
|
|
553
|
-
rects,
|
|
554
|
-
initialPlacement,
|
|
555
|
-
platform,
|
|
556
|
-
elements
|
|
557
|
-
} = state;
|
|
558
|
-
const {
|
|
559
|
-
mainAxis: checkMainAxis = true,
|
|
560
|
-
crossAxis: checkCrossAxis = true,
|
|
561
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
562
|
-
fallbackStrategy = 'bestFit',
|
|
563
|
-
fallbackAxisSideDirection = 'none',
|
|
564
|
-
flipAlignment = true,
|
|
565
|
-
...detectOverflowOptions
|
|
566
|
-
} = evaluate(options, state);
|
|
567
|
-
|
|
568
|
-
// If a reset by the arrow was caused due to an alignment offset being
|
|
569
|
-
// added, we should skip any logic now since `flip()` has already done its
|
|
570
|
-
// work.
|
|
571
|
-
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
572
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
573
|
-
return {};
|
|
574
|
-
}
|
|
575
|
-
const side = getSide(placement);
|
|
576
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
577
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
578
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
579
|
-
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
580
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
581
|
-
}
|
|
582
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
583
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
584
|
-
const overflows = [];
|
|
585
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
586
|
-
if (checkMainAxis) {
|
|
587
|
-
overflows.push(overflow[side]);
|
|
588
|
-
}
|
|
589
|
-
if (checkCrossAxis) {
|
|
590
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
591
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
592
|
-
}
|
|
593
|
-
overflowsData = [...overflowsData, {
|
|
594
|
-
placement,
|
|
595
|
-
overflows
|
|
596
|
-
}];
|
|
597
|
-
|
|
598
|
-
// One or more sides is overflowing.
|
|
599
|
-
if (!overflows.every(side => side <= 0)) {
|
|
600
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
601
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
602
|
-
const nextPlacement = placements[nextIndex];
|
|
603
|
-
if (nextPlacement) {
|
|
604
|
-
// Try next placement and re-run the lifecycle.
|
|
605
|
-
return {
|
|
606
|
-
data: {
|
|
607
|
-
index: nextIndex,
|
|
608
|
-
overflows: overflowsData
|
|
609
|
-
},
|
|
610
|
-
reset: {
|
|
611
|
-
placement: nextPlacement
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
617
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
618
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
619
|
-
|
|
620
|
-
// Otherwise fallback.
|
|
621
|
-
if (!resetPlacement) {
|
|
622
|
-
switch (fallbackStrategy) {
|
|
623
|
-
case 'bestFit':
|
|
624
|
-
{
|
|
625
|
-
var _overflowsData$map$so;
|
|
626
|
-
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
|
627
|
-
if (placement) {
|
|
628
|
-
resetPlacement = placement;
|
|
629
|
-
}
|
|
630
|
-
break;
|
|
631
|
-
}
|
|
632
|
-
case 'initialPlacement':
|
|
633
|
-
resetPlacement = initialPlacement;
|
|
634
|
-
break;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
if (placement !== resetPlacement) {
|
|
638
|
-
return {
|
|
639
|
-
reset: {
|
|
640
|
-
placement: resetPlacement
|
|
641
|
-
}
|
|
642
|
-
};
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
return {};
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
|
|
650
|
-
function getSideOffsets(overflow, rect) {
|
|
651
|
-
return {
|
|
652
|
-
top: overflow.top - rect.height,
|
|
653
|
-
right: overflow.right - rect.width,
|
|
654
|
-
bottom: overflow.bottom - rect.height,
|
|
655
|
-
left: overflow.left - rect.width
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
function isAnySideFullyClipped(overflow) {
|
|
659
|
-
return sides.some(side => overflow[side] >= 0);
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
663
|
-
* when it is not in the same clipping context as the reference element.
|
|
664
|
-
* @see https://floating-ui.com/docs/hide
|
|
665
|
-
*/
|
|
666
|
-
const hide$1 = function (options) {
|
|
667
|
-
if (options === void 0) {
|
|
668
|
-
options = {};
|
|
669
|
-
}
|
|
670
|
-
return {
|
|
671
|
-
name: 'hide',
|
|
672
|
-
options,
|
|
673
|
-
async fn(state) {
|
|
674
|
-
const {
|
|
675
|
-
rects
|
|
676
|
-
} = state;
|
|
677
|
-
const {
|
|
678
|
-
strategy = 'referenceHidden',
|
|
679
|
-
...detectOverflowOptions
|
|
680
|
-
} = evaluate(options, state);
|
|
681
|
-
switch (strategy) {
|
|
682
|
-
case 'referenceHidden':
|
|
683
|
-
{
|
|
684
|
-
const overflow = await detectOverflow(state, {
|
|
685
|
-
...detectOverflowOptions,
|
|
686
|
-
elementContext: 'reference'
|
|
687
|
-
});
|
|
688
|
-
const offsets = getSideOffsets(overflow, rects.reference);
|
|
689
|
-
return {
|
|
690
|
-
data: {
|
|
691
|
-
referenceHiddenOffsets: offsets,
|
|
692
|
-
referenceHidden: isAnySideFullyClipped(offsets)
|
|
693
|
-
}
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
case 'escaped':
|
|
697
|
-
{
|
|
698
|
-
const overflow = await detectOverflow(state, {
|
|
699
|
-
...detectOverflowOptions,
|
|
700
|
-
altBoundary: true
|
|
701
|
-
});
|
|
702
|
-
const offsets = getSideOffsets(overflow, rects.floating);
|
|
703
|
-
return {
|
|
704
|
-
data: {
|
|
705
|
-
escapedOffsets: offsets,
|
|
706
|
-
escaped: isAnySideFullyClipped(offsets)
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
}
|
|
710
|
-
default:
|
|
711
|
-
{
|
|
712
|
-
return {};
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
|
|
719
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
720
|
-
// Derivable.
|
|
721
|
-
|
|
722
|
-
async function convertValueToCoords(state, options) {
|
|
723
|
-
const {
|
|
724
|
-
placement,
|
|
725
|
-
platform,
|
|
726
|
-
elements
|
|
727
|
-
} = state;
|
|
728
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
729
|
-
const side = getSide(placement);
|
|
730
|
-
const alignment = getAlignment(placement);
|
|
731
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
732
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
733
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
734
|
-
const rawValue = evaluate(options, state);
|
|
735
|
-
|
|
736
|
-
// eslint-disable-next-line prefer-const
|
|
737
|
-
let {
|
|
738
|
-
mainAxis,
|
|
739
|
-
crossAxis,
|
|
740
|
-
alignmentAxis
|
|
741
|
-
} = typeof rawValue === 'number' ? {
|
|
742
|
-
mainAxis: rawValue,
|
|
743
|
-
crossAxis: 0,
|
|
744
|
-
alignmentAxis: null
|
|
745
|
-
} : {
|
|
746
|
-
mainAxis: 0,
|
|
747
|
-
crossAxis: 0,
|
|
748
|
-
alignmentAxis: null,
|
|
749
|
-
...rawValue
|
|
750
|
-
};
|
|
751
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
752
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
753
|
-
}
|
|
754
|
-
return isVertical ? {
|
|
755
|
-
x: crossAxis * crossAxisMulti,
|
|
756
|
-
y: mainAxis * mainAxisMulti
|
|
757
|
-
} : {
|
|
758
|
-
x: mainAxis * mainAxisMulti,
|
|
759
|
-
y: crossAxis * crossAxisMulti
|
|
760
|
-
};
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* Modifies the placement by translating the floating element along the
|
|
765
|
-
* specified axes.
|
|
766
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
767
|
-
* object may be passed.
|
|
768
|
-
* @see https://floating-ui.com/docs/offset
|
|
769
|
-
*/
|
|
770
|
-
const offset = function (options) {
|
|
771
|
-
if (options === void 0) {
|
|
772
|
-
options = 0;
|
|
773
|
-
}
|
|
774
|
-
return {
|
|
775
|
-
name: 'offset',
|
|
776
|
-
options,
|
|
777
|
-
async fn(state) {
|
|
778
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
779
|
-
const {
|
|
780
|
-
x,
|
|
781
|
-
y,
|
|
782
|
-
placement,
|
|
783
|
-
middlewareData
|
|
784
|
-
} = state;
|
|
785
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
786
|
-
|
|
787
|
-
// If the placement is the same and the arrow caused an alignment offset
|
|
788
|
-
// then we don't need to change the positioning coordinates.
|
|
789
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
790
|
-
return {};
|
|
791
|
-
}
|
|
792
|
-
return {
|
|
793
|
-
x: x + diffCoords.x,
|
|
794
|
-
y: y + diffCoords.y,
|
|
795
|
-
data: {
|
|
796
|
-
...diffCoords,
|
|
797
|
-
placement
|
|
798
|
-
}
|
|
799
|
-
};
|
|
800
|
-
}
|
|
801
|
-
};
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
806
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
807
|
-
* @see https://floating-ui.com/docs/shift
|
|
808
|
-
*/
|
|
809
|
-
const shift$1 = function (options) {
|
|
810
|
-
if (options === void 0) {
|
|
811
|
-
options = {};
|
|
812
|
-
}
|
|
813
|
-
return {
|
|
814
|
-
name: 'shift',
|
|
815
|
-
options,
|
|
816
|
-
async fn(state) {
|
|
817
|
-
const {
|
|
818
|
-
x,
|
|
819
|
-
y,
|
|
820
|
-
placement
|
|
821
|
-
} = state;
|
|
822
|
-
const {
|
|
823
|
-
mainAxis: checkMainAxis = true,
|
|
824
|
-
crossAxis: checkCrossAxis = false,
|
|
825
|
-
limiter = {
|
|
826
|
-
fn: _ref => {
|
|
827
|
-
let {
|
|
828
|
-
x,
|
|
829
|
-
y
|
|
830
|
-
} = _ref;
|
|
831
|
-
return {
|
|
832
|
-
x,
|
|
833
|
-
y
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
},
|
|
837
|
-
...detectOverflowOptions
|
|
838
|
-
} = evaluate(options, state);
|
|
839
|
-
const coords = {
|
|
840
|
-
x,
|
|
841
|
-
y
|
|
842
|
-
};
|
|
843
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
844
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
845
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
846
|
-
let mainAxisCoord = coords[mainAxis];
|
|
847
|
-
let crossAxisCoord = coords[crossAxis];
|
|
848
|
-
if (checkMainAxis) {
|
|
849
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
850
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
851
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
852
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
853
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
854
|
-
}
|
|
855
|
-
if (checkCrossAxis) {
|
|
856
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
857
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
858
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
859
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
860
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
861
|
-
}
|
|
862
|
-
const limitedCoords = limiter.fn({
|
|
863
|
-
...state,
|
|
864
|
-
[mainAxis]: mainAxisCoord,
|
|
865
|
-
[crossAxis]: crossAxisCoord
|
|
866
|
-
});
|
|
867
|
-
return {
|
|
868
|
-
...limitedCoords,
|
|
869
|
-
data: {
|
|
870
|
-
x: limitedCoords.x - x,
|
|
871
|
-
y: limitedCoords.y - y
|
|
872
|
-
}
|
|
873
|
-
};
|
|
874
|
-
}
|
|
875
|
-
};
|
|
876
|
-
};
|
|
877
|
-
|
|
878
|
-
function getNodeName(node) {
|
|
879
|
-
if (isNode(node)) {
|
|
880
|
-
return (node.nodeName || '').toLowerCase();
|
|
881
|
-
}
|
|
882
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
883
|
-
// returning `#document` an infinite loop won't occur.
|
|
884
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
885
|
-
return '#document';
|
|
886
|
-
}
|
|
887
|
-
function getWindow(node) {
|
|
888
|
-
var _node$ownerDocument;
|
|
889
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
890
|
-
}
|
|
891
|
-
function getDocumentElement(node) {
|
|
892
|
-
var _ref;
|
|
893
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
894
|
-
}
|
|
895
|
-
function isNode(value) {
|
|
896
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
897
|
-
}
|
|
898
|
-
function isElement(value) {
|
|
899
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
900
|
-
}
|
|
901
|
-
function isHTMLElement(value) {
|
|
902
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
903
|
-
}
|
|
904
|
-
function isShadowRoot(value) {
|
|
905
|
-
// Browsers without `ShadowRoot` support.
|
|
906
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
907
|
-
return false;
|
|
908
|
-
}
|
|
909
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
910
|
-
}
|
|
911
|
-
function isOverflowElement(element) {
|
|
912
|
-
const {
|
|
913
|
-
overflow,
|
|
914
|
-
overflowX,
|
|
915
|
-
overflowY,
|
|
916
|
-
display
|
|
917
|
-
} = getComputedStyle$1(element);
|
|
918
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
919
|
-
}
|
|
920
|
-
function isTableElement(element) {
|
|
921
|
-
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
922
|
-
}
|
|
923
|
-
function isContainingBlock(element) {
|
|
924
|
-
const webkit = isWebKit();
|
|
925
|
-
const css = getComputedStyle$1(element);
|
|
926
|
-
|
|
927
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
928
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
929
|
-
}
|
|
930
|
-
function getContainingBlock(element) {
|
|
931
|
-
let currentNode = getParentNode(element);
|
|
932
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
933
|
-
if (isContainingBlock(currentNode)) {
|
|
934
|
-
return currentNode;
|
|
935
|
-
} else {
|
|
936
|
-
currentNode = getParentNode(currentNode);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
return null;
|
|
940
|
-
}
|
|
941
|
-
function isWebKit() {
|
|
942
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
943
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
944
|
-
}
|
|
945
|
-
function isLastTraversableNode(node) {
|
|
946
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
947
|
-
}
|
|
948
|
-
function getComputedStyle$1(element) {
|
|
949
|
-
return getWindow(element).getComputedStyle(element);
|
|
950
|
-
}
|
|
951
|
-
function getNodeScroll(element) {
|
|
952
|
-
if (isElement(element)) {
|
|
953
|
-
return {
|
|
954
|
-
scrollLeft: element.scrollLeft,
|
|
955
|
-
scrollTop: element.scrollTop
|
|
956
|
-
};
|
|
957
|
-
}
|
|
958
|
-
return {
|
|
959
|
-
scrollLeft: element.pageXOffset,
|
|
960
|
-
scrollTop: element.pageYOffset
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
function getParentNode(node) {
|
|
964
|
-
if (getNodeName(node) === 'html') {
|
|
965
|
-
return node;
|
|
966
|
-
}
|
|
967
|
-
const result =
|
|
968
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
969
|
-
node.assignedSlot ||
|
|
970
|
-
// DOM Element detected.
|
|
971
|
-
node.parentNode ||
|
|
972
|
-
// ShadowRoot detected.
|
|
973
|
-
isShadowRoot(node) && node.host ||
|
|
974
|
-
// Fallback.
|
|
975
|
-
getDocumentElement(node);
|
|
976
|
-
return isShadowRoot(result) ? result.host : result;
|
|
977
|
-
}
|
|
978
|
-
function getNearestOverflowAncestor(node) {
|
|
979
|
-
const parentNode = getParentNode(node);
|
|
980
|
-
if (isLastTraversableNode(parentNode)) {
|
|
981
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
982
|
-
}
|
|
983
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
984
|
-
return parentNode;
|
|
985
|
-
}
|
|
986
|
-
return getNearestOverflowAncestor(parentNode);
|
|
987
|
-
}
|
|
988
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
989
|
-
var _node$ownerDocument2;
|
|
990
|
-
if (list === void 0) {
|
|
991
|
-
list = [];
|
|
992
|
-
}
|
|
993
|
-
if (traverseIframes === void 0) {
|
|
994
|
-
traverseIframes = true;
|
|
995
|
-
}
|
|
996
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
997
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
998
|
-
const win = getWindow(scrollableAncestor);
|
|
999
|
-
if (isBody) {
|
|
1000
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
1001
|
-
}
|
|
1002
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
function getCssDimensions(element) {
|
|
1006
|
-
const css = getComputedStyle$1(element);
|
|
1007
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
1008
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1009
|
-
let width = parseFloat(css.width) || 0;
|
|
1010
|
-
let height = parseFloat(css.height) || 0;
|
|
1011
|
-
const hasOffset = isHTMLElement(element);
|
|
1012
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1013
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1014
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1015
|
-
if (shouldFallback) {
|
|
1016
|
-
width = offsetWidth;
|
|
1017
|
-
height = offsetHeight;
|
|
1018
|
-
}
|
|
1019
|
-
return {
|
|
1020
|
-
width,
|
|
1021
|
-
height,
|
|
1022
|
-
$: shouldFallback
|
|
1023
|
-
};
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
function unwrapElement(element) {
|
|
1027
|
-
return !isElement(element) ? element.contextElement : element;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
function getScale(element) {
|
|
1031
|
-
const domElement = unwrapElement(element);
|
|
1032
|
-
if (!isHTMLElement(domElement)) {
|
|
1033
|
-
return createCoords(1);
|
|
1034
|
-
}
|
|
1035
|
-
const rect = domElement.getBoundingClientRect();
|
|
1036
|
-
const {
|
|
1037
|
-
width,
|
|
1038
|
-
height,
|
|
1039
|
-
$
|
|
1040
|
-
} = getCssDimensions(domElement);
|
|
1041
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1042
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1043
|
-
|
|
1044
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
1045
|
-
|
|
1046
|
-
if (!x || !Number.isFinite(x)) {
|
|
1047
|
-
x = 1;
|
|
1048
|
-
}
|
|
1049
|
-
if (!y || !Number.isFinite(y)) {
|
|
1050
|
-
y = 1;
|
|
1051
|
-
}
|
|
1052
|
-
return {
|
|
1053
|
-
x,
|
|
1054
|
-
y
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1059
|
-
function getVisualOffsets(element) {
|
|
1060
|
-
const win = getWindow(element);
|
|
1061
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
1062
|
-
return noOffsets;
|
|
1063
|
-
}
|
|
1064
|
-
return {
|
|
1065
|
-
x: win.visualViewport.offsetLeft,
|
|
1066
|
-
y: win.visualViewport.offsetTop
|
|
1067
|
-
};
|
|
1068
|
-
}
|
|
1069
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1070
|
-
if (isFixed === void 0) {
|
|
1071
|
-
isFixed = false;
|
|
1072
|
-
}
|
|
1073
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1074
|
-
return false;
|
|
1075
|
-
}
|
|
1076
|
-
return isFixed;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1080
|
-
if (includeScale === void 0) {
|
|
1081
|
-
includeScale = false;
|
|
1082
|
-
}
|
|
1083
|
-
if (isFixedStrategy === void 0) {
|
|
1084
|
-
isFixedStrategy = false;
|
|
1085
|
-
}
|
|
1086
|
-
const clientRect = element.getBoundingClientRect();
|
|
1087
|
-
const domElement = unwrapElement(element);
|
|
1088
|
-
let scale = createCoords(1);
|
|
1089
|
-
if (includeScale) {
|
|
1090
|
-
if (offsetParent) {
|
|
1091
|
-
if (isElement(offsetParent)) {
|
|
1092
|
-
scale = getScale(offsetParent);
|
|
1093
|
-
}
|
|
1094
|
-
} else {
|
|
1095
|
-
scale = getScale(element);
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1099
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1100
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1101
|
-
let width = clientRect.width / scale.x;
|
|
1102
|
-
let height = clientRect.height / scale.y;
|
|
1103
|
-
if (domElement) {
|
|
1104
|
-
const win = getWindow(domElement);
|
|
1105
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1106
|
-
let currentIFrame = win.frameElement;
|
|
1107
|
-
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1108
|
-
const iframeScale = getScale(currentIFrame);
|
|
1109
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1110
|
-
const css = getComputedStyle$1(currentIFrame);
|
|
1111
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1112
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1113
|
-
x *= iframeScale.x;
|
|
1114
|
-
y *= iframeScale.y;
|
|
1115
|
-
width *= iframeScale.x;
|
|
1116
|
-
height *= iframeScale.y;
|
|
1117
|
-
x += left;
|
|
1118
|
-
y += top;
|
|
1119
|
-
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
return rectToClientRect({
|
|
1123
|
-
width,
|
|
1124
|
-
height,
|
|
1125
|
-
x,
|
|
1126
|
-
y
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1131
|
-
let {
|
|
1132
|
-
rect,
|
|
1133
|
-
offsetParent,
|
|
1134
|
-
strategy
|
|
1135
|
-
} = _ref;
|
|
1136
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1137
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1138
|
-
if (offsetParent === documentElement) {
|
|
1139
|
-
return rect;
|
|
1140
|
-
}
|
|
1141
|
-
let scroll = {
|
|
1142
|
-
scrollLeft: 0,
|
|
1143
|
-
scrollTop: 0
|
|
1144
|
-
};
|
|
1145
|
-
let scale = createCoords(1);
|
|
1146
|
-
const offsets = createCoords(0);
|
|
1147
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1148
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1149
|
-
scroll = getNodeScroll(offsetParent);
|
|
1150
|
-
}
|
|
1151
|
-
if (isHTMLElement(offsetParent)) {
|
|
1152
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1153
|
-
scale = getScale(offsetParent);
|
|
1154
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1155
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
return {
|
|
1159
|
-
width: rect.width * scale.x,
|
|
1160
|
-
height: rect.height * scale.y,
|
|
1161
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1162
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1163
|
-
};
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
function getClientRects(element) {
|
|
1167
|
-
return Array.from(element.getClientRects());
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
function getWindowScrollBarX(element) {
|
|
1171
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1172
|
-
// incorrect for RTL.
|
|
1173
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
1177
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1178
|
-
function getDocumentRect(element) {
|
|
1179
|
-
const html = getDocumentElement(element);
|
|
1180
|
-
const scroll = getNodeScroll(element);
|
|
1181
|
-
const body = element.ownerDocument.body;
|
|
1182
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1183
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1184
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1185
|
-
const y = -scroll.scrollTop;
|
|
1186
|
-
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1187
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1188
|
-
}
|
|
1189
|
-
return {
|
|
1190
|
-
width,
|
|
1191
|
-
height,
|
|
1192
|
-
x,
|
|
1193
|
-
y
|
|
1194
|
-
};
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
function getViewportRect(element, strategy) {
|
|
1198
|
-
const win = getWindow(element);
|
|
1199
|
-
const html = getDocumentElement(element);
|
|
1200
|
-
const visualViewport = win.visualViewport;
|
|
1201
|
-
let width = html.clientWidth;
|
|
1202
|
-
let height = html.clientHeight;
|
|
1203
|
-
let x = 0;
|
|
1204
|
-
let y = 0;
|
|
1205
|
-
if (visualViewport) {
|
|
1206
|
-
width = visualViewport.width;
|
|
1207
|
-
height = visualViewport.height;
|
|
1208
|
-
const visualViewportBased = isWebKit();
|
|
1209
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1210
|
-
x = visualViewport.offsetLeft;
|
|
1211
|
-
y = visualViewport.offsetTop;
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
return {
|
|
1215
|
-
width,
|
|
1216
|
-
height,
|
|
1217
|
-
x,
|
|
1218
|
-
y
|
|
1219
|
-
};
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1223
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1224
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1225
|
-
const top = clientRect.top + element.clientTop;
|
|
1226
|
-
const left = clientRect.left + element.clientLeft;
|
|
1227
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1228
|
-
const width = element.clientWidth * scale.x;
|
|
1229
|
-
const height = element.clientHeight * scale.y;
|
|
1230
|
-
const x = left * scale.x;
|
|
1231
|
-
const y = top * scale.y;
|
|
1232
|
-
return {
|
|
1233
|
-
width,
|
|
1234
|
-
height,
|
|
1235
|
-
x,
|
|
1236
|
-
y
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1240
|
-
let rect;
|
|
1241
|
-
if (clippingAncestor === 'viewport') {
|
|
1242
|
-
rect = getViewportRect(element, strategy);
|
|
1243
|
-
} else if (clippingAncestor === 'document') {
|
|
1244
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1245
|
-
} else if (isElement(clippingAncestor)) {
|
|
1246
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1247
|
-
} else {
|
|
1248
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1249
|
-
rect = {
|
|
1250
|
-
...clippingAncestor,
|
|
1251
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1252
|
-
y: clippingAncestor.y - visualOffsets.y
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
return rectToClientRect(rect);
|
|
1256
|
-
}
|
|
1257
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1258
|
-
const parentNode = getParentNode(element);
|
|
1259
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1260
|
-
return false;
|
|
1261
|
-
}
|
|
1262
|
-
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1266
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1267
|
-
// of the given element up the tree.
|
|
1268
|
-
function getClippingElementAncestors(element, cache) {
|
|
1269
|
-
const cachedResult = cache.get(element);
|
|
1270
|
-
if (cachedResult) {
|
|
1271
|
-
return cachedResult;
|
|
1272
|
-
}
|
|
1273
|
-
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1274
|
-
let currentContainingBlockComputedStyle = null;
|
|
1275
|
-
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1276
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1277
|
-
|
|
1278
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1279
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1280
|
-
const computedStyle = getComputedStyle$1(currentNode);
|
|
1281
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1282
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1283
|
-
currentContainingBlockComputedStyle = null;
|
|
1284
|
-
}
|
|
1285
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1286
|
-
if (shouldDropCurrentNode) {
|
|
1287
|
-
// Drop non-containing blocks.
|
|
1288
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1289
|
-
} else {
|
|
1290
|
-
// Record last containing block for next iteration.
|
|
1291
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1292
|
-
}
|
|
1293
|
-
currentNode = getParentNode(currentNode);
|
|
1294
|
-
}
|
|
1295
|
-
cache.set(element, result);
|
|
1296
|
-
return result;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
1300
|
-
// clipping ancestors.
|
|
1301
|
-
function getClippingRect(_ref) {
|
|
1302
|
-
let {
|
|
1303
|
-
element,
|
|
1304
|
-
boundary,
|
|
1305
|
-
rootBoundary,
|
|
1306
|
-
strategy
|
|
1307
|
-
} = _ref;
|
|
1308
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1309
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1310
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1311
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1312
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1313
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1314
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1315
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1316
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1317
|
-
return accRect;
|
|
1318
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1319
|
-
return {
|
|
1320
|
-
width: clippingRect.right - clippingRect.left,
|
|
1321
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1322
|
-
x: clippingRect.left,
|
|
1323
|
-
y: clippingRect.top
|
|
1324
|
-
};
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
function getDimensions(element) {
|
|
1328
|
-
const {
|
|
1329
|
-
width,
|
|
1330
|
-
height
|
|
1331
|
-
} = getCssDimensions(element);
|
|
1332
|
-
return {
|
|
1333
|
-
width,
|
|
1334
|
-
height
|
|
1335
|
-
};
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1339
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1340
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1341
|
-
const isFixed = strategy === 'fixed';
|
|
1342
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1343
|
-
let scroll = {
|
|
1344
|
-
scrollLeft: 0,
|
|
1345
|
-
scrollTop: 0
|
|
1346
|
-
};
|
|
1347
|
-
const offsets = createCoords(0);
|
|
1348
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1349
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1350
|
-
scroll = getNodeScroll(offsetParent);
|
|
1351
|
-
}
|
|
1352
|
-
if (isOffsetParentAnElement) {
|
|
1353
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1354
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1355
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1356
|
-
} else if (documentElement) {
|
|
1357
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
return {
|
|
1361
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1362
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1363
|
-
width: rect.width,
|
|
1364
|
-
height: rect.height
|
|
1365
|
-
};
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1369
|
-
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1370
|
-
return null;
|
|
1371
|
-
}
|
|
1372
|
-
if (polyfill) {
|
|
1373
|
-
return polyfill(element);
|
|
1374
|
-
}
|
|
1375
|
-
return element.offsetParent;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1379
|
-
// such as table ancestors and cross browser bugs.
|
|
1380
|
-
function getOffsetParent(element, polyfill) {
|
|
1381
|
-
const window = getWindow(element);
|
|
1382
|
-
if (!isHTMLElement(element)) {
|
|
1383
|
-
return window;
|
|
1384
|
-
}
|
|
1385
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1386
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1387
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1388
|
-
}
|
|
1389
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1390
|
-
return window;
|
|
1391
|
-
}
|
|
1392
|
-
return offsetParent || getContainingBlock(element) || window;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
const getElementRects = async function (_ref) {
|
|
1396
|
-
let {
|
|
1397
|
-
reference,
|
|
1398
|
-
floating,
|
|
1399
|
-
strategy
|
|
1400
|
-
} = _ref;
|
|
1401
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1402
|
-
const getDimensionsFn = this.getDimensions;
|
|
1403
|
-
return {
|
|
1404
|
-
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1405
|
-
floating: {
|
|
1406
|
-
x: 0,
|
|
1407
|
-
y: 0,
|
|
1408
|
-
...(await getDimensionsFn(floating))
|
|
1409
|
-
}
|
|
1410
|
-
};
|
|
1411
|
-
};
|
|
1412
|
-
|
|
1413
|
-
function isRTL(element) {
|
|
1414
|
-
return getComputedStyle$1(element).direction === 'rtl';
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
const platform = {
|
|
1418
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1419
|
-
getDocumentElement,
|
|
1420
|
-
getClippingRect,
|
|
1421
|
-
getOffsetParent,
|
|
1422
|
-
getElementRects,
|
|
1423
|
-
getClientRects,
|
|
1424
|
-
getDimensions,
|
|
1425
|
-
getScale,
|
|
1426
|
-
isElement,
|
|
1427
|
-
isRTL
|
|
1428
|
-
};
|
|
1429
|
-
|
|
1430
|
-
// https://samthor.au/2021/observing-dom/
|
|
1431
|
-
function observeMove(element, onMove) {
|
|
1432
|
-
let io = null;
|
|
1433
|
-
let timeoutId;
|
|
1434
|
-
const root = getDocumentElement(element);
|
|
1435
|
-
function cleanup() {
|
|
1436
|
-
clearTimeout(timeoutId);
|
|
1437
|
-
io && io.disconnect();
|
|
1438
|
-
io = null;
|
|
1439
|
-
}
|
|
1440
|
-
function refresh(skip, threshold) {
|
|
1441
|
-
if (skip === void 0) {
|
|
1442
|
-
skip = false;
|
|
1443
|
-
}
|
|
1444
|
-
if (threshold === void 0) {
|
|
1445
|
-
threshold = 1;
|
|
1446
|
-
}
|
|
1447
|
-
cleanup();
|
|
1448
|
-
const {
|
|
1449
|
-
left,
|
|
1450
|
-
top,
|
|
1451
|
-
width,
|
|
1452
|
-
height
|
|
1453
|
-
} = element.getBoundingClientRect();
|
|
1454
|
-
if (!skip) {
|
|
1455
|
-
onMove();
|
|
1456
|
-
}
|
|
1457
|
-
if (!width || !height) {
|
|
1458
|
-
return;
|
|
1459
|
-
}
|
|
1460
|
-
const insetTop = floor(top);
|
|
1461
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1462
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1463
|
-
const insetLeft = floor(left);
|
|
1464
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1465
|
-
const options = {
|
|
1466
|
-
rootMargin,
|
|
1467
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1468
|
-
};
|
|
1469
|
-
let isFirstUpdate = true;
|
|
1470
|
-
function handleObserve(entries) {
|
|
1471
|
-
const ratio = entries[0].intersectionRatio;
|
|
1472
|
-
if (ratio !== threshold) {
|
|
1473
|
-
if (!isFirstUpdate) {
|
|
1474
|
-
return refresh();
|
|
1475
|
-
}
|
|
1476
|
-
if (!ratio) {
|
|
1477
|
-
timeoutId = setTimeout(() => {
|
|
1478
|
-
refresh(false, 1e-7);
|
|
1479
|
-
}, 100);
|
|
1480
|
-
} else {
|
|
1481
|
-
refresh(false, ratio);
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
isFirstUpdate = false;
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
1488
|
-
// error.
|
|
1489
|
-
try {
|
|
1490
|
-
io = new IntersectionObserver(handleObserve, {
|
|
1491
|
-
...options,
|
|
1492
|
-
// Handle <iframe>s
|
|
1493
|
-
root: root.ownerDocument
|
|
1494
|
-
});
|
|
1495
|
-
} catch (e) {
|
|
1496
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1497
|
-
}
|
|
1498
|
-
io.observe(element);
|
|
1499
|
-
}
|
|
1500
|
-
refresh(true);
|
|
1501
|
-
return cleanup;
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
/**
|
|
1505
|
-
* Automatically updates the position of the floating element when necessary.
|
|
1506
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
1507
|
-
* visible on the screen.
|
|
1508
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
1509
|
-
* removed from the DOM or hidden from the screen.
|
|
1510
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
1511
|
-
*/
|
|
1512
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1513
|
-
if (options === void 0) {
|
|
1514
|
-
options = {};
|
|
1515
|
-
}
|
|
1516
|
-
const {
|
|
1517
|
-
ancestorScroll = true,
|
|
1518
|
-
ancestorResize = true,
|
|
1519
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
1520
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
1521
|
-
animationFrame = false
|
|
1522
|
-
} = options;
|
|
1523
|
-
const referenceEl = unwrapElement(reference);
|
|
1524
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1525
|
-
ancestors.forEach(ancestor => {
|
|
1526
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1527
|
-
passive: true
|
|
1528
|
-
});
|
|
1529
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1530
|
-
});
|
|
1531
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1532
|
-
let reobserveFrame = -1;
|
|
1533
|
-
let resizeObserver = null;
|
|
1534
|
-
if (elementResize) {
|
|
1535
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
1536
|
-
let [firstEntry] = _ref;
|
|
1537
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1538
|
-
// Prevent update loops when using the `size` middleware.
|
|
1539
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1540
|
-
resizeObserver.unobserve(floating);
|
|
1541
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1542
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1543
|
-
resizeObserver && resizeObserver.observe(floating);
|
|
1544
|
-
});
|
|
1545
|
-
}
|
|
1546
|
-
update();
|
|
1547
|
-
});
|
|
1548
|
-
if (referenceEl && !animationFrame) {
|
|
1549
|
-
resizeObserver.observe(referenceEl);
|
|
1550
|
-
}
|
|
1551
|
-
resizeObserver.observe(floating);
|
|
1552
|
-
}
|
|
1553
|
-
let frameId;
|
|
1554
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1555
|
-
if (animationFrame) {
|
|
1556
|
-
frameLoop();
|
|
1557
|
-
}
|
|
1558
|
-
function frameLoop() {
|
|
1559
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1560
|
-
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1561
|
-
update();
|
|
1562
|
-
}
|
|
1563
|
-
prevRefRect = nextRefRect;
|
|
1564
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1565
|
-
}
|
|
1566
|
-
update();
|
|
1567
|
-
return () => {
|
|
1568
|
-
ancestors.forEach(ancestor => {
|
|
1569
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1570
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1571
|
-
});
|
|
1572
|
-
cleanupIo && cleanupIo();
|
|
1573
|
-
resizeObserver && resizeObserver.disconnect();
|
|
1574
|
-
resizeObserver = null;
|
|
1575
|
-
if (animationFrame) {
|
|
1576
|
-
cancelAnimationFrame(frameId);
|
|
1577
|
-
}
|
|
1578
|
-
};
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
1583
|
-
* that has the most space available automatically, without needing to specify a
|
|
1584
|
-
* preferred placement. Alternative to `flip`.
|
|
1585
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
1586
|
-
*/
|
|
1587
|
-
const autoPlacement = autoPlacement$1;
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1591
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
1592
|
-
* @see https://floating-ui.com/docs/shift
|
|
1593
|
-
*/
|
|
1594
|
-
const shift = shift$1;
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1598
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1599
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
1600
|
-
* @see https://floating-ui.com/docs/flip
|
|
1601
|
-
*/
|
|
1602
|
-
const flip = flip$1;
|
|
1603
|
-
|
|
1604
|
-
/**
|
|
1605
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
1606
|
-
* when it is not in the same clipping context as the reference element.
|
|
1607
|
-
* @see https://floating-ui.com/docs/hide
|
|
1608
|
-
*/
|
|
1609
|
-
const hide = hide$1;
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* Provides data to position an inner element of the floating element so that it
|
|
1613
|
-
* appears centered to the reference element.
|
|
1614
|
-
* @see https://floating-ui.com/docs/arrow
|
|
1615
|
-
*/
|
|
1616
|
-
const arrow = arrow$1;
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1620
|
-
* next to a given reference element.
|
|
1621
|
-
*/
|
|
1622
|
-
const computePosition = (reference, floating, options) => {
|
|
1623
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1624
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1625
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
1626
|
-
const cache = new Map();
|
|
1627
|
-
const mergedOptions = {
|
|
1628
|
-
platform,
|
|
1629
|
-
...options
|
|
1630
|
-
};
|
|
1631
|
-
const platformWithCache = {
|
|
1632
|
-
...mergedOptions.platform,
|
|
1633
|
-
_c: cache
|
|
1634
|
-
};
|
|
1635
|
-
return computePosition$1(reference, floating, {
|
|
1636
|
-
...mergedOptions,
|
|
1637
|
-
platform: platformWithCache
|
|
1638
|
-
});
|
|
1639
|
-
};
|
|
1640
|
-
|
|
1641
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
|
1642
|
-
function offsetParent(element) {
|
|
1643
|
-
return offsetParentPolyfill(element);
|
|
1644
|
-
}
|
|
1645
|
-
function flatTreeParent(element) {
|
|
1646
|
-
if (element.assignedSlot) {
|
|
1647
|
-
return element.assignedSlot;
|
|
1648
|
-
}
|
|
1649
|
-
if (element.parentNode instanceof ShadowRoot) {
|
|
1650
|
-
return element.parentNode.host;
|
|
1651
|
-
}
|
|
1652
|
-
return element.parentNode;
|
|
1653
|
-
}
|
|
1654
|
-
function offsetParentPolyfill(element) {
|
|
1655
|
-
// Do an initial walk to check for display:none ancestors.
|
|
1656
|
-
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1657
|
-
if (!(ancestor instanceof Element)) {
|
|
1658
|
-
continue;
|
|
1659
|
-
}
|
|
1660
|
-
if (getComputedStyle(ancestor).display === 'none') {
|
|
1661
|
-
return null;
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1665
|
-
if (!(ancestor instanceof Element)) {
|
|
1666
|
-
continue;
|
|
1667
|
-
}
|
|
1668
|
-
const style = getComputedStyle(ancestor);
|
|
1669
|
-
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1670
|
-
if (style.display === 'contents') {
|
|
1671
|
-
continue;
|
|
1672
|
-
}
|
|
1673
|
-
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1674
|
-
return ancestor;
|
|
1675
|
-
}
|
|
1676
|
-
if (ancestor.tagName === 'BODY') {
|
|
1677
|
-
return ancestor;
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
return null;
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1684
|
-
{
|
|
1685
|
-
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1686
|
-
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1687
|
-
}
|
|
1688
|
-
})();
|
|
1689
|
-
function roundByDPR(value) {
|
|
1690
|
-
const dpr = window.devicePixelRatio || 1;
|
|
1691
|
-
return Math.round(value * dpr) / dpr;
|
|
1692
|
-
}
|
|
1693
|
-
/**
|
|
1694
|
-
* Positions the floating element relative to the reference element.
|
|
1695
|
-
*
|
|
1696
|
-
* **Note:** exported for testing purposes only
|
|
1697
|
-
*
|
|
1698
|
-
* @param root0
|
|
1699
|
-
* @param root0.referenceEl
|
|
1700
|
-
* @param root0.floatingEl
|
|
1701
|
-
* @param root0.overlayPositioning
|
|
1702
|
-
* @param root0.placement
|
|
1703
|
-
* @param root0.flipDisabled
|
|
1704
|
-
* @param root0.flipPlacements
|
|
1705
|
-
* @param root0.offsetDistance
|
|
1706
|
-
* @param root0.offsetSkidding
|
|
1707
|
-
* @param root0.arrowEl
|
|
1708
|
-
* @param root0.type
|
|
1709
|
-
* @param component
|
|
1710
|
-
* @param root0.referenceEl.referenceEl
|
|
1711
|
-
* @param root0.referenceEl.floatingEl
|
|
1712
|
-
* @param root0.referenceEl.overlayPositioning
|
|
1713
|
-
* @param root0.referenceEl.placement
|
|
1714
|
-
* @param root0.referenceEl.flipDisabled
|
|
1715
|
-
* @param root0.referenceEl.flipPlacements
|
|
1716
|
-
* @param root0.referenceEl.offsetDistance
|
|
1717
|
-
* @param root0.referenceEl.offsetSkidding
|
|
1718
|
-
* @param root0.referenceEl.arrowEl
|
|
1719
|
-
* @param root0.referenceEl.type
|
|
1720
|
-
* @param component.referenceEl
|
|
1721
|
-
* @param component.floatingEl
|
|
1722
|
-
* @param component.overlayPositioning
|
|
1723
|
-
* @param component.placement
|
|
1724
|
-
* @param component.flipDisabled
|
|
1725
|
-
* @param component.flipPlacements
|
|
1726
|
-
* @param component.offsetDistance
|
|
1727
|
-
* @param component.offsetSkidding
|
|
1728
|
-
* @param component.arrowEl
|
|
1729
|
-
* @param component.type
|
|
1730
|
-
*/
|
|
1731
|
-
const positionFloatingUI =
|
|
1732
|
-
/* we export arrow function to allow us to spy on it during testing */
|
|
1733
|
-
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1734
|
-
if (!referenceEl || !floatingEl) {
|
|
1735
|
-
return null;
|
|
1736
|
-
}
|
|
1737
|
-
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1738
|
-
strategy: overlayPositioning,
|
|
1739
|
-
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1740
|
-
? undefined
|
|
1741
|
-
: getEffectivePlacement(floatingEl, placement),
|
|
1742
|
-
middleware: getMiddleware({
|
|
1743
|
-
placement,
|
|
1744
|
-
flipDisabled,
|
|
1745
|
-
flipPlacements,
|
|
1746
|
-
offsetDistance,
|
|
1747
|
-
offsetSkidding,
|
|
1748
|
-
arrowEl,
|
|
1749
|
-
type,
|
|
1750
|
-
}),
|
|
1751
|
-
});
|
|
1752
|
-
if (arrowEl && middlewareData.arrow) {
|
|
1753
|
-
const { x, y } = middlewareData.arrow;
|
|
1754
|
-
const side = effectivePlacement.split("-")[0];
|
|
1755
|
-
const alignment = x != null ? "left" : "top";
|
|
1756
|
-
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1757
|
-
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1758
|
-
if ("floatingLayout" in component) {
|
|
1759
|
-
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1760
|
-
}
|
|
1761
|
-
Object.assign(arrowEl.style, {
|
|
1762
|
-
...reset,
|
|
1763
|
-
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1764
|
-
[side]: "100%",
|
|
1765
|
-
transform,
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1769
|
-
const visibility = referenceHidden ? "hidden" : null;
|
|
1770
|
-
const pointerEvents = visibility ? "none" : null;
|
|
1771
|
-
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1772
|
-
const { open } = component;
|
|
1773
|
-
Object.assign(floatingEl.style, {
|
|
1774
|
-
visibility,
|
|
1775
|
-
pointerEvents,
|
|
1776
|
-
position,
|
|
1777
|
-
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
1778
|
-
top: 0,
|
|
1779
|
-
left: 0,
|
|
1780
|
-
});
|
|
1781
|
-
};
|
|
1782
|
-
/**
|
|
1783
|
-
* Exported for testing purposes only
|
|
1784
|
-
*/
|
|
1785
|
-
const placementDataAttribute = "data-placement";
|
|
1786
|
-
/**
|
|
1787
|
-
* Exported for testing purposes only
|
|
1788
|
-
*/
|
|
1789
|
-
const repositionDebounceTimeout = 100;
|
|
1790
|
-
const effectivePlacements = [
|
|
1791
|
-
"top",
|
|
1792
|
-
"bottom",
|
|
1793
|
-
"right",
|
|
1794
|
-
"left",
|
|
1795
|
-
"top-start",
|
|
1796
|
-
"top-end",
|
|
1797
|
-
"bottom-start",
|
|
1798
|
-
"bottom-end",
|
|
1799
|
-
"right-start",
|
|
1800
|
-
"right-end",
|
|
1801
|
-
"left-start",
|
|
1802
|
-
"left-end",
|
|
1803
|
-
];
|
|
1804
|
-
const defaultMenuPlacement = "bottom-start";
|
|
1805
|
-
const FloatingCSS = {
|
|
1806
|
-
animation: "calcite-floating-ui-anim",
|
|
1807
|
-
animationActive: "calcite-floating-ui-anim--active",
|
|
1808
|
-
};
|
|
1809
|
-
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1810
|
-
const defaultMiddleware = [shift(), hide()];
|
|
1811
|
-
if (type === "menu") {
|
|
1812
|
-
return [
|
|
1813
|
-
...defaultMiddleware,
|
|
1814
|
-
flip({
|
|
1815
|
-
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1816
|
-
}),
|
|
1817
|
-
];
|
|
1818
|
-
}
|
|
1819
|
-
if (type === "popover" || type === "tooltip") {
|
|
1820
|
-
const middleware = [
|
|
1821
|
-
...defaultMiddleware,
|
|
1822
|
-
offset({
|
|
1823
|
-
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1824
|
-
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1825
|
-
}),
|
|
1826
|
-
];
|
|
1827
|
-
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1828
|
-
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
1829
|
-
}
|
|
1830
|
-
else if (!flipDisabled) {
|
|
1831
|
-
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
1832
|
-
}
|
|
1833
|
-
if (arrowEl) {
|
|
1834
|
-
middleware.push(arrow({
|
|
1835
|
-
element: arrowEl,
|
|
1836
|
-
}));
|
|
1837
|
-
}
|
|
1838
|
-
return middleware;
|
|
1839
|
-
}
|
|
1840
|
-
return [];
|
|
1841
|
-
}
|
|
1842
|
-
function filterComputedPlacements(placements, el) {
|
|
1843
|
-
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
|
1844
|
-
if (filteredPlacements.length !== placements.length) {
|
|
1845
|
-
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
|
1846
|
-
.map((placement) => `"${placement}"`)
|
|
1847
|
-
.join(", ")
|
|
1848
|
-
.trim()}`, { el });
|
|
1849
|
-
}
|
|
1850
|
-
return filteredPlacements;
|
|
1851
|
-
}
|
|
1852
|
-
function getEffectivePlacement(floatingEl, placement) {
|
|
1853
|
-
const placements = ["left", "right"];
|
|
1854
|
-
if (dom.getElementDir(floatingEl) === "rtl") {
|
|
1855
|
-
placements.reverse();
|
|
1856
|
-
}
|
|
1857
|
-
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
1858
|
-
}
|
|
1859
|
-
/**
|
|
1860
|
-
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1861
|
-
*
|
|
1862
|
-
* Note: this is not needed for components that use `calcite-popover`.
|
|
1863
|
-
*
|
|
1864
|
-
* @param component - A floating-ui component.
|
|
1865
|
-
* @param options - Reposition parameters.
|
|
1866
|
-
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1867
|
-
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
1868
|
-
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
1869
|
-
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
1870
|
-
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
1871
|
-
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
1872
|
-
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
1873
|
-
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
1874
|
-
* @param options.arrowEl - A customizable arrow element.
|
|
1875
|
-
* @param options.type - The type of floating UI.
|
|
1876
|
-
* @param delayed - Reposition the component after a delay.
|
|
1877
|
-
* @returns {Promise<void>}
|
|
1878
|
-
*/
|
|
1879
|
-
async function reposition(component, options, delayed = false) {
|
|
1880
|
-
if (!component.open) {
|
|
1881
|
-
return;
|
|
1882
|
-
}
|
|
1883
|
-
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1884
|
-
return positionFunction(component, options);
|
|
1885
|
-
}
|
|
1886
|
-
function getDebouncedReposition(component) {
|
|
1887
|
-
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1888
|
-
if (debounced) {
|
|
1889
|
-
return debounced;
|
|
1890
|
-
}
|
|
1891
|
-
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1892
|
-
leading: true,
|
|
1893
|
-
maxWait: repositionDebounceTimeout,
|
|
1894
|
-
});
|
|
1895
|
-
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1896
|
-
return debounced;
|
|
1897
|
-
}
|
|
1898
|
-
const ARROW_CSS_TRANSFORM = {
|
|
1899
|
-
top: "",
|
|
1900
|
-
left: "rotate(-90deg)",
|
|
1901
|
-
bottom: "rotate(180deg)",
|
|
1902
|
-
right: "rotate(90deg)",
|
|
1903
|
-
};
|
|
1904
|
-
/**
|
|
1905
|
-
* Exported for testing purposes only
|
|
1906
|
-
*
|
|
1907
|
-
* @internal
|
|
1908
|
-
*/
|
|
1909
|
-
const cleanupMap = new WeakMap();
|
|
1910
|
-
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1911
|
-
/**
|
|
1912
|
-
* Helper to set up floating element interactions on connectedCallback.
|
|
1913
|
-
*
|
|
1914
|
-
* @param component - A floating-ui component.
|
|
1915
|
-
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1916
|
-
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1917
|
-
*/
|
|
1918
|
-
function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
1919
|
-
if (!floatingEl || !referenceEl) {
|
|
1920
|
-
return;
|
|
1921
|
-
}
|
|
1922
|
-
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1923
|
-
Object.assign(floatingEl.style, {
|
|
1924
|
-
visibility: "hidden",
|
|
1925
|
-
pointerEvents: "none",
|
|
1926
|
-
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1927
|
-
position: component.overlayPositioning,
|
|
1928
|
-
});
|
|
1929
|
-
const runAutoUpdate = autoUpdate
|
|
1930
|
-
;
|
|
1931
|
-
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1932
|
-
}
|
|
1933
|
-
/**
|
|
1934
|
-
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
1935
|
-
*
|
|
1936
|
-
* @param component - A floating-ui component.
|
|
1937
|
-
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1938
|
-
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1939
|
-
*/
|
|
1940
|
-
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
1941
|
-
if (!floatingEl || !referenceEl) {
|
|
1942
|
-
return;
|
|
1943
|
-
}
|
|
1944
|
-
cleanupMap.get(component)?.();
|
|
1945
|
-
cleanupMap.delete(component);
|
|
1946
|
-
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1947
|
-
componentToDebouncedRepositionMap.delete(component);
|
|
1948
|
-
}
|
|
1949
|
-
const visiblePointerSize = 4;
|
|
1950
|
-
/**
|
|
1951
|
-
* Default offset the position of the floating element away from the reference element.
|
|
1952
|
-
*
|
|
1953
|
-
* @default 6
|
|
1954
|
-
*/
|
|
1955
|
-
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1956
|
-
|
|
1957
|
-
exports.FloatingCSS = FloatingCSS;
|
|
1958
|
-
exports.connectFloatingUI = connectFloatingUI;
|
|
1959
|
-
exports.defaultMenuPlacement = defaultMenuPlacement;
|
|
1960
|
-
exports.defaultOffsetDistance = defaultOffsetDistance;
|
|
1961
|
-
exports.disconnectFloatingUI = disconnectFloatingUI;
|
|
1962
|
-
exports.filterComputedPlacements = filterComputedPlacements;
|
|
1963
|
-
exports.reposition = reposition;
|
|
1964
|
-
|
|
1965
|
-
//# sourceMappingURL=floating-ui-2142db87.js.map
|