@esri/calcite-components 2.2.0-next.1 → 2.2.0-next.2
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.css +3 -3
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-003ca0f3.js +7 -0
- package/dist/calcite/p-0147c6f7.entry.js +7 -0
- package/dist/calcite/p-0237ff4a.entry.js +7 -0
- package/dist/calcite/p-0237ff4a.entry.js.map +1 -0
- package/dist/calcite/p-02458357.entry.js +7 -0
- package/dist/calcite/p-03e71304.entry.js +7 -0
- package/dist/calcite/p-0831819b.entry.js +7 -0
- package/dist/calcite/p-0de2a651.js +7 -0
- package/dist/calcite/p-0f356712.entry.js +7 -0
- package/dist/calcite/p-0f64aea9.js +7 -0
- package/dist/calcite/p-130cf3df.entry.js +7 -0
- package/dist/calcite/p-134f54bf.entry.js +7 -0
- package/dist/calcite/p-14f38eac.js +7 -0
- package/dist/calcite/p-158fbf06.entry.js +7 -0
- package/dist/calcite/p-15a931c2.js +7 -0
- package/dist/calcite/p-18fe9d9f.entry.js +7 -0
- package/dist/calcite/p-1a7be884.js +13 -0
- package/dist/calcite/p-1abd7d95.js +7 -0
- package/dist/calcite/p-1c40411d.js +7 -0
- package/dist/calcite/p-1d2d14f7.js +7 -0
- package/dist/calcite/p-1e034848.js +7 -0
- package/dist/calcite/p-1f4f0978.entry.js +7 -0
- package/dist/calcite/p-211bf0aa.entry.js +7 -0
- package/dist/calcite/p-211c55f5.entry.js +7 -0
- package/dist/calcite/p-22cd60dc.entry.js +7 -0
- package/dist/calcite/p-22d0e71c.entry.js +7 -0
- package/dist/calcite/p-26b5ebc3.js +7 -0
- package/dist/calcite/p-27a333ee.entry.js +7 -0
- package/dist/calcite/p-2897690e.js +7 -0
- package/dist/calcite/p-2c92d55b.js +7 -0
- package/dist/calcite/p-2cd07cf1.entry.js +7 -0
- package/dist/calcite/p-2cf923a1.entry.js +7 -0
- package/dist/calcite/p-2f9ada20.js +7 -0
- package/dist/calcite/p-35daea60.entry.js +7 -0
- package/dist/calcite/p-3aa037b8.entry.js +7 -0
- package/dist/calcite/p-3c6368cc.entry.js +7 -0
- package/dist/calcite/p-3c6368cc.entry.js.map +1 -0
- package/dist/calcite/p-3d14171e.js +7 -0
- package/dist/calcite/p-3d6050cc.js +7 -0
- package/dist/calcite/p-3f5b8310.js +7 -0
- package/dist/calcite/p-3fbbb013.entry.js +7 -0
- package/dist/calcite/p-4078dbb9.js +7 -0
- package/dist/calcite/p-42d57183.js +7 -0
- package/dist/calcite/p-440147ae.js +7 -0
- package/dist/calcite/p-45a2710e.js +12 -0
- package/dist/calcite/p-46aa9fd5.js +7 -0
- package/dist/calcite/p-49630957.js +7 -0
- package/dist/calcite/p-4c5be3a9.entry.js +7 -0
- package/dist/calcite/p-4f0af5b6.js +7 -0
- package/dist/calcite/p-53a58d9c.js +7 -0
- package/dist/calcite/p-54658226.js +7 -0
- package/dist/calcite/p-5584db37.js +7 -0
- package/dist/calcite/p-5692fc28.entry.js +7 -0
- package/dist/calcite/p-59f2a26a.js +7 -0
- package/dist/calcite/p-5d018e37.entry.js +7 -0
- package/dist/calcite/p-5e2c60c7.entry.js +7 -0
- package/dist/calcite/p-5e2c60c7.entry.js.map +1 -0
- package/dist/calcite/p-5e6ed7fc.entry.js +7 -0
- package/dist/calcite/p-5f6d09bb.js +7 -0
- package/dist/calcite/p-5f864b8a.entry.js +7 -0
- package/dist/calcite/p-5f9b3359.js +7 -0
- package/dist/calcite/p-62afe875.js +7 -0
- package/dist/calcite/p-66dec48a.entry.js +7 -0
- package/dist/calcite/p-6a6126d9.js +7 -0
- package/dist/calcite/p-6bdc50f3.entry.js +7 -0
- package/dist/calcite/p-6c188b2d.entry.js +7 -0
- package/dist/calcite/p-705ec6ff.js +7 -0
- package/dist/calcite/p-77fc8314.js +7 -0
- package/dist/calcite/p-782184a2.entry.js +7 -0
- package/dist/calcite/p-797254a9.entry.js +7 -0
- package/dist/calcite/p-79c02fee.js +7 -0
- package/dist/calcite/p-7c4fe654.js +7 -0
- package/dist/calcite/p-7e85e753.entry.js +7 -0
- package/dist/calcite/p-7f125972.js +8 -0
- package/dist/calcite/p-7fa05a35.entry.js +7 -0
- package/dist/calcite/p-8098ac71.js +7 -0
- package/dist/calcite/p-80d2a6e8.entry.js +7 -0
- package/dist/calcite/p-82d2693e.entry.js +7 -0
- package/dist/calcite/p-82dd6896.js +7 -0
- package/dist/calcite/p-835ab73d.js +7 -0
- package/dist/calcite/p-86b76b8c.entry.js +7 -0
- package/dist/calcite/p-886befa9.entry.js +7 -0
- package/dist/calcite/p-8aba18a4.js +7 -0
- package/dist/calcite/p-8b9de6d9.entry.js +7 -0
- package/dist/calcite/p-8d106c74.entry.js +7 -0
- package/dist/calcite/p-8e691781.entry.js +7 -0
- package/dist/calcite/p-90f83cb9.js +7 -0
- package/dist/calcite/p-91d3a97a.js +7 -0
- package/dist/calcite/p-9402d09f.js +7 -0
- package/dist/calcite/p-9610a634.js +7 -0
- package/dist/calcite/p-98645f51.js +7 -0
- package/dist/calcite/p-98872134.js +7 -0
- package/dist/calcite/p-9be7d232.entry.js +7 -0
- package/dist/calcite/p-9d793473.js +7 -0
- package/dist/calcite/p-a15674ad.js +7 -0
- package/dist/calcite/p-a159b523.js +7 -0
- package/dist/calcite/p-a177e98d.js +7 -0
- package/dist/calcite/p-a2ab03b5.js +7 -0
- package/dist/calcite/p-a3ba09ec.entry.js +7 -0
- package/dist/calcite/p-a4f3d084.entry.js +7 -0
- package/dist/calcite/p-a68f11a7.js +7 -0
- package/dist/calcite/p-a6f376c8.js +7 -0
- package/dist/calcite/p-a73f6b83.entry.js +7 -0
- package/dist/calcite/p-a9aa33b0.js +7 -0
- package/dist/calcite/p-ab352017.js +7 -0
- package/dist/calcite/p-ae8651e0.js +7 -0
- package/dist/calcite/p-af622206.entry.js +7 -0
- package/dist/calcite/p-afb156ef.js +7 -0
- package/dist/calcite/p-b208ecb0.entry.js +7 -0
- package/dist/calcite/p-b2dd3f6b.entry.js +7 -0
- package/dist/calcite/p-b2dd3f6b.entry.js.map +1 -0
- package/dist/calcite/p-b6465955.js +7 -0
- package/dist/calcite/p-b6f054d2.entry.js +7 -0
- package/dist/calcite/p-b9d31cbe.entry.js +7 -0
- package/dist/calcite/p-ba0ad3cb.js +7 -0
- package/dist/calcite/p-bbf0b7bf.js +7 -0
- package/dist/calcite/p-be5ee253.entry.js +7 -0
- package/dist/calcite/p-beabd92d.js +7 -0
- package/dist/calcite/p-c3c81b16.js +7 -0
- package/dist/calcite/p-c564f3df.entry.js +7 -0
- package/dist/calcite/p-c5d20a3c.js +7 -0
- package/dist/calcite/p-c71e3c45.js +7 -0
- package/dist/calcite/p-c791d921.js +7 -0
- package/dist/calcite/p-c955b966.entry.js +7 -0
- package/dist/calcite/p-ca7e2141.js +7 -0
- package/dist/calcite/p-cbd5152a.js +7 -0
- package/dist/calcite/p-cc3cd8a9.entry.js +7 -0
- package/dist/calcite/p-cd3b4156.js +7 -0
- package/dist/calcite/p-cf067db4.js +7 -0
- package/dist/calcite/p-cf3ad5bd.js +7 -0
- package/dist/calcite/p-cfbda139.entry.js +7 -0
- package/dist/calcite/p-d05f6cd5.js +7 -0
- package/dist/calcite/p-d218023a.js +7 -0
- package/dist/calcite/p-d2c65e0b.js +7 -0
- package/dist/calcite/p-d2f61d21.entry.js +7 -0
- package/dist/calcite/p-d45a0e1b.entry.js +7 -0
- package/dist/calcite/p-d4ba102f.js +7 -0
- package/dist/calcite/p-d5a7de52.entry.js +7 -0
- package/dist/calcite/p-d6d623ac.entry.js +7 -0
- package/dist/calcite/p-dd4fc754.js +7 -0
- package/dist/calcite/p-de442a9c.entry.js +7 -0
- package/dist/calcite/p-df766122.js +7 -0
- package/dist/calcite/p-dfd01370.js +11 -0
- package/dist/calcite/p-e30438ff.js +7 -0
- package/dist/calcite/p-e605624d.entry.js +7 -0
- package/dist/calcite/p-e84374ce.entry.js +7 -0
- package/dist/calcite/p-ec54aec5.js +7 -0
- package/dist/calcite/p-ecb8bcb9.entry.js +7 -0
- package/dist/calcite/p-ee26a44c.entry.js +7 -0
- package/dist/calcite/p-ee7c627c.entry.js +7 -0
- package/dist/calcite/p-ef6e9b39.entry.js +7 -0
- package/dist/calcite/p-ef6e9b39.entry.js.map +1 -0
- package/dist/calcite/p-efb11a3a.js +7 -0
- package/dist/calcite/p-f382c5cb.entry.js +7 -0
- package/dist/calcite/p-f3bd8190.entry.js +7 -0
- package/dist/calcite/p-f48b9584.js +7 -0
- package/dist/calcite/p-f4de0feb.js +7 -0
- package/dist/calcite/p-f7bea0da.js +7 -0
- package/dist/calcite/p-f8251642.js +7 -0
- package/dist/calcite/p-fa43461d.js +7 -0
- package/dist/calcite/p-fa52350d.entry.js +7 -0
- package/dist/calcite/p-fcf2ba73.js +7 -0
- package/dist/calcite/p-fd1b1de1.entry.js +7 -0
- package/dist/calcite/p-fda4c45c.js +7 -0
- package/dist/calcite/p-ff72942c.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-baef0c0e.js +110 -0
- package/dist/cjs/ExpandToggle-baef0c0e.js.map +1 -0
- package/dist/cjs/FloatingArrow-efd489b7.js +49 -0
- package/dist/cjs/FloatingArrow-efd489b7.js.map +1 -0
- package/dist/cjs/Heading-1df6c522.js +22 -0
- package/dist/cjs/Heading-1df6c522.js.map +1 -0
- package/dist/cjs/Validation-56f7f6dd.js +18 -0
- package/dist/cjs/Validation-56f7f6dd.js.map +1 -0
- package/dist/cjs/app-globals-374e9b82.js +61 -0
- package/dist/cjs/app-globals-374e9b82.js.map +1 -0
- package/dist/cjs/ar-1223be58.js +106 -0
- package/dist/cjs/ar-1223be58.js.map +1 -0
- package/dist/cjs/array-49c4c888.js +14 -0
- package/dist/cjs/array-49c4c888.js.map +1 -0
- package/dist/cjs/bg-db68f88d.js +84 -0
- package/dist/cjs/bg-db68f88d.js.map +1 -0
- package/dist/cjs/browser-767f345c.js +20 -0
- package/dist/cjs/browser-767f345c.js.map +1 -0
- package/dist/cjs/bs-6890da43.js +53 -0
- package/dist/cjs/bs-6890da43.js.map +1 -0
- package/dist/cjs/ca-3d50f713.js +73 -0
- package/dist/cjs/ca-3d50f713.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 +18 -16
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- 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-6fc2f823.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6fc2f823.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-split-button.cjs.entry.js.map +1 -1
- 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 +11 -11
- 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-8b8d846d.js +30 -0
- package/dist/cjs/component-8b8d846d.js.map +1 -0
- package/dist/cjs/conditionalSlot-d6481e20.js +60 -0
- package/dist/cjs/conditionalSlot-d6481e20.js.map +1 -0
- package/dist/cjs/cs-2f6523cd.js +149 -0
- package/dist/cjs/cs-2f6523cd.js.map +1 -0
- package/dist/cjs/da-50fbf6a3.js +68 -0
- package/dist/cjs/da-50fbf6a3.js.map +1 -0
- package/dist/cjs/de-07662763.js +93 -0
- package/dist/cjs/de-07662763.js.map +1 -0
- package/dist/cjs/de-at-3aeb0cc6.js +92 -0
- package/dist/cjs/de-at-3aeb0cc6.js.map +1 -0
- package/dist/cjs/de-ch-465e4f88.js +92 -0
- package/dist/cjs/de-ch-465e4f88.js.map +1 -0
- package/dist/cjs/debounce-b72abe80.js +498 -0
- package/dist/cjs/debounce-b72abe80.js.map +1 -0
- package/dist/cjs/dom-526ae93a.js +1084 -0
- package/dist/cjs/dom-526ae93a.js.map +1 -0
- package/dist/cjs/el-b206b8a1.js +68 -0
- package/dist/cjs/el-b206b8a1.js.map +1 -0
- package/dist/cjs/en-au-939b6d23.js +68 -0
- package/dist/cjs/en-au-939b6d23.js.map +1 -0
- package/dist/cjs/en-ca-3baa3dab.js +67 -0
- package/dist/cjs/en-ca-3baa3dab.js.map +1 -0
- package/dist/cjs/en-gb-693a987a.js +71 -0
- package/dist/cjs/en-gb-693a987a.js.map +1 -0
- package/dist/cjs/es-b77f84b3.js +68 -0
- package/dist/cjs/es-b77f84b3.js.map +1 -0
- package/dist/cjs/es-mx-9da97820.js +67 -0
- package/dist/cjs/es-mx-9da97820.js.map +1 -0
- package/dist/cjs/et-85f4b08c.js +94 -0
- package/dist/cjs/et-85f4b08c.js.map +1 -0
- package/dist/cjs/fi-75c08f95.js +117 -0
- package/dist/cjs/fi-75c08f95.js.map +1 -0
- package/dist/cjs/filter-52af3a71.js +762 -0
- package/dist/cjs/filter-52af3a71.js.map +1 -0
- package/dist/cjs/floating-ui-0f73db12.js +1916 -0
- package/dist/cjs/floating-ui-0f73db12.js.map +1 -0
- package/dist/cjs/focusTrapComponent-3f2ebaaa.js +1020 -0
- package/dist/cjs/focusTrapComponent-3f2ebaaa.js.map +1 -0
- package/dist/cjs/form-ef534f10.js +257 -0
- package/dist/cjs/form-ef534f10.js.map +1 -0
- package/dist/cjs/fr-8e67a0d6.js +70 -0
- package/dist/cjs/fr-8e67a0d6.js.map +1 -0
- package/dist/cjs/fr-ch-454993f8.js +68 -0
- package/dist/cjs/fr-ch-454993f8.js.map +1 -0
- package/dist/cjs/guid-2999da4b.js +23 -0
- package/dist/cjs/guid-2999da4b.js.map +1 -0
- package/dist/cjs/he-51b79365.js +107 -0
- package/dist/cjs/he-51b79365.js.map +1 -0
- package/dist/cjs/hi-65d46804.js +67 -0
- package/dist/cjs/hi-65d46804.js.map +1 -0
- package/dist/cjs/hr-b6c80f49.js +82 -0
- package/dist/cjs/hr-b6c80f49.js.map +1 -0
- package/dist/cjs/hu-9bc48ca7.js +90 -0
- package/dist/cjs/hu-9bc48ca7.js.map +1 -0
- package/dist/cjs/id-8a520e24.js +68 -0
- package/dist/cjs/id-8a520e24.js.map +1 -0
- package/dist/cjs/index-369754ae.js +208 -0
- package/dist/cjs/index-369754ae.js.map +1 -0
- package/dist/cjs/index-67c4b632.js +75 -0
- package/dist/cjs/index-67c4b632.js.map +1 -0
- package/dist/cjs/index-c3a85d17.js +2647 -0
- package/dist/cjs/index-c3a85d17.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-77fbebed.js +144 -0
- package/dist/cjs/interactive-77fbebed.js.map +1 -0
- package/dist/cjs/it-7bc98f91.js +68 -0
- package/dist/cjs/it-7bc98f91.js.map +1 -0
- package/dist/cjs/it-ch-ce182975.js +68 -0
- package/dist/cjs/it-ch-ce182975.js.map +1 -0
- package/dist/cjs/ja-203da357.js +74 -0
- package/dist/cjs/ja-203da357.js.map +1 -0
- package/dist/cjs/key-c7167eca.js +16 -0
- package/dist/cjs/key-c7167eca.js.map +1 -0
- package/dist/cjs/ko-e27e77cc.js +74 -0
- package/dist/cjs/ko-e27e77cc.js.map +1 -0
- package/dist/cjs/label-cadbadfd.js +183 -0
- package/dist/cjs/label-cadbadfd.js.map +1 -0
- package/dist/cjs/loadable-3315b101.js +91 -0
- package/dist/cjs/loadable-3315b101.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-cb432455.js +575 -0
- package/dist/cjs/locale-cb432455.js.map +1 -0
- package/dist/cjs/lt-cbb1cfdf.js +99 -0
- package/dist/cjs/lt-cbb1cfdf.js.map +1 -0
- package/dist/cjs/lv-8d8ee484.js +68 -0
- package/dist/cjs/lv-8d8ee484.js.map +1 -0
- package/dist/cjs/math-e3591dc1.js +57 -0
- package/dist/cjs/math-e3591dc1.js.map +1 -0
- package/dist/cjs/mk-f414f5a5.js +68 -0
- package/dist/cjs/mk-f414f5a5.js.map +1 -0
- package/dist/cjs/nb-eadaf2ef.js +69 -0
- package/dist/cjs/nb-eadaf2ef.js.map +1 -0
- package/dist/cjs/nl-199f4e15.js +69 -0
- package/dist/cjs/nl-199f4e15.js.map +1 -0
- package/dist/cjs/observers-63095bd4.js +50 -0
- package/dist/cjs/observers-63095bd4.js.map +1 -0
- package/dist/cjs/openCloseComponent-38872c79.js +89 -0
- package/dist/cjs/openCloseComponent-38872c79.js.map +1 -0
- package/dist/cjs/pl-46b17664.js +116 -0
- package/dist/cjs/pl-46b17664.js.map +1 -0
- package/dist/cjs/pt-5cc644c4.js +69 -0
- package/dist/cjs/pt-5cc644c4.js.map +1 -0
- package/dist/cjs/pt-br-7b7e8e8e.js +67 -0
- package/dist/cjs/pt-br-7b7e8e8e.js.map +1 -0
- package/dist/cjs/resources-04ad1fb0.js +26 -0
- package/dist/cjs/resources-04ad1fb0.js.map +1 -0
- package/dist/cjs/resources-2f0b38c2.js +29 -0
- package/dist/cjs/resources-2f0b38c2.js.map +1 -0
- package/dist/cjs/resources-37db5f37.js +414 -0
- package/dist/cjs/resources-37db5f37.js.map +1 -0
- package/dist/cjs/resources-3af05f82.js +23 -0
- package/dist/cjs/resources-3af05f82.js.map +1 -0
- package/dist/cjs/resources-3e941f1a.js +17 -0
- package/dist/cjs/resources-3e941f1a.js.map +1 -0
- package/dist/cjs/resources-4231bddf.js +26 -0
- package/dist/cjs/resources-4231bddf.js.map +1 -0
- package/dist/cjs/resources-847c1e28.js +49 -0
- package/dist/cjs/resources-847c1e28.js.map +1 -0
- package/dist/cjs/ro-be888666.js +68 -0
- package/dist/cjs/ro-be888666.js.map +1 -0
- package/dist/cjs/ru-e859e98a.js +128 -0
- package/dist/cjs/ru-e859e98a.js.map +1 -0
- package/dist/cjs/sk-7a1d552b.js +150 -0
- package/dist/cjs/sk-7a1d552b.js.map +1 -0
- package/dist/cjs/sl-c96d7cbf.js +170 -0
- package/dist/cjs/sl-c96d7cbf.js.map +1 -0
- package/dist/cjs/sortableComponent-5faabf8f.js +2739 -0
- package/dist/cjs/sortableComponent-5faabf8f.js.map +1 -0
- package/dist/cjs/sr-ad053e41.js +103 -0
- package/dist/cjs/sr-ad053e41.js.map +1 -0
- package/dist/cjs/sv-9c273e1b.js +73 -0
- package/dist/cjs/sv-9c273e1b.js.map +1 -0
- package/dist/cjs/t9n-f6dc9b37.js +97 -0
- package/dist/cjs/t9n-f6dc9b37.js.map +1 -0
- package/dist/cjs/th-2cf13b2e.js +67 -0
- package/dist/cjs/th-2cf13b2e.js.map +1 -0
- package/dist/cjs/throttle-0fdb618c.js +77 -0
- package/dist/cjs/throttle-0fdb618c.js.map +1 -0
- package/dist/cjs/tr-959a43c5.js +68 -0
- package/dist/cjs/tr-959a43c5.js.map +1 -0
- package/dist/cjs/uk-dd3c4198.js +106 -0
- package/dist/cjs/uk-dd3c4198.js.map +1 -0
- package/dist/cjs/utils-653f2648.js +307 -0
- package/dist/cjs/utils-653f2648.js.map +1 -0
- package/dist/cjs/utils-912cb341.js +218 -0
- package/dist/cjs/utils-912cb341.js.map +1 -0
- package/dist/cjs/vi-d7171ec4.js +72 -0
- package/dist/cjs/vi-d7171ec4.js.map +1 -0
- package/dist/cjs/zh-cn-129427c3.js +96 -0
- package/dist/cjs/zh-cn-129427c3.js.map +1 -0
- package/dist/cjs/zh-hk-4cf50857.js +73 -0
- package/dist/cjs/zh-hk-4cf50857.js.map +1 -0
- package/dist/cjs/zh-tw-7bfc33b5.js +94 -0
- package/dist/cjs/zh-tw-7bfc33b5.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 +5 -3
- package/dist/collection/components/filter/filter.js.map +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/split-button/split-button.js.map +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 +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/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-split-button.js.map +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 +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 +5 -3
- package/dist/components/filter2.js.map +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-edb9485e.js +102 -0
- package/dist/esm/ExpandToggle-edb9485e.js.map +1 -0
- package/dist/esm/FloatingArrow-c5477ca2.js +47 -0
- package/dist/esm/FloatingArrow-c5477ca2.js.map +1 -0
- package/dist/esm/Heading-cbd54738.js +19 -0
- package/dist/esm/Heading-cbd54738.js.map +1 -0
- package/dist/esm/Validation-9bd743c3.js +16 -0
- package/dist/esm/Validation-9bd743c3.js.map +1 -0
- package/dist/esm/app-globals-5d2e1be3.js +59 -0
- package/dist/esm/app-globals-5d2e1be3.js.map +1 -0
- package/dist/esm/ar-fd708bbf.js +104 -0
- package/dist/esm/ar-fd708bbf.js.map +1 -0
- package/dist/esm/array-dd5632a3.js +12 -0
- package/dist/esm/array-dd5632a3.js.map +1 -0
- package/dist/esm/bg-e61d97df.js +82 -0
- package/dist/esm/bg-e61d97df.js.map +1 -0
- package/dist/esm/browser-e4f0e125.js +18 -0
- package/dist/esm/browser-e4f0e125.js.map +1 -0
- package/dist/esm/bs-6eed7f36.js +51 -0
- package/dist/esm/bs-6eed7f36.js.map +1 -0
- package/dist/esm/ca-89ea8825.js +71 -0
- package/dist/esm/ca-89ea8825.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 +18 -16
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- 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-468293cc.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-468293cc.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-split-button.entry.js.map +1 -1
- 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 +11 -11
- 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-8e88e07a.js +27 -0
- package/dist/esm/component-8e88e07a.js.map +1 -0
- package/dist/esm/conditionalSlot-9c98f342.js +57 -0
- package/dist/esm/conditionalSlot-9c98f342.js.map +1 -0
- package/dist/esm/cs-4e817691.js +147 -0
- package/dist/esm/cs-4e817691.js.map +1 -0
- package/dist/esm/da-43b77376.js +66 -0
- package/dist/esm/da-43b77376.js.map +1 -0
- package/dist/esm/de-416d5c11.js +91 -0
- package/dist/esm/de-416d5c11.js.map +1 -0
- package/dist/esm/de-at-f79550ab.js +90 -0
- package/dist/esm/de-at-f79550ab.js.map +1 -0
- package/dist/esm/de-ch-5c0dd30a.js +90 -0
- package/dist/esm/de-ch-5c0dd30a.js.map +1 -0
- package/dist/esm/debounce-b9ba4f70.js +489 -0
- package/dist/esm/debounce-b9ba4f70.js.map +1 -0
- package/dist/esm/dom-168a47e4.js +1053 -0
- package/dist/esm/dom-168a47e4.js.map +1 -0
- package/dist/esm/el-c2db3ffd.js +66 -0
- package/dist/esm/el-c2db3ffd.js.map +1 -0
- package/dist/esm/en-au-0ed2bb7e.js +66 -0
- package/dist/esm/en-au-0ed2bb7e.js.map +1 -0
- package/dist/esm/en-ca-8b873f52.js +65 -0
- package/dist/esm/en-ca-8b873f52.js.map +1 -0
- package/dist/esm/en-gb-7329d4df.js +69 -0
- package/dist/esm/en-gb-7329d4df.js.map +1 -0
- package/dist/esm/es-e93e0cdf.js +66 -0
- package/dist/esm/es-e93e0cdf.js.map +1 -0
- package/dist/esm/es-mx-b9c721a0.js +65 -0
- package/dist/esm/es-mx-b9c721a0.js.map +1 -0
- package/dist/esm/et-38b8de59.js +92 -0
- package/dist/esm/et-38b8de59.js.map +1 -0
- package/dist/esm/fi-b7e13179.js +115 -0
- package/dist/esm/fi-b7e13179.js.map +1 -0
- package/dist/esm/filter-c0bc37ee.js +760 -0
- package/dist/esm/filter-c0bc37ee.js.map +1 -0
- package/dist/esm/floating-ui-c6393b6b.js +1908 -0
- package/dist/esm/floating-ui-c6393b6b.js.map +1 -0
- package/dist/esm/focusTrapComponent-28d8abe1.js +1015 -0
- package/dist/esm/focusTrapComponent-28d8abe1.js.map +1 -0
- package/dist/esm/form-1823324e.js +249 -0
- package/dist/esm/form-1823324e.js.map +1 -0
- package/dist/esm/fr-261d1187.js +68 -0
- package/dist/esm/fr-261d1187.js.map +1 -0
- package/dist/esm/fr-ch-4f647871.js +66 -0
- package/dist/esm/fr-ch-4f647871.js.map +1 -0
- package/dist/esm/guid-7dc4951c.js +21 -0
- package/dist/esm/guid-7dc4951c.js.map +1 -0
- package/dist/esm/he-6e36e307.js +105 -0
- package/dist/esm/he-6e36e307.js.map +1 -0
- package/dist/esm/hi-b2397c39.js +65 -0
- package/dist/esm/hi-b2397c39.js.map +1 -0
- package/dist/esm/hr-fdd2b772.js +80 -0
- package/dist/esm/hr-fdd2b772.js.map +1 -0
- package/dist/esm/hu-88427f98.js +88 -0
- package/dist/esm/hu-88427f98.js.map +1 -0
- package/dist/esm/id-5b069eee.js +66 -0
- package/dist/esm/id-5b069eee.js.map +1 -0
- package/dist/esm/index-0756ca9c.js +73 -0
- package/dist/esm/index-0756ca9c.js.map +1 -0
- package/dist/esm/index-11fbae42.js +2612 -0
- package/dist/esm/index-11fbae42.js.map +1 -0
- package/dist/esm/index-32ae04ac.js +206 -0
- package/dist/esm/index-32ae04ac.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-b16eedd3.js +139 -0
- package/dist/esm/interactive-b16eedd3.js.map +1 -0
- package/dist/esm/it-a26431bd.js +66 -0
- package/dist/esm/it-a26431bd.js.map +1 -0
- package/dist/esm/it-ch-e62c9782.js +66 -0
- package/dist/esm/it-ch-e62c9782.js.map +1 -0
- package/dist/esm/ja-065b0ad4.js +72 -0
- package/dist/esm/ja-065b0ad4.js.map +1 -0
- package/dist/esm/key-e5879ef9.js +13 -0
- package/dist/esm/key-e5879ef9.js.map +1 -0
- package/dist/esm/ko-fe45b618.js +72 -0
- package/dist/esm/ko-fe45b618.js.map +1 -0
- package/dist/esm/label-0d08938c.js +176 -0
- package/dist/esm/label-0d08938c.js.map +1 -0
- package/dist/esm/loadable-d85f39c9.js +86 -0
- package/dist/esm/loadable-d85f39c9.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-06c0a36c.js +563 -0
- package/dist/esm/locale-06c0a36c.js.map +1 -0
- package/dist/esm/lt-8097d4f0.js +97 -0
- package/dist/esm/lt-8097d4f0.js.map +1 -0
- package/dist/esm/lv-e17163bc.js +66 -0
- package/dist/esm/lv-e17163bc.js.map +1 -0
- package/dist/esm/math-23599965.js +51 -0
- package/dist/esm/math-23599965.js.map +1 -0
- package/dist/esm/mk-8bf879f8.js +66 -0
- package/dist/esm/mk-8bf879f8.js.map +1 -0
- package/dist/esm/nb-8bcdfd13.js +67 -0
- package/dist/esm/nb-8bcdfd13.js.map +1 -0
- package/dist/esm/nl-4e4f88bd.js +67 -0
- package/dist/esm/nl-4e4f88bd.js.map +1 -0
- package/dist/esm/observers-473d9af3.js +48 -0
- package/dist/esm/observers-473d9af3.js.map +1 -0
- package/dist/esm/openCloseComponent-babbe81b.js +87 -0
- package/dist/esm/openCloseComponent-babbe81b.js.map +1 -0
- package/dist/esm/pl-74578bbf.js +114 -0
- package/dist/esm/pl-74578bbf.js.map +1 -0
- package/dist/esm/pt-74d25205.js +67 -0
- package/dist/esm/pt-74d25205.js.map +1 -0
- package/dist/esm/pt-br-9444b7dd.js +65 -0
- package/dist/esm/pt-br-9444b7dd.js.map +1 -0
- package/dist/esm/resources-1cc1f6cc.js +19 -0
- package/dist/esm/resources-1cc1f6cc.js.map +1 -0
- package/dist/esm/resources-9e813f2a.js +387 -0
- package/dist/esm/resources-9e813f2a.js.map +1 -0
- package/dist/esm/resources-a9f954bc.js +17 -0
- package/dist/esm/resources-a9f954bc.js.map +1 -0
- package/dist/esm/resources-b3394f92.js +45 -0
- package/dist/esm/resources-b3394f92.js.map +1 -0
- package/dist/esm/resources-d809ea6c.js +25 -0
- package/dist/esm/resources-d809ea6c.js.map +1 -0
- package/dist/esm/resources-eacb5556.js +21 -0
- package/dist/esm/resources-eacb5556.js.map +1 -0
- package/dist/esm/resources-ff24aaf8.js +23 -0
- package/dist/esm/resources-ff24aaf8.js.map +1 -0
- package/dist/esm/ro-b348c454.js +66 -0
- package/dist/esm/ro-b348c454.js.map +1 -0
- package/dist/esm/ru-6244b0a1.js +126 -0
- package/dist/esm/ru-6244b0a1.js.map +1 -0
- package/dist/esm/sk-ce73cd46.js +148 -0
- package/dist/esm/sk-ce73cd46.js.map +1 -0
- package/dist/esm/sl-ac3de93c.js +168 -0
- package/dist/esm/sl-ac3de93c.js.map +1 -0
- package/dist/esm/sortableComponent-61cf7502.js +2735 -0
- package/dist/esm/sortableComponent-61cf7502.js.map +1 -0
- package/dist/esm/sr-067978ec.js +101 -0
- package/dist/esm/sr-067978ec.js.map +1 -0
- package/dist/esm/sv-84b1a783.js +71 -0
- package/dist/esm/sv-84b1a783.js.map +1 -0
- package/dist/esm/t9n-396cc012.js +92 -0
- package/dist/esm/t9n-396cc012.js.map +1 -0
- package/dist/esm/th-b3d0621d.js +65 -0
- package/dist/esm/th-b3d0621d.js.map +1 -0
- package/dist/esm/throttle-a1b7b256.js +75 -0
- package/dist/esm/throttle-a1b7b256.js.map +1 -0
- package/dist/esm/tr-3e758aba.js +66 -0
- package/dist/esm/tr-3e758aba.js.map +1 -0
- package/dist/esm/uk-b504d22b.js +104 -0
- package/dist/esm/uk-b504d22b.js.map +1 -0
- package/dist/esm/utils-2dd3bb76.js +200 -0
- package/dist/esm/utils-2dd3bb76.js.map +1 -0
- package/dist/esm/utils-d4488723.js +289 -0
- package/dist/esm/utils-d4488723.js.map +1 -0
- package/dist/esm/vi-8dddd4db.js +70 -0
- package/dist/esm/vi-8dddd4db.js.map +1 -0
- package/dist/esm/zh-cn-5f178a0a.js +94 -0
- package/dist/esm/zh-cn-5f178a0a.js.map +1 -0
- package/dist/esm/zh-hk-19b0f47a.js +71 -0
- package/dist/esm/zh-hk-19b0f47a.js.map +1 -0
- package/dist/esm/zh-tw-621425e6.js +92 -0
- package/dist/esm/zh-tw-621425e6.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 +7 -5
- package/package.json +3 -3
- package/dist/calcite/p-004688d6.entry.js +0 -7
- package/dist/calcite/p-01848e02.entry.js +0 -7
- package/dist/calcite/p-02d1f315.entry.js +0 -7
- package/dist/calcite/p-03b4f6aa.js +0 -7
- package/dist/calcite/p-03e8f057.js +0 -7
- package/dist/calcite/p-047fe363.js +0 -7
- package/dist/calcite/p-049254fa.entry.js +0 -7
- package/dist/calcite/p-067ffcd3.js +0 -7
- package/dist/calcite/p-069f8f3c.js +0 -7
- package/dist/calcite/p-10e0bfc2.entry.js +0 -7
- package/dist/calcite/p-14429238.entry.js +0 -7
- package/dist/calcite/p-17332757.js +0 -7
- package/dist/calcite/p-1820dfab.js +0 -7
- package/dist/calcite/p-1833aea4.entry.js +0 -7
- package/dist/calcite/p-1f25c6ed.entry.js +0 -7
- package/dist/calcite/p-1f746209.js +0 -7
- package/dist/calcite/p-20482e98.js +0 -7
- package/dist/calcite/p-210f9b4e.js +0 -7
- package/dist/calcite/p-218c7bd5.entry.js +0 -7
- package/dist/calcite/p-227371ad.js +0 -7
- package/dist/calcite/p-23533296.js +0 -7
- package/dist/calcite/p-24f3fe36.js +0 -7
- package/dist/calcite/p-29579b1e.js +0 -7
- package/dist/calcite/p-2a0b3030.js +0 -7
- package/dist/calcite/p-2d543e23.js +0 -7
- package/dist/calcite/p-2d788bca.js +0 -7
- package/dist/calcite/p-2da9ab6b.js +0 -7
- package/dist/calcite/p-2ec01002.js +0 -7
- package/dist/calcite/p-2eeca072.entry.js +0 -7
- package/dist/calcite/p-2fb18800.js +0 -7
- package/dist/calcite/p-2fca2efd.entry.js +0 -7
- package/dist/calcite/p-311ecef8.js +0 -7
- package/dist/calcite/p-318fcc42.entry.js +0 -7
- package/dist/calcite/p-31c13e47.entry.js +0 -7
- package/dist/calcite/p-32e6acec.js +0 -7
- package/dist/calcite/p-337e82ea.entry.js +0 -7
- package/dist/calcite/p-3498faea.entry.js +0 -7
- package/dist/calcite/p-34f4e221.entry.js +0 -7
- package/dist/calcite/p-38e504e4.entry.js +0 -7
- package/dist/calcite/p-38e504e4.entry.js.map +0 -1
- package/dist/calcite/p-3b21ec82.js +0 -7
- package/dist/calcite/p-3b575fe8.entry.js +0 -7
- package/dist/calcite/p-3eaa7ecf.js +0 -7
- package/dist/calcite/p-3fd2db6c.js +0 -7
- package/dist/calcite/p-41e7e4f3.js +0 -7
- package/dist/calcite/p-43374aee.entry.js +0 -7
- package/dist/calcite/p-44ae97f3.entry.js +0 -7
- package/dist/calcite/p-44ae97f3.entry.js.map +0 -1
- package/dist/calcite/p-457294e2.js +0 -7
- package/dist/calcite/p-46278b58.js +0 -7
- package/dist/calcite/p-479992ab.entry.js +0 -7
- package/dist/calcite/p-479992ab.entry.js.map +0 -1
- package/dist/calcite/p-48f5867c.js +0 -7
- package/dist/calcite/p-4a7d216c.js +0 -7
- package/dist/calcite/p-4cdb70fd.entry.js +0 -7
- package/dist/calcite/p-4e164474.entry.js +0 -7
- package/dist/calcite/p-5200b68e.js +0 -7
- package/dist/calcite/p-5284cd63.js +0 -7
- package/dist/calcite/p-52a52b51.js +0 -7
- package/dist/calcite/p-52e7e187.entry.js +0 -7
- package/dist/calcite/p-52eaf043.js +0 -7
- package/dist/calcite/p-537cae0e.entry.js +0 -7
- package/dist/calcite/p-54f066c9.entry.js +0 -7
- package/dist/calcite/p-5715c8dc.js +0 -7
- package/dist/calcite/p-582c918b.js +0 -7
- package/dist/calcite/p-588428f6.entry.js +0 -7
- package/dist/calcite/p-5a1e2725.entry.js +0 -7
- package/dist/calcite/p-5a1e2725.entry.js.map +0 -1
- package/dist/calcite/p-5b04bd8b.js +0 -7
- package/dist/calcite/p-5b2ff7d1.js +0 -7
- package/dist/calcite/p-5db50e38.entry.js +0 -7
- package/dist/calcite/p-5e5d3217.js +0 -7
- package/dist/calcite/p-5fa4f150.js +0 -7
- package/dist/calcite/p-5fffc08d.js +0 -7
- package/dist/calcite/p-604d155e.js +0 -7
- package/dist/calcite/p-630c2a90.entry.js +0 -7
- package/dist/calcite/p-6605dadd.entry.js +0 -7
- package/dist/calcite/p-66ad0bc8.js +0 -7
- package/dist/calcite/p-66ad2679.js +0 -7
- package/dist/calcite/p-66d9058f.entry.js +0 -7
- package/dist/calcite/p-67e2ac4f.entry.js +0 -7
- package/dist/calcite/p-686736be.js +0 -7
- package/dist/calcite/p-697daae0.entry.js +0 -7
- package/dist/calcite/p-6ce8cda2.entry.js +0 -7
- package/dist/calcite/p-6d96332c.js +0 -7
- package/dist/calcite/p-6dafd024.entry.js +0 -7
- package/dist/calcite/p-713eb5e4.js +0 -7
- package/dist/calcite/p-79a76544.js +0 -7
- package/dist/calcite/p-7b279624.js +0 -7
- package/dist/calcite/p-7cb9a188.js +0 -7
- package/dist/calcite/p-7d72fbe4.entry.js +0 -7
- package/dist/calcite/p-806b2527.entry.js +0 -7
- package/dist/calcite/p-80a96f35.js +0 -7
- package/dist/calcite/p-80cab0a5.entry.js +0 -7
- package/dist/calcite/p-81e4bd34.entry.js +0 -7
- package/dist/calcite/p-81e4bd34.entry.js.map +0 -1
- package/dist/calcite/p-822e281a.entry.js +0 -7
- package/dist/calcite/p-85829810.entry.js +0 -7
- package/dist/calcite/p-8afa22ff.entry.js +0 -7
- package/dist/calcite/p-8cd7a84e.js +0 -7
- package/dist/calcite/p-90aff9d2.entry.js +0 -7
- package/dist/calcite/p-90c2fa80.js +0 -7
- package/dist/calcite/p-9122f134.js +0 -7
- package/dist/calcite/p-91afb7ef.entry.js +0 -7
- package/dist/calcite/p-91de3a33.entry.js +0 -7
- package/dist/calcite/p-928bd4d4.js +0 -7
- package/dist/calcite/p-936509e9.entry.js +0 -7
- package/dist/calcite/p-98862785.js +0 -7
- package/dist/calcite/p-98fac950.entry.js +0 -7
- package/dist/calcite/p-9944c283.entry.js +0 -7
- package/dist/calcite/p-9a3cbb0f.entry.js +0 -7
- package/dist/calcite/p-9a73c750.js +0 -7
- package/dist/calcite/p-9ae43621.js +0 -8
- package/dist/calcite/p-a02f1b3b.js +0 -7
- package/dist/calcite/p-a12618b0.entry.js +0 -7
- package/dist/calcite/p-a1d5a437.entry.js +0 -7
- package/dist/calcite/p-a210f82b.js +0 -7
- package/dist/calcite/p-a39c9fcf.js +0 -7
- package/dist/calcite/p-a3f33515.js +0 -7
- package/dist/calcite/p-a5068933.js +0 -7
- package/dist/calcite/p-a595da30.js +0 -7
- package/dist/calcite/p-a5a82993.entry.js +0 -7
- package/dist/calcite/p-a5d2e9e5.entry.js +0 -7
- package/dist/calcite/p-a6129fc3.entry.js +0 -7
- package/dist/calcite/p-a6c483a5.entry.js +0 -7
- package/dist/calcite/p-a84bb0a9.js +0 -7
- package/dist/calcite/p-aa7694b9.js +0 -7
- package/dist/calcite/p-ab1502cd.entry.js +0 -7
- package/dist/calcite/p-ade74f3e.entry.js +0 -7
- package/dist/calcite/p-ae8105b7.js +0 -7
- package/dist/calcite/p-ae83c99d.entry.js +0 -7
- package/dist/calcite/p-b0136d93.js +0 -13
- package/dist/calcite/p-b08d9aa8.entry.js +0 -7
- package/dist/calcite/p-b1a353c3.js +0 -7
- package/dist/calcite/p-b399eb43.js +0 -7
- package/dist/calcite/p-b428dc58.js +0 -7
- package/dist/calcite/p-b8babc46.js +0 -7
- package/dist/calcite/p-bd542796.js +0 -12
- package/dist/calcite/p-bf7725ac.entry.js +0 -7
- package/dist/calcite/p-c4f076d3.js +0 -7
- package/dist/calcite/p-c8129975.js +0 -7
- package/dist/calcite/p-cbf410a9.entry.js +0 -7
- package/dist/calcite/p-cf038b06.js +0 -7
- package/dist/calcite/p-cf056771.js +0 -7
- package/dist/calcite/p-d1609406.entry.js +0 -7
- package/dist/calcite/p-d1fe8e6e.js +0 -7
- package/dist/calcite/p-d266aa17.entry.js +0 -7
- package/dist/calcite/p-d3b32311.js +0 -7
- package/dist/calcite/p-d3d03004.entry.js +0 -7
- package/dist/calcite/p-d805dc4b.entry.js +0 -7
- package/dist/calcite/p-dab555ad.entry.js +0 -7
- package/dist/calcite/p-dbca362f.js +0 -7
- package/dist/calcite/p-dd3ea18f.js +0 -7
- package/dist/calcite/p-e103a60f.entry.js +0 -7
- package/dist/calcite/p-e385da59.js +0 -11
- package/dist/calcite/p-e70a422c.js +0 -7
- package/dist/calcite/p-e993b713.js +0 -7
- package/dist/calcite/p-e9ee2205.entry.js +0 -7
- package/dist/calcite/p-ea865e5b.js +0 -7
- package/dist/calcite/p-ef0bf040.entry.js +0 -7
- package/dist/calcite/p-f185e06a.js +0 -7
- package/dist/calcite/p-f6e63e6b.js +0 -7
- package/dist/calcite/p-f84e98bb.js +0 -7
- package/dist/calcite/p-fcecb7ea.entry.js +0 -7
- package/dist/calcite/p-fde8b61b.js +0 -7
- package/dist/cjs/ExpandToggle-966b80c2.js +0 -110
- package/dist/cjs/ExpandToggle-966b80c2.js.map +0 -1
- package/dist/cjs/FloatingArrow-20c5ed25.js +0 -49
- package/dist/cjs/FloatingArrow-20c5ed25.js.map +0 -1
- package/dist/cjs/Heading-b0b9e226.js +0 -22
- package/dist/cjs/Heading-b0b9e226.js.map +0 -1
- package/dist/cjs/Validation-a55f3505.js +0 -18
- package/dist/cjs/Validation-a55f3505.js.map +0 -1
- package/dist/cjs/app-globals-e15b488a.js +0 -61
- package/dist/cjs/app-globals-e15b488a.js.map +0 -1
- package/dist/cjs/ar-eff426be.js +0 -106
- package/dist/cjs/ar-eff426be.js.map +0 -1
- package/dist/cjs/array-50720d70.js +0 -14
- package/dist/cjs/array-50720d70.js.map +0 -1
- package/dist/cjs/bg-9ee77d93.js +0 -84
- package/dist/cjs/bg-9ee77d93.js.map +0 -1
- package/dist/cjs/browser-6ce852bf.js +0 -20
- package/dist/cjs/browser-6ce852bf.js.map +0 -1
- package/dist/cjs/bs-4fdbb696.js +0 -53
- package/dist/cjs/bs-4fdbb696.js.map +0 -1
- package/dist/cjs/ca-85d93f27.js +0 -73
- package/dist/cjs/ca-85d93f27.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-fd3eaa5b.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-fd3eaa5b.js.map +0 -1
- package/dist/cjs/component-bf756c9b.js +0 -30
- package/dist/cjs/component-bf756c9b.js.map +0 -1
- package/dist/cjs/conditionalSlot-c79972fa.js +0 -60
- package/dist/cjs/conditionalSlot-c79972fa.js.map +0 -1
- package/dist/cjs/cs-1ed47153.js +0 -149
- package/dist/cjs/cs-1ed47153.js.map +0 -1
- package/dist/cjs/da-e0e4cd62.js +0 -68
- package/dist/cjs/da-e0e4cd62.js.map +0 -1
- package/dist/cjs/de-at-d12cf085.js +0 -92
- package/dist/cjs/de-at-d12cf085.js.map +0 -1
- package/dist/cjs/de-ch-99527d43.js +0 -92
- package/dist/cjs/de-ch-99527d43.js.map +0 -1
- package/dist/cjs/de-e56e3b65.js +0 -93
- package/dist/cjs/de-e56e3b65.js.map +0 -1
- package/dist/cjs/debounce-9f42c9ae.js +0 -498
- package/dist/cjs/debounce-9f42c9ae.js.map +0 -1
- package/dist/cjs/dom-d932fba4.js +0 -1084
- package/dist/cjs/dom-d932fba4.js.map +0 -1
- package/dist/cjs/el-306f34e6.js +0 -68
- package/dist/cjs/el-306f34e6.js.map +0 -1
- package/dist/cjs/en-au-f1b0b10f.js +0 -68
- package/dist/cjs/en-au-f1b0b10f.js.map +0 -1
- package/dist/cjs/en-ca-90478ddc.js +0 -67
- package/dist/cjs/en-ca-90478ddc.js.map +0 -1
- package/dist/cjs/en-gb-6d1994aa.js +0 -71
- package/dist/cjs/en-gb-6d1994aa.js.map +0 -1
- package/dist/cjs/es-d6478d35.js +0 -68
- package/dist/cjs/es-d6478d35.js.map +0 -1
- package/dist/cjs/es-mx-7723f3ff.js +0 -67
- package/dist/cjs/es-mx-7723f3ff.js.map +0 -1
- package/dist/cjs/et-c7543a45.js +0 -94
- package/dist/cjs/et-c7543a45.js.map +0 -1
- package/dist/cjs/fi-7679164d.js +0 -117
- package/dist/cjs/fi-7679164d.js.map +0 -1
- package/dist/cjs/filter-7697d711.js +0 -762
- package/dist/cjs/filter-7697d711.js.map +0 -1
- package/dist/cjs/floating-ui-e240bf30.js +0 -1916
- package/dist/cjs/floating-ui-e240bf30.js.map +0 -1
- package/dist/cjs/focusTrapComponent-be7d4977.js +0 -1020
- package/dist/cjs/focusTrapComponent-be7d4977.js.map +0 -1
- package/dist/cjs/form-b1b105cc.js +0 -257
- package/dist/cjs/form-b1b105cc.js.map +0 -1
- package/dist/cjs/fr-15177b7f.js +0 -70
- package/dist/cjs/fr-15177b7f.js.map +0 -1
- package/dist/cjs/fr-ch-7b2d5079.js +0 -68
- package/dist/cjs/fr-ch-7b2d5079.js.map +0 -1
- package/dist/cjs/guid-a987eaa5.js +0 -23
- package/dist/cjs/guid-a987eaa5.js.map +0 -1
- package/dist/cjs/he-56b74f30.js +0 -107
- package/dist/cjs/he-56b74f30.js.map +0 -1
- package/dist/cjs/hi-676c3e14.js +0 -67
- package/dist/cjs/hi-676c3e14.js.map +0 -1
- package/dist/cjs/hr-da45b237.js +0 -82
- package/dist/cjs/hr-da45b237.js.map +0 -1
- package/dist/cjs/hu-d1a0e545.js +0 -90
- package/dist/cjs/hu-d1a0e545.js.map +0 -1
- package/dist/cjs/id-526012da.js +0 -68
- package/dist/cjs/id-526012da.js.map +0 -1
- package/dist/cjs/index-7dabc6d7.js +0 -208
- package/dist/cjs/index-7dabc6d7.js.map +0 -1
- package/dist/cjs/index-da143e9e.js +0 -2647
- package/dist/cjs/index-da143e9e.js.map +0 -1
- package/dist/cjs/index-eb9abfa3.js +0 -75
- package/dist/cjs/index-eb9abfa3.js.map +0 -1
- package/dist/cjs/interactive-012e7a4d.js +0 -144
- package/dist/cjs/interactive-012e7a4d.js.map +0 -1
- package/dist/cjs/it-9e3822f9.js +0 -68
- package/dist/cjs/it-9e3822f9.js.map +0 -1
- package/dist/cjs/it-ch-a72d244f.js +0 -68
- package/dist/cjs/it-ch-a72d244f.js.map +0 -1
- package/dist/cjs/ja-7273beba.js +0 -74
- package/dist/cjs/ja-7273beba.js.map +0 -1
- package/dist/cjs/key-b558fe12.js +0 -16
- package/dist/cjs/key-b558fe12.js.map +0 -1
- package/dist/cjs/ko-b6e651eb.js +0 -74
- package/dist/cjs/ko-b6e651eb.js.map +0 -1
- package/dist/cjs/label-d69b4b41.js +0 -183
- package/dist/cjs/label-d69b4b41.js.map +0 -1
- package/dist/cjs/loadable-6ec686cd.js +0 -91
- package/dist/cjs/loadable-6ec686cd.js.map +0 -1
- package/dist/cjs/locale-dd091567.js +0 -575
- package/dist/cjs/locale-dd091567.js.map +0 -1
- package/dist/cjs/lt-db0b2eca.js +0 -99
- package/dist/cjs/lt-db0b2eca.js.map +0 -1
- package/dist/cjs/lv-c5fc067e.js +0 -68
- package/dist/cjs/lv-c5fc067e.js.map +0 -1
- package/dist/cjs/math-da3742f2.js +0 -57
- package/dist/cjs/math-da3742f2.js.map +0 -1
- package/dist/cjs/mk-b5af8494.js +0 -68
- package/dist/cjs/mk-b5af8494.js.map +0 -1
- package/dist/cjs/nb-410a43da.js +0 -69
- package/dist/cjs/nb-410a43da.js.map +0 -1
- package/dist/cjs/nl-f3e9d181.js +0 -69
- package/dist/cjs/nl-f3e9d181.js.map +0 -1
- package/dist/cjs/observers-35a5b1f8.js +0 -50
- package/dist/cjs/observers-35a5b1f8.js.map +0 -1
- package/dist/cjs/openCloseComponent-202868ba.js +0 -89
- package/dist/cjs/openCloseComponent-202868ba.js.map +0 -1
- package/dist/cjs/pl-49dd58fc.js +0 -116
- package/dist/cjs/pl-49dd58fc.js.map +0 -1
- package/dist/cjs/pt-br-a53a7980.js +0 -67
- package/dist/cjs/pt-br-a53a7980.js.map +0 -1
- package/dist/cjs/pt-f0728e49.js +0 -69
- package/dist/cjs/pt-f0728e49.js.map +0 -1
- package/dist/cjs/resources-30354a29.js +0 -49
- package/dist/cjs/resources-30354a29.js.map +0 -1
- package/dist/cjs/resources-45fef310.js +0 -23
- package/dist/cjs/resources-45fef310.js.map +0 -1
- package/dist/cjs/resources-79a0952d.js +0 -414
- package/dist/cjs/resources-79a0952d.js.map +0 -1
- package/dist/cjs/resources-cffde757.js +0 -17
- package/dist/cjs/resources-cffde757.js.map +0 -1
- package/dist/cjs/resources-d89f2476.js +0 -29
- package/dist/cjs/resources-d89f2476.js.map +0 -1
- package/dist/cjs/resources-e0cb86ca.js +0 -26
- package/dist/cjs/resources-e0cb86ca.js.map +0 -1
- package/dist/cjs/resources-f1abdd40.js +0 -26
- package/dist/cjs/resources-f1abdd40.js.map +0 -1
- package/dist/cjs/ro-26ecca72.js +0 -68
- package/dist/cjs/ro-26ecca72.js.map +0 -1
- package/dist/cjs/ru-99da8290.js +0 -128
- package/dist/cjs/ru-99da8290.js.map +0 -1
- package/dist/cjs/sk-bfb90289.js +0 -150
- package/dist/cjs/sk-bfb90289.js.map +0 -1
- package/dist/cjs/sl-dbb31883.js +0 -170
- package/dist/cjs/sl-dbb31883.js.map +0 -1
- package/dist/cjs/sortableComponent-06a9898a.js +0 -2739
- package/dist/cjs/sortableComponent-06a9898a.js.map +0 -1
- package/dist/cjs/sr-33badd41.js +0 -103
- package/dist/cjs/sr-33badd41.js.map +0 -1
- package/dist/cjs/sv-aba493c3.js +0 -73
- package/dist/cjs/sv-aba493c3.js.map +0 -1
- package/dist/cjs/t9n-610613ad.js +0 -97
- package/dist/cjs/t9n-610613ad.js.map +0 -1
- package/dist/cjs/th-8b938653.js +0 -67
- package/dist/cjs/th-8b938653.js.map +0 -1
- package/dist/cjs/throttle-ba6c491b.js +0 -77
- package/dist/cjs/throttle-ba6c491b.js.map +0 -1
- package/dist/cjs/tr-e4b70547.js +0 -68
- package/dist/cjs/tr-e4b70547.js.map +0 -1
- package/dist/cjs/uk-52d49917.js +0 -106
- package/dist/cjs/uk-52d49917.js.map +0 -1
- package/dist/cjs/utils-bd639887.js +0 -218
- package/dist/cjs/utils-bd639887.js.map +0 -1
- package/dist/cjs/utils-d542396e.js +0 -307
- package/dist/cjs/utils-d542396e.js.map +0 -1
- package/dist/cjs/vi-f1c2392b.js +0 -72
- package/dist/cjs/vi-f1c2392b.js.map +0 -1
- package/dist/cjs/zh-cn-e119e82c.js +0 -96
- package/dist/cjs/zh-cn-e119e82c.js.map +0 -1
- package/dist/cjs/zh-hk-37cc5d30.js +0 -73
- package/dist/cjs/zh-hk-37cc5d30.js.map +0 -1
- package/dist/cjs/zh-tw-a91fa8eb.js +0 -94
- package/dist/cjs/zh-tw-a91fa8eb.js.map +0 -1
- package/dist/esm/ExpandToggle-6754e17e.js +0 -102
- package/dist/esm/ExpandToggle-6754e17e.js.map +0 -1
- package/dist/esm/FloatingArrow-3da5f73c.js +0 -47
- package/dist/esm/FloatingArrow-3da5f73c.js.map +0 -1
- package/dist/esm/Heading-b55c8b4f.js +0 -19
- package/dist/esm/Heading-b55c8b4f.js.map +0 -1
- package/dist/esm/Validation-42e613d9.js +0 -16
- package/dist/esm/Validation-42e613d9.js.map +0 -1
- package/dist/esm/app-globals-db1ff576.js +0 -59
- package/dist/esm/app-globals-db1ff576.js.map +0 -1
- package/dist/esm/ar-56f79df8.js +0 -104
- package/dist/esm/ar-56f79df8.js.map +0 -1
- package/dist/esm/array-e1e5c23d.js +0 -12
- package/dist/esm/array-e1e5c23d.js.map +0 -1
- package/dist/esm/bg-f633c822.js +0 -82
- package/dist/esm/bg-f633c822.js.map +0 -1
- package/dist/esm/browser-a896806d.js +0 -18
- package/dist/esm/browser-a896806d.js.map +0 -1
- package/dist/esm/bs-f52e5bca.js +0 -51
- package/dist/esm/bs-f52e5bca.js.map +0 -1
- package/dist/esm/ca-d9b95ea5.js +0 -71
- package/dist/esm/ca-d9b95ea5.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-25b4dc04.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-25b4dc04.js.map +0 -1
- package/dist/esm/component-0ba54587.js +0 -27
- package/dist/esm/component-0ba54587.js.map +0 -1
- package/dist/esm/conditionalSlot-f037f782.js +0 -57
- package/dist/esm/conditionalSlot-f037f782.js.map +0 -1
- package/dist/esm/cs-35919ccd.js +0 -147
- package/dist/esm/cs-35919ccd.js.map +0 -1
- package/dist/esm/da-21d70829.js +0 -66
- package/dist/esm/da-21d70829.js.map +0 -1
- package/dist/esm/de-6a0f4848.js +0 -91
- package/dist/esm/de-6a0f4848.js.map +0 -1
- package/dist/esm/de-at-5edd41fa.js +0 -90
- package/dist/esm/de-at-5edd41fa.js.map +0 -1
- package/dist/esm/de-ch-72f50954.js +0 -90
- package/dist/esm/de-ch-72f50954.js.map +0 -1
- package/dist/esm/debounce-7c01849a.js +0 -489
- package/dist/esm/debounce-7c01849a.js.map +0 -1
- package/dist/esm/dom-f69bbb61.js +0 -1053
- package/dist/esm/dom-f69bbb61.js.map +0 -1
- package/dist/esm/el-e269f8a8.js +0 -66
- package/dist/esm/el-e269f8a8.js.map +0 -1
- package/dist/esm/en-au-0794d1df.js +0 -66
- package/dist/esm/en-au-0794d1df.js.map +0 -1
- package/dist/esm/en-ca-c903cfe8.js +0 -65
- package/dist/esm/en-ca-c903cfe8.js.map +0 -1
- package/dist/esm/en-gb-c3ce8103.js +0 -69
- package/dist/esm/en-gb-c3ce8103.js.map +0 -1
- package/dist/esm/es-27df3361.js +0 -66
- package/dist/esm/es-27df3361.js.map +0 -1
- package/dist/esm/es-mx-1410a3e9.js +0 -65
- package/dist/esm/es-mx-1410a3e9.js.map +0 -1
- package/dist/esm/et-224d2e79.js +0 -92
- package/dist/esm/et-224d2e79.js.map +0 -1
- package/dist/esm/fi-b8015b57.js +0 -115
- package/dist/esm/fi-b8015b57.js.map +0 -1
- package/dist/esm/filter-48ef8a0e.js +0 -760
- package/dist/esm/filter-48ef8a0e.js.map +0 -1
- package/dist/esm/floating-ui-b05a95fb.js +0 -1908
- package/dist/esm/floating-ui-b05a95fb.js.map +0 -1
- package/dist/esm/focusTrapComponent-b380529f.js +0 -1015
- package/dist/esm/focusTrapComponent-b380529f.js.map +0 -1
- package/dist/esm/form-902f13d4.js +0 -249
- package/dist/esm/form-902f13d4.js.map +0 -1
- package/dist/esm/fr-238bb3e6.js +0 -68
- package/dist/esm/fr-238bb3e6.js.map +0 -1
- package/dist/esm/fr-ch-7da01f5e.js +0 -66
- package/dist/esm/fr-ch-7da01f5e.js.map +0 -1
- package/dist/esm/guid-4abbf96e.js +0 -21
- package/dist/esm/guid-4abbf96e.js.map +0 -1
- package/dist/esm/he-74e28ca7.js +0 -105
- package/dist/esm/he-74e28ca7.js.map +0 -1
- package/dist/esm/hi-8925a01f.js +0 -65
- package/dist/esm/hi-8925a01f.js.map +0 -1
- package/dist/esm/hr-7aa22a9c.js +0 -80
- package/dist/esm/hr-7aa22a9c.js.map +0 -1
- package/dist/esm/hu-a1062277.js +0 -88
- package/dist/esm/hu-a1062277.js.map +0 -1
- package/dist/esm/id-4bd880b1.js +0 -66
- package/dist/esm/id-4bd880b1.js.map +0 -1
- package/dist/esm/index-9725f461.js +0 -206
- package/dist/esm/index-9725f461.js.map +0 -1
- package/dist/esm/index-9da65ce8.js +0 -73
- package/dist/esm/index-9da65ce8.js.map +0 -1
- package/dist/esm/index-e79f2756.js +0 -2612
- package/dist/esm/index-e79f2756.js.map +0 -1
- package/dist/esm/interactive-839eca25.js +0 -139
- package/dist/esm/interactive-839eca25.js.map +0 -1
- package/dist/esm/it-3dec61a2.js +0 -66
- package/dist/esm/it-3dec61a2.js.map +0 -1
- package/dist/esm/it-ch-8baad687.js +0 -66
- package/dist/esm/it-ch-8baad687.js.map +0 -1
- package/dist/esm/ja-87f1907a.js +0 -72
- package/dist/esm/ja-87f1907a.js.map +0 -1
- package/dist/esm/key-1c09d60f.js +0 -13
- package/dist/esm/key-1c09d60f.js.map +0 -1
- package/dist/esm/ko-82af0d46.js +0 -72
- package/dist/esm/ko-82af0d46.js.map +0 -1
- package/dist/esm/label-5ca45f3e.js +0 -176
- package/dist/esm/label-5ca45f3e.js.map +0 -1
- package/dist/esm/loadable-c0b59038.js +0 -86
- package/dist/esm/loadable-c0b59038.js.map +0 -1
- package/dist/esm/locale-0556d458.js +0 -563
- package/dist/esm/locale-0556d458.js.map +0 -1
- package/dist/esm/lt-0be1409a.js +0 -97
- package/dist/esm/lt-0be1409a.js.map +0 -1
- package/dist/esm/lv-c690ae22.js +0 -66
- package/dist/esm/lv-c690ae22.js.map +0 -1
- package/dist/esm/math-199116ad.js +0 -51
- package/dist/esm/math-199116ad.js.map +0 -1
- package/dist/esm/mk-3e97a5ab.js +0 -66
- package/dist/esm/mk-3e97a5ab.js.map +0 -1
- package/dist/esm/nb-ae308826.js +0 -67
- package/dist/esm/nb-ae308826.js.map +0 -1
- package/dist/esm/nl-77dd67a0.js +0 -67
- package/dist/esm/nl-77dd67a0.js.map +0 -1
- package/dist/esm/observers-65746297.js +0 -48
- package/dist/esm/observers-65746297.js.map +0 -1
- package/dist/esm/openCloseComponent-f594b3fd.js +0 -87
- package/dist/esm/openCloseComponent-f594b3fd.js.map +0 -1
- package/dist/esm/pl-f414b7c7.js +0 -114
- package/dist/esm/pl-f414b7c7.js.map +0 -1
- package/dist/esm/pt-89f49ab5.js +0 -67
- package/dist/esm/pt-89f49ab5.js.map +0 -1
- package/dist/esm/pt-br-db82e04a.js +0 -65
- package/dist/esm/pt-br-db82e04a.js.map +0 -1
- package/dist/esm/resources-0c45938b.js +0 -17
- package/dist/esm/resources-0c45938b.js.map +0 -1
- package/dist/esm/resources-122aabf6.js +0 -25
- package/dist/esm/resources-122aabf6.js.map +0 -1
- package/dist/esm/resources-78ac3614.js +0 -21
- package/dist/esm/resources-78ac3614.js.map +0 -1
- package/dist/esm/resources-b8f72797.js +0 -19
- package/dist/esm/resources-b8f72797.js.map +0 -1
- package/dist/esm/resources-cb3810da.js +0 -23
- package/dist/esm/resources-cb3810da.js.map +0 -1
- package/dist/esm/resources-dcf58a1f.js +0 -387
- package/dist/esm/resources-dcf58a1f.js.map +0 -1
- package/dist/esm/resources-e4db5deb.js +0 -45
- package/dist/esm/resources-e4db5deb.js.map +0 -1
- package/dist/esm/ro-4aa026f8.js +0 -66
- package/dist/esm/ro-4aa026f8.js.map +0 -1
- package/dist/esm/ru-8a3b5fc6.js +0 -126
- package/dist/esm/ru-8a3b5fc6.js.map +0 -1
- package/dist/esm/sk-3141978f.js +0 -148
- package/dist/esm/sk-3141978f.js.map +0 -1
- package/dist/esm/sl-aefc9da9.js +0 -168
- package/dist/esm/sl-aefc9da9.js.map +0 -1
- package/dist/esm/sortableComponent-fda9827d.js +0 -2735
- package/dist/esm/sortableComponent-fda9827d.js.map +0 -1
- package/dist/esm/sr-b477ad51.js +0 -101
- package/dist/esm/sr-b477ad51.js.map +0 -1
- package/dist/esm/sv-dafab6f5.js +0 -71
- package/dist/esm/sv-dafab6f5.js.map +0 -1
- package/dist/esm/t9n-1b6bcb63.js +0 -92
- package/dist/esm/t9n-1b6bcb63.js.map +0 -1
- package/dist/esm/th-e51802a8.js +0 -65
- package/dist/esm/th-e51802a8.js.map +0 -1
- package/dist/esm/throttle-ec818da9.js +0 -75
- package/dist/esm/throttle-ec818da9.js.map +0 -1
- package/dist/esm/tr-52bb6514.js +0 -66
- package/dist/esm/tr-52bb6514.js.map +0 -1
- package/dist/esm/uk-a6adb463.js +0 -104
- package/dist/esm/uk-a6adb463.js.map +0 -1
- package/dist/esm/utils-b32d7c79.js +0 -289
- package/dist/esm/utils-b32d7c79.js.map +0 -1
- package/dist/esm/utils-badf666f.js +0 -200
- package/dist/esm/utils-badf666f.js.map +0 -1
- package/dist/esm/vi-545ad43a.js +0 -70
- package/dist/esm/vi-545ad43a.js.map +0 -1
- package/dist/esm/zh-cn-834e8e7a.js +0 -94
- package/dist/esm/zh-cn-834e8e7a.js.map +0 -1
- package/dist/esm/zh-hk-9f7cbfe7.js +0 -71
- package/dist/esm/zh-hk-9f7cbfe7.js.map +0 -1
- package/dist/esm/zh-tw-e46f5ce5.js +0 -92
- package/dist/esm/zh-tw-e46f5ce5.js.map +0 -1
- /package/dist/calcite/{p-cf056771.js.map → p-003ca0f3.js.map} +0 -0
- /package/dist/calcite/{p-d805dc4b.entry.js.map → p-0147c6f7.entry.js.map} +0 -0
- /package/dist/calcite/{p-31c13e47.entry.js.map → p-02458357.entry.js.map} +0 -0
- /package/dist/calcite/{p-ef0bf040.entry.js.map → p-03e71304.entry.js.map} +0 -0
- /package/dist/calcite/{p-66d9058f.entry.js.map → p-0831819b.entry.js.map} +0 -0
- /package/dist/calcite/{p-46278b58.js.map → p-0de2a651.js.map} +0 -0
- /package/dist/calcite/{p-a6129fc3.entry.js.map → p-0f356712.entry.js.map} +0 -0
- /package/dist/calcite/{p-03e8f057.js.map → p-0f64aea9.js.map} +0 -0
- /package/dist/calcite/{p-5db50e38.entry.js.map → p-130cf3df.entry.js.map} +0 -0
- /package/dist/calcite/{p-588428f6.entry.js.map → p-134f54bf.entry.js.map} +0 -0
- /package/dist/calcite/{p-1820dfab.js.map → p-14f38eac.js.map} +0 -0
- /package/dist/calcite/{p-630c2a90.entry.js.map → p-158fbf06.entry.js.map} +0 -0
- /package/dist/calcite/{p-80a96f35.js.map → p-15a931c2.js.map} +0 -0
- /package/dist/calcite/{p-4e164474.entry.js.map → p-18fe9d9f.entry.js.map} +0 -0
- /package/dist/calcite/{p-b0136d93.js.map → p-1a7be884.js.map} +0 -0
- /package/dist/calcite/{p-52a52b51.js.map → p-1abd7d95.js.map} +0 -0
- /package/dist/calcite/{p-fde8b61b.js.map → p-1c40411d.js.map} +0 -0
- /package/dist/calcite/{p-8cd7a84e.js.map → p-1d2d14f7.js.map} +0 -0
- /package/dist/calcite/{p-29579b1e.js.map → p-1e034848.js.map} +0 -0
- /package/dist/calcite/{p-cbf410a9.entry.js.map → p-1f4f0978.entry.js.map} +0 -0
- /package/dist/calcite/{p-52e7e187.entry.js.map → p-211bf0aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-90aff9d2.entry.js.map → p-211c55f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-91de3a33.entry.js.map → p-22cd60dc.entry.js.map} +0 -0
- /package/dist/calcite/{p-85829810.entry.js.map → p-22d0e71c.entry.js.map} +0 -0
- /package/dist/calcite/{p-5fa4f150.js.map → p-26b5ebc3.js.map} +0 -0
- /package/dist/calcite/{p-6ce8cda2.entry.js.map → p-27a333ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-457294e2.js.map → p-2897690e.js.map} +0 -0
- /package/dist/calcite/{p-3eaa7ecf.js.map → p-2c92d55b.js.map} +0 -0
- /package/dist/calcite/{p-537cae0e.entry.js.map → p-2cd07cf1.entry.js.map} +0 -0
- /package/dist/calcite/{p-e9ee2205.entry.js.map → p-2cf923a1.entry.js.map} +0 -0
- /package/dist/calcite/{p-d1fe8e6e.js.map → p-2f9ada20.js.map} +0 -0
- /package/dist/calcite/{p-d266aa17.entry.js.map → p-35daea60.entry.js.map} +0 -0
- /package/dist/calcite/{p-34f4e221.entry.js.map → p-3aa037b8.entry.js.map} +0 -0
- /package/dist/calcite/{p-2fb18800.js.map → p-3d14171e.js.map} +0 -0
- /package/dist/calcite/{p-c8129975.js.map → p-3d6050cc.js.map} +0 -0
- /package/dist/calcite/{p-5200b68e.js.map → p-3f5b8310.js.map} +0 -0
- /package/dist/calcite/{p-806b2527.entry.js.map → p-3fbbb013.entry.js.map} +0 -0
- /package/dist/calcite/{p-dbca362f.js.map → p-4078dbb9.js.map} +0 -0
- /package/dist/calcite/{p-79a76544.js.map → p-42d57183.js.map} +0 -0
- /package/dist/calcite/{p-41e7e4f3.js.map → p-440147ae.js.map} +0 -0
- /package/dist/calcite/{p-bd542796.js.map → p-45a2710e.js.map} +0 -0
- /package/dist/calcite/{p-5b2ff7d1.js.map → p-46aa9fd5.js.map} +0 -0
- /package/dist/calcite/{p-ea865e5b.js.map → p-49630957.js.map} +0 -0
- /package/dist/calcite/{p-1f25c6ed.entry.js.map → p-4c5be3a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-047fe363.js.map → p-4f0af5b6.js.map} +0 -0
- /package/dist/calcite/{p-48f5867c.js.map → p-53a58d9c.js.map} +0 -0
- /package/dist/calcite/{p-7b279624.js.map → p-54658226.js.map} +0 -0
- /package/dist/calcite/{p-dd3ea18f.js.map → p-5584db37.js.map} +0 -0
- /package/dist/calcite/{p-ab1502cd.entry.js.map → p-5692fc28.entry.js.map} +0 -0
- /package/dist/calcite/{p-928bd4d4.js.map → p-59f2a26a.js.map} +0 -0
- /package/dist/calcite/{p-936509e9.entry.js.map → p-5d018e37.entry.js.map} +0 -0
- /package/dist/calcite/{p-e103a60f.entry.js.map → p-5e6ed7fc.entry.js.map} +0 -0
- /package/dist/calcite/{p-20482e98.js.map → p-5f6d09bb.js.map} +0 -0
- /package/dist/calcite/{p-14429238.entry.js.map → p-5f864b8a.entry.js.map} +0 -0
- /package/dist/calcite/{p-5e5d3217.js.map → p-5f9b3359.js.map} +0 -0
- /package/dist/calcite/{p-b8babc46.js.map → p-62afe875.js.map} +0 -0
- /package/dist/calcite/{p-6605dadd.entry.js.map → p-66dec48a.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a0b3030.js.map → p-6a6126d9.js.map} +0 -0
- /package/dist/calcite/{p-3498faea.entry.js.map → p-6bdc50f3.entry.js.map} +0 -0
- /package/dist/calcite/{p-d1609406.entry.js.map → p-6c188b2d.entry.js.map} +0 -0
- /package/dist/calcite/{p-227371ad.js.map → p-705ec6ff.js.map} +0 -0
- /package/dist/calcite/{p-2da9ab6b.js.map → p-77fc8314.js.map} +0 -0
- /package/dist/calcite/{p-822e281a.entry.js.map → p-782184a2.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b575fe8.entry.js.map → p-797254a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-3fd2db6c.js.map → p-79c02fee.js.map} +0 -0
- /package/dist/calcite/{p-b1a353c3.js.map → p-7c4fe654.js.map} +0 -0
- /package/dist/calcite/{p-bf7725ac.entry.js.map → p-7e85e753.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ae43621.js.map → p-7f125972.js.map} +0 -0
- /package/dist/calcite/{p-004688d6.entry.js.map → p-7fa05a35.entry.js.map} +0 -0
- /package/dist/calcite/{p-2ec01002.js.map → p-8098ac71.js.map} +0 -0
- /package/dist/calcite/{p-2eeca072.entry.js.map → p-80d2a6e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-a1d5a437.entry.js.map → p-82d2693e.entry.js.map} +0 -0
- /package/dist/calcite/{p-5715c8dc.js.map → p-82dd6896.js.map} +0 -0
- /package/dist/calcite/{p-a595da30.js.map → p-835ab73d.js.map} +0 -0
- /package/dist/calcite/{p-049254fa.entry.js.map → p-86b76b8c.entry.js.map} +0 -0
- /package/dist/calcite/{p-67e2ac4f.entry.js.map → p-886befa9.entry.js.map} +0 -0
- /package/dist/calcite/{p-5fffc08d.js.map → p-8aba18a4.js.map} +0 -0
- /package/dist/calcite/{p-7d72fbe4.entry.js.map → p-8b9de6d9.entry.js.map} +0 -0
- /package/dist/calcite/{p-b08d9aa8.entry.js.map → p-8d106c74.entry.js.map} +0 -0
- /package/dist/calcite/{p-4cdb70fd.entry.js.map → p-8e691781.entry.js.map} +0 -0
- /package/dist/calcite/{p-1f746209.js.map → p-90f83cb9.js.map} +0 -0
- /package/dist/calcite/{p-e993b713.js.map → p-91d3a97a.js.map} +0 -0
- /package/dist/calcite/{p-f84e98bb.js.map → p-9402d09f.js.map} +0 -0
- /package/dist/calcite/{p-5b04bd8b.js.map → p-9610a634.js.map} +0 -0
- /package/dist/calcite/{p-582c918b.js.map → p-98645f51.js.map} +0 -0
- /package/dist/calcite/{p-9122f134.js.map → p-98872134.js.map} +0 -0
- /package/dist/calcite/{p-697daae0.entry.js.map → p-9be7d232.entry.js.map} +0 -0
- /package/dist/calcite/{p-d3b32311.js.map → p-9d793473.js.map} +0 -0
- /package/dist/calcite/{p-cf038b06.js.map → p-a15674ad.js.map} +0 -0
- /package/dist/calcite/{p-b428dc58.js.map → p-a159b523.js.map} +0 -0
- /package/dist/calcite/{p-067ffcd3.js.map → p-a177e98d.js.map} +0 -0
- /package/dist/calcite/{p-4a7d216c.js.map → p-a2ab03b5.js.map} +0 -0
- /package/dist/calcite/{p-10e0bfc2.entry.js.map → p-a3ba09ec.entry.js.map} +0 -0
- /package/dist/calcite/{p-02d1f315.entry.js.map → p-a4f3d084.entry.js.map} +0 -0
- /package/dist/calcite/{p-a3f33515.js.map → p-a68f11a7.js.map} +0 -0
- /package/dist/calcite/{p-23533296.js.map → p-a6f376c8.js.map} +0 -0
- /package/dist/calcite/{p-318fcc42.entry.js.map → p-a73f6b83.entry.js.map} +0 -0
- /package/dist/calcite/{p-f185e06a.js.map → p-a9aa33b0.js.map} +0 -0
- /package/dist/calcite/{p-a5068933.js.map → p-ab352017.js.map} +0 -0
- /package/dist/calcite/{p-686736be.js.map → p-ae8651e0.js.map} +0 -0
- /package/dist/calcite/{p-8afa22ff.entry.js.map → p-af622206.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae8105b7.js.map → p-afb156ef.js.map} +0 -0
- /package/dist/calcite/{p-d3d03004.entry.js.map → p-b208ecb0.entry.js.map} +0 -0
- /package/dist/calcite/{p-713eb5e4.js.map → p-b6465955.js.map} +0 -0
- /package/dist/calcite/{p-9a3cbb0f.entry.js.map → p-b6f054d2.entry.js.map} +0 -0
- /package/dist/calcite/{p-91afb7ef.entry.js.map → p-b9d31cbe.entry.js.map} +0 -0
- /package/dist/calcite/{p-98862785.js.map → p-ba0ad3cb.js.map} +0 -0
- /package/dist/calcite/{p-24f3fe36.js.map → p-bbf0b7bf.js.map} +0 -0
- /package/dist/calcite/{p-2fca2efd.entry.js.map → p-be5ee253.entry.js.map} +0 -0
- /package/dist/calcite/{p-a02f1b3b.js.map → p-beabd92d.js.map} +0 -0
- /package/dist/calcite/{p-aa7694b9.js.map → p-c3c81b16.js.map} +0 -0
- /package/dist/calcite/{p-ade74f3e.entry.js.map → p-c564f3df.entry.js.map} +0 -0
- /package/dist/calcite/{p-66ad0bc8.js.map → p-c5d20a3c.js.map} +0 -0
- /package/dist/calcite/{p-a39c9fcf.js.map → p-c71e3c45.js.map} +0 -0
- /package/dist/calcite/{p-2d543e23.js.map → p-c791d921.js.map} +0 -0
- /package/dist/calcite/{p-a6c483a5.entry.js.map → p-c955b966.entry.js.map} +0 -0
- /package/dist/calcite/{p-7cb9a188.js.map → p-ca7e2141.js.map} +0 -0
- /package/dist/calcite/{p-b399eb43.js.map → p-cbd5152a.js.map} +0 -0
- /package/dist/calcite/{p-ae83c99d.entry.js.map → p-cc3cd8a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-f6e63e6b.js.map → p-cd3b4156.js.map} +0 -0
- /package/dist/calcite/{p-66ad2679.js.map → p-cf067db4.js.map} +0 -0
- /package/dist/calcite/{p-e70a422c.js.map → p-cf3ad5bd.js.map} +0 -0
- /package/dist/calcite/{p-a5a82993.entry.js.map → p-cfbda139.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d788bca.js.map → p-d05f6cd5.js.map} +0 -0
- /package/dist/calcite/{p-9a73c750.js.map → p-d218023a.js.map} +0 -0
- /package/dist/calcite/{p-210f9b4e.js.map → p-d2c65e0b.js.map} +0 -0
- /package/dist/calcite/{p-01848e02.entry.js.map → p-d2f61d21.entry.js.map} +0 -0
- /package/dist/calcite/{p-98fac950.entry.js.map → p-d45a0e1b.entry.js.map} +0 -0
- /package/dist/calcite/{p-90c2fa80.js.map → p-d4ba102f.js.map} +0 -0
- /package/dist/calcite/{p-1833aea4.entry.js.map → p-d5a7de52.entry.js.map} +0 -0
- /package/dist/calcite/{p-80cab0a5.entry.js.map → p-d6d623ac.entry.js.map} +0 -0
- /package/dist/calcite/{p-311ecef8.js.map → p-dd4fc754.js.map} +0 -0
- /package/dist/calcite/{p-54f066c9.entry.js.map → p-de442a9c.entry.js.map} +0 -0
- /package/dist/calcite/{p-52eaf043.js.map → p-df766122.js.map} +0 -0
- /package/dist/calcite/{p-e385da59.js.map → p-dfd01370.js.map} +0 -0
- /package/dist/calcite/{p-32e6acec.js.map → p-e30438ff.js.map} +0 -0
- /package/dist/calcite/{p-9944c283.entry.js.map → p-e605624d.entry.js.map} +0 -0
- /package/dist/calcite/{p-a12618b0.entry.js.map → p-e84374ce.entry.js.map} +0 -0
- /package/dist/calcite/{p-604d155e.js.map → p-ec54aec5.js.map} +0 -0
- /package/dist/calcite/{p-a5d2e9e5.entry.js.map → p-ecb8bcb9.entry.js.map} +0 -0
- /package/dist/calcite/{p-43374aee.entry.js.map → p-ee26a44c.entry.js.map} +0 -0
- /package/dist/calcite/{p-6dafd024.entry.js.map → p-ee7c627c.entry.js.map} +0 -0
- /package/dist/calcite/{p-6d96332c.js.map → p-efb11a3a.js.map} +0 -0
- /package/dist/calcite/{p-fcecb7ea.entry.js.map → p-f382c5cb.entry.js.map} +0 -0
- /package/dist/calcite/{p-dab555ad.entry.js.map → p-f3bd8190.entry.js.map} +0 -0
- /package/dist/calcite/{p-069f8f3c.js.map → p-f48b9584.js.map} +0 -0
- /package/dist/calcite/{p-5284cd63.js.map → p-f4de0feb.js.map} +0 -0
- /package/dist/calcite/{p-a210f82b.js.map → p-f7bea0da.js.map} +0 -0
- /package/dist/calcite/{p-a84bb0a9.js.map → p-f8251642.js.map} +0 -0
- /package/dist/calcite/{p-03b4f6aa.js.map → p-fa43461d.js.map} +0 -0
- /package/dist/calcite/{p-337e82ea.entry.js.map → p-fa52350d.entry.js.map} +0 -0
- /package/dist/calcite/{p-17332757.js.map → p-fcf2ba73.js.map} +0 -0
- /package/dist/calcite/{p-218c7bd5.entry.js.map → p-fd1b1de1.entry.js.map} +0 -0
- /package/dist/calcite/{p-c4f076d3.js.map → p-fda4c45c.js.map} +0 -0
- /package/dist/calcite/{p-3b21ec82.js.map → p-ff72942c.js.map} +0 -0
|
@@ -0,0 +1,1908 @@
|
|
|
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.2
|
|
5
|
+
*/
|
|
6
|
+
import { g as getElementDir } from './dom-168a47e4.js';
|
|
7
|
+
import { d as debounce } from './debounce-b9ba4f70.js';
|
|
8
|
+
|
|
9
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
10
|
+
const alignments = ['start', 'end'];
|
|
11
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
12
|
+
const min = Math.min;
|
|
13
|
+
const max = Math.max;
|
|
14
|
+
const round = Math.round;
|
|
15
|
+
const floor = Math.floor;
|
|
16
|
+
const createCoords = v => ({
|
|
17
|
+
x: v,
|
|
18
|
+
y: v
|
|
19
|
+
});
|
|
20
|
+
const oppositeSideMap = {
|
|
21
|
+
left: 'right',
|
|
22
|
+
right: 'left',
|
|
23
|
+
bottom: 'top',
|
|
24
|
+
top: 'bottom'
|
|
25
|
+
};
|
|
26
|
+
const oppositeAlignmentMap = {
|
|
27
|
+
start: 'end',
|
|
28
|
+
end: 'start'
|
|
29
|
+
};
|
|
30
|
+
function clamp(start, value, end) {
|
|
31
|
+
return max(start, min(value, end));
|
|
32
|
+
}
|
|
33
|
+
function evaluate(value, param) {
|
|
34
|
+
return typeof value === 'function' ? value(param) : value;
|
|
35
|
+
}
|
|
36
|
+
function getSide(placement) {
|
|
37
|
+
return placement.split('-')[0];
|
|
38
|
+
}
|
|
39
|
+
function getAlignment(placement) {
|
|
40
|
+
return placement.split('-')[1];
|
|
41
|
+
}
|
|
42
|
+
function getOppositeAxis(axis) {
|
|
43
|
+
return axis === 'x' ? 'y' : 'x';
|
|
44
|
+
}
|
|
45
|
+
function getAxisLength(axis) {
|
|
46
|
+
return axis === 'y' ? 'height' : 'width';
|
|
47
|
+
}
|
|
48
|
+
function getSideAxis(placement) {
|
|
49
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
50
|
+
}
|
|
51
|
+
function getAlignmentAxis(placement) {
|
|
52
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
53
|
+
}
|
|
54
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
55
|
+
if (rtl === void 0) {
|
|
56
|
+
rtl = false;
|
|
57
|
+
}
|
|
58
|
+
const alignment = getAlignment(placement);
|
|
59
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
60
|
+
const length = getAxisLength(alignmentAxis);
|
|
61
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
62
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
63
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
64
|
+
}
|
|
65
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
66
|
+
}
|
|
67
|
+
function getExpandedPlacements(placement) {
|
|
68
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
69
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
70
|
+
}
|
|
71
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
72
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
73
|
+
}
|
|
74
|
+
function getSideList(side, isStart, rtl) {
|
|
75
|
+
const lr = ['left', 'right'];
|
|
76
|
+
const rl = ['right', 'left'];
|
|
77
|
+
const tb = ['top', 'bottom'];
|
|
78
|
+
const bt = ['bottom', 'top'];
|
|
79
|
+
switch (side) {
|
|
80
|
+
case 'top':
|
|
81
|
+
case 'bottom':
|
|
82
|
+
if (rtl) return isStart ? rl : lr;
|
|
83
|
+
return isStart ? lr : rl;
|
|
84
|
+
case 'left':
|
|
85
|
+
case 'right':
|
|
86
|
+
return isStart ? tb : bt;
|
|
87
|
+
default:
|
|
88
|
+
return [];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
92
|
+
const alignment = getAlignment(placement);
|
|
93
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
94
|
+
if (alignment) {
|
|
95
|
+
list = list.map(side => side + "-" + alignment);
|
|
96
|
+
if (flipAlignment) {
|
|
97
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return list;
|
|
101
|
+
}
|
|
102
|
+
function getOppositePlacement(placement) {
|
|
103
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
104
|
+
}
|
|
105
|
+
function expandPaddingObject(padding) {
|
|
106
|
+
return {
|
|
107
|
+
top: 0,
|
|
108
|
+
right: 0,
|
|
109
|
+
bottom: 0,
|
|
110
|
+
left: 0,
|
|
111
|
+
...padding
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function getPaddingObject(padding) {
|
|
115
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
116
|
+
top: padding,
|
|
117
|
+
right: padding,
|
|
118
|
+
bottom: padding,
|
|
119
|
+
left: padding
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function rectToClientRect(rect) {
|
|
123
|
+
return {
|
|
124
|
+
...rect,
|
|
125
|
+
top: rect.y,
|
|
126
|
+
left: rect.x,
|
|
127
|
+
right: rect.x + rect.width,
|
|
128
|
+
bottom: rect.y + rect.height
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
133
|
+
let {
|
|
134
|
+
reference,
|
|
135
|
+
floating
|
|
136
|
+
} = _ref;
|
|
137
|
+
const sideAxis = getSideAxis(placement);
|
|
138
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
139
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
140
|
+
const side = getSide(placement);
|
|
141
|
+
const isVertical = sideAxis === 'y';
|
|
142
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
143
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
144
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
145
|
+
let coords;
|
|
146
|
+
switch (side) {
|
|
147
|
+
case 'top':
|
|
148
|
+
coords = {
|
|
149
|
+
x: commonX,
|
|
150
|
+
y: reference.y - floating.height
|
|
151
|
+
};
|
|
152
|
+
break;
|
|
153
|
+
case 'bottom':
|
|
154
|
+
coords = {
|
|
155
|
+
x: commonX,
|
|
156
|
+
y: reference.y + reference.height
|
|
157
|
+
};
|
|
158
|
+
break;
|
|
159
|
+
case 'right':
|
|
160
|
+
coords = {
|
|
161
|
+
x: reference.x + reference.width,
|
|
162
|
+
y: commonY
|
|
163
|
+
};
|
|
164
|
+
break;
|
|
165
|
+
case 'left':
|
|
166
|
+
coords = {
|
|
167
|
+
x: reference.x - floating.width,
|
|
168
|
+
y: commonY
|
|
169
|
+
};
|
|
170
|
+
break;
|
|
171
|
+
default:
|
|
172
|
+
coords = {
|
|
173
|
+
x: reference.x,
|
|
174
|
+
y: reference.y
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
switch (getAlignment(placement)) {
|
|
178
|
+
case 'start':
|
|
179
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
180
|
+
break;
|
|
181
|
+
case 'end':
|
|
182
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
return coords;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
190
|
+
* next to a reference element when it is given a certain positioning strategy.
|
|
191
|
+
*
|
|
192
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
193
|
+
* write one for the platform you are using Floating UI with.
|
|
194
|
+
*/
|
|
195
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
196
|
+
const {
|
|
197
|
+
placement = 'bottom',
|
|
198
|
+
strategy = 'absolute',
|
|
199
|
+
middleware = [],
|
|
200
|
+
platform
|
|
201
|
+
} = config;
|
|
202
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
203
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
204
|
+
let rects = await platform.getElementRects({
|
|
205
|
+
reference,
|
|
206
|
+
floating,
|
|
207
|
+
strategy
|
|
208
|
+
});
|
|
209
|
+
let {
|
|
210
|
+
x,
|
|
211
|
+
y
|
|
212
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
213
|
+
let statefulPlacement = placement;
|
|
214
|
+
let middlewareData = {};
|
|
215
|
+
let resetCount = 0;
|
|
216
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
217
|
+
const {
|
|
218
|
+
name,
|
|
219
|
+
fn
|
|
220
|
+
} = validMiddleware[i];
|
|
221
|
+
const {
|
|
222
|
+
x: nextX,
|
|
223
|
+
y: nextY,
|
|
224
|
+
data,
|
|
225
|
+
reset
|
|
226
|
+
} = await fn({
|
|
227
|
+
x,
|
|
228
|
+
y,
|
|
229
|
+
initialPlacement: placement,
|
|
230
|
+
placement: statefulPlacement,
|
|
231
|
+
strategy,
|
|
232
|
+
middlewareData,
|
|
233
|
+
rects,
|
|
234
|
+
platform,
|
|
235
|
+
elements: {
|
|
236
|
+
reference,
|
|
237
|
+
floating
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
x = nextX != null ? nextX : x;
|
|
241
|
+
y = nextY != null ? nextY : y;
|
|
242
|
+
middlewareData = {
|
|
243
|
+
...middlewareData,
|
|
244
|
+
[name]: {
|
|
245
|
+
...middlewareData[name],
|
|
246
|
+
...data
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
if (reset && resetCount <= 50) {
|
|
250
|
+
resetCount++;
|
|
251
|
+
if (typeof reset === 'object') {
|
|
252
|
+
if (reset.placement) {
|
|
253
|
+
statefulPlacement = reset.placement;
|
|
254
|
+
}
|
|
255
|
+
if (reset.rects) {
|
|
256
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
257
|
+
reference,
|
|
258
|
+
floating,
|
|
259
|
+
strategy
|
|
260
|
+
}) : reset.rects;
|
|
261
|
+
}
|
|
262
|
+
({
|
|
263
|
+
x,
|
|
264
|
+
y
|
|
265
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
266
|
+
}
|
|
267
|
+
i = -1;
|
|
268
|
+
continue;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
return {
|
|
272
|
+
x,
|
|
273
|
+
y,
|
|
274
|
+
placement: statefulPlacement,
|
|
275
|
+
strategy,
|
|
276
|
+
middlewareData
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
282
|
+
* element is overflowing a given clipping boundary on each side.
|
|
283
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
284
|
+
* - negative = how many pixels left before it will overflow
|
|
285
|
+
* - 0 = lies flush with the boundary
|
|
286
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
287
|
+
*/
|
|
288
|
+
async function detectOverflow(state, options) {
|
|
289
|
+
var _await$platform$isEle;
|
|
290
|
+
if (options === void 0) {
|
|
291
|
+
options = {};
|
|
292
|
+
}
|
|
293
|
+
const {
|
|
294
|
+
x,
|
|
295
|
+
y,
|
|
296
|
+
platform,
|
|
297
|
+
rects,
|
|
298
|
+
elements,
|
|
299
|
+
strategy
|
|
300
|
+
} = state;
|
|
301
|
+
const {
|
|
302
|
+
boundary = 'clippingAncestors',
|
|
303
|
+
rootBoundary = 'viewport',
|
|
304
|
+
elementContext = 'floating',
|
|
305
|
+
altBoundary = false,
|
|
306
|
+
padding = 0
|
|
307
|
+
} = evaluate(options, state);
|
|
308
|
+
const paddingObject = getPaddingObject(padding);
|
|
309
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
310
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
311
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
312
|
+
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))),
|
|
313
|
+
boundary,
|
|
314
|
+
rootBoundary,
|
|
315
|
+
strategy
|
|
316
|
+
}));
|
|
317
|
+
const rect = elementContext === 'floating' ? {
|
|
318
|
+
...rects.floating,
|
|
319
|
+
x,
|
|
320
|
+
y
|
|
321
|
+
} : rects.reference;
|
|
322
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
323
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
324
|
+
x: 1,
|
|
325
|
+
y: 1
|
|
326
|
+
} : {
|
|
327
|
+
x: 1,
|
|
328
|
+
y: 1
|
|
329
|
+
};
|
|
330
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
331
|
+
rect,
|
|
332
|
+
offsetParent,
|
|
333
|
+
strategy
|
|
334
|
+
}) : rect);
|
|
335
|
+
return {
|
|
336
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
337
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
338
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
339
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Provides data to position an inner element of the floating element so that it
|
|
345
|
+
* appears centered to the reference element.
|
|
346
|
+
* @see https://floating-ui.com/docs/arrow
|
|
347
|
+
*/
|
|
348
|
+
const arrow = options => ({
|
|
349
|
+
name: 'arrow',
|
|
350
|
+
options,
|
|
351
|
+
async fn(state) {
|
|
352
|
+
const {
|
|
353
|
+
x,
|
|
354
|
+
y,
|
|
355
|
+
placement,
|
|
356
|
+
rects,
|
|
357
|
+
platform,
|
|
358
|
+
elements,
|
|
359
|
+
middlewareData
|
|
360
|
+
} = state;
|
|
361
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
362
|
+
const {
|
|
363
|
+
element,
|
|
364
|
+
padding = 0
|
|
365
|
+
} = evaluate(options, state) || {};
|
|
366
|
+
if (element == null) {
|
|
367
|
+
return {};
|
|
368
|
+
}
|
|
369
|
+
const paddingObject = getPaddingObject(padding);
|
|
370
|
+
const coords = {
|
|
371
|
+
x,
|
|
372
|
+
y
|
|
373
|
+
};
|
|
374
|
+
const axis = getAlignmentAxis(placement);
|
|
375
|
+
const length = getAxisLength(axis);
|
|
376
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
377
|
+
const isYAxis = axis === 'y';
|
|
378
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
379
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
380
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
381
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
382
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
383
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
384
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
385
|
+
|
|
386
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
387
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
388
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
389
|
+
}
|
|
390
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
391
|
+
|
|
392
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
393
|
+
// centered, modify the padding so that it is centered.
|
|
394
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
395
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
396
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
397
|
+
|
|
398
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
399
|
+
// point is outside the floating element's bounds.
|
|
400
|
+
const min$1 = minPadding;
|
|
401
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
402
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
403
|
+
const offset = clamp(min$1, center, max);
|
|
404
|
+
|
|
405
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
406
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
407
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
408
|
+
// a single reset is performed when this is true.
|
|
409
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
410
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
411
|
+
return {
|
|
412
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
413
|
+
data: {
|
|
414
|
+
[axis]: offset,
|
|
415
|
+
centerOffset: center - offset - alignmentOffset,
|
|
416
|
+
...(shouldAddOffset && {
|
|
417
|
+
alignmentOffset
|
|
418
|
+
})
|
|
419
|
+
},
|
|
420
|
+
reset: shouldAddOffset
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
});
|
|
424
|
+
|
|
425
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
426
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
427
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
428
|
+
if (alignment) {
|
|
429
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
430
|
+
}
|
|
431
|
+
return true;
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
436
|
+
* that has the most space available automatically, without needing to specify a
|
|
437
|
+
* preferred placement. Alternative to `flip`.
|
|
438
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
439
|
+
*/
|
|
440
|
+
const autoPlacement = function (options) {
|
|
441
|
+
if (options === void 0) {
|
|
442
|
+
options = {};
|
|
443
|
+
}
|
|
444
|
+
return {
|
|
445
|
+
name: 'autoPlacement',
|
|
446
|
+
options,
|
|
447
|
+
async fn(state) {
|
|
448
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
449
|
+
const {
|
|
450
|
+
rects,
|
|
451
|
+
middlewareData,
|
|
452
|
+
placement,
|
|
453
|
+
platform,
|
|
454
|
+
elements
|
|
455
|
+
} = state;
|
|
456
|
+
const {
|
|
457
|
+
crossAxis = false,
|
|
458
|
+
alignment,
|
|
459
|
+
allowedPlacements = placements,
|
|
460
|
+
autoAlignment = true,
|
|
461
|
+
...detectOverflowOptions
|
|
462
|
+
} = evaluate(options, state);
|
|
463
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
464
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
465
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
466
|
+
const currentPlacement = placements$1[currentIndex];
|
|
467
|
+
if (currentPlacement == null) {
|
|
468
|
+
return {};
|
|
469
|
+
}
|
|
470
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
471
|
+
|
|
472
|
+
// Make `computeCoords` start from the right place.
|
|
473
|
+
if (placement !== currentPlacement) {
|
|
474
|
+
return {
|
|
475
|
+
reset: {
|
|
476
|
+
placement: placements$1[0]
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
481
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
482
|
+
placement: currentPlacement,
|
|
483
|
+
overflows: currentOverflows
|
|
484
|
+
}];
|
|
485
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
486
|
+
|
|
487
|
+
// There are more placements to check.
|
|
488
|
+
if (nextPlacement) {
|
|
489
|
+
return {
|
|
490
|
+
data: {
|
|
491
|
+
index: currentIndex + 1,
|
|
492
|
+
overflows: allOverflows
|
|
493
|
+
},
|
|
494
|
+
reset: {
|
|
495
|
+
placement: nextPlacement
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
500
|
+
const alignment = getAlignment(d.placement);
|
|
501
|
+
return [d.placement, alignment && crossAxis ?
|
|
502
|
+
// Check along the mainAxis and main crossAxis side.
|
|
503
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
504
|
+
// Check only the mainAxis.
|
|
505
|
+
d.overflows[0], d.overflows];
|
|
506
|
+
}).sort((a, b) => a[1] - b[1]);
|
|
507
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
508
|
+
// Aligned placements should not check their opposite crossAxis
|
|
509
|
+
// side.
|
|
510
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
511
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
512
|
+
if (resetPlacement !== placement) {
|
|
513
|
+
return {
|
|
514
|
+
data: {
|
|
515
|
+
index: currentIndex + 1,
|
|
516
|
+
overflows: allOverflows
|
|
517
|
+
},
|
|
518
|
+
reset: {
|
|
519
|
+
placement: resetPlacement
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
return {};
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
530
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
531
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
532
|
+
* @see https://floating-ui.com/docs/flip
|
|
533
|
+
*/
|
|
534
|
+
const flip = function (options) {
|
|
535
|
+
if (options === void 0) {
|
|
536
|
+
options = {};
|
|
537
|
+
}
|
|
538
|
+
return {
|
|
539
|
+
name: 'flip',
|
|
540
|
+
options,
|
|
541
|
+
async fn(state) {
|
|
542
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
543
|
+
const {
|
|
544
|
+
placement,
|
|
545
|
+
middlewareData,
|
|
546
|
+
rects,
|
|
547
|
+
initialPlacement,
|
|
548
|
+
platform,
|
|
549
|
+
elements
|
|
550
|
+
} = state;
|
|
551
|
+
const {
|
|
552
|
+
mainAxis: checkMainAxis = true,
|
|
553
|
+
crossAxis: checkCrossAxis = true,
|
|
554
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
555
|
+
fallbackStrategy = 'bestFit',
|
|
556
|
+
fallbackAxisSideDirection = 'none',
|
|
557
|
+
flipAlignment = true,
|
|
558
|
+
...detectOverflowOptions
|
|
559
|
+
} = evaluate(options, state);
|
|
560
|
+
|
|
561
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
562
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
563
|
+
// work.
|
|
564
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
565
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
566
|
+
return {};
|
|
567
|
+
}
|
|
568
|
+
const side = getSide(placement);
|
|
569
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
570
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
571
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
572
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
573
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
574
|
+
}
|
|
575
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
576
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
577
|
+
const overflows = [];
|
|
578
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
579
|
+
if (checkMainAxis) {
|
|
580
|
+
overflows.push(overflow[side]);
|
|
581
|
+
}
|
|
582
|
+
if (checkCrossAxis) {
|
|
583
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
584
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
585
|
+
}
|
|
586
|
+
overflowsData = [...overflowsData, {
|
|
587
|
+
placement,
|
|
588
|
+
overflows
|
|
589
|
+
}];
|
|
590
|
+
|
|
591
|
+
// One or more sides is overflowing.
|
|
592
|
+
if (!overflows.every(side => side <= 0)) {
|
|
593
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
594
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
595
|
+
const nextPlacement = placements[nextIndex];
|
|
596
|
+
if (nextPlacement) {
|
|
597
|
+
// Try next placement and re-run the lifecycle.
|
|
598
|
+
return {
|
|
599
|
+
data: {
|
|
600
|
+
index: nextIndex,
|
|
601
|
+
overflows: overflowsData
|
|
602
|
+
},
|
|
603
|
+
reset: {
|
|
604
|
+
placement: nextPlacement
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
610
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
611
|
+
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;
|
|
612
|
+
|
|
613
|
+
// Otherwise fallback.
|
|
614
|
+
if (!resetPlacement) {
|
|
615
|
+
switch (fallbackStrategy) {
|
|
616
|
+
case 'bestFit':
|
|
617
|
+
{
|
|
618
|
+
var _overflowsData$map$so;
|
|
619
|
+
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];
|
|
620
|
+
if (placement) {
|
|
621
|
+
resetPlacement = placement;
|
|
622
|
+
}
|
|
623
|
+
break;
|
|
624
|
+
}
|
|
625
|
+
case 'initialPlacement':
|
|
626
|
+
resetPlacement = initialPlacement;
|
|
627
|
+
break;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
if (placement !== resetPlacement) {
|
|
631
|
+
return {
|
|
632
|
+
reset: {
|
|
633
|
+
placement: resetPlacement
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
return {};
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
function getSideOffsets(overflow, rect) {
|
|
644
|
+
return {
|
|
645
|
+
top: overflow.top - rect.height,
|
|
646
|
+
right: overflow.right - rect.width,
|
|
647
|
+
bottom: overflow.bottom - rect.height,
|
|
648
|
+
left: overflow.left - rect.width
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
function isAnySideFullyClipped(overflow) {
|
|
652
|
+
return sides.some(side => overflow[side] >= 0);
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
656
|
+
* when it is not in the same clipping context as the reference element.
|
|
657
|
+
* @see https://floating-ui.com/docs/hide
|
|
658
|
+
*/
|
|
659
|
+
const hide = function (options) {
|
|
660
|
+
if (options === void 0) {
|
|
661
|
+
options = {};
|
|
662
|
+
}
|
|
663
|
+
return {
|
|
664
|
+
name: 'hide',
|
|
665
|
+
options,
|
|
666
|
+
async fn(state) {
|
|
667
|
+
const {
|
|
668
|
+
rects
|
|
669
|
+
} = state;
|
|
670
|
+
const {
|
|
671
|
+
strategy = 'referenceHidden',
|
|
672
|
+
...detectOverflowOptions
|
|
673
|
+
} = evaluate(options, state);
|
|
674
|
+
switch (strategy) {
|
|
675
|
+
case 'referenceHidden':
|
|
676
|
+
{
|
|
677
|
+
const overflow = await detectOverflow(state, {
|
|
678
|
+
...detectOverflowOptions,
|
|
679
|
+
elementContext: 'reference'
|
|
680
|
+
});
|
|
681
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
|
682
|
+
return {
|
|
683
|
+
data: {
|
|
684
|
+
referenceHiddenOffsets: offsets,
|
|
685
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
case 'escaped':
|
|
690
|
+
{
|
|
691
|
+
const overflow = await detectOverflow(state, {
|
|
692
|
+
...detectOverflowOptions,
|
|
693
|
+
altBoundary: true
|
|
694
|
+
});
|
|
695
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
|
696
|
+
return {
|
|
697
|
+
data: {
|
|
698
|
+
escapedOffsets: offsets,
|
|
699
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
default:
|
|
704
|
+
{
|
|
705
|
+
return {};
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
713
|
+
// Derivable.
|
|
714
|
+
async function convertValueToCoords(state, options) {
|
|
715
|
+
const {
|
|
716
|
+
placement,
|
|
717
|
+
platform,
|
|
718
|
+
elements
|
|
719
|
+
} = state;
|
|
720
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
721
|
+
const side = getSide(placement);
|
|
722
|
+
const alignment = getAlignment(placement);
|
|
723
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
724
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
725
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
726
|
+
const rawValue = evaluate(options, state);
|
|
727
|
+
|
|
728
|
+
// eslint-disable-next-line prefer-const
|
|
729
|
+
let {
|
|
730
|
+
mainAxis,
|
|
731
|
+
crossAxis,
|
|
732
|
+
alignmentAxis
|
|
733
|
+
} = typeof rawValue === 'number' ? {
|
|
734
|
+
mainAxis: rawValue,
|
|
735
|
+
crossAxis: 0,
|
|
736
|
+
alignmentAxis: null
|
|
737
|
+
} : {
|
|
738
|
+
mainAxis: 0,
|
|
739
|
+
crossAxis: 0,
|
|
740
|
+
alignmentAxis: null,
|
|
741
|
+
...rawValue
|
|
742
|
+
};
|
|
743
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
744
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
745
|
+
}
|
|
746
|
+
return isVertical ? {
|
|
747
|
+
x: crossAxis * crossAxisMulti,
|
|
748
|
+
y: mainAxis * mainAxisMulti
|
|
749
|
+
} : {
|
|
750
|
+
x: mainAxis * mainAxisMulti,
|
|
751
|
+
y: crossAxis * crossAxisMulti
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Modifies the placement by translating the floating element along the
|
|
757
|
+
* specified axes.
|
|
758
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
759
|
+
* object may be passed.
|
|
760
|
+
* @see https://floating-ui.com/docs/offset
|
|
761
|
+
*/
|
|
762
|
+
const offset = function (options) {
|
|
763
|
+
if (options === void 0) {
|
|
764
|
+
options = 0;
|
|
765
|
+
}
|
|
766
|
+
return {
|
|
767
|
+
name: 'offset',
|
|
768
|
+
options,
|
|
769
|
+
async fn(state) {
|
|
770
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
771
|
+
const {
|
|
772
|
+
x,
|
|
773
|
+
y,
|
|
774
|
+
placement,
|
|
775
|
+
middlewareData
|
|
776
|
+
} = state;
|
|
777
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
778
|
+
|
|
779
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
780
|
+
// then we don't need to change the positioning coordinates.
|
|
781
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
782
|
+
return {};
|
|
783
|
+
}
|
|
784
|
+
return {
|
|
785
|
+
x: x + diffCoords.x,
|
|
786
|
+
y: y + diffCoords.y,
|
|
787
|
+
data: {
|
|
788
|
+
...diffCoords,
|
|
789
|
+
placement
|
|
790
|
+
}
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
798
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
799
|
+
* @see https://floating-ui.com/docs/shift
|
|
800
|
+
*/
|
|
801
|
+
const shift = function (options) {
|
|
802
|
+
if (options === void 0) {
|
|
803
|
+
options = {};
|
|
804
|
+
}
|
|
805
|
+
return {
|
|
806
|
+
name: 'shift',
|
|
807
|
+
options,
|
|
808
|
+
async fn(state) {
|
|
809
|
+
const {
|
|
810
|
+
x,
|
|
811
|
+
y,
|
|
812
|
+
placement
|
|
813
|
+
} = state;
|
|
814
|
+
const {
|
|
815
|
+
mainAxis: checkMainAxis = true,
|
|
816
|
+
crossAxis: checkCrossAxis = false,
|
|
817
|
+
limiter = {
|
|
818
|
+
fn: _ref => {
|
|
819
|
+
let {
|
|
820
|
+
x,
|
|
821
|
+
y
|
|
822
|
+
} = _ref;
|
|
823
|
+
return {
|
|
824
|
+
x,
|
|
825
|
+
y
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
...detectOverflowOptions
|
|
830
|
+
} = evaluate(options, state);
|
|
831
|
+
const coords = {
|
|
832
|
+
x,
|
|
833
|
+
y
|
|
834
|
+
};
|
|
835
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
836
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
837
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
838
|
+
let mainAxisCoord = coords[mainAxis];
|
|
839
|
+
let crossAxisCoord = coords[crossAxis];
|
|
840
|
+
if (checkMainAxis) {
|
|
841
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
842
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
843
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
844
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
845
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
846
|
+
}
|
|
847
|
+
if (checkCrossAxis) {
|
|
848
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
849
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
850
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
851
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
852
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
853
|
+
}
|
|
854
|
+
const limitedCoords = limiter.fn({
|
|
855
|
+
...state,
|
|
856
|
+
[mainAxis]: mainAxisCoord,
|
|
857
|
+
[crossAxis]: crossAxisCoord
|
|
858
|
+
});
|
|
859
|
+
return {
|
|
860
|
+
...limitedCoords,
|
|
861
|
+
data: {
|
|
862
|
+
x: limitedCoords.x - x,
|
|
863
|
+
y: limitedCoords.y - y
|
|
864
|
+
}
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
function getNodeName(node) {
|
|
871
|
+
if (isNode(node)) {
|
|
872
|
+
return (node.nodeName || '').toLowerCase();
|
|
873
|
+
}
|
|
874
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
875
|
+
// returning `#document` an infinite loop won't occur.
|
|
876
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
877
|
+
return '#document';
|
|
878
|
+
}
|
|
879
|
+
function getWindow(node) {
|
|
880
|
+
var _node$ownerDocument;
|
|
881
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
882
|
+
}
|
|
883
|
+
function getDocumentElement(node) {
|
|
884
|
+
var _ref;
|
|
885
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
886
|
+
}
|
|
887
|
+
function isNode(value) {
|
|
888
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
889
|
+
}
|
|
890
|
+
function isElement(value) {
|
|
891
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
892
|
+
}
|
|
893
|
+
function isHTMLElement(value) {
|
|
894
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
895
|
+
}
|
|
896
|
+
function isShadowRoot(value) {
|
|
897
|
+
// Browsers without `ShadowRoot` support.
|
|
898
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
899
|
+
return false;
|
|
900
|
+
}
|
|
901
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
902
|
+
}
|
|
903
|
+
function isOverflowElement(element) {
|
|
904
|
+
const {
|
|
905
|
+
overflow,
|
|
906
|
+
overflowX,
|
|
907
|
+
overflowY,
|
|
908
|
+
display
|
|
909
|
+
} = getComputedStyle$1(element);
|
|
910
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
911
|
+
}
|
|
912
|
+
function isTableElement(element) {
|
|
913
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
914
|
+
}
|
|
915
|
+
function isContainingBlock(element) {
|
|
916
|
+
const webkit = isWebKit();
|
|
917
|
+
const css = getComputedStyle$1(element);
|
|
918
|
+
|
|
919
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
920
|
+
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));
|
|
921
|
+
}
|
|
922
|
+
function getContainingBlock(element) {
|
|
923
|
+
let currentNode = getParentNode(element);
|
|
924
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
925
|
+
if (isContainingBlock(currentNode)) {
|
|
926
|
+
return currentNode;
|
|
927
|
+
} else {
|
|
928
|
+
currentNode = getParentNode(currentNode);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return null;
|
|
932
|
+
}
|
|
933
|
+
function isWebKit() {
|
|
934
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
935
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
936
|
+
}
|
|
937
|
+
function isLastTraversableNode(node) {
|
|
938
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
939
|
+
}
|
|
940
|
+
function getComputedStyle$1(element) {
|
|
941
|
+
return getWindow(element).getComputedStyle(element);
|
|
942
|
+
}
|
|
943
|
+
function getNodeScroll(element) {
|
|
944
|
+
if (isElement(element)) {
|
|
945
|
+
return {
|
|
946
|
+
scrollLeft: element.scrollLeft,
|
|
947
|
+
scrollTop: element.scrollTop
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
return {
|
|
951
|
+
scrollLeft: element.pageXOffset,
|
|
952
|
+
scrollTop: element.pageYOffset
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
function getParentNode(node) {
|
|
956
|
+
if (getNodeName(node) === 'html') {
|
|
957
|
+
return node;
|
|
958
|
+
}
|
|
959
|
+
const result =
|
|
960
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
961
|
+
node.assignedSlot ||
|
|
962
|
+
// DOM Element detected.
|
|
963
|
+
node.parentNode ||
|
|
964
|
+
// ShadowRoot detected.
|
|
965
|
+
isShadowRoot(node) && node.host ||
|
|
966
|
+
// Fallback.
|
|
967
|
+
getDocumentElement(node);
|
|
968
|
+
return isShadowRoot(result) ? result.host : result;
|
|
969
|
+
}
|
|
970
|
+
function getNearestOverflowAncestor(node) {
|
|
971
|
+
const parentNode = getParentNode(node);
|
|
972
|
+
if (isLastTraversableNode(parentNode)) {
|
|
973
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
974
|
+
}
|
|
975
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
976
|
+
return parentNode;
|
|
977
|
+
}
|
|
978
|
+
return getNearestOverflowAncestor(parentNode);
|
|
979
|
+
}
|
|
980
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
981
|
+
var _node$ownerDocument2;
|
|
982
|
+
if (list === void 0) {
|
|
983
|
+
list = [];
|
|
984
|
+
}
|
|
985
|
+
if (traverseIframes === void 0) {
|
|
986
|
+
traverseIframes = true;
|
|
987
|
+
}
|
|
988
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
989
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
990
|
+
const win = getWindow(scrollableAncestor);
|
|
991
|
+
if (isBody) {
|
|
992
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
993
|
+
}
|
|
994
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function getCssDimensions(element) {
|
|
998
|
+
const css = getComputedStyle$1(element);
|
|
999
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1000
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1001
|
+
let width = parseFloat(css.width) || 0;
|
|
1002
|
+
let height = parseFloat(css.height) || 0;
|
|
1003
|
+
const hasOffset = isHTMLElement(element);
|
|
1004
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1005
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1006
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1007
|
+
if (shouldFallback) {
|
|
1008
|
+
width = offsetWidth;
|
|
1009
|
+
height = offsetHeight;
|
|
1010
|
+
}
|
|
1011
|
+
return {
|
|
1012
|
+
width,
|
|
1013
|
+
height,
|
|
1014
|
+
$: shouldFallback
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
function unwrapElement(element) {
|
|
1019
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
function getScale(element) {
|
|
1023
|
+
const domElement = unwrapElement(element);
|
|
1024
|
+
if (!isHTMLElement(domElement)) {
|
|
1025
|
+
return createCoords(1);
|
|
1026
|
+
}
|
|
1027
|
+
const rect = domElement.getBoundingClientRect();
|
|
1028
|
+
const {
|
|
1029
|
+
width,
|
|
1030
|
+
height,
|
|
1031
|
+
$
|
|
1032
|
+
} = getCssDimensions(domElement);
|
|
1033
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1034
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1035
|
+
|
|
1036
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1037
|
+
|
|
1038
|
+
if (!x || !Number.isFinite(x)) {
|
|
1039
|
+
x = 1;
|
|
1040
|
+
}
|
|
1041
|
+
if (!y || !Number.isFinite(y)) {
|
|
1042
|
+
y = 1;
|
|
1043
|
+
}
|
|
1044
|
+
return {
|
|
1045
|
+
x,
|
|
1046
|
+
y
|
|
1047
|
+
};
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1051
|
+
function getVisualOffsets(element) {
|
|
1052
|
+
const win = getWindow(element);
|
|
1053
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1054
|
+
return noOffsets;
|
|
1055
|
+
}
|
|
1056
|
+
return {
|
|
1057
|
+
x: win.visualViewport.offsetLeft,
|
|
1058
|
+
y: win.visualViewport.offsetTop
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1062
|
+
if (isFixed === void 0) {
|
|
1063
|
+
isFixed = false;
|
|
1064
|
+
}
|
|
1065
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1066
|
+
return false;
|
|
1067
|
+
}
|
|
1068
|
+
return isFixed;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1072
|
+
if (includeScale === void 0) {
|
|
1073
|
+
includeScale = false;
|
|
1074
|
+
}
|
|
1075
|
+
if (isFixedStrategy === void 0) {
|
|
1076
|
+
isFixedStrategy = false;
|
|
1077
|
+
}
|
|
1078
|
+
const clientRect = element.getBoundingClientRect();
|
|
1079
|
+
const domElement = unwrapElement(element);
|
|
1080
|
+
let scale = createCoords(1);
|
|
1081
|
+
if (includeScale) {
|
|
1082
|
+
if (offsetParent) {
|
|
1083
|
+
if (isElement(offsetParent)) {
|
|
1084
|
+
scale = getScale(offsetParent);
|
|
1085
|
+
}
|
|
1086
|
+
} else {
|
|
1087
|
+
scale = getScale(element);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1091
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1092
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1093
|
+
let width = clientRect.width / scale.x;
|
|
1094
|
+
let height = clientRect.height / scale.y;
|
|
1095
|
+
if (domElement) {
|
|
1096
|
+
const win = getWindow(domElement);
|
|
1097
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1098
|
+
let currentIFrame = win.frameElement;
|
|
1099
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1100
|
+
const iframeScale = getScale(currentIFrame);
|
|
1101
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1102
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1103
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1104
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1105
|
+
x *= iframeScale.x;
|
|
1106
|
+
y *= iframeScale.y;
|
|
1107
|
+
width *= iframeScale.x;
|
|
1108
|
+
height *= iframeScale.y;
|
|
1109
|
+
x += left;
|
|
1110
|
+
y += top;
|
|
1111
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
return rectToClientRect({
|
|
1115
|
+
width,
|
|
1116
|
+
height,
|
|
1117
|
+
x,
|
|
1118
|
+
y
|
|
1119
|
+
});
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1123
|
+
let {
|
|
1124
|
+
rect,
|
|
1125
|
+
offsetParent,
|
|
1126
|
+
strategy
|
|
1127
|
+
} = _ref;
|
|
1128
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1129
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1130
|
+
if (offsetParent === documentElement) {
|
|
1131
|
+
return rect;
|
|
1132
|
+
}
|
|
1133
|
+
let scroll = {
|
|
1134
|
+
scrollLeft: 0,
|
|
1135
|
+
scrollTop: 0
|
|
1136
|
+
};
|
|
1137
|
+
let scale = createCoords(1);
|
|
1138
|
+
const offsets = createCoords(0);
|
|
1139
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1140
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1141
|
+
scroll = getNodeScroll(offsetParent);
|
|
1142
|
+
}
|
|
1143
|
+
if (isHTMLElement(offsetParent)) {
|
|
1144
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1145
|
+
scale = getScale(offsetParent);
|
|
1146
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1147
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
return {
|
|
1151
|
+
width: rect.width * scale.x,
|
|
1152
|
+
height: rect.height * scale.y,
|
|
1153
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1154
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
function getClientRects(element) {
|
|
1159
|
+
return Array.from(element.getClientRects());
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
function getWindowScrollBarX(element) {
|
|
1163
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1164
|
+
// incorrect for RTL.
|
|
1165
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1169
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1170
|
+
function getDocumentRect(element) {
|
|
1171
|
+
const html = getDocumentElement(element);
|
|
1172
|
+
const scroll = getNodeScroll(element);
|
|
1173
|
+
const body = element.ownerDocument.body;
|
|
1174
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1175
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1176
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1177
|
+
const y = -scroll.scrollTop;
|
|
1178
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1179
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1180
|
+
}
|
|
1181
|
+
return {
|
|
1182
|
+
width,
|
|
1183
|
+
height,
|
|
1184
|
+
x,
|
|
1185
|
+
y
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
function getViewportRect(element, strategy) {
|
|
1190
|
+
const win = getWindow(element);
|
|
1191
|
+
const html = getDocumentElement(element);
|
|
1192
|
+
const visualViewport = win.visualViewport;
|
|
1193
|
+
let width = html.clientWidth;
|
|
1194
|
+
let height = html.clientHeight;
|
|
1195
|
+
let x = 0;
|
|
1196
|
+
let y = 0;
|
|
1197
|
+
if (visualViewport) {
|
|
1198
|
+
width = visualViewport.width;
|
|
1199
|
+
height = visualViewport.height;
|
|
1200
|
+
const visualViewportBased = isWebKit();
|
|
1201
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1202
|
+
x = visualViewport.offsetLeft;
|
|
1203
|
+
y = visualViewport.offsetTop;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
return {
|
|
1207
|
+
width,
|
|
1208
|
+
height,
|
|
1209
|
+
x,
|
|
1210
|
+
y
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1215
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1216
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1217
|
+
const top = clientRect.top + element.clientTop;
|
|
1218
|
+
const left = clientRect.left + element.clientLeft;
|
|
1219
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1220
|
+
const width = element.clientWidth * scale.x;
|
|
1221
|
+
const height = element.clientHeight * scale.y;
|
|
1222
|
+
const x = left * scale.x;
|
|
1223
|
+
const y = top * scale.y;
|
|
1224
|
+
return {
|
|
1225
|
+
width,
|
|
1226
|
+
height,
|
|
1227
|
+
x,
|
|
1228
|
+
y
|
|
1229
|
+
};
|
|
1230
|
+
}
|
|
1231
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1232
|
+
let rect;
|
|
1233
|
+
if (clippingAncestor === 'viewport') {
|
|
1234
|
+
rect = getViewportRect(element, strategy);
|
|
1235
|
+
} else if (clippingAncestor === 'document') {
|
|
1236
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1237
|
+
} else if (isElement(clippingAncestor)) {
|
|
1238
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1239
|
+
} else {
|
|
1240
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1241
|
+
rect = {
|
|
1242
|
+
...clippingAncestor,
|
|
1243
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1244
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1247
|
+
return rectToClientRect(rect);
|
|
1248
|
+
}
|
|
1249
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1250
|
+
const parentNode = getParentNode(element);
|
|
1251
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1252
|
+
return false;
|
|
1253
|
+
}
|
|
1254
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1258
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1259
|
+
// of the given element up the tree.
|
|
1260
|
+
function getClippingElementAncestors(element, cache) {
|
|
1261
|
+
const cachedResult = cache.get(element);
|
|
1262
|
+
if (cachedResult) {
|
|
1263
|
+
return cachedResult;
|
|
1264
|
+
}
|
|
1265
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1266
|
+
let currentContainingBlockComputedStyle = null;
|
|
1267
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1268
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1269
|
+
|
|
1270
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1271
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1272
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1273
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1274
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1275
|
+
currentContainingBlockComputedStyle = null;
|
|
1276
|
+
}
|
|
1277
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1278
|
+
if (shouldDropCurrentNode) {
|
|
1279
|
+
// Drop non-containing blocks.
|
|
1280
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1281
|
+
} else {
|
|
1282
|
+
// Record last containing block for next iteration.
|
|
1283
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1284
|
+
}
|
|
1285
|
+
currentNode = getParentNode(currentNode);
|
|
1286
|
+
}
|
|
1287
|
+
cache.set(element, result);
|
|
1288
|
+
return result;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1292
|
+
// clipping ancestors.
|
|
1293
|
+
function getClippingRect(_ref) {
|
|
1294
|
+
let {
|
|
1295
|
+
element,
|
|
1296
|
+
boundary,
|
|
1297
|
+
rootBoundary,
|
|
1298
|
+
strategy
|
|
1299
|
+
} = _ref;
|
|
1300
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1301
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1302
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1303
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1304
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1305
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1306
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1307
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1308
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1309
|
+
return accRect;
|
|
1310
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1311
|
+
return {
|
|
1312
|
+
width: clippingRect.right - clippingRect.left,
|
|
1313
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1314
|
+
x: clippingRect.left,
|
|
1315
|
+
y: clippingRect.top
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
function getDimensions(element) {
|
|
1320
|
+
return getCssDimensions(element);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1324
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1325
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1326
|
+
const isFixed = strategy === 'fixed';
|
|
1327
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1328
|
+
let scroll = {
|
|
1329
|
+
scrollLeft: 0,
|
|
1330
|
+
scrollTop: 0
|
|
1331
|
+
};
|
|
1332
|
+
const offsets = createCoords(0);
|
|
1333
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1334
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1335
|
+
scroll = getNodeScroll(offsetParent);
|
|
1336
|
+
}
|
|
1337
|
+
if (isOffsetParentAnElement) {
|
|
1338
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1339
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1340
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1341
|
+
} else if (documentElement) {
|
|
1342
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
return {
|
|
1346
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1347
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1348
|
+
width: rect.width,
|
|
1349
|
+
height: rect.height
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1354
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1355
|
+
return null;
|
|
1356
|
+
}
|
|
1357
|
+
if (polyfill) {
|
|
1358
|
+
return polyfill(element);
|
|
1359
|
+
}
|
|
1360
|
+
return element.offsetParent;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1364
|
+
// such as table ancestors and cross browser bugs.
|
|
1365
|
+
function getOffsetParent(element, polyfill) {
|
|
1366
|
+
const window = getWindow(element);
|
|
1367
|
+
if (!isHTMLElement(element)) {
|
|
1368
|
+
return window;
|
|
1369
|
+
}
|
|
1370
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1371
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1372
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1373
|
+
}
|
|
1374
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1375
|
+
return window;
|
|
1376
|
+
}
|
|
1377
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
const getElementRects = async function (_ref) {
|
|
1381
|
+
let {
|
|
1382
|
+
reference,
|
|
1383
|
+
floating,
|
|
1384
|
+
strategy
|
|
1385
|
+
} = _ref;
|
|
1386
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1387
|
+
const getDimensionsFn = this.getDimensions;
|
|
1388
|
+
return {
|
|
1389
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1390
|
+
floating: {
|
|
1391
|
+
x: 0,
|
|
1392
|
+
y: 0,
|
|
1393
|
+
...(await getDimensionsFn(floating))
|
|
1394
|
+
}
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
function isRTL(element) {
|
|
1399
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
const platform = {
|
|
1403
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1404
|
+
getDocumentElement,
|
|
1405
|
+
getClippingRect,
|
|
1406
|
+
getOffsetParent,
|
|
1407
|
+
getElementRects,
|
|
1408
|
+
getClientRects,
|
|
1409
|
+
getDimensions,
|
|
1410
|
+
getScale,
|
|
1411
|
+
isElement,
|
|
1412
|
+
isRTL
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
// https://samthor.au/2021/observing-dom/
|
|
1416
|
+
function observeMove(element, onMove) {
|
|
1417
|
+
let io = null;
|
|
1418
|
+
let timeoutId;
|
|
1419
|
+
const root = getDocumentElement(element);
|
|
1420
|
+
function cleanup() {
|
|
1421
|
+
clearTimeout(timeoutId);
|
|
1422
|
+
io && io.disconnect();
|
|
1423
|
+
io = null;
|
|
1424
|
+
}
|
|
1425
|
+
function refresh(skip, threshold) {
|
|
1426
|
+
if (skip === void 0) {
|
|
1427
|
+
skip = false;
|
|
1428
|
+
}
|
|
1429
|
+
if (threshold === void 0) {
|
|
1430
|
+
threshold = 1;
|
|
1431
|
+
}
|
|
1432
|
+
cleanup();
|
|
1433
|
+
const {
|
|
1434
|
+
left,
|
|
1435
|
+
top,
|
|
1436
|
+
width,
|
|
1437
|
+
height
|
|
1438
|
+
} = element.getBoundingClientRect();
|
|
1439
|
+
if (!skip) {
|
|
1440
|
+
onMove();
|
|
1441
|
+
}
|
|
1442
|
+
if (!width || !height) {
|
|
1443
|
+
return;
|
|
1444
|
+
}
|
|
1445
|
+
const insetTop = floor(top);
|
|
1446
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1447
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1448
|
+
const insetLeft = floor(left);
|
|
1449
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1450
|
+
const options = {
|
|
1451
|
+
rootMargin,
|
|
1452
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1453
|
+
};
|
|
1454
|
+
let isFirstUpdate = true;
|
|
1455
|
+
function handleObserve(entries) {
|
|
1456
|
+
const ratio = entries[0].intersectionRatio;
|
|
1457
|
+
if (ratio !== threshold) {
|
|
1458
|
+
if (!isFirstUpdate) {
|
|
1459
|
+
return refresh();
|
|
1460
|
+
}
|
|
1461
|
+
if (!ratio) {
|
|
1462
|
+
timeoutId = setTimeout(() => {
|
|
1463
|
+
refresh(false, 1e-7);
|
|
1464
|
+
}, 100);
|
|
1465
|
+
} else {
|
|
1466
|
+
refresh(false, ratio);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
isFirstUpdate = false;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1473
|
+
// error.
|
|
1474
|
+
try {
|
|
1475
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1476
|
+
...options,
|
|
1477
|
+
// Handle <iframe>s
|
|
1478
|
+
root: root.ownerDocument
|
|
1479
|
+
});
|
|
1480
|
+
} catch (e) {
|
|
1481
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1482
|
+
}
|
|
1483
|
+
io.observe(element);
|
|
1484
|
+
}
|
|
1485
|
+
refresh(true);
|
|
1486
|
+
return cleanup;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1491
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1492
|
+
* visible on the screen.
|
|
1493
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1494
|
+
* removed from the DOM or hidden from the screen.
|
|
1495
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1496
|
+
*/
|
|
1497
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1498
|
+
if (options === void 0) {
|
|
1499
|
+
options = {};
|
|
1500
|
+
}
|
|
1501
|
+
const {
|
|
1502
|
+
ancestorScroll = true,
|
|
1503
|
+
ancestorResize = true,
|
|
1504
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1505
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1506
|
+
animationFrame = false
|
|
1507
|
+
} = options;
|
|
1508
|
+
const referenceEl = unwrapElement(reference);
|
|
1509
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1510
|
+
ancestors.forEach(ancestor => {
|
|
1511
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1512
|
+
passive: true
|
|
1513
|
+
});
|
|
1514
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1515
|
+
});
|
|
1516
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1517
|
+
let reobserveFrame = -1;
|
|
1518
|
+
let resizeObserver = null;
|
|
1519
|
+
if (elementResize) {
|
|
1520
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1521
|
+
let [firstEntry] = _ref;
|
|
1522
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1523
|
+
// Prevent update loops when using the `size` middleware.
|
|
1524
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1525
|
+
resizeObserver.unobserve(floating);
|
|
1526
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1527
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1528
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
update();
|
|
1532
|
+
});
|
|
1533
|
+
if (referenceEl && !animationFrame) {
|
|
1534
|
+
resizeObserver.observe(referenceEl);
|
|
1535
|
+
}
|
|
1536
|
+
resizeObserver.observe(floating);
|
|
1537
|
+
}
|
|
1538
|
+
let frameId;
|
|
1539
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1540
|
+
if (animationFrame) {
|
|
1541
|
+
frameLoop();
|
|
1542
|
+
}
|
|
1543
|
+
function frameLoop() {
|
|
1544
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1545
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1546
|
+
update();
|
|
1547
|
+
}
|
|
1548
|
+
prevRefRect = nextRefRect;
|
|
1549
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1550
|
+
}
|
|
1551
|
+
update();
|
|
1552
|
+
return () => {
|
|
1553
|
+
ancestors.forEach(ancestor => {
|
|
1554
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1555
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1556
|
+
});
|
|
1557
|
+
cleanupIo && cleanupIo();
|
|
1558
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1559
|
+
resizeObserver = null;
|
|
1560
|
+
if (animationFrame) {
|
|
1561
|
+
cancelAnimationFrame(frameId);
|
|
1562
|
+
}
|
|
1563
|
+
};
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1568
|
+
* next to a reference element when it is given a certain CSS positioning
|
|
1569
|
+
* strategy.
|
|
1570
|
+
*/
|
|
1571
|
+
const computePosition = (reference, floating, options) => {
|
|
1572
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1573
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1574
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1575
|
+
const cache = new Map();
|
|
1576
|
+
const mergedOptions = {
|
|
1577
|
+
platform,
|
|
1578
|
+
...options
|
|
1579
|
+
};
|
|
1580
|
+
const platformWithCache = {
|
|
1581
|
+
...mergedOptions.platform,
|
|
1582
|
+
_c: cache
|
|
1583
|
+
};
|
|
1584
|
+
return computePosition$1(reference, floating, {
|
|
1585
|
+
...mergedOptions,
|
|
1586
|
+
platform: platformWithCache
|
|
1587
|
+
});
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1591
|
+
function offsetParent(element) {
|
|
1592
|
+
return offsetParentPolyfill(element);
|
|
1593
|
+
}
|
|
1594
|
+
function flatTreeParent(element) {
|
|
1595
|
+
if (element.assignedSlot) {
|
|
1596
|
+
return element.assignedSlot;
|
|
1597
|
+
}
|
|
1598
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
1599
|
+
return element.parentNode.host;
|
|
1600
|
+
}
|
|
1601
|
+
return element.parentNode;
|
|
1602
|
+
}
|
|
1603
|
+
function offsetParentPolyfill(element) {
|
|
1604
|
+
// Do an initial walk to check for display:none ancestors.
|
|
1605
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1606
|
+
if (!(ancestor instanceof Element)) {
|
|
1607
|
+
continue;
|
|
1608
|
+
}
|
|
1609
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
1610
|
+
return null;
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1614
|
+
if (!(ancestor instanceof Element)) {
|
|
1615
|
+
continue;
|
|
1616
|
+
}
|
|
1617
|
+
const style = getComputedStyle(ancestor);
|
|
1618
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1619
|
+
if (style.display === 'contents') {
|
|
1620
|
+
continue;
|
|
1621
|
+
}
|
|
1622
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1623
|
+
return ancestor;
|
|
1624
|
+
}
|
|
1625
|
+
if (ancestor.tagName === 'BODY') {
|
|
1626
|
+
return ancestor;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
return null;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1633
|
+
{
|
|
1634
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1635
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1636
|
+
}
|
|
1637
|
+
})();
|
|
1638
|
+
function roundByDPR(value) {
|
|
1639
|
+
const dpr = window.devicePixelRatio || 1;
|
|
1640
|
+
return Math.round(value * dpr) / dpr;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Positions the floating element relative to the reference element.
|
|
1644
|
+
*
|
|
1645
|
+
* **Note:** exported for testing purposes only
|
|
1646
|
+
*
|
|
1647
|
+
* @param root0
|
|
1648
|
+
* @param root0.referenceEl
|
|
1649
|
+
* @param root0.floatingEl
|
|
1650
|
+
* @param root0.overlayPositioning
|
|
1651
|
+
* @param root0.placement
|
|
1652
|
+
* @param root0.flipDisabled
|
|
1653
|
+
* @param root0.flipPlacements
|
|
1654
|
+
* @param root0.offsetDistance
|
|
1655
|
+
* @param root0.offsetSkidding
|
|
1656
|
+
* @param root0.arrowEl
|
|
1657
|
+
* @param root0.type
|
|
1658
|
+
* @param component
|
|
1659
|
+
* @param root0.referenceEl.referenceEl
|
|
1660
|
+
* @param root0.referenceEl.floatingEl
|
|
1661
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1662
|
+
* @param root0.referenceEl.placement
|
|
1663
|
+
* @param root0.referenceEl.flipDisabled
|
|
1664
|
+
* @param root0.referenceEl.flipPlacements
|
|
1665
|
+
* @param root0.referenceEl.offsetDistance
|
|
1666
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1667
|
+
* @param root0.referenceEl.arrowEl
|
|
1668
|
+
* @param root0.referenceEl.type
|
|
1669
|
+
* @param component.referenceEl
|
|
1670
|
+
* @param component.floatingEl
|
|
1671
|
+
* @param component.overlayPositioning
|
|
1672
|
+
* @param component.placement
|
|
1673
|
+
* @param component.flipDisabled
|
|
1674
|
+
* @param component.flipPlacements
|
|
1675
|
+
* @param component.offsetDistance
|
|
1676
|
+
* @param component.offsetSkidding
|
|
1677
|
+
* @param component.arrowEl
|
|
1678
|
+
* @param component.type
|
|
1679
|
+
*/
|
|
1680
|
+
const positionFloatingUI =
|
|
1681
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1682
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1683
|
+
if (!referenceEl || !floatingEl) {
|
|
1684
|
+
return null;
|
|
1685
|
+
}
|
|
1686
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1687
|
+
strategy: overlayPositioning,
|
|
1688
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1689
|
+
? undefined
|
|
1690
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1691
|
+
middleware: getMiddleware({
|
|
1692
|
+
placement,
|
|
1693
|
+
flipDisabled,
|
|
1694
|
+
flipPlacements,
|
|
1695
|
+
offsetDistance,
|
|
1696
|
+
offsetSkidding,
|
|
1697
|
+
arrowEl,
|
|
1698
|
+
type,
|
|
1699
|
+
}),
|
|
1700
|
+
});
|
|
1701
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1702
|
+
const { x, y } = middlewareData.arrow;
|
|
1703
|
+
const side = effectivePlacement.split("-")[0];
|
|
1704
|
+
const alignment = x != null ? "left" : "top";
|
|
1705
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1706
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1707
|
+
if ("floatingLayout" in component) {
|
|
1708
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1709
|
+
}
|
|
1710
|
+
Object.assign(arrowEl.style, {
|
|
1711
|
+
...reset,
|
|
1712
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1713
|
+
[side]: "100%",
|
|
1714
|
+
transform,
|
|
1715
|
+
});
|
|
1716
|
+
}
|
|
1717
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1718
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1719
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1720
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1721
|
+
const { open } = component;
|
|
1722
|
+
Object.assign(floatingEl.style, {
|
|
1723
|
+
visibility,
|
|
1724
|
+
pointerEvents,
|
|
1725
|
+
position,
|
|
1726
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
1727
|
+
top: 0,
|
|
1728
|
+
left: 0,
|
|
1729
|
+
});
|
|
1730
|
+
};
|
|
1731
|
+
/**
|
|
1732
|
+
* Exported for testing purposes only
|
|
1733
|
+
*/
|
|
1734
|
+
const placementDataAttribute = "data-placement";
|
|
1735
|
+
/**
|
|
1736
|
+
* Exported for testing purposes only
|
|
1737
|
+
*/
|
|
1738
|
+
const repositionDebounceTimeout = 100;
|
|
1739
|
+
const effectivePlacements = [
|
|
1740
|
+
"top",
|
|
1741
|
+
"bottom",
|
|
1742
|
+
"right",
|
|
1743
|
+
"left",
|
|
1744
|
+
"top-start",
|
|
1745
|
+
"top-end",
|
|
1746
|
+
"bottom-start",
|
|
1747
|
+
"bottom-end",
|
|
1748
|
+
"right-start",
|
|
1749
|
+
"right-end",
|
|
1750
|
+
"left-start",
|
|
1751
|
+
"left-end",
|
|
1752
|
+
];
|
|
1753
|
+
const defaultMenuPlacement = "bottom-start";
|
|
1754
|
+
const FloatingCSS = {
|
|
1755
|
+
animation: "calcite-floating-ui-anim",
|
|
1756
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
1757
|
+
};
|
|
1758
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1759
|
+
const defaultMiddleware = [shift(), hide()];
|
|
1760
|
+
if (type === "menu") {
|
|
1761
|
+
return [
|
|
1762
|
+
...defaultMiddleware,
|
|
1763
|
+
flip({
|
|
1764
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1765
|
+
}),
|
|
1766
|
+
];
|
|
1767
|
+
}
|
|
1768
|
+
if (type === "popover" || type === "tooltip") {
|
|
1769
|
+
const middleware = [
|
|
1770
|
+
...defaultMiddleware,
|
|
1771
|
+
offset({
|
|
1772
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1773
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1774
|
+
}),
|
|
1775
|
+
];
|
|
1776
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1777
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
1778
|
+
}
|
|
1779
|
+
else if (!flipDisabled) {
|
|
1780
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
1781
|
+
}
|
|
1782
|
+
if (arrowEl) {
|
|
1783
|
+
middleware.push(arrow({
|
|
1784
|
+
element: arrowEl,
|
|
1785
|
+
}));
|
|
1786
|
+
}
|
|
1787
|
+
return middleware;
|
|
1788
|
+
}
|
|
1789
|
+
return [];
|
|
1790
|
+
}
|
|
1791
|
+
function filterComputedPlacements(placements, el) {
|
|
1792
|
+
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
|
1793
|
+
if (filteredPlacements.length !== placements.length) {
|
|
1794
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
|
1795
|
+
.map((placement) => `"${placement}"`)
|
|
1796
|
+
.join(", ")
|
|
1797
|
+
.trim()}`, { el });
|
|
1798
|
+
}
|
|
1799
|
+
return filteredPlacements;
|
|
1800
|
+
}
|
|
1801
|
+
function getEffectivePlacement(floatingEl, placement) {
|
|
1802
|
+
const placements = ["left", "right"];
|
|
1803
|
+
if (getElementDir(floatingEl) === "rtl") {
|
|
1804
|
+
placements.reverse();
|
|
1805
|
+
}
|
|
1806
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1810
|
+
*
|
|
1811
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
1812
|
+
*
|
|
1813
|
+
* @param component - A floating-ui component.
|
|
1814
|
+
* @param options - Reposition parameters.
|
|
1815
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1816
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
1817
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
1818
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
1819
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
1820
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
1821
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
1822
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
1823
|
+
* @param options.arrowEl - A customizable arrow element.
|
|
1824
|
+
* @param options.type - The type of floating UI.
|
|
1825
|
+
* @param delayed - Reposition the component after a delay.
|
|
1826
|
+
* @returns {Promise<void>}
|
|
1827
|
+
*/
|
|
1828
|
+
async function reposition(component, options, delayed = false) {
|
|
1829
|
+
if (!component.open) {
|
|
1830
|
+
return;
|
|
1831
|
+
}
|
|
1832
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1833
|
+
return positionFunction(component, options);
|
|
1834
|
+
}
|
|
1835
|
+
function getDebouncedReposition(component) {
|
|
1836
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1837
|
+
if (debounced) {
|
|
1838
|
+
return debounced;
|
|
1839
|
+
}
|
|
1840
|
+
debounced = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1841
|
+
leading: true,
|
|
1842
|
+
maxWait: repositionDebounceTimeout,
|
|
1843
|
+
});
|
|
1844
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1845
|
+
return debounced;
|
|
1846
|
+
}
|
|
1847
|
+
const ARROW_CSS_TRANSFORM = {
|
|
1848
|
+
top: "",
|
|
1849
|
+
left: "rotate(-90deg)",
|
|
1850
|
+
bottom: "rotate(180deg)",
|
|
1851
|
+
right: "rotate(90deg)",
|
|
1852
|
+
};
|
|
1853
|
+
/**
|
|
1854
|
+
* Exported for testing purposes only
|
|
1855
|
+
*
|
|
1856
|
+
* @internal
|
|
1857
|
+
*/
|
|
1858
|
+
const cleanupMap = new WeakMap();
|
|
1859
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1860
|
+
/**
|
|
1861
|
+
* Helper to set up floating element interactions on connectedCallback.
|
|
1862
|
+
*
|
|
1863
|
+
* @param component - A floating-ui component.
|
|
1864
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1865
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1866
|
+
*/
|
|
1867
|
+
function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
1868
|
+
if (!floatingEl || !referenceEl) {
|
|
1869
|
+
return;
|
|
1870
|
+
}
|
|
1871
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1872
|
+
Object.assign(floatingEl.style, {
|
|
1873
|
+
visibility: "hidden",
|
|
1874
|
+
pointerEvents: "none",
|
|
1875
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1876
|
+
position: component.overlayPositioning,
|
|
1877
|
+
});
|
|
1878
|
+
const runAutoUpdate = autoUpdate
|
|
1879
|
+
;
|
|
1880
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1881
|
+
}
|
|
1882
|
+
/**
|
|
1883
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
1884
|
+
*
|
|
1885
|
+
* @param component - A floating-ui component.
|
|
1886
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1887
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1888
|
+
*/
|
|
1889
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
1890
|
+
if (!floatingEl || !referenceEl) {
|
|
1891
|
+
return;
|
|
1892
|
+
}
|
|
1893
|
+
cleanupMap.get(component)?.();
|
|
1894
|
+
cleanupMap.delete(component);
|
|
1895
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1896
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1897
|
+
}
|
|
1898
|
+
const visiblePointerSize = 4;
|
|
1899
|
+
/**
|
|
1900
|
+
* Default offset the position of the floating element away from the reference element.
|
|
1901
|
+
*
|
|
1902
|
+
* @default 6
|
|
1903
|
+
*/
|
|
1904
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1905
|
+
|
|
1906
|
+
export { FloatingCSS as F, disconnectFloatingUI as a, defaultOffsetDistance as b, connectFloatingUI as c, defaultMenuPlacement as d, filterComputedPlacements as f, reposition as r };
|
|
1907
|
+
|
|
1908
|
+
//# sourceMappingURL=floating-ui-c6393b6b.js.map
|