@esri/calcite-components 2.2.0-next.7 → 2.2.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-009df7bd.entry.js +7 -0
- package/dist/calcite/p-023cb752.entry.js +7 -0
- package/dist/calcite/p-02abadd4.js +7 -0
- package/dist/calcite/p-0688443c.js +7 -0
- package/dist/calcite/p-0c78ad55.js +7 -0
- package/dist/calcite/p-0d45e05e.js +7 -0
- package/dist/calcite/p-12155f47.entry.js +7 -0
- package/dist/calcite/p-1265eed3.entry.js +7 -0
- package/dist/calcite/p-13c4a874.entry.js +7 -0
- package/dist/calcite/p-14efc7f9.js +7 -0
- package/dist/calcite/p-1516f85a.js +7 -0
- package/dist/calcite/p-15e6324b.js +7 -0
- package/dist/calcite/p-178a3e1d.js +7 -0
- package/dist/calcite/p-1a640aab.entry.js +7 -0
- package/dist/calcite/p-1b0b405d.js +7 -0
- package/dist/calcite/p-1c177571.js +7 -0
- package/dist/calcite/p-1c2f0e1d.entry.js +7 -0
- package/dist/calcite/p-25821b5d.js +7 -0
- package/dist/calcite/p-28d1086d.js +7 -0
- package/dist/calcite/p-28f52df2.js +7 -0
- package/dist/calcite/p-2943ea79.entry.js +7 -0
- package/dist/calcite/p-2bc9db9c.js +7 -0
- package/dist/calcite/p-2c949afb.js +7 -0
- package/dist/calcite/p-2f97f619.js +7 -0
- package/dist/calcite/p-3015eae8.entry.js +7 -0
- package/dist/calcite/p-339bf5a7.entry.js +7 -0
- package/dist/calcite/p-33df7b6d.entry.js +7 -0
- package/dist/calcite/p-364a1357.js +7 -0
- package/dist/calcite/p-371653fc.js +7 -0
- package/dist/calcite/p-37aef5e8.entry.js +7 -0
- package/dist/calcite/p-39c97773.js +7 -0
- package/dist/calcite/p-3d55da63.entry.js +7 -0
- package/dist/calcite/p-3d55da63.entry.js.map +1 -0
- package/dist/calcite/p-3e05f5dd.entry.js +7 -0
- package/dist/calcite/p-3e78afb3.js +7 -0
- package/dist/calcite/p-3fde6079.js +7 -0
- package/dist/calcite/p-3fee112f.js +7 -0
- package/dist/calcite/p-456c2c09.entry.js +7 -0
- package/dist/calcite/p-47511d16.entry.js +7 -0
- package/dist/calcite/p-47511d16.entry.js.map +1 -0
- package/dist/calcite/p-49b22d3c.js +7 -0
- package/dist/calcite/p-4a6bc3a2.entry.js +7 -0
- package/dist/calcite/p-4a7fa06d.entry.js +7 -0
- package/dist/calcite/p-4cfc8de9.js +7 -0
- package/dist/calcite/p-4d11a023.js +7 -0
- package/dist/calcite/p-4d84b548.js +7 -0
- package/dist/calcite/p-4e12941a.js +7 -0
- package/dist/calcite/p-50035fd9.js +7 -0
- package/dist/calcite/p-5085c585.js +7 -0
- package/dist/calcite/p-50faabaa.js +7 -0
- package/dist/calcite/p-521a19b9.entry.js +7 -0
- package/dist/calcite/p-52e0fa76.entry.js +7 -0
- package/dist/calcite/p-55d17d6b.js +7 -0
- package/dist/calcite/p-5601b7a0.entry.js +7 -0
- package/dist/calcite/p-56a2a311.js +12 -0
- package/dist/calcite/p-57260519.entry.js +7 -0
- package/dist/calcite/p-573d1892.js +7 -0
- package/dist/calcite/p-5780c537.entry.js +7 -0
- package/dist/calcite/p-58213bb4.entry.js +7 -0
- package/dist/calcite/p-59b07561.entry.js +7 -0
- package/dist/calcite/p-5a5b57db.js +7 -0
- package/dist/calcite/p-5b5d9fea.js +7 -0
- package/dist/calcite/p-5c102065.js +7 -0
- package/dist/calcite/p-5d0763c0.entry.js +7 -0
- package/dist/calcite/p-5ddb86b0.js +7 -0
- package/dist/calcite/p-5e693114.entry.js +7 -0
- package/dist/calcite/p-5f3025fa.entry.js +7 -0
- package/dist/calcite/p-5f948a73.js +7 -0
- package/dist/calcite/p-6133c4eb.js +7 -0
- package/dist/calcite/p-62378ca2.js +7 -0
- package/dist/calcite/p-65040f72.entry.js +7 -0
- package/dist/calcite/p-6685dcc0.js +7 -0
- package/dist/calcite/p-66cc32fb.entry.js +7 -0
- package/dist/calcite/p-67b614e1.entry.js +7 -0
- package/dist/calcite/p-67b614e1.entry.js.map +1 -0
- package/dist/calcite/p-6ab9c994.entry.js +7 -0
- package/dist/calcite/p-6b224746.js +7 -0
- package/dist/calcite/p-6cbc7e5e.entry.js +7 -0
- package/dist/calcite/p-6d892d17.entry.js +7 -0
- package/dist/calcite/p-6ded26ac.js +7 -0
- package/dist/calcite/p-6fb22e2b.entry.js +7 -0
- package/dist/calcite/p-75c5faf2.js +7 -0
- package/dist/calcite/p-77b7b39f.entry.js +7 -0
- package/dist/calcite/p-79e5c075.entry.js +7 -0
- package/dist/calcite/p-79e5c075.entry.js.map +1 -0
- package/dist/calcite/p-7a35294d.js +7 -0
- package/dist/calcite/p-7b1cba6b.js +7 -0
- package/dist/calcite/p-7bd1ca86.js +7 -0
- package/dist/calcite/p-7d551d23.js +7 -0
- package/dist/calcite/p-7e183082.entry.js +7 -0
- package/dist/calcite/p-80050e3d.js +7 -0
- package/dist/calcite/p-81f1e6bd.entry.js +7 -0
- package/dist/calcite/p-84a597c1.entry.js +7 -0
- package/dist/calcite/p-854773ca.js +7 -0
- package/dist/calcite/p-85f6ece8.js +7 -0
- package/dist/calcite/p-860dcac4.js +7 -0
- package/dist/calcite/p-868135c0.js +7 -0
- package/dist/calcite/p-86e078c1.entry.js +7 -0
- package/dist/calcite/p-87b8780e.js +7 -0
- package/dist/calcite/p-87e69357.js +7 -0
- package/dist/calcite/p-88cdd341.entry.js +7 -0
- package/dist/calcite/p-8b358711.js +7 -0
- package/dist/calcite/p-8c36943d.js +7 -0
- package/dist/calcite/p-8cca3b9a.entry.js +7 -0
- package/dist/calcite/p-90559468.js +7 -0
- package/dist/calcite/p-95ccaf6f.js +7 -0
- package/dist/calcite/p-9894447d.entry.js +7 -0
- package/dist/calcite/p-997a949a.js +7 -0
- package/dist/calcite/p-9a2c8b3d.js +7 -0
- package/dist/calcite/p-9d3468ea.entry.js +7 -0
- package/dist/calcite/p-9e013001.entry.js +7 -0
- package/dist/calcite/p-9e50c12e.js +7 -0
- package/dist/calcite/p-9eb95f49.js +13 -0
- package/dist/calcite/p-9ed9ca92.entry.js +7 -0
- package/dist/calcite/p-a078be66.entry.js +7 -0
- package/dist/calcite/p-a62169e9.js +7 -0
- package/dist/calcite/p-a691ba25.js +7 -0
- package/dist/calcite/p-aa288ab1.js +7 -0
- package/dist/calcite/p-ab609a37.js +7 -0
- package/dist/calcite/p-ad306a71.js +7 -0
- package/dist/calcite/p-ad93fde2.entry.js +7 -0
- package/dist/calcite/p-ae21423a.entry.js +7 -0
- package/dist/calcite/p-ae974f62.js +11 -0
- package/dist/calcite/p-af101636.entry.js +7 -0
- package/dist/calcite/p-b09a549d.js +8 -0
- package/dist/calcite/p-b1802f36.js +7 -0
- package/dist/calcite/p-b25894b0.entry.js +7 -0
- package/dist/calcite/p-b3a13c43.js +7 -0
- package/dist/calcite/p-b5f4db60.js +7 -0
- package/dist/calcite/p-b9e68e91.entry.js +7 -0
- package/dist/calcite/p-bcb26189.js +7 -0
- package/dist/calcite/p-bf2dcf57.entry.js +7 -0
- package/dist/calcite/p-bf60e151.entry.js +7 -0
- package/dist/calcite/p-bf60e151.entry.js.map +1 -0
- package/dist/calcite/p-c1fab8ad.js +7 -0
- package/dist/calcite/p-c5108e04.entry.js +7 -0
- package/dist/calcite/p-c65a0382.entry.js +7 -0
- package/dist/calcite/p-c8e2cb5d.entry.js +7 -0
- package/dist/calcite/p-ce29afb7.entry.js +7 -0
- package/dist/calcite/p-d54b149b.entry.js +7 -0
- package/dist/calcite/p-d8393b41.js +7 -0
- package/dist/calcite/p-da7b6559.js +7 -0
- package/dist/calcite/p-dc386631.js +7 -0
- package/dist/calcite/p-dcc772d6.entry.js +7 -0
- package/dist/calcite/p-ddcd597d.js +7 -0
- package/dist/calcite/p-e17aa75c.entry.js +7 -0
- package/dist/calcite/p-e483b360.js +7 -0
- package/dist/calcite/p-e52c5590.entry.js +7 -0
- package/dist/calcite/p-e5936dbf.js +7 -0
- package/dist/calcite/p-e762dfb7.js +7 -0
- package/dist/calcite/p-e79a96db.entry.js +7 -0
- package/dist/calcite/p-e80d621c.entry.js +7 -0
- package/dist/calcite/p-ea297c76.entry.js +7 -0
- package/dist/calcite/p-eae4138c.js +7 -0
- package/dist/calcite/p-eb0887e7.js +7 -0
- package/dist/calcite/p-ebdf2aea.entry.js +7 -0
- package/dist/calcite/p-f32b6ecb.js +7 -0
- package/dist/calcite/p-f3fa03f4.js +7 -0
- package/dist/calcite/p-f4802816.js +7 -0
- package/dist/calcite/p-f4a62a25.js +7 -0
- package/dist/calcite/p-f610087c.entry.js +7 -0
- package/dist/calcite/p-f610087c.entry.js.map +1 -0
- package/dist/calcite/p-f765b4cd.entry.js +7 -0
- package/dist/calcite/p-f7dc3ece.js +7 -0
- package/dist/calcite/p-f8974fcf.entry.js +7 -0
- package/dist/calcite/p-f8b62540.entry.js +7 -0
- package/dist/calcite/p-f8b62540.entry.js.map +1 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-7b27a3b2.js +110 -0
- package/dist/cjs/ExpandToggle-7b27a3b2.js.map +1 -0
- package/dist/cjs/FloatingArrow-480828d5.js +49 -0
- package/dist/cjs/FloatingArrow-480828d5.js.map +1 -0
- package/dist/cjs/Heading-6a562c5b.js +22 -0
- package/dist/cjs/Heading-6a562c5b.js.map +1 -0
- package/dist/cjs/Validation-3cf1910b.js +18 -0
- package/dist/cjs/Validation-3cf1910b.js.map +1 -0
- package/dist/cjs/app-globals-12898510.js +61 -0
- package/dist/cjs/app-globals-12898510.js.map +1 -0
- package/dist/cjs/ar-4ee2eb90.js +106 -0
- package/dist/cjs/ar-4ee2eb90.js.map +1 -0
- package/dist/cjs/array-841ee4ce.js +14 -0
- package/dist/cjs/array-841ee4ce.js.map +1 -0
- package/dist/cjs/bg-a65a4d68.js +84 -0
- package/dist/cjs/bg-a65a4d68.js.map +1 -0
- package/dist/cjs/browser-a924751b.js +20 -0
- package/dist/cjs/browser-a924751b.js.map +1 -0
- package/dist/cjs/bs-d31c4f06.js +53 -0
- package/dist/cjs/bs-d31c4f06.js.map +1 -0
- package/dist/cjs/ca-cb99c4ef.js +73 -0
- package/dist/cjs/ca-cb99c4ef.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 +13 -13
- 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 +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-efe419f0.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-efe419f0.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 +16 -16
- 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 +15 -15
- 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 +4 -4
- 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 +12 -12
- 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 +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +12 -11
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/component-673be248.js +30 -0
- package/dist/cjs/component-673be248.js.map +1 -0
- package/dist/cjs/conditionalSlot-a802dd4d.js +60 -0
- package/dist/cjs/conditionalSlot-a802dd4d.js.map +1 -0
- package/dist/cjs/cs-c7a58bdf.js +149 -0
- package/dist/cjs/cs-c7a58bdf.js.map +1 -0
- package/dist/cjs/da-a89f32c2.js +68 -0
- package/dist/cjs/da-a89f32c2.js.map +1 -0
- package/dist/cjs/de-54b587f9.js +93 -0
- package/dist/cjs/de-54b587f9.js.map +1 -0
- package/dist/cjs/de-at-69a82155.js +92 -0
- package/dist/cjs/de-at-69a82155.js.map +1 -0
- package/dist/cjs/de-ch-7cfb345a.js +92 -0
- package/dist/cjs/de-ch-7cfb345a.js.map +1 -0
- package/dist/cjs/debounce-46924598.js +498 -0
- package/dist/cjs/debounce-46924598.js.map +1 -0
- package/dist/cjs/dom-3fd992eb.js +1084 -0
- package/dist/cjs/dom-3fd992eb.js.map +1 -0
- package/dist/cjs/el-32f3e5ca.js +68 -0
- package/dist/cjs/el-32f3e5ca.js.map +1 -0
- package/dist/cjs/en-au-95a2db9f.js +68 -0
- package/dist/cjs/en-au-95a2db9f.js.map +1 -0
- package/dist/cjs/en-ca-1acce35d.js +67 -0
- package/dist/cjs/en-ca-1acce35d.js.map +1 -0
- package/dist/cjs/en-gb-14618c57.js +71 -0
- package/dist/cjs/en-gb-14618c57.js.map +1 -0
- package/dist/cjs/es-a890bde5.js +68 -0
- package/dist/cjs/es-a890bde5.js.map +1 -0
- package/dist/cjs/es-mx-e06594ab.js +67 -0
- package/dist/cjs/es-mx-e06594ab.js.map +1 -0
- package/dist/cjs/et-de05ec17.js +94 -0
- package/dist/cjs/et-de05ec17.js.map +1 -0
- package/dist/cjs/fi-6b559bcc.js +117 -0
- package/dist/cjs/fi-6b559bcc.js.map +1 -0
- package/dist/cjs/filter-693c598b.js +762 -0
- package/dist/cjs/filter-693c598b.js.map +1 -0
- package/dist/cjs/floating-ui-68f49235.js +1916 -0
- package/dist/cjs/floating-ui-68f49235.js.map +1 -0
- package/dist/cjs/focusTrapComponent-7b003192.js +1020 -0
- package/dist/cjs/focusTrapComponent-7b003192.js.map +1 -0
- package/dist/cjs/form-8c2bbd25.js +257 -0
- package/dist/cjs/form-8c2bbd25.js.map +1 -0
- package/dist/cjs/fr-ae2d0247.js +70 -0
- package/dist/cjs/fr-ae2d0247.js.map +1 -0
- package/dist/cjs/fr-ch-123a6873.js +68 -0
- package/dist/cjs/fr-ch-123a6873.js.map +1 -0
- package/dist/cjs/guid-8e82099c.js +23 -0
- package/dist/cjs/guid-8e82099c.js.map +1 -0
- package/dist/cjs/he-edae1547.js +107 -0
- package/dist/cjs/he-edae1547.js.map +1 -0
- package/dist/cjs/hi-42c8f5c2.js +67 -0
- package/dist/cjs/hi-42c8f5c2.js.map +1 -0
- package/dist/cjs/hr-209eaacc.js +82 -0
- package/dist/cjs/hr-209eaacc.js.map +1 -0
- package/dist/cjs/hu-15fb880d.js +90 -0
- package/dist/cjs/hu-15fb880d.js.map +1 -0
- package/dist/cjs/id-14498910.js +68 -0
- package/dist/cjs/id-14498910.js.map +1 -0
- package/dist/cjs/index-57b3a45d.js +2655 -0
- package/dist/cjs/index-57b3a45d.js.map +1 -0
- package/dist/cjs/index-88768813.js +208 -0
- package/dist/cjs/index-88768813.js.map +1 -0
- package/dist/cjs/index-8a51ded0.js +75 -0
- package/dist/cjs/index-8a51ded0.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-92fce0e4.js +144 -0
- package/dist/cjs/interactive-92fce0e4.js.map +1 -0
- package/dist/cjs/it-3e175b16.js +68 -0
- package/dist/cjs/it-3e175b16.js.map +1 -0
- package/dist/cjs/it-ch-298eba1c.js +68 -0
- package/dist/cjs/it-ch-298eba1c.js.map +1 -0
- package/dist/cjs/ja-c0d872d8.js +74 -0
- package/dist/cjs/ja-c0d872d8.js.map +1 -0
- package/dist/cjs/key-b5eaf208.js +16 -0
- package/dist/cjs/key-b5eaf208.js.map +1 -0
- package/dist/cjs/ko-31727282.js +74 -0
- package/dist/cjs/ko-31727282.js.map +1 -0
- package/dist/cjs/label-84146131.js +183 -0
- package/dist/cjs/label-84146131.js.map +1 -0
- package/dist/cjs/loadable-707a938e.js +91 -0
- package/dist/cjs/loadable-707a938e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-bf68ef8a.js +575 -0
- package/dist/cjs/locale-bf68ef8a.js.map +1 -0
- package/dist/cjs/lt-c74f2932.js +99 -0
- package/dist/cjs/lt-c74f2932.js.map +1 -0
- package/dist/cjs/lv-4c7b32ec.js +68 -0
- package/dist/cjs/lv-4c7b32ec.js.map +1 -0
- package/dist/cjs/math-2dcaf81d.js +57 -0
- package/dist/cjs/math-2dcaf81d.js.map +1 -0
- package/dist/cjs/mk-6378c3ef.js +68 -0
- package/dist/cjs/mk-6378c3ef.js.map +1 -0
- package/dist/cjs/nb-114bea0e.js +69 -0
- package/dist/cjs/nb-114bea0e.js.map +1 -0
- package/dist/cjs/nl-b1705776.js +69 -0
- package/dist/cjs/nl-b1705776.js.map +1 -0
- package/dist/cjs/observers-b7fd0db5.js +50 -0
- package/dist/cjs/observers-b7fd0db5.js.map +1 -0
- package/dist/cjs/openCloseComponent-5731a43d.js +89 -0
- package/dist/cjs/openCloseComponent-5731a43d.js.map +1 -0
- package/dist/cjs/pl-e9db5e64.js +116 -0
- package/dist/cjs/pl-e9db5e64.js.map +1 -0
- package/dist/cjs/pt-9d52f771.js +69 -0
- package/dist/cjs/pt-9d52f771.js.map +1 -0
- package/dist/cjs/pt-br-6092ee26.js +67 -0
- package/dist/cjs/pt-br-6092ee26.js.map +1 -0
- package/dist/cjs/resources-16068ec0.js +26 -0
- package/dist/cjs/resources-16068ec0.js.map +1 -0
- package/dist/cjs/resources-1c211ca5.js +17 -0
- package/dist/cjs/resources-1c211ca5.js.map +1 -0
- package/dist/cjs/resources-5b2ee2f7.js +29 -0
- package/dist/cjs/resources-5b2ee2f7.js.map +1 -0
- package/dist/cjs/resources-86796138.js +26 -0
- package/dist/cjs/resources-86796138.js.map +1 -0
- package/dist/cjs/resources-8b60e55a.js +23 -0
- package/dist/cjs/resources-8b60e55a.js.map +1 -0
- package/dist/cjs/resources-a5802f36.js +414 -0
- package/dist/cjs/resources-a5802f36.js.map +1 -0
- package/dist/cjs/resources-fa92d48b.js +49 -0
- package/dist/cjs/resources-fa92d48b.js.map +1 -0
- package/dist/cjs/ro-13a33efc.js +68 -0
- package/dist/cjs/ro-13a33efc.js.map +1 -0
- package/dist/cjs/ru-82ec2f07.js +128 -0
- package/dist/cjs/ru-82ec2f07.js.map +1 -0
- package/dist/cjs/sk-9249735e.js +150 -0
- package/dist/cjs/sk-9249735e.js.map +1 -0
- package/dist/cjs/sl-8730fc67.js +170 -0
- package/dist/cjs/sl-8730fc67.js.map +1 -0
- package/dist/cjs/sortableComponent-e28ba427.js +2739 -0
- package/dist/cjs/sortableComponent-e28ba427.js.map +1 -0
- package/dist/cjs/sr-11efd7a4.js +103 -0
- package/dist/cjs/sr-11efd7a4.js.map +1 -0
- package/dist/cjs/sv-92d79406.js +73 -0
- package/dist/cjs/sv-92d79406.js.map +1 -0
- package/dist/cjs/t9n-33ff7a4e.js +97 -0
- package/dist/cjs/t9n-33ff7a4e.js.map +1 -0
- package/dist/cjs/th-c2a39fb8.js +67 -0
- package/dist/cjs/th-c2a39fb8.js.map +1 -0
- package/dist/cjs/throttle-97dd4706.js +77 -0
- package/dist/cjs/throttle-97dd4706.js.map +1 -0
- package/dist/cjs/tr-3e8ecfb5.js +68 -0
- package/dist/cjs/tr-3e8ecfb5.js.map +1 -0
- package/dist/cjs/uk-be4bbec0.js +106 -0
- package/dist/cjs/uk-be4bbec0.js.map +1 -0
- package/dist/cjs/utils-78c2b73e.js +218 -0
- package/dist/cjs/utils-78c2b73e.js.map +1 -0
- package/dist/cjs/utils-f4374023.js +307 -0
- package/dist/cjs/utils-f4374023.js.map +1 -0
- package/dist/cjs/vi-ea20e58c.js +72 -0
- package/dist/cjs/vi-ea20e58c.js.map +1 -0
- package/dist/cjs/zh-cn-77397a24.js +96 -0
- package/dist/cjs/zh-cn-77397a24.js.map +1 -0
- package/dist/cjs/zh-hk-c97df9c6.js +73 -0
- package/dist/cjs/zh-hk-c97df9c6.js.map +1 -0
- package/dist/cjs/zh-tw-97d0b377.js +94 -0
- package/dist/cjs/zh-tw-97d0b377.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 +5 -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/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 +5 -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/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/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/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +2 -1
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +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 +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +2 -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/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 +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/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-1a8fd94a.js +102 -0
- package/dist/esm/ExpandToggle-1a8fd94a.js.map +1 -0
- package/dist/esm/FloatingArrow-c123b6f2.js +47 -0
- package/dist/esm/FloatingArrow-c123b6f2.js.map +1 -0
- package/dist/esm/Heading-6ab9db88.js +19 -0
- package/dist/esm/Heading-6ab9db88.js.map +1 -0
- package/dist/esm/Validation-ba516fbf.js +16 -0
- package/dist/esm/Validation-ba516fbf.js.map +1 -0
- package/dist/esm/app-globals-ba6ad869.js +59 -0
- package/dist/esm/app-globals-ba6ad869.js.map +1 -0
- package/dist/esm/ar-beee69fe.js +104 -0
- package/dist/esm/ar-beee69fe.js.map +1 -0
- package/dist/esm/array-935196cf.js +12 -0
- package/dist/esm/array-935196cf.js.map +1 -0
- package/dist/esm/bg-95deb8e1.js +82 -0
- package/dist/esm/bg-95deb8e1.js.map +1 -0
- package/dist/esm/browser-b064d9b4.js +18 -0
- package/dist/esm/browser-b064d9b4.js.map +1 -0
- package/dist/esm/bs-6d6b0646.js +51 -0
- package/dist/esm/bs-6d6b0646.js.map +1 -0
- package/dist/esm/ca-9b0651fb.js +71 -0
- package/dist/esm/ca-9b0651fb.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 +13 -13
- 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 +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-a5f84e9e.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-a5f84e9e.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 +16 -16
- 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 +15 -15
- 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 +4 -4
- 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 +12 -12
- 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 +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +12 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/component-a7f42729.js +27 -0
- package/dist/esm/component-a7f42729.js.map +1 -0
- package/dist/esm/conditionalSlot-fdb256ba.js +57 -0
- package/dist/esm/conditionalSlot-fdb256ba.js.map +1 -0
- package/dist/esm/cs-c564b72f.js +147 -0
- package/dist/esm/cs-c564b72f.js.map +1 -0
- package/dist/esm/da-e7b969c1.js +66 -0
- package/dist/esm/da-e7b969c1.js.map +1 -0
- package/dist/esm/de-52abfc86.js +91 -0
- package/dist/esm/de-52abfc86.js.map +1 -0
- package/dist/esm/de-at-b0bfdcc6.js +90 -0
- package/dist/esm/de-at-b0bfdcc6.js.map +1 -0
- package/dist/esm/de-ch-791a8c78.js +90 -0
- package/dist/esm/de-ch-791a8c78.js.map +1 -0
- package/dist/esm/debounce-6d7554bd.js +489 -0
- package/dist/esm/debounce-6d7554bd.js.map +1 -0
- package/dist/esm/dom-d0fe745c.js +1053 -0
- package/dist/esm/dom-d0fe745c.js.map +1 -0
- package/dist/esm/el-96481237.js +66 -0
- package/dist/esm/el-96481237.js.map +1 -0
- package/dist/esm/en-au-e64a868a.js +66 -0
- package/dist/esm/en-au-e64a868a.js.map +1 -0
- package/dist/esm/en-ca-d1ca3392.js +65 -0
- package/dist/esm/en-ca-d1ca3392.js.map +1 -0
- package/dist/esm/en-gb-baf9df0f.js +69 -0
- package/dist/esm/en-gb-baf9df0f.js.map +1 -0
- package/dist/esm/es-1e516b8d.js +66 -0
- package/dist/esm/es-1e516b8d.js.map +1 -0
- package/dist/esm/es-mx-415b2293.js +65 -0
- package/dist/esm/es-mx-415b2293.js.map +1 -0
- package/dist/esm/et-0b84fcc7.js +92 -0
- package/dist/esm/et-0b84fcc7.js.map +1 -0
- package/dist/esm/fi-21d04fe9.js +115 -0
- package/dist/esm/fi-21d04fe9.js.map +1 -0
- package/dist/esm/filter-f3298c13.js +760 -0
- package/dist/esm/filter-f3298c13.js.map +1 -0
- package/dist/esm/floating-ui-244cb6e2.js +1908 -0
- package/dist/esm/floating-ui-244cb6e2.js.map +1 -0
- package/dist/esm/focusTrapComponent-ef6c683e.js +1015 -0
- package/dist/esm/focusTrapComponent-ef6c683e.js.map +1 -0
- package/dist/esm/form-e782f6fe.js +249 -0
- package/dist/esm/form-e782f6fe.js.map +1 -0
- package/dist/esm/fr-ca128fa0.js +68 -0
- package/dist/esm/fr-ca128fa0.js.map +1 -0
- package/dist/esm/fr-ch-035b5463.js +66 -0
- package/dist/esm/fr-ch-035b5463.js.map +1 -0
- package/dist/esm/guid-5e761885.js +21 -0
- package/dist/esm/guid-5e761885.js.map +1 -0
- package/dist/esm/he-0677343a.js +105 -0
- package/dist/esm/he-0677343a.js.map +1 -0
- package/dist/esm/hi-9162ea02.js +65 -0
- package/dist/esm/hi-9162ea02.js.map +1 -0
- package/dist/esm/hr-e3bd4a38.js +80 -0
- package/dist/esm/hr-e3bd4a38.js.map +1 -0
- package/dist/esm/hu-37de184d.js +88 -0
- package/dist/esm/hu-37de184d.js.map +1 -0
- package/dist/esm/id-cb5d85f0.js +66 -0
- package/dist/esm/id-cb5d85f0.js.map +1 -0
- package/dist/esm/index-279b000f.js +73 -0
- package/dist/esm/index-279b000f.js.map +1 -0
- package/dist/esm/index-40c0761c.js +2620 -0
- package/dist/esm/index-40c0761c.js.map +1 -0
- package/dist/esm/index-ac9ef1c5.js +206 -0
- package/dist/esm/index-ac9ef1c5.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-b98a3841.js +139 -0
- package/dist/esm/interactive-b98a3841.js.map +1 -0
- package/dist/esm/it-3038cd59.js +66 -0
- package/dist/esm/it-3038cd59.js.map +1 -0
- package/dist/esm/it-ch-c00e6824.js +66 -0
- package/dist/esm/it-ch-c00e6824.js.map +1 -0
- package/dist/esm/ja-dc204649.js +72 -0
- package/dist/esm/ja-dc204649.js.map +1 -0
- package/dist/esm/key-c288cb80.js +13 -0
- package/dist/esm/key-c288cb80.js.map +1 -0
- package/dist/esm/ko-583cb0e2.js +72 -0
- package/dist/esm/ko-583cb0e2.js.map +1 -0
- package/dist/esm/label-49ac9369.js +176 -0
- package/dist/esm/label-49ac9369.js.map +1 -0
- package/dist/esm/loadable-60945cef.js +86 -0
- package/dist/esm/loadable-60945cef.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-1feb3f4b.js +563 -0
- package/dist/esm/locale-1feb3f4b.js.map +1 -0
- package/dist/esm/lt-3059763a.js +97 -0
- package/dist/esm/lt-3059763a.js.map +1 -0
- package/dist/esm/lv-b6a75c32.js +66 -0
- package/dist/esm/lv-b6a75c32.js.map +1 -0
- package/dist/esm/math-b68ec2e3.js +51 -0
- package/dist/esm/math-b68ec2e3.js.map +1 -0
- package/dist/esm/mk-42401837.js +66 -0
- package/dist/esm/mk-42401837.js.map +1 -0
- package/dist/esm/nb-dab3c68e.js +67 -0
- package/dist/esm/nb-dab3c68e.js.map +1 -0
- package/dist/esm/nl-ed341e2c.js +67 -0
- package/dist/esm/nl-ed341e2c.js.map +1 -0
- package/dist/esm/observers-fa0b2d03.js +48 -0
- package/dist/esm/observers-fa0b2d03.js.map +1 -0
- package/dist/esm/openCloseComponent-d24c0e2e.js +87 -0
- package/dist/esm/openCloseComponent-d24c0e2e.js.map +1 -0
- package/dist/esm/pl-49354dff.js +114 -0
- package/dist/esm/pl-49354dff.js.map +1 -0
- package/dist/esm/pt-bd1de0c3.js +67 -0
- package/dist/esm/pt-bd1de0c3.js.map +1 -0
- package/dist/esm/pt-br-a834c470.js +65 -0
- package/dist/esm/pt-br-a834c470.js.map +1 -0
- package/dist/esm/resources-10498b03.js +45 -0
- package/dist/esm/resources-10498b03.js.map +1 -0
- package/dist/esm/resources-4f46be9a.js +387 -0
- package/dist/esm/resources-4f46be9a.js.map +1 -0
- package/dist/esm/resources-5f64baa9.js +25 -0
- package/dist/esm/resources-5f64baa9.js.map +1 -0
- package/dist/esm/resources-64f9a466.js +23 -0
- package/dist/esm/resources-64f9a466.js.map +1 -0
- package/dist/esm/resources-7d50ceb8.js +17 -0
- package/dist/esm/resources-7d50ceb8.js.map +1 -0
- package/dist/esm/resources-baadb0a3.js +21 -0
- package/dist/esm/resources-baadb0a3.js.map +1 -0
- package/dist/esm/resources-e8c603b8.js +19 -0
- package/dist/esm/resources-e8c603b8.js.map +1 -0
- package/dist/esm/ro-89df12b0.js +66 -0
- package/dist/esm/ro-89df12b0.js.map +1 -0
- package/dist/esm/ru-7574ca3e.js +126 -0
- package/dist/esm/ru-7574ca3e.js.map +1 -0
- package/dist/esm/sk-d0299b72.js +148 -0
- package/dist/esm/sk-d0299b72.js.map +1 -0
- package/dist/esm/sl-917abd34.js +168 -0
- package/dist/esm/sl-917abd34.js.map +1 -0
- package/dist/esm/sortableComponent-be06b7ae.js +2735 -0
- package/dist/esm/sortableComponent-be06b7ae.js.map +1 -0
- package/dist/esm/sr-838ffec0.js +101 -0
- package/dist/esm/sr-838ffec0.js.map +1 -0
- package/dist/esm/sv-9c943a1d.js +71 -0
- package/dist/esm/sv-9c943a1d.js.map +1 -0
- package/dist/esm/t9n-2b559ba2.js +92 -0
- package/dist/esm/t9n-2b559ba2.js.map +1 -0
- package/dist/esm/th-12b8e654.js +65 -0
- package/dist/esm/th-12b8e654.js.map +1 -0
- package/dist/esm/throttle-dbe671ea.js +75 -0
- package/dist/esm/throttle-dbe671ea.js.map +1 -0
- package/dist/esm/tr-6e4fc036.js +66 -0
- package/dist/esm/tr-6e4fc036.js.map +1 -0
- package/dist/esm/uk-bae4678e.js +104 -0
- package/dist/esm/uk-bae4678e.js.map +1 -0
- package/dist/esm/utils-58012f5f.js +200 -0
- package/dist/esm/utils-58012f5f.js.map +1 -0
- package/dist/esm/utils-70efc549.js +289 -0
- package/dist/esm/utils-70efc549.js.map +1 -0
- package/dist/esm/vi-9cc89c27.js +70 -0
- package/dist/esm/vi-9cc89c27.js.map +1 -0
- package/dist/esm/zh-cn-7c8d7d22.js +94 -0
- package/dist/esm/zh-cn-7c8d7d22.js.map +1 -0
- package/dist/esm/zh-hk-63075408.js +71 -0
- package/dist/esm/zh-hk-63075408.js.map +1 -0
- package/dist/esm/zh-tw-85e294d5.js +92 -0
- package/dist/esm/zh-tw-85e294d5.js.map +1 -0
- package/dist/extras/docs-json.json +1 -1
- 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/hydrate/index.js +4 -3
- package/package.json +2 -2
- package/dist/calcite/p-02ce8159.js +0 -7
- package/dist/calcite/p-08e9ee39.js +0 -7
- package/dist/calcite/p-09498716.entry.js +0 -7
- package/dist/calcite/p-0a8bbba3.entry.js +0 -7
- package/dist/calcite/p-0bc3b977.js +0 -7
- package/dist/calcite/p-0d0c2262.js +0 -7
- package/dist/calcite/p-0db50ac4.entry.js +0 -7
- package/dist/calcite/p-10261e3a.js +0 -7
- package/dist/calcite/p-14b28a8e.entry.js +0 -7
- package/dist/calcite/p-17df8bff.entry.js +0 -7
- package/dist/calcite/p-180d0523.entry.js +0 -7
- package/dist/calcite/p-19081bac.js +0 -7
- package/dist/calcite/p-1c039633.js +0 -7
- package/dist/calcite/p-1c8e7894.entry.js +0 -7
- package/dist/calcite/p-1cf4e075.entry.js +0 -7
- package/dist/calcite/p-20338f8c.js +0 -7
- package/dist/calcite/p-245b5b32.entry.js +0 -7
- package/dist/calcite/p-24a7293c.js +0 -7
- package/dist/calcite/p-267ad8ee.js +0 -7
- package/dist/calcite/p-26dfc435.entry.js +0 -7
- package/dist/calcite/p-2bea2a35.js +0 -7
- package/dist/calcite/p-2d1c9a87.entry.js +0 -7
- package/dist/calcite/p-2d4fca12.entry.js +0 -7
- package/dist/calcite/p-2d9e2112.js +0 -7
- package/dist/calcite/p-2f0c1cb6.entry.js +0 -7
- package/dist/calcite/p-2fb494b0.entry.js +0 -7
- package/dist/calcite/p-34b376c7.entry.js +0 -7
- package/dist/calcite/p-34fee7c9.js +0 -7
- package/dist/calcite/p-357bcc08.entry.js +0 -7
- package/dist/calcite/p-3a0934f5.entry.js +0 -7
- package/dist/calcite/p-3a2526aa.js +0 -7
- package/dist/calcite/p-3adbf0b8.entry.js +0 -7
- package/dist/calcite/p-3bebc455.js +0 -7
- package/dist/calcite/p-3c5fb5d2.entry.js +0 -7
- package/dist/calcite/p-3c8df7dc.js +0 -11
- package/dist/calcite/p-3dad73ba.entry.js +0 -7
- package/dist/calcite/p-4064c655.js +0 -7
- package/dist/calcite/p-415189d6.js +0 -7
- package/dist/calcite/p-41c6d5c3.js +0 -7
- package/dist/calcite/p-4286729d.js +0 -7
- package/dist/calcite/p-4395275b.entry.js +0 -7
- package/dist/calcite/p-442f4222.js +0 -7
- package/dist/calcite/p-44798fee.entry.js +0 -7
- package/dist/calcite/p-44798fee.entry.js.map +0 -1
- package/dist/calcite/p-460b35ff.entry.js +0 -7
- package/dist/calcite/p-47556cf5.entry.js +0 -7
- package/dist/calcite/p-47556cf5.entry.js.map +0 -1
- package/dist/calcite/p-497dd485.entry.js +0 -7
- package/dist/calcite/p-49aeb065.js +0 -7
- package/dist/calcite/p-4aaeeb92.js +0 -7
- package/dist/calcite/p-4fe6d943.js +0 -7
- package/dist/calcite/p-5117607f.js +0 -7
- package/dist/calcite/p-5291a46b.js +0 -7
- package/dist/calcite/p-585473ff.entry.js +0 -7
- package/dist/calcite/p-585473ff.entry.js.map +0 -1
- package/dist/calcite/p-5a00f0c7.js +0 -7
- package/dist/calcite/p-5acea0bc.entry.js +0 -7
- package/dist/calcite/p-5c68b6dc.entry.js +0 -7
- package/dist/calcite/p-5c756693.entry.js +0 -7
- package/dist/calcite/p-5cec3933.entry.js +0 -7
- package/dist/calcite/p-61279b6e.js +0 -7
- package/dist/calcite/p-6200030b.entry.js +0 -7
- package/dist/calcite/p-6200030b.entry.js.map +0 -1
- package/dist/calcite/p-62aed31a.js +0 -7
- package/dist/calcite/p-64c61c3b.entry.js +0 -7
- package/dist/calcite/p-6523e8ae.js +0 -7
- package/dist/calcite/p-66b97eb7.js +0 -7
- package/dist/calcite/p-68d7b29a.js +0 -7
- package/dist/calcite/p-6c79cb1d.entry.js +0 -7
- package/dist/calcite/p-6e7f0ae1.entry.js +0 -7
- package/dist/calcite/p-709ddc7e.js +0 -7
- package/dist/calcite/p-737d36fc.js +0 -7
- package/dist/calcite/p-783a122b.js +0 -7
- package/dist/calcite/p-78b49192.entry.js +0 -7
- package/dist/calcite/p-7bc8b4a8.js +0 -7
- package/dist/calcite/p-7db98fdd.js +0 -7
- package/dist/calcite/p-7e88b8b5.js +0 -7
- package/dist/calcite/p-7ef2b55b.js +0 -7
- package/dist/calcite/p-804eb50a.js +0 -7
- package/dist/calcite/p-818b9b6b.entry.js +0 -7
- package/dist/calcite/p-818b9b6b.entry.js.map +0 -1
- package/dist/calcite/p-828fb93e.entry.js +0 -7
- package/dist/calcite/p-82c834e7.entry.js +0 -7
- package/dist/calcite/p-841a124d.entry.js +0 -7
- package/dist/calcite/p-85f250c3.entry.js +0 -7
- package/dist/calcite/p-86188fa7.js +0 -7
- package/dist/calcite/p-880fd653.entry.js +0 -7
- package/dist/calcite/p-886e20be.js +0 -7
- package/dist/calcite/p-8c2c40af.js +0 -7
- package/dist/calcite/p-8c6d61f2.js +0 -7
- package/dist/calcite/p-8d52adf7.js +0 -7
- package/dist/calcite/p-8e241193.js +0 -7
- package/dist/calcite/p-91e7418c.js +0 -7
- package/dist/calcite/p-93448f15.js +0 -7
- package/dist/calcite/p-963ee370.entry.js +0 -7
- package/dist/calcite/p-96d12552.entry.js +0 -7
- package/dist/calcite/p-96ea2306.entry.js +0 -7
- package/dist/calcite/p-9eec6473.entry.js +0 -7
- package/dist/calcite/p-9f74327f.js +0 -7
- package/dist/calcite/p-a0c13414.entry.js +0 -7
- package/dist/calcite/p-a2e57d51.js +0 -7
- package/dist/calcite/p-a2e8cd36.js +0 -13
- package/dist/calcite/p-a4af6228.js +0 -7
- package/dist/calcite/p-a91f2ccf.entry.js +0 -7
- package/dist/calcite/p-a9324346.js +0 -7
- package/dist/calcite/p-aa335a8d.js +0 -7
- package/dist/calcite/p-ab607a1d.entry.js +0 -7
- package/dist/calcite/p-ad0f2ffe.entry.js +0 -7
- package/dist/calcite/p-adabdaf7.js +0 -7
- package/dist/calcite/p-af145a48.js +0 -7
- package/dist/calcite/p-b081b287.js +0 -7
- package/dist/calcite/p-b09b566e.entry.js +0 -7
- package/dist/calcite/p-b27e84bf.entry.js +0 -7
- package/dist/calcite/p-b3898ea5.js +0 -7
- package/dist/calcite/p-b45195a7.js +0 -7
- package/dist/calcite/p-b4f97f6f.entry.js +0 -7
- package/dist/calcite/p-b4f97f6f.entry.js.map +0 -1
- package/dist/calcite/p-b622c998.js +0 -7
- package/dist/calcite/p-b6f0a4ed.js +0 -7
- package/dist/calcite/p-b7020a61.js +0 -7
- package/dist/calcite/p-b7b1afb0.entry.js +0 -7
- package/dist/calcite/p-c0904ce0.js +0 -7
- package/dist/calcite/p-c3065c83.entry.js +0 -7
- package/dist/calcite/p-c4ebf0e5.entry.js +0 -7
- package/dist/calcite/p-c4ebf0e5.entry.js.map +0 -1
- package/dist/calcite/p-c55fb622.js +0 -7
- package/dist/calcite/p-c83e225f.js +0 -7
- package/dist/calcite/p-c920b0d8.js +0 -7
- package/dist/calcite/p-ca7605a6.entry.js +0 -7
- package/dist/calcite/p-cacc16c1.js +0 -7
- package/dist/calcite/p-ce2d7d9e.js +0 -7
- package/dist/calcite/p-cf6fb281.js +0 -7
- package/dist/calcite/p-d0c307fc.js +0 -7
- package/dist/calcite/p-d1c55f43.entry.js +0 -7
- package/dist/calcite/p-d30c5fb2.js +0 -7
- package/dist/calcite/p-d8bc51c0.js +0 -7
- package/dist/calcite/p-d8c2a4c2.js +0 -7
- package/dist/calcite/p-d9971981.entry.js +0 -7
- package/dist/calcite/p-db74519c.js +0 -7
- package/dist/calcite/p-dc006975.entry.js +0 -7
- package/dist/calcite/p-dd951918.js +0 -7
- package/dist/calcite/p-ddbc0399.js +0 -7
- package/dist/calcite/p-e0876aeb.js +0 -7
- package/dist/calcite/p-e1f810b1.entry.js +0 -7
- package/dist/calcite/p-e3974d34.entry.js +0 -7
- package/dist/calcite/p-e449aded.entry.js +0 -7
- package/dist/calcite/p-e677b5ca.js +0 -7
- package/dist/calcite/p-e6b63f1d.js +0 -7
- package/dist/calcite/p-e6e5b6ed.entry.js +0 -7
- package/dist/calcite/p-e7b7ecf2.js +0 -7
- package/dist/calcite/p-e7c7c129.entry.js +0 -7
- package/dist/calcite/p-ea054e4c.entry.js +0 -7
- package/dist/calcite/p-ea0b0994.entry.js +0 -7
- package/dist/calcite/p-ecb5d336.js +0 -7
- package/dist/calcite/p-eec6d415.entry.js +0 -7
- package/dist/calcite/p-ef699fce.entry.js +0 -7
- package/dist/calcite/p-f0b2038e.js +0 -7
- package/dist/calcite/p-f2a06ab6.entry.js +0 -7
- package/dist/calcite/p-f398e677.js +0 -7
- package/dist/calcite/p-f42bd065.js +0 -7
- package/dist/calcite/p-f6e5b847.js +0 -7
- package/dist/calcite/p-f774e019.js +0 -8
- package/dist/calcite/p-f7d361b2.js +0 -7
- package/dist/calcite/p-f7d55994.js +0 -7
- package/dist/calcite/p-facf31c6.entry.js +0 -7
- package/dist/calcite/p-ff8617ed.entry.js +0 -7
- package/dist/calcite/p-ff9e32f7.js +0 -12
- package/dist/cjs/ExpandToggle-d644f2ca.js +0 -110
- package/dist/cjs/ExpandToggle-d644f2ca.js.map +0 -1
- package/dist/cjs/FloatingArrow-6ebce463.js +0 -49
- package/dist/cjs/FloatingArrow-6ebce463.js.map +0 -1
- package/dist/cjs/Heading-69d7a469.js +0 -22
- package/dist/cjs/Heading-69d7a469.js.map +0 -1
- package/dist/cjs/Validation-b36431f0.js +0 -18
- package/dist/cjs/Validation-b36431f0.js.map +0 -1
- package/dist/cjs/app-globals-02c7f686.js +0 -61
- package/dist/cjs/app-globals-02c7f686.js.map +0 -1
- package/dist/cjs/ar-0c151196.js +0 -106
- package/dist/cjs/ar-0c151196.js.map +0 -1
- package/dist/cjs/array-5aac051c.js +0 -14
- package/dist/cjs/array-5aac051c.js.map +0 -1
- package/dist/cjs/bg-4f251757.js +0 -84
- package/dist/cjs/bg-4f251757.js.map +0 -1
- package/dist/cjs/browser-959185aa.js +0 -20
- package/dist/cjs/browser-959185aa.js.map +0 -1
- package/dist/cjs/bs-b406c1d8.js +0 -53
- package/dist/cjs/bs-b406c1d8.js.map +0 -1
- package/dist/cjs/ca-bbb835b9.js +0 -73
- package/dist/cjs/ca-bbb835b9.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-02c4231b.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-02c4231b.js.map +0 -1
- package/dist/cjs/component-e232b290.js +0 -30
- package/dist/cjs/component-e232b290.js.map +0 -1
- package/dist/cjs/conditionalSlot-5c45199a.js +0 -60
- package/dist/cjs/conditionalSlot-5c45199a.js.map +0 -1
- package/dist/cjs/cs-0a9cf210.js +0 -149
- package/dist/cjs/cs-0a9cf210.js.map +0 -1
- package/dist/cjs/da-eb2e5f1c.js +0 -68
- package/dist/cjs/da-eb2e5f1c.js.map +0 -1
- package/dist/cjs/de-3d69af80.js +0 -93
- package/dist/cjs/de-3d69af80.js.map +0 -1
- package/dist/cjs/de-at-27b58538.js +0 -92
- package/dist/cjs/de-at-27b58538.js.map +0 -1
- package/dist/cjs/de-ch-3a72dd9a.js +0 -92
- package/dist/cjs/de-ch-3a72dd9a.js.map +0 -1
- package/dist/cjs/debounce-a866e732.js +0 -498
- package/dist/cjs/debounce-a866e732.js.map +0 -1
- package/dist/cjs/dom-594b805d.js +0 -1084
- package/dist/cjs/dom-594b805d.js.map +0 -1
- package/dist/cjs/el-54e66a0f.js +0 -68
- package/dist/cjs/el-54e66a0f.js.map +0 -1
- package/dist/cjs/en-au-f00dd638.js +0 -68
- package/dist/cjs/en-au-f00dd638.js.map +0 -1
- package/dist/cjs/en-ca-32c67907.js +0 -67
- package/dist/cjs/en-ca-32c67907.js.map +0 -1
- package/dist/cjs/en-gb-9fb7259a.js +0 -71
- package/dist/cjs/en-gb-9fb7259a.js.map +0 -1
- package/dist/cjs/es-c85880d2.js +0 -68
- package/dist/cjs/es-c85880d2.js.map +0 -1
- package/dist/cjs/es-mx-2d3c8e40.js +0 -67
- package/dist/cjs/es-mx-2d3c8e40.js.map +0 -1
- package/dist/cjs/et-1a3862dc.js +0 -94
- package/dist/cjs/et-1a3862dc.js.map +0 -1
- package/dist/cjs/fi-9d8a68d4.js +0 -117
- package/dist/cjs/fi-9d8a68d4.js.map +0 -1
- package/dist/cjs/filter-b82f9e93.js +0 -762
- package/dist/cjs/filter-b82f9e93.js.map +0 -1
- package/dist/cjs/floating-ui-8eccc675.js +0 -1916
- package/dist/cjs/floating-ui-8eccc675.js.map +0 -1
- package/dist/cjs/focusTrapComponent-6a86b29c.js +0 -1020
- package/dist/cjs/focusTrapComponent-6a86b29c.js.map +0 -1
- package/dist/cjs/form-28894c22.js +0 -257
- package/dist/cjs/form-28894c22.js.map +0 -1
- package/dist/cjs/fr-326376eb.js +0 -70
- package/dist/cjs/fr-326376eb.js.map +0 -1
- package/dist/cjs/fr-ch-992cd172.js +0 -68
- package/dist/cjs/fr-ch-992cd172.js.map +0 -1
- package/dist/cjs/guid-cddacceb.js +0 -23
- package/dist/cjs/guid-cddacceb.js.map +0 -1
- package/dist/cjs/he-43a6e442.js +0 -107
- package/dist/cjs/he-43a6e442.js.map +0 -1
- package/dist/cjs/hi-1a79dfd1.js +0 -67
- package/dist/cjs/hi-1a79dfd1.js.map +0 -1
- package/dist/cjs/hr-0d002036.js +0 -82
- package/dist/cjs/hr-0d002036.js.map +0 -1
- package/dist/cjs/hu-36b94c21.js +0 -90
- package/dist/cjs/hu-36b94c21.js.map +0 -1
- package/dist/cjs/id-43f62857.js +0 -68
- package/dist/cjs/id-43f62857.js.map +0 -1
- package/dist/cjs/index-203427ec.js +0 -208
- package/dist/cjs/index-203427ec.js.map +0 -1
- package/dist/cjs/index-29116578.js +0 -75
- package/dist/cjs/index-29116578.js.map +0 -1
- package/dist/cjs/index-7b3a1ed9.js +0 -2655
- package/dist/cjs/index-7b3a1ed9.js.map +0 -1
- package/dist/cjs/interactive-e23d5b5f.js +0 -144
- package/dist/cjs/interactive-e23d5b5f.js.map +0 -1
- package/dist/cjs/it-ch-f4cc4aa7.js +0 -68
- package/dist/cjs/it-ch-f4cc4aa7.js.map +0 -1
- package/dist/cjs/it-ed8096ce.js +0 -68
- package/dist/cjs/it-ed8096ce.js.map +0 -1
- package/dist/cjs/ja-7701f773.js +0 -74
- package/dist/cjs/ja-7701f773.js.map +0 -1
- package/dist/cjs/key-c023f3e3.js +0 -16
- package/dist/cjs/key-c023f3e3.js.map +0 -1
- package/dist/cjs/ko-8ccc770f.js +0 -74
- package/dist/cjs/ko-8ccc770f.js.map +0 -1
- package/dist/cjs/label-5a667a29.js +0 -183
- package/dist/cjs/label-5a667a29.js.map +0 -1
- package/dist/cjs/loadable-2ec3c03a.js +0 -91
- package/dist/cjs/loadable-2ec3c03a.js.map +0 -1
- package/dist/cjs/locale-6380f8fd.js +0 -575
- package/dist/cjs/locale-6380f8fd.js.map +0 -1
- package/dist/cjs/lt-1626ed43.js +0 -99
- package/dist/cjs/lt-1626ed43.js.map +0 -1
- package/dist/cjs/lv-b1b0f349.js +0 -68
- package/dist/cjs/lv-b1b0f349.js.map +0 -1
- package/dist/cjs/math-00c46285.js +0 -57
- package/dist/cjs/math-00c46285.js.map +0 -1
- package/dist/cjs/mk-edc947ca.js +0 -68
- package/dist/cjs/mk-edc947ca.js.map +0 -1
- package/dist/cjs/nb-019e8751.js +0 -69
- package/dist/cjs/nb-019e8751.js.map +0 -1
- package/dist/cjs/nl-6617956a.js +0 -69
- package/dist/cjs/nl-6617956a.js.map +0 -1
- package/dist/cjs/observers-952444d2.js +0 -50
- package/dist/cjs/observers-952444d2.js.map +0 -1
- package/dist/cjs/openCloseComponent-2c59a44c.js +0 -89
- package/dist/cjs/openCloseComponent-2c59a44c.js.map +0 -1
- package/dist/cjs/pl-d6228572.js +0 -116
- package/dist/cjs/pl-d6228572.js.map +0 -1
- package/dist/cjs/pt-505468ae.js +0 -69
- package/dist/cjs/pt-505468ae.js.map +0 -1
- package/dist/cjs/pt-br-529bdd67.js +0 -67
- package/dist/cjs/pt-br-529bdd67.js.map +0 -1
- package/dist/cjs/resources-0940ed6f.js +0 -414
- package/dist/cjs/resources-0940ed6f.js.map +0 -1
- package/dist/cjs/resources-36901a12.js +0 -29
- package/dist/cjs/resources-36901a12.js.map +0 -1
- package/dist/cjs/resources-5bece786.js +0 -49
- package/dist/cjs/resources-5bece786.js.map +0 -1
- package/dist/cjs/resources-9d31a3f5.js +0 -17
- package/dist/cjs/resources-9d31a3f5.js.map +0 -1
- package/dist/cjs/resources-b58f3c96.js +0 -23
- package/dist/cjs/resources-b58f3c96.js.map +0 -1
- package/dist/cjs/resources-c2ce28d8.js +0 -26
- package/dist/cjs/resources-c2ce28d8.js.map +0 -1
- package/dist/cjs/resources-e57debda.js +0 -26
- package/dist/cjs/resources-e57debda.js.map +0 -1
- package/dist/cjs/ro-a24c04fc.js +0 -68
- package/dist/cjs/ro-a24c04fc.js.map +0 -1
- package/dist/cjs/ru-fdc1c5d8.js +0 -128
- package/dist/cjs/ru-fdc1c5d8.js.map +0 -1
- package/dist/cjs/sk-c95ca6c4.js +0 -150
- package/dist/cjs/sk-c95ca6c4.js.map +0 -1
- package/dist/cjs/sl-89e998f0.js +0 -170
- package/dist/cjs/sl-89e998f0.js.map +0 -1
- package/dist/cjs/sortableComponent-80624b05.js +0 -2739
- package/dist/cjs/sortableComponent-80624b05.js.map +0 -1
- package/dist/cjs/sr-8e19ed6f.js +0 -103
- package/dist/cjs/sr-8e19ed6f.js.map +0 -1
- package/dist/cjs/sv-b66c9265.js +0 -73
- package/dist/cjs/sv-b66c9265.js.map +0 -1
- package/dist/cjs/t9n-2007f297.js +0 -97
- package/dist/cjs/t9n-2007f297.js.map +0 -1
- package/dist/cjs/th-cc2f90a6.js +0 -67
- package/dist/cjs/th-cc2f90a6.js.map +0 -1
- package/dist/cjs/throttle-74e74188.js +0 -77
- package/dist/cjs/throttle-74e74188.js.map +0 -1
- package/dist/cjs/tr-275e991d.js +0 -68
- package/dist/cjs/tr-275e991d.js.map +0 -1
- package/dist/cjs/uk-34efb1d8.js +0 -106
- package/dist/cjs/uk-34efb1d8.js.map +0 -1
- package/dist/cjs/utils-04684b94.js +0 -307
- package/dist/cjs/utils-04684b94.js.map +0 -1
- package/dist/cjs/utils-542169e6.js +0 -218
- package/dist/cjs/utils-542169e6.js.map +0 -1
- package/dist/cjs/vi-9938947e.js +0 -72
- package/dist/cjs/vi-9938947e.js.map +0 -1
- package/dist/cjs/zh-cn-e4527d2f.js +0 -96
- package/dist/cjs/zh-cn-e4527d2f.js.map +0 -1
- package/dist/cjs/zh-hk-4af1c4b7.js +0 -73
- package/dist/cjs/zh-hk-4af1c4b7.js.map +0 -1
- package/dist/cjs/zh-tw-d0887571.js +0 -94
- package/dist/cjs/zh-tw-d0887571.js.map +0 -1
- package/dist/esm/ExpandToggle-b2cd8105.js +0 -102
- package/dist/esm/ExpandToggle-b2cd8105.js.map +0 -1
- package/dist/esm/FloatingArrow-215aeb06.js +0 -47
- package/dist/esm/FloatingArrow-215aeb06.js.map +0 -1
- package/dist/esm/Heading-3496d8ea.js +0 -19
- package/dist/esm/Heading-3496d8ea.js.map +0 -1
- package/dist/esm/Validation-b4c428a9.js +0 -16
- package/dist/esm/Validation-b4c428a9.js.map +0 -1
- package/dist/esm/app-globals-d535ce4a.js +0 -59
- package/dist/esm/app-globals-d535ce4a.js.map +0 -1
- package/dist/esm/ar-1f00c137.js +0 -104
- package/dist/esm/ar-1f00c137.js.map +0 -1
- package/dist/esm/array-c45d2412.js +0 -12
- package/dist/esm/array-c45d2412.js.map +0 -1
- package/dist/esm/bg-10448b94.js +0 -82
- package/dist/esm/bg-10448b94.js.map +0 -1
- package/dist/esm/browser-0e6d2d69.js +0 -18
- package/dist/esm/browser-0e6d2d69.js.map +0 -1
- package/dist/esm/bs-6ba59bc5.js +0 -51
- package/dist/esm/bs-6ba59bc5.js.map +0 -1
- package/dist/esm/ca-89f3885d.js +0 -71
- package/dist/esm/ca-89f3885d.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-d962c1f6.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-d962c1f6.js.map +0 -1
- package/dist/esm/component-bc956310.js +0 -27
- package/dist/esm/component-bc956310.js.map +0 -1
- package/dist/esm/conditionalSlot-fd2230ba.js +0 -57
- package/dist/esm/conditionalSlot-fd2230ba.js.map +0 -1
- package/dist/esm/cs-1eb7f11f.js +0 -147
- package/dist/esm/cs-1eb7f11f.js.map +0 -1
- package/dist/esm/da-b2d02aa2.js +0 -66
- package/dist/esm/da-b2d02aa2.js.map +0 -1
- package/dist/esm/de-at-4878f88b.js +0 -90
- package/dist/esm/de-at-4878f88b.js.map +0 -1
- package/dist/esm/de-ch-de2243a5.js +0 -90
- package/dist/esm/de-ch-de2243a5.js.map +0 -1
- package/dist/esm/de-fdd9ee79.js +0 -91
- package/dist/esm/de-fdd9ee79.js.map +0 -1
- package/dist/esm/debounce-e2fe5809.js +0 -489
- package/dist/esm/debounce-e2fe5809.js.map +0 -1
- package/dist/esm/dom-31715c9d.js +0 -1053
- package/dist/esm/dom-31715c9d.js.map +0 -1
- package/dist/esm/el-6df68669.js +0 -66
- package/dist/esm/el-6df68669.js.map +0 -1
- package/dist/esm/en-au-184e3a9a.js +0 -66
- package/dist/esm/en-au-184e3a9a.js.map +0 -1
- package/dist/esm/en-ca-265bf629.js +0 -65
- package/dist/esm/en-ca-265bf629.js.map +0 -1
- package/dist/esm/en-gb-3c6691c5.js +0 -69
- package/dist/esm/en-gb-3c6691c5.js.map +0 -1
- package/dist/esm/es-97ebe670.js +0 -66
- package/dist/esm/es-97ebe670.js.map +0 -1
- package/dist/esm/es-mx-236ca3e1.js +0 -65
- package/dist/esm/es-mx-236ca3e1.js.map +0 -1
- package/dist/esm/et-ce680d96.js +0 -92
- package/dist/esm/et-ce680d96.js.map +0 -1
- package/dist/esm/fi-f48e7327.js +0 -115
- package/dist/esm/fi-f48e7327.js.map +0 -1
- package/dist/esm/filter-da8b39f4.js +0 -760
- package/dist/esm/filter-da8b39f4.js.map +0 -1
- package/dist/esm/floating-ui-1ac9344b.js +0 -1908
- package/dist/esm/floating-ui-1ac9344b.js.map +0 -1
- package/dist/esm/focusTrapComponent-370891e1.js +0 -1015
- package/dist/esm/focusTrapComponent-370891e1.js.map +0 -1
- package/dist/esm/form-3cf1961b.js +0 -249
- package/dist/esm/form-3cf1961b.js.map +0 -1
- package/dist/esm/fr-ch-3f596c85.js +0 -66
- package/dist/esm/fr-ch-3f596c85.js.map +0 -1
- package/dist/esm/fr-ffe4687b.js +0 -68
- package/dist/esm/fr-ffe4687b.js.map +0 -1
- package/dist/esm/guid-b020631f.js +0 -21
- package/dist/esm/guid-b020631f.js.map +0 -1
- package/dist/esm/he-cb2698e1.js +0 -105
- package/dist/esm/he-cb2698e1.js.map +0 -1
- package/dist/esm/hi-3eb21353.js +0 -65
- package/dist/esm/hi-3eb21353.js.map +0 -1
- package/dist/esm/hr-9feea865.js +0 -80
- package/dist/esm/hr-9feea865.js.map +0 -1
- package/dist/esm/hu-8d560c40.js +0 -88
- package/dist/esm/hu-8d560c40.js.map +0 -1
- package/dist/esm/id-f1027e76.js +0 -66
- package/dist/esm/id-f1027e76.js.map +0 -1
- package/dist/esm/index-11c7bd13.js +0 -2620
- package/dist/esm/index-11c7bd13.js.map +0 -1
- package/dist/esm/index-e035efd9.js +0 -73
- package/dist/esm/index-e035efd9.js.map +0 -1
- package/dist/esm/index-f693800b.js +0 -206
- package/dist/esm/index-f693800b.js.map +0 -1
- package/dist/esm/interactive-f81e4c3d.js +0 -139
- package/dist/esm/interactive-f81e4c3d.js.map +0 -1
- package/dist/esm/it-8425b416.js +0 -66
- package/dist/esm/it-8425b416.js.map +0 -1
- package/dist/esm/it-ch-f65f7579.js +0 -66
- package/dist/esm/it-ch-f65f7579.js.map +0 -1
- package/dist/esm/ja-e9304fb4.js +0 -72
- package/dist/esm/ja-e9304fb4.js.map +0 -1
- package/dist/esm/key-5d019fd7.js +0 -13
- package/dist/esm/key-5d019fd7.js.map +0 -1
- package/dist/esm/ko-6c86b48d.js +0 -72
- package/dist/esm/ko-6c86b48d.js.map +0 -1
- package/dist/esm/label-fb31a6c0.js +0 -176
- package/dist/esm/label-fb31a6c0.js.map +0 -1
- package/dist/esm/loadable-a0b80538.js +0 -86
- package/dist/esm/loadable-a0b80538.js.map +0 -1
- package/dist/esm/locale-3ca3f240.js +0 -563
- package/dist/esm/locale-3ca3f240.js.map +0 -1
- package/dist/esm/lt-13b6ae68.js +0 -97
- package/dist/esm/lt-13b6ae68.js.map +0 -1
- package/dist/esm/lv-f8d7fe8e.js +0 -66
- package/dist/esm/lv-f8d7fe8e.js.map +0 -1
- package/dist/esm/math-22349374.js +0 -51
- package/dist/esm/math-22349374.js.map +0 -1
- package/dist/esm/mk-d99a7b4e.js +0 -66
- package/dist/esm/mk-d99a7b4e.js.map +0 -1
- package/dist/esm/nb-99e10f0a.js +0 -67
- package/dist/esm/nb-99e10f0a.js.map +0 -1
- package/dist/esm/nl-dd492ce3.js +0 -67
- package/dist/esm/nl-dd492ce3.js.map +0 -1
- package/dist/esm/observers-95e9a62d.js +0 -48
- package/dist/esm/observers-95e9a62d.js.map +0 -1
- package/dist/esm/openCloseComponent-8fe7b4ec.js +0 -87
- package/dist/esm/openCloseComponent-8fe7b4ec.js.map +0 -1
- package/dist/esm/pl-586b62fe.js +0 -114
- package/dist/esm/pl-586b62fe.js.map +0 -1
- package/dist/esm/pt-br-35bb6a83.js +0 -65
- package/dist/esm/pt-br-35bb6a83.js.map +0 -1
- package/dist/esm/pt-ca92deea.js +0 -67
- package/dist/esm/pt-ca92deea.js.map +0 -1
- package/dist/esm/resources-3ecbe1f6.js +0 -17
- package/dist/esm/resources-3ecbe1f6.js.map +0 -1
- package/dist/esm/resources-4d4954b7.js +0 -19
- package/dist/esm/resources-4d4954b7.js.map +0 -1
- package/dist/esm/resources-8f4b5cb7.js +0 -21
- package/dist/esm/resources-8f4b5cb7.js.map +0 -1
- package/dist/esm/resources-9638eb0b.js +0 -45
- package/dist/esm/resources-9638eb0b.js.map +0 -1
- package/dist/esm/resources-e3d0bdf7.js +0 -387
- package/dist/esm/resources-e3d0bdf7.js.map +0 -1
- package/dist/esm/resources-ed6f9c5e.js +0 -23
- package/dist/esm/resources-ed6f9c5e.js.map +0 -1
- package/dist/esm/resources-f8a22701.js +0 -25
- package/dist/esm/resources-f8a22701.js.map +0 -1
- package/dist/esm/ro-f3fcc4ce.js +0 -66
- package/dist/esm/ro-f3fcc4ce.js.map +0 -1
- package/dist/esm/ru-530bc848.js +0 -126
- package/dist/esm/ru-530bc848.js.map +0 -1
- package/dist/esm/sk-457bc46a.js +0 -148
- package/dist/esm/sk-457bc46a.js.map +0 -1
- package/dist/esm/sl-6988b2e1.js +0 -168
- package/dist/esm/sl-6988b2e1.js.map +0 -1
- package/dist/esm/sortableComponent-ee654ff6.js +0 -2735
- package/dist/esm/sortableComponent-ee654ff6.js.map +0 -1
- package/dist/esm/sr-228060dd.js +0 -101
- package/dist/esm/sr-228060dd.js.map +0 -1
- package/dist/esm/sv-58d64970.js +0 -71
- package/dist/esm/sv-58d64970.js.map +0 -1
- package/dist/esm/t9n-b2c20d92.js +0 -92
- package/dist/esm/t9n-b2c20d92.js.map +0 -1
- package/dist/esm/th-f1a75bba.js +0 -65
- package/dist/esm/th-f1a75bba.js.map +0 -1
- package/dist/esm/throttle-9c367e5b.js +0 -75
- package/dist/esm/throttle-9c367e5b.js.map +0 -1
- package/dist/esm/tr-9f61ef30.js +0 -66
- package/dist/esm/tr-9f61ef30.js.map +0 -1
- package/dist/esm/uk-a34b337f.js +0 -104
- package/dist/esm/uk-a34b337f.js.map +0 -1
- package/dist/esm/utils-b0b51afe.js +0 -289
- package/dist/esm/utils-b0b51afe.js.map +0 -1
- package/dist/esm/utils-d565b4b7.js +0 -200
- package/dist/esm/utils-d565b4b7.js.map +0 -1
- package/dist/esm/vi-e7b43c57.js +0 -70
- package/dist/esm/vi-e7b43c57.js.map +0 -1
- package/dist/esm/zh-cn-141b73c7.js +0 -94
- package/dist/esm/zh-cn-141b73c7.js.map +0 -1
- package/dist/esm/zh-hk-bad9e1f1.js +0 -71
- package/dist/esm/zh-hk-bad9e1f1.js.map +0 -1
- package/dist/esm/zh-tw-89e8d70f.js +0 -92
- package/dist/esm/zh-tw-89e8d70f.js.map +0 -1
- /package/dist/calcite/{p-245b5b32.entry.js.map → p-009df7bd.entry.js.map} +0 -0
- /package/dist/calcite/{p-82c834e7.entry.js.map → p-023cb752.entry.js.map} +0 -0
- /package/dist/calcite/{p-34fee7c9.js.map → p-02abadd4.js.map} +0 -0
- /package/dist/calcite/{p-c83e225f.js.map → p-0688443c.js.map} +0 -0
- /package/dist/calcite/{p-62aed31a.js.map → p-0c78ad55.js.map} +0 -0
- /package/dist/calcite/{p-b622c998.js.map → p-0d45e05e.js.map} +0 -0
- /package/dist/calcite/{p-2fb494b0.entry.js.map → p-12155f47.entry.js.map} +0 -0
- /package/dist/calcite/{p-e7c7c129.entry.js.map → p-1265eed3.entry.js.map} +0 -0
- /package/dist/calcite/{p-78b49192.entry.js.map → p-13c4a874.entry.js.map} +0 -0
- /package/dist/calcite/{p-a9324346.js.map → p-14efc7f9.js.map} +0 -0
- /package/dist/calcite/{p-737d36fc.js.map → p-1516f85a.js.map} +0 -0
- /package/dist/calcite/{p-08e9ee39.js.map → p-15e6324b.js.map} +0 -0
- /package/dist/calcite/{p-8c6d61f2.js.map → p-178a3e1d.js.map} +0 -0
- /package/dist/calcite/{p-963ee370.entry.js.map → p-1a640aab.entry.js.map} +0 -0
- /package/dist/calcite/{p-8d52adf7.js.map → p-1b0b405d.js.map} +0 -0
- /package/dist/calcite/{p-709ddc7e.js.map → p-1c177571.js.map} +0 -0
- /package/dist/calcite/{p-357bcc08.entry.js.map → p-1c2f0e1d.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a2526aa.js.map → p-25821b5d.js.map} +0 -0
- /package/dist/calcite/{p-7e88b8b5.js.map → p-28d1086d.js.map} +0 -0
- /package/dist/calcite/{p-f0b2038e.js.map → p-28f52df2.js.map} +0 -0
- /package/dist/calcite/{p-180d0523.entry.js.map → p-2943ea79.entry.js.map} +0 -0
- /package/dist/calcite/{p-f7d55994.js.map → p-2bc9db9c.js.map} +0 -0
- /package/dist/calcite/{p-267ad8ee.js.map → p-2c949afb.js.map} +0 -0
- /package/dist/calcite/{p-d30c5fb2.js.map → p-2f97f619.js.map} +0 -0
- /package/dist/calcite/{p-5acea0bc.entry.js.map → p-3015eae8.entry.js.map} +0 -0
- /package/dist/calcite/{p-eec6d415.entry.js.map → p-339bf5a7.entry.js.map} +0 -0
- /package/dist/calcite/{p-5c756693.entry.js.map → p-33df7b6d.entry.js.map} +0 -0
- /package/dist/calcite/{p-41c6d5c3.js.map → p-364a1357.js.map} +0 -0
- /package/dist/calcite/{p-68d7b29a.js.map → p-371653fc.js.map} +0 -0
- /package/dist/calcite/{p-ad0f2ffe.entry.js.map → p-37aef5e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-c55fb622.js.map → p-39c97773.js.map} +0 -0
- /package/dist/calcite/{p-a91f2ccf.entry.js.map → p-3e05f5dd.entry.js.map} +0 -0
- /package/dist/calcite/{p-66b97eb7.js.map → p-3e78afb3.js.map} +0 -0
- /package/dist/calcite/{p-8c2c40af.js.map → p-3fde6079.js.map} +0 -0
- /package/dist/calcite/{p-f42bd065.js.map → p-3fee112f.js.map} +0 -0
- /package/dist/calcite/{p-0a8bbba3.entry.js.map → p-456c2c09.entry.js.map} +0 -0
- /package/dist/calcite/{p-86188fa7.js.map → p-49b22d3c.js.map} +0 -0
- /package/dist/calcite/{p-ff8617ed.entry.js.map → p-4a6bc3a2.entry.js.map} +0 -0
- /package/dist/calcite/{p-460b35ff.entry.js.map → p-4a7fa06d.entry.js.map} +0 -0
- /package/dist/calcite/{p-9f74327f.js.map → p-4cfc8de9.js.map} +0 -0
- /package/dist/calcite/{p-442f4222.js.map → p-4d11a023.js.map} +0 -0
- /package/dist/calcite/{p-5291a46b.js.map → p-4d84b548.js.map} +0 -0
- /package/dist/calcite/{p-e0876aeb.js.map → p-4e12941a.js.map} +0 -0
- /package/dist/calcite/{p-0bc3b977.js.map → p-50035fd9.js.map} +0 -0
- /package/dist/calcite/{p-1c039633.js.map → p-5085c585.js.map} +0 -0
- /package/dist/calcite/{p-5117607f.js.map → p-50faabaa.js.map} +0 -0
- /package/dist/calcite/{p-17df8bff.entry.js.map → p-521a19b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-ea054e4c.entry.js.map → p-52e0fa76.entry.js.map} +0 -0
- /package/dist/calcite/{p-b7020a61.js.map → p-55d17d6b.js.map} +0 -0
- /package/dist/calcite/{p-1cf4e075.entry.js.map → p-5601b7a0.entry.js.map} +0 -0
- /package/dist/calcite/{p-ff9e32f7.js.map → p-56a2a311.js.map} +0 -0
- /package/dist/calcite/{p-dc006975.entry.js.map → p-57260519.entry.js.map} +0 -0
- /package/dist/calcite/{p-aa335a8d.js.map → p-573d1892.js.map} +0 -0
- /package/dist/calcite/{p-9eec6473.entry.js.map → p-5780c537.entry.js.map} +0 -0
- /package/dist/calcite/{p-d1c55f43.entry.js.map → p-58213bb4.entry.js.map} +0 -0
- /package/dist/calcite/{p-64c61c3b.entry.js.map → p-59b07561.entry.js.map} +0 -0
- /package/dist/calcite/{p-ddbc0399.js.map → p-5a5b57db.js.map} +0 -0
- /package/dist/calcite/{p-415189d6.js.map → p-5b5d9fea.js.map} +0 -0
- /package/dist/calcite/{p-24a7293c.js.map → p-5c102065.js.map} +0 -0
- /package/dist/calcite/{p-b09b566e.entry.js.map → p-5d0763c0.entry.js.map} +0 -0
- /package/dist/calcite/{p-3bebc455.js.map → p-5ddb86b0.js.map} +0 -0
- /package/dist/calcite/{p-d9971981.entry.js.map → p-5e693114.entry.js.map} +0 -0
- /package/dist/calcite/{p-3dad73ba.entry.js.map → p-5f3025fa.entry.js.map} +0 -0
- /package/dist/calcite/{p-b45195a7.js.map → p-5f948a73.js.map} +0 -0
- /package/dist/calcite/{p-02ce8159.js.map → p-6133c4eb.js.map} +0 -0
- /package/dist/calcite/{p-a2e57d51.js.map → p-62378ca2.js.map} +0 -0
- /package/dist/calcite/{p-a0c13414.entry.js.map → p-65040f72.entry.js.map} +0 -0
- /package/dist/calcite/{p-93448f15.js.map → p-6685dcc0.js.map} +0 -0
- /package/dist/calcite/{p-3c5fb5d2.entry.js.map → p-66cc32fb.entry.js.map} +0 -0
- /package/dist/calcite/{p-5c68b6dc.entry.js.map → p-6ab9c994.entry.js.map} +0 -0
- /package/dist/calcite/{p-886e20be.js.map → p-6b224746.js.map} +0 -0
- /package/dist/calcite/{p-14b28a8e.entry.js.map → p-6cbc7e5e.entry.js.map} +0 -0
- /package/dist/calcite/{p-828fb93e.entry.js.map → p-6d892d17.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d9e2112.js.map → p-6ded26ac.js.map} +0 -0
- /package/dist/calcite/{p-497dd485.entry.js.map → p-6fb22e2b.entry.js.map} +0 -0
- /package/dist/calcite/{p-af145a48.js.map → p-75c5faf2.js.map} +0 -0
- /package/dist/calcite/{p-880fd653.entry.js.map → p-77b7b39f.entry.js.map} +0 -0
- /package/dist/calcite/{p-4fe6d943.js.map → p-7a35294d.js.map} +0 -0
- /package/dist/calcite/{p-4aaeeb92.js.map → p-7b1cba6b.js.map} +0 -0
- /package/dist/calcite/{p-7bc8b4a8.js.map → p-7bd1ca86.js.map} +0 -0
- /package/dist/calcite/{p-cf6fb281.js.map → p-7d551d23.js.map} +0 -0
- /package/dist/calcite/{p-2f0c1cb6.entry.js.map → p-7e183082.entry.js.map} +0 -0
- /package/dist/calcite/{p-d8bc51c0.js.map → p-80050e3d.js.map} +0 -0
- /package/dist/calcite/{p-1c8e7894.entry.js.map → p-81f1e6bd.entry.js.map} +0 -0
- /package/dist/calcite/{p-ef699fce.entry.js.map → p-84a597c1.entry.js.map} +0 -0
- /package/dist/calcite/{p-c920b0d8.js.map → p-854773ca.js.map} +0 -0
- /package/dist/calcite/{p-e677b5ca.js.map → p-85f6ece8.js.map} +0 -0
- /package/dist/calcite/{p-4286729d.js.map → p-860dcac4.js.map} +0 -0
- /package/dist/calcite/{p-b3898ea5.js.map → p-868135c0.js.map} +0 -0
- /package/dist/calcite/{p-85f250c3.entry.js.map → p-86e078c1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b081b287.js.map → p-87b8780e.js.map} +0 -0
- /package/dist/calcite/{p-4064c655.js.map → p-87e69357.js.map} +0 -0
- /package/dist/calcite/{p-b27e84bf.entry.js.map → p-88cdd341.entry.js.map} +0 -0
- /package/dist/calcite/{p-ecb5d336.js.map → p-8b358711.js.map} +0 -0
- /package/dist/calcite/{p-d8c2a4c2.js.map → p-8c36943d.js.map} +0 -0
- /package/dist/calcite/{p-ab607a1d.entry.js.map → p-8cca3b9a.entry.js.map} +0 -0
- /package/dist/calcite/{p-91e7418c.js.map → p-90559468.js.map} +0 -0
- /package/dist/calcite/{p-ce2d7d9e.js.map → p-95ccaf6f.js.map} +0 -0
- /package/dist/calcite/{p-96ea2306.entry.js.map → p-9894447d.entry.js.map} +0 -0
- /package/dist/calcite/{p-db74519c.js.map → p-997a949a.js.map} +0 -0
- /package/dist/calcite/{p-804eb50a.js.map → p-9a2c8b3d.js.map} +0 -0
- /package/dist/calcite/{p-09498716.entry.js.map → p-9d3468ea.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d4fca12.entry.js.map → p-9e013001.entry.js.map} +0 -0
- /package/dist/calcite/{p-0d0c2262.js.map → p-9e50c12e.js.map} +0 -0
- /package/dist/calcite/{p-a2e8cd36.js.map → p-9eb95f49.js.map} +0 -0
- /package/dist/calcite/{p-c3065c83.entry.js.map → p-9ed9ca92.entry.js.map} +0 -0
- /package/dist/calcite/{p-e6e5b6ed.entry.js.map → p-a078be66.entry.js.map} +0 -0
- /package/dist/calcite/{p-8e241193.js.map → p-a62169e9.js.map} +0 -0
- /package/dist/calcite/{p-f398e677.js.map → p-a691ba25.js.map} +0 -0
- /package/dist/calcite/{p-7ef2b55b.js.map → p-aa288ab1.js.map} +0 -0
- /package/dist/calcite/{p-20338f8c.js.map → p-ab609a37.js.map} +0 -0
- /package/dist/calcite/{p-2bea2a35.js.map → p-ad306a71.js.map} +0 -0
- /package/dist/calcite/{p-4395275b.entry.js.map → p-ad93fde2.entry.js.map} +0 -0
- /package/dist/calcite/{p-ca7605a6.entry.js.map → p-ae21423a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c8df7dc.js.map → p-ae974f62.js.map} +0 -0
- /package/dist/calcite/{p-0db50ac4.entry.js.map → p-af101636.entry.js.map} +0 -0
- /package/dist/calcite/{p-f774e019.js.map → p-b09a549d.js.map} +0 -0
- /package/dist/calcite/{p-e6b63f1d.js.map → p-b1802f36.js.map} +0 -0
- /package/dist/calcite/{p-f2a06ab6.entry.js.map → p-b25894b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-f7d361b2.js.map → p-b3a13c43.js.map} +0 -0
- /package/dist/calcite/{p-adabdaf7.js.map → p-b5f4db60.js.map} +0 -0
- /package/dist/calcite/{p-6c79cb1d.entry.js.map → p-b9e68e91.entry.js.map} +0 -0
- /package/dist/calcite/{p-f6e5b847.js.map → p-bcb26189.js.map} +0 -0
- /package/dist/calcite/{p-2d1c9a87.entry.js.map → p-bf2dcf57.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a00f0c7.js.map → p-c1fab8ad.js.map} +0 -0
- /package/dist/calcite/{p-34b376c7.entry.js.map → p-c5108e04.entry.js.map} +0 -0
- /package/dist/calcite/{p-e449aded.entry.js.map → p-c65a0382.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a0934f5.entry.js.map → p-c8e2cb5d.entry.js.map} +0 -0
- /package/dist/calcite/{p-841a124d.entry.js.map → p-ce29afb7.entry.js.map} +0 -0
- /package/dist/calcite/{p-3adbf0b8.entry.js.map → p-d54b149b.entry.js.map} +0 -0
- /package/dist/calcite/{p-19081bac.js.map → p-d8393b41.js.map} +0 -0
- /package/dist/calcite/{p-cacc16c1.js.map → p-da7b6559.js.map} +0 -0
- /package/dist/calcite/{p-10261e3a.js.map → p-dc386631.js.map} +0 -0
- /package/dist/calcite/{p-e1f810b1.entry.js.map → p-dcc772d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-7db98fdd.js.map → p-ddcd597d.js.map} +0 -0
- /package/dist/calcite/{p-26dfc435.entry.js.map → p-e17aa75c.entry.js.map} +0 -0
- /package/dist/calcite/{p-d0c307fc.js.map → p-e483b360.js.map} +0 -0
- /package/dist/calcite/{p-b7b1afb0.entry.js.map → p-e52c5590.entry.js.map} +0 -0
- /package/dist/calcite/{p-49aeb065.js.map → p-e5936dbf.js.map} +0 -0
- /package/dist/calcite/{p-b6f0a4ed.js.map → p-e762dfb7.js.map} +0 -0
- /package/dist/calcite/{p-ea0b0994.entry.js.map → p-e79a96db.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3974d34.entry.js.map → p-e80d621c.entry.js.map} +0 -0
- /package/dist/calcite/{p-facf31c6.entry.js.map → p-ea297c76.entry.js.map} +0 -0
- /package/dist/calcite/{p-61279b6e.js.map → p-eae4138c.js.map} +0 -0
- /package/dist/calcite/{p-6523e8ae.js.map → p-eb0887e7.js.map} +0 -0
- /package/dist/calcite/{p-96d12552.entry.js.map → p-ebdf2aea.entry.js.map} +0 -0
- /package/dist/calcite/{p-c0904ce0.js.map → p-f32b6ecb.js.map} +0 -0
- /package/dist/calcite/{p-e7b7ecf2.js.map → p-f3fa03f4.js.map} +0 -0
- /package/dist/calcite/{p-783a122b.js.map → p-f4802816.js.map} +0 -0
- /package/dist/calcite/{p-dd951918.js.map → p-f4a62a25.js.map} +0 -0
- /package/dist/calcite/{p-6e7f0ae1.entry.js.map → p-f765b4cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-a4af6228.js.map → p-f7dc3ece.js.map} +0 -0
- /package/dist/calcite/{p-5cec3933.entry.js.map → p-f8974fcf.entry.js.map} +0 -0
|
@@ -0,0 +1,1916 @@
|
|
|
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.2.0-next.8
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const dom = require('./dom-3fd992eb.js');
|
|
9
|
+
const debounce = require('./debounce-46924598.js');
|
|
10
|
+
|
|
11
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
12
|
+
const alignments = ['start', 'end'];
|
|
13
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
14
|
+
const min = Math.min;
|
|
15
|
+
const max = Math.max;
|
|
16
|
+
const round = Math.round;
|
|
17
|
+
const floor = Math.floor;
|
|
18
|
+
const createCoords = v => ({
|
|
19
|
+
x: v,
|
|
20
|
+
y: v
|
|
21
|
+
});
|
|
22
|
+
const oppositeSideMap = {
|
|
23
|
+
left: 'right',
|
|
24
|
+
right: 'left',
|
|
25
|
+
bottom: 'top',
|
|
26
|
+
top: 'bottom'
|
|
27
|
+
};
|
|
28
|
+
const oppositeAlignmentMap = {
|
|
29
|
+
start: 'end',
|
|
30
|
+
end: 'start'
|
|
31
|
+
};
|
|
32
|
+
function clamp(start, value, end) {
|
|
33
|
+
return max(start, min(value, end));
|
|
34
|
+
}
|
|
35
|
+
function evaluate(value, param) {
|
|
36
|
+
return typeof value === 'function' ? value(param) : value;
|
|
37
|
+
}
|
|
38
|
+
function getSide(placement) {
|
|
39
|
+
return placement.split('-')[0];
|
|
40
|
+
}
|
|
41
|
+
function getAlignment(placement) {
|
|
42
|
+
return placement.split('-')[1];
|
|
43
|
+
}
|
|
44
|
+
function getOppositeAxis(axis) {
|
|
45
|
+
return axis === 'x' ? 'y' : 'x';
|
|
46
|
+
}
|
|
47
|
+
function getAxisLength(axis) {
|
|
48
|
+
return axis === 'y' ? 'height' : 'width';
|
|
49
|
+
}
|
|
50
|
+
function getSideAxis(placement) {
|
|
51
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
52
|
+
}
|
|
53
|
+
function getAlignmentAxis(placement) {
|
|
54
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
55
|
+
}
|
|
56
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
57
|
+
if (rtl === void 0) {
|
|
58
|
+
rtl = false;
|
|
59
|
+
}
|
|
60
|
+
const alignment = getAlignment(placement);
|
|
61
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
62
|
+
const length = getAxisLength(alignmentAxis);
|
|
63
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
64
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
65
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
66
|
+
}
|
|
67
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
68
|
+
}
|
|
69
|
+
function getExpandedPlacements(placement) {
|
|
70
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
71
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
72
|
+
}
|
|
73
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
74
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
75
|
+
}
|
|
76
|
+
function getSideList(side, isStart, rtl) {
|
|
77
|
+
const lr = ['left', 'right'];
|
|
78
|
+
const rl = ['right', 'left'];
|
|
79
|
+
const tb = ['top', 'bottom'];
|
|
80
|
+
const bt = ['bottom', 'top'];
|
|
81
|
+
switch (side) {
|
|
82
|
+
case 'top':
|
|
83
|
+
case 'bottom':
|
|
84
|
+
if (rtl) return isStart ? rl : lr;
|
|
85
|
+
return isStart ? lr : rl;
|
|
86
|
+
case 'left':
|
|
87
|
+
case 'right':
|
|
88
|
+
return isStart ? tb : bt;
|
|
89
|
+
default:
|
|
90
|
+
return [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
94
|
+
const alignment = getAlignment(placement);
|
|
95
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
96
|
+
if (alignment) {
|
|
97
|
+
list = list.map(side => side + "-" + alignment);
|
|
98
|
+
if (flipAlignment) {
|
|
99
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return list;
|
|
103
|
+
}
|
|
104
|
+
function getOppositePlacement(placement) {
|
|
105
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
106
|
+
}
|
|
107
|
+
function expandPaddingObject(padding) {
|
|
108
|
+
return {
|
|
109
|
+
top: 0,
|
|
110
|
+
right: 0,
|
|
111
|
+
bottom: 0,
|
|
112
|
+
left: 0,
|
|
113
|
+
...padding
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function getPaddingObject(padding) {
|
|
117
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
118
|
+
top: padding,
|
|
119
|
+
right: padding,
|
|
120
|
+
bottom: padding,
|
|
121
|
+
left: padding
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function rectToClientRect(rect) {
|
|
125
|
+
return {
|
|
126
|
+
...rect,
|
|
127
|
+
top: rect.y,
|
|
128
|
+
left: rect.x,
|
|
129
|
+
right: rect.x + rect.width,
|
|
130
|
+
bottom: rect.y + rect.height
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
135
|
+
let {
|
|
136
|
+
reference,
|
|
137
|
+
floating
|
|
138
|
+
} = _ref;
|
|
139
|
+
const sideAxis = getSideAxis(placement);
|
|
140
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
141
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
142
|
+
const side = getSide(placement);
|
|
143
|
+
const isVertical = sideAxis === 'y';
|
|
144
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
145
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
146
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
147
|
+
let coords;
|
|
148
|
+
switch (side) {
|
|
149
|
+
case 'top':
|
|
150
|
+
coords = {
|
|
151
|
+
x: commonX,
|
|
152
|
+
y: reference.y - floating.height
|
|
153
|
+
};
|
|
154
|
+
break;
|
|
155
|
+
case 'bottom':
|
|
156
|
+
coords = {
|
|
157
|
+
x: commonX,
|
|
158
|
+
y: reference.y + reference.height
|
|
159
|
+
};
|
|
160
|
+
break;
|
|
161
|
+
case 'right':
|
|
162
|
+
coords = {
|
|
163
|
+
x: reference.x + reference.width,
|
|
164
|
+
y: commonY
|
|
165
|
+
};
|
|
166
|
+
break;
|
|
167
|
+
case 'left':
|
|
168
|
+
coords = {
|
|
169
|
+
x: reference.x - floating.width,
|
|
170
|
+
y: commonY
|
|
171
|
+
};
|
|
172
|
+
break;
|
|
173
|
+
default:
|
|
174
|
+
coords = {
|
|
175
|
+
x: reference.x,
|
|
176
|
+
y: reference.y
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
switch (getAlignment(placement)) {
|
|
180
|
+
case 'start':
|
|
181
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
182
|
+
break;
|
|
183
|
+
case 'end':
|
|
184
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
return coords;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
192
|
+
* next to a reference element when it is given a certain positioning strategy.
|
|
193
|
+
*
|
|
194
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
195
|
+
* write one for the platform you are using Floating UI with.
|
|
196
|
+
*/
|
|
197
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
198
|
+
const {
|
|
199
|
+
placement = 'bottom',
|
|
200
|
+
strategy = 'absolute',
|
|
201
|
+
middleware = [],
|
|
202
|
+
platform
|
|
203
|
+
} = config;
|
|
204
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
205
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
206
|
+
let rects = await platform.getElementRects({
|
|
207
|
+
reference,
|
|
208
|
+
floating,
|
|
209
|
+
strategy
|
|
210
|
+
});
|
|
211
|
+
let {
|
|
212
|
+
x,
|
|
213
|
+
y
|
|
214
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
215
|
+
let statefulPlacement = placement;
|
|
216
|
+
let middlewareData = {};
|
|
217
|
+
let resetCount = 0;
|
|
218
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
219
|
+
const {
|
|
220
|
+
name,
|
|
221
|
+
fn
|
|
222
|
+
} = validMiddleware[i];
|
|
223
|
+
const {
|
|
224
|
+
x: nextX,
|
|
225
|
+
y: nextY,
|
|
226
|
+
data,
|
|
227
|
+
reset
|
|
228
|
+
} = await fn({
|
|
229
|
+
x,
|
|
230
|
+
y,
|
|
231
|
+
initialPlacement: placement,
|
|
232
|
+
placement: statefulPlacement,
|
|
233
|
+
strategy,
|
|
234
|
+
middlewareData,
|
|
235
|
+
rects,
|
|
236
|
+
platform,
|
|
237
|
+
elements: {
|
|
238
|
+
reference,
|
|
239
|
+
floating
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
x = nextX != null ? nextX : x;
|
|
243
|
+
y = nextY != null ? nextY : y;
|
|
244
|
+
middlewareData = {
|
|
245
|
+
...middlewareData,
|
|
246
|
+
[name]: {
|
|
247
|
+
...middlewareData[name],
|
|
248
|
+
...data
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
if (reset && resetCount <= 50) {
|
|
252
|
+
resetCount++;
|
|
253
|
+
if (typeof reset === 'object') {
|
|
254
|
+
if (reset.placement) {
|
|
255
|
+
statefulPlacement = reset.placement;
|
|
256
|
+
}
|
|
257
|
+
if (reset.rects) {
|
|
258
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
259
|
+
reference,
|
|
260
|
+
floating,
|
|
261
|
+
strategy
|
|
262
|
+
}) : reset.rects;
|
|
263
|
+
}
|
|
264
|
+
({
|
|
265
|
+
x,
|
|
266
|
+
y
|
|
267
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
268
|
+
}
|
|
269
|
+
i = -1;
|
|
270
|
+
continue;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return {
|
|
274
|
+
x,
|
|
275
|
+
y,
|
|
276
|
+
placement: statefulPlacement,
|
|
277
|
+
strategy,
|
|
278
|
+
middlewareData
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
284
|
+
* element is overflowing a given clipping boundary on each side.
|
|
285
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
286
|
+
* - negative = how many pixels left before it will overflow
|
|
287
|
+
* - 0 = lies flush with the boundary
|
|
288
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
289
|
+
*/
|
|
290
|
+
async function detectOverflow(state, options) {
|
|
291
|
+
var _await$platform$isEle;
|
|
292
|
+
if (options === void 0) {
|
|
293
|
+
options = {};
|
|
294
|
+
}
|
|
295
|
+
const {
|
|
296
|
+
x,
|
|
297
|
+
y,
|
|
298
|
+
platform,
|
|
299
|
+
rects,
|
|
300
|
+
elements,
|
|
301
|
+
strategy
|
|
302
|
+
} = state;
|
|
303
|
+
const {
|
|
304
|
+
boundary = 'clippingAncestors',
|
|
305
|
+
rootBoundary = 'viewport',
|
|
306
|
+
elementContext = 'floating',
|
|
307
|
+
altBoundary = false,
|
|
308
|
+
padding = 0
|
|
309
|
+
} = evaluate(options, state);
|
|
310
|
+
const paddingObject = getPaddingObject(padding);
|
|
311
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
312
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
313
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
314
|
+
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))),
|
|
315
|
+
boundary,
|
|
316
|
+
rootBoundary,
|
|
317
|
+
strategy
|
|
318
|
+
}));
|
|
319
|
+
const rect = elementContext === 'floating' ? {
|
|
320
|
+
...rects.floating,
|
|
321
|
+
x,
|
|
322
|
+
y
|
|
323
|
+
} : rects.reference;
|
|
324
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
325
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
326
|
+
x: 1,
|
|
327
|
+
y: 1
|
|
328
|
+
} : {
|
|
329
|
+
x: 1,
|
|
330
|
+
y: 1
|
|
331
|
+
};
|
|
332
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
333
|
+
rect,
|
|
334
|
+
offsetParent,
|
|
335
|
+
strategy
|
|
336
|
+
}) : rect);
|
|
337
|
+
return {
|
|
338
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
339
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
340
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
341
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Provides data to position an inner element of the floating element so that it
|
|
347
|
+
* appears centered to the reference element.
|
|
348
|
+
* @see https://floating-ui.com/docs/arrow
|
|
349
|
+
*/
|
|
350
|
+
const arrow = options => ({
|
|
351
|
+
name: 'arrow',
|
|
352
|
+
options,
|
|
353
|
+
async fn(state) {
|
|
354
|
+
const {
|
|
355
|
+
x,
|
|
356
|
+
y,
|
|
357
|
+
placement,
|
|
358
|
+
rects,
|
|
359
|
+
platform,
|
|
360
|
+
elements,
|
|
361
|
+
middlewareData
|
|
362
|
+
} = state;
|
|
363
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
364
|
+
const {
|
|
365
|
+
element,
|
|
366
|
+
padding = 0
|
|
367
|
+
} = evaluate(options, state) || {};
|
|
368
|
+
if (element == null) {
|
|
369
|
+
return {};
|
|
370
|
+
}
|
|
371
|
+
const paddingObject = getPaddingObject(padding);
|
|
372
|
+
const coords = {
|
|
373
|
+
x,
|
|
374
|
+
y
|
|
375
|
+
};
|
|
376
|
+
const axis = getAlignmentAxis(placement);
|
|
377
|
+
const length = getAxisLength(axis);
|
|
378
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
379
|
+
const isYAxis = axis === 'y';
|
|
380
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
381
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
382
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
383
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
384
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
385
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
386
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
387
|
+
|
|
388
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
389
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
390
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
391
|
+
}
|
|
392
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
393
|
+
|
|
394
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
395
|
+
// centered, modify the padding so that it is centered.
|
|
396
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
397
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
398
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
399
|
+
|
|
400
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
401
|
+
// point is outside the floating element's bounds.
|
|
402
|
+
const min$1 = minPadding;
|
|
403
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
404
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
405
|
+
const offset = clamp(min$1, center, max);
|
|
406
|
+
|
|
407
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
408
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
409
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
410
|
+
// a single reset is performed when this is true.
|
|
411
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
412
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
413
|
+
return {
|
|
414
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
415
|
+
data: {
|
|
416
|
+
[axis]: offset,
|
|
417
|
+
centerOffset: center - offset - alignmentOffset,
|
|
418
|
+
...(shouldAddOffset && {
|
|
419
|
+
alignmentOffset
|
|
420
|
+
})
|
|
421
|
+
},
|
|
422
|
+
reset: shouldAddOffset
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
428
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
429
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
430
|
+
if (alignment) {
|
|
431
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
432
|
+
}
|
|
433
|
+
return true;
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
438
|
+
* that has the most space available automatically, without needing to specify a
|
|
439
|
+
* preferred placement. Alternative to `flip`.
|
|
440
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
441
|
+
*/
|
|
442
|
+
const autoPlacement = function (options) {
|
|
443
|
+
if (options === void 0) {
|
|
444
|
+
options = {};
|
|
445
|
+
}
|
|
446
|
+
return {
|
|
447
|
+
name: 'autoPlacement',
|
|
448
|
+
options,
|
|
449
|
+
async fn(state) {
|
|
450
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
451
|
+
const {
|
|
452
|
+
rects,
|
|
453
|
+
middlewareData,
|
|
454
|
+
placement,
|
|
455
|
+
platform,
|
|
456
|
+
elements
|
|
457
|
+
} = state;
|
|
458
|
+
const {
|
|
459
|
+
crossAxis = false,
|
|
460
|
+
alignment,
|
|
461
|
+
allowedPlacements = placements,
|
|
462
|
+
autoAlignment = true,
|
|
463
|
+
...detectOverflowOptions
|
|
464
|
+
} = evaluate(options, state);
|
|
465
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
466
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
467
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
468
|
+
const currentPlacement = placements$1[currentIndex];
|
|
469
|
+
if (currentPlacement == null) {
|
|
470
|
+
return {};
|
|
471
|
+
}
|
|
472
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
473
|
+
|
|
474
|
+
// Make `computeCoords` start from the right place.
|
|
475
|
+
if (placement !== currentPlacement) {
|
|
476
|
+
return {
|
|
477
|
+
reset: {
|
|
478
|
+
placement: placements$1[0]
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
483
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
484
|
+
placement: currentPlacement,
|
|
485
|
+
overflows: currentOverflows
|
|
486
|
+
}];
|
|
487
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
488
|
+
|
|
489
|
+
// There are more placements to check.
|
|
490
|
+
if (nextPlacement) {
|
|
491
|
+
return {
|
|
492
|
+
data: {
|
|
493
|
+
index: currentIndex + 1,
|
|
494
|
+
overflows: allOverflows
|
|
495
|
+
},
|
|
496
|
+
reset: {
|
|
497
|
+
placement: nextPlacement
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
502
|
+
const alignment = getAlignment(d.placement);
|
|
503
|
+
return [d.placement, alignment && crossAxis ?
|
|
504
|
+
// Check along the mainAxis and main crossAxis side.
|
|
505
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
506
|
+
// Check only the mainAxis.
|
|
507
|
+
d.overflows[0], d.overflows];
|
|
508
|
+
}).sort((a, b) => a[1] - b[1]);
|
|
509
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
510
|
+
// Aligned placements should not check their opposite crossAxis
|
|
511
|
+
// side.
|
|
512
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
513
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
514
|
+
if (resetPlacement !== placement) {
|
|
515
|
+
return {
|
|
516
|
+
data: {
|
|
517
|
+
index: currentIndex + 1,
|
|
518
|
+
overflows: allOverflows
|
|
519
|
+
},
|
|
520
|
+
reset: {
|
|
521
|
+
placement: resetPlacement
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
return {};
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
532
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
533
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
534
|
+
* @see https://floating-ui.com/docs/flip
|
|
535
|
+
*/
|
|
536
|
+
const flip = function (options) {
|
|
537
|
+
if (options === void 0) {
|
|
538
|
+
options = {};
|
|
539
|
+
}
|
|
540
|
+
return {
|
|
541
|
+
name: 'flip',
|
|
542
|
+
options,
|
|
543
|
+
async fn(state) {
|
|
544
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
545
|
+
const {
|
|
546
|
+
placement,
|
|
547
|
+
middlewareData,
|
|
548
|
+
rects,
|
|
549
|
+
initialPlacement,
|
|
550
|
+
platform,
|
|
551
|
+
elements
|
|
552
|
+
} = state;
|
|
553
|
+
const {
|
|
554
|
+
mainAxis: checkMainAxis = true,
|
|
555
|
+
crossAxis: checkCrossAxis = true,
|
|
556
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
557
|
+
fallbackStrategy = 'bestFit',
|
|
558
|
+
fallbackAxisSideDirection = 'none',
|
|
559
|
+
flipAlignment = true,
|
|
560
|
+
...detectOverflowOptions
|
|
561
|
+
} = evaluate(options, state);
|
|
562
|
+
|
|
563
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
564
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
565
|
+
// work.
|
|
566
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
567
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
568
|
+
return {};
|
|
569
|
+
}
|
|
570
|
+
const side = getSide(placement);
|
|
571
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
572
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
573
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
574
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
575
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
576
|
+
}
|
|
577
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
578
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
579
|
+
const overflows = [];
|
|
580
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
581
|
+
if (checkMainAxis) {
|
|
582
|
+
overflows.push(overflow[side]);
|
|
583
|
+
}
|
|
584
|
+
if (checkCrossAxis) {
|
|
585
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
586
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
587
|
+
}
|
|
588
|
+
overflowsData = [...overflowsData, {
|
|
589
|
+
placement,
|
|
590
|
+
overflows
|
|
591
|
+
}];
|
|
592
|
+
|
|
593
|
+
// One or more sides is overflowing.
|
|
594
|
+
if (!overflows.every(side => side <= 0)) {
|
|
595
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
596
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
597
|
+
const nextPlacement = placements[nextIndex];
|
|
598
|
+
if (nextPlacement) {
|
|
599
|
+
// Try next placement and re-run the lifecycle.
|
|
600
|
+
return {
|
|
601
|
+
data: {
|
|
602
|
+
index: nextIndex,
|
|
603
|
+
overflows: overflowsData
|
|
604
|
+
},
|
|
605
|
+
reset: {
|
|
606
|
+
placement: nextPlacement
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
612
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
613
|
+
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;
|
|
614
|
+
|
|
615
|
+
// Otherwise fallback.
|
|
616
|
+
if (!resetPlacement) {
|
|
617
|
+
switch (fallbackStrategy) {
|
|
618
|
+
case 'bestFit':
|
|
619
|
+
{
|
|
620
|
+
var _overflowsData$map$so;
|
|
621
|
+
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];
|
|
622
|
+
if (placement) {
|
|
623
|
+
resetPlacement = placement;
|
|
624
|
+
}
|
|
625
|
+
break;
|
|
626
|
+
}
|
|
627
|
+
case 'initialPlacement':
|
|
628
|
+
resetPlacement = initialPlacement;
|
|
629
|
+
break;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
if (placement !== resetPlacement) {
|
|
633
|
+
return {
|
|
634
|
+
reset: {
|
|
635
|
+
placement: resetPlacement
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return {};
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
function getSideOffsets(overflow, rect) {
|
|
646
|
+
return {
|
|
647
|
+
top: overflow.top - rect.height,
|
|
648
|
+
right: overflow.right - rect.width,
|
|
649
|
+
bottom: overflow.bottom - rect.height,
|
|
650
|
+
left: overflow.left - rect.width
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
function isAnySideFullyClipped(overflow) {
|
|
654
|
+
return sides.some(side => overflow[side] >= 0);
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
658
|
+
* when it is not in the same clipping context as the reference element.
|
|
659
|
+
* @see https://floating-ui.com/docs/hide
|
|
660
|
+
*/
|
|
661
|
+
const hide = function (options) {
|
|
662
|
+
if (options === void 0) {
|
|
663
|
+
options = {};
|
|
664
|
+
}
|
|
665
|
+
return {
|
|
666
|
+
name: 'hide',
|
|
667
|
+
options,
|
|
668
|
+
async fn(state) {
|
|
669
|
+
const {
|
|
670
|
+
rects
|
|
671
|
+
} = state;
|
|
672
|
+
const {
|
|
673
|
+
strategy = 'referenceHidden',
|
|
674
|
+
...detectOverflowOptions
|
|
675
|
+
} = evaluate(options, state);
|
|
676
|
+
switch (strategy) {
|
|
677
|
+
case 'referenceHidden':
|
|
678
|
+
{
|
|
679
|
+
const overflow = await detectOverflow(state, {
|
|
680
|
+
...detectOverflowOptions,
|
|
681
|
+
elementContext: 'reference'
|
|
682
|
+
});
|
|
683
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
|
684
|
+
return {
|
|
685
|
+
data: {
|
|
686
|
+
referenceHiddenOffsets: offsets,
|
|
687
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
case 'escaped':
|
|
692
|
+
{
|
|
693
|
+
const overflow = await detectOverflow(state, {
|
|
694
|
+
...detectOverflowOptions,
|
|
695
|
+
altBoundary: true
|
|
696
|
+
});
|
|
697
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
|
698
|
+
return {
|
|
699
|
+
data: {
|
|
700
|
+
escapedOffsets: offsets,
|
|
701
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
default:
|
|
706
|
+
{
|
|
707
|
+
return {};
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
715
|
+
// Derivable.
|
|
716
|
+
async function convertValueToCoords(state, options) {
|
|
717
|
+
const {
|
|
718
|
+
placement,
|
|
719
|
+
platform,
|
|
720
|
+
elements
|
|
721
|
+
} = state;
|
|
722
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
723
|
+
const side = getSide(placement);
|
|
724
|
+
const alignment = getAlignment(placement);
|
|
725
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
726
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
727
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
728
|
+
const rawValue = evaluate(options, state);
|
|
729
|
+
|
|
730
|
+
// eslint-disable-next-line prefer-const
|
|
731
|
+
let {
|
|
732
|
+
mainAxis,
|
|
733
|
+
crossAxis,
|
|
734
|
+
alignmentAxis
|
|
735
|
+
} = typeof rawValue === 'number' ? {
|
|
736
|
+
mainAxis: rawValue,
|
|
737
|
+
crossAxis: 0,
|
|
738
|
+
alignmentAxis: null
|
|
739
|
+
} : {
|
|
740
|
+
mainAxis: 0,
|
|
741
|
+
crossAxis: 0,
|
|
742
|
+
alignmentAxis: null,
|
|
743
|
+
...rawValue
|
|
744
|
+
};
|
|
745
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
746
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
747
|
+
}
|
|
748
|
+
return isVertical ? {
|
|
749
|
+
x: crossAxis * crossAxisMulti,
|
|
750
|
+
y: mainAxis * mainAxisMulti
|
|
751
|
+
} : {
|
|
752
|
+
x: mainAxis * mainAxisMulti,
|
|
753
|
+
y: crossAxis * crossAxisMulti
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Modifies the placement by translating the floating element along the
|
|
759
|
+
* specified axes.
|
|
760
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
761
|
+
* object may be passed.
|
|
762
|
+
* @see https://floating-ui.com/docs/offset
|
|
763
|
+
*/
|
|
764
|
+
const offset = function (options) {
|
|
765
|
+
if (options === void 0) {
|
|
766
|
+
options = 0;
|
|
767
|
+
}
|
|
768
|
+
return {
|
|
769
|
+
name: 'offset',
|
|
770
|
+
options,
|
|
771
|
+
async fn(state) {
|
|
772
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
773
|
+
const {
|
|
774
|
+
x,
|
|
775
|
+
y,
|
|
776
|
+
placement,
|
|
777
|
+
middlewareData
|
|
778
|
+
} = state;
|
|
779
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
780
|
+
|
|
781
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
782
|
+
// then we don't need to change the positioning coordinates.
|
|
783
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
784
|
+
return {};
|
|
785
|
+
}
|
|
786
|
+
return {
|
|
787
|
+
x: x + diffCoords.x,
|
|
788
|
+
y: y + diffCoords.y,
|
|
789
|
+
data: {
|
|
790
|
+
...diffCoords,
|
|
791
|
+
placement
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
800
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
801
|
+
* @see https://floating-ui.com/docs/shift
|
|
802
|
+
*/
|
|
803
|
+
const shift = function (options) {
|
|
804
|
+
if (options === void 0) {
|
|
805
|
+
options = {};
|
|
806
|
+
}
|
|
807
|
+
return {
|
|
808
|
+
name: 'shift',
|
|
809
|
+
options,
|
|
810
|
+
async fn(state) {
|
|
811
|
+
const {
|
|
812
|
+
x,
|
|
813
|
+
y,
|
|
814
|
+
placement
|
|
815
|
+
} = state;
|
|
816
|
+
const {
|
|
817
|
+
mainAxis: checkMainAxis = true,
|
|
818
|
+
crossAxis: checkCrossAxis = false,
|
|
819
|
+
limiter = {
|
|
820
|
+
fn: _ref => {
|
|
821
|
+
let {
|
|
822
|
+
x,
|
|
823
|
+
y
|
|
824
|
+
} = _ref;
|
|
825
|
+
return {
|
|
826
|
+
x,
|
|
827
|
+
y
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
...detectOverflowOptions
|
|
832
|
+
} = evaluate(options, state);
|
|
833
|
+
const coords = {
|
|
834
|
+
x,
|
|
835
|
+
y
|
|
836
|
+
};
|
|
837
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
838
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
839
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
840
|
+
let mainAxisCoord = coords[mainAxis];
|
|
841
|
+
let crossAxisCoord = coords[crossAxis];
|
|
842
|
+
if (checkMainAxis) {
|
|
843
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
844
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
845
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
846
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
847
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
848
|
+
}
|
|
849
|
+
if (checkCrossAxis) {
|
|
850
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
851
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
852
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
853
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
854
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
855
|
+
}
|
|
856
|
+
const limitedCoords = limiter.fn({
|
|
857
|
+
...state,
|
|
858
|
+
[mainAxis]: mainAxisCoord,
|
|
859
|
+
[crossAxis]: crossAxisCoord
|
|
860
|
+
});
|
|
861
|
+
return {
|
|
862
|
+
...limitedCoords,
|
|
863
|
+
data: {
|
|
864
|
+
x: limitedCoords.x - x,
|
|
865
|
+
y: limitedCoords.y - y
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
function getNodeName(node) {
|
|
873
|
+
if (isNode(node)) {
|
|
874
|
+
return (node.nodeName || '').toLowerCase();
|
|
875
|
+
}
|
|
876
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
877
|
+
// returning `#document` an infinite loop won't occur.
|
|
878
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
879
|
+
return '#document';
|
|
880
|
+
}
|
|
881
|
+
function getWindow(node) {
|
|
882
|
+
var _node$ownerDocument;
|
|
883
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
884
|
+
}
|
|
885
|
+
function getDocumentElement(node) {
|
|
886
|
+
var _ref;
|
|
887
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
888
|
+
}
|
|
889
|
+
function isNode(value) {
|
|
890
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
891
|
+
}
|
|
892
|
+
function isElement(value) {
|
|
893
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
894
|
+
}
|
|
895
|
+
function isHTMLElement(value) {
|
|
896
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
897
|
+
}
|
|
898
|
+
function isShadowRoot(value) {
|
|
899
|
+
// Browsers without `ShadowRoot` support.
|
|
900
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
901
|
+
return false;
|
|
902
|
+
}
|
|
903
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
904
|
+
}
|
|
905
|
+
function isOverflowElement(element) {
|
|
906
|
+
const {
|
|
907
|
+
overflow,
|
|
908
|
+
overflowX,
|
|
909
|
+
overflowY,
|
|
910
|
+
display
|
|
911
|
+
} = getComputedStyle$1(element);
|
|
912
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
913
|
+
}
|
|
914
|
+
function isTableElement(element) {
|
|
915
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
916
|
+
}
|
|
917
|
+
function isContainingBlock(element) {
|
|
918
|
+
const webkit = isWebKit();
|
|
919
|
+
const css = getComputedStyle$1(element);
|
|
920
|
+
|
|
921
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
922
|
+
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));
|
|
923
|
+
}
|
|
924
|
+
function getContainingBlock(element) {
|
|
925
|
+
let currentNode = getParentNode(element);
|
|
926
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
927
|
+
if (isContainingBlock(currentNode)) {
|
|
928
|
+
return currentNode;
|
|
929
|
+
} else {
|
|
930
|
+
currentNode = getParentNode(currentNode);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
return null;
|
|
934
|
+
}
|
|
935
|
+
function isWebKit() {
|
|
936
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
937
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
938
|
+
}
|
|
939
|
+
function isLastTraversableNode(node) {
|
|
940
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
941
|
+
}
|
|
942
|
+
function getComputedStyle$1(element) {
|
|
943
|
+
return getWindow(element).getComputedStyle(element);
|
|
944
|
+
}
|
|
945
|
+
function getNodeScroll(element) {
|
|
946
|
+
if (isElement(element)) {
|
|
947
|
+
return {
|
|
948
|
+
scrollLeft: element.scrollLeft,
|
|
949
|
+
scrollTop: element.scrollTop
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
return {
|
|
953
|
+
scrollLeft: element.pageXOffset,
|
|
954
|
+
scrollTop: element.pageYOffset
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
function getParentNode(node) {
|
|
958
|
+
if (getNodeName(node) === 'html') {
|
|
959
|
+
return node;
|
|
960
|
+
}
|
|
961
|
+
const result =
|
|
962
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
963
|
+
node.assignedSlot ||
|
|
964
|
+
// DOM Element detected.
|
|
965
|
+
node.parentNode ||
|
|
966
|
+
// ShadowRoot detected.
|
|
967
|
+
isShadowRoot(node) && node.host ||
|
|
968
|
+
// Fallback.
|
|
969
|
+
getDocumentElement(node);
|
|
970
|
+
return isShadowRoot(result) ? result.host : result;
|
|
971
|
+
}
|
|
972
|
+
function getNearestOverflowAncestor(node) {
|
|
973
|
+
const parentNode = getParentNode(node);
|
|
974
|
+
if (isLastTraversableNode(parentNode)) {
|
|
975
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
976
|
+
}
|
|
977
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
978
|
+
return parentNode;
|
|
979
|
+
}
|
|
980
|
+
return getNearestOverflowAncestor(parentNode);
|
|
981
|
+
}
|
|
982
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
983
|
+
var _node$ownerDocument2;
|
|
984
|
+
if (list === void 0) {
|
|
985
|
+
list = [];
|
|
986
|
+
}
|
|
987
|
+
if (traverseIframes === void 0) {
|
|
988
|
+
traverseIframes = true;
|
|
989
|
+
}
|
|
990
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
991
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
992
|
+
const win = getWindow(scrollableAncestor);
|
|
993
|
+
if (isBody) {
|
|
994
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
995
|
+
}
|
|
996
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
function getCssDimensions(element) {
|
|
1000
|
+
const css = getComputedStyle$1(element);
|
|
1001
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1002
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1003
|
+
let width = parseFloat(css.width) || 0;
|
|
1004
|
+
let height = parseFloat(css.height) || 0;
|
|
1005
|
+
const hasOffset = isHTMLElement(element);
|
|
1006
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1007
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1008
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1009
|
+
if (shouldFallback) {
|
|
1010
|
+
width = offsetWidth;
|
|
1011
|
+
height = offsetHeight;
|
|
1012
|
+
}
|
|
1013
|
+
return {
|
|
1014
|
+
width,
|
|
1015
|
+
height,
|
|
1016
|
+
$: shouldFallback
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
function unwrapElement(element) {
|
|
1021
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
function getScale(element) {
|
|
1025
|
+
const domElement = unwrapElement(element);
|
|
1026
|
+
if (!isHTMLElement(domElement)) {
|
|
1027
|
+
return createCoords(1);
|
|
1028
|
+
}
|
|
1029
|
+
const rect = domElement.getBoundingClientRect();
|
|
1030
|
+
const {
|
|
1031
|
+
width,
|
|
1032
|
+
height,
|
|
1033
|
+
$
|
|
1034
|
+
} = getCssDimensions(domElement);
|
|
1035
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1036
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1037
|
+
|
|
1038
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1039
|
+
|
|
1040
|
+
if (!x || !Number.isFinite(x)) {
|
|
1041
|
+
x = 1;
|
|
1042
|
+
}
|
|
1043
|
+
if (!y || !Number.isFinite(y)) {
|
|
1044
|
+
y = 1;
|
|
1045
|
+
}
|
|
1046
|
+
return {
|
|
1047
|
+
x,
|
|
1048
|
+
y
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1053
|
+
function getVisualOffsets(element) {
|
|
1054
|
+
const win = getWindow(element);
|
|
1055
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1056
|
+
return noOffsets;
|
|
1057
|
+
}
|
|
1058
|
+
return {
|
|
1059
|
+
x: win.visualViewport.offsetLeft,
|
|
1060
|
+
y: win.visualViewport.offsetTop
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1064
|
+
if (isFixed === void 0) {
|
|
1065
|
+
isFixed = false;
|
|
1066
|
+
}
|
|
1067
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1068
|
+
return false;
|
|
1069
|
+
}
|
|
1070
|
+
return isFixed;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1074
|
+
if (includeScale === void 0) {
|
|
1075
|
+
includeScale = false;
|
|
1076
|
+
}
|
|
1077
|
+
if (isFixedStrategy === void 0) {
|
|
1078
|
+
isFixedStrategy = false;
|
|
1079
|
+
}
|
|
1080
|
+
const clientRect = element.getBoundingClientRect();
|
|
1081
|
+
const domElement = unwrapElement(element);
|
|
1082
|
+
let scale = createCoords(1);
|
|
1083
|
+
if (includeScale) {
|
|
1084
|
+
if (offsetParent) {
|
|
1085
|
+
if (isElement(offsetParent)) {
|
|
1086
|
+
scale = getScale(offsetParent);
|
|
1087
|
+
}
|
|
1088
|
+
} else {
|
|
1089
|
+
scale = getScale(element);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1093
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1094
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1095
|
+
let width = clientRect.width / scale.x;
|
|
1096
|
+
let height = clientRect.height / scale.y;
|
|
1097
|
+
if (domElement) {
|
|
1098
|
+
const win = getWindow(domElement);
|
|
1099
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1100
|
+
let currentIFrame = win.frameElement;
|
|
1101
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1102
|
+
const iframeScale = getScale(currentIFrame);
|
|
1103
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1104
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1105
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1106
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1107
|
+
x *= iframeScale.x;
|
|
1108
|
+
y *= iframeScale.y;
|
|
1109
|
+
width *= iframeScale.x;
|
|
1110
|
+
height *= iframeScale.y;
|
|
1111
|
+
x += left;
|
|
1112
|
+
y += top;
|
|
1113
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
return rectToClientRect({
|
|
1117
|
+
width,
|
|
1118
|
+
height,
|
|
1119
|
+
x,
|
|
1120
|
+
y
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1125
|
+
let {
|
|
1126
|
+
rect,
|
|
1127
|
+
offsetParent,
|
|
1128
|
+
strategy
|
|
1129
|
+
} = _ref;
|
|
1130
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1131
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1132
|
+
if (offsetParent === documentElement) {
|
|
1133
|
+
return rect;
|
|
1134
|
+
}
|
|
1135
|
+
let scroll = {
|
|
1136
|
+
scrollLeft: 0,
|
|
1137
|
+
scrollTop: 0
|
|
1138
|
+
};
|
|
1139
|
+
let scale = createCoords(1);
|
|
1140
|
+
const offsets = createCoords(0);
|
|
1141
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1142
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1143
|
+
scroll = getNodeScroll(offsetParent);
|
|
1144
|
+
}
|
|
1145
|
+
if (isHTMLElement(offsetParent)) {
|
|
1146
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1147
|
+
scale = getScale(offsetParent);
|
|
1148
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1149
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
return {
|
|
1153
|
+
width: rect.width * scale.x,
|
|
1154
|
+
height: rect.height * scale.y,
|
|
1155
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1156
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
function getClientRects(element) {
|
|
1161
|
+
return Array.from(element.getClientRects());
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
function getWindowScrollBarX(element) {
|
|
1165
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1166
|
+
// incorrect for RTL.
|
|
1167
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1171
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1172
|
+
function getDocumentRect(element) {
|
|
1173
|
+
const html = getDocumentElement(element);
|
|
1174
|
+
const scroll = getNodeScroll(element);
|
|
1175
|
+
const body = element.ownerDocument.body;
|
|
1176
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1177
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1178
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1179
|
+
const y = -scroll.scrollTop;
|
|
1180
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1181
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1182
|
+
}
|
|
1183
|
+
return {
|
|
1184
|
+
width,
|
|
1185
|
+
height,
|
|
1186
|
+
x,
|
|
1187
|
+
y
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
function getViewportRect(element, strategy) {
|
|
1192
|
+
const win = getWindow(element);
|
|
1193
|
+
const html = getDocumentElement(element);
|
|
1194
|
+
const visualViewport = win.visualViewport;
|
|
1195
|
+
let width = html.clientWidth;
|
|
1196
|
+
let height = html.clientHeight;
|
|
1197
|
+
let x = 0;
|
|
1198
|
+
let y = 0;
|
|
1199
|
+
if (visualViewport) {
|
|
1200
|
+
width = visualViewport.width;
|
|
1201
|
+
height = visualViewport.height;
|
|
1202
|
+
const visualViewportBased = isWebKit();
|
|
1203
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1204
|
+
x = visualViewport.offsetLeft;
|
|
1205
|
+
y = visualViewport.offsetTop;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
return {
|
|
1209
|
+
width,
|
|
1210
|
+
height,
|
|
1211
|
+
x,
|
|
1212
|
+
y
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1217
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1218
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1219
|
+
const top = clientRect.top + element.clientTop;
|
|
1220
|
+
const left = clientRect.left + element.clientLeft;
|
|
1221
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1222
|
+
const width = element.clientWidth * scale.x;
|
|
1223
|
+
const height = element.clientHeight * scale.y;
|
|
1224
|
+
const x = left * scale.x;
|
|
1225
|
+
const y = top * scale.y;
|
|
1226
|
+
return {
|
|
1227
|
+
width,
|
|
1228
|
+
height,
|
|
1229
|
+
x,
|
|
1230
|
+
y
|
|
1231
|
+
};
|
|
1232
|
+
}
|
|
1233
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1234
|
+
let rect;
|
|
1235
|
+
if (clippingAncestor === 'viewport') {
|
|
1236
|
+
rect = getViewportRect(element, strategy);
|
|
1237
|
+
} else if (clippingAncestor === 'document') {
|
|
1238
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1239
|
+
} else if (isElement(clippingAncestor)) {
|
|
1240
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1241
|
+
} else {
|
|
1242
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1243
|
+
rect = {
|
|
1244
|
+
...clippingAncestor,
|
|
1245
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1246
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
return rectToClientRect(rect);
|
|
1250
|
+
}
|
|
1251
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1252
|
+
const parentNode = getParentNode(element);
|
|
1253
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1254
|
+
return false;
|
|
1255
|
+
}
|
|
1256
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1260
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1261
|
+
// of the given element up the tree.
|
|
1262
|
+
function getClippingElementAncestors(element, cache) {
|
|
1263
|
+
const cachedResult = cache.get(element);
|
|
1264
|
+
if (cachedResult) {
|
|
1265
|
+
return cachedResult;
|
|
1266
|
+
}
|
|
1267
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1268
|
+
let currentContainingBlockComputedStyle = null;
|
|
1269
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1270
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1271
|
+
|
|
1272
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1273
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1274
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1275
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1276
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1277
|
+
currentContainingBlockComputedStyle = null;
|
|
1278
|
+
}
|
|
1279
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1280
|
+
if (shouldDropCurrentNode) {
|
|
1281
|
+
// Drop non-containing blocks.
|
|
1282
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1283
|
+
} else {
|
|
1284
|
+
// Record last containing block for next iteration.
|
|
1285
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1286
|
+
}
|
|
1287
|
+
currentNode = getParentNode(currentNode);
|
|
1288
|
+
}
|
|
1289
|
+
cache.set(element, result);
|
|
1290
|
+
return result;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1294
|
+
// clipping ancestors.
|
|
1295
|
+
function getClippingRect(_ref) {
|
|
1296
|
+
let {
|
|
1297
|
+
element,
|
|
1298
|
+
boundary,
|
|
1299
|
+
rootBoundary,
|
|
1300
|
+
strategy
|
|
1301
|
+
} = _ref;
|
|
1302
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1303
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1304
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1305
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1306
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1307
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1308
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1309
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1310
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1311
|
+
return accRect;
|
|
1312
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1313
|
+
return {
|
|
1314
|
+
width: clippingRect.right - clippingRect.left,
|
|
1315
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1316
|
+
x: clippingRect.left,
|
|
1317
|
+
y: clippingRect.top
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
function getDimensions(element) {
|
|
1322
|
+
return getCssDimensions(element);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1326
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1327
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1328
|
+
const isFixed = strategy === 'fixed';
|
|
1329
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1330
|
+
let scroll = {
|
|
1331
|
+
scrollLeft: 0,
|
|
1332
|
+
scrollTop: 0
|
|
1333
|
+
};
|
|
1334
|
+
const offsets = createCoords(0);
|
|
1335
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1336
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1337
|
+
scroll = getNodeScroll(offsetParent);
|
|
1338
|
+
}
|
|
1339
|
+
if (isOffsetParentAnElement) {
|
|
1340
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1341
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1342
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1343
|
+
} else if (documentElement) {
|
|
1344
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
return {
|
|
1348
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1349
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1350
|
+
width: rect.width,
|
|
1351
|
+
height: rect.height
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1356
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1357
|
+
return null;
|
|
1358
|
+
}
|
|
1359
|
+
if (polyfill) {
|
|
1360
|
+
return polyfill(element);
|
|
1361
|
+
}
|
|
1362
|
+
return element.offsetParent;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1366
|
+
// such as table ancestors and cross browser bugs.
|
|
1367
|
+
function getOffsetParent(element, polyfill) {
|
|
1368
|
+
const window = getWindow(element);
|
|
1369
|
+
if (!isHTMLElement(element)) {
|
|
1370
|
+
return window;
|
|
1371
|
+
}
|
|
1372
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1373
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1374
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1375
|
+
}
|
|
1376
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1377
|
+
return window;
|
|
1378
|
+
}
|
|
1379
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
const getElementRects = async function (_ref) {
|
|
1383
|
+
let {
|
|
1384
|
+
reference,
|
|
1385
|
+
floating,
|
|
1386
|
+
strategy
|
|
1387
|
+
} = _ref;
|
|
1388
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1389
|
+
const getDimensionsFn = this.getDimensions;
|
|
1390
|
+
return {
|
|
1391
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1392
|
+
floating: {
|
|
1393
|
+
x: 0,
|
|
1394
|
+
y: 0,
|
|
1395
|
+
...(await getDimensionsFn(floating))
|
|
1396
|
+
}
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
function isRTL(element) {
|
|
1401
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
const platform = {
|
|
1405
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1406
|
+
getDocumentElement,
|
|
1407
|
+
getClippingRect,
|
|
1408
|
+
getOffsetParent,
|
|
1409
|
+
getElementRects,
|
|
1410
|
+
getClientRects,
|
|
1411
|
+
getDimensions,
|
|
1412
|
+
getScale,
|
|
1413
|
+
isElement,
|
|
1414
|
+
isRTL
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
// https://samthor.au/2021/observing-dom/
|
|
1418
|
+
function observeMove(element, onMove) {
|
|
1419
|
+
let io = null;
|
|
1420
|
+
let timeoutId;
|
|
1421
|
+
const root = getDocumentElement(element);
|
|
1422
|
+
function cleanup() {
|
|
1423
|
+
clearTimeout(timeoutId);
|
|
1424
|
+
io && io.disconnect();
|
|
1425
|
+
io = null;
|
|
1426
|
+
}
|
|
1427
|
+
function refresh(skip, threshold) {
|
|
1428
|
+
if (skip === void 0) {
|
|
1429
|
+
skip = false;
|
|
1430
|
+
}
|
|
1431
|
+
if (threshold === void 0) {
|
|
1432
|
+
threshold = 1;
|
|
1433
|
+
}
|
|
1434
|
+
cleanup();
|
|
1435
|
+
const {
|
|
1436
|
+
left,
|
|
1437
|
+
top,
|
|
1438
|
+
width,
|
|
1439
|
+
height
|
|
1440
|
+
} = element.getBoundingClientRect();
|
|
1441
|
+
if (!skip) {
|
|
1442
|
+
onMove();
|
|
1443
|
+
}
|
|
1444
|
+
if (!width || !height) {
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
const insetTop = floor(top);
|
|
1448
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1449
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1450
|
+
const insetLeft = floor(left);
|
|
1451
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1452
|
+
const options = {
|
|
1453
|
+
rootMargin,
|
|
1454
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1455
|
+
};
|
|
1456
|
+
let isFirstUpdate = true;
|
|
1457
|
+
function handleObserve(entries) {
|
|
1458
|
+
const ratio = entries[0].intersectionRatio;
|
|
1459
|
+
if (ratio !== threshold) {
|
|
1460
|
+
if (!isFirstUpdate) {
|
|
1461
|
+
return refresh();
|
|
1462
|
+
}
|
|
1463
|
+
if (!ratio) {
|
|
1464
|
+
timeoutId = setTimeout(() => {
|
|
1465
|
+
refresh(false, 1e-7);
|
|
1466
|
+
}, 100);
|
|
1467
|
+
} else {
|
|
1468
|
+
refresh(false, ratio);
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
isFirstUpdate = false;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1475
|
+
// error.
|
|
1476
|
+
try {
|
|
1477
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1478
|
+
...options,
|
|
1479
|
+
// Handle <iframe>s
|
|
1480
|
+
root: root.ownerDocument
|
|
1481
|
+
});
|
|
1482
|
+
} catch (e) {
|
|
1483
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1484
|
+
}
|
|
1485
|
+
io.observe(element);
|
|
1486
|
+
}
|
|
1487
|
+
refresh(true);
|
|
1488
|
+
return cleanup;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1493
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1494
|
+
* visible on the screen.
|
|
1495
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1496
|
+
* removed from the DOM or hidden from the screen.
|
|
1497
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1498
|
+
*/
|
|
1499
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1500
|
+
if (options === void 0) {
|
|
1501
|
+
options = {};
|
|
1502
|
+
}
|
|
1503
|
+
const {
|
|
1504
|
+
ancestorScroll = true,
|
|
1505
|
+
ancestorResize = true,
|
|
1506
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1507
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1508
|
+
animationFrame = false
|
|
1509
|
+
} = options;
|
|
1510
|
+
const referenceEl = unwrapElement(reference);
|
|
1511
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1512
|
+
ancestors.forEach(ancestor => {
|
|
1513
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1514
|
+
passive: true
|
|
1515
|
+
});
|
|
1516
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1517
|
+
});
|
|
1518
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1519
|
+
let reobserveFrame = -1;
|
|
1520
|
+
let resizeObserver = null;
|
|
1521
|
+
if (elementResize) {
|
|
1522
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1523
|
+
let [firstEntry] = _ref;
|
|
1524
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1525
|
+
// Prevent update loops when using the `size` middleware.
|
|
1526
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1527
|
+
resizeObserver.unobserve(floating);
|
|
1528
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1529
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1530
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
update();
|
|
1534
|
+
});
|
|
1535
|
+
if (referenceEl && !animationFrame) {
|
|
1536
|
+
resizeObserver.observe(referenceEl);
|
|
1537
|
+
}
|
|
1538
|
+
resizeObserver.observe(floating);
|
|
1539
|
+
}
|
|
1540
|
+
let frameId;
|
|
1541
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1542
|
+
if (animationFrame) {
|
|
1543
|
+
frameLoop();
|
|
1544
|
+
}
|
|
1545
|
+
function frameLoop() {
|
|
1546
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1547
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1548
|
+
update();
|
|
1549
|
+
}
|
|
1550
|
+
prevRefRect = nextRefRect;
|
|
1551
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1552
|
+
}
|
|
1553
|
+
update();
|
|
1554
|
+
return () => {
|
|
1555
|
+
ancestors.forEach(ancestor => {
|
|
1556
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1557
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1558
|
+
});
|
|
1559
|
+
cleanupIo && cleanupIo();
|
|
1560
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1561
|
+
resizeObserver = null;
|
|
1562
|
+
if (animationFrame) {
|
|
1563
|
+
cancelAnimationFrame(frameId);
|
|
1564
|
+
}
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1570
|
+
* next to a reference element when it is given a certain CSS positioning
|
|
1571
|
+
* strategy.
|
|
1572
|
+
*/
|
|
1573
|
+
const computePosition = (reference, floating, options) => {
|
|
1574
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1575
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1576
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1577
|
+
const cache = new Map();
|
|
1578
|
+
const mergedOptions = {
|
|
1579
|
+
platform,
|
|
1580
|
+
...options
|
|
1581
|
+
};
|
|
1582
|
+
const platformWithCache = {
|
|
1583
|
+
...mergedOptions.platform,
|
|
1584
|
+
_c: cache
|
|
1585
|
+
};
|
|
1586
|
+
return computePosition$1(reference, floating, {
|
|
1587
|
+
...mergedOptions,
|
|
1588
|
+
platform: platformWithCache
|
|
1589
|
+
});
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1593
|
+
function offsetParent(element) {
|
|
1594
|
+
return offsetParentPolyfill(element);
|
|
1595
|
+
}
|
|
1596
|
+
function flatTreeParent(element) {
|
|
1597
|
+
if (element.assignedSlot) {
|
|
1598
|
+
return element.assignedSlot;
|
|
1599
|
+
}
|
|
1600
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
1601
|
+
return element.parentNode.host;
|
|
1602
|
+
}
|
|
1603
|
+
return element.parentNode;
|
|
1604
|
+
}
|
|
1605
|
+
function offsetParentPolyfill(element) {
|
|
1606
|
+
// Do an initial walk to check for display:none ancestors.
|
|
1607
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1608
|
+
if (!(ancestor instanceof Element)) {
|
|
1609
|
+
continue;
|
|
1610
|
+
}
|
|
1611
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
1612
|
+
return null;
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1616
|
+
if (!(ancestor instanceof Element)) {
|
|
1617
|
+
continue;
|
|
1618
|
+
}
|
|
1619
|
+
const style = getComputedStyle(ancestor);
|
|
1620
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1621
|
+
if (style.display === 'contents') {
|
|
1622
|
+
continue;
|
|
1623
|
+
}
|
|
1624
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1625
|
+
return ancestor;
|
|
1626
|
+
}
|
|
1627
|
+
if (ancestor.tagName === 'BODY') {
|
|
1628
|
+
return ancestor;
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
return null;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1635
|
+
{
|
|
1636
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1637
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1638
|
+
}
|
|
1639
|
+
})();
|
|
1640
|
+
function roundByDPR(value) {
|
|
1641
|
+
const dpr = window.devicePixelRatio || 1;
|
|
1642
|
+
return Math.round(value * dpr) / dpr;
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Positions the floating element relative to the reference element.
|
|
1646
|
+
*
|
|
1647
|
+
* **Note:** exported for testing purposes only
|
|
1648
|
+
*
|
|
1649
|
+
* @param root0
|
|
1650
|
+
* @param root0.referenceEl
|
|
1651
|
+
* @param root0.floatingEl
|
|
1652
|
+
* @param root0.overlayPositioning
|
|
1653
|
+
* @param root0.placement
|
|
1654
|
+
* @param root0.flipDisabled
|
|
1655
|
+
* @param root0.flipPlacements
|
|
1656
|
+
* @param root0.offsetDistance
|
|
1657
|
+
* @param root0.offsetSkidding
|
|
1658
|
+
* @param root0.arrowEl
|
|
1659
|
+
* @param root0.type
|
|
1660
|
+
* @param component
|
|
1661
|
+
* @param root0.referenceEl.referenceEl
|
|
1662
|
+
* @param root0.referenceEl.floatingEl
|
|
1663
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1664
|
+
* @param root0.referenceEl.placement
|
|
1665
|
+
* @param root0.referenceEl.flipDisabled
|
|
1666
|
+
* @param root0.referenceEl.flipPlacements
|
|
1667
|
+
* @param root0.referenceEl.offsetDistance
|
|
1668
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1669
|
+
* @param root0.referenceEl.arrowEl
|
|
1670
|
+
* @param root0.referenceEl.type
|
|
1671
|
+
* @param component.referenceEl
|
|
1672
|
+
* @param component.floatingEl
|
|
1673
|
+
* @param component.overlayPositioning
|
|
1674
|
+
* @param component.placement
|
|
1675
|
+
* @param component.flipDisabled
|
|
1676
|
+
* @param component.flipPlacements
|
|
1677
|
+
* @param component.offsetDistance
|
|
1678
|
+
* @param component.offsetSkidding
|
|
1679
|
+
* @param component.arrowEl
|
|
1680
|
+
* @param component.type
|
|
1681
|
+
*/
|
|
1682
|
+
const positionFloatingUI =
|
|
1683
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1684
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1685
|
+
if (!referenceEl || !floatingEl) {
|
|
1686
|
+
return null;
|
|
1687
|
+
}
|
|
1688
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1689
|
+
strategy: overlayPositioning,
|
|
1690
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1691
|
+
? undefined
|
|
1692
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1693
|
+
middleware: getMiddleware({
|
|
1694
|
+
placement,
|
|
1695
|
+
flipDisabled,
|
|
1696
|
+
flipPlacements,
|
|
1697
|
+
offsetDistance,
|
|
1698
|
+
offsetSkidding,
|
|
1699
|
+
arrowEl,
|
|
1700
|
+
type,
|
|
1701
|
+
}),
|
|
1702
|
+
});
|
|
1703
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1704
|
+
const { x, y } = middlewareData.arrow;
|
|
1705
|
+
const side = effectivePlacement.split("-")[0];
|
|
1706
|
+
const alignment = x != null ? "left" : "top";
|
|
1707
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1708
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1709
|
+
if ("floatingLayout" in component) {
|
|
1710
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1711
|
+
}
|
|
1712
|
+
Object.assign(arrowEl.style, {
|
|
1713
|
+
...reset,
|
|
1714
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1715
|
+
[side]: "100%",
|
|
1716
|
+
transform,
|
|
1717
|
+
});
|
|
1718
|
+
}
|
|
1719
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1720
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1721
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1722
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1723
|
+
const { open } = component;
|
|
1724
|
+
Object.assign(floatingEl.style, {
|
|
1725
|
+
visibility,
|
|
1726
|
+
pointerEvents,
|
|
1727
|
+
position,
|
|
1728
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
1729
|
+
top: 0,
|
|
1730
|
+
left: 0,
|
|
1731
|
+
});
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* Exported for testing purposes only
|
|
1735
|
+
*/
|
|
1736
|
+
const placementDataAttribute = "data-placement";
|
|
1737
|
+
/**
|
|
1738
|
+
* Exported for testing purposes only
|
|
1739
|
+
*/
|
|
1740
|
+
const repositionDebounceTimeout = 100;
|
|
1741
|
+
const effectivePlacements = [
|
|
1742
|
+
"top",
|
|
1743
|
+
"bottom",
|
|
1744
|
+
"right",
|
|
1745
|
+
"left",
|
|
1746
|
+
"top-start",
|
|
1747
|
+
"top-end",
|
|
1748
|
+
"bottom-start",
|
|
1749
|
+
"bottom-end",
|
|
1750
|
+
"right-start",
|
|
1751
|
+
"right-end",
|
|
1752
|
+
"left-start",
|
|
1753
|
+
"left-end",
|
|
1754
|
+
];
|
|
1755
|
+
const defaultMenuPlacement = "bottom-start";
|
|
1756
|
+
const FloatingCSS = {
|
|
1757
|
+
animation: "calcite-floating-ui-anim",
|
|
1758
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
1759
|
+
};
|
|
1760
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1761
|
+
const defaultMiddleware = [shift(), hide()];
|
|
1762
|
+
if (type === "menu") {
|
|
1763
|
+
return [
|
|
1764
|
+
...defaultMiddleware,
|
|
1765
|
+
flip({
|
|
1766
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1767
|
+
}),
|
|
1768
|
+
];
|
|
1769
|
+
}
|
|
1770
|
+
if (type === "popover" || type === "tooltip") {
|
|
1771
|
+
const middleware = [
|
|
1772
|
+
...defaultMiddleware,
|
|
1773
|
+
offset({
|
|
1774
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1775
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1776
|
+
}),
|
|
1777
|
+
];
|
|
1778
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1779
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
1780
|
+
}
|
|
1781
|
+
else if (!flipDisabled) {
|
|
1782
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
1783
|
+
}
|
|
1784
|
+
if (arrowEl) {
|
|
1785
|
+
middleware.push(arrow({
|
|
1786
|
+
element: arrowEl,
|
|
1787
|
+
}));
|
|
1788
|
+
}
|
|
1789
|
+
return middleware;
|
|
1790
|
+
}
|
|
1791
|
+
return [];
|
|
1792
|
+
}
|
|
1793
|
+
function filterComputedPlacements(placements, el) {
|
|
1794
|
+
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
|
1795
|
+
if (filteredPlacements.length !== placements.length) {
|
|
1796
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
|
1797
|
+
.map((placement) => `"${placement}"`)
|
|
1798
|
+
.join(", ")
|
|
1799
|
+
.trim()}`, { el });
|
|
1800
|
+
}
|
|
1801
|
+
return filteredPlacements;
|
|
1802
|
+
}
|
|
1803
|
+
function getEffectivePlacement(floatingEl, placement) {
|
|
1804
|
+
const placements = ["left", "right"];
|
|
1805
|
+
if (dom.getElementDir(floatingEl) === "rtl") {
|
|
1806
|
+
placements.reverse();
|
|
1807
|
+
}
|
|
1808
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1812
|
+
*
|
|
1813
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
1814
|
+
*
|
|
1815
|
+
* @param component - A floating-ui component.
|
|
1816
|
+
* @param options - Reposition parameters.
|
|
1817
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1818
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
1819
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
1820
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
1821
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
1822
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
1823
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
1824
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
1825
|
+
* @param options.arrowEl - A customizable arrow element.
|
|
1826
|
+
* @param options.type - The type of floating UI.
|
|
1827
|
+
* @param delayed - Reposition the component after a delay.
|
|
1828
|
+
* @returns {Promise<void>}
|
|
1829
|
+
*/
|
|
1830
|
+
async function reposition(component, options, delayed = false) {
|
|
1831
|
+
if (!component.open) {
|
|
1832
|
+
return;
|
|
1833
|
+
}
|
|
1834
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1835
|
+
return positionFunction(component, options);
|
|
1836
|
+
}
|
|
1837
|
+
function getDebouncedReposition(component) {
|
|
1838
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1839
|
+
if (debounced) {
|
|
1840
|
+
return debounced;
|
|
1841
|
+
}
|
|
1842
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1843
|
+
leading: true,
|
|
1844
|
+
maxWait: repositionDebounceTimeout,
|
|
1845
|
+
});
|
|
1846
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1847
|
+
return debounced;
|
|
1848
|
+
}
|
|
1849
|
+
const ARROW_CSS_TRANSFORM = {
|
|
1850
|
+
top: "",
|
|
1851
|
+
left: "rotate(-90deg)",
|
|
1852
|
+
bottom: "rotate(180deg)",
|
|
1853
|
+
right: "rotate(90deg)",
|
|
1854
|
+
};
|
|
1855
|
+
/**
|
|
1856
|
+
* Exported for testing purposes only
|
|
1857
|
+
*
|
|
1858
|
+
* @internal
|
|
1859
|
+
*/
|
|
1860
|
+
const cleanupMap = new WeakMap();
|
|
1861
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1862
|
+
/**
|
|
1863
|
+
* Helper to set up floating element interactions on connectedCallback.
|
|
1864
|
+
*
|
|
1865
|
+
* @param component - A floating-ui component.
|
|
1866
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1867
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1868
|
+
*/
|
|
1869
|
+
function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
1870
|
+
if (!floatingEl || !referenceEl) {
|
|
1871
|
+
return;
|
|
1872
|
+
}
|
|
1873
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1874
|
+
Object.assign(floatingEl.style, {
|
|
1875
|
+
visibility: "hidden",
|
|
1876
|
+
pointerEvents: "none",
|
|
1877
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1878
|
+
position: component.overlayPositioning,
|
|
1879
|
+
});
|
|
1880
|
+
const runAutoUpdate = autoUpdate
|
|
1881
|
+
;
|
|
1882
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
1886
|
+
*
|
|
1887
|
+
* @param component - A floating-ui component.
|
|
1888
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1889
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1890
|
+
*/
|
|
1891
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
1892
|
+
if (!floatingEl || !referenceEl) {
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1895
|
+
cleanupMap.get(component)?.();
|
|
1896
|
+
cleanupMap.delete(component);
|
|
1897
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1898
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1899
|
+
}
|
|
1900
|
+
const visiblePointerSize = 4;
|
|
1901
|
+
/**
|
|
1902
|
+
* Default offset the position of the floating element away from the reference element.
|
|
1903
|
+
*
|
|
1904
|
+
* @default 6
|
|
1905
|
+
*/
|
|
1906
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1907
|
+
|
|
1908
|
+
exports.FloatingCSS = FloatingCSS;
|
|
1909
|
+
exports.connectFloatingUI = connectFloatingUI;
|
|
1910
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
|
1911
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
|
1912
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
|
1913
|
+
exports.filterComputedPlacements = filterComputedPlacements;
|
|
1914
|
+
exports.reposition = reposition;
|
|
1915
|
+
|
|
1916
|
+
//# sourceMappingURL=floating-ui-68f49235.js.map
|