@esri/calcite-components 1.4.3-next.7 → 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-17348ec0.entry.js → p-052c51f9.entry.js} +2 -2
- package/dist/calcite/p-0684db12.entry.js +6 -0
- package/dist/calcite/{p-7d032023.entry.js → p-07623c25.entry.js} +2 -2
- package/dist/calcite/{p-8fa8a642.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-3c050037.entry.js → p-0ec0cfc7.entry.js} +2 -2
- package/dist/calcite/p-13b1920b.entry.js +6 -0
- package/dist/calcite/{p-39680fff.js → p-1e20e719.js} +2 -2
- package/dist/calcite/{p-3c3596b9.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-6c049640.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-bcf1719f.entry.js → p-2886ee84.entry.js} +2 -2
- package/dist/calcite/{p-cc623131.entry.js → p-28999734.entry.js} +2 -2
- package/dist/calcite/p-28ed67d4.entry.js +6 -0
- package/dist/calcite/{p-430a25b0.entry.js → p-2a1a5616.entry.js} +2 -2
- package/dist/calcite/{p-2ba4fa9c.js → p-2b22e428.js} +1 -1
- package/dist/calcite/{p-9b7b6442.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-68825dc6.entry.js → p-39d18799.entry.js} +2 -2
- package/dist/calcite/p-39f67c8b.entry.js +6 -0
- package/dist/calcite/{p-ebf912dd.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-c55322a0.js → p-4024b5c5.js} +1 -1
- package/dist/calcite/p-4083e2e9.entry.js +6 -0
- package/dist/calcite/{p-0e37f09a.js → p-40a2e36c.js} +2 -2
- package/dist/calcite/{p-9f414f46.js → p-48945447.js} +1 -1
- package/dist/calcite/{p-7b90630c.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-03ab0214.js → p-4d8ccd5b.js} +1 -1
- package/dist/calcite/{p-b04ec54f.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-4b3dacb6.js → p-5348c028.js} +1 -1
- package/dist/calcite/p-546a9617.entry.js +6 -0
- package/dist/calcite/{p-12104383.js → p-55726a3e.js} +2 -2
- package/dist/calcite/{p-c1b9f68d.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-e6c06128.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-d54afa8a.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-2fee4787.js → p-72f0eeb4.js} +1 -1
- package/dist/calcite/p-749ebcc3.js +6 -0
- package/dist/calcite/{p-4ae80278.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-ef6be552.js → p-7e6ce0f0.js} +1 -1
- package/dist/calcite/p-7f6aad7e.entry.js +6 -0
- package/dist/calcite/{p-0d7c7821.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-d44138c6.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-3b40653a.entry.js → p-881748fa.entry.js} +2 -2
- package/dist/calcite/{p-26057f12.js → p-8c2b9f8b.js} +2 -2
- package/dist/calcite/{p-6036b5bd.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-736db286.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-187b10f2.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-cbc3af88.entry.js → p-a7b4d822.entry.js} +2 -2
- package/dist/calcite/{p-c90c553b.entry.js → p-aaf20297.entry.js} +2 -2
- package/dist/calcite/p-b02e42c1.js +6 -0
- package/dist/calcite/{p-547dbba8.entry.js → p-b0fd3690.entry.js} +2 -2
- package/dist/calcite/{p-222cdeca.js → p-b57e36ac.js} +2 -2
- package/dist/calcite/{p-d036ace0.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-bbb92dda.js → p-c10667e6.js} +2 -2
- package/dist/calcite/p-c1eeeb3b.entry.js +6 -0
- package/dist/calcite/{p-432cadb6.entry.js → p-c4360cd4.entry.js} +2 -2
- package/dist/calcite/p-c928be74.js +6 -0
- package/dist/calcite/{p-1f59a103.js → p-ccbe1a1b.js} +1 -1
- package/dist/calcite/{p-70607f97.js → p-ce0bc9fd.js} +2 -2
- package/dist/calcite/{p-1d660b35.js → p-ce8ac2dc.js} +1 -1
- package/dist/calcite/{p-14915f38.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-fe7bc50c.js → p-d592fdf5.js} +2 -2
- 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-91d7e816.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-ff4dacd9.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-569549e5.js → p-f811ed39.js} +2 -2
- package/dist/calcite/p-f9c77aa6.entry.js +6 -0
- package/dist/calcite/{p-c9f6f2ed.entry.js → p-faa811f5.entry.js} +2 -2
- package/dist/calcite/{p-2e117d07.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-56f9436a.js → ExpandToggle-cb8c60f0.js} +5 -5
- package/dist/cjs/{FloatingArrow-73ac1fb8.js → FloatingArrow-41cefb55.js} +2 -2
- package/dist/cjs/{Heading-3a082dfd.js → Heading-e7a36ba7.js} +2 -2
- package/dist/cjs/{app-globals-19bbb624.js → app-globals-4484c30e.js} +2 -2
- package/dist/cjs/{ar-194f70ed.js → ar-22d61aa3.js} +16 -15
- package/dist/cjs/{array-c411ac89.js → array-9665e9a5.js} +1 -1
- package/dist/cjs/{bg-6c0924fb.js → bg-c081591c.js} +16 -15
- package/dist/cjs/browser-d9861345.js +19 -0
- package/dist/cjs/{bs-899125ef.js → bs-769df396.js} +16 -15
- package/dist/cjs/{ca-9a3cfb92.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-5d9de250.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 +10 -9
- 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-37287c1a.js → composed-offset-position.esm-2b28a9f7.js} +1 -1
- package/dist/cjs/{conditionalSlot-bf4e538f.js → conditionalSlot-ffccbbe9.js} +3 -3
- package/dist/cjs/{cs-44fa6349.js → cs-8abb3239.js} +16 -15
- package/dist/cjs/{da-a70d46f6.js → da-f36fefa1.js} +16 -15
- package/dist/cjs/{de-49c6a57e.js → de-9fcb4aa3.js} +16 -15
- package/dist/cjs/{de-at-99da380d.js → de-at-efcf1437.js} +16 -15
- package/dist/cjs/{de-ch-779c08f7.js → de-ch-671e1b63.js} +16 -15
- package/dist/cjs/{debounce-53566d1d.js → debounce-889a17f8.js} +1 -1
- package/dist/cjs/{dom-04ff81e4.js → dom-5405b0f8.js} +3 -3
- package/dist/cjs/{el-5fa3eba3.js → el-031ea42f.js} +16 -15
- package/dist/cjs/{en-au-1b957ac5.js → en-au-6b6a2a13.js} +16 -15
- package/dist/cjs/{en-ca-5caa68a6.js → en-ca-981265c1.js} +16 -15
- package/dist/cjs/{en-gb-a74da97c.js → en-gb-dcde8715.js} +16 -15
- package/dist/cjs/{es-34ed55ea.js → es-aa2a38b0.js} +16 -15
- package/dist/cjs/{es-mx-9daf3619.js → es-mx-20df7f73.js} +16 -15
- package/dist/cjs/{et-e8a4bd6c.js → et-1ea2b358.js} +16 -15
- package/dist/cjs/{fi-a4f492c2.js → fi-854ae579.js} +16 -15
- package/dist/cjs/{filter-977c5948.js → filter-ced27caa.js} +2 -2
- package/dist/cjs/{floating-ui-b2db293e.js → floating-ui-9b960c20.js} +230 -181
- package/dist/cjs/{focusTrapComponent-31489187.js → focusTrapComponent-6873f82e.js} +2 -2
- package/dist/cjs/{form-9b6b12a1.js → form-c40b9f7f.js} +3 -3
- package/dist/cjs/{fr-770858d6.js → fr-85f1fc07.js} +16 -15
- package/dist/cjs/{fr-ch-f8426a05.js → fr-ch-5708ba2a.js} +16 -15
- package/dist/cjs/{guid-e7594870.js → guid-e87cbbe2.js} +1 -1
- package/dist/cjs/{he-e2976927.js → he-717ffebf.js} +16 -15
- package/dist/cjs/{hi-6c02b6fc.js → hi-4f198dff.js} +16 -15
- package/dist/cjs/{hr-e26ff232.js → hr-c8d8831d.js} +16 -15
- package/dist/cjs/{hu-2d2113bf.js → hu-d621df91.js} +16 -15
- package/dist/cjs/{id-1d6021e0.js → id-c572ec8b.js} +16 -15
- package/dist/cjs/{index-4ad11cb5.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-174fb6ce.js → it-27ac078b.js} +16 -15
- package/dist/cjs/{it-ch-9fee82e3.js → it-ch-dbeb044b.js} +16 -15
- package/dist/cjs/{ja-0b6c3d0d.js → ja-ae4af5cd.js} +16 -15
- package/dist/cjs/{key-458d188a.js → key-04e37b19.js} +1 -1
- package/dist/cjs/{ko-c988070e.js → ko-a9892eca.js} +16 -15
- package/dist/cjs/{label-09b7687e.js → label-8657cbdb.js} +2 -2
- package/dist/cjs/{loadable-8196e92b.js → loadable-f33f394c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-75adc6ea.js → locale-c578a31e.js} +4 -4
- package/dist/cjs/{lt-24bcb569.js → lt-28318f75.js} +16 -15
- package/dist/cjs/{lv-baec00ac.js → lv-76095a27.js} +16 -15
- package/dist/cjs/{math-f9388df8.js → math-6c387b34.js} +1 -1
- package/dist/cjs/{mk-01dad9f4.js → mk-4c781e5f.js} +16 -15
- package/dist/cjs/{nb-958bf8d9.js → nb-10685216.js} +16 -15
- package/dist/cjs/{nl-110521b3.js → nl-84319cac.js} +16 -15
- package/dist/cjs/{observers-3e06217a.js → observers-987123ec.js} +1 -1
- package/dist/cjs/{openCloseComponent-d21672e7.js → openCloseComponent-65da58f8.js} +2 -2
- package/dist/cjs/{pl-ea2d6e81.js → pl-22176a08.js} +16 -15
- package/dist/cjs/{pt-b0d0470b.js → pt-012d168c.js} +16 -15
- package/dist/cjs/{pt-br-2de5d2c3.js → pt-br-890202bb.js} +16 -15
- package/dist/cjs/{resources-75b8aac4.js → resources-3fdf39dc.js} +1 -1
- package/dist/cjs/{resources-852a5ad6.js → resources-5490d59b.js} +1 -1
- package/dist/cjs/{resources-17649e7a.js → resources-6522e85c.js} +1 -1
- package/dist/cjs/{resources-3017a577.js → resources-8cf3e27f.js} +1 -1
- package/dist/cjs/{resources-58a95257.js → resources-c78d2369.js} +1 -1
- package/dist/cjs/{resources-4605c053.js → resources-cae871b6.js} +5 -5
- package/dist/cjs/{ro-797ff119.js → ro-6a2522f0.js} +16 -15
- package/dist/cjs/{ru-78e0abe2.js → ru-f5390d83.js} +16 -15
- package/dist/cjs/{sk-99d9bec4.js → sk-713564ae.js} +16 -15
- package/dist/cjs/{sl-6bb5d9bc.js → sl-51fd6a1d.js} +16 -15
- package/dist/cjs/{sortableComponent-a4cb4878.js → sortableComponent-91083ec9.js} +2 -2
- package/dist/cjs/{sr-75e6f31f.js → sr-9af04d18.js} +16 -15
- package/dist/cjs/{sv-1b65a607.js → sv-13dc92d8.js} +16 -15
- package/dist/cjs/{t9n-72ab6cef.js → t9n-2df2bcc8.js} +3 -3
- package/dist/cjs/{th-343087f4.js → th-380ea2b8.js} +16 -15
- package/dist/cjs/{throttle-87665875.js → throttle-6615e004.js} +2 -2
- package/dist/cjs/{tr-9d06ac75.js → tr-0285be12.js} +16 -15
- package/dist/cjs/{uk-612c6532.js → uk-8c0db38e.js} +16 -15
- package/dist/cjs/{utils-c5d99b50.js → utils-0531d32d.js} +1 -1
- package/dist/cjs/{utils-a3c966c6.js → utils-b246a910.js} +3 -3
- package/dist/cjs/{vi-426f9ebf.js → vi-bdebc44a.js} +16 -15
- package/dist/cjs/{zh-cn-45a3bade.js → zh-cn-5df873e7.js} +16 -15
- package/dist/cjs/{zh-hk-fdecd7b1.js → zh-hk-4c539f6b.js} +16 -15
- package/dist/cjs/{zh-tw-f7e9ec65.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 +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.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 +2 -2
- 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-025f0a38.js → ExpandToggle-7061277b.js} +5 -5
- package/dist/esm/{FloatingArrow-22536c42.js → FloatingArrow-024dce3b.js} +2 -2
- package/dist/esm/{Heading-07e212f4.js → Heading-ce737456.js} +2 -2
- package/dist/esm/{app-globals-63850940.js → app-globals-84d3af7e.js} +2 -2
- package/dist/esm/{ar-70d9322c.js → ar-cd89a08b.js} +16 -15
- package/dist/esm/{array-592cbeb6.js → array-8048effa.js} +1 -1
- package/dist/esm/{bg-385b7e89.js → bg-b07540ec.js} +16 -15
- package/dist/esm/browser-99bc62cf.js +16 -0
- package/dist/esm/{bs-f6997c76.js → bs-66c5be6b.js} +16 -15
- package/dist/esm/{ca-445d2fa3.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-89661b79.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 +10 -9
- 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-2fce547a.js → composed-offset-position.esm-4bae6a0b.js} +1 -1
- package/dist/esm/{conditionalSlot-6c1d9ae2.js → conditionalSlot-946fb911.js} +3 -3
- package/dist/esm/{cs-53c3da2b.js → cs-cb6b9b4c.js} +16 -15
- package/dist/esm/{da-a7bafe3b.js → da-09d8dc37.js} +16 -15
- package/dist/esm/{de-5221c414.js → de-620dcd38.js} +16 -15
- package/dist/esm/{de-at-7dc9e1fd.js → de-at-88e61936.js} +16 -15
- package/dist/esm/{de-ch-3df19ae5.js → de-ch-b322ba6f.js} +16 -15
- package/dist/esm/{debounce-b6ee9741.js → debounce-0950a9b8.js} +1 -1
- package/dist/esm/{dom-ded2c412.js → dom-1fb94ff6.js} +3 -3
- package/dist/esm/{el-66ada9be.js → el-ca0ae579.js} +16 -15
- package/dist/esm/{en-au-2aaa31d9.js → en-au-3e39450b.js} +16 -15
- package/dist/esm/{en-ca-05f02c0c.js → en-ca-d2d254f6.js} +16 -15
- package/dist/esm/{en-gb-e3f7f8bf.js → en-gb-37db0b19.js} +16 -15
- package/dist/esm/{es-cd9ea5ea.js → es-34803e87.js} +16 -15
- package/dist/esm/{es-mx-9186a933.js → es-mx-4e9df2f8.js} +16 -15
- package/dist/esm/{et-63a6eb05.js → et-34f427f0.js} +16 -15
- package/dist/esm/{fi-760a2168.js → fi-e75878c6.js} +16 -15
- package/dist/esm/{filter-ebf8fc85.js → filter-ab0b5f70.js} +2 -2
- package/dist/esm/{floating-ui-4d7b13ab.js → floating-ui-8d547175.js} +230 -181
- package/dist/esm/{focusTrapComponent-b44b39c7.js → focusTrapComponent-07adcb3f.js} +2 -2
- package/dist/esm/{form-4bc12471.js → form-d7359efe.js} +3 -3
- package/dist/esm/{fr-1bc19c8d.js → fr-a2ef012f.js} +16 -15
- package/dist/esm/{fr-ch-da482e53.js → fr-ch-c925e0fc.js} +16 -15
- package/dist/esm/{guid-f6471622.js → guid-7136974b.js} +1 -1
- package/dist/esm/{he-64963d6a.js → he-ecd2de85.js} +16 -15
- package/dist/esm/{hi-08c3c766.js → hi-d498b386.js} +16 -15
- package/dist/esm/{hr-dd501e8a.js → hr-f47f3bfb.js} +16 -15
- package/dist/esm/{hu-46f165bc.js → hu-f5df34ea.js} +16 -15
- package/dist/esm/{id-5f0d7287.js → id-ba8a65d4.js} +16 -15
- package/dist/esm/{index-7c949857.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-79cc12d5.js → it-af385f0f.js} +16 -15
- package/dist/esm/{it-ch-39fa3f0f.js → it-ch-89f9d6ef.js} +16 -15
- package/dist/esm/{ja-2028ebb2.js → ja-022204d5.js} +16 -15
- package/dist/esm/{key-24b39791.js → key-8ff0d101.js} +1 -1
- package/dist/esm/{ko-2a61466e.js → ko-f523749f.js} +16 -15
- package/dist/esm/{label-db821ffc.js → label-9d2eb334.js} +2 -2
- package/dist/esm/{loadable-23c0edb3.js → loadable-8058e300.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-741d5820.js → locale-a35648cd.js} +4 -4
- package/dist/esm/{lt-0f340b88.js → lt-ecc23d93.js} +16 -15
- package/dist/esm/{lv-ea6e4ee7.js → lv-a7131d8f.js} +16 -15
- package/dist/esm/{math-e1177cd2.js → math-584fc665.js} +1 -1
- package/dist/esm/{mk-b02a0a07.js → mk-07764f54.js} +16 -15
- package/dist/esm/{nb-db176347.js → nb-0f35c9cc.js} +16 -15
- package/dist/esm/{nl-7e1306de.js → nl-77449834.js} +16 -15
- package/dist/esm/{observers-6b03b332.js → observers-95e97fae.js} +1 -1
- package/dist/esm/{openCloseComponent-31fddb99.js → openCloseComponent-21d2a6ab.js} +2 -2
- package/dist/esm/{pl-a9d1ec0a.js → pl-9bc3b201.js} +16 -15
- package/dist/esm/{pt-e9590415.js → pt-002b833e.js} +16 -15
- package/dist/esm/{pt-br-90ac5d4c.js → pt-br-e0930ce7.js} +16 -15
- package/dist/esm/{resources-03058a19.js → resources-298c32e6.js} +5 -5
- package/dist/esm/{resources-61b0bb1c.js → resources-342e12d1.js} +1 -1
- package/dist/esm/{resources-b8175e74.js → resources-4bf6d30e.js} +1 -1
- package/dist/esm/{resources-d8ce9c30.js → resources-58b3716f.js} +1 -1
- package/dist/esm/{resources-a003a000.js → resources-99f0ae1b.js} +1 -1
- package/dist/esm/{resources-d44a258a.js → resources-fa08bf1a.js} +1 -1
- package/dist/esm/{ro-39da1412.js → ro-bba81f47.js} +16 -15
- package/dist/esm/{ru-a1030608.js → ru-0f39251e.js} +16 -15
- package/dist/esm/{sk-a8e03a68.js → sk-4a151f09.js} +16 -15
- package/dist/esm/{sl-b467ff0a.js → sl-aa7861fd.js} +16 -15
- package/dist/esm/{sortableComponent-1be1476b.js → sortableComponent-8d7c9c05.js} +2 -2
- package/dist/esm/{sr-3b1c9cfb.js → sr-a2cdfeb9.js} +16 -15
- package/dist/esm/{sv-38116000.js → sv-ca00e5e3.js} +16 -15
- package/dist/esm/{t9n-ef7e26b4.js → t9n-fac13394.js} +3 -3
- package/dist/esm/{th-d11ce4c5.js → th-0317324d.js} +16 -15
- package/dist/esm/{throttle-2c62036e.js → throttle-b7008174.js} +2 -2
- package/dist/esm/{tr-2d911fea.js → tr-8feb4202.js} +16 -15
- package/dist/esm/{uk-ccd09dcc.js → uk-094d01da.js} +16 -15
- package/dist/esm/{utils-a5fcb944.js → utils-85b95e46.js} +1 -1
- package/dist/esm/{utils-5338ca76.js → utils-8a806067.js} +3 -3
- package/dist/esm/{vi-f7f598ef.js → vi-d1baa060.js} +16 -15
- package/dist/esm/{zh-cn-8d3680f6.js → zh-cn-91644fd4.js} +16 -15
- package/dist/esm/{zh-hk-b2a1f7fa.js → zh-hk-82d06d40.js} +16 -15
- package/dist/esm/{zh-tw-292d31df.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/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 +439 -218
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-00667e8c.entry.js +0 -6
- package/dist/calcite/p-01d5c1ab.entry.js +0 -6
- package/dist/calcite/p-087a12f1.entry.js +0 -6
- package/dist/calcite/p-0942e52d.js +0 -6
- package/dist/calcite/p-1322be37.js +0 -6
- package/dist/calcite/p-160c5295.js +0 -6
- package/dist/calcite/p-19835c2e.entry.js +0 -6
- package/dist/calcite/p-19ce578f.js +0 -6
- package/dist/calcite/p-1a39b45d.js +0 -6
- package/dist/calcite/p-1a511916.entry.js +0 -6
- package/dist/calcite/p-1bd77532.entry.js +0 -6
- package/dist/calcite/p-2096ccf6.js +0 -6
- package/dist/calcite/p-22be5357.js +0 -6
- package/dist/calcite/p-25b25c0a.entry.js +0 -6
- package/dist/calcite/p-2874f1c8.entry.js +0 -6
- package/dist/calcite/p-2c979b32.entry.js +0 -6
- package/dist/calcite/p-33ed97b0.js +0 -6
- package/dist/calcite/p-3585e242.entry.js +0 -6
- package/dist/calcite/p-372a2de7.js +0 -6
- package/dist/calcite/p-3a1b9021.entry.js +0 -6
- package/dist/calcite/p-3b4d9616.js +0 -6
- package/dist/calcite/p-3c5766bc.entry.js +0 -6
- package/dist/calcite/p-426f7e6c.entry.js +0 -6
- package/dist/calcite/p-428922f0.entry.js +0 -6
- package/dist/calcite/p-4387056b.js +0 -6
- package/dist/calcite/p-4836fcfa.js +0 -6
- package/dist/calcite/p-486ede3f.js +0 -6
- package/dist/calcite/p-4ada1a67.entry.js +0 -6
- package/dist/calcite/p-4bdf9955.js +0 -6
- package/dist/calcite/p-52c135cc.entry.js +0 -6
- package/dist/calcite/p-5400b99b.js +0 -6
- package/dist/calcite/p-54447f9c.js +0 -6
- package/dist/calcite/p-56ee5404.entry.js +0 -6
- package/dist/calcite/p-5ac08a90.js +0 -6
- package/dist/calcite/p-60cc8f65.entry.js +0 -6
- package/dist/calcite/p-6491ab97.entry.js +0 -6
- package/dist/calcite/p-69b36208.js +0 -6
- package/dist/calcite/p-6bd8f69a.entry.js +0 -6
- package/dist/calcite/p-6f795a9c.entry.js +0 -6
- package/dist/calcite/p-6fc0b5fe.js +0 -6
- package/dist/calcite/p-70ad4da2.entry.js +0 -6
- package/dist/calcite/p-73aaeef6.entry.js +0 -6
- package/dist/calcite/p-73e084c1.entry.js +0 -6
- package/dist/calcite/p-793c198d.entry.js +0 -6
- package/dist/calcite/p-79daa660.entry.js +0 -6
- package/dist/calcite/p-7af87efc.js +0 -6
- package/dist/calcite/p-7d2755fc.js +0 -6
- package/dist/calcite/p-8446cb08.js +0 -6
- package/dist/calcite/p-84d3a320.js +0 -6
- package/dist/calcite/p-88b9c6dc.js +0 -6
- package/dist/calcite/p-89c3cfb9.js +0 -6
- package/dist/calcite/p-8bb20f00.js +0 -6
- package/dist/calcite/p-8f51802e.js +0 -6
- package/dist/calcite/p-901cfe4d.js +0 -6
- package/dist/calcite/p-92db6c54.js +0 -6
- package/dist/calcite/p-962ea4cd.entry.js +0 -6
- package/dist/calcite/p-9757aba9.js +0 -6
- package/dist/calcite/p-979f83b7.js +0 -6
- package/dist/calcite/p-a0b8afaa.js +0 -6
- package/dist/calcite/p-a2a822f3.js +0 -6
- package/dist/calcite/p-a378911d.js +0 -6
- package/dist/calcite/p-a388c6de.js +0 -6
- package/dist/calcite/p-a40bd1cc.entry.js +0 -6
- package/dist/calcite/p-a50c9172.js +0 -6
- package/dist/calcite/p-a9bb114c.js +0 -6
- package/dist/calcite/p-b3eaf727.js +0 -6
- package/dist/calcite/p-b3f05c52.entry.js +0 -6
- package/dist/calcite/p-b467c059.js +0 -6
- package/dist/calcite/p-b5be105b.entry.js +0 -6
- package/dist/calcite/p-b8331835.js +0 -6
- package/dist/calcite/p-bc3bbded.js +0 -6
- package/dist/calcite/p-c25a0f7a.js +0 -6
- package/dist/calcite/p-c28e2041.entry.js +0 -6
- package/dist/calcite/p-c2b58582.entry.js +0 -6
- package/dist/calcite/p-c363f1ab.js +0 -6
- package/dist/calcite/p-c4ddf539.entry.js +0 -6
- package/dist/calcite/p-c7329c32.entry.js +0 -6
- package/dist/calcite/p-c91f1476.entry.js +0 -6
- package/dist/calcite/p-ca585bc6.entry.js +0 -6
- package/dist/calcite/p-ca76a7d6.js +0 -6
- package/dist/calcite/p-ca90012f.js +0 -6
- package/dist/calcite/p-ca90b686.js +0 -6
- package/dist/calcite/p-cc0cb0e0.js +0 -6
- package/dist/calcite/p-cfd7e3aa.js +0 -6
- package/dist/calcite/p-d0a47812.entry.js +0 -6
- package/dist/calcite/p-d0a50f8e.entry.js +0 -6
- package/dist/calcite/p-d1a81ce3.js +0 -6
- package/dist/calcite/p-d70dbd93.entry.js +0 -6
- package/dist/calcite/p-d88a0236.entry.js +0 -6
- package/dist/calcite/p-d97763e5.entry.js +0 -6
- package/dist/calcite/p-dcb09001.js +0 -6
- package/dist/calcite/p-e3dda9fe.entry.js +0 -6
- package/dist/calcite/p-ea8a0558.js +0 -6
- package/dist/calcite/p-f0b8d666.js +0 -6
- package/dist/calcite/p-f1c5a7cc.entry.js +0 -6
- package/dist/calcite/p-f268ca45.js +0 -6
- package/dist/calcite/p-f53787cb.js +0 -6
- package/dist/cjs/interactive-6db0c621.js +0 -70
- package/dist/esm/interactive-66fbba19.js +0 -68
|
@@ -1,10 +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
|
-
import { Build } from '@stencil/core/internal/client';
|
|
6
|
+
import { Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
8
|
+
import { g as getUserAgentString, a as getUserAgentData } from './browser.js';
|
|
8
9
|
import { d as debounce } from './debounce.js';
|
|
9
10
|
|
|
10
11
|
function getAlignment(placement) {
|
|
@@ -344,7 +345,7 @@ const arrow = options => ({
|
|
|
344
345
|
[axis]: coords[axis] - alignmentOffset,
|
|
345
346
|
data: {
|
|
346
347
|
[axis]: offset,
|
|
347
|
-
centerOffset: center - offset
|
|
348
|
+
centerOffset: center - offset + alignmentOffset
|
|
348
349
|
}
|
|
349
350
|
};
|
|
350
351
|
}
|
|
@@ -868,7 +869,13 @@ function isNode(value) {
|
|
|
868
869
|
return value instanceof getWindow(value).Node;
|
|
869
870
|
}
|
|
870
871
|
function getNodeName(node) {
|
|
871
|
-
|
|
872
|
+
if (isNode(node)) {
|
|
873
|
+
return (node.nodeName || '').toLowerCase();
|
|
874
|
+
}
|
|
875
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
876
|
+
// returning `#document` an infinite loop won't occur.
|
|
877
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
878
|
+
return '#document';
|
|
872
879
|
}
|
|
873
880
|
|
|
874
881
|
function isHTMLElement(value) {
|
|
@@ -882,8 +889,7 @@ function isShadowRoot(node) {
|
|
|
882
889
|
if (typeof ShadowRoot === 'undefined') {
|
|
883
890
|
return false;
|
|
884
891
|
}
|
|
885
|
-
|
|
886
|
-
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
892
|
+
return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
|
|
887
893
|
}
|
|
888
894
|
function isOverflowElement(element) {
|
|
889
895
|
const {
|
|
@@ -915,6 +921,11 @@ function isLastTraversableNode(node) {
|
|
|
915
921
|
const min = Math.min;
|
|
916
922
|
const max = Math.max;
|
|
917
923
|
const round = Math.round;
|
|
924
|
+
const floor = Math.floor;
|
|
925
|
+
const createEmptyCoords = v => ({
|
|
926
|
+
x: v,
|
|
927
|
+
y: v
|
|
928
|
+
});
|
|
918
929
|
|
|
919
930
|
function getCssDimensions(element) {
|
|
920
931
|
const css = getComputedStyle$1(element);
|
|
@@ -933,7 +944,7 @@ function getCssDimensions(element) {
|
|
|
933
944
|
return {
|
|
934
945
|
width,
|
|
935
946
|
height,
|
|
936
|
-
|
|
947
|
+
$: shouldFallback
|
|
937
948
|
};
|
|
938
949
|
}
|
|
939
950
|
|
|
@@ -941,23 +952,19 @@ function unwrapElement(element) {
|
|
|
941
952
|
return !isElement(element) ? element.contextElement : element;
|
|
942
953
|
}
|
|
943
954
|
|
|
944
|
-
const FALLBACK_SCALE = {
|
|
945
|
-
x: 1,
|
|
946
|
-
y: 1
|
|
947
|
-
};
|
|
948
955
|
function getScale(element) {
|
|
949
956
|
const domElement = unwrapElement(element);
|
|
950
957
|
if (!isHTMLElement(domElement)) {
|
|
951
|
-
return
|
|
958
|
+
return createEmptyCoords(1);
|
|
952
959
|
}
|
|
953
960
|
const rect = domElement.getBoundingClientRect();
|
|
954
961
|
const {
|
|
955
962
|
width,
|
|
956
963
|
height,
|
|
957
|
-
|
|
964
|
+
$
|
|
958
965
|
} = getCssDimensions(domElement);
|
|
959
|
-
let x = (
|
|
960
|
-
let y = (
|
|
966
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
967
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
961
968
|
|
|
962
969
|
// 0, NaN, or Infinity should always fallback to 1.
|
|
963
970
|
|
|
@@ -973,10 +980,7 @@ function getScale(element) {
|
|
|
973
980
|
};
|
|
974
981
|
}
|
|
975
982
|
|
|
976
|
-
const noOffsets =
|
|
977
|
-
x: 0,
|
|
978
|
-
y: 0
|
|
979
|
-
};
|
|
983
|
+
const noOffsets = /*#__PURE__*/createEmptyCoords(0);
|
|
980
984
|
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
981
985
|
var _win$visualViewport, _win$visualViewport2;
|
|
982
986
|
if (isFixed === void 0) {
|
|
@@ -1004,7 +1008,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1004
1008
|
}
|
|
1005
1009
|
const clientRect = element.getBoundingClientRect();
|
|
1006
1010
|
const domElement = unwrapElement(element);
|
|
1007
|
-
let scale =
|
|
1011
|
+
let scale = createEmptyCoords(1);
|
|
1008
1012
|
if (includeScale) {
|
|
1009
1013
|
if (offsetParent) {
|
|
1010
1014
|
if (isElement(offsetParent)) {
|
|
@@ -1027,14 +1031,14 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1027
1031
|
const iframeScale = getScale(currentIFrame);
|
|
1028
1032
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1029
1033
|
const css = getComputedStyle(currentIFrame);
|
|
1030
|
-
iframeRect.
|
|
1031
|
-
iframeRect.
|
|
1034
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1035
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1032
1036
|
x *= iframeScale.x;
|
|
1033
1037
|
y *= iframeScale.y;
|
|
1034
1038
|
width *= iframeScale.x;
|
|
1035
1039
|
height *= iframeScale.y;
|
|
1036
|
-
x +=
|
|
1037
|
-
y +=
|
|
1040
|
+
x += left;
|
|
1041
|
+
y += top;
|
|
1038
1042
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1039
1043
|
}
|
|
1040
1044
|
}
|
|
@@ -1078,14 +1082,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1078
1082
|
scrollLeft: 0,
|
|
1079
1083
|
scrollTop: 0
|
|
1080
1084
|
};
|
|
1081
|
-
let scale =
|
|
1082
|
-
|
|
1083
|
-
y: 1
|
|
1084
|
-
};
|
|
1085
|
-
const offsets = {
|
|
1086
|
-
x: 0,
|
|
1087
|
-
y: 0
|
|
1088
|
-
};
|
|
1085
|
+
let scale = createEmptyCoords(1);
|
|
1086
|
+
const offsets = createEmptyCoords(0);
|
|
1089
1087
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1090
1088
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1091
1089
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1151,9 +1149,7 @@ function getParentNode(node) {
|
|
|
1151
1149
|
function getNearestOverflowAncestor(node) {
|
|
1152
1150
|
const parentNode = getParentNode(node);
|
|
1153
1151
|
if (isLastTraversableNode(parentNode)) {
|
|
1154
|
-
|
|
1155
|
-
// check, so it's either the <html> or <body> element.
|
|
1156
|
-
return parentNode.ownerDocument.body;
|
|
1152
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1157
1153
|
}
|
|
1158
1154
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1159
1155
|
return parentNode;
|
|
@@ -1205,10 +1201,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1205
1201
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1206
1202
|
const top = clientRect.top + element.clientTop;
|
|
1207
1203
|
const left = clientRect.left + element.clientLeft;
|
|
1208
|
-
const scale = isHTMLElement(element) ? getScale(element) :
|
|
1209
|
-
x: 1,
|
|
1210
|
-
y: 1
|
|
1211
|
-
};
|
|
1204
|
+
const scale = isHTMLElement(element) ? getScale(element) : createEmptyCoords(1);
|
|
1212
1205
|
const width = element.clientWidth * scale.x;
|
|
1213
1206
|
const height = element.clientHeight * scale.y;
|
|
1214
1207
|
const x = left * scale.x;
|
|
@@ -1359,10 +1352,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1359
1352
|
scrollLeft: 0,
|
|
1360
1353
|
scrollTop: 0
|
|
1361
1354
|
};
|
|
1362
|
-
const offsets =
|
|
1363
|
-
x: 0,
|
|
1364
|
-
y: 0
|
|
1365
|
-
};
|
|
1355
|
+
const offsets = createEmptyCoords(0);
|
|
1366
1356
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1367
1357
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1368
1358
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1412,6 +1402,67 @@ const platform = {
|
|
|
1412
1402
|
isRTL: element => getComputedStyle$1(element).direction === 'rtl'
|
|
1413
1403
|
};
|
|
1414
1404
|
|
|
1405
|
+
// https://samthor.au/2021/observing-dom/
|
|
1406
|
+
function observeMove(element, onMove) {
|
|
1407
|
+
let io = null;
|
|
1408
|
+
let timeoutId;
|
|
1409
|
+
const root = getDocumentElement(element);
|
|
1410
|
+
function cleanup() {
|
|
1411
|
+
clearTimeout(timeoutId);
|
|
1412
|
+
io && io.disconnect();
|
|
1413
|
+
io = null;
|
|
1414
|
+
}
|
|
1415
|
+
function refresh(skip, threshold) {
|
|
1416
|
+
if (skip === void 0) {
|
|
1417
|
+
skip = false;
|
|
1418
|
+
}
|
|
1419
|
+
if (threshold === void 0) {
|
|
1420
|
+
threshold = 1;
|
|
1421
|
+
}
|
|
1422
|
+
cleanup();
|
|
1423
|
+
const {
|
|
1424
|
+
left,
|
|
1425
|
+
top,
|
|
1426
|
+
width,
|
|
1427
|
+
height
|
|
1428
|
+
} = element.getBoundingClientRect();
|
|
1429
|
+
if (!skip) {
|
|
1430
|
+
onMove();
|
|
1431
|
+
}
|
|
1432
|
+
if (!width || !height) {
|
|
1433
|
+
return;
|
|
1434
|
+
}
|
|
1435
|
+
const insetTop = floor(top);
|
|
1436
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1437
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1438
|
+
const insetLeft = floor(left);
|
|
1439
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1440
|
+
let isFirstUpdate = true;
|
|
1441
|
+
io = new IntersectionObserver(entries => {
|
|
1442
|
+
const ratio = entries[0].intersectionRatio;
|
|
1443
|
+
if (ratio !== threshold) {
|
|
1444
|
+
if (!isFirstUpdate) {
|
|
1445
|
+
return refresh();
|
|
1446
|
+
}
|
|
1447
|
+
if (ratio === 0) {
|
|
1448
|
+
timeoutId = setTimeout(() => {
|
|
1449
|
+
refresh(false, 1e-7);
|
|
1450
|
+
}, 100);
|
|
1451
|
+
} else {
|
|
1452
|
+
refresh(false, ratio);
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
isFirstUpdate = false;
|
|
1456
|
+
}, {
|
|
1457
|
+
rootMargin,
|
|
1458
|
+
threshold
|
|
1459
|
+
});
|
|
1460
|
+
io.observe(element);
|
|
1461
|
+
}
|
|
1462
|
+
refresh(true);
|
|
1463
|
+
return cleanup;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1415
1466
|
/**
|
|
1416
1467
|
* Automatically updates the position of the floating element when necessary.
|
|
1417
1468
|
* Should only be called when the floating element is mounted on the DOM or
|
|
@@ -1428,29 +1479,25 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1428
1479
|
ancestorScroll = true,
|
|
1429
1480
|
ancestorResize = true,
|
|
1430
1481
|
elementResize = true,
|
|
1482
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1431
1483
|
animationFrame = false
|
|
1432
1484
|
} = options;
|
|
1433
|
-
const
|
|
1485
|
+
const referenceEl = unwrapElement(reference);
|
|
1486
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1434
1487
|
ancestors.forEach(ancestor => {
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
ancestor.addEventListener('scroll', update, {
|
|
1439
|
-
passive: true
|
|
1440
|
-
});
|
|
1441
|
-
}
|
|
1488
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1489
|
+
passive: true
|
|
1490
|
+
});
|
|
1442
1491
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1443
1492
|
});
|
|
1444
|
-
|
|
1493
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1494
|
+
let resizeObserver = null;
|
|
1445
1495
|
if (elementResize) {
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
isElement(reference) && !animationFrame && observer.observe(reference);
|
|
1450
|
-
if (!isElement(reference) && reference.contextElement && !animationFrame) {
|
|
1451
|
-
observer.observe(reference.contextElement);
|
|
1496
|
+
resizeObserver = new ResizeObserver(update);
|
|
1497
|
+
if (referenceEl && !animationFrame) {
|
|
1498
|
+
resizeObserver.observe(referenceEl);
|
|
1452
1499
|
}
|
|
1453
|
-
|
|
1500
|
+
resizeObserver.observe(floating);
|
|
1454
1501
|
}
|
|
1455
1502
|
let frameId;
|
|
1456
1503
|
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
@@ -1467,13 +1514,13 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1467
1514
|
}
|
|
1468
1515
|
update();
|
|
1469
1516
|
return () => {
|
|
1470
|
-
var _observer;
|
|
1471
1517
|
ancestors.forEach(ancestor => {
|
|
1472
1518
|
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1473
1519
|
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1474
1520
|
});
|
|
1475
|
-
|
|
1476
|
-
|
|
1521
|
+
cleanupIo && cleanupIo();
|
|
1522
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1523
|
+
resizeObserver = null;
|
|
1477
1524
|
if (animationFrame) {
|
|
1478
1525
|
cancelAnimationFrame(frameId);
|
|
1479
1526
|
}
|
|
@@ -1522,35 +1569,116 @@ const config = {
|
|
|
1522
1569
|
};
|
|
1523
1570
|
|
|
1524
1571
|
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
1572
|
+
function isChrome109OrAbove() {
|
|
1573
|
+
const uaData = getUserAgentData();
|
|
1574
|
+
if (uaData?.brands) {
|
|
1575
|
+
return !!uaData.brands.find(({ brand, version }) => (brand === "Google Chrome" || brand === "Chromium") && Number(version) >= 109);
|
|
1576
|
+
}
|
|
1577
|
+
return !!navigator.userAgent.split(" ").find((ua) => {
|
|
1578
|
+
const [browser, version] = ua.split("/");
|
|
1579
|
+
return browser === "Chrome" && parseInt(version) >= 109;
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1525
1582
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
1526
|
-
function getUAData() {
|
|
1527
|
-
return navigator.userAgentData;
|
|
1528
|
-
}
|
|
1529
|
-
function getUAString() {
|
|
1530
|
-
const uaData = getUAData();
|
|
1531
|
-
return uaData?.brands
|
|
1532
|
-
? uaData.brands.map(({ brand, version }) => `${brand}/${version}`).join(" ")
|
|
1533
|
-
: navigator.userAgent;
|
|
1534
|
-
}
|
|
1535
|
-
function isChrome109OrAbove() {
|
|
1536
|
-
const uaData = getUAData();
|
|
1537
|
-
if (uaData?.brands) {
|
|
1538
|
-
return !!uaData.brands.find(({ brand, version }) => (brand === "Google Chrome" || brand === "Chromium") && Number(version) >= 109);
|
|
1539
|
-
}
|
|
1540
|
-
return !!navigator.userAgent.split(" ").find((ua) => {
|
|
1541
|
-
const [browser, version] = ua.split("/");
|
|
1542
|
-
return browser === "Chrome" && parseInt(version) >= 109;
|
|
1543
|
-
});
|
|
1544
|
-
}
|
|
1545
1583
|
if (Build.isBrowser &&
|
|
1546
1584
|
config.floatingUINonChromiumPositioningFix &&
|
|
1547
1585
|
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
1548
|
-
(/firefox|safari/i.test(
|
|
1586
|
+
(/firefox|safari/i.test(getUserAgentString()) || isChrome109OrAbove())) {
|
|
1549
1587
|
const { offsetParent } = await import('./composed-offset-position.esm.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(positionFloatingUI, repositionDebounceTimeout, {
|
|
1791
|
+
leading: true,
|
|
1792
|
+
maxWait: repositionDebounceTimeout
|
|
1793
|
+
});
|
|
1794
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1795
|
+
return debounced;
|
|
1655
1796
|
}
|
|
1656
|
-
const debouncedReposition = 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
|
*
|
|
@@ -1798,11 +1848,10 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1798
1848
|
if (!floatingEl || !referenceEl) {
|
|
1799
1849
|
return;
|
|
1800
1850
|
}
|
|
1801
|
-
|
|
1802
|
-
if (cleanup) {
|
|
1803
|
-
cleanup();
|
|
1804
|
-
}
|
|
1851
|
+
cleanupMap.get(component)?.();
|
|
1805
1852
|
cleanupMap.delete(component);
|
|
1853
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1854
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1806
1855
|
}
|
|
1807
1856
|
const visiblePointerSize = 4;
|
|
1808
1857
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
import { x as tabbable, y as focusable, z as isTabbable, A as isFocusable, k as focusElement, B as tabbableOptions } from './dom.js';
|
|
7
7
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
import { u as queryElementRoots, e as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
|
-
import { h } from '@stencil/core/internal/client';
|
|
7
|
+
import { h } from '@stencil/core/internal/client/index.js';
|
|
8
8
|
|
|
9
9
|
(function(prototype) {
|
|
10
10
|
if (typeof prototype.requestSubmit == "function") return
|
package/dist/components/fr-ch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
import { d as dayjs } from './calcite-input-time-picker.js';
|
|
7
7
|
|
package/dist/components/fr.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
import { d as dayjs } from './calcite-input-time-picker.js';
|
|
7
7
|
|
package/dist/components/graph.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
|
package/dist/components/guid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
|
8
8
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentLoaded } from './loadable.js';
|
|
9
9
|
import { c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
package/dist/components/he.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
import { d as dayjs } from './calcite-input-time-picker.js';
|
|
7
7
|
|
package/dist/components/hi.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
import { d as dayjs } from './calcite-input-time-picker.js';
|
|
7
7
|
|