@esri/calcite-components 2.11.1-next.0 → 2.11.1
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/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00c1b2e9.entry.js +7 -0
- package/dist/calcite/p-025a4af2.entry.js +7 -0
- package/dist/calcite/p-064cf0fe.js +7 -0
- package/dist/calcite/p-0738857c.entry.js +7 -0
- package/dist/calcite/p-08e93de1.entry.js +7 -0
- package/dist/calcite/p-09a4f06c.js +7 -0
- package/dist/calcite/p-09bbd9f0.js +7 -0
- package/dist/calcite/p-0bb7e4c2.js +7 -0
- package/dist/calcite/p-0dbcb146.js +7 -0
- package/dist/calcite/p-0e3e2eab.js +7 -0
- package/dist/calcite/p-0e6a32ae.js +11 -0
- package/dist/calcite/p-0fd00ff8.entry.js +7 -0
- package/dist/calcite/p-10de37c6.entry.js +7 -0
- package/dist/calcite/p-11d7701c.js +7 -0
- package/dist/calcite/p-1631c9a7.entry.js +7 -0
- package/dist/calcite/p-16cf8fbe.js +7 -0
- package/dist/calcite/p-170994b5.js +7 -0
- package/dist/calcite/p-17c53383.js +7 -0
- package/dist/calcite/p-180fb587.js +12 -0
- package/dist/calcite/p-189ac509.js +7 -0
- package/dist/calcite/p-1ceeb7cf.entry.js +7 -0
- package/dist/calcite/p-1ed3732f.js +7 -0
- package/dist/calcite/p-1f1957b7.entry.js +7 -0
- package/dist/calcite/p-1fabed91.js +7 -0
- package/dist/calcite/p-209c213f.entry.js +7 -0
- package/dist/calcite/p-258d7aca.entry.js +7 -0
- package/dist/calcite/p-28ea3b97.entry.js +7 -0
- package/dist/calcite/p-29b639c1.js +7 -0
- package/dist/calcite/p-2f24525b.js +7 -0
- package/dist/calcite/p-2fa729c0.entry.js +7 -0
- package/dist/calcite/p-3042eda5.js +7 -0
- package/dist/calcite/p-31660d44.js +7 -0
- package/dist/calcite/p-31a070e7.entry.js +7 -0
- package/dist/calcite/p-337760a5.entry.js +7 -0
- package/dist/calcite/p-33950b37.js +7 -0
- package/dist/calcite/p-33c38b0e.entry.js +7 -0
- package/dist/calcite/p-33c38b0e.entry.js.map +1 -0
- package/dist/calcite/p-374ac837.entry.js +7 -0
- package/dist/calcite/p-375c002a.entry.js +7 -0
- package/dist/calcite/p-3c9a38fe.js +7 -0
- package/dist/calcite/p-3c9a38fe.js.map +1 -0
- package/dist/calcite/p-3edbd1ff.js +7 -0
- package/dist/calcite/p-3ff0784c.entry.js +7 -0
- package/dist/calcite/p-418a0651.entry.js +7 -0
- package/dist/calcite/p-425ff172.entry.js +7 -0
- package/dist/calcite/p-436bb5e2.js +7 -0
- package/dist/calcite/p-4447d3c9.entry.js +7 -0
- package/dist/calcite/p-44e4b4d5.js +7 -0
- package/dist/calcite/p-45ee043a.js +7 -0
- package/dist/calcite/p-472b065f.js +7 -0
- package/dist/calcite/p-478bda8c.entry.js +7 -0
- package/dist/calcite/p-47e6c7f6.entry.js +7 -0
- package/dist/calcite/p-480d71b1.entry.js +7 -0
- package/dist/calcite/p-48758a75.entry.js +7 -0
- package/dist/calcite/p-49ed4a42.js +7 -0
- package/dist/calcite/p-4cc0e90d.js +7 -0
- package/dist/calcite/p-4d64156e.js +7 -0
- package/dist/calcite/p-4f05c5de.js +7 -0
- package/dist/calcite/p-51b0cea5.js +7 -0
- package/dist/calcite/p-52152af5.entry.js +7 -0
- package/dist/calcite/p-5520cfdb.js +7 -0
- package/dist/calcite/p-5788ef6e.entry.js +7 -0
- package/dist/calcite/p-5973a5c1.js +7 -0
- package/dist/calcite/p-5bc66c5c.entry.js +7 -0
- package/dist/calcite/p-5dcb8a70.js +8 -0
- package/dist/calcite/p-5e1b0281.js +7 -0
- package/dist/calcite/p-5e42ef6d.entry.js +7 -0
- package/dist/calcite/p-5ed53b3a.entry.js +7 -0
- package/dist/calcite/p-5fece532.entry.js +7 -0
- package/dist/calcite/p-60d32693.js +7 -0
- package/dist/calcite/p-6384d70a.entry.js +7 -0
- package/dist/calcite/p-66df66b5.js +7 -0
- package/dist/calcite/p-6724454b.entry.js +7 -0
- package/dist/calcite/p-692efd0d.js +7 -0
- package/dist/calcite/p-6bdbf5f7.js +7 -0
- package/dist/calcite/p-6c6716b0.js +7 -0
- package/dist/calcite/p-6e9602bb.js +7 -0
- package/dist/calcite/p-6ecb195b.js +7 -0
- package/dist/calcite/p-73ea479e.entry.js +7 -0
- package/dist/calcite/p-7718f7a6.entry.js +7 -0
- package/dist/calcite/p-7916fe52.entry.js +7 -0
- package/dist/calcite/p-79519f9a.js +7 -0
- package/dist/calcite/p-797ef2b0.js +7 -0
- package/dist/calcite/p-7a4b6d8e.js +7 -0
- package/dist/calcite/p-7ae7b13d.entry.js +7 -0
- package/dist/calcite/p-7bb38e31.entry.js +7 -0
- package/dist/calcite/p-7f6cd4d3.entry.js +7 -0
- package/dist/calcite/p-804d0987.entry.js +7 -0
- package/dist/calcite/p-804d0987.entry.js.map +1 -0
- package/dist/calcite/p-81dbc8c7.js +7 -0
- package/dist/calcite/p-83cf33e8.entry.js +7 -0
- package/dist/calcite/p-857dd084.entry.js +7 -0
- package/dist/calcite/p-857dd084.entry.js.map +1 -0
- package/dist/calcite/p-86cd4976.entry.js +7 -0
- package/dist/calcite/p-876ed35e.js +13 -0
- package/dist/calcite/p-8aebc84a.js +7 -0
- package/dist/calcite/p-8f74745d.js +7 -0
- package/dist/calcite/p-91232549.entry.js +7 -0
- package/dist/calcite/p-92b9792b.entry.js +7 -0
- package/dist/calcite/p-952952fd.entry.js +7 -0
- package/dist/calcite/p-9658e553.js +7 -0
- package/dist/calcite/p-97263497.entry.js +7 -0
- package/dist/calcite/p-9be4d1f7.js +7 -0
- package/dist/calcite/p-a0f0ab60.js +7 -0
- package/dist/calcite/p-a15309cc.js +7 -0
- package/dist/calcite/p-a2327e43.entry.js +7 -0
- package/dist/calcite/p-a3d0257f.entry.js +7 -0
- package/dist/calcite/p-a45b9232.entry.js +7 -0
- package/dist/calcite/p-a611863e.js +7 -0
- package/dist/calcite/p-a687fb5d.js +7 -0
- package/dist/calcite/p-a7174092.js +7 -0
- package/dist/calcite/p-a8db53ad.js +7 -0
- package/dist/calcite/p-a924ead9.entry.js +7 -0
- package/dist/calcite/p-aa1b6efa.js +7 -0
- package/dist/calcite/p-ad383243.entry.js +7 -0
- package/dist/calcite/p-b0e63b2f.entry.js +7 -0
- package/dist/calcite/p-b225a30b.entry.js +7 -0
- package/dist/calcite/p-b22a4da7.js +7 -0
- package/dist/calcite/p-b3754b5e.entry.js +7 -0
- package/dist/calcite/p-b6cae5d5.entry.js +7 -0
- package/dist/calcite/p-b8594f66.js +7 -0
- package/dist/calcite/p-b98bfb3c.js +7 -0
- package/dist/calcite/p-ba8e5072.js +7 -0
- package/dist/calcite/p-bad38bf3.js +7 -0
- package/dist/calcite/p-bc96f168.entry.js +7 -0
- package/dist/calcite/p-be9c24cc.entry.js +7 -0
- package/dist/calcite/p-bede9bf7.entry.js +7 -0
- package/dist/calcite/p-bede9bf7.entry.js.map +1 -0
- package/dist/calcite/p-bf8b7858.js +7 -0
- package/dist/calcite/p-bf97d546.js +7 -0
- package/dist/calcite/p-c1f3c681.js +7 -0
- package/dist/calcite/p-c22a6de0.entry.js +7 -0
- package/dist/calcite/p-c30bab5c.entry.js +7 -0
- package/dist/calcite/p-c30bab5c.entry.js.map +1 -0
- package/dist/calcite/p-c8d95bb8.js +7 -0
- package/dist/calcite/p-cabc49c7.entry.js +7 -0
- package/dist/calcite/p-d0140d57.entry.js +7 -0
- package/dist/calcite/p-d08aeabf.entry.js +7 -0
- package/dist/calcite/p-d1fd90ac.js +7 -0
- package/dist/calcite/p-d2a95f3a.entry.js +7 -0
- package/dist/calcite/p-d436f417.js +7 -0
- package/dist/calcite/p-d61f49b8.js +7 -0
- package/dist/calcite/p-d61f49b8.js.map +1 -0
- package/dist/calcite/p-d6cfcab9.js +7 -0
- package/dist/calcite/p-d73b0af0.entry.js +7 -0
- package/dist/calcite/p-d73b0af0.entry.js.map +1 -0
- package/dist/calcite/p-dab4e6d2.entry.js +7 -0
- package/dist/calcite/p-daef6345.js +7 -0
- package/dist/calcite/p-dde88d02.js +7 -0
- package/dist/calcite/p-de251ab2.entry.js +7 -0
- package/dist/calcite/p-df857db6.js +7 -0
- package/dist/calcite/p-e14bc018.js +7 -0
- package/dist/calcite/p-e2024a5a.js +7 -0
- package/dist/calcite/p-e2024a5a.js.map +1 -0
- package/dist/calcite/p-e283942f.js +7 -0
- package/dist/calcite/p-e2a5640a.entry.js +7 -0
- package/dist/calcite/p-e38f29cd.js +7 -0
- package/dist/calcite/p-e5ac691d.js +7 -0
- package/dist/calcite/p-e6054b5f.js +7 -0
- package/dist/calcite/p-e6737f0c.js +7 -0
- package/dist/calcite/p-e94af5bb.js +7 -0
- package/dist/calcite/p-e9859305.entry.js +7 -0
- package/dist/calcite/p-ea540494.js +7 -0
- package/dist/calcite/p-eb4fde2c.js +7 -0
- package/dist/calcite/p-ee428955.entry.js +7 -0
- package/dist/calcite/p-ef8cc19a.js +7 -0
- package/dist/calcite/p-f09f68ca.js +7 -0
- package/dist/calcite/p-f0de67c1.js +7 -0
- package/dist/calcite/p-f11d3014.js +7 -0
- package/dist/calcite/p-f38ad59b.js +7 -0
- package/dist/calcite/p-f429933e.js +7 -0
- package/dist/calcite/p-f8bfc6ee.entry.js +7 -0
- package/dist/calcite/p-f9240194.js +7 -0
- package/dist/calcite/p-f9934cc1.entry.js +7 -0
- package/dist/calcite/p-fbdfad6a.js +7 -0
- package/dist/calcite/p-fd0590d0.js +7 -0
- package/dist/calcite/p-fdefd82e.entry.js +7 -0
- package/dist/cjs/ExpandToggle-0a38a0b6.js +107 -0
- package/dist/cjs/ExpandToggle-0a38a0b6.js.map +1 -0
- package/dist/cjs/FloatingArrow-a3c2b8d4.js +47 -0
- package/dist/cjs/FloatingArrow-a3c2b8d4.js.map +1 -0
- package/dist/cjs/Heading-dadfce4e.js +22 -0
- package/dist/cjs/Heading-dadfce4e.js.map +1 -0
- package/dist/cjs/Validation-5ef62695.js +18 -0
- package/dist/cjs/Validation-5ef62695.js.map +1 -0
- package/dist/cjs/app-globals-0fd3e46c.js +59 -0
- package/dist/cjs/app-globals-0fd3e46c.js.map +1 -0
- package/dist/cjs/ar-eb410ee5.js +108 -0
- package/dist/cjs/ar-eb410ee5.js.map +1 -0
- package/dist/cjs/array-fe3eadb0.js +14 -0
- package/dist/cjs/array-fe3eadb0.js.map +1 -0
- package/dist/cjs/bg-8dd4cfe2.js +86 -0
- package/dist/cjs/bg-8dd4cfe2.js.map +1 -0
- package/dist/cjs/browser-96c1e586.js +32 -0
- package/dist/cjs/browser-96c1e586.js.map +1 -0
- package/dist/cjs/bs-c2c71ff8.js +55 -0
- package/dist/cjs/bs-c2c71ff8.js.map +1 -0
- package/dist/cjs/ca-23198aae.js +75 -0
- package/dist/cjs/ca-23198aae.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- 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-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +12 -12
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dialog.cjs.entry.js +16 -16
- 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 +5 -5
- 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 +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -23
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6092a403.js +2919 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6092a403.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -22
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +11 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +16 -16
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -6
- 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 +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- 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 +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/component-2eb3df14.js +30 -0
- package/dist/cjs/component-2eb3df14.js.map +1 -0
- package/dist/cjs/conditionalSlot-db87c0c4.js +51 -0
- package/dist/cjs/conditionalSlot-db87c0c4.js.map +1 -0
- package/dist/cjs/config-9160a3d5.js +38 -0
- package/dist/cjs/config-9160a3d5.js.map +1 -0
- package/dist/cjs/core-fe19f9bb.js +22 -0
- package/dist/cjs/core-fe19f9bb.js.map +1 -0
- package/dist/cjs/cs-32bbb582.js +151 -0
- package/dist/cjs/cs-32bbb582.js.map +1 -0
- package/dist/cjs/da-ba931bbe.js +71 -0
- package/dist/cjs/da-ba931bbe.js.map +1 -0
- package/dist/cjs/de-7d7a804e.js +95 -0
- package/dist/cjs/de-7d7a804e.js.map +1 -0
- package/dist/cjs/de-at-354e76aa.js +94 -0
- package/dist/cjs/de-at-354e76aa.js.map +1 -0
- package/dist/cjs/de-ch-13999921.js +94 -0
- package/dist/cjs/de-ch-13999921.js.map +1 -0
- package/dist/cjs/debounce-02cb45f2.js +506 -0
- package/dist/cjs/debounce-02cb45f2.js.map +1 -0
- package/dist/cjs/dom-e152fffa.js +1209 -0
- package/dist/cjs/dom-e152fffa.js.map +1 -0
- package/dist/cjs/el-a5cf5f5b.js +70 -0
- package/dist/cjs/el-a5cf5f5b.js.map +1 -0
- package/dist/cjs/en-au-a8304495.js +70 -0
- package/dist/cjs/en-au-a8304495.js.map +1 -0
- package/dist/cjs/en-ca-43ea3601.js +69 -0
- package/dist/cjs/en-ca-43ea3601.js.map +1 -0
- package/dist/cjs/en-gb-c2f3ef3e.js +73 -0
- package/dist/cjs/en-gb-c2f3ef3e.js.map +1 -0
- package/dist/cjs/es-81bd3777.js +70 -0
- package/dist/cjs/es-81bd3777.js.map +1 -0
- package/dist/cjs/es-mx-8e77bfad.js +69 -0
- package/dist/cjs/es-mx-8e77bfad.js.map +1 -0
- package/dist/cjs/et-a6e45649.js +96 -0
- package/dist/cjs/et-a6e45649.js.map +1 -0
- package/dist/cjs/fi-25c227b9.js +119 -0
- package/dist/cjs/fi-25c227b9.js.map +1 -0
- package/dist/cjs/filter-39d4ba9f.js +775 -0
- package/dist/cjs/filter-39d4ba9f.js.map +1 -0
- package/dist/cjs/floating-ui-21e53e8e.js +2355 -0
- package/dist/cjs/floating-ui-21e53e8e.js.map +1 -0
- package/dist/cjs/focusTrapComponent-b35054cf.js +1015 -0
- package/dist/cjs/focusTrapComponent-b35054cf.js.map +1 -0
- package/dist/cjs/form-df3ec945.js +378 -0
- package/dist/cjs/form-df3ec945.js.map +1 -0
- package/dist/cjs/fr-88a18998.js +72 -0
- package/dist/cjs/fr-88a18998.js.map +1 -0
- package/dist/cjs/fr-ch-2318feac.js +70 -0
- package/dist/cjs/fr-ch-2318feac.js.map +1 -0
- package/dist/cjs/guid-7a52b050.js +23 -0
- package/dist/cjs/guid-7a52b050.js.map +1 -0
- package/dist/cjs/he-8903f514.js +109 -0
- package/dist/cjs/he-8903f514.js.map +1 -0
- package/dist/cjs/hi-719cf474.js +69 -0
- package/dist/cjs/hi-719cf474.js.map +1 -0
- package/dist/cjs/hr-01aafb2e.js +84 -0
- package/dist/cjs/hr-01aafb2e.js.map +1 -0
- package/dist/cjs/hu-6b6adb9c.js +92 -0
- package/dist/cjs/hu-6b6adb9c.js.map +1 -0
- package/dist/cjs/id-bf6dde6a.js +70 -0
- package/dist/cjs/id-bf6dde6a.js.map +1 -0
- package/dist/cjs/index-3899653b.js +75 -0
- package/dist/cjs/index-3899653b.js.map +1 -0
- package/dist/cjs/index-4543e50d.js +208 -0
- package/dist/cjs/index-4543e50d.js.map +1 -0
- package/dist/cjs/index-c1b260cf.js +1978 -0
- package/dist/cjs/index-c1b260cf.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-e467f69c.js +57 -0
- package/dist/cjs/input-e467f69c.js.map +1 -0
- package/dist/cjs/interactive-99ec6bcc.js +166 -0
- package/dist/cjs/interactive-99ec6bcc.js.map +1 -0
- package/dist/cjs/it-58c7d88a.js +70 -0
- package/dist/cjs/it-58c7d88a.js.map +1 -0
- package/dist/cjs/it-ch-eb4e4ccd.js +70 -0
- package/dist/cjs/it-ch-eb4e4ccd.js.map +1 -0
- package/dist/cjs/ja-47bb4d01.js +76 -0
- package/dist/cjs/ja-47bb4d01.js.map +1 -0
- package/dist/cjs/key-5002910e.js +16 -0
- package/dist/cjs/key-5002910e.js.map +1 -0
- package/dist/cjs/ko-47bfdfaa.js +76 -0
- package/dist/cjs/ko-47bfdfaa.js.map +1 -0
- package/dist/cjs/label-3a8548dc.js +183 -0
- package/dist/cjs/label-3a8548dc.js.map +1 -0
- package/dist/cjs/loadable-6d07b70d.js +95 -0
- package/dist/cjs/loadable-6d07b70d.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-cfaa3470.js +576 -0
- package/dist/cjs/locale-cfaa3470.js.map +1 -0
- package/dist/cjs/logger-07f2826f.js +58 -0
- package/dist/cjs/logger-07f2826f.js.map +1 -0
- package/dist/cjs/lt-b38c2ac5.js +101 -0
- package/dist/cjs/lt-b38c2ac5.js.map +1 -0
- package/dist/cjs/lv-a5e6a43b.js +70 -0
- package/dist/cjs/lv-a5e6a43b.js.map +1 -0
- package/dist/cjs/math-3f41f360.js +57 -0
- package/dist/cjs/math-3f41f360.js.map +1 -0
- package/dist/cjs/mk-5a616964.js +70 -0
- package/dist/cjs/mk-5a616964.js.map +1 -0
- package/dist/cjs/nb-087f752c.js +71 -0
- package/dist/cjs/nb-087f752c.js.map +1 -0
- package/dist/cjs/nl-455df506.js +71 -0
- package/dist/cjs/nl-455df506.js.map +1 -0
- package/dist/cjs/observers-a0fa97c5.js +55 -0
- package/dist/cjs/observers-a0fa97c5.js.map +1 -0
- package/dist/cjs/openCloseComponent-d77d2106.js +62 -0
- package/dist/cjs/openCloseComponent-d77d2106.js.map +1 -0
- package/dist/cjs/pl-0d4c99c9.js +118 -0
- package/dist/cjs/pl-0d4c99c9.js.map +1 -0
- package/dist/cjs/pt-a4bc490b.js +71 -0
- package/dist/cjs/pt-a4bc490b.js.map +1 -0
- package/dist/cjs/pt-br-1541ee17.js +69 -0
- package/dist/cjs/pt-br-1541ee17.js.map +1 -0
- package/dist/cjs/resources-092a143d.js +26 -0
- package/dist/cjs/resources-092a143d.js.map +1 -0
- package/dist/cjs/resources-67e687a0.js +36 -0
- package/dist/cjs/resources-67e687a0.js.map +1 -0
- package/dist/cjs/resources-a3591885.js +18 -0
- package/dist/cjs/resources-a3591885.js.map +1 -0
- package/dist/cjs/resources-b8c94808.js +410 -0
- package/dist/cjs/resources-b8c94808.js.map +1 -0
- package/dist/cjs/resources-c875aa0c.js +23 -0
- package/dist/cjs/resources-c875aa0c.js.map +1 -0
- package/dist/cjs/resources-cde7de98.js +26 -0
- package/dist/cjs/resources-cde7de98.js.map +1 -0
- package/dist/cjs/resources-eb6f855e.js +60 -0
- package/dist/cjs/resources-eb6f855e.js.map +1 -0
- package/dist/cjs/ro-b9c98533.js +70 -0
- package/dist/cjs/ro-b9c98533.js.map +1 -0
- package/dist/cjs/ru-25471827.js +130 -0
- package/dist/cjs/ru-25471827.js.map +1 -0
- package/dist/cjs/sk-b3d7c566.js +152 -0
- package/dist/cjs/sk-b3d7c566.js.map +1 -0
- package/dist/cjs/sl-529478b7.js +172 -0
- package/dist/cjs/sl-529478b7.js.map +1 -0
- package/dist/cjs/sortableComponent-262bf86a.js +2745 -0
- package/dist/cjs/sortableComponent-262bf86a.js.map +1 -0
- package/dist/cjs/sr-8bb6a561.js +105 -0
- package/dist/cjs/sr-8bb6a561.js.map +1 -0
- package/dist/cjs/sv-b2c6d1a2.js +75 -0
- package/dist/cjs/sv-b2c6d1a2.js.map +1 -0
- package/dist/cjs/t9n-a3e524d0.js +105 -0
- package/dist/cjs/t9n-a3e524d0.js.map +1 -0
- package/dist/cjs/th-7828d095.js +69 -0
- package/dist/cjs/th-7828d095.js.map +1 -0
- package/dist/cjs/throttle-bd21c748.js +77 -0
- package/dist/cjs/throttle-bd21c748.js.map +1 -0
- package/dist/cjs/tr-930df966.js +70 -0
- package/dist/cjs/tr-930df966.js.map +1 -0
- package/dist/cjs/uk-49818cc7.js +108 -0
- package/dist/cjs/uk-49818cc7.js.map +1 -0
- package/dist/cjs/utils-3c822f22.js +2296 -0
- package/dist/cjs/utils-3c822f22.js.map +1 -0
- package/dist/cjs/utils-56a4428a.js +310 -0
- package/dist/cjs/utils-56a4428a.js.map +1 -0
- package/dist/cjs/vi-4c8cfbb1.js +74 -0
- package/dist/cjs/vi-4c8cfbb1.js.map +1 -0
- package/dist/cjs/zh-cn-218ef411.js +98 -0
- package/dist/cjs/zh-cn-218ef411.js.map +1 -0
- package/dist/cjs/zh-hk-730f7b5e.js +96 -0
- package/dist/cjs/zh-hk-730f7b5e.js.map +1 -0
- package/dist/cjs/zh-tw-c79bfc65.js +96 -0
- package/dist/cjs/zh-tw-c79bfc65.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- 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.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.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.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.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.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.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.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.js +1 -1
- package/dist/collection/components/avatar/resources.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.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.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.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.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.js +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/resources.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- 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.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.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.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.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-day/date-picker-day.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/collection/components/dialog/dialog.js +1 -1
- package/dist/collection/components/dialog/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- 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.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.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.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.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/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.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.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.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/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/input-date-picker/resources.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.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.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.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.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.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.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.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- 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.js +3 -3
- package/dist/collection/components/list-item/list-item.js.map +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.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.js +1 -1
- package/dist/collection/components/loader/resources.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- 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.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.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -5
- 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.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.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.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.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.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +14 -7
- 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.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.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.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.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.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- 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.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.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.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.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.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.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.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.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.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.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.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.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.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.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.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.js +1 -1
- package/dist/collection/components/switch/resources.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- 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.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.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.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.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.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.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.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.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.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.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.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.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- 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.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.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.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.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.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.js +1 -1
- package/dist/collection/index.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/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/logger.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.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/browser.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-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dialog.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 +2 -2
- package/dist/components/calcite-list-item.js.map +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-group.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 +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +4 -4
- package/dist/components/config.js.map +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +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/index.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.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-8c4ccf60.js +100 -0
- package/dist/esm/ExpandToggle-8c4ccf60.js.map +1 -0
- package/dist/esm/FloatingArrow-5121e356.js +45 -0
- package/dist/esm/FloatingArrow-5121e356.js.map +1 -0
- package/dist/esm/Heading-4474d4d6.js +19 -0
- package/dist/esm/Heading-4474d4d6.js.map +1 -0
- package/dist/esm/Validation-2b2afa00.js +16 -0
- package/dist/esm/Validation-2b2afa00.js.map +1 -0
- package/dist/esm/app-globals-fd1186ba.js +57 -0
- package/dist/esm/app-globals-fd1186ba.js.map +1 -0
- package/dist/esm/ar-bf9ccba6.js +106 -0
- package/dist/esm/ar-bf9ccba6.js.map +1 -0
- package/dist/esm/array-4e1139cf.js +12 -0
- package/dist/esm/array-4e1139cf.js.map +1 -0
- package/dist/esm/bg-2cce4f12.js +84 -0
- package/dist/esm/bg-2cce4f12.js.map +1 -0
- package/dist/esm/browser-882a7d50.js +29 -0
- package/dist/esm/browser-882a7d50.js.map +1 -0
- package/dist/esm/bs-2ed43969.js +53 -0
- package/dist/esm/bs-2ed43969.js.map +1 -0
- package/dist/esm/ca-16f7d893.js +73 -0
- package/dist/esm/ca-16f7d893.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +10 -10
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +14 -14
- 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-group.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +12 -12
- package/dist/esm/calcite-carousel_2.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dialog.entry.js +16 -16
- 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 +5 -5
- 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 +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +23 -23
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-60891934.js +2915 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-60891934.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +22 -22
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +16 -16
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +11 -11
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +16 -16
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +19 -19
- package/dist/esm/calcite-popover.entry.js +19 -19
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- 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 +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- 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 +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +8 -8
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +14 -14
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +19 -19
- package/dist/esm/calcite.js +7 -7
- package/dist/esm/component-2556a07f.js +27 -0
- package/dist/esm/component-2556a07f.js.map +1 -0
- package/dist/esm/conditionalSlot-d98ea959.js +48 -0
- package/dist/esm/conditionalSlot-d98ea959.js.map +1 -0
- package/dist/esm/config-73a006c8.js +34 -0
- package/dist/esm/config-73a006c8.js.map +1 -0
- package/dist/esm/core-1a2605ba.js +17 -0
- package/dist/esm/core-1a2605ba.js.map +1 -0
- package/dist/esm/cs-e27f4672.js +149 -0
- package/dist/esm/cs-e27f4672.js.map +1 -0
- package/dist/esm/da-4ba652a0.js +69 -0
- package/dist/esm/da-4ba652a0.js.map +1 -0
- package/dist/esm/de-at-3cc762fe.js +92 -0
- package/dist/esm/de-at-3cc762fe.js.map +1 -0
- package/dist/esm/de-ch-fea2b37c.js +92 -0
- package/dist/esm/de-ch-fea2b37c.js.map +1 -0
- package/dist/esm/de-de63aac6.js +93 -0
- package/dist/esm/de-de63aac6.js.map +1 -0
- package/dist/esm/debounce-cfa8bbee.js +497 -0
- package/dist/esm/debounce-cfa8bbee.js.map +1 -0
- package/dist/esm/dom-09fbb97b.js +1174 -0
- package/dist/esm/dom-09fbb97b.js.map +1 -0
- package/dist/esm/el-01340a00.js +68 -0
- package/dist/esm/el-01340a00.js.map +1 -0
- package/dist/esm/en-au-d1720f15.js +68 -0
- package/dist/esm/en-au-d1720f15.js.map +1 -0
- package/dist/esm/en-ca-f48bb463.js +67 -0
- package/dist/esm/en-ca-f48bb463.js.map +1 -0
- package/dist/esm/en-gb-ef12a252.js +71 -0
- package/dist/esm/en-gb-ef12a252.js.map +1 -0
- package/dist/esm/es-03c575ed.js +68 -0
- package/dist/esm/es-03c575ed.js.map +1 -0
- package/dist/esm/es-mx-b5c8ce3e.js +67 -0
- package/dist/esm/es-mx-b5c8ce3e.js.map +1 -0
- package/dist/esm/et-2e498c48.js +94 -0
- package/dist/esm/et-2e498c48.js.map +1 -0
- package/dist/esm/fi-2a42140f.js +117 -0
- package/dist/esm/fi-2a42140f.js.map +1 -0
- package/dist/esm/filter-bc4c1c5f.js +772 -0
- package/dist/esm/filter-bc4c1c5f.js.map +1 -0
- package/dist/esm/floating-ui-35c9496b.js +2347 -0
- package/dist/esm/floating-ui-35c9496b.js.map +1 -0
- package/dist/esm/focusTrapComponent-71c02b6b.js +1010 -0
- package/dist/esm/focusTrapComponent-71c02b6b.js.map +1 -0
- package/dist/esm/form-58636694.js +369 -0
- package/dist/esm/form-58636694.js.map +1 -0
- package/dist/esm/fr-c7b89694.js +70 -0
- package/dist/esm/fr-c7b89694.js.map +1 -0
- package/dist/esm/fr-ch-7d7ad505.js +68 -0
- package/dist/esm/fr-ch-7d7ad505.js.map +1 -0
- package/dist/esm/guid-0b9a0cd2.js +21 -0
- package/dist/esm/guid-0b9a0cd2.js.map +1 -0
- package/dist/esm/he-a1cfe4b9.js +107 -0
- package/dist/esm/he-a1cfe4b9.js.map +1 -0
- package/dist/esm/hi-318c6c9e.js +67 -0
- package/dist/esm/hi-318c6c9e.js.map +1 -0
- package/dist/esm/hr-b99f03a3.js +82 -0
- package/dist/esm/hr-b99f03a3.js.map +1 -0
- package/dist/esm/hu-291e940c.js +90 -0
- package/dist/esm/hu-291e940c.js.map +1 -0
- package/dist/esm/id-025c5e91.js +68 -0
- package/dist/esm/id-025c5e91.js.map +1 -0
- package/dist/esm/index-92540bcc.js +73 -0
- package/dist/esm/index-92540bcc.js.map +1 -0
- package/dist/esm/index-a1a41e73.js +206 -0
- package/dist/esm/index-a1a41e73.js.map +1 -0
- package/dist/esm/index-c30e949d.js +1943 -0
- package/dist/esm/index-c30e949d.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-d41c4640.js +55 -0
- package/dist/esm/input-d41c4640.js.map +1 -0
- package/dist/esm/interactive-e3c685a6.js +161 -0
- package/dist/esm/interactive-e3c685a6.js.map +1 -0
- package/dist/esm/it-122c4fd6.js +68 -0
- package/dist/esm/it-122c4fd6.js.map +1 -0
- package/dist/esm/it-ch-d16e9fa5.js +68 -0
- package/dist/esm/it-ch-d16e9fa5.js.map +1 -0
- package/dist/esm/ja-5bae5b4c.js +74 -0
- package/dist/esm/ja-5bae5b4c.js.map +1 -0
- package/dist/esm/key-e25f2699.js +13 -0
- package/dist/esm/key-e25f2699.js.map +1 -0
- package/dist/esm/ko-4f16be7e.js +74 -0
- package/dist/esm/ko-4f16be7e.js.map +1 -0
- package/dist/esm/label-b8e3f381.js +176 -0
- package/dist/esm/label-b8e3f381.js.map +1 -0
- package/dist/esm/loadable-d1f77ccd.js +90 -0
- package/dist/esm/loadable-d1f77ccd.js.map +1 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-af9ef857.js +563 -0
- package/dist/esm/locale-af9ef857.js.map +1 -0
- package/dist/esm/logger-31104bdd.js +56 -0
- package/dist/esm/logger-31104bdd.js.map +1 -0
- package/dist/esm/lt-793587d9.js +99 -0
- package/dist/esm/lt-793587d9.js.map +1 -0
- package/dist/esm/lv-a846d81b.js +68 -0
- package/dist/esm/lv-a846d81b.js.map +1 -0
- package/dist/esm/math-881b4240.js +51 -0
- package/dist/esm/math-881b4240.js.map +1 -0
- package/dist/esm/mk-c4e3364b.js +68 -0
- package/dist/esm/mk-c4e3364b.js.map +1 -0
- package/dist/esm/nb-3cb55996.js +69 -0
- package/dist/esm/nb-3cb55996.js.map +1 -0
- package/dist/esm/nl-94b959fd.js +69 -0
- package/dist/esm/nl-94b959fd.js.map +1 -0
- package/dist/esm/observers-8c72fab3.js +53 -0
- package/dist/esm/observers-8c72fab3.js.map +1 -0
- package/dist/esm/openCloseComponent-bb7b1d64.js +60 -0
- package/dist/esm/openCloseComponent-bb7b1d64.js.map +1 -0
- package/dist/esm/pl-174ec39d.js +116 -0
- package/dist/esm/pl-174ec39d.js.map +1 -0
- package/dist/esm/pt-025eb011.js +69 -0
- package/dist/esm/pt-025eb011.js.map +1 -0
- package/dist/esm/pt-br-89b4ad27.js +67 -0
- package/dist/esm/pt-br-89b4ad27.js.map +1 -0
- package/dist/esm/resources-0eee2474.js +19 -0
- package/dist/esm/resources-0eee2474.js.map +1 -0
- package/dist/esm/resources-30f8f880.js +16 -0
- package/dist/esm/resources-30f8f880.js.map +1 -0
- package/dist/esm/resources-65f90490.js +31 -0
- package/dist/esm/resources-65f90490.js.map +1 -0
- package/dist/esm/resources-8e2c182a.js +23 -0
- package/dist/esm/resources-8e2c182a.js.map +1 -0
- package/dist/esm/resources-a7377910.js +56 -0
- package/dist/esm/resources-a7377910.js.map +1 -0
- package/dist/esm/resources-dfb51e83.js +382 -0
- package/dist/esm/resources-dfb51e83.js.map +1 -0
- package/dist/esm/resources-f4b80d24.js +21 -0
- package/dist/esm/resources-f4b80d24.js.map +1 -0
- package/dist/esm/ro-6dafbe74.js +68 -0
- package/dist/esm/ro-6dafbe74.js.map +1 -0
- package/dist/esm/ru-96ee1930.js +128 -0
- package/dist/esm/ru-96ee1930.js.map +1 -0
- package/dist/esm/sk-40910980.js +150 -0
- package/dist/esm/sk-40910980.js.map +1 -0
- package/dist/esm/sl-19a9c347.js +170 -0
- package/dist/esm/sl-19a9c347.js.map +1 -0
- package/dist/esm/sortableComponent-53346f7c.js +2742 -0
- package/dist/esm/sortableComponent-53346f7c.js.map +1 -0
- package/dist/esm/sr-421ab41e.js +103 -0
- package/dist/esm/sr-421ab41e.js.map +1 -0
- package/dist/esm/sv-974fcfd2.js +73 -0
- package/dist/esm/sv-974fcfd2.js.map +1 -0
- package/dist/esm/t9n-835c45e2.js +100 -0
- package/dist/esm/t9n-835c45e2.js.map +1 -0
- package/dist/esm/th-14f40afd.js +67 -0
- package/dist/esm/th-14f40afd.js.map +1 -0
- package/dist/esm/throttle-40ab1f99.js +75 -0
- package/dist/esm/throttle-40ab1f99.js.map +1 -0
- package/dist/esm/tr-028d1328.js +68 -0
- package/dist/esm/tr-028d1328.js.map +1 -0
- package/dist/esm/uk-70a8ba36.js +106 -0
- package/dist/esm/uk-70a8ba36.js.map +1 -0
- package/dist/esm/utils-80d566d9.js +2266 -0
- package/dist/esm/utils-80d566d9.js.map +1 -0
- package/dist/esm/utils-dae0bd5d.js +292 -0
- package/dist/esm/utils-dae0bd5d.js.map +1 -0
- package/dist/esm/vi-117d2eea.js +72 -0
- package/dist/esm/vi-117d2eea.js.map +1 -0
- package/dist/esm/zh-cn-c18fbbdd.js +96 -0
- package/dist/esm/zh-cn-c18fbbdd.js.map +1 -0
- package/dist/esm/zh-hk-333c1f96.js +94 -0
- package/dist/esm/zh-hk-333c1f96.js.map +1 -0
- package/dist/esm/zh-tw-cbef4705.js +94 -0
- package/dist/esm/zh-tw-cbef4705.js.map +1 -0
- package/dist/extras/docs-json.json +3 -3
- 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/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/hydrate/index.js +6 -6
- package/hydrate/index.mjs +6 -6
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-013f056c.entry.js +0 -7
- package/dist/calcite/p-0489ac44.entry.js +0 -7
- package/dist/calcite/p-04d421ba.entry.js +0 -7
- package/dist/calcite/p-08bdb325.entry.js +0 -7
- package/dist/calcite/p-08bdb325.entry.js.map +0 -1
- package/dist/calcite/p-08d0f6fe.js +0 -7
- package/dist/calcite/p-0f07da45.js +0 -7
- package/dist/calcite/p-0ffd9454.js +0 -7
- package/dist/calcite/p-10a409ee.entry.js +0 -7
- package/dist/calcite/p-10add02a.entry.js +0 -7
- package/dist/calcite/p-131a7cc9.js +0 -13
- package/dist/calcite/p-13bb382b.js +0 -7
- package/dist/calcite/p-16e0b9a6.entry.js +0 -7
- package/dist/calcite/p-1909c566.js +0 -7
- package/dist/calcite/p-1974c970.js +0 -7
- package/dist/calcite/p-1ad54a2c.entry.js +0 -7
- package/dist/calcite/p-1c33f127.js +0 -7
- package/dist/calcite/p-1c9d8b9d.entry.js +0 -7
- package/dist/calcite/p-21ab9cfb.js +0 -7
- package/dist/calcite/p-22124939.js +0 -7
- package/dist/calcite/p-2362a116.js +0 -7
- package/dist/calcite/p-23a2cd2c.entry.js +0 -7
- package/dist/calcite/p-25434247.js +0 -7
- package/dist/calcite/p-27e78514.entry.js +0 -7
- package/dist/calcite/p-2a80b8ca.js +0 -7
- package/dist/calcite/p-2e44467a.js +0 -7
- package/dist/calcite/p-2e909e8f.entry.js +0 -7
- package/dist/calcite/p-2f300e34.entry.js +0 -7
- package/dist/calcite/p-3031bdf1.entry.js +0 -7
- package/dist/calcite/p-30cfc22d.entry.js +0 -7
- package/dist/calcite/p-38373faa.entry.js +0 -7
- package/dist/calcite/p-384dc840.js +0 -7
- package/dist/calcite/p-3b6d3044.js +0 -7
- package/dist/calcite/p-3b9c0d5e.js +0 -7
- package/dist/calcite/p-3d5ca5ad.js +0 -7
- package/dist/calcite/p-3d8a42c0.js +0 -7
- package/dist/calcite/p-3df7b2e4.js +0 -7
- package/dist/calcite/p-4027980b.js +0 -8
- package/dist/calcite/p-413283d9.js +0 -7
- package/dist/calcite/p-44fafff7.js +0 -7
- package/dist/calcite/p-4599b06d.js +0 -7
- package/dist/calcite/p-4a234437.js +0 -7
- package/dist/calcite/p-4b25a646.entry.js +0 -7
- package/dist/calcite/p-4bd075cc.js +0 -7
- package/dist/calcite/p-4d93ba1c.entry.js +0 -7
- package/dist/calcite/p-515133a6.js +0 -7
- package/dist/calcite/p-52b6d959.entry.js +0 -7
- package/dist/calcite/p-5435f08c.entry.js +0 -7
- package/dist/calcite/p-544e45a7.js +0 -7
- package/dist/calcite/p-547af4fa.js +0 -7
- package/dist/calcite/p-5481ea2a.js +0 -7
- package/dist/calcite/p-5593edbe.entry.js +0 -7
- package/dist/calcite/p-56028877.entry.js +0 -7
- package/dist/calcite/p-565fe607.js +0 -7
- package/dist/calcite/p-5993628b.entry.js +0 -7
- package/dist/calcite/p-5993628b.entry.js.map +0 -1
- package/dist/calcite/p-59ac068b.entry.js +0 -7
- package/dist/calcite/p-5ac19908.entry.js +0 -7
- package/dist/calcite/p-5b95dead.js +0 -7
- package/dist/calcite/p-5bb58784.js +0 -7
- package/dist/calcite/p-5d24b0db.entry.js +0 -7
- package/dist/calcite/p-605d1e6e.js +0 -7
- package/dist/calcite/p-666ea2c9.js +0 -7
- package/dist/calcite/p-66c73bea.entry.js +0 -7
- package/dist/calcite/p-66c73bea.entry.js.map +0 -1
- package/dist/calcite/p-66fbf26d.js +0 -7
- package/dist/calcite/p-670a772e.js +0 -7
- package/dist/calcite/p-68e10100.js +0 -7
- package/dist/calcite/p-6ab137d5.entry.js +0 -7
- package/dist/calcite/p-6d92d126.entry.js +0 -7
- package/dist/calcite/p-6fcde31f.entry.js +0 -7
- package/dist/calcite/p-701e91b8.js +0 -7
- package/dist/calcite/p-71d74675.entry.js +0 -7
- package/dist/calcite/p-71e508b8.js +0 -7
- package/dist/calcite/p-72bc4f48.entry.js +0 -7
- package/dist/calcite/p-7326d2be.entry.js +0 -7
- package/dist/calcite/p-75beeaa0.entry.js +0 -7
- package/dist/calcite/p-763e95d3.js +0 -7
- package/dist/calcite/p-769b4c80.js +0 -7
- package/dist/calcite/p-793dfa6b.js +0 -7
- package/dist/calcite/p-79840b77.entry.js +0 -7
- package/dist/calcite/p-7998fe50.js +0 -7
- package/dist/calcite/p-7c9ca22e.entry.js +0 -7
- package/dist/calcite/p-80040f02.entry.js +0 -7
- package/dist/calcite/p-80d59d00.js +0 -7
- package/dist/calcite/p-820a1875.js +0 -7
- package/dist/calcite/p-825c5cba.js +0 -7
- package/dist/calcite/p-846366d1.entry.js +0 -7
- package/dist/calcite/p-8494c172.js +0 -7
- package/dist/calcite/p-86c763da.entry.js +0 -7
- package/dist/calcite/p-86e82ff9.entry.js +0 -7
- package/dist/calcite/p-89b29625.js +0 -7
- package/dist/calcite/p-89bc5eed.entry.js +0 -7
- package/dist/calcite/p-8ba9f8d4.js +0 -7
- package/dist/calcite/p-8bc0cd8a.entry.js +0 -7
- package/dist/calcite/p-8c02adf3.entry.js +0 -7
- package/dist/calcite/p-8decb673.js +0 -7
- package/dist/calcite/p-8e337f1e.js +0 -7
- package/dist/calcite/p-8e947d3f.js +0 -7
- package/dist/calcite/p-8ee32766.entry.js +0 -7
- package/dist/calcite/p-8fce4010.js +0 -7
- package/dist/calcite/p-904fe6e7.entry.js +0 -7
- package/dist/calcite/p-926148ec.js +0 -7
- package/dist/calcite/p-937d0953.entry.js +0 -7
- package/dist/calcite/p-94d1cfb9.entry.js +0 -7
- package/dist/calcite/p-97ba581f.js +0 -7
- package/dist/calcite/p-98356c95.js +0 -7
- package/dist/calcite/p-990c4b92.entry.js +0 -7
- package/dist/calcite/p-9a24ee57.entry.js +0 -7
- package/dist/calcite/p-9a8e0b21.js +0 -7
- package/dist/calcite/p-9d094683.js +0 -7
- package/dist/calcite/p-9f0043bf.js +0 -7
- package/dist/calcite/p-9f0043bf.js.map +0 -1
- package/dist/calcite/p-9fd5c339.entry.js +0 -7
- package/dist/calcite/p-a0adae03.js +0 -7
- package/dist/calcite/p-a1945ebd.entry.js +0 -7
- package/dist/calcite/p-a1e86962.js +0 -7
- package/dist/calcite/p-a2a4b868.js +0 -7
- package/dist/calcite/p-a4c667c8.js +0 -7
- package/dist/calcite/p-a5df9f67.entry.js +0 -7
- package/dist/calcite/p-a7ad3e35.entry.js +0 -7
- package/dist/calcite/p-ab080406.js +0 -7
- package/dist/calcite/p-ac06c72c.entry.js +0 -7
- package/dist/calcite/p-ae9c98e7.js +0 -7
- package/dist/calcite/p-af6988e9.entry.js +0 -7
- package/dist/calcite/p-af6988e9.entry.js.map +0 -1
- package/dist/calcite/p-afc389a6.entry.js +0 -7
- package/dist/calcite/p-b1c4fe89.entry.js +0 -7
- package/dist/calcite/p-b2d2e992.entry.js +0 -7
- package/dist/calcite/p-b6d5c8f8.js +0 -7
- package/dist/calcite/p-b7f3b96b.entry.js +0 -7
- package/dist/calcite/p-b8605531.js +0 -7
- package/dist/calcite/p-ba516500.entry.js +0 -7
- package/dist/calcite/p-bb31096e.js +0 -7
- package/dist/calcite/p-bd49e676.entry.js +0 -7
- package/dist/calcite/p-bdd67ffd.entry.js +0 -7
- package/dist/calcite/p-c136870d.entry.js +0 -7
- package/dist/calcite/p-c136870d.entry.js.map +0 -1
- package/dist/calcite/p-c192c291.entry.js +0 -7
- package/dist/calcite/p-c4a6497e.entry.js +0 -7
- package/dist/calcite/p-c542a169.js +0 -11
- package/dist/calcite/p-c5a98718.entry.js +0 -7
- package/dist/calcite/p-c8a8ff55.entry.js +0 -7
- package/dist/calcite/p-c9d3eb59.js +0 -7
- package/dist/calcite/p-cb00b075.js +0 -7
- package/dist/calcite/p-cc8cc298.js +0 -7
- package/dist/calcite/p-cfa96daa.js +0 -7
- package/dist/calcite/p-cfbec985.js +0 -7
- package/dist/calcite/p-d1d48239.js +0 -7
- package/dist/calcite/p-d2c9e61e.js +0 -7
- package/dist/calcite/p-d32d30fb.js +0 -7
- package/dist/calcite/p-d3705a26.js +0 -7
- package/dist/calcite/p-d4e0b0ee.js +0 -7
- package/dist/calcite/p-d4e0b0ee.js.map +0 -1
- package/dist/calcite/p-d5b30407.js +0 -7
- package/dist/calcite/p-d6a94209.entry.js +0 -7
- package/dist/calcite/p-d824ddf7.js +0 -7
- package/dist/calcite/p-d9f4c2d2.js +0 -7
- package/dist/calcite/p-dad344db.entry.js +0 -7
- package/dist/calcite/p-dba2751a.js +0 -7
- package/dist/calcite/p-dba2751a.js.map +0 -1
- package/dist/calcite/p-dcb5db08.entry.js +0 -7
- package/dist/calcite/p-dd373eac.entry.js +0 -7
- package/dist/calcite/p-dd83c952.js +0 -7
- package/dist/calcite/p-dd84ad8f.entry.js +0 -7
- package/dist/calcite/p-dda29128.js +0 -7
- package/dist/calcite/p-ec0b302a.entry.js +0 -7
- package/dist/calcite/p-ec0b302a.entry.js.map +0 -1
- package/dist/calcite/p-eece097b.entry.js +0 -7
- package/dist/calcite/p-efba76a2.entry.js +0 -7
- package/dist/calcite/p-f16aeb55.js +0 -7
- package/dist/calcite/p-f19acbfd.js +0 -7
- package/dist/calcite/p-f22e0e9c.js +0 -12
- package/dist/calcite/p-f86f5284.js +0 -7
- package/dist/calcite/p-f9c69a56.js +0 -7
- package/dist/calcite/p-fbded330.js +0 -7
- package/dist/calcite/p-fec94d26.js +0 -7
- package/dist/cjs/ExpandToggle-a714357a.js +0 -107
- package/dist/cjs/ExpandToggle-a714357a.js.map +0 -1
- package/dist/cjs/FloatingArrow-b573879f.js +0 -47
- package/dist/cjs/FloatingArrow-b573879f.js.map +0 -1
- package/dist/cjs/Heading-1535e90c.js +0 -22
- package/dist/cjs/Heading-1535e90c.js.map +0 -1
- package/dist/cjs/Validation-b29f136d.js +0 -18
- package/dist/cjs/Validation-b29f136d.js.map +0 -1
- package/dist/cjs/app-globals-eaf32842.js +0 -59
- package/dist/cjs/app-globals-eaf32842.js.map +0 -1
- package/dist/cjs/ar-4b689321.js +0 -108
- package/dist/cjs/ar-4b689321.js.map +0 -1
- package/dist/cjs/array-25110496.js +0 -14
- package/dist/cjs/array-25110496.js.map +0 -1
- package/dist/cjs/bg-d3ed9e0b.js +0 -86
- package/dist/cjs/bg-d3ed9e0b.js.map +0 -1
- package/dist/cjs/browser-eb4c479d.js +0 -32
- package/dist/cjs/browser-eb4c479d.js.map +0 -1
- package/dist/cjs/bs-73a005a6.js +0 -55
- package/dist/cjs/bs-73a005a6.js.map +0 -1
- package/dist/cjs/ca-0b5592a8.js +0 -75
- package/dist/cjs/ca-0b5592a8.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-87421279.js +0 -2919
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-87421279.js.map +0 -1
- package/dist/cjs/component-b3e3d81a.js +0 -30
- package/dist/cjs/component-b3e3d81a.js.map +0 -1
- package/dist/cjs/conditionalSlot-24981a9a.js +0 -51
- package/dist/cjs/conditionalSlot-24981a9a.js.map +0 -1
- package/dist/cjs/config-807ac110.js +0 -38
- package/dist/cjs/config-807ac110.js.map +0 -1
- package/dist/cjs/core-014b476e.js +0 -22
- package/dist/cjs/core-014b476e.js.map +0 -1
- package/dist/cjs/cs-6f6dd557.js +0 -151
- package/dist/cjs/cs-6f6dd557.js.map +0 -1
- package/dist/cjs/da-586ea608.js +0 -71
- package/dist/cjs/da-586ea608.js.map +0 -1
- package/dist/cjs/de-71bc9f90.js +0 -95
- package/dist/cjs/de-71bc9f90.js.map +0 -1
- package/dist/cjs/de-at-b5f91925.js +0 -94
- package/dist/cjs/de-at-b5f91925.js.map +0 -1
- package/dist/cjs/de-ch-49c49a84.js +0 -94
- package/dist/cjs/de-ch-49c49a84.js.map +0 -1
- package/dist/cjs/debounce-e4e1833e.js +0 -506
- package/dist/cjs/debounce-e4e1833e.js.map +0 -1
- package/dist/cjs/dom-9edbf814.js +0 -1209
- package/dist/cjs/dom-9edbf814.js.map +0 -1
- package/dist/cjs/el-08c2e9b6.js +0 -70
- package/dist/cjs/el-08c2e9b6.js.map +0 -1
- package/dist/cjs/en-au-ef4db1fd.js +0 -70
- package/dist/cjs/en-au-ef4db1fd.js.map +0 -1
- package/dist/cjs/en-ca-437bd2d6.js +0 -69
- package/dist/cjs/en-ca-437bd2d6.js.map +0 -1
- package/dist/cjs/en-gb-114ae67d.js +0 -73
- package/dist/cjs/en-gb-114ae67d.js.map +0 -1
- package/dist/cjs/es-13ff41fe.js +0 -70
- package/dist/cjs/es-13ff41fe.js.map +0 -1
- package/dist/cjs/es-mx-d53309fe.js +0 -69
- package/dist/cjs/es-mx-d53309fe.js.map +0 -1
- package/dist/cjs/et-770ca345.js +0 -96
- package/dist/cjs/et-770ca345.js.map +0 -1
- package/dist/cjs/fi-8a55ba6f.js +0 -119
- package/dist/cjs/fi-8a55ba6f.js.map +0 -1
- package/dist/cjs/filter-380fffff.js +0 -775
- package/dist/cjs/filter-380fffff.js.map +0 -1
- package/dist/cjs/floating-ui-895d20db.js +0 -2355
- package/dist/cjs/floating-ui-895d20db.js.map +0 -1
- package/dist/cjs/focusTrapComponent-919124f0.js +0 -1015
- package/dist/cjs/focusTrapComponent-919124f0.js.map +0 -1
- package/dist/cjs/form-09c8da77.js +0 -378
- package/dist/cjs/form-09c8da77.js.map +0 -1
- package/dist/cjs/fr-a74797ee.js +0 -72
- package/dist/cjs/fr-a74797ee.js.map +0 -1
- package/dist/cjs/fr-ch-dcc9a3be.js +0 -70
- package/dist/cjs/fr-ch-dcc9a3be.js.map +0 -1
- package/dist/cjs/guid-3958b080.js +0 -23
- package/dist/cjs/guid-3958b080.js.map +0 -1
- package/dist/cjs/he-5d0e54c6.js +0 -109
- package/dist/cjs/he-5d0e54c6.js.map +0 -1
- package/dist/cjs/hi-d931bfdb.js +0 -69
- package/dist/cjs/hi-d931bfdb.js.map +0 -1
- package/dist/cjs/hr-67e0635d.js +0 -84
- package/dist/cjs/hr-67e0635d.js.map +0 -1
- package/dist/cjs/hu-68ab64dc.js +0 -92
- package/dist/cjs/hu-68ab64dc.js.map +0 -1
- package/dist/cjs/id-c0b04d21.js +0 -70
- package/dist/cjs/id-c0b04d21.js.map +0 -1
- package/dist/cjs/index-0cf07d60.js +0 -75
- package/dist/cjs/index-0cf07d60.js.map +0 -1
- package/dist/cjs/index-0ed70729.js +0 -208
- package/dist/cjs/index-0ed70729.js.map +0 -1
- package/dist/cjs/index-9d72347e.js +0 -1978
- package/dist/cjs/index-9d72347e.js.map +0 -1
- package/dist/cjs/input-1f48bc09.js +0 -57
- package/dist/cjs/input-1f48bc09.js.map +0 -1
- package/dist/cjs/interactive-e74e48e3.js +0 -166
- package/dist/cjs/interactive-e74e48e3.js.map +0 -1
- package/dist/cjs/it-ch-03c227af.js +0 -70
- package/dist/cjs/it-ch-03c227af.js.map +0 -1
- package/dist/cjs/it-f703c54a.js +0 -70
- package/dist/cjs/it-f703c54a.js.map +0 -1
- package/dist/cjs/ja-b3f917d9.js +0 -76
- package/dist/cjs/ja-b3f917d9.js.map +0 -1
- package/dist/cjs/key-be3e16e0.js +0 -16
- package/dist/cjs/key-be3e16e0.js.map +0 -1
- package/dist/cjs/ko-61f41852.js +0 -76
- package/dist/cjs/ko-61f41852.js.map +0 -1
- package/dist/cjs/label-00173ca0.js +0 -183
- package/dist/cjs/label-00173ca0.js.map +0 -1
- package/dist/cjs/loadable-0a3de2e1.js +0 -95
- package/dist/cjs/loadable-0a3de2e1.js.map +0 -1
- package/dist/cjs/locale-eb7944df.js +0 -576
- package/dist/cjs/locale-eb7944df.js.map +0 -1
- package/dist/cjs/logger-497e7c8a.js +0 -58
- package/dist/cjs/logger-497e7c8a.js.map +0 -1
- package/dist/cjs/lt-f88f1f47.js +0 -101
- package/dist/cjs/lt-f88f1f47.js.map +0 -1
- package/dist/cjs/lv-ceb51e89.js +0 -70
- package/dist/cjs/lv-ceb51e89.js.map +0 -1
- package/dist/cjs/math-2957ddbd.js +0 -57
- package/dist/cjs/math-2957ddbd.js.map +0 -1
- package/dist/cjs/mk-362a792c.js +0 -70
- package/dist/cjs/mk-362a792c.js.map +0 -1
- package/dist/cjs/nb-449f5b62.js +0 -71
- package/dist/cjs/nb-449f5b62.js.map +0 -1
- package/dist/cjs/nl-ecd4707f.js +0 -71
- package/dist/cjs/nl-ecd4707f.js.map +0 -1
- package/dist/cjs/observers-b798473f.js +0 -55
- package/dist/cjs/observers-b798473f.js.map +0 -1
- package/dist/cjs/openCloseComponent-d8d881fa.js +0 -62
- package/dist/cjs/openCloseComponent-d8d881fa.js.map +0 -1
- package/dist/cjs/pl-5bf61edb.js +0 -118
- package/dist/cjs/pl-5bf61edb.js.map +0 -1
- package/dist/cjs/pt-br-71ef366e.js +0 -69
- package/dist/cjs/pt-br-71ef366e.js.map +0 -1
- package/dist/cjs/pt-e5fef806.js +0 -71
- package/dist/cjs/pt-e5fef806.js.map +0 -1
- package/dist/cjs/resources-30d4b308.js +0 -23
- package/dist/cjs/resources-30d4b308.js.map +0 -1
- package/dist/cjs/resources-732ad21e.js +0 -18
- package/dist/cjs/resources-732ad21e.js.map +0 -1
- package/dist/cjs/resources-b3094968.js +0 -26
- package/dist/cjs/resources-b3094968.js.map +0 -1
- package/dist/cjs/resources-be49fd67.js +0 -410
- package/dist/cjs/resources-be49fd67.js.map +0 -1
- package/dist/cjs/resources-d3705e6d.js +0 -60
- package/dist/cjs/resources-d3705e6d.js.map +0 -1
- package/dist/cjs/resources-d764de26.js +0 -36
- package/dist/cjs/resources-d764de26.js.map +0 -1
- package/dist/cjs/resources-e16844cf.js +0 -26
- package/dist/cjs/resources-e16844cf.js.map +0 -1
- package/dist/cjs/ro-ead608aa.js +0 -70
- package/dist/cjs/ro-ead608aa.js.map +0 -1
- package/dist/cjs/ru-4b6f417c.js +0 -130
- package/dist/cjs/ru-4b6f417c.js.map +0 -1
- package/dist/cjs/sk-a65acc8f.js +0 -152
- package/dist/cjs/sk-a65acc8f.js.map +0 -1
- package/dist/cjs/sl-2a590d77.js +0 -172
- package/dist/cjs/sl-2a590d77.js.map +0 -1
- package/dist/cjs/sortableComponent-ec88621e.js +0 -2745
- package/dist/cjs/sortableComponent-ec88621e.js.map +0 -1
- package/dist/cjs/sr-859f5cfc.js +0 -105
- package/dist/cjs/sr-859f5cfc.js.map +0 -1
- package/dist/cjs/sv-7acd3f20.js +0 -75
- package/dist/cjs/sv-7acd3f20.js.map +0 -1
- package/dist/cjs/t9n-ad8a5316.js +0 -105
- package/dist/cjs/t9n-ad8a5316.js.map +0 -1
- package/dist/cjs/th-dc8df56c.js +0 -69
- package/dist/cjs/th-dc8df56c.js.map +0 -1
- package/dist/cjs/throttle-28de52c8.js +0 -77
- package/dist/cjs/throttle-28de52c8.js.map +0 -1
- package/dist/cjs/tr-edeeb289.js +0 -70
- package/dist/cjs/tr-edeeb289.js.map +0 -1
- package/dist/cjs/uk-661fedb2.js +0 -108
- package/dist/cjs/uk-661fedb2.js.map +0 -1
- package/dist/cjs/utils-3a542a41.js +0 -2296
- package/dist/cjs/utils-3a542a41.js.map +0 -1
- package/dist/cjs/utils-e289aff6.js +0 -310
- package/dist/cjs/utils-e289aff6.js.map +0 -1
- package/dist/cjs/vi-4c101e1c.js +0 -74
- package/dist/cjs/vi-4c101e1c.js.map +0 -1
- package/dist/cjs/zh-cn-dd4886b2.js +0 -98
- package/dist/cjs/zh-cn-dd4886b2.js.map +0 -1
- package/dist/cjs/zh-hk-feeac76f.js +0 -96
- package/dist/cjs/zh-hk-feeac76f.js.map +0 -1
- package/dist/cjs/zh-tw-dd8e51a5.js +0 -96
- package/dist/cjs/zh-tw-dd8e51a5.js.map +0 -1
- package/dist/esm/ExpandToggle-7bf05417.js +0 -100
- package/dist/esm/ExpandToggle-7bf05417.js.map +0 -1
- package/dist/esm/FloatingArrow-dcf38c6f.js +0 -45
- package/dist/esm/FloatingArrow-dcf38c6f.js.map +0 -1
- package/dist/esm/Heading-23843c11.js +0 -19
- package/dist/esm/Heading-23843c11.js.map +0 -1
- package/dist/esm/Validation-f90a90eb.js +0 -16
- package/dist/esm/Validation-f90a90eb.js.map +0 -1
- package/dist/esm/app-globals-50a2e57a.js +0 -57
- package/dist/esm/app-globals-50a2e57a.js.map +0 -1
- package/dist/esm/ar-7ea50e03.js +0 -106
- package/dist/esm/ar-7ea50e03.js.map +0 -1
- package/dist/esm/array-96147751.js +0 -12
- package/dist/esm/array-96147751.js.map +0 -1
- package/dist/esm/bg-4f99e8d8.js +0 -84
- package/dist/esm/bg-4f99e8d8.js.map +0 -1
- package/dist/esm/browser-bda02ab7.js +0 -29
- package/dist/esm/browser-bda02ab7.js.map +0 -1
- package/dist/esm/bs-fae1610a.js +0 -53
- package/dist/esm/bs-fae1610a.js.map +0 -1
- package/dist/esm/ca-f658559c.js +0 -73
- package/dist/esm/ca-f658559c.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-af8e6d46.js +0 -2915
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-af8e6d46.js.map +0 -1
- package/dist/esm/component-7c26db30.js +0 -27
- package/dist/esm/component-7c26db30.js.map +0 -1
- package/dist/esm/conditionalSlot-1d584b1e.js +0 -48
- package/dist/esm/conditionalSlot-1d584b1e.js.map +0 -1
- package/dist/esm/config-d08fafd7.js +0 -34
- package/dist/esm/config-d08fafd7.js.map +0 -1
- package/dist/esm/core-8c2de917.js +0 -17
- package/dist/esm/core-8c2de917.js.map +0 -1
- package/dist/esm/cs-bdc63711.js +0 -149
- package/dist/esm/cs-bdc63711.js.map +0 -1
- package/dist/esm/da-5462cd1f.js +0 -69
- package/dist/esm/da-5462cd1f.js.map +0 -1
- package/dist/esm/de-7a5e8997.js +0 -93
- package/dist/esm/de-7a5e8997.js.map +0 -1
- package/dist/esm/de-at-4646b798.js +0 -92
- package/dist/esm/de-at-4646b798.js.map +0 -1
- package/dist/esm/de-ch-8b83884c.js +0 -92
- package/dist/esm/de-ch-8b83884c.js.map +0 -1
- package/dist/esm/debounce-9e6e2ce3.js +0 -497
- package/dist/esm/debounce-9e6e2ce3.js.map +0 -1
- package/dist/esm/dom-ea50c178.js +0 -1174
- package/dist/esm/dom-ea50c178.js.map +0 -1
- package/dist/esm/el-a6d589ba.js +0 -68
- package/dist/esm/el-a6d589ba.js.map +0 -1
- package/dist/esm/en-au-fd1ed691.js +0 -68
- package/dist/esm/en-au-fd1ed691.js.map +0 -1
- package/dist/esm/en-ca-260a6aea.js +0 -67
- package/dist/esm/en-ca-260a6aea.js.map +0 -1
- package/dist/esm/en-gb-da5aa03a.js +0 -71
- package/dist/esm/en-gb-da5aa03a.js.map +0 -1
- package/dist/esm/es-d2a2cdfd.js +0 -68
- package/dist/esm/es-d2a2cdfd.js.map +0 -1
- package/dist/esm/es-mx-835444c8.js +0 -67
- package/dist/esm/es-mx-835444c8.js.map +0 -1
- package/dist/esm/et-2cb9d85c.js +0 -94
- package/dist/esm/et-2cb9d85c.js.map +0 -1
- package/dist/esm/fi-535d6524.js +0 -117
- package/dist/esm/fi-535d6524.js.map +0 -1
- package/dist/esm/filter-17101652.js +0 -772
- package/dist/esm/filter-17101652.js.map +0 -1
- package/dist/esm/floating-ui-af735d20.js +0 -2347
- package/dist/esm/floating-ui-af735d20.js.map +0 -1
- package/dist/esm/focusTrapComponent-a3773fa3.js +0 -1010
- package/dist/esm/focusTrapComponent-a3773fa3.js.map +0 -1
- package/dist/esm/form-430ea2d9.js +0 -369
- package/dist/esm/form-430ea2d9.js.map +0 -1
- package/dist/esm/fr-7904fa03.js +0 -70
- package/dist/esm/fr-7904fa03.js.map +0 -1
- package/dist/esm/fr-ch-59927871.js +0 -68
- package/dist/esm/fr-ch-59927871.js.map +0 -1
- package/dist/esm/guid-961c1351.js +0 -21
- package/dist/esm/guid-961c1351.js.map +0 -1
- package/dist/esm/he-5f3d6ee6.js +0 -107
- package/dist/esm/he-5f3d6ee6.js.map +0 -1
- package/dist/esm/hi-72bc26d2.js +0 -67
- package/dist/esm/hi-72bc26d2.js.map +0 -1
- package/dist/esm/hr-81afaf46.js +0 -82
- package/dist/esm/hr-81afaf46.js.map +0 -1
- package/dist/esm/hu-cd9cf5ac.js +0 -90
- package/dist/esm/hu-cd9cf5ac.js.map +0 -1
- package/dist/esm/id-79126577.js +0 -68
- package/dist/esm/id-79126577.js.map +0 -1
- package/dist/esm/index-645d0989.js +0 -206
- package/dist/esm/index-645d0989.js.map +0 -1
- package/dist/esm/index-9c6d9690.js +0 -1943
- package/dist/esm/index-9c6d9690.js.map +0 -1
- package/dist/esm/index-f494926b.js +0 -73
- package/dist/esm/index-f494926b.js.map +0 -1
- package/dist/esm/input-e3736324.js +0 -55
- package/dist/esm/input-e3736324.js.map +0 -1
- package/dist/esm/interactive-3257586a.js +0 -161
- package/dist/esm/interactive-3257586a.js.map +0 -1
- package/dist/esm/it-5a010a8a.js +0 -68
- package/dist/esm/it-5a010a8a.js.map +0 -1
- package/dist/esm/it-ch-709e2c2b.js +0 -68
- package/dist/esm/it-ch-709e2c2b.js.map +0 -1
- package/dist/esm/ja-4df8c69a.js +0 -74
- package/dist/esm/ja-4df8c69a.js.map +0 -1
- package/dist/esm/key-0398bf92.js +0 -13
- package/dist/esm/key-0398bf92.js.map +0 -1
- package/dist/esm/ko-40e3dc19.js +0 -74
- package/dist/esm/ko-40e3dc19.js.map +0 -1
- package/dist/esm/label-fedd2fa3.js +0 -176
- package/dist/esm/label-fedd2fa3.js.map +0 -1
- package/dist/esm/loadable-19980836.js +0 -90
- package/dist/esm/loadable-19980836.js.map +0 -1
- package/dist/esm/locale-f757e2ef.js +0 -563
- package/dist/esm/locale-f757e2ef.js.map +0 -1
- package/dist/esm/logger-877f466d.js +0 -56
- package/dist/esm/logger-877f466d.js.map +0 -1
- package/dist/esm/lt-6d2e118a.js +0 -99
- package/dist/esm/lt-6d2e118a.js.map +0 -1
- package/dist/esm/lv-ea2f6ccb.js +0 -68
- package/dist/esm/lv-ea2f6ccb.js.map +0 -1
- package/dist/esm/math-ee9bf2d5.js +0 -51
- package/dist/esm/math-ee9bf2d5.js.map +0 -1
- package/dist/esm/mk-6c0ab832.js +0 -68
- package/dist/esm/mk-6c0ab832.js.map +0 -1
- package/dist/esm/nb-56c925be.js +0 -69
- package/dist/esm/nb-56c925be.js.map +0 -1
- package/dist/esm/nl-6fb83dc6.js +0 -69
- package/dist/esm/nl-6fb83dc6.js.map +0 -1
- package/dist/esm/observers-4588d75b.js +0 -53
- package/dist/esm/observers-4588d75b.js.map +0 -1
- package/dist/esm/openCloseComponent-9b7df2e4.js +0 -60
- package/dist/esm/openCloseComponent-9b7df2e4.js.map +0 -1
- package/dist/esm/pl-672bba34.js +0 -116
- package/dist/esm/pl-672bba34.js.map +0 -1
- package/dist/esm/pt-07f28192.js +0 -69
- package/dist/esm/pt-07f28192.js.map +0 -1
- package/dist/esm/pt-br-256ca37d.js +0 -67
- package/dist/esm/pt-br-256ca37d.js.map +0 -1
- package/dist/esm/resources-0043c086.js +0 -382
- package/dist/esm/resources-0043c086.js.map +0 -1
- package/dist/esm/resources-181fefb2.js +0 -56
- package/dist/esm/resources-181fefb2.js.map +0 -1
- package/dist/esm/resources-20eb27a9.js +0 -23
- package/dist/esm/resources-20eb27a9.js.map +0 -1
- package/dist/esm/resources-53d7f0de.js +0 -31
- package/dist/esm/resources-53d7f0de.js.map +0 -1
- package/dist/esm/resources-d56e6c8a.js +0 -19
- package/dist/esm/resources-d56e6c8a.js.map +0 -1
- package/dist/esm/resources-d7865366.js +0 -16
- package/dist/esm/resources-d7865366.js.map +0 -1
- package/dist/esm/resources-f6e441f2.js +0 -21
- package/dist/esm/resources-f6e441f2.js.map +0 -1
- package/dist/esm/ro-9aec3454.js +0 -68
- package/dist/esm/ro-9aec3454.js.map +0 -1
- package/dist/esm/ru-3479e511.js +0 -128
- package/dist/esm/ru-3479e511.js.map +0 -1
- package/dist/esm/sk-04fc7018.js +0 -150
- package/dist/esm/sk-04fc7018.js.map +0 -1
- package/dist/esm/sl-7601ad3b.js +0 -170
- package/dist/esm/sl-7601ad3b.js.map +0 -1
- package/dist/esm/sortableComponent-9ee0bacb.js +0 -2742
- package/dist/esm/sortableComponent-9ee0bacb.js.map +0 -1
- package/dist/esm/sr-c31c334b.js +0 -103
- package/dist/esm/sr-c31c334b.js.map +0 -1
- package/dist/esm/sv-41413d8a.js +0 -73
- package/dist/esm/sv-41413d8a.js.map +0 -1
- package/dist/esm/t9n-9e22cb55.js +0 -100
- package/dist/esm/t9n-9e22cb55.js.map +0 -1
- package/dist/esm/th-844b1534.js +0 -67
- package/dist/esm/th-844b1534.js.map +0 -1
- package/dist/esm/throttle-b50ee8a9.js +0 -75
- package/dist/esm/throttle-b50ee8a9.js.map +0 -1
- package/dist/esm/tr-664fc540.js +0 -68
- package/dist/esm/tr-664fc540.js.map +0 -1
- package/dist/esm/uk-8e97f5cb.js +0 -106
- package/dist/esm/uk-8e97f5cb.js.map +0 -1
- package/dist/esm/utils-bf96af70.js +0 -2266
- package/dist/esm/utils-bf96af70.js.map +0 -1
- package/dist/esm/utils-f6aa0098.js +0 -292
- package/dist/esm/utils-f6aa0098.js.map +0 -1
- package/dist/esm/vi-f96608d5.js +0 -72
- package/dist/esm/vi-f96608d5.js.map +0 -1
- package/dist/esm/zh-cn-dad53b36.js +0 -96
- package/dist/esm/zh-cn-dad53b36.js.map +0 -1
- package/dist/esm/zh-hk-29760e62.js +0 -94
- package/dist/esm/zh-hk-29760e62.js.map +0 -1
- package/dist/esm/zh-tw-78ddb5a7.js +0 -94
- package/dist/esm/zh-tw-78ddb5a7.js.map +0 -1
- /package/dist/calcite/{p-8ee32766.entry.js.map → p-00c1b2e9.entry.js.map} +0 -0
- /package/dist/calcite/{p-79840b77.entry.js.map → p-025a4af2.entry.js.map} +0 -0
- /package/dist/calcite/{p-666ea2c9.js.map → p-064cf0fe.js.map} +0 -0
- /package/dist/calcite/{p-59ac068b.entry.js.map → p-0738857c.entry.js.map} +0 -0
- /package/dist/calcite/{p-dcb5db08.entry.js.map → p-08e93de1.entry.js.map} +0 -0
- /package/dist/calcite/{p-f9c69a56.js.map → p-09a4f06c.js.map} +0 -0
- /package/dist/calcite/{p-d3705a26.js.map → p-09bbd9f0.js.map} +0 -0
- /package/dist/calcite/{p-22124939.js.map → p-0bb7e4c2.js.map} +0 -0
- /package/dist/calcite/{p-b8605531.js.map → p-0dbcb146.js.map} +0 -0
- /package/dist/calcite/{p-515133a6.js.map → p-0e3e2eab.js.map} +0 -0
- /package/dist/calcite/{p-c542a169.js.map → p-0e6a32ae.js.map} +0 -0
- /package/dist/calcite/{p-ac06c72c.entry.js.map → p-0fd00ff8.entry.js.map} +0 -0
- /package/dist/calcite/{p-30cfc22d.entry.js.map → p-10de37c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-1909c566.js.map → p-11d7701c.js.map} +0 -0
- /package/dist/calcite/{p-1ad54a2c.entry.js.map → p-1631c9a7.entry.js.map} +0 -0
- /package/dist/calcite/{p-1974c970.js.map → p-16cf8fbe.js.map} +0 -0
- /package/dist/calcite/{p-2a80b8ca.js.map → p-170994b5.js.map} +0 -0
- /package/dist/calcite/{p-5bb58784.js.map → p-17c53383.js.map} +0 -0
- /package/dist/calcite/{p-f22e0e9c.js.map → p-180fb587.js.map} +0 -0
- /package/dist/calcite/{p-fec94d26.js.map → p-189ac509.js.map} +0 -0
- /package/dist/calcite/{p-990c4b92.entry.js.map → p-1ceeb7cf.entry.js.map} +0 -0
- /package/dist/calcite/{p-c9d3eb59.js.map → p-1ed3732f.js.map} +0 -0
- /package/dist/calcite/{p-eece097b.entry.js.map → p-1f1957b7.entry.js.map} +0 -0
- /package/dist/calcite/{p-d32d30fb.js.map → p-1fabed91.js.map} +0 -0
- /package/dist/calcite/{p-5435f08c.entry.js.map → p-209c213f.entry.js.map} +0 -0
- /package/dist/calcite/{p-c4a6497e.entry.js.map → p-258d7aca.entry.js.map} +0 -0
- /package/dist/calcite/{p-afc389a6.entry.js.map → p-28ea3b97.entry.js.map} +0 -0
- /package/dist/calcite/{p-f16aeb55.js.map → p-29b639c1.js.map} +0 -0
- /package/dist/calcite/{p-97ba581f.js.map → p-2f24525b.js.map} +0 -0
- /package/dist/calcite/{p-6d92d126.entry.js.map → p-2fa729c0.entry.js.map} +0 -0
- /package/dist/calcite/{p-25434247.js.map → p-3042eda5.js.map} +0 -0
- /package/dist/calcite/{p-5481ea2a.js.map → p-31660d44.js.map} +0 -0
- /package/dist/calcite/{p-4b25a646.entry.js.map → p-31a070e7.entry.js.map} +0 -0
- /package/dist/calcite/{p-a5df9f67.entry.js.map → p-337760a5.entry.js.map} +0 -0
- /package/dist/calcite/{p-21ab9cfb.js.map → p-33950b37.js.map} +0 -0
- /package/dist/calcite/{p-6ab137d5.entry.js.map → p-374ac837.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d93ba1c.entry.js.map → p-375c002a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b6d3044.js.map → p-3edbd1ff.js.map} +0 -0
- /package/dist/calcite/{p-10add02a.entry.js.map → p-3ff0784c.entry.js.map} +0 -0
- /package/dist/calcite/{p-c8a8ff55.entry.js.map → p-418a0651.entry.js.map} +0 -0
- /package/dist/calcite/{p-56028877.entry.js.map → p-425ff172.entry.js.map} +0 -0
- /package/dist/calcite/{p-a1e86962.js.map → p-436bb5e2.js.map} +0 -0
- /package/dist/calcite/{p-8c02adf3.entry.js.map → p-4447d3c9.entry.js.map} +0 -0
- /package/dist/calcite/{p-98356c95.js.map → p-44e4b4d5.js.map} +0 -0
- /package/dist/calcite/{p-a4c667c8.js.map → p-45ee043a.js.map} +0 -0
- /package/dist/calcite/{p-547af4fa.js.map → p-472b065f.js.map} +0 -0
- /package/dist/calcite/{p-9fd5c339.entry.js.map → p-478bda8c.entry.js.map} +0 -0
- /package/dist/calcite/{p-a1945ebd.entry.js.map → p-47e6c7f6.entry.js.map} +0 -0
- /package/dist/calcite/{p-89bc5eed.entry.js.map → p-480d71b1.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd84ad8f.entry.js.map → p-48758a75.entry.js.map} +0 -0
- /package/dist/calcite/{p-66fbf26d.js.map → p-49ed4a42.js.map} +0 -0
- /package/dist/calcite/{p-670a772e.js.map → p-4cc0e90d.js.map} +0 -0
- /package/dist/calcite/{p-d1d48239.js.map → p-4d64156e.js.map} +0 -0
- /package/dist/calcite/{p-ab080406.js.map → p-4f05c5de.js.map} +0 -0
- /package/dist/calcite/{p-8ba9f8d4.js.map → p-51b0cea5.js.map} +0 -0
- /package/dist/calcite/{p-c192c291.entry.js.map → p-52152af5.entry.js.map} +0 -0
- /package/dist/calcite/{p-89b29625.js.map → p-5520cfdb.js.map} +0 -0
- /package/dist/calcite/{p-5d24b0db.entry.js.map → p-5788ef6e.entry.js.map} +0 -0
- /package/dist/calcite/{p-4a234437.js.map → p-5973a5c1.js.map} +0 -0
- /package/dist/calcite/{p-16e0b9a6.entry.js.map → p-5bc66c5c.entry.js.map} +0 -0
- /package/dist/calcite/{p-4027980b.js.map → p-5dcb8a70.js.map} +0 -0
- /package/dist/calcite/{p-68e10100.js.map → p-5e1b0281.js.map} +0 -0
- /package/dist/calcite/{p-2e909e8f.entry.js.map → p-5e42ef6d.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6a94209.entry.js.map → p-5ed53b3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-b2d2e992.entry.js.map → p-5fece532.entry.js.map} +0 -0
- /package/dist/calcite/{p-8494c172.js.map → p-60d32693.js.map} +0 -0
- /package/dist/calcite/{p-72bc4f48.entry.js.map → p-6384d70a.entry.js.map} +0 -0
- /package/dist/calcite/{p-769b4c80.js.map → p-66df66b5.js.map} +0 -0
- /package/dist/calcite/{p-38373faa.entry.js.map → p-6724454b.entry.js.map} +0 -0
- /package/dist/calcite/{p-44fafff7.js.map → p-692efd0d.js.map} +0 -0
- /package/dist/calcite/{p-701e91b8.js.map → p-6bdbf5f7.js.map} +0 -0
- /package/dist/calcite/{p-9a8e0b21.js.map → p-6c6716b0.js.map} +0 -0
- /package/dist/calcite/{p-f19acbfd.js.map → p-6e9602bb.js.map} +0 -0
- /package/dist/calcite/{p-cfbec985.js.map → p-6ecb195b.js.map} +0 -0
- /package/dist/calcite/{p-75beeaa0.entry.js.map → p-73ea479e.entry.js.map} +0 -0
- /package/dist/calcite/{p-71d74675.entry.js.map → p-7718f7a6.entry.js.map} +0 -0
- /package/dist/calcite/{p-ba516500.entry.js.map → p-7916fe52.entry.js.map} +0 -0
- /package/dist/calcite/{p-565fe607.js.map → p-79519f9a.js.map} +0 -0
- /package/dist/calcite/{p-4599b06d.js.map → p-797ef2b0.js.map} +0 -0
- /package/dist/calcite/{p-2362a116.js.map → p-7a4b6d8e.js.map} +0 -0
- /package/dist/calcite/{p-b7f3b96b.entry.js.map → p-7ae7b13d.entry.js.map} +0 -0
- /package/dist/calcite/{p-3031bdf1.entry.js.map → p-7bb38e31.entry.js.map} +0 -0
- /package/dist/calcite/{p-80040f02.entry.js.map → p-7f6cd4d3.entry.js.map} +0 -0
- /package/dist/calcite/{p-7998fe50.js.map → p-81dbc8c7.js.map} +0 -0
- /package/dist/calcite/{p-23a2cd2c.entry.js.map → p-83cf33e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-0489ac44.entry.js.map → p-86cd4976.entry.js.map} +0 -0
- /package/dist/calcite/{p-131a7cc9.js.map → p-876ed35e.js.map} +0 -0
- /package/dist/calcite/{p-544e45a7.js.map → p-8aebc84a.js.map} +0 -0
- /package/dist/calcite/{p-cfa96daa.js.map → p-8f74745d.js.map} +0 -0
- /package/dist/calcite/{p-bdd67ffd.entry.js.map → p-91232549.entry.js.map} +0 -0
- /package/dist/calcite/{p-a7ad3e35.entry.js.map → p-92b9792b.entry.js.map} +0 -0
- /package/dist/calcite/{p-86c763da.entry.js.map → p-952952fd.entry.js.map} +0 -0
- /package/dist/calcite/{p-80d59d00.js.map → p-9658e553.js.map} +0 -0
- /package/dist/calcite/{p-27e78514.entry.js.map → p-97263497.entry.js.map} +0 -0
- /package/dist/calcite/{p-cc8cc298.js.map → p-9be4d1f7.js.map} +0 -0
- /package/dist/calcite/{p-bb31096e.js.map → p-a0f0ab60.js.map} +0 -0
- /package/dist/calcite/{p-8e337f1e.js.map → p-a15309cc.js.map} +0 -0
- /package/dist/calcite/{p-dd373eac.entry.js.map → p-a2327e43.entry.js.map} +0 -0
- /package/dist/calcite/{p-c5a98718.entry.js.map → p-a3d0257f.entry.js.map} +0 -0
- /package/dist/calcite/{p-937d0953.entry.js.map → p-a45b9232.entry.js.map} +0 -0
- /package/dist/calcite/{p-ae9c98e7.js.map → p-a611863e.js.map} +0 -0
- /package/dist/calcite/{p-d2c9e61e.js.map → p-a687fb5d.js.map} +0 -0
- /package/dist/calcite/{p-a0adae03.js.map → p-a7174092.js.map} +0 -0
- /package/dist/calcite/{p-8decb673.js.map → p-a8db53ad.js.map} +0 -0
- /package/dist/calcite/{p-013f056c.entry.js.map → p-a924ead9.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b9c0d5e.js.map → p-aa1b6efa.js.map} +0 -0
- /package/dist/calcite/{p-94d1cfb9.entry.js.map → p-ad383243.entry.js.map} +0 -0
- /package/dist/calcite/{p-5ac19908.entry.js.map → p-b0e63b2f.entry.js.map} +0 -0
- /package/dist/calcite/{p-1c9d8b9d.entry.js.map → p-b225a30b.entry.js.map} +0 -0
- /package/dist/calcite/{p-08d0f6fe.js.map → p-b22a4da7.js.map} +0 -0
- /package/dist/calcite/{p-5593edbe.entry.js.map → p-b3754b5e.entry.js.map} +0 -0
- /package/dist/calcite/{p-846366d1.entry.js.map → p-b6cae5d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-605d1e6e.js.map → p-b8594f66.js.map} +0 -0
- /package/dist/calcite/{p-f86f5284.js.map → p-b98bfb3c.js.map} +0 -0
- /package/dist/calcite/{p-fbded330.js.map → p-ba8e5072.js.map} +0 -0
- /package/dist/calcite/{p-413283d9.js.map → p-bad38bf3.js.map} +0 -0
- /package/dist/calcite/{p-86e82ff9.entry.js.map → p-bc96f168.entry.js.map} +0 -0
- /package/dist/calcite/{p-6fcde31f.entry.js.map → p-be9c24cc.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd83c952.js.map → p-bf8b7858.js.map} +0 -0
- /package/dist/calcite/{p-3d5ca5ad.js.map → p-bf97d546.js.map} +0 -0
- /package/dist/calcite/{p-0f07da45.js.map → p-c1f3c681.js.map} +0 -0
- /package/dist/calcite/{p-efba76a2.entry.js.map → p-c22a6de0.entry.js.map} +0 -0
- /package/dist/calcite/{p-b6d5c8f8.js.map → p-c8d95bb8.js.map} +0 -0
- /package/dist/calcite/{p-10a409ee.entry.js.map → p-cabc49c7.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1c4fe89.entry.js.map → p-d0140d57.entry.js.map} +0 -0
- /package/dist/calcite/{p-8bc0cd8a.entry.js.map → p-d08aeabf.entry.js.map} +0 -0
- /package/dist/calcite/{p-8fce4010.js.map → p-d1fd90ac.js.map} +0 -0
- /package/dist/calcite/{p-dad344db.entry.js.map → p-d2a95f3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-9d094683.js.map → p-d436f417.js.map} +0 -0
- /package/dist/calcite/{p-2e44467a.js.map → p-d6cfcab9.js.map} +0 -0
- /package/dist/calcite/{p-7c9ca22e.entry.js.map → p-dab4e6d2.entry.js.map} +0 -0
- /package/dist/calcite/{p-825c5cba.js.map → p-daef6345.js.map} +0 -0
- /package/dist/calcite/{p-a2a4b868.js.map → p-dde88d02.js.map} +0 -0
- /package/dist/calcite/{p-9a24ee57.entry.js.map → p-de251ab2.entry.js.map} +0 -0
- /package/dist/calcite/{p-dda29128.js.map → p-df857db6.js.map} +0 -0
- /package/dist/calcite/{p-3df7b2e4.js.map → p-e14bc018.js.map} +0 -0
- /package/dist/calcite/{p-384dc840.js.map → p-e283942f.js.map} +0 -0
- /package/dist/calcite/{p-7326d2be.entry.js.map → p-e2a5640a.entry.js.map} +0 -0
- /package/dist/calcite/{p-820a1875.js.map → p-e38f29cd.js.map} +0 -0
- /package/dist/calcite/{p-8e947d3f.js.map → p-e5ac691d.js.map} +0 -0
- /package/dist/calcite/{p-926148ec.js.map → p-e6054b5f.js.map} +0 -0
- /package/dist/calcite/{p-cb00b075.js.map → p-e6737f0c.js.map} +0 -0
- /package/dist/calcite/{p-3d8a42c0.js.map → p-e94af5bb.js.map} +0 -0
- /package/dist/calcite/{p-52b6d959.entry.js.map → p-e9859305.entry.js.map} +0 -0
- /package/dist/calcite/{p-0ffd9454.js.map → p-ea540494.js.map} +0 -0
- /package/dist/calcite/{p-763e95d3.js.map → p-eb4fde2c.js.map} +0 -0
- /package/dist/calcite/{p-904fe6e7.entry.js.map → p-ee428955.entry.js.map} +0 -0
- /package/dist/calcite/{p-4bd075cc.js.map → p-ef8cc19a.js.map} +0 -0
- /package/dist/calcite/{p-d5b30407.js.map → p-f09f68ca.js.map} +0 -0
- /package/dist/calcite/{p-13bb382b.js.map → p-f0de67c1.js.map} +0 -0
- /package/dist/calcite/{p-5b95dead.js.map → p-f11d3014.js.map} +0 -0
- /package/dist/calcite/{p-d824ddf7.js.map → p-f38ad59b.js.map} +0 -0
- /package/dist/calcite/{p-d9f4c2d2.js.map → p-f429933e.js.map} +0 -0
- /package/dist/calcite/{p-2f300e34.entry.js.map → p-f8bfc6ee.entry.js.map} +0 -0
- /package/dist/calcite/{p-71e508b8.js.map → p-f9240194.js.map} +0 -0
- /package/dist/calcite/{p-bd49e676.entry.js.map → p-f9934cc1.entry.js.map} +0 -0
- /package/dist/calcite/{p-793dfa6b.js.map → p-fbdfad6a.js.map} +0 -0
- /package/dist/calcite/{p-1c33f127.js.map → p-fd0590d0.js.map} +0 -0
- /package/dist/calcite/{p-04d421ba.entry.js.map → p-fdefd82e.entry.js.map} +0 -0
|
@@ -0,0 +1,2355 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
+
* v2.11.1
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const resources = require('./resources-67e687a0.js');
|
|
9
|
+
const dom = require('./dom-e152fffa.js');
|
|
10
|
+
const browser = require('./browser-96c1e586.js');
|
|
11
|
+
const debounce = require('./debounce-02cb45f2.js');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Custom positioning reference element.
|
|
15
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
19
|
+
const alignments = ['start', 'end'];
|
|
20
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
21
|
+
const min = Math.min;
|
|
22
|
+
const max = Math.max;
|
|
23
|
+
const round = Math.round;
|
|
24
|
+
const floor = Math.floor;
|
|
25
|
+
const createCoords = v => ({
|
|
26
|
+
x: v,
|
|
27
|
+
y: v
|
|
28
|
+
});
|
|
29
|
+
const oppositeSideMap = {
|
|
30
|
+
left: 'right',
|
|
31
|
+
right: 'left',
|
|
32
|
+
bottom: 'top',
|
|
33
|
+
top: 'bottom'
|
|
34
|
+
};
|
|
35
|
+
const oppositeAlignmentMap = {
|
|
36
|
+
start: 'end',
|
|
37
|
+
end: 'start'
|
|
38
|
+
};
|
|
39
|
+
function clamp(start, value, end) {
|
|
40
|
+
return max(start, min(value, end));
|
|
41
|
+
}
|
|
42
|
+
function evaluate(value, param) {
|
|
43
|
+
return typeof value === 'function' ? value(param) : value;
|
|
44
|
+
}
|
|
45
|
+
function getSide(placement) {
|
|
46
|
+
return placement.split('-')[0];
|
|
47
|
+
}
|
|
48
|
+
function getAlignment(placement) {
|
|
49
|
+
return placement.split('-')[1];
|
|
50
|
+
}
|
|
51
|
+
function getOppositeAxis(axis) {
|
|
52
|
+
return axis === 'x' ? 'y' : 'x';
|
|
53
|
+
}
|
|
54
|
+
function getAxisLength(axis) {
|
|
55
|
+
return axis === 'y' ? 'height' : 'width';
|
|
56
|
+
}
|
|
57
|
+
function getSideAxis(placement) {
|
|
58
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
59
|
+
}
|
|
60
|
+
function getAlignmentAxis(placement) {
|
|
61
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
62
|
+
}
|
|
63
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
64
|
+
if (rtl === void 0) {
|
|
65
|
+
rtl = false;
|
|
66
|
+
}
|
|
67
|
+
const alignment = getAlignment(placement);
|
|
68
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
69
|
+
const length = getAxisLength(alignmentAxis);
|
|
70
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
71
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
72
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
73
|
+
}
|
|
74
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
75
|
+
}
|
|
76
|
+
function getExpandedPlacements(placement) {
|
|
77
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
78
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
79
|
+
}
|
|
80
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
81
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
82
|
+
}
|
|
83
|
+
function getSideList(side, isStart, rtl) {
|
|
84
|
+
const lr = ['left', 'right'];
|
|
85
|
+
const rl = ['right', 'left'];
|
|
86
|
+
const tb = ['top', 'bottom'];
|
|
87
|
+
const bt = ['bottom', 'top'];
|
|
88
|
+
switch (side) {
|
|
89
|
+
case 'top':
|
|
90
|
+
case 'bottom':
|
|
91
|
+
if (rtl) return isStart ? rl : lr;
|
|
92
|
+
return isStart ? lr : rl;
|
|
93
|
+
case 'left':
|
|
94
|
+
case 'right':
|
|
95
|
+
return isStart ? tb : bt;
|
|
96
|
+
default:
|
|
97
|
+
return [];
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
101
|
+
const alignment = getAlignment(placement);
|
|
102
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
103
|
+
if (alignment) {
|
|
104
|
+
list = list.map(side => side + "-" + alignment);
|
|
105
|
+
if (flipAlignment) {
|
|
106
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return list;
|
|
110
|
+
}
|
|
111
|
+
function getOppositePlacement(placement) {
|
|
112
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
113
|
+
}
|
|
114
|
+
function expandPaddingObject(padding) {
|
|
115
|
+
return {
|
|
116
|
+
top: 0,
|
|
117
|
+
right: 0,
|
|
118
|
+
bottom: 0,
|
|
119
|
+
left: 0,
|
|
120
|
+
...padding
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function getPaddingObject(padding) {
|
|
124
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
125
|
+
top: padding,
|
|
126
|
+
right: padding,
|
|
127
|
+
bottom: padding,
|
|
128
|
+
left: padding
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function rectToClientRect(rect) {
|
|
132
|
+
const {
|
|
133
|
+
x,
|
|
134
|
+
y,
|
|
135
|
+
width,
|
|
136
|
+
height
|
|
137
|
+
} = rect;
|
|
138
|
+
return {
|
|
139
|
+
width,
|
|
140
|
+
height,
|
|
141
|
+
top: y,
|
|
142
|
+
left: x,
|
|
143
|
+
right: x + width,
|
|
144
|
+
bottom: y + height,
|
|
145
|
+
x,
|
|
146
|
+
y
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
151
|
+
let {
|
|
152
|
+
reference,
|
|
153
|
+
floating
|
|
154
|
+
} = _ref;
|
|
155
|
+
const sideAxis = getSideAxis(placement);
|
|
156
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
157
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
158
|
+
const side = getSide(placement);
|
|
159
|
+
const isVertical = sideAxis === 'y';
|
|
160
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
161
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
162
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
163
|
+
let coords;
|
|
164
|
+
switch (side) {
|
|
165
|
+
case 'top':
|
|
166
|
+
coords = {
|
|
167
|
+
x: commonX,
|
|
168
|
+
y: reference.y - floating.height
|
|
169
|
+
};
|
|
170
|
+
break;
|
|
171
|
+
case 'bottom':
|
|
172
|
+
coords = {
|
|
173
|
+
x: commonX,
|
|
174
|
+
y: reference.y + reference.height
|
|
175
|
+
};
|
|
176
|
+
break;
|
|
177
|
+
case 'right':
|
|
178
|
+
coords = {
|
|
179
|
+
x: reference.x + reference.width,
|
|
180
|
+
y: commonY
|
|
181
|
+
};
|
|
182
|
+
break;
|
|
183
|
+
case 'left':
|
|
184
|
+
coords = {
|
|
185
|
+
x: reference.x - floating.width,
|
|
186
|
+
y: commonY
|
|
187
|
+
};
|
|
188
|
+
break;
|
|
189
|
+
default:
|
|
190
|
+
coords = {
|
|
191
|
+
x: reference.x,
|
|
192
|
+
y: reference.y
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
switch (getAlignment(placement)) {
|
|
196
|
+
case 'start':
|
|
197
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
198
|
+
break;
|
|
199
|
+
case 'end':
|
|
200
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
return coords;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
208
|
+
* next to a given reference element.
|
|
209
|
+
*
|
|
210
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
211
|
+
* write one for the platform you are using Floating UI with.
|
|
212
|
+
*/
|
|
213
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
214
|
+
const {
|
|
215
|
+
placement = 'bottom',
|
|
216
|
+
strategy = 'absolute',
|
|
217
|
+
middleware = [],
|
|
218
|
+
platform
|
|
219
|
+
} = config;
|
|
220
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
221
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
222
|
+
let rects = await platform.getElementRects({
|
|
223
|
+
reference,
|
|
224
|
+
floating,
|
|
225
|
+
strategy
|
|
226
|
+
});
|
|
227
|
+
let {
|
|
228
|
+
x,
|
|
229
|
+
y
|
|
230
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
231
|
+
let statefulPlacement = placement;
|
|
232
|
+
let middlewareData = {};
|
|
233
|
+
let resetCount = 0;
|
|
234
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
235
|
+
const {
|
|
236
|
+
name,
|
|
237
|
+
fn
|
|
238
|
+
} = validMiddleware[i];
|
|
239
|
+
const {
|
|
240
|
+
x: nextX,
|
|
241
|
+
y: nextY,
|
|
242
|
+
data,
|
|
243
|
+
reset
|
|
244
|
+
} = await fn({
|
|
245
|
+
x,
|
|
246
|
+
y,
|
|
247
|
+
initialPlacement: placement,
|
|
248
|
+
placement: statefulPlacement,
|
|
249
|
+
strategy,
|
|
250
|
+
middlewareData,
|
|
251
|
+
rects,
|
|
252
|
+
platform,
|
|
253
|
+
elements: {
|
|
254
|
+
reference,
|
|
255
|
+
floating
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
x = nextX != null ? nextX : x;
|
|
259
|
+
y = nextY != null ? nextY : y;
|
|
260
|
+
middlewareData = {
|
|
261
|
+
...middlewareData,
|
|
262
|
+
[name]: {
|
|
263
|
+
...middlewareData[name],
|
|
264
|
+
...data
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
if (reset && resetCount <= 50) {
|
|
268
|
+
resetCount++;
|
|
269
|
+
if (typeof reset === 'object') {
|
|
270
|
+
if (reset.placement) {
|
|
271
|
+
statefulPlacement = reset.placement;
|
|
272
|
+
}
|
|
273
|
+
if (reset.rects) {
|
|
274
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
275
|
+
reference,
|
|
276
|
+
floating,
|
|
277
|
+
strategy
|
|
278
|
+
}) : reset.rects;
|
|
279
|
+
}
|
|
280
|
+
({
|
|
281
|
+
x,
|
|
282
|
+
y
|
|
283
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
284
|
+
}
|
|
285
|
+
i = -1;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return {
|
|
289
|
+
x,
|
|
290
|
+
y,
|
|
291
|
+
placement: statefulPlacement,
|
|
292
|
+
strategy,
|
|
293
|
+
middlewareData
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
299
|
+
* element is overflowing a given clipping boundary on each side.
|
|
300
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
301
|
+
* - negative = how many pixels left before it will overflow
|
|
302
|
+
* - 0 = lies flush with the boundary
|
|
303
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
304
|
+
*/
|
|
305
|
+
async function detectOverflow(state, options) {
|
|
306
|
+
var _await$platform$isEle;
|
|
307
|
+
if (options === void 0) {
|
|
308
|
+
options = {};
|
|
309
|
+
}
|
|
310
|
+
const {
|
|
311
|
+
x,
|
|
312
|
+
y,
|
|
313
|
+
platform,
|
|
314
|
+
rects,
|
|
315
|
+
elements,
|
|
316
|
+
strategy
|
|
317
|
+
} = state;
|
|
318
|
+
const {
|
|
319
|
+
boundary = 'clippingAncestors',
|
|
320
|
+
rootBoundary = 'viewport',
|
|
321
|
+
elementContext = 'floating',
|
|
322
|
+
altBoundary = false,
|
|
323
|
+
padding = 0
|
|
324
|
+
} = evaluate(options, state);
|
|
325
|
+
const paddingObject = getPaddingObject(padding);
|
|
326
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
327
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
328
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
329
|
+
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))),
|
|
330
|
+
boundary,
|
|
331
|
+
rootBoundary,
|
|
332
|
+
strategy
|
|
333
|
+
}));
|
|
334
|
+
const rect = elementContext === 'floating' ? {
|
|
335
|
+
x,
|
|
336
|
+
y,
|
|
337
|
+
width: rects.floating.width,
|
|
338
|
+
height: rects.floating.height
|
|
339
|
+
} : rects.reference;
|
|
340
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
341
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
342
|
+
x: 1,
|
|
343
|
+
y: 1
|
|
344
|
+
} : {
|
|
345
|
+
x: 1,
|
|
346
|
+
y: 1
|
|
347
|
+
};
|
|
348
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
349
|
+
elements,
|
|
350
|
+
rect,
|
|
351
|
+
offsetParent,
|
|
352
|
+
strategy
|
|
353
|
+
}) : rect);
|
|
354
|
+
return {
|
|
355
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
356
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
357
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
358
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Provides data to position an inner element of the floating element so that it
|
|
364
|
+
* appears centered to the reference element.
|
|
365
|
+
* @see https://floating-ui.com/docs/arrow
|
|
366
|
+
*/
|
|
367
|
+
const arrow$1 = options => ({
|
|
368
|
+
name: 'arrow',
|
|
369
|
+
options,
|
|
370
|
+
async fn(state) {
|
|
371
|
+
const {
|
|
372
|
+
x,
|
|
373
|
+
y,
|
|
374
|
+
placement,
|
|
375
|
+
rects,
|
|
376
|
+
platform,
|
|
377
|
+
elements,
|
|
378
|
+
middlewareData
|
|
379
|
+
} = state;
|
|
380
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
381
|
+
const {
|
|
382
|
+
element,
|
|
383
|
+
padding = 0
|
|
384
|
+
} = evaluate(options, state) || {};
|
|
385
|
+
if (element == null) {
|
|
386
|
+
return {};
|
|
387
|
+
}
|
|
388
|
+
const paddingObject = getPaddingObject(padding);
|
|
389
|
+
const coords = {
|
|
390
|
+
x,
|
|
391
|
+
y
|
|
392
|
+
};
|
|
393
|
+
const axis = getAlignmentAxis(placement);
|
|
394
|
+
const length = getAxisLength(axis);
|
|
395
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
396
|
+
const isYAxis = axis === 'y';
|
|
397
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
398
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
399
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
400
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
401
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
402
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
403
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
404
|
+
|
|
405
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
406
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
407
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
408
|
+
}
|
|
409
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
410
|
+
|
|
411
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
412
|
+
// centered, modify the padding so that it is centered.
|
|
413
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
414
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
415
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
416
|
+
|
|
417
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
418
|
+
// point is outside the floating element's bounds.
|
|
419
|
+
const min$1 = minPadding;
|
|
420
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
421
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
422
|
+
const offset = clamp(min$1, center, max);
|
|
423
|
+
|
|
424
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
425
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
426
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
427
|
+
// a single reset is performed when this is true.
|
|
428
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
429
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
430
|
+
return {
|
|
431
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
432
|
+
data: {
|
|
433
|
+
[axis]: offset,
|
|
434
|
+
centerOffset: center - offset - alignmentOffset,
|
|
435
|
+
...(shouldAddOffset && {
|
|
436
|
+
alignmentOffset
|
|
437
|
+
})
|
|
438
|
+
},
|
|
439
|
+
reset: shouldAddOffset
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
445
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
446
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
447
|
+
if (alignment) {
|
|
448
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
449
|
+
}
|
|
450
|
+
return true;
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
455
|
+
* that has the most space available automatically, without needing to specify a
|
|
456
|
+
* preferred placement. Alternative to `flip`.
|
|
457
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
458
|
+
*/
|
|
459
|
+
const autoPlacement$1 = function (options) {
|
|
460
|
+
if (options === void 0) {
|
|
461
|
+
options = {};
|
|
462
|
+
}
|
|
463
|
+
return {
|
|
464
|
+
name: 'autoPlacement',
|
|
465
|
+
options,
|
|
466
|
+
async fn(state) {
|
|
467
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
468
|
+
const {
|
|
469
|
+
rects,
|
|
470
|
+
middlewareData,
|
|
471
|
+
placement,
|
|
472
|
+
platform,
|
|
473
|
+
elements
|
|
474
|
+
} = state;
|
|
475
|
+
const {
|
|
476
|
+
crossAxis = false,
|
|
477
|
+
alignment,
|
|
478
|
+
allowedPlacements = placements,
|
|
479
|
+
autoAlignment = true,
|
|
480
|
+
...detectOverflowOptions
|
|
481
|
+
} = evaluate(options, state);
|
|
482
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
483
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
484
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
485
|
+
const currentPlacement = placements$1[currentIndex];
|
|
486
|
+
if (currentPlacement == null) {
|
|
487
|
+
return {};
|
|
488
|
+
}
|
|
489
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
490
|
+
|
|
491
|
+
// Make `computeCoords` start from the right place.
|
|
492
|
+
if (placement !== currentPlacement) {
|
|
493
|
+
return {
|
|
494
|
+
reset: {
|
|
495
|
+
placement: placements$1[0]
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
500
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
501
|
+
placement: currentPlacement,
|
|
502
|
+
overflows: currentOverflows
|
|
503
|
+
}];
|
|
504
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
505
|
+
|
|
506
|
+
// There are more placements to check.
|
|
507
|
+
if (nextPlacement) {
|
|
508
|
+
return {
|
|
509
|
+
data: {
|
|
510
|
+
index: currentIndex + 1,
|
|
511
|
+
overflows: allOverflows
|
|
512
|
+
},
|
|
513
|
+
reset: {
|
|
514
|
+
placement: nextPlacement
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
519
|
+
const alignment = getAlignment(d.placement);
|
|
520
|
+
return [d.placement, alignment && crossAxis ?
|
|
521
|
+
// Check along the mainAxis and main crossAxis side.
|
|
522
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
523
|
+
// Check only the mainAxis.
|
|
524
|
+
d.overflows[0], d.overflows];
|
|
525
|
+
}).sort((a, b) => a[1] - b[1]);
|
|
526
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
527
|
+
// Aligned placements should not check their opposite crossAxis
|
|
528
|
+
// side.
|
|
529
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
530
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
531
|
+
if (resetPlacement !== placement) {
|
|
532
|
+
return {
|
|
533
|
+
data: {
|
|
534
|
+
index: currentIndex + 1,
|
|
535
|
+
overflows: allOverflows
|
|
536
|
+
},
|
|
537
|
+
reset: {
|
|
538
|
+
placement: resetPlacement
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
return {};
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
549
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
550
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
551
|
+
* @see https://floating-ui.com/docs/flip
|
|
552
|
+
*/
|
|
553
|
+
const flip$1 = function (options) {
|
|
554
|
+
if (options === void 0) {
|
|
555
|
+
options = {};
|
|
556
|
+
}
|
|
557
|
+
return {
|
|
558
|
+
name: 'flip',
|
|
559
|
+
options,
|
|
560
|
+
async fn(state) {
|
|
561
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
562
|
+
const {
|
|
563
|
+
placement,
|
|
564
|
+
middlewareData,
|
|
565
|
+
rects,
|
|
566
|
+
initialPlacement,
|
|
567
|
+
platform,
|
|
568
|
+
elements
|
|
569
|
+
} = state;
|
|
570
|
+
const {
|
|
571
|
+
mainAxis: checkMainAxis = true,
|
|
572
|
+
crossAxis: checkCrossAxis = true,
|
|
573
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
574
|
+
fallbackStrategy = 'bestFit',
|
|
575
|
+
fallbackAxisSideDirection = 'none',
|
|
576
|
+
flipAlignment = true,
|
|
577
|
+
...detectOverflowOptions
|
|
578
|
+
} = evaluate(options, state);
|
|
579
|
+
|
|
580
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
581
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
582
|
+
// work.
|
|
583
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
584
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
585
|
+
return {};
|
|
586
|
+
}
|
|
587
|
+
const side = getSide(placement);
|
|
588
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
589
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
590
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
591
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
592
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
593
|
+
}
|
|
594
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
595
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
596
|
+
const overflows = [];
|
|
597
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
598
|
+
if (checkMainAxis) {
|
|
599
|
+
overflows.push(overflow[side]);
|
|
600
|
+
}
|
|
601
|
+
if (checkCrossAxis) {
|
|
602
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
603
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
604
|
+
}
|
|
605
|
+
overflowsData = [...overflowsData, {
|
|
606
|
+
placement,
|
|
607
|
+
overflows
|
|
608
|
+
}];
|
|
609
|
+
|
|
610
|
+
// One or more sides is overflowing.
|
|
611
|
+
if (!overflows.every(side => side <= 0)) {
|
|
612
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
613
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
614
|
+
const nextPlacement = placements[nextIndex];
|
|
615
|
+
if (nextPlacement) {
|
|
616
|
+
// Try next placement and re-run the lifecycle.
|
|
617
|
+
return {
|
|
618
|
+
data: {
|
|
619
|
+
index: nextIndex,
|
|
620
|
+
overflows: overflowsData
|
|
621
|
+
},
|
|
622
|
+
reset: {
|
|
623
|
+
placement: nextPlacement
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
629
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
630
|
+
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;
|
|
631
|
+
|
|
632
|
+
// Otherwise fallback.
|
|
633
|
+
if (!resetPlacement) {
|
|
634
|
+
switch (fallbackStrategy) {
|
|
635
|
+
case 'bestFit':
|
|
636
|
+
{
|
|
637
|
+
var _overflowsData$map$so;
|
|
638
|
+
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];
|
|
639
|
+
if (placement) {
|
|
640
|
+
resetPlacement = placement;
|
|
641
|
+
}
|
|
642
|
+
break;
|
|
643
|
+
}
|
|
644
|
+
case 'initialPlacement':
|
|
645
|
+
resetPlacement = initialPlacement;
|
|
646
|
+
break;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
if (placement !== resetPlacement) {
|
|
650
|
+
return {
|
|
651
|
+
reset: {
|
|
652
|
+
placement: resetPlacement
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
return {};
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
function getSideOffsets(overflow, rect) {
|
|
663
|
+
return {
|
|
664
|
+
top: overflow.top - rect.height,
|
|
665
|
+
right: overflow.right - rect.width,
|
|
666
|
+
bottom: overflow.bottom - rect.height,
|
|
667
|
+
left: overflow.left - rect.width
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
function isAnySideFullyClipped(overflow) {
|
|
671
|
+
return sides.some(side => overflow[side] >= 0);
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
675
|
+
* when it is not in the same clipping context as the reference element.
|
|
676
|
+
* @see https://floating-ui.com/docs/hide
|
|
677
|
+
*/
|
|
678
|
+
const hide$1 = function (options) {
|
|
679
|
+
if (options === void 0) {
|
|
680
|
+
options = {};
|
|
681
|
+
}
|
|
682
|
+
return {
|
|
683
|
+
name: 'hide',
|
|
684
|
+
options,
|
|
685
|
+
async fn(state) {
|
|
686
|
+
const {
|
|
687
|
+
rects
|
|
688
|
+
} = state;
|
|
689
|
+
const {
|
|
690
|
+
strategy = 'referenceHidden',
|
|
691
|
+
...detectOverflowOptions
|
|
692
|
+
} = evaluate(options, state);
|
|
693
|
+
switch (strategy) {
|
|
694
|
+
case 'referenceHidden':
|
|
695
|
+
{
|
|
696
|
+
const overflow = await detectOverflow(state, {
|
|
697
|
+
...detectOverflowOptions,
|
|
698
|
+
elementContext: 'reference'
|
|
699
|
+
});
|
|
700
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
|
701
|
+
return {
|
|
702
|
+
data: {
|
|
703
|
+
referenceHiddenOffsets: offsets,
|
|
704
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
case 'escaped':
|
|
709
|
+
{
|
|
710
|
+
const overflow = await detectOverflow(state, {
|
|
711
|
+
...detectOverflowOptions,
|
|
712
|
+
altBoundary: true
|
|
713
|
+
});
|
|
714
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
|
715
|
+
return {
|
|
716
|
+
data: {
|
|
717
|
+
escapedOffsets: offsets,
|
|
718
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
default:
|
|
723
|
+
{
|
|
724
|
+
return {};
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
function getBoundingRect(rects) {
|
|
732
|
+
const minX = min(...rects.map(rect => rect.left));
|
|
733
|
+
const minY = min(...rects.map(rect => rect.top));
|
|
734
|
+
const maxX = max(...rects.map(rect => rect.right));
|
|
735
|
+
const maxY = max(...rects.map(rect => rect.bottom));
|
|
736
|
+
return {
|
|
737
|
+
x: minX,
|
|
738
|
+
y: minY,
|
|
739
|
+
width: maxX - minX,
|
|
740
|
+
height: maxY - minY
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
function getRectsByLine(rects) {
|
|
744
|
+
const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
|
|
745
|
+
const groups = [];
|
|
746
|
+
let prevRect = null;
|
|
747
|
+
for (let i = 0; i < sortedRects.length; i++) {
|
|
748
|
+
const rect = sortedRects[i];
|
|
749
|
+
if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
|
|
750
|
+
groups.push([rect]);
|
|
751
|
+
} else {
|
|
752
|
+
groups[groups.length - 1].push(rect);
|
|
753
|
+
}
|
|
754
|
+
prevRect = rect;
|
|
755
|
+
}
|
|
756
|
+
return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Provides improved positioning for inline reference elements that can span
|
|
760
|
+
* over multiple lines, such as hyperlinks or range selections.
|
|
761
|
+
* @see https://floating-ui.com/docs/inline
|
|
762
|
+
*/
|
|
763
|
+
const inline = function (options) {
|
|
764
|
+
if (options === void 0) {
|
|
765
|
+
options = {};
|
|
766
|
+
}
|
|
767
|
+
return {
|
|
768
|
+
name: 'inline',
|
|
769
|
+
options,
|
|
770
|
+
async fn(state) {
|
|
771
|
+
const {
|
|
772
|
+
placement,
|
|
773
|
+
elements,
|
|
774
|
+
rects,
|
|
775
|
+
platform,
|
|
776
|
+
strategy
|
|
777
|
+
} = state;
|
|
778
|
+
// A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
|
|
779
|
+
// ClientRect's bounds, despite the event listener being triggered. A
|
|
780
|
+
// padding of 2 seems to handle this issue.
|
|
781
|
+
const {
|
|
782
|
+
padding = 2,
|
|
783
|
+
x,
|
|
784
|
+
y
|
|
785
|
+
} = evaluate(options, state);
|
|
786
|
+
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
|
787
|
+
const clientRects = getRectsByLine(nativeClientRects);
|
|
788
|
+
const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
|
|
789
|
+
const paddingObject = getPaddingObject(padding);
|
|
790
|
+
function getBoundingClientRect() {
|
|
791
|
+
// There are two rects and they are disjoined.
|
|
792
|
+
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
|
793
|
+
// Find the first rect in which the point is fully inside.
|
|
794
|
+
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
// There are 2 or more connected rects.
|
|
798
|
+
if (clientRects.length >= 2) {
|
|
799
|
+
if (getSideAxis(placement) === 'y') {
|
|
800
|
+
const firstRect = clientRects[0];
|
|
801
|
+
const lastRect = clientRects[clientRects.length - 1];
|
|
802
|
+
const isTop = getSide(placement) === 'top';
|
|
803
|
+
const top = firstRect.top;
|
|
804
|
+
const bottom = lastRect.bottom;
|
|
805
|
+
const left = isTop ? firstRect.left : lastRect.left;
|
|
806
|
+
const right = isTop ? firstRect.right : lastRect.right;
|
|
807
|
+
const width = right - left;
|
|
808
|
+
const height = bottom - top;
|
|
809
|
+
return {
|
|
810
|
+
top,
|
|
811
|
+
bottom,
|
|
812
|
+
left,
|
|
813
|
+
right,
|
|
814
|
+
width,
|
|
815
|
+
height,
|
|
816
|
+
x: left,
|
|
817
|
+
y: top
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
const isLeftSide = getSide(placement) === 'left';
|
|
821
|
+
const maxRight = max(...clientRects.map(rect => rect.right));
|
|
822
|
+
const minLeft = min(...clientRects.map(rect => rect.left));
|
|
823
|
+
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
|
824
|
+
const top = measureRects[0].top;
|
|
825
|
+
const bottom = measureRects[measureRects.length - 1].bottom;
|
|
826
|
+
const left = minLeft;
|
|
827
|
+
const right = maxRight;
|
|
828
|
+
const width = right - left;
|
|
829
|
+
const height = bottom - top;
|
|
830
|
+
return {
|
|
831
|
+
top,
|
|
832
|
+
bottom,
|
|
833
|
+
left,
|
|
834
|
+
right,
|
|
835
|
+
width,
|
|
836
|
+
height,
|
|
837
|
+
x: left,
|
|
838
|
+
y: top
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
return fallback;
|
|
842
|
+
}
|
|
843
|
+
const resetRects = await platform.getElementRects({
|
|
844
|
+
reference: {
|
|
845
|
+
getBoundingClientRect
|
|
846
|
+
},
|
|
847
|
+
floating: elements.floating,
|
|
848
|
+
strategy
|
|
849
|
+
});
|
|
850
|
+
if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
|
|
851
|
+
return {
|
|
852
|
+
reset: {
|
|
853
|
+
rects: resetRects
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
return {};
|
|
858
|
+
}
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
863
|
+
// Derivable.
|
|
864
|
+
|
|
865
|
+
async function convertValueToCoords(state, options) {
|
|
866
|
+
const {
|
|
867
|
+
placement,
|
|
868
|
+
platform,
|
|
869
|
+
elements
|
|
870
|
+
} = state;
|
|
871
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
872
|
+
const side = getSide(placement);
|
|
873
|
+
const alignment = getAlignment(placement);
|
|
874
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
875
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
876
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
877
|
+
const rawValue = evaluate(options, state);
|
|
878
|
+
|
|
879
|
+
// eslint-disable-next-line prefer-const
|
|
880
|
+
let {
|
|
881
|
+
mainAxis,
|
|
882
|
+
crossAxis,
|
|
883
|
+
alignmentAxis
|
|
884
|
+
} = typeof rawValue === 'number' ? {
|
|
885
|
+
mainAxis: rawValue,
|
|
886
|
+
crossAxis: 0,
|
|
887
|
+
alignmentAxis: null
|
|
888
|
+
} : {
|
|
889
|
+
mainAxis: 0,
|
|
890
|
+
crossAxis: 0,
|
|
891
|
+
alignmentAxis: null,
|
|
892
|
+
...rawValue
|
|
893
|
+
};
|
|
894
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
895
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
896
|
+
}
|
|
897
|
+
return isVertical ? {
|
|
898
|
+
x: crossAxis * crossAxisMulti,
|
|
899
|
+
y: mainAxis * mainAxisMulti
|
|
900
|
+
} : {
|
|
901
|
+
x: mainAxis * mainAxisMulti,
|
|
902
|
+
y: crossAxis * crossAxisMulti
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Modifies the placement by translating the floating element along the
|
|
908
|
+
* specified axes.
|
|
909
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
910
|
+
* object may be passed.
|
|
911
|
+
* @see https://floating-ui.com/docs/offset
|
|
912
|
+
*/
|
|
913
|
+
const offset$1 = function (options) {
|
|
914
|
+
if (options === void 0) {
|
|
915
|
+
options = 0;
|
|
916
|
+
}
|
|
917
|
+
return {
|
|
918
|
+
name: 'offset',
|
|
919
|
+
options,
|
|
920
|
+
async fn(state) {
|
|
921
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
922
|
+
const {
|
|
923
|
+
x,
|
|
924
|
+
y,
|
|
925
|
+
placement,
|
|
926
|
+
middlewareData
|
|
927
|
+
} = state;
|
|
928
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
929
|
+
|
|
930
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
931
|
+
// then we don't need to change the positioning coordinates.
|
|
932
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
933
|
+
return {};
|
|
934
|
+
}
|
|
935
|
+
return {
|
|
936
|
+
x: x + diffCoords.x,
|
|
937
|
+
y: y + diffCoords.y,
|
|
938
|
+
data: {
|
|
939
|
+
...diffCoords,
|
|
940
|
+
placement
|
|
941
|
+
}
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
949
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
950
|
+
* @see https://floating-ui.com/docs/shift
|
|
951
|
+
*/
|
|
952
|
+
const shift$1 = function (options) {
|
|
953
|
+
if (options === void 0) {
|
|
954
|
+
options = {};
|
|
955
|
+
}
|
|
956
|
+
return {
|
|
957
|
+
name: 'shift',
|
|
958
|
+
options,
|
|
959
|
+
async fn(state) {
|
|
960
|
+
const {
|
|
961
|
+
x,
|
|
962
|
+
y,
|
|
963
|
+
placement
|
|
964
|
+
} = state;
|
|
965
|
+
const {
|
|
966
|
+
mainAxis: checkMainAxis = true,
|
|
967
|
+
crossAxis: checkCrossAxis = false,
|
|
968
|
+
limiter = {
|
|
969
|
+
fn: _ref => {
|
|
970
|
+
let {
|
|
971
|
+
x,
|
|
972
|
+
y
|
|
973
|
+
} = _ref;
|
|
974
|
+
return {
|
|
975
|
+
x,
|
|
976
|
+
y
|
|
977
|
+
};
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
...detectOverflowOptions
|
|
981
|
+
} = evaluate(options, state);
|
|
982
|
+
const coords = {
|
|
983
|
+
x,
|
|
984
|
+
y
|
|
985
|
+
};
|
|
986
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
987
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
988
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
989
|
+
let mainAxisCoord = coords[mainAxis];
|
|
990
|
+
let crossAxisCoord = coords[crossAxis];
|
|
991
|
+
if (checkMainAxis) {
|
|
992
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
993
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
994
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
995
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
996
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
997
|
+
}
|
|
998
|
+
if (checkCrossAxis) {
|
|
999
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
1000
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
1001
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
1002
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
1003
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
1004
|
+
}
|
|
1005
|
+
const limitedCoords = limiter.fn({
|
|
1006
|
+
...state,
|
|
1007
|
+
[mainAxis]: mainAxisCoord,
|
|
1008
|
+
[crossAxis]: crossAxisCoord
|
|
1009
|
+
});
|
|
1010
|
+
return {
|
|
1011
|
+
...limitedCoords,
|
|
1012
|
+
data: {
|
|
1013
|
+
x: limitedCoords.x - x,
|
|
1014
|
+
y: limitedCoords.y - y
|
|
1015
|
+
}
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
1022
|
+
*/
|
|
1023
|
+
const limitShift = function (options) {
|
|
1024
|
+
if (options === void 0) {
|
|
1025
|
+
options = {};
|
|
1026
|
+
}
|
|
1027
|
+
return {
|
|
1028
|
+
options,
|
|
1029
|
+
fn(state) {
|
|
1030
|
+
const {
|
|
1031
|
+
x,
|
|
1032
|
+
y,
|
|
1033
|
+
placement,
|
|
1034
|
+
rects,
|
|
1035
|
+
middlewareData
|
|
1036
|
+
} = state;
|
|
1037
|
+
const {
|
|
1038
|
+
offset = 0,
|
|
1039
|
+
mainAxis: checkMainAxis = true,
|
|
1040
|
+
crossAxis: checkCrossAxis = true
|
|
1041
|
+
} = evaluate(options, state);
|
|
1042
|
+
const coords = {
|
|
1043
|
+
x,
|
|
1044
|
+
y
|
|
1045
|
+
};
|
|
1046
|
+
const crossAxis = getSideAxis(placement);
|
|
1047
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
1048
|
+
let mainAxisCoord = coords[mainAxis];
|
|
1049
|
+
let crossAxisCoord = coords[crossAxis];
|
|
1050
|
+
const rawOffset = evaluate(offset, state);
|
|
1051
|
+
const computedOffset = typeof rawOffset === 'number' ? {
|
|
1052
|
+
mainAxis: rawOffset,
|
|
1053
|
+
crossAxis: 0
|
|
1054
|
+
} : {
|
|
1055
|
+
mainAxis: 0,
|
|
1056
|
+
crossAxis: 0,
|
|
1057
|
+
...rawOffset
|
|
1058
|
+
};
|
|
1059
|
+
if (checkMainAxis) {
|
|
1060
|
+
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
1061
|
+
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
1062
|
+
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
1063
|
+
if (mainAxisCoord < limitMin) {
|
|
1064
|
+
mainAxisCoord = limitMin;
|
|
1065
|
+
} else if (mainAxisCoord > limitMax) {
|
|
1066
|
+
mainAxisCoord = limitMax;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
if (checkCrossAxis) {
|
|
1070
|
+
var _middlewareData$offse, _middlewareData$offse2;
|
|
1071
|
+
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
1072
|
+
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
|
1073
|
+
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
1074
|
+
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
1075
|
+
if (crossAxisCoord < limitMin) {
|
|
1076
|
+
crossAxisCoord = limitMin;
|
|
1077
|
+
} else if (crossAxisCoord > limitMax) {
|
|
1078
|
+
crossAxisCoord = limitMax;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
return {
|
|
1082
|
+
[mainAxis]: mainAxisCoord,
|
|
1083
|
+
[crossAxis]: crossAxisCoord
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Provides data that allows you to change the size of the floating element —
|
|
1091
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1092
|
+
* width of the reference element.
|
|
1093
|
+
* @see https://floating-ui.com/docs/size
|
|
1094
|
+
*/
|
|
1095
|
+
const size = function (options) {
|
|
1096
|
+
if (options === void 0) {
|
|
1097
|
+
options = {};
|
|
1098
|
+
}
|
|
1099
|
+
return {
|
|
1100
|
+
name: 'size',
|
|
1101
|
+
options,
|
|
1102
|
+
async fn(state) {
|
|
1103
|
+
const {
|
|
1104
|
+
placement,
|
|
1105
|
+
rects,
|
|
1106
|
+
platform,
|
|
1107
|
+
elements
|
|
1108
|
+
} = state;
|
|
1109
|
+
const {
|
|
1110
|
+
apply = () => {},
|
|
1111
|
+
...detectOverflowOptions
|
|
1112
|
+
} = evaluate(options, state);
|
|
1113
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1114
|
+
const side = getSide(placement);
|
|
1115
|
+
const alignment = getAlignment(placement);
|
|
1116
|
+
const isYAxis = getSideAxis(placement) === 'y';
|
|
1117
|
+
const {
|
|
1118
|
+
width,
|
|
1119
|
+
height
|
|
1120
|
+
} = rects.floating;
|
|
1121
|
+
let heightSide;
|
|
1122
|
+
let widthSide;
|
|
1123
|
+
if (side === 'top' || side === 'bottom') {
|
|
1124
|
+
heightSide = side;
|
|
1125
|
+
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
1126
|
+
} else {
|
|
1127
|
+
widthSide = side;
|
|
1128
|
+
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
1129
|
+
}
|
|
1130
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
1131
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
1132
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
1133
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
1134
|
+
const noShift = !state.middlewareData.shift;
|
|
1135
|
+
let availableHeight = overflowAvailableHeight;
|
|
1136
|
+
let availableWidth = overflowAvailableWidth;
|
|
1137
|
+
if (isYAxis) {
|
|
1138
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
1139
|
+
} else {
|
|
1140
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
1141
|
+
}
|
|
1142
|
+
if (noShift && !alignment) {
|
|
1143
|
+
const xMin = max(overflow.left, 0);
|
|
1144
|
+
const xMax = max(overflow.right, 0);
|
|
1145
|
+
const yMin = max(overflow.top, 0);
|
|
1146
|
+
const yMax = max(overflow.bottom, 0);
|
|
1147
|
+
if (isYAxis) {
|
|
1148
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
1149
|
+
} else {
|
|
1150
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
await apply({
|
|
1154
|
+
...state,
|
|
1155
|
+
availableWidth,
|
|
1156
|
+
availableHeight
|
|
1157
|
+
});
|
|
1158
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
1159
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
1160
|
+
return {
|
|
1161
|
+
reset: {
|
|
1162
|
+
rects: true
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
return {};
|
|
1167
|
+
}
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
function getNodeName(node) {
|
|
1172
|
+
if (isNode(node)) {
|
|
1173
|
+
return (node.nodeName || '').toLowerCase();
|
|
1174
|
+
}
|
|
1175
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
1176
|
+
// returning `#document` an infinite loop won't occur.
|
|
1177
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
1178
|
+
return '#document';
|
|
1179
|
+
}
|
|
1180
|
+
function getWindow(node) {
|
|
1181
|
+
var _node$ownerDocument;
|
|
1182
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1183
|
+
}
|
|
1184
|
+
function getDocumentElement(node) {
|
|
1185
|
+
var _ref;
|
|
1186
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1187
|
+
}
|
|
1188
|
+
function isNode(value) {
|
|
1189
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
1190
|
+
}
|
|
1191
|
+
function isElement(value) {
|
|
1192
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
1193
|
+
}
|
|
1194
|
+
function isHTMLElement(value) {
|
|
1195
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
1196
|
+
}
|
|
1197
|
+
function isShadowRoot(value) {
|
|
1198
|
+
// Browsers without `ShadowRoot` support.
|
|
1199
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
1200
|
+
return false;
|
|
1201
|
+
}
|
|
1202
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
1203
|
+
}
|
|
1204
|
+
function isOverflowElement(element) {
|
|
1205
|
+
const {
|
|
1206
|
+
overflow,
|
|
1207
|
+
overflowX,
|
|
1208
|
+
overflowY,
|
|
1209
|
+
display
|
|
1210
|
+
} = getComputedStyle$1(element);
|
|
1211
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
1212
|
+
}
|
|
1213
|
+
function isTableElement(element) {
|
|
1214
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
1215
|
+
}
|
|
1216
|
+
function isTopLayer(element) {
|
|
1217
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
1218
|
+
try {
|
|
1219
|
+
return element.matches(selector);
|
|
1220
|
+
} catch (e) {
|
|
1221
|
+
return false;
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
function isContainingBlock(elementOrCss) {
|
|
1226
|
+
const webkit = isWebKit();
|
|
1227
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
1228
|
+
|
|
1229
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1230
|
+
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));
|
|
1231
|
+
}
|
|
1232
|
+
function getContainingBlock(element) {
|
|
1233
|
+
let currentNode = getParentNode(element);
|
|
1234
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1235
|
+
if (isContainingBlock(currentNode)) {
|
|
1236
|
+
return currentNode;
|
|
1237
|
+
} else if (isTopLayer(currentNode)) {
|
|
1238
|
+
return null;
|
|
1239
|
+
}
|
|
1240
|
+
currentNode = getParentNode(currentNode);
|
|
1241
|
+
}
|
|
1242
|
+
return null;
|
|
1243
|
+
}
|
|
1244
|
+
function isWebKit() {
|
|
1245
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
1246
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1247
|
+
}
|
|
1248
|
+
function isLastTraversableNode(node) {
|
|
1249
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
1250
|
+
}
|
|
1251
|
+
function getComputedStyle$1(element) {
|
|
1252
|
+
return getWindow(element).getComputedStyle(element);
|
|
1253
|
+
}
|
|
1254
|
+
function getNodeScroll(element) {
|
|
1255
|
+
if (isElement(element)) {
|
|
1256
|
+
return {
|
|
1257
|
+
scrollLeft: element.scrollLeft,
|
|
1258
|
+
scrollTop: element.scrollTop
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
return {
|
|
1262
|
+
scrollLeft: element.scrollX,
|
|
1263
|
+
scrollTop: element.scrollY
|
|
1264
|
+
};
|
|
1265
|
+
}
|
|
1266
|
+
function getParentNode(node) {
|
|
1267
|
+
if (getNodeName(node) === 'html') {
|
|
1268
|
+
return node;
|
|
1269
|
+
}
|
|
1270
|
+
const result =
|
|
1271
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
1272
|
+
node.assignedSlot ||
|
|
1273
|
+
// DOM Element detected.
|
|
1274
|
+
node.parentNode ||
|
|
1275
|
+
// ShadowRoot detected.
|
|
1276
|
+
isShadowRoot(node) && node.host ||
|
|
1277
|
+
// Fallback.
|
|
1278
|
+
getDocumentElement(node);
|
|
1279
|
+
return isShadowRoot(result) ? result.host : result;
|
|
1280
|
+
}
|
|
1281
|
+
function getNearestOverflowAncestor(node) {
|
|
1282
|
+
const parentNode = getParentNode(node);
|
|
1283
|
+
if (isLastTraversableNode(parentNode)) {
|
|
1284
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1285
|
+
}
|
|
1286
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1287
|
+
return parentNode;
|
|
1288
|
+
}
|
|
1289
|
+
return getNearestOverflowAncestor(parentNode);
|
|
1290
|
+
}
|
|
1291
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1292
|
+
var _node$ownerDocument2;
|
|
1293
|
+
if (list === void 0) {
|
|
1294
|
+
list = [];
|
|
1295
|
+
}
|
|
1296
|
+
if (traverseIframes === void 0) {
|
|
1297
|
+
traverseIframes = true;
|
|
1298
|
+
}
|
|
1299
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1300
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1301
|
+
const win = getWindow(scrollableAncestor);
|
|
1302
|
+
if (isBody) {
|
|
1303
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
1304
|
+
}
|
|
1305
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
function getCssDimensions(element) {
|
|
1309
|
+
const css = getComputedStyle$1(element);
|
|
1310
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1311
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1312
|
+
let width = parseFloat(css.width) || 0;
|
|
1313
|
+
let height = parseFloat(css.height) || 0;
|
|
1314
|
+
const hasOffset = isHTMLElement(element);
|
|
1315
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1316
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1317
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1318
|
+
if (shouldFallback) {
|
|
1319
|
+
width = offsetWidth;
|
|
1320
|
+
height = offsetHeight;
|
|
1321
|
+
}
|
|
1322
|
+
return {
|
|
1323
|
+
width,
|
|
1324
|
+
height,
|
|
1325
|
+
$: shouldFallback
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
function unwrapElement(element) {
|
|
1330
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
function getScale(element) {
|
|
1334
|
+
const domElement = unwrapElement(element);
|
|
1335
|
+
if (!isHTMLElement(domElement)) {
|
|
1336
|
+
return createCoords(1);
|
|
1337
|
+
}
|
|
1338
|
+
const rect = domElement.getBoundingClientRect();
|
|
1339
|
+
const {
|
|
1340
|
+
width,
|
|
1341
|
+
height,
|
|
1342
|
+
$
|
|
1343
|
+
} = getCssDimensions(domElement);
|
|
1344
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1345
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1346
|
+
|
|
1347
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1348
|
+
|
|
1349
|
+
if (!x || !Number.isFinite(x)) {
|
|
1350
|
+
x = 1;
|
|
1351
|
+
}
|
|
1352
|
+
if (!y || !Number.isFinite(y)) {
|
|
1353
|
+
y = 1;
|
|
1354
|
+
}
|
|
1355
|
+
return {
|
|
1356
|
+
x,
|
|
1357
|
+
y
|
|
1358
|
+
};
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1362
|
+
function getVisualOffsets(element) {
|
|
1363
|
+
const win = getWindow(element);
|
|
1364
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1365
|
+
return noOffsets;
|
|
1366
|
+
}
|
|
1367
|
+
return {
|
|
1368
|
+
x: win.visualViewport.offsetLeft,
|
|
1369
|
+
y: win.visualViewport.offsetTop
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1373
|
+
if (isFixed === void 0) {
|
|
1374
|
+
isFixed = false;
|
|
1375
|
+
}
|
|
1376
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1377
|
+
return false;
|
|
1378
|
+
}
|
|
1379
|
+
return isFixed;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1383
|
+
if (includeScale === void 0) {
|
|
1384
|
+
includeScale = false;
|
|
1385
|
+
}
|
|
1386
|
+
if (isFixedStrategy === void 0) {
|
|
1387
|
+
isFixedStrategy = false;
|
|
1388
|
+
}
|
|
1389
|
+
const clientRect = element.getBoundingClientRect();
|
|
1390
|
+
const domElement = unwrapElement(element);
|
|
1391
|
+
let scale = createCoords(1);
|
|
1392
|
+
if (includeScale) {
|
|
1393
|
+
if (offsetParent) {
|
|
1394
|
+
if (isElement(offsetParent)) {
|
|
1395
|
+
scale = getScale(offsetParent);
|
|
1396
|
+
}
|
|
1397
|
+
} else {
|
|
1398
|
+
scale = getScale(element);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1402
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1403
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1404
|
+
let width = clientRect.width / scale.x;
|
|
1405
|
+
let height = clientRect.height / scale.y;
|
|
1406
|
+
if (domElement) {
|
|
1407
|
+
const win = getWindow(domElement);
|
|
1408
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1409
|
+
let currentWin = win;
|
|
1410
|
+
let currentIFrame = currentWin.frameElement;
|
|
1411
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1412
|
+
const iframeScale = getScale(currentIFrame);
|
|
1413
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1414
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1415
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1416
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1417
|
+
x *= iframeScale.x;
|
|
1418
|
+
y *= iframeScale.y;
|
|
1419
|
+
width *= iframeScale.x;
|
|
1420
|
+
height *= iframeScale.y;
|
|
1421
|
+
x += left;
|
|
1422
|
+
y += top;
|
|
1423
|
+
currentWin = getWindow(currentIFrame);
|
|
1424
|
+
currentIFrame = currentWin.frameElement;
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
return rectToClientRect({
|
|
1428
|
+
width,
|
|
1429
|
+
height,
|
|
1430
|
+
x,
|
|
1431
|
+
y
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1436
|
+
let {
|
|
1437
|
+
elements,
|
|
1438
|
+
rect,
|
|
1439
|
+
offsetParent,
|
|
1440
|
+
strategy
|
|
1441
|
+
} = _ref;
|
|
1442
|
+
const isFixed = strategy === 'fixed';
|
|
1443
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1444
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1445
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1446
|
+
return rect;
|
|
1447
|
+
}
|
|
1448
|
+
let scroll = {
|
|
1449
|
+
scrollLeft: 0,
|
|
1450
|
+
scrollTop: 0
|
|
1451
|
+
};
|
|
1452
|
+
let scale = createCoords(1);
|
|
1453
|
+
const offsets = createCoords(0);
|
|
1454
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1455
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1456
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1457
|
+
scroll = getNodeScroll(offsetParent);
|
|
1458
|
+
}
|
|
1459
|
+
if (isHTMLElement(offsetParent)) {
|
|
1460
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1461
|
+
scale = getScale(offsetParent);
|
|
1462
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1463
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
return {
|
|
1467
|
+
width: rect.width * scale.x,
|
|
1468
|
+
height: rect.height * scale.y,
|
|
1469
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1470
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
function getClientRects(element) {
|
|
1475
|
+
return Array.from(element.getClientRects());
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
function getWindowScrollBarX(element) {
|
|
1479
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1480
|
+
// incorrect for RTL.
|
|
1481
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1485
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1486
|
+
function getDocumentRect(element) {
|
|
1487
|
+
const html = getDocumentElement(element);
|
|
1488
|
+
const scroll = getNodeScroll(element);
|
|
1489
|
+
const body = element.ownerDocument.body;
|
|
1490
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1491
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1492
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1493
|
+
const y = -scroll.scrollTop;
|
|
1494
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1495
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1496
|
+
}
|
|
1497
|
+
return {
|
|
1498
|
+
width,
|
|
1499
|
+
height,
|
|
1500
|
+
x,
|
|
1501
|
+
y
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
function getViewportRect(element, strategy) {
|
|
1506
|
+
const win = getWindow(element);
|
|
1507
|
+
const html = getDocumentElement(element);
|
|
1508
|
+
const visualViewport = win.visualViewport;
|
|
1509
|
+
let width = html.clientWidth;
|
|
1510
|
+
let height = html.clientHeight;
|
|
1511
|
+
let x = 0;
|
|
1512
|
+
let y = 0;
|
|
1513
|
+
if (visualViewport) {
|
|
1514
|
+
width = visualViewport.width;
|
|
1515
|
+
height = visualViewport.height;
|
|
1516
|
+
const visualViewportBased = isWebKit();
|
|
1517
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1518
|
+
x = visualViewport.offsetLeft;
|
|
1519
|
+
y = visualViewport.offsetTop;
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
return {
|
|
1523
|
+
width,
|
|
1524
|
+
height,
|
|
1525
|
+
x,
|
|
1526
|
+
y
|
|
1527
|
+
};
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1531
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1532
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1533
|
+
const top = clientRect.top + element.clientTop;
|
|
1534
|
+
const left = clientRect.left + element.clientLeft;
|
|
1535
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1536
|
+
const width = element.clientWidth * scale.x;
|
|
1537
|
+
const height = element.clientHeight * scale.y;
|
|
1538
|
+
const x = left * scale.x;
|
|
1539
|
+
const y = top * scale.y;
|
|
1540
|
+
return {
|
|
1541
|
+
width,
|
|
1542
|
+
height,
|
|
1543
|
+
x,
|
|
1544
|
+
y
|
|
1545
|
+
};
|
|
1546
|
+
}
|
|
1547
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1548
|
+
let rect;
|
|
1549
|
+
if (clippingAncestor === 'viewport') {
|
|
1550
|
+
rect = getViewportRect(element, strategy);
|
|
1551
|
+
} else if (clippingAncestor === 'document') {
|
|
1552
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1553
|
+
} else if (isElement(clippingAncestor)) {
|
|
1554
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1555
|
+
} else {
|
|
1556
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1557
|
+
rect = {
|
|
1558
|
+
...clippingAncestor,
|
|
1559
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1560
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1561
|
+
};
|
|
1562
|
+
}
|
|
1563
|
+
return rectToClientRect(rect);
|
|
1564
|
+
}
|
|
1565
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1566
|
+
const parentNode = getParentNode(element);
|
|
1567
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1568
|
+
return false;
|
|
1569
|
+
}
|
|
1570
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1574
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1575
|
+
// of the given element up the tree.
|
|
1576
|
+
function getClippingElementAncestors(element, cache) {
|
|
1577
|
+
const cachedResult = cache.get(element);
|
|
1578
|
+
if (cachedResult) {
|
|
1579
|
+
return cachedResult;
|
|
1580
|
+
}
|
|
1581
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1582
|
+
let currentContainingBlockComputedStyle = null;
|
|
1583
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1584
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1585
|
+
|
|
1586
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1587
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1588
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1589
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1590
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1591
|
+
currentContainingBlockComputedStyle = null;
|
|
1592
|
+
}
|
|
1593
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1594
|
+
if (shouldDropCurrentNode) {
|
|
1595
|
+
// Drop non-containing blocks.
|
|
1596
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1597
|
+
} else {
|
|
1598
|
+
// Record last containing block for next iteration.
|
|
1599
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1600
|
+
}
|
|
1601
|
+
currentNode = getParentNode(currentNode);
|
|
1602
|
+
}
|
|
1603
|
+
cache.set(element, result);
|
|
1604
|
+
return result;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1608
|
+
// clipping ancestors.
|
|
1609
|
+
function getClippingRect(_ref) {
|
|
1610
|
+
let {
|
|
1611
|
+
element,
|
|
1612
|
+
boundary,
|
|
1613
|
+
rootBoundary,
|
|
1614
|
+
strategy
|
|
1615
|
+
} = _ref;
|
|
1616
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1617
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1618
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1619
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1620
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1621
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1622
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1623
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1624
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1625
|
+
return accRect;
|
|
1626
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1627
|
+
return {
|
|
1628
|
+
width: clippingRect.right - clippingRect.left,
|
|
1629
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1630
|
+
x: clippingRect.left,
|
|
1631
|
+
y: clippingRect.top
|
|
1632
|
+
};
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
function getDimensions(element) {
|
|
1636
|
+
const {
|
|
1637
|
+
width,
|
|
1638
|
+
height
|
|
1639
|
+
} = getCssDimensions(element);
|
|
1640
|
+
return {
|
|
1641
|
+
width,
|
|
1642
|
+
height
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1647
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1648
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1649
|
+
const isFixed = strategy === 'fixed';
|
|
1650
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1651
|
+
let scroll = {
|
|
1652
|
+
scrollLeft: 0,
|
|
1653
|
+
scrollTop: 0
|
|
1654
|
+
};
|
|
1655
|
+
const offsets = createCoords(0);
|
|
1656
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1657
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1658
|
+
scroll = getNodeScroll(offsetParent);
|
|
1659
|
+
}
|
|
1660
|
+
if (isOffsetParentAnElement) {
|
|
1661
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1662
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1663
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1664
|
+
} else if (documentElement) {
|
|
1665
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
const x = rect.left + scroll.scrollLeft - offsets.x;
|
|
1669
|
+
const y = rect.top + scroll.scrollTop - offsets.y;
|
|
1670
|
+
return {
|
|
1671
|
+
x,
|
|
1672
|
+
y,
|
|
1673
|
+
width: rect.width,
|
|
1674
|
+
height: rect.height
|
|
1675
|
+
};
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
function isStaticPositioned(element) {
|
|
1679
|
+
return getComputedStyle$1(element).position === 'static';
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1683
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1684
|
+
return null;
|
|
1685
|
+
}
|
|
1686
|
+
if (polyfill) {
|
|
1687
|
+
return polyfill(element);
|
|
1688
|
+
}
|
|
1689
|
+
return element.offsetParent;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1693
|
+
// such as table ancestors and cross browser bugs.
|
|
1694
|
+
function getOffsetParent(element, polyfill) {
|
|
1695
|
+
const win = getWindow(element);
|
|
1696
|
+
if (isTopLayer(element)) {
|
|
1697
|
+
return win;
|
|
1698
|
+
}
|
|
1699
|
+
if (!isHTMLElement(element)) {
|
|
1700
|
+
let svgOffsetParent = getParentNode(element);
|
|
1701
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1702
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1703
|
+
return svgOffsetParent;
|
|
1704
|
+
}
|
|
1705
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1706
|
+
}
|
|
1707
|
+
return win;
|
|
1708
|
+
}
|
|
1709
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1710
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1711
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1712
|
+
}
|
|
1713
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1714
|
+
return win;
|
|
1715
|
+
}
|
|
1716
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
const getElementRects = async function (data) {
|
|
1720
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1721
|
+
const getDimensionsFn = this.getDimensions;
|
|
1722
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1723
|
+
return {
|
|
1724
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1725
|
+
floating: {
|
|
1726
|
+
x: 0,
|
|
1727
|
+
y: 0,
|
|
1728
|
+
width: floatingDimensions.width,
|
|
1729
|
+
height: floatingDimensions.height
|
|
1730
|
+
}
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
function isRTL(element) {
|
|
1735
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
const platform = {
|
|
1739
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1740
|
+
getDocumentElement,
|
|
1741
|
+
getClippingRect,
|
|
1742
|
+
getOffsetParent,
|
|
1743
|
+
getElementRects,
|
|
1744
|
+
getClientRects,
|
|
1745
|
+
getDimensions,
|
|
1746
|
+
getScale,
|
|
1747
|
+
isElement,
|
|
1748
|
+
isRTL
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
// https://samthor.au/2021/observing-dom/
|
|
1752
|
+
function observeMove(element, onMove) {
|
|
1753
|
+
let io = null;
|
|
1754
|
+
let timeoutId;
|
|
1755
|
+
const root = getDocumentElement(element);
|
|
1756
|
+
function cleanup() {
|
|
1757
|
+
var _io;
|
|
1758
|
+
clearTimeout(timeoutId);
|
|
1759
|
+
(_io = io) == null || _io.disconnect();
|
|
1760
|
+
io = null;
|
|
1761
|
+
}
|
|
1762
|
+
function refresh(skip, threshold) {
|
|
1763
|
+
if (skip === void 0) {
|
|
1764
|
+
skip = false;
|
|
1765
|
+
}
|
|
1766
|
+
if (threshold === void 0) {
|
|
1767
|
+
threshold = 1;
|
|
1768
|
+
}
|
|
1769
|
+
cleanup();
|
|
1770
|
+
const {
|
|
1771
|
+
left,
|
|
1772
|
+
top,
|
|
1773
|
+
width,
|
|
1774
|
+
height
|
|
1775
|
+
} = element.getBoundingClientRect();
|
|
1776
|
+
if (!skip) {
|
|
1777
|
+
onMove();
|
|
1778
|
+
}
|
|
1779
|
+
if (!width || !height) {
|
|
1780
|
+
return;
|
|
1781
|
+
}
|
|
1782
|
+
const insetTop = floor(top);
|
|
1783
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1784
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1785
|
+
const insetLeft = floor(left);
|
|
1786
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1787
|
+
const options = {
|
|
1788
|
+
rootMargin,
|
|
1789
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1790
|
+
};
|
|
1791
|
+
let isFirstUpdate = true;
|
|
1792
|
+
function handleObserve(entries) {
|
|
1793
|
+
const ratio = entries[0].intersectionRatio;
|
|
1794
|
+
if (ratio !== threshold) {
|
|
1795
|
+
if (!isFirstUpdate) {
|
|
1796
|
+
return refresh();
|
|
1797
|
+
}
|
|
1798
|
+
if (!ratio) {
|
|
1799
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1800
|
+
// to prevent an infinite loop of updates.
|
|
1801
|
+
timeoutId = setTimeout(() => {
|
|
1802
|
+
refresh(false, 1e-7);
|
|
1803
|
+
}, 1000);
|
|
1804
|
+
} else {
|
|
1805
|
+
refresh(false, ratio);
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
isFirstUpdate = false;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1812
|
+
// error.
|
|
1813
|
+
try {
|
|
1814
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1815
|
+
...options,
|
|
1816
|
+
// Handle <iframe>s
|
|
1817
|
+
root: root.ownerDocument
|
|
1818
|
+
});
|
|
1819
|
+
} catch (e) {
|
|
1820
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1821
|
+
}
|
|
1822
|
+
io.observe(element);
|
|
1823
|
+
}
|
|
1824
|
+
refresh(true);
|
|
1825
|
+
return cleanup;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1830
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1831
|
+
* visible on the screen.
|
|
1832
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1833
|
+
* removed from the DOM or hidden from the screen.
|
|
1834
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1835
|
+
*/
|
|
1836
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1837
|
+
if (options === void 0) {
|
|
1838
|
+
options = {};
|
|
1839
|
+
}
|
|
1840
|
+
const {
|
|
1841
|
+
ancestorScroll = true,
|
|
1842
|
+
ancestorResize = true,
|
|
1843
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1844
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1845
|
+
animationFrame = false
|
|
1846
|
+
} = options;
|
|
1847
|
+
const referenceEl = unwrapElement(reference);
|
|
1848
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1849
|
+
ancestors.forEach(ancestor => {
|
|
1850
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1851
|
+
passive: true
|
|
1852
|
+
});
|
|
1853
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1854
|
+
});
|
|
1855
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1856
|
+
let reobserveFrame = -1;
|
|
1857
|
+
let resizeObserver = null;
|
|
1858
|
+
if (elementResize) {
|
|
1859
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1860
|
+
let [firstEntry] = _ref;
|
|
1861
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1862
|
+
// Prevent update loops when using the `size` middleware.
|
|
1863
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1864
|
+
resizeObserver.unobserve(floating);
|
|
1865
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1866
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1867
|
+
var _resizeObserver;
|
|
1868
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
update();
|
|
1872
|
+
});
|
|
1873
|
+
if (referenceEl && !animationFrame) {
|
|
1874
|
+
resizeObserver.observe(referenceEl);
|
|
1875
|
+
}
|
|
1876
|
+
resizeObserver.observe(floating);
|
|
1877
|
+
}
|
|
1878
|
+
let frameId;
|
|
1879
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1880
|
+
if (animationFrame) {
|
|
1881
|
+
frameLoop();
|
|
1882
|
+
}
|
|
1883
|
+
function frameLoop() {
|
|
1884
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1885
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1886
|
+
update();
|
|
1887
|
+
}
|
|
1888
|
+
prevRefRect = nextRefRect;
|
|
1889
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1890
|
+
}
|
|
1891
|
+
update();
|
|
1892
|
+
return () => {
|
|
1893
|
+
var _resizeObserver2;
|
|
1894
|
+
ancestors.forEach(ancestor => {
|
|
1895
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1896
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1897
|
+
});
|
|
1898
|
+
cleanupIo == null || cleanupIo();
|
|
1899
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1900
|
+
resizeObserver = null;
|
|
1901
|
+
if (animationFrame) {
|
|
1902
|
+
cancelAnimationFrame(frameId);
|
|
1903
|
+
}
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* Modifies the placement by translating the floating element along the
|
|
1909
|
+
* specified axes.
|
|
1910
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1911
|
+
* object may be passed.
|
|
1912
|
+
* @see https://floating-ui.com/docs/offset
|
|
1913
|
+
*/
|
|
1914
|
+
const offset = offset$1;
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
1918
|
+
* that has the most space available automatically, without needing to specify a
|
|
1919
|
+
* preferred placement. Alternative to `flip`.
|
|
1920
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
1921
|
+
*/
|
|
1922
|
+
const autoPlacement = autoPlacement$1;
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1926
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
1927
|
+
* @see https://floating-ui.com/docs/shift
|
|
1928
|
+
*/
|
|
1929
|
+
const shift = shift$1;
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1933
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1934
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
1935
|
+
* @see https://floating-ui.com/docs/flip
|
|
1936
|
+
*/
|
|
1937
|
+
const flip = flip$1;
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Provides data that allows you to change the size of the floating element —
|
|
1941
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1942
|
+
* width of the reference element.
|
|
1943
|
+
* @see https://floating-ui.com/docs/size
|
|
1944
|
+
*/
|
|
1945
|
+
size;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
1949
|
+
* when it is not in the same clipping context as the reference element.
|
|
1950
|
+
* @see https://floating-ui.com/docs/hide
|
|
1951
|
+
*/
|
|
1952
|
+
const hide = hide$1;
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Provides data to position an inner element of the floating element so that it
|
|
1956
|
+
* appears centered to the reference element.
|
|
1957
|
+
* @see https://floating-ui.com/docs/arrow
|
|
1958
|
+
*/
|
|
1959
|
+
const arrow = arrow$1;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Provides improved positioning for inline reference elements that can span
|
|
1963
|
+
* over multiple lines, such as hyperlinks or range selections.
|
|
1964
|
+
* @see https://floating-ui.com/docs/inline
|
|
1965
|
+
*/
|
|
1966
|
+
inline;
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
1970
|
+
*/
|
|
1971
|
+
limitShift;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1975
|
+
* next to a given reference element.
|
|
1976
|
+
*/
|
|
1977
|
+
const computePosition = (reference, floating, options) => {
|
|
1978
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1979
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1980
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1981
|
+
const cache = new Map();
|
|
1982
|
+
const mergedOptions = {
|
|
1983
|
+
platform,
|
|
1984
|
+
...options
|
|
1985
|
+
};
|
|
1986
|
+
const platformWithCache = {
|
|
1987
|
+
...mergedOptions.platform,
|
|
1988
|
+
_c: cache
|
|
1989
|
+
};
|
|
1990
|
+
return computePosition$1(reference, floating, {
|
|
1991
|
+
...mergedOptions,
|
|
1992
|
+
platform: platformWithCache
|
|
1993
|
+
});
|
|
1994
|
+
};
|
|
1995
|
+
|
|
1996
|
+
function offsetParent(element) {
|
|
1997
|
+
return offsetParentPolyfill(element);
|
|
1998
|
+
}
|
|
1999
|
+
function flatTreeParent(element) {
|
|
2000
|
+
if (element.assignedSlot) {
|
|
2001
|
+
return element.assignedSlot;
|
|
2002
|
+
}
|
|
2003
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
2004
|
+
return element.parentNode.host;
|
|
2005
|
+
}
|
|
2006
|
+
return element.parentNode;
|
|
2007
|
+
}
|
|
2008
|
+
function offsetParentPolyfill(element) {
|
|
2009
|
+
// Do an initial walk to check for display:none ancestors.
|
|
2010
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
2011
|
+
if (!(ancestor instanceof Element)) {
|
|
2012
|
+
continue;
|
|
2013
|
+
}
|
|
2014
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
2015
|
+
return null;
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
2019
|
+
if (!(ancestor instanceof Element)) {
|
|
2020
|
+
continue;
|
|
2021
|
+
}
|
|
2022
|
+
const style = getComputedStyle(ancestor);
|
|
2023
|
+
// Display:contents nodes aren't in the layout tree, so they should be skipped.
|
|
2024
|
+
if (style.display === 'contents') {
|
|
2025
|
+
continue;
|
|
2026
|
+
}
|
|
2027
|
+
if (style.position !== 'static' || isContainingBlock(style)) {
|
|
2028
|
+
return ancestor;
|
|
2029
|
+
}
|
|
2030
|
+
if (ancestor.tagName === 'BODY') {
|
|
2031
|
+
return ancestor;
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
return null;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
2038
|
+
if (browser.isBrowser()) {
|
|
2039
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
2040
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
2041
|
+
}
|
|
2042
|
+
})();
|
|
2043
|
+
function roundByDPR(value) {
|
|
2044
|
+
const dpr = window.devicePixelRatio || 1;
|
|
2045
|
+
return Math.round(value * dpr) / dpr;
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Positions the floating element relative to the reference element.
|
|
2049
|
+
*
|
|
2050
|
+
* **Note:** exported for testing purposes only
|
|
2051
|
+
*
|
|
2052
|
+
* @param root0
|
|
2053
|
+
* @param root0.referenceEl
|
|
2054
|
+
* @param root0.floatingEl
|
|
2055
|
+
* @param root0.overlayPositioning
|
|
2056
|
+
* @param root0.placement
|
|
2057
|
+
* @param root0.flipDisabled
|
|
2058
|
+
* @param root0.flipPlacements
|
|
2059
|
+
* @param root0.offsetDistance
|
|
2060
|
+
* @param root0.offsetSkidding
|
|
2061
|
+
* @param root0.arrowEl
|
|
2062
|
+
* @param root0.type
|
|
2063
|
+
* @param component
|
|
2064
|
+
* @param root0.referenceEl.referenceEl
|
|
2065
|
+
* @param root0.referenceEl.floatingEl
|
|
2066
|
+
* @param root0.referenceEl.overlayPositioning
|
|
2067
|
+
* @param root0.referenceEl.placement
|
|
2068
|
+
* @param root0.referenceEl.flipDisabled
|
|
2069
|
+
* @param root0.referenceEl.flipPlacements
|
|
2070
|
+
* @param root0.referenceEl.offsetDistance
|
|
2071
|
+
* @param root0.referenceEl.offsetSkidding
|
|
2072
|
+
* @param root0.referenceEl.arrowEl
|
|
2073
|
+
* @param root0.referenceEl.type
|
|
2074
|
+
* @param component.referenceEl
|
|
2075
|
+
* @param component.floatingEl
|
|
2076
|
+
* @param component.overlayPositioning
|
|
2077
|
+
* @param component.placement
|
|
2078
|
+
* @param component.flipDisabled
|
|
2079
|
+
* @param component.flipPlacements
|
|
2080
|
+
* @param component.offsetDistance
|
|
2081
|
+
* @param component.offsetSkidding
|
|
2082
|
+
* @param component.arrowEl
|
|
2083
|
+
* @param component.type
|
|
2084
|
+
*/
|
|
2085
|
+
const positionFloatingUI =
|
|
2086
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
2087
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
2088
|
+
if (!referenceEl || !floatingEl) {
|
|
2089
|
+
return null;
|
|
2090
|
+
}
|
|
2091
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
2092
|
+
strategy: overlayPositioning,
|
|
2093
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
2094
|
+
? undefined
|
|
2095
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
2096
|
+
middleware: getMiddleware({
|
|
2097
|
+
placement,
|
|
2098
|
+
flipDisabled,
|
|
2099
|
+
flipPlacements: flipPlacements?.map((placement) => getEffectivePlacement(floatingEl, placement)),
|
|
2100
|
+
offsetDistance,
|
|
2101
|
+
offsetSkidding,
|
|
2102
|
+
arrowEl,
|
|
2103
|
+
type,
|
|
2104
|
+
}),
|
|
2105
|
+
});
|
|
2106
|
+
if (arrowEl && middlewareData.arrow) {
|
|
2107
|
+
const { x, y } = middlewareData.arrow;
|
|
2108
|
+
const side = effectivePlacement.split("-")[0];
|
|
2109
|
+
const alignment = x != null ? "left" : "top";
|
|
2110
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
2111
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
2112
|
+
if ("floatingLayout" in component) {
|
|
2113
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
2114
|
+
}
|
|
2115
|
+
Object.assign(arrowEl.style, {
|
|
2116
|
+
...reset,
|
|
2117
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
2118
|
+
[side]: "100%",
|
|
2119
|
+
transform,
|
|
2120
|
+
});
|
|
2121
|
+
}
|
|
2122
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
2123
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
2124
|
+
const pointerEvents = visibility ? "none" : null;
|
|
2125
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
2126
|
+
const { open } = component;
|
|
2127
|
+
Object.assign(floatingEl.style, {
|
|
2128
|
+
visibility,
|
|
2129
|
+
pointerEvents,
|
|
2130
|
+
position,
|
|
2131
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
2132
|
+
top: 0,
|
|
2133
|
+
left: 0,
|
|
2134
|
+
});
|
|
2135
|
+
};
|
|
2136
|
+
/**
|
|
2137
|
+
* Exported for testing purposes only
|
|
2138
|
+
*/
|
|
2139
|
+
const placementDataAttribute = "data-placement";
|
|
2140
|
+
const flipPlacements = [
|
|
2141
|
+
"top",
|
|
2142
|
+
"bottom",
|
|
2143
|
+
"right",
|
|
2144
|
+
"left",
|
|
2145
|
+
"top-start",
|
|
2146
|
+
"top-end",
|
|
2147
|
+
"bottom-start",
|
|
2148
|
+
"bottom-end",
|
|
2149
|
+
"right-start",
|
|
2150
|
+
"right-end",
|
|
2151
|
+
"left-start",
|
|
2152
|
+
"left-end",
|
|
2153
|
+
"leading",
|
|
2154
|
+
"trailing",
|
|
2155
|
+
"leading-start",
|
|
2156
|
+
"leading-end",
|
|
2157
|
+
"trailing-start",
|
|
2158
|
+
"trailing-end",
|
|
2159
|
+
];
|
|
2160
|
+
const defaultMenuPlacement = "bottom-start";
|
|
2161
|
+
const FloatingCSS = {
|
|
2162
|
+
animation: "calcite-floating-ui-anim",
|
|
2163
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
2164
|
+
};
|
|
2165
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
2166
|
+
const defaultMiddleware = [shift(), hide()];
|
|
2167
|
+
if (type === "menu") {
|
|
2168
|
+
return [
|
|
2169
|
+
...defaultMiddleware,
|
|
2170
|
+
flip({
|
|
2171
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
2172
|
+
}),
|
|
2173
|
+
];
|
|
2174
|
+
}
|
|
2175
|
+
if (type === "popover" || type === "tooltip") {
|
|
2176
|
+
const middleware = [
|
|
2177
|
+
...defaultMiddleware,
|
|
2178
|
+
offset({
|
|
2179
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
2180
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
2181
|
+
}),
|
|
2182
|
+
];
|
|
2183
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
2184
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
2185
|
+
}
|
|
2186
|
+
else if (!flipDisabled) {
|
|
2187
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
2188
|
+
}
|
|
2189
|
+
if (arrowEl) {
|
|
2190
|
+
middleware.push(arrow({
|
|
2191
|
+
element: arrowEl,
|
|
2192
|
+
}));
|
|
2193
|
+
}
|
|
2194
|
+
return middleware;
|
|
2195
|
+
}
|
|
2196
|
+
return [];
|
|
2197
|
+
}
|
|
2198
|
+
function filterValidFlipPlacements(placements, el) {
|
|
2199
|
+
const filteredPlacements = placements.filter((placement) => flipPlacements.includes(placement));
|
|
2200
|
+
if (filteredPlacements.length !== placements.length) {
|
|
2201
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${flipPlacements
|
|
2202
|
+
.map((placement) => `"${placement}"`)
|
|
2203
|
+
.join(", ")
|
|
2204
|
+
.trim()}`, { el });
|
|
2205
|
+
}
|
|
2206
|
+
return filteredPlacements;
|
|
2207
|
+
}
|
|
2208
|
+
function getEffectivePlacement(floatingEl, placement) {
|
|
2209
|
+
const placements = ["left", "right"];
|
|
2210
|
+
if (dom.getElementDir(floatingEl) === "rtl") {
|
|
2211
|
+
placements.reverse();
|
|
2212
|
+
}
|
|
2213
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
2217
|
+
*
|
|
2218
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
2219
|
+
*
|
|
2220
|
+
* @param component - A floating-ui component.
|
|
2221
|
+
* @param options - Reposition parameters.
|
|
2222
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
2223
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
2224
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
2225
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
2226
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
2227
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
2228
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
2229
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
2230
|
+
* @param options.arrowEl - A customizable arrow element.
|
|
2231
|
+
* @param options.type - The type of floating UI.
|
|
2232
|
+
* @param delayed - Reposition the component after a delay.
|
|
2233
|
+
* @returns {Promise<void>}
|
|
2234
|
+
*/
|
|
2235
|
+
async function reposition(component, options, delayed = false) {
|
|
2236
|
+
if (!component.open || !options.floatingEl || !options.referenceEl) {
|
|
2237
|
+
return;
|
|
2238
|
+
}
|
|
2239
|
+
const trackedState = autoUpdatingComponentMap.get(component);
|
|
2240
|
+
if (!trackedState) {
|
|
2241
|
+
return runAutoUpdate(component, options.referenceEl, options.floatingEl);
|
|
2242
|
+
}
|
|
2243
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
2244
|
+
await positionFunction(component, options);
|
|
2245
|
+
}
|
|
2246
|
+
function getDebouncedReposition(component) {
|
|
2247
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
2248
|
+
if (debounced) {
|
|
2249
|
+
return debounced;
|
|
2250
|
+
}
|
|
2251
|
+
debounced = debounce.debounce(positionFloatingUI, resources.DEBOUNCE.reposition, {
|
|
2252
|
+
leading: true,
|
|
2253
|
+
maxWait: resources.DEBOUNCE.reposition,
|
|
2254
|
+
});
|
|
2255
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
2256
|
+
return debounced;
|
|
2257
|
+
}
|
|
2258
|
+
const ARROW_CSS_TRANSFORM = {
|
|
2259
|
+
top: "",
|
|
2260
|
+
left: "rotate(-90deg)",
|
|
2261
|
+
bottom: "rotate(180deg)",
|
|
2262
|
+
right: "rotate(90deg)",
|
|
2263
|
+
};
|
|
2264
|
+
/**
|
|
2265
|
+
* Exported for testing purposes only
|
|
2266
|
+
*
|
|
2267
|
+
* @internal
|
|
2268
|
+
*/
|
|
2269
|
+
const autoUpdatingComponentMap = new WeakMap();
|
|
2270
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
2271
|
+
async function runAutoUpdate(component, referenceEl, floatingEl) {
|
|
2272
|
+
if (!floatingEl.isConnected) {
|
|
2273
|
+
return;
|
|
2274
|
+
}
|
|
2275
|
+
const effectiveAutoUpdate = browser.isBrowser()
|
|
2276
|
+
? autoUpdate
|
|
2277
|
+
: (_refEl, _floatingEl, updateCallback) => {
|
|
2278
|
+
updateCallback();
|
|
2279
|
+
return () => {
|
|
2280
|
+
/* noop */
|
|
2281
|
+
};
|
|
2282
|
+
};
|
|
2283
|
+
// we set initial state here to make it available for `reposition` calls
|
|
2284
|
+
autoUpdatingComponentMap.set(component, { state: "pending" });
|
|
2285
|
+
let repositionPromise;
|
|
2286
|
+
const cleanUp = effectiveAutoUpdate(referenceEl, floatingEl,
|
|
2287
|
+
// callback is invoked immediately
|
|
2288
|
+
() => {
|
|
2289
|
+
const promise = component.reposition();
|
|
2290
|
+
if (!repositionPromise) {
|
|
2291
|
+
repositionPromise = promise;
|
|
2292
|
+
}
|
|
2293
|
+
});
|
|
2294
|
+
autoUpdatingComponentMap.set(component, { state: "active", cleanUp });
|
|
2295
|
+
return repositionPromise;
|
|
2296
|
+
}
|
|
2297
|
+
/**
|
|
2298
|
+
* Helper to set up floating element interactions on connectedCallback.
|
|
2299
|
+
*
|
|
2300
|
+
* @param component - A floating-ui component.
|
|
2301
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
2302
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
2303
|
+
*/
|
|
2304
|
+
async function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
2305
|
+
if (!floatingEl || !referenceEl) {
|
|
2306
|
+
return;
|
|
2307
|
+
}
|
|
2308
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
2309
|
+
Object.assign(floatingEl.style, {
|
|
2310
|
+
visibility: "hidden",
|
|
2311
|
+
pointerEvents: "none",
|
|
2312
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
2313
|
+
position: component.overlayPositioning,
|
|
2314
|
+
});
|
|
2315
|
+
if (!component.open) {
|
|
2316
|
+
return;
|
|
2317
|
+
}
|
|
2318
|
+
return runAutoUpdate(component, referenceEl, floatingEl);
|
|
2319
|
+
}
|
|
2320
|
+
/**
|
|
2321
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
2322
|
+
*
|
|
2323
|
+
* @param component - A floating-ui component.
|
|
2324
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
2325
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
2326
|
+
*/
|
|
2327
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
2328
|
+
if (!floatingEl || !referenceEl) {
|
|
2329
|
+
return;
|
|
2330
|
+
}
|
|
2331
|
+
const trackedState = autoUpdatingComponentMap.get(component);
|
|
2332
|
+
if (trackedState?.state === "active") {
|
|
2333
|
+
trackedState.cleanUp();
|
|
2334
|
+
}
|
|
2335
|
+
autoUpdatingComponentMap.delete(component);
|
|
2336
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
2337
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
2338
|
+
}
|
|
2339
|
+
const visiblePointerSize = 4;
|
|
2340
|
+
/**
|
|
2341
|
+
* Default offset the position of the floating element away from the reference element.
|
|
2342
|
+
*
|
|
2343
|
+
* @default 6
|
|
2344
|
+
*/
|
|
2345
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
2346
|
+
|
|
2347
|
+
exports.FloatingCSS = FloatingCSS;
|
|
2348
|
+
exports.connectFloatingUI = connectFloatingUI;
|
|
2349
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
|
2350
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
|
2351
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
|
2352
|
+
exports.filterValidFlipPlacements = filterValidFlipPlacements;
|
|
2353
|
+
exports.reposition = reposition;
|
|
2354
|
+
|
|
2355
|
+
//# sourceMappingURL=floating-ui-21e53e8e.js.map
|