@esri/calcite-components 2.2.0-next.13 → 2.2.0-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-047ddcc3.js +7 -0
- package/dist/calcite/p-04e41c9e.js +7 -0
- package/dist/calcite/p-05032c5d.entry.js +7 -0
- package/dist/calcite/p-05032c5d.entry.js.map +1 -0
- package/dist/calcite/p-053e1bdd.entry.js +7 -0
- package/dist/calcite/p-053e1bdd.entry.js.map +1 -0
- package/dist/calcite/p-0744102f.js +7 -0
- package/dist/calcite/p-08afd9f9.js +7 -0
- package/dist/calcite/p-0ab7411f.js +7 -0
- package/dist/calcite/p-0add2080.js +8 -0
- package/dist/calcite/p-0b73937f.entry.js +7 -0
- package/dist/calcite/p-0cfa59ce.js +7 -0
- package/dist/calcite/p-0e7d40ee.entry.js +7 -0
- package/dist/calcite/p-10464d93.entry.js +7 -0
- package/dist/calcite/p-12b2713a.js +7 -0
- package/dist/calcite/p-16e2d2bc.entry.js +7 -0
- package/dist/calcite/p-191ebaec.js +7 -0
- package/dist/calcite/p-1d006482.entry.js +7 -0
- package/dist/calcite/p-231854ac.js +7 -0
- package/dist/calcite/p-2444441e.js +7 -0
- package/dist/calcite/p-24f8a3cf.js +7 -0
- package/dist/calcite/p-24fe818d.js +7 -0
- package/dist/calcite/p-2a8a7963.entry.js +7 -0
- package/dist/calcite/p-2acafed7.js +7 -0
- package/dist/calcite/p-2ba5bb74.entry.js +7 -0
- package/dist/calcite/p-2baba6ae.entry.js +7 -0
- package/dist/calcite/p-2e2f9eb7.js +7 -0
- package/dist/calcite/p-2f8ec7d6.js +7 -0
- package/dist/calcite/p-2fa987a7.entry.js +7 -0
- package/dist/calcite/p-2fa987a7.entry.js.map +1 -0
- package/dist/calcite/p-305d121b.entry.js +7 -0
- package/dist/calcite/p-31b34f80.js +7 -0
- package/dist/calcite/p-32f67500.js +7 -0
- package/dist/calcite/p-352dbd53.js +7 -0
- package/dist/calcite/p-3541a165.js +7 -0
- package/dist/calcite/p-35bbdb70.js +7 -0
- package/dist/calcite/p-36dafdd6.js +7 -0
- package/dist/calcite/p-39da4cfe.js +7 -0
- package/dist/calcite/p-3b56f990.js +7 -0
- package/dist/calcite/p-3dd989e0.entry.js +7 -0
- package/dist/calcite/p-40ca9289.js +7 -0
- package/dist/calcite/p-40e05529.entry.js +7 -0
- package/dist/calcite/p-40e05529.entry.js.map +1 -0
- package/dist/calcite/p-4156a7b7.js +7 -0
- package/dist/calcite/p-41880f3e.entry.js +7 -0
- package/dist/calcite/p-41880f3e.entry.js.map +1 -0
- package/dist/calcite/p-45ae9c67.entry.js +7 -0
- package/dist/calcite/p-47818307.entry.js +7 -0
- package/dist/calcite/p-48b40958.js +7 -0
- package/dist/calcite/p-4a1fee4f.js +7 -0
- package/dist/calcite/p-4c4ceade.js +7 -0
- package/dist/calcite/p-4f20f8bd.js +7 -0
- package/dist/calcite/p-4f412f99.entry.js +7 -0
- package/dist/calcite/p-503b6594.entry.js +7 -0
- package/dist/calcite/p-503b6594.entry.js.map +1 -0
- package/dist/calcite/p-51115c24.entry.js +7 -0
- package/dist/calcite/p-545a2214.js +7 -0
- package/dist/calcite/p-54792766.entry.js +7 -0
- package/dist/calcite/p-55f2b783.js +7 -0
- package/dist/calcite/p-57178418.entry.js +7 -0
- package/dist/calcite/p-573ec9e5.entry.js +7 -0
- package/dist/calcite/p-599494bc.js +7 -0
- package/dist/calcite/p-5abc41da.entry.js +7 -0
- package/dist/calcite/p-5b78e823.js +7 -0
- package/dist/calcite/p-5e2f88f6.entry.js +7 -0
- package/dist/calcite/p-5e832882.entry.js +7 -0
- package/dist/calcite/p-5ed56a65.js +7 -0
- package/dist/calcite/p-5f65fbce.entry.js +7 -0
- package/dist/calcite/p-5f96c5c5.js +7 -0
- package/dist/calcite/p-6143f46b.entry.js +7 -0
- package/dist/calcite/p-6217d2be.js +7 -0
- package/dist/calcite/p-637401ce.entry.js +7 -0
- package/dist/calcite/p-63bd8a4b.js +7 -0
- package/dist/calcite/p-6ab1663b.entry.js +7 -0
- package/dist/calcite/p-6eedb384.entry.js +7 -0
- package/dist/calcite/p-712a1aa1.js +7 -0
- package/dist/calcite/p-713b3d75.js +7 -0
- package/dist/calcite/p-731d7d1f.entry.js +7 -0
- package/dist/calcite/p-7fd0dcc7.entry.js +7 -0
- package/dist/calcite/p-81a9398a.js +7 -0
- package/dist/calcite/p-829fc24d.js +7 -0
- package/dist/calcite/p-833b4a95.entry.js +7 -0
- package/dist/calcite/p-85d73a32.entry.js +7 -0
- package/dist/calcite/p-860f2840.js +7 -0
- package/dist/calcite/p-875bbc2f.js +7 -0
- package/dist/calcite/p-88747575.entry.js +7 -0
- package/dist/calcite/p-89a90437.js +7 -0
- package/dist/calcite/p-8a611855.entry.js +7 -0
- package/dist/calcite/p-8a611855.entry.js.map +1 -0
- package/dist/calcite/p-8a8ea00b.js +7 -0
- package/dist/calcite/p-8d6ac2ee.entry.js +7 -0
- package/dist/calcite/p-8d6ac2ee.entry.js.map +1 -0
- package/dist/calcite/p-931b5c91.js +7 -0
- package/dist/calcite/p-944e4b97.js +7 -0
- package/dist/calcite/p-9aaa5fe6.js +12 -0
- package/dist/calcite/p-9babed90.entry.js +7 -0
- package/dist/calcite/p-9ca66781.js +7 -0
- package/dist/calcite/p-9d3b22e9.js +7 -0
- package/dist/calcite/p-a0b0cfdb.js +7 -0
- package/dist/calcite/p-a198a446.entry.js +7 -0
- package/dist/calcite/p-a2170dc0.entry.js +7 -0
- package/dist/calcite/p-a2e744a9.entry.js +7 -0
- package/dist/calcite/p-aa66dd0e.js +7 -0
- package/dist/calcite/p-ab480c69.entry.js +7 -0
- package/dist/calcite/p-aceda70a.entry.js +7 -0
- package/dist/calcite/p-aceda70a.entry.js.map +1 -0
- package/dist/calcite/p-ad133460.js +7 -0
- package/dist/calcite/p-ad94293e.js +7 -0
- package/dist/calcite/p-afbe2995.entry.js +7 -0
- package/dist/calcite/p-b109f717.js +7 -0
- package/dist/calcite/p-b1dc29c2.entry.js +7 -0
- package/dist/calcite/p-b4b11e80.js +7 -0
- package/dist/calcite/p-b684cc58.js +7 -0
- package/dist/calcite/p-b902c2d5.entry.js +7 -0
- package/dist/calcite/p-b92982e7.entry.js +7 -0
- package/dist/calcite/p-bb239243.entry.js +7 -0
- package/dist/calcite/p-bc66cfed.js +11 -0
- package/dist/calcite/p-bc807243.entry.js +7 -0
- package/dist/calcite/p-bd42f48e.js +7 -0
- package/dist/calcite/p-bd51f50e.entry.js +7 -0
- package/dist/calcite/p-bf6c55d0.js +7 -0
- package/dist/calcite/p-c150ca30.js +7 -0
- package/dist/calcite/p-c166c258.entry.js +7 -0
- package/dist/calcite/p-c5960eff.entry.js +7 -0
- package/dist/calcite/p-c688be1e.entry.js +7 -0
- package/dist/calcite/p-c688be1e.entry.js.map +1 -0
- package/dist/calcite/p-c6cae4d2.entry.js +7 -0
- package/dist/calcite/p-c6cae4d2.entry.js.map +1 -0
- package/dist/calcite/p-c7f026d0.entry.js +7 -0
- package/dist/calcite/p-c954a299.js +7 -0
- package/dist/calcite/p-c9f5da49.entry.js +7 -0
- package/dist/calcite/p-cb2852e3.entry.js +7 -0
- package/dist/calcite/p-cbba7c58.entry.js +7 -0
- package/dist/calcite/p-cd86b221.js +7 -0
- package/dist/calcite/p-cda14f95.entry.js +7 -0
- package/dist/calcite/p-cdc3ea29.js +7 -0
- package/dist/calcite/p-ced65efd.js +7 -0
- package/dist/calcite/p-d0b722d8.js +7 -0
- package/dist/calcite/p-d1b4cec0.entry.js +7 -0
- package/dist/calcite/p-d1b77a1f.entry.js +7 -0
- package/dist/calcite/p-d2d8b5ab.js +7 -0
- package/dist/calcite/p-d32ccd2e.js +13 -0
- package/dist/calcite/p-d372edf0.js +7 -0
- package/dist/calcite/p-d4b3b7d3.entry.js +7 -0
- package/dist/calcite/p-d6a917f2.js +7 -0
- package/dist/calcite/p-d6fa4961.entry.js +7 -0
- package/dist/calcite/p-daf57fbf.js +7 -0
- package/dist/calcite/p-dcd13701.js +7 -0
- package/dist/calcite/p-dee112be.js +7 -0
- package/dist/calcite/p-e26c29c9.js +7 -0
- package/dist/calcite/p-e4a68590.entry.js +7 -0
- package/dist/calcite/p-e9e06519.entry.js +7 -0
- package/dist/calcite/p-eaa876a0.entry.js +7 -0
- package/dist/calcite/p-ebac7c85.js +7 -0
- package/dist/calcite/p-ec97ffd4.entry.js +7 -0
- package/dist/calcite/p-f073261c.js +7 -0
- package/dist/calcite/p-f0ba8d69.js +7 -0
- package/dist/calcite/p-f14a70da.js +7 -0
- package/dist/calcite/p-f17847fa.js +7 -0
- package/dist/calcite/p-f372733e.js +7 -0
- package/dist/calcite/p-f397c03e.entry.js +7 -0
- package/dist/calcite/p-f3b5799b.js +7 -0
- package/dist/calcite/p-f452516d.js +7 -0
- package/dist/calcite/p-fa7ba8b6.js +7 -0
- package/dist/calcite/p-fd3a39b9.js +7 -0
- package/dist/calcite/p-fd8656d2.js +7 -0
- package/dist/calcite/p-fe4141bc.js +7 -0
- package/dist/calcite/p-fe73630a.entry.js +7 -0
- package/dist/calcite/p-fea51e11.js +7 -0
- package/dist/calcite/p-ffc07b09.js +7 -0
- package/dist/calcite/p-fffd0a52.entry.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-7b1a0be4.js +110 -0
- package/dist/cjs/ExpandToggle-7b1a0be4.js.map +1 -0
- package/dist/cjs/FloatingArrow-d0aa2326.js +49 -0
- package/dist/cjs/FloatingArrow-d0aa2326.js.map +1 -0
- package/dist/cjs/Heading-27e4ff07.js +22 -0
- package/dist/cjs/Heading-27e4ff07.js.map +1 -0
- package/dist/cjs/Validation-307e6241.js +18 -0
- package/dist/cjs/Validation-307e6241.js.map +1 -0
- package/dist/cjs/app-globals-4c0076e6.js +61 -0
- package/dist/cjs/app-globals-4c0076e6.js.map +1 -0
- package/dist/cjs/ar-f6a29212.js +106 -0
- package/dist/cjs/ar-f6a29212.js.map +1 -0
- package/dist/cjs/array-951939e6.js +14 -0
- package/dist/cjs/array-951939e6.js.map +1 -0
- package/dist/cjs/bg-f6bbda5c.js +84 -0
- package/dist/cjs/bg-f6bbda5c.js.map +1 -0
- package/dist/cjs/browser-bf8e5d3f.js +20 -0
- package/dist/cjs/browser-bf8e5d3f.js.map +1 -0
- package/dist/cjs/bs-5617bb40.js +53 -0
- package/dist/cjs/bs-5617bb40.js.map +1 -0
- package/dist/cjs/ca-881cb9b7.js +73 -0
- package/dist/cjs/ca-881cb9b7.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 +20 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f27cfe62.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f27cfe62.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +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-9a570857.js +30 -0
- package/dist/cjs/component-9a570857.js.map +1 -0
- package/dist/cjs/conditionalSlot-9a60b0dd.js +60 -0
- package/dist/cjs/conditionalSlot-9a60b0dd.js.map +1 -0
- package/dist/cjs/cs-fb5834e7.js +149 -0
- package/dist/cjs/cs-fb5834e7.js.map +1 -0
- package/dist/cjs/da-f0c7faaf.js +68 -0
- package/dist/cjs/da-f0c7faaf.js.map +1 -0
- package/dist/cjs/de-99b6724f.js +93 -0
- package/dist/cjs/de-99b6724f.js.map +1 -0
- package/dist/cjs/de-at-a7781b7c.js +92 -0
- package/dist/cjs/de-at-a7781b7c.js.map +1 -0
- package/dist/cjs/de-ch-c11dad2d.js +92 -0
- package/dist/cjs/de-ch-c11dad2d.js.map +1 -0
- package/dist/cjs/debounce-4b736087.js +498 -0
- package/dist/cjs/debounce-4b736087.js.map +1 -0
- package/dist/cjs/dom-721914ec.js +1084 -0
- package/dist/cjs/dom-721914ec.js.map +1 -0
- package/dist/cjs/el-f920ea24.js +68 -0
- package/dist/cjs/el-f920ea24.js.map +1 -0
- package/dist/cjs/en-au-7683070c.js +68 -0
- package/dist/cjs/en-au-7683070c.js.map +1 -0
- package/dist/cjs/en-ca-e4bb323b.js +67 -0
- package/dist/cjs/en-ca-e4bb323b.js.map +1 -0
- package/dist/cjs/en-gb-02ad1b3e.js +71 -0
- package/dist/cjs/en-gb-02ad1b3e.js.map +1 -0
- package/dist/cjs/es-0e15f8cb.js +68 -0
- package/dist/cjs/es-0e15f8cb.js.map +1 -0
- package/dist/cjs/es-mx-6c5f0c6d.js +67 -0
- package/dist/cjs/es-mx-6c5f0c6d.js.map +1 -0
- package/dist/cjs/et-fb9e6378.js +94 -0
- package/dist/cjs/et-fb9e6378.js.map +1 -0
- package/dist/cjs/fi-d4005a60.js +117 -0
- package/dist/cjs/fi-d4005a60.js.map +1 -0
- package/dist/cjs/filter-a5b3ff15.js +762 -0
- package/dist/cjs/filter-a5b3ff15.js.map +1 -0
- package/dist/cjs/floating-ui-3b5362e4.js +1916 -0
- package/dist/cjs/floating-ui-3b5362e4.js.map +1 -0
- package/dist/cjs/focusTrapComponent-5f7ab5c4.js +1020 -0
- package/dist/cjs/focusTrapComponent-5f7ab5c4.js.map +1 -0
- package/dist/cjs/form-beb52c18.js +259 -0
- package/dist/cjs/form-beb52c18.js.map +1 -0
- package/dist/cjs/fr-cb7cb776.js +70 -0
- package/dist/cjs/fr-cb7cb776.js.map +1 -0
- package/dist/cjs/fr-ch-813fc30c.js +68 -0
- package/dist/cjs/fr-ch-813fc30c.js.map +1 -0
- package/dist/cjs/guid-ebac9c7f.js +23 -0
- package/dist/cjs/guid-ebac9c7f.js.map +1 -0
- package/dist/cjs/he-e6328594.js +107 -0
- package/dist/cjs/he-e6328594.js.map +1 -0
- package/dist/cjs/hi-ff8d5fb7.js +67 -0
- package/dist/cjs/hi-ff8d5fb7.js.map +1 -0
- package/dist/cjs/hr-707da894.js +82 -0
- package/dist/cjs/hr-707da894.js.map +1 -0
- package/dist/cjs/hu-ff2aee03.js +90 -0
- package/dist/cjs/hu-ff2aee03.js.map +1 -0
- package/dist/cjs/id-73eabc5d.js +68 -0
- package/dist/cjs/id-73eabc5d.js.map +1 -0
- package/dist/cjs/index-24616da4.js +2655 -0
- package/dist/cjs/index-24616da4.js.map +1 -0
- package/dist/cjs/index-66cbd5b7.js +208 -0
- package/dist/cjs/index-66cbd5b7.js.map +1 -0
- package/dist/cjs/index-c89bce26.js +75 -0
- package/dist/cjs/index-c89bce26.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-f764e8de.js +141 -0
- package/dist/cjs/interactive-f764e8de.js.map +1 -0
- package/dist/cjs/it-73b32848.js +68 -0
- package/dist/cjs/it-73b32848.js.map +1 -0
- package/dist/cjs/it-ch-224b4b85.js +68 -0
- package/dist/cjs/it-ch-224b4b85.js.map +1 -0
- package/dist/cjs/ja-03ab9407.js +74 -0
- package/dist/cjs/ja-03ab9407.js.map +1 -0
- package/dist/cjs/key-fb345f0a.js +16 -0
- package/dist/cjs/key-fb345f0a.js.map +1 -0
- package/dist/cjs/ko-f3980cf4.js +74 -0
- package/dist/cjs/ko-f3980cf4.js.map +1 -0
- package/dist/cjs/label-44197119.js +183 -0
- package/dist/cjs/label-44197119.js.map +1 -0
- package/dist/cjs/loadable-95987bb9.js +91 -0
- package/dist/cjs/loadable-95987bb9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-dbaac2ba.js +576 -0
- package/dist/cjs/locale-dbaac2ba.js.map +1 -0
- package/dist/cjs/lt-fc6aa1c1.js +99 -0
- package/dist/cjs/lt-fc6aa1c1.js.map +1 -0
- package/dist/cjs/lv-07f400c5.js +68 -0
- package/dist/cjs/lv-07f400c5.js.map +1 -0
- package/dist/cjs/math-ffdf1028.js +57 -0
- package/dist/cjs/math-ffdf1028.js.map +1 -0
- package/dist/cjs/mk-11e187a7.js +68 -0
- package/dist/cjs/mk-11e187a7.js.map +1 -0
- package/dist/cjs/nb-bcfeb2ea.js +69 -0
- package/dist/cjs/nb-bcfeb2ea.js.map +1 -0
- package/dist/cjs/nl-1a8e671d.js +69 -0
- package/dist/cjs/nl-1a8e671d.js.map +1 -0
- package/dist/cjs/observers-b62c606f.js +50 -0
- package/dist/cjs/observers-b62c606f.js.map +1 -0
- package/dist/cjs/openCloseComponent-408feced.js +89 -0
- package/dist/cjs/openCloseComponent-408feced.js.map +1 -0
- package/dist/cjs/pl-ece4f924.js +116 -0
- package/dist/cjs/pl-ece4f924.js.map +1 -0
- package/dist/cjs/pt-b4cc0c6e.js +69 -0
- package/dist/cjs/pt-b4cc0c6e.js.map +1 -0
- package/dist/cjs/pt-br-36524745.js +67 -0
- package/dist/cjs/pt-br-36524745.js.map +1 -0
- package/dist/cjs/resources-1e7eb626.js +29 -0
- package/dist/cjs/resources-1e7eb626.js.map +1 -0
- package/dist/cjs/resources-3d48b29b.js +23 -0
- package/dist/cjs/resources-3d48b29b.js.map +1 -0
- package/dist/cjs/resources-63914c35.js +17 -0
- package/dist/cjs/resources-63914c35.js.map +1 -0
- package/dist/cjs/resources-9382f028.js +26 -0
- package/dist/cjs/resources-9382f028.js.map +1 -0
- package/dist/cjs/resources-ea0d1c54.js +49 -0
- package/dist/cjs/resources-ea0d1c54.js.map +1 -0
- package/dist/cjs/resources-f4bd1164.js +26 -0
- package/dist/cjs/resources-f4bd1164.js.map +1 -0
- package/dist/cjs/resources-f56a8ce2.js +414 -0
- package/dist/cjs/resources-f56a8ce2.js.map +1 -0
- package/dist/cjs/ro-35459d85.js +68 -0
- package/dist/cjs/ro-35459d85.js.map +1 -0
- package/dist/cjs/ru-ecb4b873.js +128 -0
- package/dist/cjs/ru-ecb4b873.js.map +1 -0
- package/dist/cjs/sk-08fa163a.js +150 -0
- package/dist/cjs/sk-08fa163a.js.map +1 -0
- package/dist/cjs/sl-788289d9.js +170 -0
- package/dist/cjs/sl-788289d9.js.map +1 -0
- package/dist/cjs/sortableComponent-093959bb.js +2739 -0
- package/dist/cjs/sortableComponent-093959bb.js.map +1 -0
- package/dist/cjs/sr-0c4a4861.js +103 -0
- package/dist/cjs/sr-0c4a4861.js.map +1 -0
- package/dist/cjs/sv-6b9aac11.js +73 -0
- package/dist/cjs/sv-6b9aac11.js.map +1 -0
- package/dist/cjs/t9n-7f94b5a3.js +97 -0
- package/dist/cjs/t9n-7f94b5a3.js.map +1 -0
- package/dist/cjs/th-f1294a87.js +67 -0
- package/dist/cjs/th-f1294a87.js.map +1 -0
- package/dist/cjs/throttle-eed29b20.js +77 -0
- package/dist/cjs/throttle-eed29b20.js.map +1 -0
- package/dist/cjs/tr-97891a3f.js +68 -0
- package/dist/cjs/tr-97891a3f.js.map +1 -0
- package/dist/cjs/uk-b8b2fc97.js +106 -0
- package/dist/cjs/uk-b8b2fc97.js.map +1 -0
- package/dist/cjs/utils-64c7cf7d.js +307 -0
- package/dist/cjs/utils-64c7cf7d.js.map +1 -0
- package/dist/cjs/utils-f60da647.js +218 -0
- package/dist/cjs/utils-f60da647.js.map +1 -0
- package/dist/cjs/vi-00f49b6a.js +72 -0
- package/dist/cjs/vi-00f49b6a.js.map +1 -0
- package/dist/cjs/zh-cn-4be20faf.js +96 -0
- package/dist/cjs/zh-cn-4be20faf.js.map +1 -0
- package/dist/cjs/zh-hk-6cb30b59.js +73 -0
- package/dist/cjs/zh-hk-6cb30b59.js.map +1 -0
- package/dist/cjs/zh-tw-6dfbfaba.js +94 -0
- package/dist/cjs/zh-tw-6dfbfaba.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 +13 -3
- package/dist/collection/components/color-picker/color-picker.e2e.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.js +5 -1
- package/dist/collection/components/color-picker/color-picker.js.map +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +5 -1
- package/dist/components/calcite-color-picker.js.map +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-519e756e.js +102 -0
- package/dist/esm/ExpandToggle-519e756e.js.map +1 -0
- package/dist/esm/FloatingArrow-4ee93b4b.js +47 -0
- package/dist/esm/FloatingArrow-4ee93b4b.js.map +1 -0
- package/dist/esm/Heading-89bcb54f.js +19 -0
- package/dist/esm/Heading-89bcb54f.js.map +1 -0
- package/dist/esm/Validation-3950347f.js +16 -0
- package/dist/esm/Validation-3950347f.js.map +1 -0
- package/dist/esm/app-globals-9b5006fb.js +59 -0
- package/dist/esm/app-globals-9b5006fb.js.map +1 -0
- package/dist/esm/ar-db9bbbac.js +104 -0
- package/dist/esm/ar-db9bbbac.js.map +1 -0
- package/dist/esm/array-57cbd544.js +12 -0
- package/dist/esm/array-57cbd544.js.map +1 -0
- package/dist/esm/bg-69cdd38f.js +82 -0
- package/dist/esm/bg-69cdd38f.js.map +1 -0
- package/dist/esm/browser-15be4acf.js +18 -0
- package/dist/esm/browser-15be4acf.js.map +1 -0
- package/dist/esm/bs-4ce18da0.js +51 -0
- package/dist/esm/bs-4ce18da0.js.map +1 -0
- package/dist/esm/ca-57e8dd7d.js +71 -0
- package/dist/esm/ca-57e8dd7d.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 +20 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42e7722a.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42e7722a.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +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-ba143e89.js +27 -0
- package/dist/esm/component-ba143e89.js.map +1 -0
- package/dist/esm/conditionalSlot-7df2d311.js +57 -0
- package/dist/esm/conditionalSlot-7df2d311.js.map +1 -0
- package/dist/esm/cs-af603da4.js +147 -0
- package/dist/esm/cs-af603da4.js.map +1 -0
- package/dist/esm/da-bcbfa66d.js +66 -0
- package/dist/esm/da-bcbfa66d.js.map +1 -0
- package/dist/esm/de-at-5f08d5b4.js +90 -0
- package/dist/esm/de-at-5f08d5b4.js.map +1 -0
- package/dist/esm/de-b2b1234c.js +91 -0
- package/dist/esm/de-b2b1234c.js.map +1 -0
- package/dist/esm/de-ch-e94a295c.js +90 -0
- package/dist/esm/de-ch-e94a295c.js.map +1 -0
- package/dist/esm/debounce-98593bcc.js +489 -0
- package/dist/esm/debounce-98593bcc.js.map +1 -0
- package/dist/esm/dom-6b022df4.js +1053 -0
- package/dist/esm/dom-6b022df4.js.map +1 -0
- package/dist/esm/el-0d8651b8.js +66 -0
- package/dist/esm/el-0d8651b8.js.map +1 -0
- package/dist/esm/en-au-996ab75c.js +66 -0
- package/dist/esm/en-au-996ab75c.js.map +1 -0
- package/dist/esm/en-ca-82256b40.js +65 -0
- package/dist/esm/en-ca-82256b40.js.map +1 -0
- package/dist/esm/en-gb-f91c2171.js +69 -0
- package/dist/esm/en-gb-f91c2171.js.map +1 -0
- package/dist/esm/es-8209f312.js +66 -0
- package/dist/esm/es-8209f312.js.map +1 -0
- package/dist/esm/es-mx-dd4252dc.js +65 -0
- package/dist/esm/es-mx-dd4252dc.js.map +1 -0
- package/dist/esm/et-eed628d0.js +92 -0
- package/dist/esm/et-eed628d0.js.map +1 -0
- package/dist/esm/fi-386347f1.js +115 -0
- package/dist/esm/fi-386347f1.js.map +1 -0
- package/dist/esm/filter-1ec0f702.js +760 -0
- package/dist/esm/filter-1ec0f702.js.map +1 -0
- package/dist/esm/floating-ui-476e9a7a.js +1908 -0
- package/dist/esm/floating-ui-476e9a7a.js.map +1 -0
- package/dist/esm/focusTrapComponent-539ba988.js +1015 -0
- package/dist/esm/focusTrapComponent-539ba988.js.map +1 -0
- package/dist/esm/form-e4897d5a.js +250 -0
- package/dist/esm/form-e4897d5a.js.map +1 -0
- package/dist/esm/fr-cbb8e9fc.js +68 -0
- package/dist/esm/fr-cbb8e9fc.js.map +1 -0
- package/dist/esm/fr-ch-4b69803e.js +66 -0
- package/dist/esm/fr-ch-4b69803e.js.map +1 -0
- package/dist/esm/guid-61e7a235.js +21 -0
- package/dist/esm/guid-61e7a235.js.map +1 -0
- package/dist/esm/he-353da2cf.js +105 -0
- package/dist/esm/he-353da2cf.js.map +1 -0
- package/dist/esm/hi-faf0ed73.js +65 -0
- package/dist/esm/hi-faf0ed73.js.map +1 -0
- package/dist/esm/hr-e5848071.js +80 -0
- package/dist/esm/hr-e5848071.js.map +1 -0
- package/dist/esm/hu-e8270139.js +88 -0
- package/dist/esm/hu-e8270139.js.map +1 -0
- package/dist/esm/id-af3a8fc4.js +66 -0
- package/dist/esm/id-af3a8fc4.js.map +1 -0
- package/dist/esm/index-097b73b3.js +2620 -0
- package/dist/esm/index-097b73b3.js.map +1 -0
- package/dist/esm/index-9533b374.js +73 -0
- package/dist/esm/index-9533b374.js.map +1 -0
- package/dist/esm/index-e99e4b5e.js +206 -0
- package/dist/esm/index-e99e4b5e.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-754e789c.js +136 -0
- package/dist/esm/interactive-754e789c.js.map +1 -0
- package/dist/esm/it-857d6425.js +66 -0
- package/dist/esm/it-857d6425.js.map +1 -0
- package/dist/esm/it-ch-eab96a99.js +66 -0
- package/dist/esm/it-ch-eab96a99.js.map +1 -0
- package/dist/esm/ja-13ab2d68.js +72 -0
- package/dist/esm/ja-13ab2d68.js.map +1 -0
- package/dist/esm/key-60e2158b.js +13 -0
- package/dist/esm/key-60e2158b.js.map +1 -0
- package/dist/esm/ko-bf3be3a2.js +72 -0
- package/dist/esm/ko-bf3be3a2.js.map +1 -0
- package/dist/esm/label-0e9b0888.js +176 -0
- package/dist/esm/label-0e9b0888.js.map +1 -0
- package/dist/esm/loadable-7dbd25a2.js +86 -0
- package/dist/esm/loadable-7dbd25a2.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-f36cec26.js +563 -0
- package/dist/esm/locale-f36cec26.js.map +1 -0
- package/dist/esm/lt-70fc6c59.js +97 -0
- package/dist/esm/lt-70fc6c59.js.map +1 -0
- package/dist/esm/lv-44889ee3.js +66 -0
- package/dist/esm/lv-44889ee3.js.map +1 -0
- package/dist/esm/math-1ac284e1.js +51 -0
- package/dist/esm/math-1ac284e1.js.map +1 -0
- package/dist/esm/mk-23d05e5a.js +66 -0
- package/dist/esm/mk-23d05e5a.js.map +1 -0
- package/dist/esm/nb-60878f89.js +67 -0
- package/dist/esm/nb-60878f89.js.map +1 -0
- package/dist/esm/nl-09e13ed2.js +67 -0
- package/dist/esm/nl-09e13ed2.js.map +1 -0
- package/dist/esm/observers-af88fcaa.js +48 -0
- package/dist/esm/observers-af88fcaa.js.map +1 -0
- package/dist/esm/openCloseComponent-e3cc1d89.js +87 -0
- package/dist/esm/openCloseComponent-e3cc1d89.js.map +1 -0
- package/dist/esm/pl-a65bf4c8.js +114 -0
- package/dist/esm/pl-a65bf4c8.js.map +1 -0
- package/dist/esm/pt-21d12586.js +67 -0
- package/dist/esm/pt-21d12586.js.map +1 -0
- package/dist/esm/pt-br-6a2dbf3f.js +65 -0
- package/dist/esm/pt-br-6a2dbf3f.js.map +1 -0
- package/dist/esm/resources-097a756d.js +387 -0
- package/dist/esm/resources-097a756d.js.map +1 -0
- package/dist/esm/resources-0d40ce6e.js +23 -0
- package/dist/esm/resources-0d40ce6e.js.map +1 -0
- package/dist/esm/resources-38db133b.js +45 -0
- package/dist/esm/resources-38db133b.js.map +1 -0
- package/dist/esm/resources-6899e642.js +21 -0
- package/dist/esm/resources-6899e642.js.map +1 -0
- package/dist/esm/resources-83effc11.js +19 -0
- package/dist/esm/resources-83effc11.js.map +1 -0
- package/dist/esm/resources-890ac5f6.js +25 -0
- package/dist/esm/resources-890ac5f6.js.map +1 -0
- package/dist/esm/resources-b5ec50e8.js +17 -0
- package/dist/esm/resources-b5ec50e8.js.map +1 -0
- package/dist/esm/ro-f8dba38d.js +66 -0
- package/dist/esm/ro-f8dba38d.js.map +1 -0
- package/dist/esm/ru-e588f74f.js +126 -0
- package/dist/esm/ru-e588f74f.js.map +1 -0
- package/dist/esm/sk-90c5f9fc.js +148 -0
- package/dist/esm/sk-90c5f9fc.js.map +1 -0
- package/dist/esm/sl-d47a0bdb.js +168 -0
- package/dist/esm/sl-d47a0bdb.js.map +1 -0
- package/dist/esm/sortableComponent-5fdadd5f.js +2735 -0
- package/dist/esm/sortableComponent-5fdadd5f.js.map +1 -0
- package/dist/esm/sr-875acf0b.js +101 -0
- package/dist/esm/sr-875acf0b.js.map +1 -0
- package/dist/esm/sv-5d0e06f3.js +71 -0
- package/dist/esm/sv-5d0e06f3.js.map +1 -0
- package/dist/esm/t9n-6076de70.js +92 -0
- package/dist/esm/t9n-6076de70.js.map +1 -0
- package/dist/esm/th-c38df95b.js +65 -0
- package/dist/esm/th-c38df95b.js.map +1 -0
- package/dist/esm/throttle-d06a26f5.js +75 -0
- package/dist/esm/throttle-d06a26f5.js.map +1 -0
- package/dist/esm/tr-626cee1d.js +66 -0
- package/dist/esm/tr-626cee1d.js.map +1 -0
- package/dist/esm/uk-3ebc600c.js +104 -0
- package/dist/esm/uk-3ebc600c.js.map +1 -0
- package/dist/esm/utils-7ef7fb8d.js +289 -0
- package/dist/esm/utils-7ef7fb8d.js.map +1 -0
- package/dist/esm/utils-9f0093ca.js +200 -0
- package/dist/esm/utils-9f0093ca.js.map +1 -0
- package/dist/esm/vi-071d5d2d.js +70 -0
- package/dist/esm/vi-071d5d2d.js.map +1 -0
- package/dist/esm/zh-cn-6970a86c.js +94 -0
- package/dist/esm/zh-cn-6970a86c.js.map +1 -0
- package/dist/esm/zh-hk-aba1ecff.js +71 -0
- package/dist/esm/zh-hk-aba1ecff.js.map +1 -0
- package/dist/esm/zh-tw-a6a532be.js +92 -0
- package/dist/esm/zh-tw-a6a532be.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 -3
- package/package.json +2 -2
- package/dist/calcite/p-01e27001.js +0 -7
- package/dist/calcite/p-042dcc72.js +0 -7
- package/dist/calcite/p-05250022.js +0 -13
- package/dist/calcite/p-05c2e11d.js +0 -7
- package/dist/calcite/p-069d35f7.js +0 -7
- package/dist/calcite/p-07048945.js +0 -7
- package/dist/calcite/p-07093d44.entry.js +0 -7
- package/dist/calcite/p-083d300c.js +0 -7
- package/dist/calcite/p-08e76785.entry.js +0 -7
- package/dist/calcite/p-0d354313.js +0 -7
- package/dist/calcite/p-0f4cfc69.js +0 -7
- package/dist/calcite/p-0f722a53.js +0 -7
- package/dist/calcite/p-15f34ae0.js +0 -7
- package/dist/calcite/p-183a9c28.js +0 -7
- package/dist/calcite/p-191f8564.js +0 -7
- package/dist/calcite/p-1c92799b.js +0 -7
- package/dist/calcite/p-1ed3f502.entry.js +0 -7
- package/dist/calcite/p-1fb58905.entry.js +0 -7
- package/dist/calcite/p-1fb58905.entry.js.map +0 -1
- package/dist/calcite/p-2110136a.entry.js +0 -7
- package/dist/calcite/p-2110136a.entry.js.map +0 -1
- package/dist/calcite/p-21a2a804.entry.js +0 -7
- package/dist/calcite/p-226af1d4.js +0 -7
- package/dist/calcite/p-22c39db4.js +0 -7
- package/dist/calcite/p-23b02e85.js +0 -7
- package/dist/calcite/p-24a8a621.js +0 -7
- package/dist/calcite/p-25e4781b.js +0 -7
- package/dist/calcite/p-28b1bf8d.js +0 -7
- package/dist/calcite/p-28eb7a25.js +0 -7
- package/dist/calcite/p-2ae3c8da.js +0 -7
- package/dist/calcite/p-2c8885e6.entry.js +0 -7
- package/dist/calcite/p-315d6fcd.entry.js +0 -7
- package/dist/calcite/p-3319aeba.js +0 -8
- package/dist/calcite/p-3461c1b3.js +0 -7
- package/dist/calcite/p-351e555d.js +0 -7
- package/dist/calcite/p-3790acc7.js +0 -7
- package/dist/calcite/p-38491e3d.entry.js +0 -7
- package/dist/calcite/p-39234a3e.entry.js +0 -7
- package/dist/calcite/p-3a04e800.entry.js +0 -7
- package/dist/calcite/p-3a782824.entry.js +0 -7
- package/dist/calcite/p-3bc76b63.js +0 -7
- package/dist/calcite/p-3c6690b6.entry.js +0 -7
- package/dist/calcite/p-3d29047e.entry.js +0 -7
- package/dist/calcite/p-3e3993ee.entry.js +0 -7
- package/dist/calcite/p-3edbcdef.js +0 -7
- package/dist/calcite/p-3fb628bc.js +0 -7
- package/dist/calcite/p-400c9dee.entry.js +0 -7
- package/dist/calcite/p-43b9611a.entry.js +0 -7
- package/dist/calcite/p-43d806c9.js +0 -7
- package/dist/calcite/p-441a7985.js +0 -7
- package/dist/calcite/p-44d77eba.entry.js +0 -7
- package/dist/calcite/p-492208d1.js +0 -7
- package/dist/calcite/p-492f7e00.entry.js +0 -7
- package/dist/calcite/p-4cc5710f.js +0 -7
- package/dist/calcite/p-4db80d75.js +0 -7
- package/dist/calcite/p-4e5536d1.js +0 -7
- package/dist/calcite/p-4e90d0c0.js +0 -7
- package/dist/calcite/p-4e9bb857.js +0 -7
- package/dist/calcite/p-4f4a313a.js +0 -7
- package/dist/calcite/p-5208ddbc.js +0 -7
- package/dist/calcite/p-5259bc1a.js +0 -7
- package/dist/calcite/p-52b31092.js +0 -7
- package/dist/calcite/p-532023dc.entry.js +0 -7
- package/dist/calcite/p-53a59a3f.entry.js +0 -7
- package/dist/calcite/p-53a59a3f.entry.js.map +0 -1
- package/dist/calcite/p-54ce63ad.entry.js +0 -7
- package/dist/calcite/p-54ce63ad.entry.js.map +0 -1
- package/dist/calcite/p-5b02457f.entry.js +0 -7
- package/dist/calcite/p-5bd9206e.js +0 -7
- package/dist/calcite/p-5cb04fbd.js +0 -7
- package/dist/calcite/p-5dbf0724.js +0 -7
- package/dist/calcite/p-5e0900d2.js +0 -7
- package/dist/calcite/p-615be89e.js +0 -7
- package/dist/calcite/p-61cbf2b7.entry.js +0 -7
- package/dist/calcite/p-678e9c3e.js +0 -7
- package/dist/calcite/p-6940e72f.js +0 -7
- package/dist/calcite/p-69518f34.js +0 -7
- package/dist/calcite/p-6b8c213b.entry.js +0 -7
- package/dist/calcite/p-6d8f79e5.js +0 -7
- package/dist/calcite/p-6dfbcf2a.js +0 -7
- package/dist/calcite/p-6ea58ffc.js +0 -7
- package/dist/calcite/p-6f426979.js +0 -7
- package/dist/calcite/p-72c62825.js +0 -7
- package/dist/calcite/p-756ac4e2.entry.js +0 -7
- package/dist/calcite/p-756ac4e2.entry.js.map +0 -1
- package/dist/calcite/p-75e3963a.entry.js +0 -7
- package/dist/calcite/p-785ff44f.js +0 -7
- package/dist/calcite/p-7862e63e.js +0 -7
- package/dist/calcite/p-7b5b949e.entry.js +0 -7
- package/dist/calcite/p-7c8ab1fd.entry.js +0 -7
- package/dist/calcite/p-7eb0eecf.js +0 -7
- package/dist/calcite/p-85c2a32d.entry.js +0 -7
- package/dist/calcite/p-85c2a32d.entry.js.map +0 -1
- package/dist/calcite/p-879eafa2.entry.js +0 -7
- package/dist/calcite/p-87f3d47a.js +0 -7
- package/dist/calcite/p-88ea71cc.js +0 -7
- package/dist/calcite/p-8be9b525.js +0 -7
- package/dist/calcite/p-8c0c7488.entry.js +0 -7
- package/dist/calcite/p-955d486e.js +0 -7
- package/dist/calcite/p-98ff07ef.entry.js +0 -7
- package/dist/calcite/p-9a69bc6f.js +0 -7
- package/dist/calcite/p-9ce72e23.js +0 -7
- package/dist/calcite/p-9ffe4b1c.entry.js +0 -7
- package/dist/calcite/p-a0b15b29.entry.js +0 -7
- package/dist/calcite/p-a40c4453.entry.js +0 -7
- package/dist/calcite/p-a4843808.js +0 -7
- package/dist/calcite/p-a61d5b6b.entry.js +0 -7
- package/dist/calcite/p-a6244361.entry.js +0 -7
- package/dist/calcite/p-a7d06e9c.js +0 -7
- package/dist/calcite/p-a9251a39.entry.js +0 -7
- package/dist/calcite/p-acf00da0.entry.js +0 -7
- package/dist/calcite/p-acf00da0.entry.js.map +0 -1
- package/dist/calcite/p-adb66945.entry.js +0 -7
- package/dist/calcite/p-b091e8ce.entry.js +0 -7
- package/dist/calcite/p-b1d4577b.entry.js +0 -7
- package/dist/calcite/p-b1eb93f9.js +0 -7
- package/dist/calcite/p-b2df25c5.js +0 -7
- package/dist/calcite/p-b2ed75cb.js +0 -7
- package/dist/calcite/p-b74720ee.entry.js +0 -7
- package/dist/calcite/p-b834f34f.js +0 -12
- package/dist/calcite/p-b890ad8e.js +0 -7
- package/dist/calcite/p-b9afde4f.js +0 -7
- package/dist/calcite/p-ba3fac85.entry.js +0 -7
- package/dist/calcite/p-bba4a8f2.entry.js +0 -7
- package/dist/calcite/p-bc118bbf.js +0 -7
- package/dist/calcite/p-bc732f2b.js +0 -7
- package/dist/calcite/p-bcf08d5a.entry.js +0 -7
- package/dist/calcite/p-bda916c6.entry.js +0 -7
- package/dist/calcite/p-bfa42e22.entry.js +0 -7
- package/dist/calcite/p-bfd0417f.entry.js +0 -7
- package/dist/calcite/p-bfd0417f.entry.js.map +0 -1
- package/dist/calcite/p-c013957c.js +0 -7
- package/dist/calcite/p-c1d364bb.js +0 -7
- package/dist/calcite/p-c3b6e2c6.entry.js +0 -7
- package/dist/calcite/p-c49082db.entry.js +0 -7
- package/dist/calcite/p-c547fc9f.entry.js +0 -7
- package/dist/calcite/p-c5fe7582.entry.js +0 -7
- package/dist/calcite/p-c636137d.js +0 -7
- package/dist/calcite/p-c6a64222.entry.js +0 -7
- package/dist/calcite/p-c7525eed.js +0 -7
- package/dist/calcite/p-cce482e0.js +0 -7
- package/dist/calcite/p-cd10cd2d.js +0 -7
- package/dist/calcite/p-cfc10b9d.js +0 -7
- package/dist/calcite/p-d19f8524.entry.js +0 -7
- package/dist/calcite/p-d1ecb587.entry.js +0 -7
- package/dist/calcite/p-d498aac1.js +0 -7
- package/dist/calcite/p-d4c74813.entry.js +0 -7
- package/dist/calcite/p-d5f2a594.js +0 -7
- package/dist/calcite/p-d64d10cf.entry.js +0 -7
- package/dist/calcite/p-d64d10cf.entry.js.map +0 -1
- package/dist/calcite/p-d744a489.entry.js +0 -7
- package/dist/calcite/p-d8015e7d.js +0 -7
- package/dist/calcite/p-d9498b77.js +0 -7
- package/dist/calcite/p-dcbd0c39.entry.js +0 -7
- package/dist/calcite/p-dcbd0c39.entry.js.map +0 -1
- package/dist/calcite/p-e349aaff.entry.js +0 -7
- package/dist/calcite/p-e492044f.entry.js +0 -7
- package/dist/calcite/p-e5f08b6a.js +0 -7
- package/dist/calcite/p-e7b623cb.js +0 -11
- package/dist/calcite/p-e7e18608.js +0 -7
- package/dist/calcite/p-eb9f8949.entry.js +0 -7
- package/dist/calcite/p-f3bd0dfd.entry.js +0 -7
- package/dist/calcite/p-f5397f1d.entry.js +0 -7
- package/dist/calcite/p-f5eb74cc.js +0 -7
- package/dist/calcite/p-f6611537.entry.js +0 -7
- package/dist/calcite/p-f6a9b682.entry.js +0 -7
- package/dist/calcite/p-f9246458.entry.js +0 -7
- package/dist/calcite/p-f9246458.entry.js.map +0 -1
- package/dist/calcite/p-fbe44f38.js +0 -7
- package/dist/calcite/p-fc91bd08.entry.js +0 -7
- package/dist/calcite/p-fd1e33de.entry.js +0 -7
- package/dist/cjs/ExpandToggle-bc5fe686.js +0 -110
- package/dist/cjs/ExpandToggle-bc5fe686.js.map +0 -1
- package/dist/cjs/FloatingArrow-a0400a1c.js +0 -49
- package/dist/cjs/FloatingArrow-a0400a1c.js.map +0 -1
- package/dist/cjs/Heading-05cdee8f.js +0 -22
- package/dist/cjs/Heading-05cdee8f.js.map +0 -1
- package/dist/cjs/Validation-91f555b1.js +0 -18
- package/dist/cjs/Validation-91f555b1.js.map +0 -1
- package/dist/cjs/app-globals-76b9d9a0.js +0 -61
- package/dist/cjs/app-globals-76b9d9a0.js.map +0 -1
- package/dist/cjs/ar-c7b720f4.js +0 -106
- package/dist/cjs/ar-c7b720f4.js.map +0 -1
- package/dist/cjs/array-f0df3863.js +0 -14
- package/dist/cjs/array-f0df3863.js.map +0 -1
- package/dist/cjs/bg-2c229af4.js +0 -84
- package/dist/cjs/bg-2c229af4.js.map +0 -1
- package/dist/cjs/browser-093dd5a1.js +0 -20
- package/dist/cjs/browser-093dd5a1.js.map +0 -1
- package/dist/cjs/bs-0683b0d7.js +0 -53
- package/dist/cjs/bs-0683b0d7.js.map +0 -1
- package/dist/cjs/ca-35966f7b.js +0 -73
- package/dist/cjs/ca-35966f7b.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04f57909.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04f57909.js.map +0 -1
- package/dist/cjs/component-403f745a.js +0 -30
- package/dist/cjs/component-403f745a.js.map +0 -1
- package/dist/cjs/conditionalSlot-89670585.js +0 -60
- package/dist/cjs/conditionalSlot-89670585.js.map +0 -1
- package/dist/cjs/cs-1c69c415.js +0 -149
- package/dist/cjs/cs-1c69c415.js.map +0 -1
- package/dist/cjs/da-825298c9.js +0 -68
- package/dist/cjs/da-825298c9.js.map +0 -1
- package/dist/cjs/de-5ffef8e1.js +0 -93
- package/dist/cjs/de-5ffef8e1.js.map +0 -1
- package/dist/cjs/de-at-c0e11bc6.js +0 -92
- package/dist/cjs/de-at-c0e11bc6.js.map +0 -1
- package/dist/cjs/de-ch-1a5db253.js +0 -92
- package/dist/cjs/de-ch-1a5db253.js.map +0 -1
- package/dist/cjs/debounce-c82982b1.js +0 -498
- package/dist/cjs/debounce-c82982b1.js.map +0 -1
- package/dist/cjs/dom-c9f94f1a.js +0 -1084
- package/dist/cjs/dom-c9f94f1a.js.map +0 -1
- package/dist/cjs/el-d630f1ae.js +0 -68
- package/dist/cjs/el-d630f1ae.js.map +0 -1
- package/dist/cjs/en-au-82d06c67.js +0 -68
- package/dist/cjs/en-au-82d06c67.js.map +0 -1
- package/dist/cjs/en-ca-e285c811.js +0 -67
- package/dist/cjs/en-ca-e285c811.js.map +0 -1
- package/dist/cjs/en-gb-15b18461.js +0 -71
- package/dist/cjs/en-gb-15b18461.js.map +0 -1
- package/dist/cjs/es-86245cee.js +0 -68
- package/dist/cjs/es-86245cee.js.map +0 -1
- package/dist/cjs/es-mx-d4138756.js +0 -67
- package/dist/cjs/es-mx-d4138756.js.map +0 -1
- package/dist/cjs/et-015e7bb7.js +0 -94
- package/dist/cjs/et-015e7bb7.js.map +0 -1
- package/dist/cjs/fi-be0c4b2d.js +0 -117
- package/dist/cjs/fi-be0c4b2d.js.map +0 -1
- package/dist/cjs/filter-a8136482.js +0 -762
- package/dist/cjs/filter-a8136482.js.map +0 -1
- package/dist/cjs/floating-ui-ed46a376.js +0 -1916
- package/dist/cjs/floating-ui-ed46a376.js.map +0 -1
- package/dist/cjs/focusTrapComponent-5adeba0a.js +0 -1020
- package/dist/cjs/focusTrapComponent-5adeba0a.js.map +0 -1
- package/dist/cjs/form-129ecd92.js +0 -259
- package/dist/cjs/form-129ecd92.js.map +0 -1
- package/dist/cjs/fr-c4976265.js +0 -70
- package/dist/cjs/fr-c4976265.js.map +0 -1
- package/dist/cjs/fr-ch-48ca7b56.js +0 -68
- package/dist/cjs/fr-ch-48ca7b56.js.map +0 -1
- package/dist/cjs/guid-feeaa55c.js +0 -23
- package/dist/cjs/guid-feeaa55c.js.map +0 -1
- package/dist/cjs/he-366766c5.js +0 -107
- package/dist/cjs/he-366766c5.js.map +0 -1
- package/dist/cjs/hi-601c14ca.js +0 -67
- package/dist/cjs/hi-601c14ca.js.map +0 -1
- package/dist/cjs/hr-8e210037.js +0 -82
- package/dist/cjs/hr-8e210037.js.map +0 -1
- package/dist/cjs/hu-9699fcb9.js +0 -90
- package/dist/cjs/hu-9699fcb9.js.map +0 -1
- package/dist/cjs/id-ade5e4a8.js +0 -68
- package/dist/cjs/id-ade5e4a8.js.map +0 -1
- package/dist/cjs/index-015a0bf4.js +0 -208
- package/dist/cjs/index-015a0bf4.js.map +0 -1
- package/dist/cjs/index-41a52553.js +0 -75
- package/dist/cjs/index-41a52553.js.map +0 -1
- package/dist/cjs/index-467d751a.js +0 -2655
- package/dist/cjs/index-467d751a.js.map +0 -1
- package/dist/cjs/interactive-4857cce7.js +0 -141
- package/dist/cjs/interactive-4857cce7.js.map +0 -1
- package/dist/cjs/it-ch-00e120b8.js +0 -68
- package/dist/cjs/it-ch-00e120b8.js.map +0 -1
- package/dist/cjs/it-d5f4228f.js +0 -68
- package/dist/cjs/it-d5f4228f.js.map +0 -1
- package/dist/cjs/ja-bb60d1c9.js +0 -74
- package/dist/cjs/ja-bb60d1c9.js.map +0 -1
- package/dist/cjs/key-313ddeac.js +0 -16
- package/dist/cjs/key-313ddeac.js.map +0 -1
- package/dist/cjs/ko-043bf159.js +0 -74
- package/dist/cjs/ko-043bf159.js.map +0 -1
- package/dist/cjs/label-51668398.js +0 -183
- package/dist/cjs/label-51668398.js.map +0 -1
- package/dist/cjs/loadable-2fd019cf.js +0 -91
- package/dist/cjs/loadable-2fd019cf.js.map +0 -1
- package/dist/cjs/locale-6c8d75e2.js +0 -576
- package/dist/cjs/locale-6c8d75e2.js.map +0 -1
- package/dist/cjs/lt-8bf8bd79.js +0 -99
- package/dist/cjs/lt-8bf8bd79.js.map +0 -1
- package/dist/cjs/lv-e3a4bde5.js +0 -68
- package/dist/cjs/lv-e3a4bde5.js.map +0 -1
- package/dist/cjs/math-198fc383.js +0 -57
- package/dist/cjs/math-198fc383.js.map +0 -1
- package/dist/cjs/mk-039af896.js +0 -68
- package/dist/cjs/mk-039af896.js.map +0 -1
- package/dist/cjs/nb-ca1fde8b.js +0 -69
- package/dist/cjs/nb-ca1fde8b.js.map +0 -1
- package/dist/cjs/nl-bd14266c.js +0 -69
- package/dist/cjs/nl-bd14266c.js.map +0 -1
- package/dist/cjs/observers-6f2be029.js +0 -50
- package/dist/cjs/observers-6f2be029.js.map +0 -1
- package/dist/cjs/openCloseComponent-b8ba529e.js +0 -89
- package/dist/cjs/openCloseComponent-b8ba529e.js.map +0 -1
- package/dist/cjs/pl-8fc8be6b.js +0 -116
- package/dist/cjs/pl-8fc8be6b.js.map +0 -1
- package/dist/cjs/pt-br-e3aa4591.js +0 -67
- package/dist/cjs/pt-br-e3aa4591.js.map +0 -1
- package/dist/cjs/pt-f0e39831.js +0 -69
- package/dist/cjs/pt-f0e39831.js.map +0 -1
- package/dist/cjs/resources-0ae6e6c3.js +0 -29
- package/dist/cjs/resources-0ae6e6c3.js.map +0 -1
- package/dist/cjs/resources-8128ca5f.js +0 -26
- package/dist/cjs/resources-8128ca5f.js.map +0 -1
- package/dist/cjs/resources-a439d520.js +0 -23
- package/dist/cjs/resources-a439d520.js.map +0 -1
- package/dist/cjs/resources-a8eae62b.js +0 -26
- package/dist/cjs/resources-a8eae62b.js.map +0 -1
- package/dist/cjs/resources-c372be7e.js +0 -49
- package/dist/cjs/resources-c372be7e.js.map +0 -1
- package/dist/cjs/resources-d7349180.js +0 -17
- package/dist/cjs/resources-d7349180.js.map +0 -1
- package/dist/cjs/resources-eea3ab47.js +0 -414
- package/dist/cjs/resources-eea3ab47.js.map +0 -1
- package/dist/cjs/ro-9072dfa0.js +0 -68
- package/dist/cjs/ro-9072dfa0.js.map +0 -1
- package/dist/cjs/ru-c847b7b2.js +0 -128
- package/dist/cjs/ru-c847b7b2.js.map +0 -1
- package/dist/cjs/sk-825ae593.js +0 -150
- package/dist/cjs/sk-825ae593.js.map +0 -1
- package/dist/cjs/sl-164a3746.js +0 -170
- package/dist/cjs/sl-164a3746.js.map +0 -1
- package/dist/cjs/sortableComponent-04115a37.js +0 -2739
- package/dist/cjs/sortableComponent-04115a37.js.map +0 -1
- package/dist/cjs/sr-cc973308.js +0 -103
- package/dist/cjs/sr-cc973308.js.map +0 -1
- package/dist/cjs/sv-d50afffa.js +0 -73
- package/dist/cjs/sv-d50afffa.js.map +0 -1
- package/dist/cjs/t9n-aa8f256f.js +0 -97
- package/dist/cjs/t9n-aa8f256f.js.map +0 -1
- package/dist/cjs/th-0080a7c4.js +0 -67
- package/dist/cjs/th-0080a7c4.js.map +0 -1
- package/dist/cjs/throttle-66e969b6.js +0 -77
- package/dist/cjs/throttle-66e969b6.js.map +0 -1
- package/dist/cjs/tr-5c81c9a1.js +0 -68
- package/dist/cjs/tr-5c81c9a1.js.map +0 -1
- package/dist/cjs/uk-859f1c39.js +0 -106
- package/dist/cjs/uk-859f1c39.js.map +0 -1
- package/dist/cjs/utils-9de6e78a.js +0 -218
- package/dist/cjs/utils-9de6e78a.js.map +0 -1
- package/dist/cjs/utils-c61dff27.js +0 -307
- package/dist/cjs/utils-c61dff27.js.map +0 -1
- package/dist/cjs/vi-abbd26c6.js +0 -72
- package/dist/cjs/vi-abbd26c6.js.map +0 -1
- package/dist/cjs/zh-cn-ef9a68fc.js +0 -96
- package/dist/cjs/zh-cn-ef9a68fc.js.map +0 -1
- package/dist/cjs/zh-hk-2005cc4f.js +0 -73
- package/dist/cjs/zh-hk-2005cc4f.js.map +0 -1
- package/dist/cjs/zh-tw-61ed5f35.js +0 -94
- package/dist/cjs/zh-tw-61ed5f35.js.map +0 -1
- package/dist/esm/ExpandToggle-3883d33a.js +0 -102
- package/dist/esm/ExpandToggle-3883d33a.js.map +0 -1
- package/dist/esm/FloatingArrow-4b2e0df2.js +0 -47
- package/dist/esm/FloatingArrow-4b2e0df2.js.map +0 -1
- package/dist/esm/Heading-e59888cb.js +0 -19
- package/dist/esm/Heading-e59888cb.js.map +0 -1
- package/dist/esm/Validation-6b3d149b.js +0 -16
- package/dist/esm/Validation-6b3d149b.js.map +0 -1
- package/dist/esm/app-globals-dba87708.js +0 -59
- package/dist/esm/app-globals-dba87708.js.map +0 -1
- package/dist/esm/ar-196c9a9c.js +0 -104
- package/dist/esm/ar-196c9a9c.js.map +0 -1
- package/dist/esm/array-d5fab76f.js +0 -12
- package/dist/esm/array-d5fab76f.js.map +0 -1
- package/dist/esm/bg-8af42ea8.js +0 -82
- package/dist/esm/bg-8af42ea8.js.map +0 -1
- package/dist/esm/browser-26a794a1.js +0 -18
- package/dist/esm/browser-26a794a1.js.map +0 -1
- package/dist/esm/bs-53ff3efe.js +0 -51
- package/dist/esm/bs-53ff3efe.js.map +0 -1
- package/dist/esm/ca-26efa25e.js +0 -71
- package/dist/esm/ca-26efa25e.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-4772350a.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-4772350a.js.map +0 -1
- package/dist/esm/component-07b18dde.js +0 -27
- package/dist/esm/component-07b18dde.js.map +0 -1
- package/dist/esm/conditionalSlot-ac835461.js +0 -57
- package/dist/esm/conditionalSlot-ac835461.js.map +0 -1
- package/dist/esm/cs-f6402838.js +0 -147
- package/dist/esm/cs-f6402838.js.map +0 -1
- package/dist/esm/da-dded9eca.js +0 -66
- package/dist/esm/da-dded9eca.js.map +0 -1
- package/dist/esm/de-at-70871498.js +0 -90
- package/dist/esm/de-at-70871498.js.map +0 -1
- package/dist/esm/de-b7268d44.js +0 -91
- package/dist/esm/de-b7268d44.js.map +0 -1
- package/dist/esm/de-ch-7b8b0bc7.js +0 -90
- package/dist/esm/de-ch-7b8b0bc7.js.map +0 -1
- package/dist/esm/debounce-cb64023b.js +0 -489
- package/dist/esm/debounce-cb64023b.js.map +0 -1
- package/dist/esm/dom-d282b90f.js +0 -1053
- package/dist/esm/dom-d282b90f.js.map +0 -1
- package/dist/esm/el-4b964458.js +0 -66
- package/dist/esm/el-4b964458.js.map +0 -1
- package/dist/esm/en-au-cafef427.js +0 -66
- package/dist/esm/en-au-cafef427.js.map +0 -1
- package/dist/esm/en-ca-d274030d.js +0 -65
- package/dist/esm/en-ca-d274030d.js.map +0 -1
- package/dist/esm/en-gb-bdfedec5.js +0 -69
- package/dist/esm/en-gb-bdfedec5.js.map +0 -1
- package/dist/esm/es-d2dff55f.js +0 -66
- package/dist/esm/es-d2dff55f.js.map +0 -1
- package/dist/esm/es-mx-ca7fba79.js +0 -65
- package/dist/esm/es-mx-ca7fba79.js.map +0 -1
- package/dist/esm/et-9ebd41ed.js +0 -92
- package/dist/esm/et-9ebd41ed.js.map +0 -1
- package/dist/esm/fi-b593dda7.js +0 -115
- package/dist/esm/fi-b593dda7.js.map +0 -1
- package/dist/esm/filter-07d3b8bc.js +0 -760
- package/dist/esm/filter-07d3b8bc.js.map +0 -1
- package/dist/esm/floating-ui-2a452bd9.js +0 -1908
- package/dist/esm/floating-ui-2a452bd9.js.map +0 -1
- package/dist/esm/focusTrapComponent-ceeda98f.js +0 -1015
- package/dist/esm/focusTrapComponent-ceeda98f.js.map +0 -1
- package/dist/esm/form-39829163.js +0 -250
- package/dist/esm/form-39829163.js.map +0 -1
- package/dist/esm/fr-9c5b6a26.js +0 -68
- package/dist/esm/fr-9c5b6a26.js.map +0 -1
- package/dist/esm/fr-ch-d89d05dd.js +0 -66
- package/dist/esm/fr-ch-d89d05dd.js.map +0 -1
- package/dist/esm/guid-7fc5c30b.js +0 -21
- package/dist/esm/guid-7fc5c30b.js.map +0 -1
- package/dist/esm/he-7d86b96b.js +0 -105
- package/dist/esm/he-7d86b96b.js.map +0 -1
- package/dist/esm/hi-ea4e9d45.js +0 -65
- package/dist/esm/hi-ea4e9d45.js.map +0 -1
- package/dist/esm/hr-cce10a98.js +0 -80
- package/dist/esm/hr-cce10a98.js.map +0 -1
- package/dist/esm/hu-641ea539.js +0 -88
- package/dist/esm/hu-641ea539.js.map +0 -1
- package/dist/esm/id-68927268.js +0 -66
- package/dist/esm/id-68927268.js.map +0 -1
- package/dist/esm/index-8029a5b9.js +0 -2620
- package/dist/esm/index-8029a5b9.js.map +0 -1
- package/dist/esm/index-802f0560.js +0 -73
- package/dist/esm/index-802f0560.js.map +0 -1
- package/dist/esm/index-f60c7222.js +0 -206
- package/dist/esm/index-f60c7222.js.map +0 -1
- package/dist/esm/interactive-522c54ca.js +0 -136
- package/dist/esm/interactive-522c54ca.js.map +0 -1
- package/dist/esm/it-2a5e2e8f.js +0 -66
- package/dist/esm/it-2a5e2e8f.js.map +0 -1
- package/dist/esm/it-ch-6b110bbb.js +0 -66
- package/dist/esm/it-ch-6b110bbb.js.map +0 -1
- package/dist/esm/ja-eea617db.js +0 -72
- package/dist/esm/ja-eea617db.js.map +0 -1
- package/dist/esm/key-04bb7da3.js +0 -13
- package/dist/esm/key-04bb7da3.js.map +0 -1
- package/dist/esm/ko-584a5c65.js +0 -72
- package/dist/esm/ko-584a5c65.js.map +0 -1
- package/dist/esm/label-3e085118.js +0 -176
- package/dist/esm/label-3e085118.js.map +0 -1
- package/dist/esm/loadable-0143ed28.js +0 -86
- package/dist/esm/loadable-0143ed28.js.map +0 -1
- package/dist/esm/locale-f91da001.js +0 -563
- package/dist/esm/locale-f91da001.js.map +0 -1
- package/dist/esm/lt-54827e7a.js +0 -97
- package/dist/esm/lt-54827e7a.js.map +0 -1
- package/dist/esm/lv-76582708.js +0 -66
- package/dist/esm/lv-76582708.js.map +0 -1
- package/dist/esm/math-264f8a61.js +0 -51
- package/dist/esm/math-264f8a61.js.map +0 -1
- package/dist/esm/mk-c291e190.js +0 -66
- package/dist/esm/mk-c291e190.js.map +0 -1
- package/dist/esm/nb-9d444759.js +0 -67
- package/dist/esm/nb-9d444759.js.map +0 -1
- package/dist/esm/nl-986aefc5.js +0 -67
- package/dist/esm/nl-986aefc5.js.map +0 -1
- package/dist/esm/observers-7fc58d3f.js +0 -48
- package/dist/esm/observers-7fc58d3f.js.map +0 -1
- package/dist/esm/openCloseComponent-39575110.js +0 -87
- package/dist/esm/openCloseComponent-39575110.js.map +0 -1
- package/dist/esm/pl-8df7c5e6.js +0 -114
- package/dist/esm/pl-8df7c5e6.js.map +0 -1
- package/dist/esm/pt-br-a00d7485.js +0 -65
- package/dist/esm/pt-br-a00d7485.js.map +0 -1
- package/dist/esm/pt-dc652dff.js +0 -67
- package/dist/esm/pt-dc652dff.js.map +0 -1
- package/dist/esm/resources-3990274a.js +0 -25
- package/dist/esm/resources-3990274a.js.map +0 -1
- package/dist/esm/resources-4b5555e8.js +0 -45
- package/dist/esm/resources-4b5555e8.js.map +0 -1
- package/dist/esm/resources-518412fc.js +0 -23
- package/dist/esm/resources-518412fc.js.map +0 -1
- package/dist/esm/resources-a7b97c0e.js +0 -19
- package/dist/esm/resources-a7b97c0e.js.map +0 -1
- package/dist/esm/resources-bcd8d7a1.js +0 -17
- package/dist/esm/resources-bcd8d7a1.js.map +0 -1
- package/dist/esm/resources-cca8626f.js +0 -387
- package/dist/esm/resources-cca8626f.js.map +0 -1
- package/dist/esm/resources-e2e92f6d.js +0 -21
- package/dist/esm/resources-e2e92f6d.js.map +0 -1
- package/dist/esm/ro-8a3a71e2.js +0 -66
- package/dist/esm/ro-8a3a71e2.js.map +0 -1
- package/dist/esm/ru-dba343c8.js +0 -126
- package/dist/esm/ru-dba343c8.js.map +0 -1
- package/dist/esm/sk-5ddd6423.js +0 -148
- package/dist/esm/sk-5ddd6423.js.map +0 -1
- package/dist/esm/sl-3693de4d.js +0 -168
- package/dist/esm/sl-3693de4d.js.map +0 -1
- package/dist/esm/sortableComponent-87096fea.js +0 -2735
- package/dist/esm/sortableComponent-87096fea.js.map +0 -1
- package/dist/esm/sr-21a3fdef.js +0 -101
- package/dist/esm/sr-21a3fdef.js.map +0 -1
- package/dist/esm/sv-7fcd64a6.js +0 -71
- package/dist/esm/sv-7fcd64a6.js.map +0 -1
- package/dist/esm/t9n-cadb329c.js +0 -92
- package/dist/esm/t9n-cadb329c.js.map +0 -1
- package/dist/esm/th-89659d03.js +0 -65
- package/dist/esm/th-89659d03.js.map +0 -1
- package/dist/esm/throttle-02ed65e8.js +0 -75
- package/dist/esm/throttle-02ed65e8.js.map +0 -1
- package/dist/esm/tr-a84df6d0.js +0 -66
- package/dist/esm/tr-a84df6d0.js.map +0 -1
- package/dist/esm/uk-2e6ac25d.js +0 -104
- package/dist/esm/uk-2e6ac25d.js.map +0 -1
- package/dist/esm/utils-761d2c0d.js +0 -200
- package/dist/esm/utils-761d2c0d.js.map +0 -1
- package/dist/esm/utils-8508ddc9.js +0 -289
- package/dist/esm/utils-8508ddc9.js.map +0 -1
- package/dist/esm/vi-8dc13e43.js +0 -70
- package/dist/esm/vi-8dc13e43.js.map +0 -1
- package/dist/esm/zh-cn-8e585eb1.js +0 -94
- package/dist/esm/zh-cn-8e585eb1.js.map +0 -1
- package/dist/esm/zh-hk-126c0f49.js +0 -71
- package/dist/esm/zh-hk-126c0f49.js.map +0 -1
- package/dist/esm/zh-tw-8c5be593.js +0 -92
- package/dist/esm/zh-tw-8c5be593.js.map +0 -1
- /package/dist/calcite/{p-0d354313.js.map → p-047ddcc3.js.map} +0 -0
- /package/dist/calcite/{p-191f8564.js.map → p-04e41c9e.js.map} +0 -0
- /package/dist/calcite/{p-24a8a621.js.map → p-0744102f.js.map} +0 -0
- /package/dist/calcite/{p-01e27001.js.map → p-08afd9f9.js.map} +0 -0
- /package/dist/calcite/{p-441a7985.js.map → p-0ab7411f.js.map} +0 -0
- /package/dist/calcite/{p-3319aeba.js.map → p-0add2080.js.map} +0 -0
- /package/dist/calcite/{p-fd1e33de.entry.js.map → p-0b73937f.entry.js.map} +0 -0
- /package/dist/calcite/{p-7eb0eecf.js.map → p-0cfa59ce.js.map} +0 -0
- /package/dist/calcite/{p-38491e3d.entry.js.map → p-0e7d40ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-c3b6e2c6.entry.js.map → p-10464d93.entry.js.map} +0 -0
- /package/dist/calcite/{p-88ea71cc.js.map → p-12b2713a.js.map} +0 -0
- /package/dist/calcite/{p-a9251a39.entry.js.map → p-16e2d2bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5f2a594.js.map → p-191ebaec.js.map} +0 -0
- /package/dist/calcite/{p-492f7e00.entry.js.map → p-1d006482.entry.js.map} +0 -0
- /package/dist/calcite/{p-4cc5710f.js.map → p-231854ac.js.map} +0 -0
- /package/dist/calcite/{p-c013957c.js.map → p-2444441e.js.map} +0 -0
- /package/dist/calcite/{p-52b31092.js.map → p-24f8a3cf.js.map} +0 -0
- /package/dist/calcite/{p-22c39db4.js.map → p-24fe818d.js.map} +0 -0
- /package/dist/calcite/{p-532023dc.entry.js.map → p-2a8a7963.entry.js.map} +0 -0
- /package/dist/calcite/{p-083d300c.js.map → p-2acafed7.js.map} +0 -0
- /package/dist/calcite/{p-315d6fcd.entry.js.map → p-2ba5bb74.entry.js.map} +0 -0
- /package/dist/calcite/{p-d744a489.entry.js.map → p-2baba6ae.entry.js.map} +0 -0
- /package/dist/calcite/{p-43d806c9.js.map → p-2e2f9eb7.js.map} +0 -0
- /package/dist/calcite/{p-4f4a313a.js.map → p-2f8ec7d6.js.map} +0 -0
- /package/dist/calcite/{p-3c6690b6.entry.js.map → p-305d121b.entry.js.map} +0 -0
- /package/dist/calcite/{p-a7d06e9c.js.map → p-31b34f80.js.map} +0 -0
- /package/dist/calcite/{p-8be9b525.js.map → p-32f67500.js.map} +0 -0
- /package/dist/calcite/{p-cd10cd2d.js.map → p-352dbd53.js.map} +0 -0
- /package/dist/calcite/{p-d8015e7d.js.map → p-3541a165.js.map} +0 -0
- /package/dist/calcite/{p-226af1d4.js.map → p-35bbdb70.js.map} +0 -0
- /package/dist/calcite/{p-5dbf0724.js.map → p-36dafdd6.js.map} +0 -0
- /package/dist/calcite/{p-9a69bc6f.js.map → p-39da4cfe.js.map} +0 -0
- /package/dist/calcite/{p-a4843808.js.map → p-3b56f990.js.map} +0 -0
- /package/dist/calcite/{p-b091e8ce.entry.js.map → p-3dd989e0.entry.js.map} +0 -0
- /package/dist/calcite/{p-069d35f7.js.map → p-40ca9289.js.map} +0 -0
- /package/dist/calcite/{p-351e555d.js.map → p-4156a7b7.js.map} +0 -0
- /package/dist/calcite/{p-61cbf2b7.entry.js.map → p-45ae9c67.entry.js.map} +0 -0
- /package/dist/calcite/{p-fc91bd08.entry.js.map → p-47818307.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e5536d1.js.map → p-48b40958.js.map} +0 -0
- /package/dist/calcite/{p-cfc10b9d.js.map → p-4a1fee4f.js.map} +0 -0
- /package/dist/calcite/{p-c7525eed.js.map → p-4c4ceade.js.map} +0 -0
- /package/dist/calcite/{p-28b1bf8d.js.map → p-4f20f8bd.js.map} +0 -0
- /package/dist/calcite/{p-b74720ee.entry.js.map → p-4f412f99.entry.js.map} +0 -0
- /package/dist/calcite/{p-75e3963a.entry.js.map → p-51115c24.entry.js.map} +0 -0
- /package/dist/calcite/{p-15f34ae0.js.map → p-545a2214.js.map} +0 -0
- /package/dist/calcite/{p-8c0c7488.entry.js.map → p-54792766.entry.js.map} +0 -0
- /package/dist/calcite/{p-5259bc1a.js.map → p-55f2b783.js.map} +0 -0
- /package/dist/calcite/{p-98ff07ef.entry.js.map → p-57178418.entry.js.map} +0 -0
- /package/dist/calcite/{p-bcf08d5a.entry.js.map → p-573ec9e5.entry.js.map} +0 -0
- /package/dist/calcite/{p-042dcc72.js.map → p-599494bc.js.map} +0 -0
- /package/dist/calcite/{p-3a04e800.entry.js.map → p-5abc41da.entry.js.map} +0 -0
- /package/dist/calcite/{p-f5eb74cc.js.map → p-5b78e823.js.map} +0 -0
- /package/dist/calcite/{p-f5397f1d.entry.js.map → p-5e2f88f6.entry.js.map} +0 -0
- /package/dist/calcite/{p-f3bd0dfd.entry.js.map → p-5e832882.entry.js.map} +0 -0
- /package/dist/calcite/{p-d9498b77.js.map → p-5ed56a65.js.map} +0 -0
- /package/dist/calcite/{p-d1ecb587.entry.js.map → p-5f65fbce.entry.js.map} +0 -0
- /package/dist/calcite/{p-6ea58ffc.js.map → p-5f96c5c5.js.map} +0 -0
- /package/dist/calcite/{p-e492044f.entry.js.map → p-6143f46b.entry.js.map} +0 -0
- /package/dist/calcite/{p-bc732f2b.js.map → p-6217d2be.js.map} +0 -0
- /package/dist/calcite/{p-7b5b949e.entry.js.map → p-637401ce.entry.js.map} +0 -0
- /package/dist/calcite/{p-3edbcdef.js.map → p-63bd8a4b.js.map} +0 -0
- /package/dist/calcite/{p-a61d5b6b.entry.js.map → p-6ab1663b.entry.js.map} +0 -0
- /package/dist/calcite/{p-c49082db.entry.js.map → p-6eedb384.entry.js.map} +0 -0
- /package/dist/calcite/{p-4db80d75.js.map → p-712a1aa1.js.map} +0 -0
- /package/dist/calcite/{p-e7e18608.js.map → p-713b3d75.js.map} +0 -0
- /package/dist/calcite/{p-bda916c6.entry.js.map → p-731d7d1f.entry.js.map} +0 -0
- /package/dist/calcite/{p-43b9611a.entry.js.map → p-7fd0dcc7.entry.js.map} +0 -0
- /package/dist/calcite/{p-2ae3c8da.js.map → p-81a9398a.js.map} +0 -0
- /package/dist/calcite/{p-9ce72e23.js.map → p-829fc24d.js.map} +0 -0
- /package/dist/calcite/{p-f6a9b682.entry.js.map → p-833b4a95.entry.js.map} +0 -0
- /package/dist/calcite/{p-a0b15b29.entry.js.map → p-85d73a32.entry.js.map} +0 -0
- /package/dist/calcite/{p-3461c1b3.js.map → p-860f2840.js.map} +0 -0
- /package/dist/calcite/{p-23b02e85.js.map → p-875bbc2f.js.map} +0 -0
- /package/dist/calcite/{p-44d77eba.entry.js.map → p-88747575.entry.js.map} +0 -0
- /package/dist/calcite/{p-72c62825.js.map → p-89a90437.js.map} +0 -0
- /package/dist/calcite/{p-fbe44f38.js.map → p-8a8ea00b.js.map} +0 -0
- /package/dist/calcite/{p-785ff44f.js.map → p-931b5c91.js.map} +0 -0
- /package/dist/calcite/{p-492208d1.js.map → p-944e4b97.js.map} +0 -0
- /package/dist/calcite/{p-b834f34f.js.map → p-9aaa5fe6.js.map} +0 -0
- /package/dist/calcite/{p-400c9dee.entry.js.map → p-9babed90.entry.js.map} +0 -0
- /package/dist/calcite/{p-07048945.js.map → p-9ca66781.js.map} +0 -0
- /package/dist/calcite/{p-183a9c28.js.map → p-9d3b22e9.js.map} +0 -0
- /package/dist/calcite/{p-1c92799b.js.map → p-a0b0cfdb.js.map} +0 -0
- /package/dist/calcite/{p-f6611537.entry.js.map → p-a198a446.entry.js.map} +0 -0
- /package/dist/calcite/{p-21a2a804.entry.js.map → p-a2170dc0.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb9f8949.entry.js.map → p-a2e744a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-25e4781b.js.map → p-aa66dd0e.js.map} +0 -0
- /package/dist/calcite/{p-a6244361.entry.js.map → p-ab480c69.entry.js.map} +0 -0
- /package/dist/calcite/{p-c1d364bb.js.map → p-ad133460.js.map} +0 -0
- /package/dist/calcite/{p-955d486e.js.map → p-ad94293e.js.map} +0 -0
- /package/dist/calcite/{p-3e3993ee.entry.js.map → p-afbe2995.entry.js.map} +0 -0
- /package/dist/calcite/{p-b2ed75cb.js.map → p-b109f717.js.map} +0 -0
- /package/dist/calcite/{p-a40c4453.entry.js.map → p-b1dc29c2.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bd9206e.js.map → p-b4b11e80.js.map} +0 -0
- /package/dist/calcite/{p-615be89e.js.map → p-b684cc58.js.map} +0 -0
- /package/dist/calcite/{p-d19f8524.entry.js.map → p-b902c2d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-bba4a8f2.entry.js.map → p-b92982e7.entry.js.map} +0 -0
- /package/dist/calcite/{p-adb66945.entry.js.map → p-bb239243.entry.js.map} +0 -0
- /package/dist/calcite/{p-e7b623cb.js.map → p-bc66cfed.js.map} +0 -0
- /package/dist/calcite/{p-7c8ab1fd.entry.js.map → p-bc807243.entry.js.map} +0 -0
- /package/dist/calcite/{p-678e9c3e.js.map → p-bd42f48e.js.map} +0 -0
- /package/dist/calcite/{p-879eafa2.entry.js.map → p-bd51f50e.entry.js.map} +0 -0
- /package/dist/calcite/{p-05c2e11d.js.map → p-bf6c55d0.js.map} +0 -0
- /package/dist/calcite/{p-b9afde4f.js.map → p-c150ca30.js.map} +0 -0
- /package/dist/calcite/{p-08e76785.entry.js.map → p-c166c258.entry.js.map} +0 -0
- /package/dist/calcite/{p-5b02457f.entry.js.map → p-c5960eff.entry.js.map} +0 -0
- /package/dist/calcite/{p-ba3fac85.entry.js.map → p-c7f026d0.entry.js.map} +0 -0
- /package/dist/calcite/{p-3fb628bc.js.map → p-c954a299.js.map} +0 -0
- /package/dist/calcite/{p-c547fc9f.entry.js.map → p-c9f5da49.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4c74813.entry.js.map → p-cb2852e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-3d29047e.entry.js.map → p-cbba7c58.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e9bb857.js.map → p-cd86b221.js.map} +0 -0
- /package/dist/calcite/{p-c5fe7582.entry.js.map → p-cda14f95.entry.js.map} +0 -0
- /package/dist/calcite/{p-d498aac1.js.map → p-cdc3ea29.js.map} +0 -0
- /package/dist/calcite/{p-6d8f79e5.js.map → p-ced65efd.js.map} +0 -0
- /package/dist/calcite/{p-7862e63e.js.map → p-d0b722d8.js.map} +0 -0
- /package/dist/calcite/{p-1ed3f502.entry.js.map → p-d1b4cec0.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1d4577b.entry.js.map → p-d1b77a1f.entry.js.map} +0 -0
- /package/dist/calcite/{p-cce482e0.js.map → p-d2d8b5ab.js.map} +0 -0
- /package/dist/calcite/{p-05250022.js.map → p-d32ccd2e.js.map} +0 -0
- /package/dist/calcite/{p-6dfbcf2a.js.map → p-d372edf0.js.map} +0 -0
- /package/dist/calcite/{p-6b8c213b.entry.js.map → p-d4b3b7d3.entry.js.map} +0 -0
- /package/dist/calcite/{p-6940e72f.js.map → p-d6a917f2.js.map} +0 -0
- /package/dist/calcite/{p-3a782824.entry.js.map → p-d6fa4961.entry.js.map} +0 -0
- /package/dist/calcite/{p-0f722a53.js.map → p-daf57fbf.js.map} +0 -0
- /package/dist/calcite/{p-6f426979.js.map → p-dcd13701.js.map} +0 -0
- /package/dist/calcite/{p-87f3d47a.js.map → p-dee112be.js.map} +0 -0
- /package/dist/calcite/{p-b890ad8e.js.map → p-e26c29c9.js.map} +0 -0
- /package/dist/calcite/{p-07093d44.entry.js.map → p-e4a68590.entry.js.map} +0 -0
- /package/dist/calcite/{p-bfa42e22.entry.js.map → p-e9e06519.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ffe4b1c.entry.js.map → p-eaa876a0.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e90d0c0.js.map → p-ebac7c85.js.map} +0 -0
- /package/dist/calcite/{p-2c8885e6.entry.js.map → p-ec97ffd4.entry.js.map} +0 -0
- /package/dist/calcite/{p-3bc76b63.js.map → p-f073261c.js.map} +0 -0
- /package/dist/calcite/{p-0f4cfc69.js.map → p-f0ba8d69.js.map} +0 -0
- /package/dist/calcite/{p-c636137d.js.map → p-f14a70da.js.map} +0 -0
- /package/dist/calcite/{p-3790acc7.js.map → p-f17847fa.js.map} +0 -0
- /package/dist/calcite/{p-28eb7a25.js.map → p-f372733e.js.map} +0 -0
- /package/dist/calcite/{p-e349aaff.entry.js.map → p-f397c03e.entry.js.map} +0 -0
- /package/dist/calcite/{p-5208ddbc.js.map → p-f3b5799b.js.map} +0 -0
- /package/dist/calcite/{p-5cb04fbd.js.map → p-f452516d.js.map} +0 -0
- /package/dist/calcite/{p-b1eb93f9.js.map → p-fa7ba8b6.js.map} +0 -0
- /package/dist/calcite/{p-69518f34.js.map → p-fd3a39b9.js.map} +0 -0
- /package/dist/calcite/{p-5e0900d2.js.map → p-fd8656d2.js.map} +0 -0
- /package/dist/calcite/{p-bc118bbf.js.map → p-fe4141bc.js.map} +0 -0
- /package/dist/calcite/{p-c6a64222.entry.js.map → p-fe73630a.entry.js.map} +0 -0
- /package/dist/calcite/{p-e5f08b6a.js.map → p-fea51e11.js.map} +0 -0
- /package/dist/calcite/{p-b2df25c5.js.map → p-ffc07b09.js.map} +0 -0
- /package/dist/calcite/{p-39234a3e.entry.js.map → p-fffd0a52.entry.js.map} +0 -0
|
@@ -0,0 +1,1916 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.2.0-next.14
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const dom = require('./dom-721914ec.js');
|
|
9
|
+
const debounce = require('./debounce-4b736087.js');
|
|
10
|
+
|
|
11
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
12
|
+
const alignments = ['start', 'end'];
|
|
13
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
14
|
+
const min = Math.min;
|
|
15
|
+
const max = Math.max;
|
|
16
|
+
const round = Math.round;
|
|
17
|
+
const floor = Math.floor;
|
|
18
|
+
const createCoords = v => ({
|
|
19
|
+
x: v,
|
|
20
|
+
y: v
|
|
21
|
+
});
|
|
22
|
+
const oppositeSideMap = {
|
|
23
|
+
left: 'right',
|
|
24
|
+
right: 'left',
|
|
25
|
+
bottom: 'top',
|
|
26
|
+
top: 'bottom'
|
|
27
|
+
};
|
|
28
|
+
const oppositeAlignmentMap = {
|
|
29
|
+
start: 'end',
|
|
30
|
+
end: 'start'
|
|
31
|
+
};
|
|
32
|
+
function clamp(start, value, end) {
|
|
33
|
+
return max(start, min(value, end));
|
|
34
|
+
}
|
|
35
|
+
function evaluate(value, param) {
|
|
36
|
+
return typeof value === 'function' ? value(param) : value;
|
|
37
|
+
}
|
|
38
|
+
function getSide(placement) {
|
|
39
|
+
return placement.split('-')[0];
|
|
40
|
+
}
|
|
41
|
+
function getAlignment(placement) {
|
|
42
|
+
return placement.split('-')[1];
|
|
43
|
+
}
|
|
44
|
+
function getOppositeAxis(axis) {
|
|
45
|
+
return axis === 'x' ? 'y' : 'x';
|
|
46
|
+
}
|
|
47
|
+
function getAxisLength(axis) {
|
|
48
|
+
return axis === 'y' ? 'height' : 'width';
|
|
49
|
+
}
|
|
50
|
+
function getSideAxis(placement) {
|
|
51
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
52
|
+
}
|
|
53
|
+
function getAlignmentAxis(placement) {
|
|
54
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
55
|
+
}
|
|
56
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
57
|
+
if (rtl === void 0) {
|
|
58
|
+
rtl = false;
|
|
59
|
+
}
|
|
60
|
+
const alignment = getAlignment(placement);
|
|
61
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
62
|
+
const length = getAxisLength(alignmentAxis);
|
|
63
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
64
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
65
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
66
|
+
}
|
|
67
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
68
|
+
}
|
|
69
|
+
function getExpandedPlacements(placement) {
|
|
70
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
71
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
72
|
+
}
|
|
73
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
74
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
75
|
+
}
|
|
76
|
+
function getSideList(side, isStart, rtl) {
|
|
77
|
+
const lr = ['left', 'right'];
|
|
78
|
+
const rl = ['right', 'left'];
|
|
79
|
+
const tb = ['top', 'bottom'];
|
|
80
|
+
const bt = ['bottom', 'top'];
|
|
81
|
+
switch (side) {
|
|
82
|
+
case 'top':
|
|
83
|
+
case 'bottom':
|
|
84
|
+
if (rtl) return isStart ? rl : lr;
|
|
85
|
+
return isStart ? lr : rl;
|
|
86
|
+
case 'left':
|
|
87
|
+
case 'right':
|
|
88
|
+
return isStart ? tb : bt;
|
|
89
|
+
default:
|
|
90
|
+
return [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
94
|
+
const alignment = getAlignment(placement);
|
|
95
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
96
|
+
if (alignment) {
|
|
97
|
+
list = list.map(side => side + "-" + alignment);
|
|
98
|
+
if (flipAlignment) {
|
|
99
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return list;
|
|
103
|
+
}
|
|
104
|
+
function getOppositePlacement(placement) {
|
|
105
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
106
|
+
}
|
|
107
|
+
function expandPaddingObject(padding) {
|
|
108
|
+
return {
|
|
109
|
+
top: 0,
|
|
110
|
+
right: 0,
|
|
111
|
+
bottom: 0,
|
|
112
|
+
left: 0,
|
|
113
|
+
...padding
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function getPaddingObject(padding) {
|
|
117
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
118
|
+
top: padding,
|
|
119
|
+
right: padding,
|
|
120
|
+
bottom: padding,
|
|
121
|
+
left: padding
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function rectToClientRect(rect) {
|
|
125
|
+
return {
|
|
126
|
+
...rect,
|
|
127
|
+
top: rect.y,
|
|
128
|
+
left: rect.x,
|
|
129
|
+
right: rect.x + rect.width,
|
|
130
|
+
bottom: rect.y + rect.height
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
135
|
+
let {
|
|
136
|
+
reference,
|
|
137
|
+
floating
|
|
138
|
+
} = _ref;
|
|
139
|
+
const sideAxis = getSideAxis(placement);
|
|
140
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
141
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
142
|
+
const side = getSide(placement);
|
|
143
|
+
const isVertical = sideAxis === 'y';
|
|
144
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
145
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
146
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
147
|
+
let coords;
|
|
148
|
+
switch (side) {
|
|
149
|
+
case 'top':
|
|
150
|
+
coords = {
|
|
151
|
+
x: commonX,
|
|
152
|
+
y: reference.y - floating.height
|
|
153
|
+
};
|
|
154
|
+
break;
|
|
155
|
+
case 'bottom':
|
|
156
|
+
coords = {
|
|
157
|
+
x: commonX,
|
|
158
|
+
y: reference.y + reference.height
|
|
159
|
+
};
|
|
160
|
+
break;
|
|
161
|
+
case 'right':
|
|
162
|
+
coords = {
|
|
163
|
+
x: reference.x + reference.width,
|
|
164
|
+
y: commonY
|
|
165
|
+
};
|
|
166
|
+
break;
|
|
167
|
+
case 'left':
|
|
168
|
+
coords = {
|
|
169
|
+
x: reference.x - floating.width,
|
|
170
|
+
y: commonY
|
|
171
|
+
};
|
|
172
|
+
break;
|
|
173
|
+
default:
|
|
174
|
+
coords = {
|
|
175
|
+
x: reference.x,
|
|
176
|
+
y: reference.y
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
switch (getAlignment(placement)) {
|
|
180
|
+
case 'start':
|
|
181
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
182
|
+
break;
|
|
183
|
+
case 'end':
|
|
184
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
return coords;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
192
|
+
* next to a reference element when it is given a certain positioning strategy.
|
|
193
|
+
*
|
|
194
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
195
|
+
* write one for the platform you are using Floating UI with.
|
|
196
|
+
*/
|
|
197
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
198
|
+
const {
|
|
199
|
+
placement = 'bottom',
|
|
200
|
+
strategy = 'absolute',
|
|
201
|
+
middleware = [],
|
|
202
|
+
platform
|
|
203
|
+
} = config;
|
|
204
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
205
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
206
|
+
let rects = await platform.getElementRects({
|
|
207
|
+
reference,
|
|
208
|
+
floating,
|
|
209
|
+
strategy
|
|
210
|
+
});
|
|
211
|
+
let {
|
|
212
|
+
x,
|
|
213
|
+
y
|
|
214
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
215
|
+
let statefulPlacement = placement;
|
|
216
|
+
let middlewareData = {};
|
|
217
|
+
let resetCount = 0;
|
|
218
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
219
|
+
const {
|
|
220
|
+
name,
|
|
221
|
+
fn
|
|
222
|
+
} = validMiddleware[i];
|
|
223
|
+
const {
|
|
224
|
+
x: nextX,
|
|
225
|
+
y: nextY,
|
|
226
|
+
data,
|
|
227
|
+
reset
|
|
228
|
+
} = await fn({
|
|
229
|
+
x,
|
|
230
|
+
y,
|
|
231
|
+
initialPlacement: placement,
|
|
232
|
+
placement: statefulPlacement,
|
|
233
|
+
strategy,
|
|
234
|
+
middlewareData,
|
|
235
|
+
rects,
|
|
236
|
+
platform,
|
|
237
|
+
elements: {
|
|
238
|
+
reference,
|
|
239
|
+
floating
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
x = nextX != null ? nextX : x;
|
|
243
|
+
y = nextY != null ? nextY : y;
|
|
244
|
+
middlewareData = {
|
|
245
|
+
...middlewareData,
|
|
246
|
+
[name]: {
|
|
247
|
+
...middlewareData[name],
|
|
248
|
+
...data
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
if (reset && resetCount <= 50) {
|
|
252
|
+
resetCount++;
|
|
253
|
+
if (typeof reset === 'object') {
|
|
254
|
+
if (reset.placement) {
|
|
255
|
+
statefulPlacement = reset.placement;
|
|
256
|
+
}
|
|
257
|
+
if (reset.rects) {
|
|
258
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
259
|
+
reference,
|
|
260
|
+
floating,
|
|
261
|
+
strategy
|
|
262
|
+
}) : reset.rects;
|
|
263
|
+
}
|
|
264
|
+
({
|
|
265
|
+
x,
|
|
266
|
+
y
|
|
267
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
268
|
+
}
|
|
269
|
+
i = -1;
|
|
270
|
+
continue;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return {
|
|
274
|
+
x,
|
|
275
|
+
y,
|
|
276
|
+
placement: statefulPlacement,
|
|
277
|
+
strategy,
|
|
278
|
+
middlewareData
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
284
|
+
* element is overflowing a given clipping boundary on each side.
|
|
285
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
286
|
+
* - negative = how many pixels left before it will overflow
|
|
287
|
+
* - 0 = lies flush with the boundary
|
|
288
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
289
|
+
*/
|
|
290
|
+
async function detectOverflow(state, options) {
|
|
291
|
+
var _await$platform$isEle;
|
|
292
|
+
if (options === void 0) {
|
|
293
|
+
options = {};
|
|
294
|
+
}
|
|
295
|
+
const {
|
|
296
|
+
x,
|
|
297
|
+
y,
|
|
298
|
+
platform,
|
|
299
|
+
rects,
|
|
300
|
+
elements,
|
|
301
|
+
strategy
|
|
302
|
+
} = state;
|
|
303
|
+
const {
|
|
304
|
+
boundary = 'clippingAncestors',
|
|
305
|
+
rootBoundary = 'viewport',
|
|
306
|
+
elementContext = 'floating',
|
|
307
|
+
altBoundary = false,
|
|
308
|
+
padding = 0
|
|
309
|
+
} = evaluate(options, state);
|
|
310
|
+
const paddingObject = getPaddingObject(padding);
|
|
311
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
312
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
313
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
314
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
315
|
+
boundary,
|
|
316
|
+
rootBoundary,
|
|
317
|
+
strategy
|
|
318
|
+
}));
|
|
319
|
+
const rect = elementContext === 'floating' ? {
|
|
320
|
+
...rects.floating,
|
|
321
|
+
x,
|
|
322
|
+
y
|
|
323
|
+
} : rects.reference;
|
|
324
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
325
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
326
|
+
x: 1,
|
|
327
|
+
y: 1
|
|
328
|
+
} : {
|
|
329
|
+
x: 1,
|
|
330
|
+
y: 1
|
|
331
|
+
};
|
|
332
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
333
|
+
rect,
|
|
334
|
+
offsetParent,
|
|
335
|
+
strategy
|
|
336
|
+
}) : rect);
|
|
337
|
+
return {
|
|
338
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
339
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
340
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
341
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Provides data to position an inner element of the floating element so that it
|
|
347
|
+
* appears centered to the reference element.
|
|
348
|
+
* @see https://floating-ui.com/docs/arrow
|
|
349
|
+
*/
|
|
350
|
+
const arrow = options => ({
|
|
351
|
+
name: 'arrow',
|
|
352
|
+
options,
|
|
353
|
+
async fn(state) {
|
|
354
|
+
const {
|
|
355
|
+
x,
|
|
356
|
+
y,
|
|
357
|
+
placement,
|
|
358
|
+
rects,
|
|
359
|
+
platform,
|
|
360
|
+
elements,
|
|
361
|
+
middlewareData
|
|
362
|
+
} = state;
|
|
363
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
364
|
+
const {
|
|
365
|
+
element,
|
|
366
|
+
padding = 0
|
|
367
|
+
} = evaluate(options, state) || {};
|
|
368
|
+
if (element == null) {
|
|
369
|
+
return {};
|
|
370
|
+
}
|
|
371
|
+
const paddingObject = getPaddingObject(padding);
|
|
372
|
+
const coords = {
|
|
373
|
+
x,
|
|
374
|
+
y
|
|
375
|
+
};
|
|
376
|
+
const axis = getAlignmentAxis(placement);
|
|
377
|
+
const length = getAxisLength(axis);
|
|
378
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
379
|
+
const isYAxis = axis === 'y';
|
|
380
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
381
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
382
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
383
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
384
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
385
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
386
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
387
|
+
|
|
388
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
389
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
390
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
391
|
+
}
|
|
392
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
393
|
+
|
|
394
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
395
|
+
// centered, modify the padding so that it is centered.
|
|
396
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
397
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
398
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
399
|
+
|
|
400
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
401
|
+
// point is outside the floating element's bounds.
|
|
402
|
+
const min$1 = minPadding;
|
|
403
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
404
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
405
|
+
const offset = clamp(min$1, center, max);
|
|
406
|
+
|
|
407
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
408
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
409
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
410
|
+
// a single reset is performed when this is true.
|
|
411
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
412
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
413
|
+
return {
|
|
414
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
415
|
+
data: {
|
|
416
|
+
[axis]: offset,
|
|
417
|
+
centerOffset: center - offset - alignmentOffset,
|
|
418
|
+
...(shouldAddOffset && {
|
|
419
|
+
alignmentOffset
|
|
420
|
+
})
|
|
421
|
+
},
|
|
422
|
+
reset: shouldAddOffset
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
428
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
429
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
430
|
+
if (alignment) {
|
|
431
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
432
|
+
}
|
|
433
|
+
return true;
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
438
|
+
* that has the most space available automatically, without needing to specify a
|
|
439
|
+
* preferred placement. Alternative to `flip`.
|
|
440
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
441
|
+
*/
|
|
442
|
+
const autoPlacement = function (options) {
|
|
443
|
+
if (options === void 0) {
|
|
444
|
+
options = {};
|
|
445
|
+
}
|
|
446
|
+
return {
|
|
447
|
+
name: 'autoPlacement',
|
|
448
|
+
options,
|
|
449
|
+
async fn(state) {
|
|
450
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
451
|
+
const {
|
|
452
|
+
rects,
|
|
453
|
+
middlewareData,
|
|
454
|
+
placement,
|
|
455
|
+
platform,
|
|
456
|
+
elements
|
|
457
|
+
} = state;
|
|
458
|
+
const {
|
|
459
|
+
crossAxis = false,
|
|
460
|
+
alignment,
|
|
461
|
+
allowedPlacements = placements,
|
|
462
|
+
autoAlignment = true,
|
|
463
|
+
...detectOverflowOptions
|
|
464
|
+
} = evaluate(options, state);
|
|
465
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
466
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
467
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
468
|
+
const currentPlacement = placements$1[currentIndex];
|
|
469
|
+
if (currentPlacement == null) {
|
|
470
|
+
return {};
|
|
471
|
+
}
|
|
472
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
473
|
+
|
|
474
|
+
// Make `computeCoords` start from the right place.
|
|
475
|
+
if (placement !== currentPlacement) {
|
|
476
|
+
return {
|
|
477
|
+
reset: {
|
|
478
|
+
placement: placements$1[0]
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
483
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
484
|
+
placement: currentPlacement,
|
|
485
|
+
overflows: currentOverflows
|
|
486
|
+
}];
|
|
487
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
488
|
+
|
|
489
|
+
// There are more placements to check.
|
|
490
|
+
if (nextPlacement) {
|
|
491
|
+
return {
|
|
492
|
+
data: {
|
|
493
|
+
index: currentIndex + 1,
|
|
494
|
+
overflows: allOverflows
|
|
495
|
+
},
|
|
496
|
+
reset: {
|
|
497
|
+
placement: nextPlacement
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
502
|
+
const alignment = getAlignment(d.placement);
|
|
503
|
+
return [d.placement, alignment && crossAxis ?
|
|
504
|
+
// Check along the mainAxis and main crossAxis side.
|
|
505
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
506
|
+
// Check only the mainAxis.
|
|
507
|
+
d.overflows[0], d.overflows];
|
|
508
|
+
}).sort((a, b) => a[1] - b[1]);
|
|
509
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
510
|
+
// Aligned placements should not check their opposite crossAxis
|
|
511
|
+
// side.
|
|
512
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
513
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
514
|
+
if (resetPlacement !== placement) {
|
|
515
|
+
return {
|
|
516
|
+
data: {
|
|
517
|
+
index: currentIndex + 1,
|
|
518
|
+
overflows: allOverflows
|
|
519
|
+
},
|
|
520
|
+
reset: {
|
|
521
|
+
placement: resetPlacement
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
return {};
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
532
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
533
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
534
|
+
* @see https://floating-ui.com/docs/flip
|
|
535
|
+
*/
|
|
536
|
+
const flip = function (options) {
|
|
537
|
+
if (options === void 0) {
|
|
538
|
+
options = {};
|
|
539
|
+
}
|
|
540
|
+
return {
|
|
541
|
+
name: 'flip',
|
|
542
|
+
options,
|
|
543
|
+
async fn(state) {
|
|
544
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
545
|
+
const {
|
|
546
|
+
placement,
|
|
547
|
+
middlewareData,
|
|
548
|
+
rects,
|
|
549
|
+
initialPlacement,
|
|
550
|
+
platform,
|
|
551
|
+
elements
|
|
552
|
+
} = state;
|
|
553
|
+
const {
|
|
554
|
+
mainAxis: checkMainAxis = true,
|
|
555
|
+
crossAxis: checkCrossAxis = true,
|
|
556
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
557
|
+
fallbackStrategy = 'bestFit',
|
|
558
|
+
fallbackAxisSideDirection = 'none',
|
|
559
|
+
flipAlignment = true,
|
|
560
|
+
...detectOverflowOptions
|
|
561
|
+
} = evaluate(options, state);
|
|
562
|
+
|
|
563
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
564
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
565
|
+
// work.
|
|
566
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
567
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
568
|
+
return {};
|
|
569
|
+
}
|
|
570
|
+
const side = getSide(placement);
|
|
571
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
572
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
573
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
574
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
575
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
576
|
+
}
|
|
577
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
578
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
579
|
+
const overflows = [];
|
|
580
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
581
|
+
if (checkMainAxis) {
|
|
582
|
+
overflows.push(overflow[side]);
|
|
583
|
+
}
|
|
584
|
+
if (checkCrossAxis) {
|
|
585
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
586
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
587
|
+
}
|
|
588
|
+
overflowsData = [...overflowsData, {
|
|
589
|
+
placement,
|
|
590
|
+
overflows
|
|
591
|
+
}];
|
|
592
|
+
|
|
593
|
+
// One or more sides is overflowing.
|
|
594
|
+
if (!overflows.every(side => side <= 0)) {
|
|
595
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
596
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
597
|
+
const nextPlacement = placements[nextIndex];
|
|
598
|
+
if (nextPlacement) {
|
|
599
|
+
// Try next placement and re-run the lifecycle.
|
|
600
|
+
return {
|
|
601
|
+
data: {
|
|
602
|
+
index: nextIndex,
|
|
603
|
+
overflows: overflowsData
|
|
604
|
+
},
|
|
605
|
+
reset: {
|
|
606
|
+
placement: nextPlacement
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
612
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
613
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
614
|
+
|
|
615
|
+
// Otherwise fallback.
|
|
616
|
+
if (!resetPlacement) {
|
|
617
|
+
switch (fallbackStrategy) {
|
|
618
|
+
case 'bestFit':
|
|
619
|
+
{
|
|
620
|
+
var _overflowsData$map$so;
|
|
621
|
+
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
|
622
|
+
if (placement) {
|
|
623
|
+
resetPlacement = placement;
|
|
624
|
+
}
|
|
625
|
+
break;
|
|
626
|
+
}
|
|
627
|
+
case 'initialPlacement':
|
|
628
|
+
resetPlacement = initialPlacement;
|
|
629
|
+
break;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
if (placement !== resetPlacement) {
|
|
633
|
+
return {
|
|
634
|
+
reset: {
|
|
635
|
+
placement: resetPlacement
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return {};
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
function getSideOffsets(overflow, rect) {
|
|
646
|
+
return {
|
|
647
|
+
top: overflow.top - rect.height,
|
|
648
|
+
right: overflow.right - rect.width,
|
|
649
|
+
bottom: overflow.bottom - rect.height,
|
|
650
|
+
left: overflow.left - rect.width
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
function isAnySideFullyClipped(overflow) {
|
|
654
|
+
return sides.some(side => overflow[side] >= 0);
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
658
|
+
* when it is not in the same clipping context as the reference element.
|
|
659
|
+
* @see https://floating-ui.com/docs/hide
|
|
660
|
+
*/
|
|
661
|
+
const hide = function (options) {
|
|
662
|
+
if (options === void 0) {
|
|
663
|
+
options = {};
|
|
664
|
+
}
|
|
665
|
+
return {
|
|
666
|
+
name: 'hide',
|
|
667
|
+
options,
|
|
668
|
+
async fn(state) {
|
|
669
|
+
const {
|
|
670
|
+
rects
|
|
671
|
+
} = state;
|
|
672
|
+
const {
|
|
673
|
+
strategy = 'referenceHidden',
|
|
674
|
+
...detectOverflowOptions
|
|
675
|
+
} = evaluate(options, state);
|
|
676
|
+
switch (strategy) {
|
|
677
|
+
case 'referenceHidden':
|
|
678
|
+
{
|
|
679
|
+
const overflow = await detectOverflow(state, {
|
|
680
|
+
...detectOverflowOptions,
|
|
681
|
+
elementContext: 'reference'
|
|
682
|
+
});
|
|
683
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
|
684
|
+
return {
|
|
685
|
+
data: {
|
|
686
|
+
referenceHiddenOffsets: offsets,
|
|
687
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
case 'escaped':
|
|
692
|
+
{
|
|
693
|
+
const overflow = await detectOverflow(state, {
|
|
694
|
+
...detectOverflowOptions,
|
|
695
|
+
altBoundary: true
|
|
696
|
+
});
|
|
697
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
|
698
|
+
return {
|
|
699
|
+
data: {
|
|
700
|
+
escapedOffsets: offsets,
|
|
701
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
default:
|
|
706
|
+
{
|
|
707
|
+
return {};
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
715
|
+
// Derivable.
|
|
716
|
+
async function convertValueToCoords(state, options) {
|
|
717
|
+
const {
|
|
718
|
+
placement,
|
|
719
|
+
platform,
|
|
720
|
+
elements
|
|
721
|
+
} = state;
|
|
722
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
723
|
+
const side = getSide(placement);
|
|
724
|
+
const alignment = getAlignment(placement);
|
|
725
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
726
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
727
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
728
|
+
const rawValue = evaluate(options, state);
|
|
729
|
+
|
|
730
|
+
// eslint-disable-next-line prefer-const
|
|
731
|
+
let {
|
|
732
|
+
mainAxis,
|
|
733
|
+
crossAxis,
|
|
734
|
+
alignmentAxis
|
|
735
|
+
} = typeof rawValue === 'number' ? {
|
|
736
|
+
mainAxis: rawValue,
|
|
737
|
+
crossAxis: 0,
|
|
738
|
+
alignmentAxis: null
|
|
739
|
+
} : {
|
|
740
|
+
mainAxis: 0,
|
|
741
|
+
crossAxis: 0,
|
|
742
|
+
alignmentAxis: null,
|
|
743
|
+
...rawValue
|
|
744
|
+
};
|
|
745
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
746
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
747
|
+
}
|
|
748
|
+
return isVertical ? {
|
|
749
|
+
x: crossAxis * crossAxisMulti,
|
|
750
|
+
y: mainAxis * mainAxisMulti
|
|
751
|
+
} : {
|
|
752
|
+
x: mainAxis * mainAxisMulti,
|
|
753
|
+
y: crossAxis * crossAxisMulti
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Modifies the placement by translating the floating element along the
|
|
759
|
+
* specified axes.
|
|
760
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
761
|
+
* object may be passed.
|
|
762
|
+
* @see https://floating-ui.com/docs/offset
|
|
763
|
+
*/
|
|
764
|
+
const offset = function (options) {
|
|
765
|
+
if (options === void 0) {
|
|
766
|
+
options = 0;
|
|
767
|
+
}
|
|
768
|
+
return {
|
|
769
|
+
name: 'offset',
|
|
770
|
+
options,
|
|
771
|
+
async fn(state) {
|
|
772
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
773
|
+
const {
|
|
774
|
+
x,
|
|
775
|
+
y,
|
|
776
|
+
placement,
|
|
777
|
+
middlewareData
|
|
778
|
+
} = state;
|
|
779
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
780
|
+
|
|
781
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
782
|
+
// then we don't need to change the positioning coordinates.
|
|
783
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
784
|
+
return {};
|
|
785
|
+
}
|
|
786
|
+
return {
|
|
787
|
+
x: x + diffCoords.x,
|
|
788
|
+
y: y + diffCoords.y,
|
|
789
|
+
data: {
|
|
790
|
+
...diffCoords,
|
|
791
|
+
placement
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
800
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
801
|
+
* @see https://floating-ui.com/docs/shift
|
|
802
|
+
*/
|
|
803
|
+
const shift = function (options) {
|
|
804
|
+
if (options === void 0) {
|
|
805
|
+
options = {};
|
|
806
|
+
}
|
|
807
|
+
return {
|
|
808
|
+
name: 'shift',
|
|
809
|
+
options,
|
|
810
|
+
async fn(state) {
|
|
811
|
+
const {
|
|
812
|
+
x,
|
|
813
|
+
y,
|
|
814
|
+
placement
|
|
815
|
+
} = state;
|
|
816
|
+
const {
|
|
817
|
+
mainAxis: checkMainAxis = true,
|
|
818
|
+
crossAxis: checkCrossAxis = false,
|
|
819
|
+
limiter = {
|
|
820
|
+
fn: _ref => {
|
|
821
|
+
let {
|
|
822
|
+
x,
|
|
823
|
+
y
|
|
824
|
+
} = _ref;
|
|
825
|
+
return {
|
|
826
|
+
x,
|
|
827
|
+
y
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
...detectOverflowOptions
|
|
832
|
+
} = evaluate(options, state);
|
|
833
|
+
const coords = {
|
|
834
|
+
x,
|
|
835
|
+
y
|
|
836
|
+
};
|
|
837
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
838
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
839
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
840
|
+
let mainAxisCoord = coords[mainAxis];
|
|
841
|
+
let crossAxisCoord = coords[crossAxis];
|
|
842
|
+
if (checkMainAxis) {
|
|
843
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
844
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
845
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
846
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
847
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
848
|
+
}
|
|
849
|
+
if (checkCrossAxis) {
|
|
850
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
851
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
852
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
853
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
854
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
855
|
+
}
|
|
856
|
+
const limitedCoords = limiter.fn({
|
|
857
|
+
...state,
|
|
858
|
+
[mainAxis]: mainAxisCoord,
|
|
859
|
+
[crossAxis]: crossAxisCoord
|
|
860
|
+
});
|
|
861
|
+
return {
|
|
862
|
+
...limitedCoords,
|
|
863
|
+
data: {
|
|
864
|
+
x: limitedCoords.x - x,
|
|
865
|
+
y: limitedCoords.y - y
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
function getNodeName(node) {
|
|
873
|
+
if (isNode(node)) {
|
|
874
|
+
return (node.nodeName || '').toLowerCase();
|
|
875
|
+
}
|
|
876
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
877
|
+
// returning `#document` an infinite loop won't occur.
|
|
878
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
879
|
+
return '#document';
|
|
880
|
+
}
|
|
881
|
+
function getWindow(node) {
|
|
882
|
+
var _node$ownerDocument;
|
|
883
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
884
|
+
}
|
|
885
|
+
function getDocumentElement(node) {
|
|
886
|
+
var _ref;
|
|
887
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
888
|
+
}
|
|
889
|
+
function isNode(value) {
|
|
890
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
891
|
+
}
|
|
892
|
+
function isElement(value) {
|
|
893
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
894
|
+
}
|
|
895
|
+
function isHTMLElement(value) {
|
|
896
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
897
|
+
}
|
|
898
|
+
function isShadowRoot(value) {
|
|
899
|
+
// Browsers without `ShadowRoot` support.
|
|
900
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
901
|
+
return false;
|
|
902
|
+
}
|
|
903
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
904
|
+
}
|
|
905
|
+
function isOverflowElement(element) {
|
|
906
|
+
const {
|
|
907
|
+
overflow,
|
|
908
|
+
overflowX,
|
|
909
|
+
overflowY,
|
|
910
|
+
display
|
|
911
|
+
} = getComputedStyle$1(element);
|
|
912
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
913
|
+
}
|
|
914
|
+
function isTableElement(element) {
|
|
915
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
916
|
+
}
|
|
917
|
+
function isContainingBlock(element) {
|
|
918
|
+
const webkit = isWebKit();
|
|
919
|
+
const css = getComputedStyle$1(element);
|
|
920
|
+
|
|
921
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
922
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
923
|
+
}
|
|
924
|
+
function getContainingBlock(element) {
|
|
925
|
+
let currentNode = getParentNode(element);
|
|
926
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
927
|
+
if (isContainingBlock(currentNode)) {
|
|
928
|
+
return currentNode;
|
|
929
|
+
} else {
|
|
930
|
+
currentNode = getParentNode(currentNode);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
return null;
|
|
934
|
+
}
|
|
935
|
+
function isWebKit() {
|
|
936
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
937
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
938
|
+
}
|
|
939
|
+
function isLastTraversableNode(node) {
|
|
940
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
941
|
+
}
|
|
942
|
+
function getComputedStyle$1(element) {
|
|
943
|
+
return getWindow(element).getComputedStyle(element);
|
|
944
|
+
}
|
|
945
|
+
function getNodeScroll(element) {
|
|
946
|
+
if (isElement(element)) {
|
|
947
|
+
return {
|
|
948
|
+
scrollLeft: element.scrollLeft,
|
|
949
|
+
scrollTop: element.scrollTop
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
return {
|
|
953
|
+
scrollLeft: element.pageXOffset,
|
|
954
|
+
scrollTop: element.pageYOffset
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
function getParentNode(node) {
|
|
958
|
+
if (getNodeName(node) === 'html') {
|
|
959
|
+
return node;
|
|
960
|
+
}
|
|
961
|
+
const result =
|
|
962
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
963
|
+
node.assignedSlot ||
|
|
964
|
+
// DOM Element detected.
|
|
965
|
+
node.parentNode ||
|
|
966
|
+
// ShadowRoot detected.
|
|
967
|
+
isShadowRoot(node) && node.host ||
|
|
968
|
+
// Fallback.
|
|
969
|
+
getDocumentElement(node);
|
|
970
|
+
return isShadowRoot(result) ? result.host : result;
|
|
971
|
+
}
|
|
972
|
+
function getNearestOverflowAncestor(node) {
|
|
973
|
+
const parentNode = getParentNode(node);
|
|
974
|
+
if (isLastTraversableNode(parentNode)) {
|
|
975
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
976
|
+
}
|
|
977
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
978
|
+
return parentNode;
|
|
979
|
+
}
|
|
980
|
+
return getNearestOverflowAncestor(parentNode);
|
|
981
|
+
}
|
|
982
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
983
|
+
var _node$ownerDocument2;
|
|
984
|
+
if (list === void 0) {
|
|
985
|
+
list = [];
|
|
986
|
+
}
|
|
987
|
+
if (traverseIframes === void 0) {
|
|
988
|
+
traverseIframes = true;
|
|
989
|
+
}
|
|
990
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
991
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
992
|
+
const win = getWindow(scrollableAncestor);
|
|
993
|
+
if (isBody) {
|
|
994
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
995
|
+
}
|
|
996
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
function getCssDimensions(element) {
|
|
1000
|
+
const css = getComputedStyle$1(element);
|
|
1001
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1002
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1003
|
+
let width = parseFloat(css.width) || 0;
|
|
1004
|
+
let height = parseFloat(css.height) || 0;
|
|
1005
|
+
const hasOffset = isHTMLElement(element);
|
|
1006
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1007
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1008
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1009
|
+
if (shouldFallback) {
|
|
1010
|
+
width = offsetWidth;
|
|
1011
|
+
height = offsetHeight;
|
|
1012
|
+
}
|
|
1013
|
+
return {
|
|
1014
|
+
width,
|
|
1015
|
+
height,
|
|
1016
|
+
$: shouldFallback
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
function unwrapElement(element) {
|
|
1021
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
function getScale(element) {
|
|
1025
|
+
const domElement = unwrapElement(element);
|
|
1026
|
+
if (!isHTMLElement(domElement)) {
|
|
1027
|
+
return createCoords(1);
|
|
1028
|
+
}
|
|
1029
|
+
const rect = domElement.getBoundingClientRect();
|
|
1030
|
+
const {
|
|
1031
|
+
width,
|
|
1032
|
+
height,
|
|
1033
|
+
$
|
|
1034
|
+
} = getCssDimensions(domElement);
|
|
1035
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1036
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1037
|
+
|
|
1038
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1039
|
+
|
|
1040
|
+
if (!x || !Number.isFinite(x)) {
|
|
1041
|
+
x = 1;
|
|
1042
|
+
}
|
|
1043
|
+
if (!y || !Number.isFinite(y)) {
|
|
1044
|
+
y = 1;
|
|
1045
|
+
}
|
|
1046
|
+
return {
|
|
1047
|
+
x,
|
|
1048
|
+
y
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1053
|
+
function getVisualOffsets(element) {
|
|
1054
|
+
const win = getWindow(element);
|
|
1055
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1056
|
+
return noOffsets;
|
|
1057
|
+
}
|
|
1058
|
+
return {
|
|
1059
|
+
x: win.visualViewport.offsetLeft,
|
|
1060
|
+
y: win.visualViewport.offsetTop
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1064
|
+
if (isFixed === void 0) {
|
|
1065
|
+
isFixed = false;
|
|
1066
|
+
}
|
|
1067
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1068
|
+
return false;
|
|
1069
|
+
}
|
|
1070
|
+
return isFixed;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1074
|
+
if (includeScale === void 0) {
|
|
1075
|
+
includeScale = false;
|
|
1076
|
+
}
|
|
1077
|
+
if (isFixedStrategy === void 0) {
|
|
1078
|
+
isFixedStrategy = false;
|
|
1079
|
+
}
|
|
1080
|
+
const clientRect = element.getBoundingClientRect();
|
|
1081
|
+
const domElement = unwrapElement(element);
|
|
1082
|
+
let scale = createCoords(1);
|
|
1083
|
+
if (includeScale) {
|
|
1084
|
+
if (offsetParent) {
|
|
1085
|
+
if (isElement(offsetParent)) {
|
|
1086
|
+
scale = getScale(offsetParent);
|
|
1087
|
+
}
|
|
1088
|
+
} else {
|
|
1089
|
+
scale = getScale(element);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1093
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1094
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1095
|
+
let width = clientRect.width / scale.x;
|
|
1096
|
+
let height = clientRect.height / scale.y;
|
|
1097
|
+
if (domElement) {
|
|
1098
|
+
const win = getWindow(domElement);
|
|
1099
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1100
|
+
let currentIFrame = win.frameElement;
|
|
1101
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1102
|
+
const iframeScale = getScale(currentIFrame);
|
|
1103
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1104
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1105
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1106
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1107
|
+
x *= iframeScale.x;
|
|
1108
|
+
y *= iframeScale.y;
|
|
1109
|
+
width *= iframeScale.x;
|
|
1110
|
+
height *= iframeScale.y;
|
|
1111
|
+
x += left;
|
|
1112
|
+
y += top;
|
|
1113
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
return rectToClientRect({
|
|
1117
|
+
width,
|
|
1118
|
+
height,
|
|
1119
|
+
x,
|
|
1120
|
+
y
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1125
|
+
let {
|
|
1126
|
+
rect,
|
|
1127
|
+
offsetParent,
|
|
1128
|
+
strategy
|
|
1129
|
+
} = _ref;
|
|
1130
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1131
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1132
|
+
if (offsetParent === documentElement) {
|
|
1133
|
+
return rect;
|
|
1134
|
+
}
|
|
1135
|
+
let scroll = {
|
|
1136
|
+
scrollLeft: 0,
|
|
1137
|
+
scrollTop: 0
|
|
1138
|
+
};
|
|
1139
|
+
let scale = createCoords(1);
|
|
1140
|
+
const offsets = createCoords(0);
|
|
1141
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1142
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1143
|
+
scroll = getNodeScroll(offsetParent);
|
|
1144
|
+
}
|
|
1145
|
+
if (isHTMLElement(offsetParent)) {
|
|
1146
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1147
|
+
scale = getScale(offsetParent);
|
|
1148
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1149
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
return {
|
|
1153
|
+
width: rect.width * scale.x,
|
|
1154
|
+
height: rect.height * scale.y,
|
|
1155
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1156
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
function getClientRects(element) {
|
|
1161
|
+
return Array.from(element.getClientRects());
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
function getWindowScrollBarX(element) {
|
|
1165
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1166
|
+
// incorrect for RTL.
|
|
1167
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1171
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1172
|
+
function getDocumentRect(element) {
|
|
1173
|
+
const html = getDocumentElement(element);
|
|
1174
|
+
const scroll = getNodeScroll(element);
|
|
1175
|
+
const body = element.ownerDocument.body;
|
|
1176
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1177
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1178
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1179
|
+
const y = -scroll.scrollTop;
|
|
1180
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1181
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1182
|
+
}
|
|
1183
|
+
return {
|
|
1184
|
+
width,
|
|
1185
|
+
height,
|
|
1186
|
+
x,
|
|
1187
|
+
y
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
function getViewportRect(element, strategy) {
|
|
1192
|
+
const win = getWindow(element);
|
|
1193
|
+
const html = getDocumentElement(element);
|
|
1194
|
+
const visualViewport = win.visualViewport;
|
|
1195
|
+
let width = html.clientWidth;
|
|
1196
|
+
let height = html.clientHeight;
|
|
1197
|
+
let x = 0;
|
|
1198
|
+
let y = 0;
|
|
1199
|
+
if (visualViewport) {
|
|
1200
|
+
width = visualViewport.width;
|
|
1201
|
+
height = visualViewport.height;
|
|
1202
|
+
const visualViewportBased = isWebKit();
|
|
1203
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1204
|
+
x = visualViewport.offsetLeft;
|
|
1205
|
+
y = visualViewport.offsetTop;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
return {
|
|
1209
|
+
width,
|
|
1210
|
+
height,
|
|
1211
|
+
x,
|
|
1212
|
+
y
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1217
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1218
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1219
|
+
const top = clientRect.top + element.clientTop;
|
|
1220
|
+
const left = clientRect.left + element.clientLeft;
|
|
1221
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1222
|
+
const width = element.clientWidth * scale.x;
|
|
1223
|
+
const height = element.clientHeight * scale.y;
|
|
1224
|
+
const x = left * scale.x;
|
|
1225
|
+
const y = top * scale.y;
|
|
1226
|
+
return {
|
|
1227
|
+
width,
|
|
1228
|
+
height,
|
|
1229
|
+
x,
|
|
1230
|
+
y
|
|
1231
|
+
};
|
|
1232
|
+
}
|
|
1233
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1234
|
+
let rect;
|
|
1235
|
+
if (clippingAncestor === 'viewport') {
|
|
1236
|
+
rect = getViewportRect(element, strategy);
|
|
1237
|
+
} else if (clippingAncestor === 'document') {
|
|
1238
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1239
|
+
} else if (isElement(clippingAncestor)) {
|
|
1240
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1241
|
+
} else {
|
|
1242
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1243
|
+
rect = {
|
|
1244
|
+
...clippingAncestor,
|
|
1245
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1246
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
return rectToClientRect(rect);
|
|
1250
|
+
}
|
|
1251
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1252
|
+
const parentNode = getParentNode(element);
|
|
1253
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1254
|
+
return false;
|
|
1255
|
+
}
|
|
1256
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1260
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1261
|
+
// of the given element up the tree.
|
|
1262
|
+
function getClippingElementAncestors(element, cache) {
|
|
1263
|
+
const cachedResult = cache.get(element);
|
|
1264
|
+
if (cachedResult) {
|
|
1265
|
+
return cachedResult;
|
|
1266
|
+
}
|
|
1267
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1268
|
+
let currentContainingBlockComputedStyle = null;
|
|
1269
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1270
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1271
|
+
|
|
1272
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1273
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1274
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1275
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1276
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1277
|
+
currentContainingBlockComputedStyle = null;
|
|
1278
|
+
}
|
|
1279
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1280
|
+
if (shouldDropCurrentNode) {
|
|
1281
|
+
// Drop non-containing blocks.
|
|
1282
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1283
|
+
} else {
|
|
1284
|
+
// Record last containing block for next iteration.
|
|
1285
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1286
|
+
}
|
|
1287
|
+
currentNode = getParentNode(currentNode);
|
|
1288
|
+
}
|
|
1289
|
+
cache.set(element, result);
|
|
1290
|
+
return result;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1294
|
+
// clipping ancestors.
|
|
1295
|
+
function getClippingRect(_ref) {
|
|
1296
|
+
let {
|
|
1297
|
+
element,
|
|
1298
|
+
boundary,
|
|
1299
|
+
rootBoundary,
|
|
1300
|
+
strategy
|
|
1301
|
+
} = _ref;
|
|
1302
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1303
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1304
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1305
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1306
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1307
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1308
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1309
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1310
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1311
|
+
return accRect;
|
|
1312
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1313
|
+
return {
|
|
1314
|
+
width: clippingRect.right - clippingRect.left,
|
|
1315
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1316
|
+
x: clippingRect.left,
|
|
1317
|
+
y: clippingRect.top
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
function getDimensions(element) {
|
|
1322
|
+
return getCssDimensions(element);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1326
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1327
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1328
|
+
const isFixed = strategy === 'fixed';
|
|
1329
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1330
|
+
let scroll = {
|
|
1331
|
+
scrollLeft: 0,
|
|
1332
|
+
scrollTop: 0
|
|
1333
|
+
};
|
|
1334
|
+
const offsets = createCoords(0);
|
|
1335
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1336
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1337
|
+
scroll = getNodeScroll(offsetParent);
|
|
1338
|
+
}
|
|
1339
|
+
if (isOffsetParentAnElement) {
|
|
1340
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1341
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1342
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1343
|
+
} else if (documentElement) {
|
|
1344
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
return {
|
|
1348
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1349
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1350
|
+
width: rect.width,
|
|
1351
|
+
height: rect.height
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1356
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1357
|
+
return null;
|
|
1358
|
+
}
|
|
1359
|
+
if (polyfill) {
|
|
1360
|
+
return polyfill(element);
|
|
1361
|
+
}
|
|
1362
|
+
return element.offsetParent;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1366
|
+
// such as table ancestors and cross browser bugs.
|
|
1367
|
+
function getOffsetParent(element, polyfill) {
|
|
1368
|
+
const window = getWindow(element);
|
|
1369
|
+
if (!isHTMLElement(element)) {
|
|
1370
|
+
return window;
|
|
1371
|
+
}
|
|
1372
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1373
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1374
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1375
|
+
}
|
|
1376
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1377
|
+
return window;
|
|
1378
|
+
}
|
|
1379
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
const getElementRects = async function (_ref) {
|
|
1383
|
+
let {
|
|
1384
|
+
reference,
|
|
1385
|
+
floating,
|
|
1386
|
+
strategy
|
|
1387
|
+
} = _ref;
|
|
1388
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1389
|
+
const getDimensionsFn = this.getDimensions;
|
|
1390
|
+
return {
|
|
1391
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1392
|
+
floating: {
|
|
1393
|
+
x: 0,
|
|
1394
|
+
y: 0,
|
|
1395
|
+
...(await getDimensionsFn(floating))
|
|
1396
|
+
}
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
function isRTL(element) {
|
|
1401
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
const platform = {
|
|
1405
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1406
|
+
getDocumentElement,
|
|
1407
|
+
getClippingRect,
|
|
1408
|
+
getOffsetParent,
|
|
1409
|
+
getElementRects,
|
|
1410
|
+
getClientRects,
|
|
1411
|
+
getDimensions,
|
|
1412
|
+
getScale,
|
|
1413
|
+
isElement,
|
|
1414
|
+
isRTL
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
// https://samthor.au/2021/observing-dom/
|
|
1418
|
+
function observeMove(element, onMove) {
|
|
1419
|
+
let io = null;
|
|
1420
|
+
let timeoutId;
|
|
1421
|
+
const root = getDocumentElement(element);
|
|
1422
|
+
function cleanup() {
|
|
1423
|
+
clearTimeout(timeoutId);
|
|
1424
|
+
io && io.disconnect();
|
|
1425
|
+
io = null;
|
|
1426
|
+
}
|
|
1427
|
+
function refresh(skip, threshold) {
|
|
1428
|
+
if (skip === void 0) {
|
|
1429
|
+
skip = false;
|
|
1430
|
+
}
|
|
1431
|
+
if (threshold === void 0) {
|
|
1432
|
+
threshold = 1;
|
|
1433
|
+
}
|
|
1434
|
+
cleanup();
|
|
1435
|
+
const {
|
|
1436
|
+
left,
|
|
1437
|
+
top,
|
|
1438
|
+
width,
|
|
1439
|
+
height
|
|
1440
|
+
} = element.getBoundingClientRect();
|
|
1441
|
+
if (!skip) {
|
|
1442
|
+
onMove();
|
|
1443
|
+
}
|
|
1444
|
+
if (!width || !height) {
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
const insetTop = floor(top);
|
|
1448
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1449
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1450
|
+
const insetLeft = floor(left);
|
|
1451
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1452
|
+
const options = {
|
|
1453
|
+
rootMargin,
|
|
1454
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1455
|
+
};
|
|
1456
|
+
let isFirstUpdate = true;
|
|
1457
|
+
function handleObserve(entries) {
|
|
1458
|
+
const ratio = entries[0].intersectionRatio;
|
|
1459
|
+
if (ratio !== threshold) {
|
|
1460
|
+
if (!isFirstUpdate) {
|
|
1461
|
+
return refresh();
|
|
1462
|
+
}
|
|
1463
|
+
if (!ratio) {
|
|
1464
|
+
timeoutId = setTimeout(() => {
|
|
1465
|
+
refresh(false, 1e-7);
|
|
1466
|
+
}, 100);
|
|
1467
|
+
} else {
|
|
1468
|
+
refresh(false, ratio);
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
isFirstUpdate = false;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1475
|
+
// error.
|
|
1476
|
+
try {
|
|
1477
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1478
|
+
...options,
|
|
1479
|
+
// Handle <iframe>s
|
|
1480
|
+
root: root.ownerDocument
|
|
1481
|
+
});
|
|
1482
|
+
} catch (e) {
|
|
1483
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1484
|
+
}
|
|
1485
|
+
io.observe(element);
|
|
1486
|
+
}
|
|
1487
|
+
refresh(true);
|
|
1488
|
+
return cleanup;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1493
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1494
|
+
* visible on the screen.
|
|
1495
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1496
|
+
* removed from the DOM or hidden from the screen.
|
|
1497
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1498
|
+
*/
|
|
1499
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1500
|
+
if (options === void 0) {
|
|
1501
|
+
options = {};
|
|
1502
|
+
}
|
|
1503
|
+
const {
|
|
1504
|
+
ancestorScroll = true,
|
|
1505
|
+
ancestorResize = true,
|
|
1506
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1507
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1508
|
+
animationFrame = false
|
|
1509
|
+
} = options;
|
|
1510
|
+
const referenceEl = unwrapElement(reference);
|
|
1511
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1512
|
+
ancestors.forEach(ancestor => {
|
|
1513
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1514
|
+
passive: true
|
|
1515
|
+
});
|
|
1516
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1517
|
+
});
|
|
1518
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1519
|
+
let reobserveFrame = -1;
|
|
1520
|
+
let resizeObserver = null;
|
|
1521
|
+
if (elementResize) {
|
|
1522
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1523
|
+
let [firstEntry] = _ref;
|
|
1524
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1525
|
+
// Prevent update loops when using the `size` middleware.
|
|
1526
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1527
|
+
resizeObserver.unobserve(floating);
|
|
1528
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1529
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1530
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
update();
|
|
1534
|
+
});
|
|
1535
|
+
if (referenceEl && !animationFrame) {
|
|
1536
|
+
resizeObserver.observe(referenceEl);
|
|
1537
|
+
}
|
|
1538
|
+
resizeObserver.observe(floating);
|
|
1539
|
+
}
|
|
1540
|
+
let frameId;
|
|
1541
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1542
|
+
if (animationFrame) {
|
|
1543
|
+
frameLoop();
|
|
1544
|
+
}
|
|
1545
|
+
function frameLoop() {
|
|
1546
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1547
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1548
|
+
update();
|
|
1549
|
+
}
|
|
1550
|
+
prevRefRect = nextRefRect;
|
|
1551
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1552
|
+
}
|
|
1553
|
+
update();
|
|
1554
|
+
return () => {
|
|
1555
|
+
ancestors.forEach(ancestor => {
|
|
1556
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1557
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1558
|
+
});
|
|
1559
|
+
cleanupIo && cleanupIo();
|
|
1560
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1561
|
+
resizeObserver = null;
|
|
1562
|
+
if (animationFrame) {
|
|
1563
|
+
cancelAnimationFrame(frameId);
|
|
1564
|
+
}
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1570
|
+
* next to a reference element when it is given a certain CSS positioning
|
|
1571
|
+
* strategy.
|
|
1572
|
+
*/
|
|
1573
|
+
const computePosition = (reference, floating, options) => {
|
|
1574
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1575
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1576
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1577
|
+
const cache = new Map();
|
|
1578
|
+
const mergedOptions = {
|
|
1579
|
+
platform,
|
|
1580
|
+
...options
|
|
1581
|
+
};
|
|
1582
|
+
const platformWithCache = {
|
|
1583
|
+
...mergedOptions.platform,
|
|
1584
|
+
_c: cache
|
|
1585
|
+
};
|
|
1586
|
+
return computePosition$1(reference, floating, {
|
|
1587
|
+
...mergedOptions,
|
|
1588
|
+
platform: platformWithCache
|
|
1589
|
+
});
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1593
|
+
function offsetParent(element) {
|
|
1594
|
+
return offsetParentPolyfill(element);
|
|
1595
|
+
}
|
|
1596
|
+
function flatTreeParent(element) {
|
|
1597
|
+
if (element.assignedSlot) {
|
|
1598
|
+
return element.assignedSlot;
|
|
1599
|
+
}
|
|
1600
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
1601
|
+
return element.parentNode.host;
|
|
1602
|
+
}
|
|
1603
|
+
return element.parentNode;
|
|
1604
|
+
}
|
|
1605
|
+
function offsetParentPolyfill(element) {
|
|
1606
|
+
// Do an initial walk to check for display:none ancestors.
|
|
1607
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1608
|
+
if (!(ancestor instanceof Element)) {
|
|
1609
|
+
continue;
|
|
1610
|
+
}
|
|
1611
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
1612
|
+
return null;
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1616
|
+
if (!(ancestor instanceof Element)) {
|
|
1617
|
+
continue;
|
|
1618
|
+
}
|
|
1619
|
+
const style = getComputedStyle(ancestor);
|
|
1620
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1621
|
+
if (style.display === 'contents') {
|
|
1622
|
+
continue;
|
|
1623
|
+
}
|
|
1624
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1625
|
+
return ancestor;
|
|
1626
|
+
}
|
|
1627
|
+
if (ancestor.tagName === 'BODY') {
|
|
1628
|
+
return ancestor;
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
return null;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1635
|
+
{
|
|
1636
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1637
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1638
|
+
}
|
|
1639
|
+
})();
|
|
1640
|
+
function roundByDPR(value) {
|
|
1641
|
+
const dpr = window.devicePixelRatio || 1;
|
|
1642
|
+
return Math.round(value * dpr) / dpr;
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Positions the floating element relative to the reference element.
|
|
1646
|
+
*
|
|
1647
|
+
* **Note:** exported for testing purposes only
|
|
1648
|
+
*
|
|
1649
|
+
* @param root0
|
|
1650
|
+
* @param root0.referenceEl
|
|
1651
|
+
* @param root0.floatingEl
|
|
1652
|
+
* @param root0.overlayPositioning
|
|
1653
|
+
* @param root0.placement
|
|
1654
|
+
* @param root0.flipDisabled
|
|
1655
|
+
* @param root0.flipPlacements
|
|
1656
|
+
* @param root0.offsetDistance
|
|
1657
|
+
* @param root0.offsetSkidding
|
|
1658
|
+
* @param root0.arrowEl
|
|
1659
|
+
* @param root0.type
|
|
1660
|
+
* @param component
|
|
1661
|
+
* @param root0.referenceEl.referenceEl
|
|
1662
|
+
* @param root0.referenceEl.floatingEl
|
|
1663
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1664
|
+
* @param root0.referenceEl.placement
|
|
1665
|
+
* @param root0.referenceEl.flipDisabled
|
|
1666
|
+
* @param root0.referenceEl.flipPlacements
|
|
1667
|
+
* @param root0.referenceEl.offsetDistance
|
|
1668
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1669
|
+
* @param root0.referenceEl.arrowEl
|
|
1670
|
+
* @param root0.referenceEl.type
|
|
1671
|
+
* @param component.referenceEl
|
|
1672
|
+
* @param component.floatingEl
|
|
1673
|
+
* @param component.overlayPositioning
|
|
1674
|
+
* @param component.placement
|
|
1675
|
+
* @param component.flipDisabled
|
|
1676
|
+
* @param component.flipPlacements
|
|
1677
|
+
* @param component.offsetDistance
|
|
1678
|
+
* @param component.offsetSkidding
|
|
1679
|
+
* @param component.arrowEl
|
|
1680
|
+
* @param component.type
|
|
1681
|
+
*/
|
|
1682
|
+
const positionFloatingUI =
|
|
1683
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1684
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1685
|
+
if (!referenceEl || !floatingEl) {
|
|
1686
|
+
return null;
|
|
1687
|
+
}
|
|
1688
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1689
|
+
strategy: overlayPositioning,
|
|
1690
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1691
|
+
? undefined
|
|
1692
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1693
|
+
middleware: getMiddleware({
|
|
1694
|
+
placement,
|
|
1695
|
+
flipDisabled,
|
|
1696
|
+
flipPlacements,
|
|
1697
|
+
offsetDistance,
|
|
1698
|
+
offsetSkidding,
|
|
1699
|
+
arrowEl,
|
|
1700
|
+
type,
|
|
1701
|
+
}),
|
|
1702
|
+
});
|
|
1703
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1704
|
+
const { x, y } = middlewareData.arrow;
|
|
1705
|
+
const side = effectivePlacement.split("-")[0];
|
|
1706
|
+
const alignment = x != null ? "left" : "top";
|
|
1707
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1708
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1709
|
+
if ("floatingLayout" in component) {
|
|
1710
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1711
|
+
}
|
|
1712
|
+
Object.assign(arrowEl.style, {
|
|
1713
|
+
...reset,
|
|
1714
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1715
|
+
[side]: "100%",
|
|
1716
|
+
transform,
|
|
1717
|
+
});
|
|
1718
|
+
}
|
|
1719
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1720
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1721
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1722
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1723
|
+
const { open } = component;
|
|
1724
|
+
Object.assign(floatingEl.style, {
|
|
1725
|
+
visibility,
|
|
1726
|
+
pointerEvents,
|
|
1727
|
+
position,
|
|
1728
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
1729
|
+
top: 0,
|
|
1730
|
+
left: 0,
|
|
1731
|
+
});
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* Exported for testing purposes only
|
|
1735
|
+
*/
|
|
1736
|
+
const placementDataAttribute = "data-placement";
|
|
1737
|
+
/**
|
|
1738
|
+
* Exported for testing purposes only
|
|
1739
|
+
*/
|
|
1740
|
+
const repositionDebounceTimeout = 100;
|
|
1741
|
+
const effectivePlacements = [
|
|
1742
|
+
"top",
|
|
1743
|
+
"bottom",
|
|
1744
|
+
"right",
|
|
1745
|
+
"left",
|
|
1746
|
+
"top-start",
|
|
1747
|
+
"top-end",
|
|
1748
|
+
"bottom-start",
|
|
1749
|
+
"bottom-end",
|
|
1750
|
+
"right-start",
|
|
1751
|
+
"right-end",
|
|
1752
|
+
"left-start",
|
|
1753
|
+
"left-end",
|
|
1754
|
+
];
|
|
1755
|
+
const defaultMenuPlacement = "bottom-start";
|
|
1756
|
+
const FloatingCSS = {
|
|
1757
|
+
animation: "calcite-floating-ui-anim",
|
|
1758
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
1759
|
+
};
|
|
1760
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1761
|
+
const defaultMiddleware = [shift(), hide()];
|
|
1762
|
+
if (type === "menu") {
|
|
1763
|
+
return [
|
|
1764
|
+
...defaultMiddleware,
|
|
1765
|
+
flip({
|
|
1766
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1767
|
+
}),
|
|
1768
|
+
];
|
|
1769
|
+
}
|
|
1770
|
+
if (type === "popover" || type === "tooltip") {
|
|
1771
|
+
const middleware = [
|
|
1772
|
+
...defaultMiddleware,
|
|
1773
|
+
offset({
|
|
1774
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1775
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1776
|
+
}),
|
|
1777
|
+
];
|
|
1778
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1779
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
1780
|
+
}
|
|
1781
|
+
else if (!flipDisabled) {
|
|
1782
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
1783
|
+
}
|
|
1784
|
+
if (arrowEl) {
|
|
1785
|
+
middleware.push(arrow({
|
|
1786
|
+
element: arrowEl,
|
|
1787
|
+
}));
|
|
1788
|
+
}
|
|
1789
|
+
return middleware;
|
|
1790
|
+
}
|
|
1791
|
+
return [];
|
|
1792
|
+
}
|
|
1793
|
+
function filterComputedPlacements(placements, el) {
|
|
1794
|
+
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
|
1795
|
+
if (filteredPlacements.length !== placements.length) {
|
|
1796
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
|
1797
|
+
.map((placement) => `"${placement}"`)
|
|
1798
|
+
.join(", ")
|
|
1799
|
+
.trim()}`, { el });
|
|
1800
|
+
}
|
|
1801
|
+
return filteredPlacements;
|
|
1802
|
+
}
|
|
1803
|
+
function getEffectivePlacement(floatingEl, placement) {
|
|
1804
|
+
const placements = ["left", "right"];
|
|
1805
|
+
if (dom.getElementDir(floatingEl) === "rtl") {
|
|
1806
|
+
placements.reverse();
|
|
1807
|
+
}
|
|
1808
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1812
|
+
*
|
|
1813
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
1814
|
+
*
|
|
1815
|
+
* @param component - A floating-ui component.
|
|
1816
|
+
* @param options - Reposition parameters.
|
|
1817
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1818
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
1819
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
1820
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
1821
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
1822
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
1823
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
1824
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
1825
|
+
* @param options.arrowEl - A customizable arrow element.
|
|
1826
|
+
* @param options.type - The type of floating UI.
|
|
1827
|
+
* @param delayed - Reposition the component after a delay.
|
|
1828
|
+
* @returns {Promise<void>}
|
|
1829
|
+
*/
|
|
1830
|
+
async function reposition(component, options, delayed = false) {
|
|
1831
|
+
if (!component.open) {
|
|
1832
|
+
return;
|
|
1833
|
+
}
|
|
1834
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1835
|
+
return positionFunction(component, options);
|
|
1836
|
+
}
|
|
1837
|
+
function getDebouncedReposition(component) {
|
|
1838
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1839
|
+
if (debounced) {
|
|
1840
|
+
return debounced;
|
|
1841
|
+
}
|
|
1842
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1843
|
+
leading: true,
|
|
1844
|
+
maxWait: repositionDebounceTimeout,
|
|
1845
|
+
});
|
|
1846
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1847
|
+
return debounced;
|
|
1848
|
+
}
|
|
1849
|
+
const ARROW_CSS_TRANSFORM = {
|
|
1850
|
+
top: "",
|
|
1851
|
+
left: "rotate(-90deg)",
|
|
1852
|
+
bottom: "rotate(180deg)",
|
|
1853
|
+
right: "rotate(90deg)",
|
|
1854
|
+
};
|
|
1855
|
+
/**
|
|
1856
|
+
* Exported for testing purposes only
|
|
1857
|
+
*
|
|
1858
|
+
* @internal
|
|
1859
|
+
*/
|
|
1860
|
+
const cleanupMap = new WeakMap();
|
|
1861
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1862
|
+
/**
|
|
1863
|
+
* Helper to set up floating element interactions on connectedCallback.
|
|
1864
|
+
*
|
|
1865
|
+
* @param component - A floating-ui component.
|
|
1866
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1867
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1868
|
+
*/
|
|
1869
|
+
function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
1870
|
+
if (!floatingEl || !referenceEl) {
|
|
1871
|
+
return;
|
|
1872
|
+
}
|
|
1873
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1874
|
+
Object.assign(floatingEl.style, {
|
|
1875
|
+
visibility: "hidden",
|
|
1876
|
+
pointerEvents: "none",
|
|
1877
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1878
|
+
position: component.overlayPositioning,
|
|
1879
|
+
});
|
|
1880
|
+
const runAutoUpdate = autoUpdate
|
|
1881
|
+
;
|
|
1882
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
1886
|
+
*
|
|
1887
|
+
* @param component - A floating-ui component.
|
|
1888
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1889
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1890
|
+
*/
|
|
1891
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
1892
|
+
if (!floatingEl || !referenceEl) {
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1895
|
+
cleanupMap.get(component)?.();
|
|
1896
|
+
cleanupMap.delete(component);
|
|
1897
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1898
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1899
|
+
}
|
|
1900
|
+
const visiblePointerSize = 4;
|
|
1901
|
+
/**
|
|
1902
|
+
* Default offset the position of the floating element away from the reference element.
|
|
1903
|
+
*
|
|
1904
|
+
* @default 6
|
|
1905
|
+
*/
|
|
1906
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1907
|
+
|
|
1908
|
+
exports.FloatingCSS = FloatingCSS;
|
|
1909
|
+
exports.connectFloatingUI = connectFloatingUI;
|
|
1910
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
|
1911
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
|
1912
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
|
1913
|
+
exports.filterComputedPlacements = filterComputedPlacements;
|
|
1914
|
+
exports.reposition = reposition;
|
|
1915
|
+
|
|
1916
|
+
//# sourceMappingURL=floating-ui-3b5362e4.js.map
|