@esri/calcite-components 1.4.3-next.6 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-1f7aca9e.entry.js → p-052c51f9.entry.js} +2 -2
- package/dist/calcite/p-0684db12.entry.js +6 -0
- package/dist/calcite/{p-613921ad.entry.js → p-07623c25.entry.js} +2 -2
- package/dist/calcite/{p-004797ca.js → p-081b0517.js} +2 -2
- package/dist/calcite/p-08557200.js +6 -0
- package/dist/calcite/p-0ea01a0f.js +6 -0
- package/dist/calcite/{p-4ca8e26c.entry.js → p-0ec0cfc7.entry.js} +2 -2
- package/dist/calcite/p-13b1920b.entry.js +6 -0
- package/dist/calcite/{p-f35def11.js → p-1e20e719.js} +2 -2
- package/dist/calcite/{p-750b800f.js → p-208f7f0b.js} +1 -1
- package/dist/calcite/p-21ecbfa2.entry.js +6 -0
- package/dist/calcite/p-24d4ce7f.entry.js +6 -0
- package/dist/calcite/{p-ec762856.js → p-26422952.js} +1 -1
- package/dist/calcite/p-26e5c79b.entry.js +6 -0
- package/dist/calcite/p-2755f893.js +6 -0
- package/dist/calcite/{p-f1ca5c26.entry.js → p-2886ee84.entry.js} +2 -2
- package/dist/calcite/{p-f20d2642.entry.js → p-28999734.entry.js} +2 -2
- package/dist/calcite/p-28ed67d4.entry.js +6 -0
- package/dist/calcite/{p-eaf2b87f.entry.js → p-2a1a5616.entry.js} +2 -2
- package/dist/calcite/{p-75b37d53.js → p-2b22e428.js} +1 -1
- package/dist/calcite/{p-08d7555b.entry.js → p-314985d6.entry.js} +2 -2
- package/dist/calcite/p-318c422d.entry.js +6 -0
- package/dist/calcite/p-31ad8743.js +6 -0
- package/dist/calcite/p-37665de4.js +6 -0
- package/dist/calcite/{p-31be9426.entry.js → p-39d18799.entry.js} +2 -2
- package/dist/calcite/p-39f67c8b.entry.js +6 -0
- package/dist/calcite/{p-10b04ea1.js → p-3a2ec21d.js} +2 -2
- package/dist/calcite/p-3b5b35de.js +6 -0
- package/dist/calcite/p-3dfdde05.entry.js +6 -0
- package/dist/calcite/p-3dff92fc.js +6 -0
- package/dist/calcite/{p-02530f3e.js → p-4024b5c5.js} +1 -1
- package/dist/calcite/{p-de0b1267.entry.js → p-4083e2e9.entry.js} +2 -2
- package/dist/calcite/{p-77daa51c.js → p-40a2e36c.js} +2 -2
- package/dist/calcite/{p-cc22c0e7.js → p-48945447.js} +1 -1
- package/dist/calcite/{p-4ad5c0c4.entry.js → p-4adc809e.entry.js} +2 -2
- package/dist/calcite/p-4bac6430.js +6 -0
- package/dist/calcite/p-4d0d2cdf.entry.js +6 -0
- package/dist/calcite/{p-13605313.js → p-4d8ccd5b.js} +1 -1
- package/dist/calcite/{p-6a4b1589.entry.js → p-4ec83993.entry.js} +2 -2
- package/dist/calcite/p-4f3f0dd4.js +6 -0
- package/dist/calcite/p-503c34b5.js +6 -0
- package/dist/calcite/p-51cb7c7d.entry.js +6 -0
- package/dist/calcite/p-5242b2f7.js +6 -0
- package/dist/calcite/p-52613b18.js +6 -0
- package/dist/calcite/{p-2339caf4.js → p-5348c028.js} +1 -1
- package/dist/calcite/p-546a9617.entry.js +6 -0
- package/dist/calcite/{p-7b332c98.js → p-55726a3e.js} +2 -2
- package/dist/calcite/{p-39e233e8.entry.js → p-5598938a.entry.js} +2 -2
- package/dist/calcite/p-5a453c1a.js +6 -0
- package/dist/calcite/p-5e84e816.js +6 -0
- package/dist/calcite/p-602a0049.js +6 -0
- package/dist/calcite/{p-d563620a.entry.js → p-62c50118.entry.js} +2 -2
- package/dist/calcite/p-63f81b2b.js +6 -0
- package/dist/calcite/p-6654c431.js +6 -0
- package/dist/calcite/p-66aac836.entry.js +6 -0
- package/dist/calcite/p-67d4d30b.js +6 -0
- package/dist/calcite/p-68e200fb.js +6 -0
- package/dist/calcite/p-691ed379.js +6 -0
- package/dist/calcite/p-6bad886c.js +6 -0
- package/dist/calcite/p-6d65ac3b.js +6 -0
- package/dist/calcite/{p-171ce8cd.entry.js → p-7012d32b.entry.js} +2 -2
- package/dist/calcite/p-712f49ea.entry.js +6 -0
- package/dist/calcite/p-714bc82d.entry.js +6 -0
- package/dist/calcite/{p-e3914bbe.js → p-72f0eeb4.js} +1 -1
- package/dist/calcite/p-749ebcc3.js +6 -0
- package/dist/calcite/{p-74ce185c.js → p-7629aca4.js} +1 -1
- package/dist/calcite/p-775ae5fa.js +6 -0
- package/dist/calcite/p-7afe3041.entry.js +6 -0
- package/dist/calcite/p-7d63f432.js +6 -0
- package/dist/calcite/p-7d711611.js +6 -0
- package/dist/calcite/{p-a00beb0e.js → p-7e6ce0f0.js} +1 -1
- package/dist/calcite/p-7f6aad7e.entry.js +6 -0
- package/dist/calcite/{p-39203418.js → p-8116888e.js} +1 -1
- package/dist/calcite/p-834ab0b8.entry.js +6 -0
- package/dist/calcite/p-839ca42a.entry.js +6 -0
- package/dist/calcite/p-84e766b2.js +6 -0
- package/dist/calcite/{p-74316717.entry.js → p-84f342b4.entry.js} +2 -2
- package/dist/calcite/p-851b7b93.entry.js +6 -0
- package/dist/calcite/p-87576e35.js +6 -0
- package/dist/calcite/{p-aef55053.entry.js → p-881748fa.entry.js} +2 -2
- package/dist/calcite/{p-4d02e57d.js → p-8c2b9f8b.js} +2 -2
- package/dist/calcite/{p-f23a4f18.js → p-8c54cbbf.js} +1 -1
- package/dist/calcite/p-8c5e63ab.entry.js +6 -0
- package/dist/calcite/p-8e9dcf57.entry.js +6 -0
- package/dist/calcite/{p-b5e5e4ae.entry.js → p-902b6c90.entry.js} +2 -2
- package/dist/calcite/p-9309a244.js +6 -0
- package/dist/calcite/p-97dcccca.js +6 -0
- package/dist/calcite/p-97e0155e.entry.js +6 -0
- package/dist/calcite/p-99cc35a6.js +6 -0
- package/dist/calcite/p-9e5480d2.js +6 -0
- package/dist/calcite/p-a003eeee.js +6 -0
- package/dist/calcite/p-a0946e35.js +6 -0
- package/dist/calcite/p-a0c96a83.entry.js +6 -0
- package/dist/calcite/p-a10e4498.js +6 -0
- package/dist/calcite/p-a19669a4.js +6 -0
- package/dist/calcite/{p-f6fce691.js → p-a1c0b394.js} +2 -2
- package/dist/calcite/p-a2adb765.entry.js +6 -0
- package/dist/calcite/p-a3370020.entry.js +6 -0
- package/dist/calcite/{p-b8f136ef.entry.js → p-a7b4d822.entry.js} +2 -2
- package/dist/calcite/{p-c9251877.entry.js → p-aaf20297.entry.js} +2 -2
- package/dist/calcite/p-b02e42c1.js +6 -0
- package/dist/calcite/{p-75d331ab.entry.js → p-b0fd3690.entry.js} +2 -2
- package/dist/calcite/{p-c7226ef8.js → p-b57e36ac.js} +2 -2
- package/dist/calcite/{p-1eeaeb2a.js → p-b62591dc.js} +2 -2
- package/dist/calcite/p-b7e255e1.js +6 -0
- package/dist/calcite/p-bb99cc9c.js +6 -0
- package/dist/calcite/p-bf6a6726.js +6 -0
- package/dist/calcite/{p-3e428959.js → p-c10667e6.js} +2 -2
- package/dist/calcite/p-c1eeeb3b.entry.js +6 -0
- package/dist/calcite/p-c4360cd4.entry.js +6 -0
- package/dist/calcite/p-c928be74.js +6 -0
- package/dist/calcite/{p-7d1389ff.js → p-ccbe1a1b.js} +1 -1
- package/dist/calcite/{p-e64b3e8a.js → p-ce0bc9fd.js} +2 -2
- package/dist/calcite/{p-61582895.js → p-ce8ac2dc.js} +1 -1
- package/dist/calcite/{p-116e5a3a.js → p-d06db101.js} +1 -1
- package/dist/calcite/p-d0e41161.js +6 -0
- package/dist/calcite/p-d3c8e393.entry.js +6 -0
- package/dist/calcite/p-d592fdf5.js +6 -0
- package/dist/calcite/p-d6088aed.entry.js +6 -0
- package/dist/calcite/p-d702aed1.entry.js +6 -0
- package/dist/calcite/p-d7ee981c.entry.js +6 -0
- package/dist/calcite/p-da9f78a5.entry.js +6 -0
- package/dist/calcite/p-db79f87b.js +6 -0
- package/dist/calcite/p-dc142586.entry.js +6 -0
- package/dist/calcite/{p-33f953c0.js → p-dd47edb1.js} +2 -2
- package/dist/calcite/p-ddafe5fe.js +6 -0
- package/dist/calcite/p-defde598.js +6 -0
- package/dist/calcite/p-e02d6721.entry.js +6 -0
- package/dist/calcite/p-e1aaad51.js +6 -0
- package/dist/calcite/p-e2c0adcc.js +6 -0
- package/dist/calcite/p-e2ee96b8.js +6 -0
- package/dist/calcite/p-e61b9dc3.entry.js +6 -0
- package/dist/calcite/p-e7d93946.entry.js +6 -0
- package/dist/calcite/p-ea6498d1.js +6 -0
- package/dist/calcite/p-eb53e738.js +6 -0
- package/dist/calcite/p-ec8d52c9.entry.js +6 -0
- package/dist/calcite/p-ee270696.js +6 -0
- package/dist/calcite/p-eedddd6e.entry.js +6 -0
- package/dist/calcite/p-f246bb02.entry.js +6 -0
- package/dist/calcite/p-f3720d94.entry.js +6 -0
- package/dist/calcite/{p-a27db84a.js → p-f3c9518d.js} +2 -2
- package/dist/calcite/p-f41381a4.js +6 -0
- package/dist/calcite/p-f4926b9b.js +6 -0
- package/dist/calcite/p-f58763f1.js +6 -0
- package/dist/calcite/{p-7d13d8b2.js → p-f811ed39.js} +2 -2
- package/dist/calcite/p-f9c77aa6.entry.js +6 -0
- package/dist/calcite/{p-b37a8db0.entry.js → p-faa811f5.entry.js} +2 -2
- package/dist/calcite/{p-7bc4ec96.entry.js → p-fbc32f37.entry.js} +2 -2
- package/dist/calcite/p-fd1056b7.js +6 -0
- package/dist/calcite/p-ff020f81.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-6f8d84c0.js → ExpandToggle-cb8c60f0.js} +5 -5
- package/dist/cjs/{FloatingArrow-0595eff0.js → FloatingArrow-41cefb55.js} +2 -2
- package/dist/cjs/{Heading-8e465bdc.js → Heading-e7a36ba7.js} +2 -2
- package/dist/cjs/{app-globals-8af750cc.js → app-globals-4484c30e.js} +2 -2
- package/dist/cjs/{ar-7f297c2a.js → ar-22d61aa3.js} +16 -15
- package/dist/cjs/{array-5fda342e.js → array-9665e9a5.js} +1 -1
- package/dist/cjs/{bg-4ef7fca8.js → bg-c081591c.js} +16 -15
- package/dist/cjs/browser-d9861345.js +19 -0
- package/dist/cjs/{bs-1b60a068.js → bs-769df396.js} +16 -15
- package/dist/cjs/{ca-c11a9444.js → ca-07f64671.js} +16 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +14 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +24 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite-button.cjs.entry.js +16 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +20 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +14 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +16 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-7da8b32c.js → calcite-input-time-picker.calcite-time-picker-fe20b99c.js} +62 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +14 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +26 -21
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +57 -27
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +44 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +11 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +14 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +52 -34
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -48
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-4c195d2e.js → composed-offset-position.esm-2b28a9f7.js} +1 -1
- package/dist/cjs/{conditionalSlot-d4f1b4ea.js → conditionalSlot-ffccbbe9.js} +3 -3
- package/dist/cjs/{cs-82087fe2.js → cs-8abb3239.js} +16 -15
- package/dist/cjs/{da-4c125d63.js → da-f36fefa1.js} +16 -15
- package/dist/cjs/{de-e0b179c1.js → de-9fcb4aa3.js} +16 -15
- package/dist/cjs/{de-at-0e430a78.js → de-at-efcf1437.js} +16 -15
- package/dist/cjs/{de-ch-a37db1ac.js → de-ch-671e1b63.js} +16 -15
- package/dist/cjs/{debounce-ee10fb78.js → debounce-889a17f8.js} +1 -1
- package/dist/cjs/{dom-d37359dd.js → dom-5405b0f8.js} +3 -3
- package/dist/cjs/{el-343e012f.js → el-031ea42f.js} +16 -15
- package/dist/cjs/{en-au-977bfbb7.js → en-au-6b6a2a13.js} +16 -15
- package/dist/cjs/{en-ca-feda0955.js → en-ca-981265c1.js} +16 -15
- package/dist/cjs/{en-gb-77269407.js → en-gb-dcde8715.js} +16 -15
- package/dist/cjs/{es-f49b555e.js → es-aa2a38b0.js} +16 -15
- package/dist/cjs/{es-mx-ed39824a.js → es-mx-20df7f73.js} +16 -15
- package/dist/cjs/{et-6f13cd8d.js → et-1ea2b358.js} +16 -15
- package/dist/cjs/{fi-cb141d01.js → fi-854ae579.js} +16 -15
- package/dist/cjs/{filter-ecc9ebcc.js → filter-ced27caa.js} +2 -2
- package/dist/cjs/{floating-ui-7087b679.js → floating-ui-9b960c20.js} +230 -181
- package/dist/cjs/{focusTrapComponent-77fabacf.js → focusTrapComponent-6873f82e.js} +2 -2
- package/dist/cjs/{form-65d02b72.js → form-c40b9f7f.js} +3 -3
- package/dist/cjs/{fr-09f56819.js → fr-85f1fc07.js} +16 -15
- package/dist/cjs/{fr-ch-4be51395.js → fr-ch-5708ba2a.js} +16 -15
- package/dist/cjs/{guid-562e1bbc.js → guid-e87cbbe2.js} +1 -1
- package/dist/cjs/{he-b3d3fdd1.js → he-717ffebf.js} +16 -15
- package/dist/cjs/{hi-03e9d90b.js → hi-4f198dff.js} +16 -15
- package/dist/cjs/{hr-6ae5e489.js → hr-c8d8831d.js} +16 -15
- package/dist/cjs/{hu-89a3a67d.js → hu-d621df91.js} +16 -15
- package/dist/cjs/{id-6c3d6c6f.js → id-c572ec8b.js} +16 -15
- package/dist/cjs/{index-60496ffa.js → index-807aa4d9.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-a7fd5309.js +142 -0
- package/dist/cjs/{it-1631fcd5.js → it-27ac078b.js} +16 -15
- package/dist/cjs/{it-ch-6326e9e8.js → it-ch-dbeb044b.js} +16 -15
- package/dist/cjs/{ja-bb4062f2.js → ja-ae4af5cd.js} +16 -15
- package/dist/cjs/{key-f44bddb4.js → key-04e37b19.js} +1 -1
- package/dist/cjs/{ko-4ed2bd94.js → ko-a9892eca.js} +16 -15
- package/dist/cjs/{label-e0856d42.js → label-8657cbdb.js} +2 -2
- package/dist/cjs/{loadable-e17f15c1.js → loadable-f33f394c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c448234a.js → locale-c578a31e.js} +4 -4
- package/dist/cjs/{lt-7f68e4b6.js → lt-28318f75.js} +16 -15
- package/dist/cjs/{lv-00557b10.js → lv-76095a27.js} +16 -15
- package/dist/cjs/{math-14395ffa.js → math-6c387b34.js} +1 -1
- package/dist/cjs/{mk-f287f9e1.js → mk-4c781e5f.js} +16 -15
- package/dist/cjs/{nb-c961ad6a.js → nb-10685216.js} +16 -15
- package/dist/cjs/{nl-f8b856e2.js → nl-84319cac.js} +16 -15
- package/dist/cjs/{observers-5b486c99.js → observers-987123ec.js} +1 -1
- package/dist/cjs/{openCloseComponent-f96bc924.js → openCloseComponent-65da58f8.js} +2 -2
- package/dist/cjs/{pl-cfe7f291.js → pl-22176a08.js} +16 -15
- package/dist/cjs/{pt-93e2c042.js → pt-012d168c.js} +16 -15
- package/dist/cjs/{pt-br-22154b0e.js → pt-br-890202bb.js} +16 -15
- package/dist/cjs/{resources-2015c3a5.js → resources-3fdf39dc.js} +1 -1
- package/dist/cjs/{resources-e43d1d3b.js → resources-5490d59b.js} +1 -1
- package/dist/cjs/{resources-5771d790.js → resources-6522e85c.js} +1 -1
- package/dist/cjs/{resources-709203df.js → resources-8cf3e27f.js} +1 -1
- package/dist/cjs/{resources-2a554d43.js → resources-c78d2369.js} +1 -1
- package/dist/cjs/{resources-a0d30797.js → resources-cae871b6.js} +5 -5
- package/dist/cjs/{ro-475a6f0c.js → ro-6a2522f0.js} +16 -15
- package/dist/cjs/{ru-0ec7e507.js → ru-f5390d83.js} +16 -15
- package/dist/cjs/{sk-ff790020.js → sk-713564ae.js} +16 -15
- package/dist/cjs/{sl-5c86ff5b.js → sl-51fd6a1d.js} +16 -15
- package/dist/cjs/{sortableComponent-efd7dfcd.js → sortableComponent-91083ec9.js} +2 -2
- package/dist/cjs/{sr-7c6b8fb6.js → sr-9af04d18.js} +16 -15
- package/dist/cjs/{sv-67b3257d.js → sv-13dc92d8.js} +16 -15
- package/dist/cjs/{t9n-3566624b.js → t9n-2df2bcc8.js} +3 -3
- package/dist/cjs/{th-7b189d06.js → th-380ea2b8.js} +16 -15
- package/dist/cjs/{throttle-7742b662.js → throttle-6615e004.js} +2 -2
- package/dist/cjs/{tr-b0c66094.js → tr-0285be12.js} +16 -15
- package/dist/cjs/{uk-94493d25.js → uk-8c0db38e.js} +16 -15
- package/dist/cjs/{utils-67453eff.js → utils-0531d32d.js} +1 -1
- package/dist/cjs/{utils-56b5ed0f.js → utils-b246a910.js} +3 -3
- package/dist/cjs/{vi-181aceb8.js → vi-bdebc44a.js} +16 -15
- package/dist/cjs/{zh-cn-412bf9e6.js → zh-cn-5df873e7.js} +16 -15
- package/dist/cjs/{zh-hk-1a5c0b70.js → zh-hk-4c539f6b.js} +16 -15
- package/dist/cjs/{zh-tw-12079b66.js → zh-tw-6e2dd4df.js} +16 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +20 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +4 -2
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +4 -2
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +4 -2
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +4 -2
- package/dist/collection/components/color-picker/color-picker.js +4 -2
- 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.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.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +4 -2
- 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.js +4 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- 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.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.js +8 -2
- 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.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -3
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +8 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +4 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -2
- 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/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -2
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +5 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +4 -2
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +5 -3
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -2
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +8 -2
- package/dist/collection/components/list/list.js +7 -7
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +6 -6
- 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.js +6 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +4 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +4 -2
- 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-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.js +4 -2
- 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.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +53 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +4 -2
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +6 -1
- package/dist/collection/components/scrim/scrim.js +34 -3
- package/dist/collection/components/segmented-control/segmented-control.js +4 -2
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +4 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +4 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +4 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +8 -2
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +4 -2
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -2
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +4 -2
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +4 -2
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js +8 -2
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +42 -26
- package/dist/collection/components/tooltip/resources.js +3 -2
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +3 -2
- package/dist/collection/components/tree-item/tree-item.js +7 -41
- 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.js +4 -2
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +4 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +14 -0
- 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 +121 -118
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.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 +78 -9
- 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/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/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 +2 -2
- package/dist/components/FloatingArrow.js +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +5 -3
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +16 -0
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +4 -4
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +15 -4
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +5 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +5 -3
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +5 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +5 -3
- package/dist/components/calcite-combobox.js +6 -4
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +9 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +5 -3
- package/dist/components/calcite-flow.js +2 -2
- 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 +5 -3
- package/dist/components/calcite-input-date-picker.js +5 -3
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +5 -3
- package/dist/components/calcite-input-time-picker.js +5 -3
- 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 +7 -3
- package/dist/components/calcite-list-item.js +7 -7
- package/dist/components/calcite-list.js +8 -8
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +5 -3
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +49 -20
- package/dist/components/calcite-rating.js +5 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +5 -3
- package/dist/components/calcite-select.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +5 -3
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +9 -3
- package/dist/components/calcite-stack.js +2 -2
- package/dist/components/calcite-stepper-item.js +5 -3
- package/dist/components/calcite-stepper.js +2 -2
- 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-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +5 -3
- package/dist/components/calcite-tile-select-group.js +9 -3
- package/dist/components/calcite-tile-select.js +5 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +9 -43
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +5 -3
- package/dist/components/calcite-value-list.js +5 -3
- package/dist/components/checkbox.js +5 -3
- package/dist/components/chip.js +5 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +9 -3
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +2 -2
- 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 +6 -4
- 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 +5 -3
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +228 -179
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +2 -2
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- 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 +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +2 -101
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +6 -4
- package/dist/components/input.js +6 -4
- package/dist/components/interactive.js +80 -10
- 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 +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +9 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- 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 +2 -2
- package/dist/components/openCloseComponent.js +2 -2
- package/dist/components/panel.js +5 -3
- package/dist/components/pick-list-item.js +5 -3
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +39 -3
- package/dist/components/shared-list-render.js +2 -2
- 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/sv.js +1 -1
- package/dist/components/switch.js +5 -3
- package/dist/components/t9n.js +2 -2
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +5 -3
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +5 -3
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +44 -27
- 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 +3 -3
- package/dist/components/utils3.js +2 -2
- 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-ce5a9ee4.js → ExpandToggle-7061277b.js} +5 -5
- package/dist/esm/{FloatingArrow-689b30e5.js → FloatingArrow-024dce3b.js} +2 -2
- package/dist/esm/{Heading-9fcc80b7.js → Heading-ce737456.js} +2 -2
- package/dist/esm/{app-globals-09c9196b.js → app-globals-84d3af7e.js} +2 -2
- package/dist/esm/{ar-cd3e84a7.js → ar-cd89a08b.js} +16 -15
- package/dist/esm/{array-915601c9.js → array-8048effa.js} +1 -1
- package/dist/esm/{bg-e0bdc2ff.js → bg-b07540ec.js} +16 -15
- package/dist/esm/browser-99bc62cf.js +16 -0
- package/dist/esm/{bs-15c9883c.js → bs-66c5be6b.js} +16 -15
- package/dist/esm/{ca-002af31c.js → ca-cf164aa9.js} +16 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +14 -11
- package/dist/esm/calcite-alert.entry.js +24 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -12
- package/dist/esm/calcite-button.entry.js +16 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +13 -10
- package/dist/esm/calcite-chip-group.entry.js +11 -8
- package/dist/esm/calcite-chip.entry.js +15 -12
- package/dist/esm/calcite-color-picker_3.entry.js +18 -15
- package/dist/esm/calcite-combobox_3.entry.js +23 -18
- package/dist/esm/calcite-date-picker_4.entry.js +20 -13
- package/dist/esm/calcite-dropdown_3.entry.js +16 -13
- package/dist/esm/calcite-fab.entry.js +14 -7
- package/dist/esm/calcite-filter.entry.js +16 -13
- package/dist/esm/calcite-flow-item.entry.js +15 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +16 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -12
- package/dist/esm/calcite-input-date-picker.entry.js +21 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -14
- package/dist/esm/calcite-input-text.entry.js +16 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-79e1e17a.js → calcite-input-time-picker.calcite-time-picker-330adb65.js} +62 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
- package/dist/esm/calcite-input.entry.js +17 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +14 -7
- package/dist/esm/calcite-list_3.entry.js +26 -21
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +13 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +17 -14
- package/dist/esm/calcite-pick-list_3.entry.js +21 -16
- package/dist/esm/calcite-popover.entry.js +17 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +57 -27
- package/dist/esm/calcite-rating.entry.js +16 -13
- package/dist/esm/calcite-scrim.entry.js +44 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +11 -8
- package/dist/esm/calcite-split-button.entry.js +11 -4
- package/dist/esm/calcite-stack.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +13 -10
- package/dist/esm/calcite-switch.entry.js +13 -10
- package/dist/esm/calcite-tab_4.entry.js +13 -10
- package/dist/esm/calcite-text-area.entry.js +18 -15
- package/dist/esm/calcite-tile-select_2.entry.js +14 -5
- package/dist/esm/calcite-tile.entry.js +11 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +52 -34
- package/dist/esm/calcite-tree_2.entry.js +15 -48
- package/dist/esm/calcite-value-list_2.entry.js +21 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-7bc4b08d.js → composed-offset-position.esm-4bae6a0b.js} +1 -1
- package/dist/esm/{conditionalSlot-7e480672.js → conditionalSlot-946fb911.js} +3 -3
- package/dist/esm/{cs-654d5d62.js → cs-cb6b9b4c.js} +16 -15
- package/dist/esm/{da-a586cfa5.js → da-09d8dc37.js} +16 -15
- package/dist/esm/{de-adf16e62.js → de-620dcd38.js} +16 -15
- package/dist/esm/{de-at-273e11b7.js → de-at-88e61936.js} +16 -15
- package/dist/esm/{de-ch-ae914ee1.js → de-ch-b322ba6f.js} +16 -15
- package/dist/esm/{debounce-d5a2072e.js → debounce-0950a9b8.js} +1 -1
- package/dist/esm/{dom-69bbf61f.js → dom-1fb94ff6.js} +3 -3
- package/dist/esm/{el-2ab0b026.js → el-ca0ae579.js} +16 -15
- package/dist/esm/{en-au-24b6d951.js → en-au-3e39450b.js} +16 -15
- package/dist/esm/{en-ca-beafee20.js → en-ca-d2d254f6.js} +16 -15
- package/dist/esm/{en-gb-6121caf0.js → en-gb-37db0b19.js} +16 -15
- package/dist/esm/{es-0d1eab7a.js → es-34803e87.js} +16 -15
- package/dist/esm/{es-mx-496703a0.js → es-mx-4e9df2f8.js} +16 -15
- package/dist/esm/{et-cf25e81e.js → et-34f427f0.js} +16 -15
- package/dist/esm/{fi-db9097d5.js → fi-e75878c6.js} +16 -15
- package/dist/esm/{filter-c8521dee.js → filter-ab0b5f70.js} +2 -2
- package/dist/esm/{floating-ui-471d352f.js → floating-ui-8d547175.js} +230 -181
- package/dist/esm/{focusTrapComponent-e3ecf2fd.js → focusTrapComponent-07adcb3f.js} +2 -2
- package/dist/esm/{form-1b719116.js → form-d7359efe.js} +3 -3
- package/dist/esm/{fr-af039dff.js → fr-a2ef012f.js} +16 -15
- package/dist/esm/{fr-ch-771346ce.js → fr-ch-c925e0fc.js} +16 -15
- package/dist/esm/{guid-e6d3e045.js → guid-7136974b.js} +1 -1
- package/dist/esm/{he-0ccb5d1f.js → he-ecd2de85.js} +16 -15
- package/dist/esm/{hi-a873acca.js → hi-d498b386.js} +16 -15
- package/dist/esm/{hr-b45fb24b.js → hr-f47f3bfb.js} +16 -15
- package/dist/esm/{hu-fbc2fc1f.js → hu-f5df34ea.js} +16 -15
- package/dist/esm/{id-cc2a7a67.js → id-ba8a65d4.js} +16 -15
- package/dist/esm/{index-4978915e.js → index-c7e05e63.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-0eb13600.js +138 -0
- package/dist/esm/{it-6111161d.js → it-af385f0f.js} +16 -15
- package/dist/esm/{it-ch-3315e4f4.js → it-ch-89f9d6ef.js} +16 -15
- package/dist/esm/{ja-813a3179.js → ja-022204d5.js} +16 -15
- package/dist/esm/{key-56206aae.js → key-8ff0d101.js} +1 -1
- package/dist/esm/{ko-b1044055.js → ko-f523749f.js} +16 -15
- package/dist/esm/{label-d852b792.js → label-9d2eb334.js} +2 -2
- package/dist/esm/{loadable-d691c9aa.js → loadable-8058e300.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-d2829cc4.js → locale-a35648cd.js} +4 -4
- package/dist/esm/{lt-6537c832.js → lt-ecc23d93.js} +16 -15
- package/dist/esm/{lv-58eaa581.js → lv-a7131d8f.js} +16 -15
- package/dist/esm/{math-99f17036.js → math-584fc665.js} +1 -1
- package/dist/esm/{mk-0fc6cd9e.js → mk-07764f54.js} +16 -15
- package/dist/esm/{nb-b80cfbc5.js → nb-0f35c9cc.js} +16 -15
- package/dist/esm/{nl-ab2bb87f.js → nl-77449834.js} +16 -15
- package/dist/esm/{observers-10a56029.js → observers-95e97fae.js} +1 -1
- package/dist/esm/{openCloseComponent-6e188ead.js → openCloseComponent-21d2a6ab.js} +2 -2
- package/dist/esm/{pl-82b304a5.js → pl-9bc3b201.js} +16 -15
- package/dist/esm/{pt-5a93bf6f.js → pt-002b833e.js} +16 -15
- package/dist/esm/{pt-br-8c0d2e74.js → pt-br-e0930ce7.js} +16 -15
- package/dist/esm/{resources-225dd2b2.js → resources-298c32e6.js} +5 -5
- package/dist/esm/{resources-133b9851.js → resources-342e12d1.js} +1 -1
- package/dist/esm/{resources-78909486.js → resources-4bf6d30e.js} +1 -1
- package/dist/esm/{resources-d4a29eb0.js → resources-58b3716f.js} +1 -1
- package/dist/esm/{resources-45d25c96.js → resources-99f0ae1b.js} +1 -1
- package/dist/esm/{resources-18dbe7dc.js → resources-fa08bf1a.js} +1 -1
- package/dist/esm/{ro-150d6ba3.js → ro-bba81f47.js} +16 -15
- package/dist/esm/{ru-cf430274.js → ru-0f39251e.js} +16 -15
- package/dist/esm/{sk-8dab2bcf.js → sk-4a151f09.js} +16 -15
- package/dist/esm/{sl-69bad066.js → sl-aa7861fd.js} +16 -15
- package/dist/esm/{sortableComponent-521dc910.js → sortableComponent-8d7c9c05.js} +2 -2
- package/dist/esm/{sr-3268d15e.js → sr-a2cdfeb9.js} +16 -15
- package/dist/esm/{sv-c1a2fc34.js → sv-ca00e5e3.js} +16 -15
- package/dist/esm/{t9n-013d3207.js → t9n-fac13394.js} +3 -3
- package/dist/esm/{th-4e1bf72f.js → th-0317324d.js} +16 -15
- package/dist/esm/{throttle-55963265.js → throttle-b7008174.js} +2 -2
- package/dist/esm/{tr-ba67ccaf.js → tr-8feb4202.js} +16 -15
- package/dist/esm/{uk-59468434.js → uk-094d01da.js} +16 -15
- package/dist/esm/{utils-b7daf530.js → utils-85b95e46.js} +1 -1
- package/dist/esm/{utils-02a3cf89.js → utils-8a806067.js} +3 -3
- package/dist/esm/{vi-4044f66d.js → vi-d1baa060.js} +16 -15
- package/dist/esm/{zh-cn-22c16cb0.js → zh-cn-91644fd4.js} +16 -15
- package/dist/esm/{zh-hk-543542ba.js → zh-hk-82d06d40.js} +16 -15
- package/dist/esm/{zh-tw-536bd823.js → zh-tw-2992db34.js} +16 -15
- package/dist/extras/docs-json.d.ts +148 -0
- package/dist/extras/docs-json.json +25227 -0
- package/dist/extras/translations-json.json +1 -0
- 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/types/components/alert/alert.d.ts +2 -1
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -0
- package/dist/types/components/fab/fab.d.ts +2 -0
- package/dist/types/components/link/link.d.ts +2 -0
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/list-item-group/list-item-group.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +4 -1
- package/dist/types/components/scrim/resources.d.ts +4 -0
- package/dist/types/components/scrim/scrim.d.ts +7 -0
- package/dist/types/components/split-button/split-button.d.ts +2 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -0
- package/dist/types/components/tooltip/TooltipManager.d.ts +7 -3
- package/dist/types/components/tooltip/resources.d.ts +2 -1
- package/dist/types/components/tree-item/tree-item.d.ts +2 -26
- package/dist/types/preact.d.ts +445 -0
- package/dist/types/utils/browser.d.ts +11 -0
- package/dist/types/utils/floating-ui.d.ts +50 -50
- package/dist/types/utils/interactive.d.ts +16 -0
- package/hydrate/index.js +481 -243
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-068e6983.js +0 -6
- package/dist/calcite/p-077a210c.entry.js +0 -6
- package/dist/calcite/p-0a8c4e39.js +0 -6
- package/dist/calcite/p-0f9e88c8.entry.js +0 -6
- package/dist/calcite/p-16cbd689.entry.js +0 -6
- package/dist/calcite/p-19b275b5.entry.js +0 -6
- package/dist/calcite/p-19b2c561.js +0 -6
- package/dist/calcite/p-1bfe4de6.js +0 -6
- package/dist/calcite/p-1ccc0862.entry.js +0 -6
- package/dist/calcite/p-217d0a96.entry.js +0 -6
- package/dist/calcite/p-22448316.js +0 -6
- package/dist/calcite/p-25baae60.js +0 -6
- package/dist/calcite/p-25fa4785.entry.js +0 -6
- package/dist/calcite/p-28163982.js +0 -6
- package/dist/calcite/p-2a2371e8.js +0 -6
- package/dist/calcite/p-2ba6131a.entry.js +0 -6
- package/dist/calcite/p-2c2a9719.js +0 -6
- package/dist/calcite/p-2d3fb975.js +0 -6
- package/dist/calcite/p-2e4d7aa0.entry.js +0 -6
- package/dist/calcite/p-2e71f5a2.js +0 -6
- package/dist/calcite/p-30a43bef.js +0 -6
- package/dist/calcite/p-32000602.entry.js +0 -6
- package/dist/calcite/p-347fbc1b.js +0 -6
- package/dist/calcite/p-3d21ab16.entry.js +0 -6
- package/dist/calcite/p-3fa26004.entry.js +0 -6
- package/dist/calcite/p-41a796c0.js +0 -6
- package/dist/calcite/p-41da9b31.entry.js +0 -6
- package/dist/calcite/p-4741bd5e.entry.js +0 -6
- package/dist/calcite/p-4a1d8683.entry.js +0 -6
- package/dist/calcite/p-4b488bec.js +0 -6
- package/dist/calcite/p-4ceeaf5d.js +0 -6
- package/dist/calcite/p-5128bedf.js +0 -6
- package/dist/calcite/p-561a2e57.js +0 -6
- package/dist/calcite/p-576ab83c.js +0 -6
- package/dist/calcite/p-57d54813.js +0 -6
- package/dist/calcite/p-6114422c.entry.js +0 -6
- package/dist/calcite/p-6374c300.js +0 -6
- package/dist/calcite/p-701f87b6.js +0 -6
- package/dist/calcite/p-72fc333c.js +0 -6
- package/dist/calcite/p-735e8e68.js +0 -6
- package/dist/calcite/p-754fd58c.js +0 -6
- package/dist/calcite/p-759907fc.entry.js +0 -6
- package/dist/calcite/p-7a85eb51.js +0 -6
- package/dist/calcite/p-7c7b3505.entry.js +0 -6
- package/dist/calcite/p-7efa2815.js +0 -6
- package/dist/calcite/p-7ffd0a67.js +0 -6
- package/dist/calcite/p-8036dac9.entry.js +0 -6
- package/dist/calcite/p-808fc106.entry.js +0 -6
- package/dist/calcite/p-88bb3a23.entry.js +0 -6
- package/dist/calcite/p-89deade2.entry.js +0 -6
- package/dist/calcite/p-93ad3ed8.js +0 -6
- package/dist/calcite/p-94f10254.entry.js +0 -6
- package/dist/calcite/p-9580be69.js +0 -6
- package/dist/calcite/p-9dde422a.entry.js +0 -6
- package/dist/calcite/p-9e54942b.entry.js +0 -6
- package/dist/calcite/p-a08cacba.js +0 -6
- package/dist/calcite/p-a0d4a940.entry.js +0 -6
- package/dist/calcite/p-a132ad48.entry.js +0 -6
- package/dist/calcite/p-a4e263b3.js +0 -6
- package/dist/calcite/p-a788be57.entry.js +0 -6
- package/dist/calcite/p-a7d7fb65.js +0 -6
- package/dist/calcite/p-a8928c3b.entry.js +0 -6
- package/dist/calcite/p-a9632a07.entry.js +0 -6
- package/dist/calcite/p-ade3383e.js +0 -6
- package/dist/calcite/p-ade52649.js +0 -6
- package/dist/calcite/p-b1fc8ef1.js +0 -6
- package/dist/calcite/p-b259130d.js +0 -6
- package/dist/calcite/p-bb17c4ec.js +0 -6
- package/dist/calcite/p-bc317d2b.js +0 -6
- package/dist/calcite/p-be1aee0f.js +0 -6
- package/dist/calcite/p-c2ba20e7.js +0 -6
- package/dist/calcite/p-c34231af.entry.js +0 -6
- package/dist/calcite/p-c3cb8414.js +0 -6
- package/dist/calcite/p-c59ca435.js +0 -6
- package/dist/calcite/p-c85550d7.entry.js +0 -6
- package/dist/calcite/p-cfbd92f6.entry.js +0 -6
- package/dist/calcite/p-d0445fd9.js +0 -6
- package/dist/calcite/p-d0d2d097.entry.js +0 -6
- package/dist/calcite/p-d2417972.js +0 -6
- package/dist/calcite/p-d41ec323.js +0 -6
- package/dist/calcite/p-d4a03d9f.js +0 -6
- package/dist/calcite/p-de35af5c.js +0 -6
- package/dist/calcite/p-e16b2296.entry.js +0 -6
- package/dist/calcite/p-e26d7db6.entry.js +0 -6
- package/dist/calcite/p-e5f1f96d.js +0 -6
- package/dist/calcite/p-e613275b.js +0 -6
- package/dist/calcite/p-e6e786f9.entry.js +0 -6
- package/dist/calcite/p-e7124ec2.entry.js +0 -6
- package/dist/calcite/p-e955b795.js +0 -6
- package/dist/calcite/p-ea769d03.entry.js +0 -6
- package/dist/calcite/p-eb592416.entry.js +0 -6
- package/dist/calcite/p-f36936eb.js +0 -6
- package/dist/calcite/p-f738caf7.entry.js +0 -6
- package/dist/calcite/p-f80a3f19.js +0 -6
- package/dist/calcite/p-fabc8770.entry.js +0 -6
- package/dist/calcite/p-fe350017.js +0 -6
- package/dist/calcite/p-fed284a2.js +0 -6
- package/dist/calcite/p-fee9474b.entry.js +0 -6
- package/dist/cjs/interactive-a7d3cb32.js +0 -70
- package/dist/esm/interactive-767f5091.js +0 -68
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.3
|
|
4
|
+
* v1.4.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const
|
|
8
|
+
const dom = require('./dom-5405b0f8.js');
|
|
9
|
+
const browser = require('./browser-d9861345.js');
|
|
10
|
+
const debounce = require('./debounce-889a17f8.js');
|
|
10
11
|
|
|
11
12
|
function getAlignment(placement) {
|
|
12
13
|
return placement.split('-')[1];
|
|
@@ -345,7 +346,7 @@ const arrow = options => ({
|
|
|
345
346
|
[axis]: coords[axis] - alignmentOffset,
|
|
346
347
|
data: {
|
|
347
348
|
[axis]: offset,
|
|
348
|
-
centerOffset: center - offset
|
|
349
|
+
centerOffset: center - offset + alignmentOffset
|
|
349
350
|
}
|
|
350
351
|
};
|
|
351
352
|
}
|
|
@@ -869,7 +870,13 @@ function isNode(value) {
|
|
|
869
870
|
return value instanceof getWindow(value).Node;
|
|
870
871
|
}
|
|
871
872
|
function getNodeName(node) {
|
|
872
|
-
|
|
873
|
+
if (isNode(node)) {
|
|
874
|
+
return (node.nodeName || '').toLowerCase();
|
|
875
|
+
}
|
|
876
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
877
|
+
// returning `#document` an infinite loop won't occur.
|
|
878
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
879
|
+
return '#document';
|
|
873
880
|
}
|
|
874
881
|
|
|
875
882
|
function isHTMLElement(value) {
|
|
@@ -883,8 +890,7 @@ function isShadowRoot(node) {
|
|
|
883
890
|
if (typeof ShadowRoot === 'undefined') {
|
|
884
891
|
return false;
|
|
885
892
|
}
|
|
886
|
-
|
|
887
|
-
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
893
|
+
return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
|
|
888
894
|
}
|
|
889
895
|
function isOverflowElement(element) {
|
|
890
896
|
const {
|
|
@@ -916,6 +922,11 @@ function isLastTraversableNode(node) {
|
|
|
916
922
|
const min = Math.min;
|
|
917
923
|
const max = Math.max;
|
|
918
924
|
const round = Math.round;
|
|
925
|
+
const floor = Math.floor;
|
|
926
|
+
const createEmptyCoords = v => ({
|
|
927
|
+
x: v,
|
|
928
|
+
y: v
|
|
929
|
+
});
|
|
919
930
|
|
|
920
931
|
function getCssDimensions(element) {
|
|
921
932
|
const css = getComputedStyle$1(element);
|
|
@@ -934,7 +945,7 @@ function getCssDimensions(element) {
|
|
|
934
945
|
return {
|
|
935
946
|
width,
|
|
936
947
|
height,
|
|
937
|
-
|
|
948
|
+
$: shouldFallback
|
|
938
949
|
};
|
|
939
950
|
}
|
|
940
951
|
|
|
@@ -942,23 +953,19 @@ function unwrapElement(element) {
|
|
|
942
953
|
return !isElement(element) ? element.contextElement : element;
|
|
943
954
|
}
|
|
944
955
|
|
|
945
|
-
const FALLBACK_SCALE = {
|
|
946
|
-
x: 1,
|
|
947
|
-
y: 1
|
|
948
|
-
};
|
|
949
956
|
function getScale(element) {
|
|
950
957
|
const domElement = unwrapElement(element);
|
|
951
958
|
if (!isHTMLElement(domElement)) {
|
|
952
|
-
return
|
|
959
|
+
return createEmptyCoords(1);
|
|
953
960
|
}
|
|
954
961
|
const rect = domElement.getBoundingClientRect();
|
|
955
962
|
const {
|
|
956
963
|
width,
|
|
957
964
|
height,
|
|
958
|
-
|
|
965
|
+
$
|
|
959
966
|
} = getCssDimensions(domElement);
|
|
960
|
-
let x = (
|
|
961
|
-
let y = (
|
|
967
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
968
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
962
969
|
|
|
963
970
|
// 0, NaN, or Infinity should always fallback to 1.
|
|
964
971
|
|
|
@@ -974,10 +981,7 @@ function getScale(element) {
|
|
|
974
981
|
};
|
|
975
982
|
}
|
|
976
983
|
|
|
977
|
-
const noOffsets =
|
|
978
|
-
x: 0,
|
|
979
|
-
y: 0
|
|
980
|
-
};
|
|
984
|
+
const noOffsets = /*#__PURE__*/createEmptyCoords(0);
|
|
981
985
|
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
982
986
|
var _win$visualViewport, _win$visualViewport2;
|
|
983
987
|
if (isFixed === void 0) {
|
|
@@ -1005,7 +1009,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1005
1009
|
}
|
|
1006
1010
|
const clientRect = element.getBoundingClientRect();
|
|
1007
1011
|
const domElement = unwrapElement(element);
|
|
1008
|
-
let scale =
|
|
1012
|
+
let scale = createEmptyCoords(1);
|
|
1009
1013
|
if (includeScale) {
|
|
1010
1014
|
if (offsetParent) {
|
|
1011
1015
|
if (isElement(offsetParent)) {
|
|
@@ -1028,14 +1032,14 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1028
1032
|
const iframeScale = getScale(currentIFrame);
|
|
1029
1033
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1030
1034
|
const css = getComputedStyle(currentIFrame);
|
|
1031
|
-
iframeRect.
|
|
1032
|
-
iframeRect.
|
|
1035
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1036
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1033
1037
|
x *= iframeScale.x;
|
|
1034
1038
|
y *= iframeScale.y;
|
|
1035
1039
|
width *= iframeScale.x;
|
|
1036
1040
|
height *= iframeScale.y;
|
|
1037
|
-
x +=
|
|
1038
|
-
y +=
|
|
1041
|
+
x += left;
|
|
1042
|
+
y += top;
|
|
1039
1043
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1040
1044
|
}
|
|
1041
1045
|
}
|
|
@@ -1079,14 +1083,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1079
1083
|
scrollLeft: 0,
|
|
1080
1084
|
scrollTop: 0
|
|
1081
1085
|
};
|
|
1082
|
-
let scale =
|
|
1083
|
-
|
|
1084
|
-
y: 1
|
|
1085
|
-
};
|
|
1086
|
-
const offsets = {
|
|
1087
|
-
x: 0,
|
|
1088
|
-
y: 0
|
|
1089
|
-
};
|
|
1086
|
+
let scale = createEmptyCoords(1);
|
|
1087
|
+
const offsets = createEmptyCoords(0);
|
|
1090
1088
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1091
1089
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1092
1090
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1152,9 +1150,7 @@ function getParentNode(node) {
|
|
|
1152
1150
|
function getNearestOverflowAncestor(node) {
|
|
1153
1151
|
const parentNode = getParentNode(node);
|
|
1154
1152
|
if (isLastTraversableNode(parentNode)) {
|
|
1155
|
-
|
|
1156
|
-
// check, so it's either the <html> or <body> element.
|
|
1157
|
-
return parentNode.ownerDocument.body;
|
|
1153
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1158
1154
|
}
|
|
1159
1155
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1160
1156
|
return parentNode;
|
|
@@ -1206,10 +1202,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1206
1202
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1207
1203
|
const top = clientRect.top + element.clientTop;
|
|
1208
1204
|
const left = clientRect.left + element.clientLeft;
|
|
1209
|
-
const scale = isHTMLElement(element) ? getScale(element) :
|
|
1210
|
-
x: 1,
|
|
1211
|
-
y: 1
|
|
1212
|
-
};
|
|
1205
|
+
const scale = isHTMLElement(element) ? getScale(element) : createEmptyCoords(1);
|
|
1213
1206
|
const width = element.clientWidth * scale.x;
|
|
1214
1207
|
const height = element.clientHeight * scale.y;
|
|
1215
1208
|
const x = left * scale.x;
|
|
@@ -1360,10 +1353,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1360
1353
|
scrollLeft: 0,
|
|
1361
1354
|
scrollTop: 0
|
|
1362
1355
|
};
|
|
1363
|
-
const offsets =
|
|
1364
|
-
x: 0,
|
|
1365
|
-
y: 0
|
|
1366
|
-
};
|
|
1356
|
+
const offsets = createEmptyCoords(0);
|
|
1367
1357
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1368
1358
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1369
1359
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1413,6 +1403,67 @@ const platform = {
|
|
|
1413
1403
|
isRTL: element => getComputedStyle$1(element).direction === 'rtl'
|
|
1414
1404
|
};
|
|
1415
1405
|
|
|
1406
|
+
// https://samthor.au/2021/observing-dom/
|
|
1407
|
+
function observeMove(element, onMove) {
|
|
1408
|
+
let io = null;
|
|
1409
|
+
let timeoutId;
|
|
1410
|
+
const root = getDocumentElement(element);
|
|
1411
|
+
function cleanup() {
|
|
1412
|
+
clearTimeout(timeoutId);
|
|
1413
|
+
io && io.disconnect();
|
|
1414
|
+
io = null;
|
|
1415
|
+
}
|
|
1416
|
+
function refresh(skip, threshold) {
|
|
1417
|
+
if (skip === void 0) {
|
|
1418
|
+
skip = false;
|
|
1419
|
+
}
|
|
1420
|
+
if (threshold === void 0) {
|
|
1421
|
+
threshold = 1;
|
|
1422
|
+
}
|
|
1423
|
+
cleanup();
|
|
1424
|
+
const {
|
|
1425
|
+
left,
|
|
1426
|
+
top,
|
|
1427
|
+
width,
|
|
1428
|
+
height
|
|
1429
|
+
} = element.getBoundingClientRect();
|
|
1430
|
+
if (!skip) {
|
|
1431
|
+
onMove();
|
|
1432
|
+
}
|
|
1433
|
+
if (!width || !height) {
|
|
1434
|
+
return;
|
|
1435
|
+
}
|
|
1436
|
+
const insetTop = floor(top);
|
|
1437
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1438
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1439
|
+
const insetLeft = floor(left);
|
|
1440
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1441
|
+
let isFirstUpdate = true;
|
|
1442
|
+
io = new IntersectionObserver(entries => {
|
|
1443
|
+
const ratio = entries[0].intersectionRatio;
|
|
1444
|
+
if (ratio !== threshold) {
|
|
1445
|
+
if (!isFirstUpdate) {
|
|
1446
|
+
return refresh();
|
|
1447
|
+
}
|
|
1448
|
+
if (ratio === 0) {
|
|
1449
|
+
timeoutId = setTimeout(() => {
|
|
1450
|
+
refresh(false, 1e-7);
|
|
1451
|
+
}, 100);
|
|
1452
|
+
} else {
|
|
1453
|
+
refresh(false, ratio);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
isFirstUpdate = false;
|
|
1457
|
+
}, {
|
|
1458
|
+
rootMargin,
|
|
1459
|
+
threshold
|
|
1460
|
+
});
|
|
1461
|
+
io.observe(element);
|
|
1462
|
+
}
|
|
1463
|
+
refresh(true);
|
|
1464
|
+
return cleanup;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1416
1467
|
/**
|
|
1417
1468
|
* Automatically updates the position of the floating element when necessary.
|
|
1418
1469
|
* Should only be called when the floating element is mounted on the DOM or
|
|
@@ -1429,29 +1480,25 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1429
1480
|
ancestorScroll = true,
|
|
1430
1481
|
ancestorResize = true,
|
|
1431
1482
|
elementResize = true,
|
|
1483
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1432
1484
|
animationFrame = false
|
|
1433
1485
|
} = options;
|
|
1434
|
-
const
|
|
1486
|
+
const referenceEl = unwrapElement(reference);
|
|
1487
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1435
1488
|
ancestors.forEach(ancestor => {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
ancestor.addEventListener('scroll', update, {
|
|
1440
|
-
passive: true
|
|
1441
|
-
});
|
|
1442
|
-
}
|
|
1489
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1490
|
+
passive: true
|
|
1491
|
+
});
|
|
1443
1492
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1444
1493
|
});
|
|
1445
|
-
|
|
1494
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1495
|
+
let resizeObserver = null;
|
|
1446
1496
|
if (elementResize) {
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
isElement(reference) && !animationFrame && observer.observe(reference);
|
|
1451
|
-
if (!isElement(reference) && reference.contextElement && !animationFrame) {
|
|
1452
|
-
observer.observe(reference.contextElement);
|
|
1497
|
+
resizeObserver = new ResizeObserver(update);
|
|
1498
|
+
if (referenceEl && !animationFrame) {
|
|
1499
|
+
resizeObserver.observe(referenceEl);
|
|
1453
1500
|
}
|
|
1454
|
-
|
|
1501
|
+
resizeObserver.observe(floating);
|
|
1455
1502
|
}
|
|
1456
1503
|
let frameId;
|
|
1457
1504
|
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
@@ -1468,13 +1515,13 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1468
1515
|
}
|
|
1469
1516
|
update();
|
|
1470
1517
|
return () => {
|
|
1471
|
-
var _observer;
|
|
1472
1518
|
ancestors.forEach(ancestor => {
|
|
1473
1519
|
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1474
1520
|
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1475
1521
|
});
|
|
1476
|
-
|
|
1477
|
-
|
|
1522
|
+
cleanupIo && cleanupIo();
|
|
1523
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1524
|
+
resizeObserver = null;
|
|
1478
1525
|
if (animationFrame) {
|
|
1479
1526
|
cancelAnimationFrame(frameId);
|
|
1480
1527
|
}
|
|
@@ -1523,34 +1570,115 @@ const config = {
|
|
|
1523
1570
|
};
|
|
1524
1571
|
|
|
1525
1572
|
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
1573
|
+
function isChrome109OrAbove() {
|
|
1574
|
+
const uaData = browser.getUserAgentData();
|
|
1575
|
+
if (uaData?.brands) {
|
|
1576
|
+
return !!uaData.brands.find(({ brand, version }) => (brand === "Google Chrome" || brand === "Chromium") && Number(version) >= 109);
|
|
1577
|
+
}
|
|
1578
|
+
return !!navigator.userAgent.split(" ").find((ua) => {
|
|
1579
|
+
const [browser, version] = ua.split("/");
|
|
1580
|
+
return browser === "Chrome" && parseInt(version) >= 109;
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1526
1583
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
1527
|
-
function getUAData() {
|
|
1528
|
-
return navigator.userAgentData;
|
|
1529
|
-
}
|
|
1530
|
-
function getUAString() {
|
|
1531
|
-
const uaData = getUAData();
|
|
1532
|
-
return uaData?.brands
|
|
1533
|
-
? uaData.brands.map(({ brand, version }) => `${brand}/${version}`).join(" ")
|
|
1534
|
-
: navigator.userAgent;
|
|
1535
|
-
}
|
|
1536
|
-
function isChrome109OrAbove() {
|
|
1537
|
-
const uaData = getUAData();
|
|
1538
|
-
if (uaData?.brands) {
|
|
1539
|
-
return !!uaData.brands.find(({ brand, version }) => (brand === "Google Chrome" || brand === "Chromium") && Number(version) >= 109);
|
|
1540
|
-
}
|
|
1541
|
-
return !!navigator.userAgent.split(" ").find((ua) => {
|
|
1542
|
-
const [browser, version] = ua.split("/");
|
|
1543
|
-
return browser === "Chrome" && parseInt(version) >= 109;
|
|
1544
|
-
});
|
|
1545
|
-
}
|
|
1546
1584
|
if (config.floatingUINonChromiumPositioningFix &&
|
|
1547
1585
|
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
1548
|
-
(/firefox|safari/i.test(
|
|
1549
|
-
const { offsetParent } = await Promise.resolve().then(function () { return require('./composed-offset-position.esm-
|
|
1586
|
+
(/firefox|safari/i.test(browser.getUserAgentString()) || isChrome109OrAbove())) {
|
|
1587
|
+
const { offsetParent } = await Promise.resolve().then(function () { return require('./composed-offset-position.esm-2b28a9f7.js'); });
|
|
1550
1588
|
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1551
1589
|
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1552
1590
|
}
|
|
1553
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Positions the floating element relative to the reference element.
|
|
1594
|
+
*
|
|
1595
|
+
* **Note:** exported for testing purposes only
|
|
1596
|
+
*
|
|
1597
|
+
* @param root0
|
|
1598
|
+
* @param root0.referenceEl
|
|
1599
|
+
* @param root0.floatingEl
|
|
1600
|
+
* @param root0.overlayPositioning
|
|
1601
|
+
* @param root0.placement
|
|
1602
|
+
* @param root0.flipDisabled
|
|
1603
|
+
* @param root0.flipPlacements
|
|
1604
|
+
* @param root0.offsetDistance
|
|
1605
|
+
* @param root0.offsetSkidding
|
|
1606
|
+
* @param root0.arrowEl
|
|
1607
|
+
* @param root0.type
|
|
1608
|
+
* @param component
|
|
1609
|
+
* @param root0.referenceEl.referenceEl
|
|
1610
|
+
* @param root0.referenceEl.floatingEl
|
|
1611
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1612
|
+
* @param root0.referenceEl.placement
|
|
1613
|
+
* @param root0.referenceEl.flipDisabled
|
|
1614
|
+
* @param root0.referenceEl.flipPlacements
|
|
1615
|
+
* @param root0.referenceEl.offsetDistance
|
|
1616
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1617
|
+
* @param root0.referenceEl.arrowEl
|
|
1618
|
+
* @param root0.referenceEl.type
|
|
1619
|
+
* @param component.referenceEl
|
|
1620
|
+
* @param component.floatingEl
|
|
1621
|
+
* @param component.overlayPositioning
|
|
1622
|
+
* @param component.placement
|
|
1623
|
+
* @param component.flipDisabled
|
|
1624
|
+
* @param component.flipPlacements
|
|
1625
|
+
* @param component.offsetDistance
|
|
1626
|
+
* @param component.offsetSkidding
|
|
1627
|
+
* @param component.arrowEl
|
|
1628
|
+
* @param component.type
|
|
1629
|
+
*/
|
|
1630
|
+
const positionFloatingUI =
|
|
1631
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1632
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) => {
|
|
1633
|
+
if (!referenceEl || !floatingEl) {
|
|
1634
|
+
return null;
|
|
1635
|
+
}
|
|
1636
|
+
await floatingUIBrowserCheck;
|
|
1637
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
1638
|
+
strategy: overlayPositioning,
|
|
1639
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1640
|
+
? undefined
|
|
1641
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1642
|
+
middleware: getMiddleware({
|
|
1643
|
+
placement,
|
|
1644
|
+
flipDisabled,
|
|
1645
|
+
flipPlacements,
|
|
1646
|
+
offsetDistance,
|
|
1647
|
+
offsetSkidding,
|
|
1648
|
+
arrowEl,
|
|
1649
|
+
type
|
|
1650
|
+
})
|
|
1651
|
+
});
|
|
1652
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1653
|
+
const { x, y } = middlewareData.arrow;
|
|
1654
|
+
const side = effectivePlacement.split("-")[0];
|
|
1655
|
+
const alignment = x != null ? "left" : "top";
|
|
1656
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1657
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1658
|
+
if ("floatingLayout" in component) {
|
|
1659
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1660
|
+
}
|
|
1661
|
+
Object.assign(arrowEl.style, {
|
|
1662
|
+
...reset,
|
|
1663
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1664
|
+
[side]: "100%",
|
|
1665
|
+
transform
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1668
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1669
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1670
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1671
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1672
|
+
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
1673
|
+
Object.assign(floatingEl.style, {
|
|
1674
|
+
visibility,
|
|
1675
|
+
pointerEvents,
|
|
1676
|
+
position,
|
|
1677
|
+
top: "0",
|
|
1678
|
+
left: "0",
|
|
1679
|
+
transform
|
|
1680
|
+
});
|
|
1681
|
+
};
|
|
1554
1682
|
/**
|
|
1555
1683
|
* Exported for testing purposes only
|
|
1556
1684
|
*/
|
|
@@ -1651,112 +1779,34 @@ async function reposition(component, options, delayed = false) {
|
|
|
1651
1779
|
if (!component.open) {
|
|
1652
1780
|
return;
|
|
1653
1781
|
}
|
|
1654
|
-
|
|
1782
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1783
|
+
return positionFunction(component, options);
|
|
1784
|
+
}
|
|
1785
|
+
function getDebouncedReposition(component) {
|
|
1786
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1787
|
+
if (debounced) {
|
|
1788
|
+
return debounced;
|
|
1789
|
+
}
|
|
1790
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1791
|
+
leading: true,
|
|
1792
|
+
maxWait: repositionDebounceTimeout
|
|
1793
|
+
});
|
|
1794
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1795
|
+
return debounced;
|
|
1655
1796
|
}
|
|
1656
|
-
const debouncedReposition = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1657
|
-
leading: true,
|
|
1658
|
-
maxWait: repositionDebounceTimeout
|
|
1659
|
-
});
|
|
1660
1797
|
const ARROW_CSS_TRANSFORM = {
|
|
1661
1798
|
top: "",
|
|
1662
1799
|
left: "rotate(-90deg)",
|
|
1663
1800
|
bottom: "rotate(180deg)",
|
|
1664
1801
|
right: "rotate(90deg)"
|
|
1665
1802
|
};
|
|
1666
|
-
/**
|
|
1667
|
-
* Positions the floating element relative to the reference element.
|
|
1668
|
-
*
|
|
1669
|
-
* **Note:** exported for testing purposes only
|
|
1670
|
-
*
|
|
1671
|
-
* @param root0
|
|
1672
|
-
* @param root0.referenceEl
|
|
1673
|
-
* @param root0.floatingEl
|
|
1674
|
-
* @param root0.overlayPositioning
|
|
1675
|
-
* @param root0.placement
|
|
1676
|
-
* @param root0.flipDisabled
|
|
1677
|
-
* @param root0.flipPlacements
|
|
1678
|
-
* @param root0.offsetDistance
|
|
1679
|
-
* @param root0.offsetSkidding
|
|
1680
|
-
* @param root0.arrowEl
|
|
1681
|
-
* @param root0.type
|
|
1682
|
-
* @param component
|
|
1683
|
-
* @param root0.referenceEl.referenceEl
|
|
1684
|
-
* @param root0.referenceEl.floatingEl
|
|
1685
|
-
* @param root0.referenceEl.overlayPositioning
|
|
1686
|
-
* @param root0.referenceEl.placement
|
|
1687
|
-
* @param root0.referenceEl.flipDisabled
|
|
1688
|
-
* @param root0.referenceEl.flipPlacements
|
|
1689
|
-
* @param root0.referenceEl.offsetDistance
|
|
1690
|
-
* @param root0.referenceEl.offsetSkidding
|
|
1691
|
-
* @param root0.referenceEl.arrowEl
|
|
1692
|
-
* @param root0.referenceEl.type
|
|
1693
|
-
* @param component.referenceEl
|
|
1694
|
-
* @param component.floatingEl
|
|
1695
|
-
* @param component.overlayPositioning
|
|
1696
|
-
* @param component.placement
|
|
1697
|
-
* @param component.flipDisabled
|
|
1698
|
-
* @param component.flipPlacements
|
|
1699
|
-
* @param component.offsetDistance
|
|
1700
|
-
* @param component.offsetSkidding
|
|
1701
|
-
* @param component.arrowEl
|
|
1702
|
-
* @param component.type
|
|
1703
|
-
*/
|
|
1704
|
-
async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
1705
|
-
if (!referenceEl || !floatingEl) {
|
|
1706
|
-
return null;
|
|
1707
|
-
}
|
|
1708
|
-
await floatingUIBrowserCheck;
|
|
1709
|
-
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
1710
|
-
strategy: overlayPositioning,
|
|
1711
|
-
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1712
|
-
? undefined
|
|
1713
|
-
: getEffectivePlacement(floatingEl, placement),
|
|
1714
|
-
middleware: getMiddleware({
|
|
1715
|
-
placement,
|
|
1716
|
-
flipDisabled,
|
|
1717
|
-
flipPlacements,
|
|
1718
|
-
offsetDistance,
|
|
1719
|
-
offsetSkidding,
|
|
1720
|
-
arrowEl,
|
|
1721
|
-
type
|
|
1722
|
-
})
|
|
1723
|
-
});
|
|
1724
|
-
if (arrowEl && middlewareData.arrow) {
|
|
1725
|
-
const { x, y } = middlewareData.arrow;
|
|
1726
|
-
const side = effectivePlacement.split("-")[0];
|
|
1727
|
-
const alignment = x != null ? "left" : "top";
|
|
1728
|
-
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1729
|
-
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1730
|
-
if ("floatingLayout" in component) {
|
|
1731
|
-
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1732
|
-
}
|
|
1733
|
-
Object.assign(arrowEl.style, {
|
|
1734
|
-
...reset,
|
|
1735
|
-
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1736
|
-
[side]: "100%",
|
|
1737
|
-
transform
|
|
1738
|
-
});
|
|
1739
|
-
}
|
|
1740
|
-
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1741
|
-
const visibility = referenceHidden ? "hidden" : null;
|
|
1742
|
-
const pointerEvents = visibility ? "none" : null;
|
|
1743
|
-
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1744
|
-
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
1745
|
-
Object.assign(floatingEl.style, {
|
|
1746
|
-
visibility,
|
|
1747
|
-
pointerEvents,
|
|
1748
|
-
position,
|
|
1749
|
-
top: "0",
|
|
1750
|
-
left: "0",
|
|
1751
|
-
transform
|
|
1752
|
-
});
|
|
1753
|
-
}
|
|
1754
1803
|
/**
|
|
1755
1804
|
* Exported for testing purposes only
|
|
1756
1805
|
*
|
|
1757
1806
|
* @internal
|
|
1758
1807
|
*/
|
|
1759
1808
|
const cleanupMap = new WeakMap();
|
|
1809
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1760
1810
|
/**
|
|
1761
1811
|
* Helper to set up floating element interactions on connectedCallback.
|
|
1762
1812
|
*
|
|
@@ -1792,11 +1842,10 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1792
1842
|
if (!floatingEl || !referenceEl) {
|
|
1793
1843
|
return;
|
|
1794
1844
|
}
|
|
1795
|
-
|
|
1796
|
-
if (cleanup) {
|
|
1797
|
-
cleanup();
|
|
1798
|
-
}
|
|
1845
|
+
cleanupMap.get(component)?.();
|
|
1799
1846
|
cleanupMap.delete(component);
|
|
1847
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1848
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1800
1849
|
}
|
|
1801
1850
|
const visiblePointerSize = 4;
|
|
1802
1851
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.3
|
|
4
|
+
* v1.4.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
8
|
+
const dom = require('./dom-5405b0f8.js');
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
11
|
* focus-trap 7.4.3
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.3
|
|
4
|
+
* v1.4.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const index = require('./index-
|
|
8
|
+
const dom = require('./dom-5405b0f8.js');
|
|
9
|
+
const index = require('./index-807aa4d9.js');
|
|
10
10
|
|
|
11
11
|
(function(prototype) {
|
|
12
12
|
if (typeof prototype.requestSubmit == "function") return
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.3
|
|
4
|
+
* v1.4.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-
|
|
9
|
-
require('./index-
|
|
10
|
-
require('./form-
|
|
11
|
-
require('./dom-
|
|
12
|
-
require('./guid-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./interactive-
|
|
15
|
-
require('./
|
|
16
|
-
require('./
|
|
17
|
-
require('./
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
20
|
-
require('./
|
|
21
|
-
require('./
|
|
8
|
+
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-fe20b99c.js');
|
|
9
|
+
require('./index-807aa4d9.js');
|
|
10
|
+
require('./form-c40b9f7f.js');
|
|
11
|
+
require('./dom-5405b0f8.js');
|
|
12
|
+
require('./guid-e87cbbe2.js');
|
|
13
|
+
require('./resources-5490d59b.js');
|
|
14
|
+
require('./interactive-a7fd5309.js');
|
|
15
|
+
require('./browser-d9861345.js');
|
|
16
|
+
require('./key-04e37b19.js');
|
|
17
|
+
require('./label-8657cbdb.js');
|
|
18
|
+
require('./loadable-f33f394c.js');
|
|
19
|
+
require('./locale-c578a31e.js');
|
|
20
|
+
require('./observers-987123ec.js');
|
|
21
|
+
require('./focusTrapComponent-6873f82e.js');
|
|
22
|
+
require('./t9n-2df2bcc8.js');
|
|
22
23
|
|
|
23
24
|
// French [fr]
|
|
24
25
|
var locale = {
|