@esri/calcite-components 1.5.0-next.29 → 1.5.0-next.30
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/assets/icon/slash16.json +1 -0
- package/dist/calcite/assets/icon/slash24.json +1 -0
- package/dist/calcite/assets/icon/slash32.json +1 -0
- package/dist/calcite/assets/icon/textButton16.json +1 -0
- package/dist/calcite/assets/icon/textButton24.json +1 -0
- package/dist/calcite/assets/icon/textButton32.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline16.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline24.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline32.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline16.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline24.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-57db5ea6.js → p-000d29bd.js} +2 -2
- package/dist/calcite/{p-cf93e187.js → p-0037a6ca.js} +2 -2
- package/dist/calcite/{p-3065b57d.entry.js → p-00602d17.entry.js} +2 -2
- package/dist/calcite/{p-5a88681b.js → p-00626f75.js} +2 -2
- package/dist/calcite/{p-6f8a639e.entry.js → p-0183faea.entry.js} +2 -2
- package/dist/calcite/{p-a26befe4.entry.js → p-03be9d6c.entry.js} +2 -2
- package/dist/calcite/{p-75f63092.js → p-08109758.js} +2 -2
- package/dist/calcite/{p-265b9bb0.js → p-08c3d5c8.js} +2 -2
- package/dist/calcite/{p-0108512c.entry.js → p-094ca70e.entry.js} +2 -2
- package/dist/calcite/{p-7647a36a.js → p-097bf178.js} +2 -2
- package/dist/calcite/{p-88f05bde.js → p-0d880812.js} +2 -2
- package/dist/calcite/{p-a84979a1.entry.js → p-0d9414ea.entry.js} +2 -2
- package/dist/calcite/{p-1bcbe302.js → p-0dd61b6d.js} +2 -2
- package/dist/calcite/{p-c7b62d61.js → p-13af51b7.js} +2 -2
- package/dist/calcite/{p-0628fcd6.js → p-14a9561a.js} +1 -1
- package/dist/calcite/{p-382ad53b.entry.js → p-14b8a0cd.entry.js} +2 -2
- package/dist/calcite/{p-0ed14c5b.entry.js → p-18247d27.entry.js} +2 -2
- package/dist/calcite/p-1d900c12.entry.js +6 -0
- package/dist/calcite/{p-ed10002e.js → p-1f941377.js} +2 -2
- package/dist/calcite/{p-5ed77238.entry.js → p-2065e315.entry.js} +2 -2
- package/dist/calcite/{p-9aedcfb8.entry.js → p-20ed15b1.entry.js} +2 -2
- package/dist/calcite/{p-a2002704.js → p-21240015.js} +2 -2
- package/dist/calcite/{p-8366090b.entry.js → p-217fc1b2.entry.js} +2 -2
- package/dist/calcite/{p-0b00881e.js → p-22622a0c.js} +2 -2
- package/dist/calcite/{p-72587483.entry.js → p-2398369e.entry.js} +2 -2
- package/dist/calcite/{p-2f6a5954.entry.js → p-24942192.entry.js} +2 -2
- package/dist/calcite/{p-2bb806cf.entry.js → p-268709fa.entry.js} +2 -2
- package/dist/calcite/{p-1aec6270.js → p-26fb102a.js} +1 -1
- package/dist/calcite/{p-56b2da96.js → p-270e4534.js} +2 -2
- package/dist/calcite/{p-77a57449.js → p-2819919d.js} +1 -1
- package/dist/calcite/{p-907b0568.entry.js → p-284100e7.entry.js} +2 -2
- package/dist/calcite/{p-95561bc9.js → p-2bc413e3.js} +2 -2
- package/dist/calcite/{p-28ff36e6.js → p-2f1bb715.js} +2 -2
- package/dist/calcite/{p-4c6956c3.js → p-2f8b7c3a.js} +2 -2
- package/dist/calcite/p-31170b18.js +6 -0
- package/dist/calcite/{p-1f5f2f3e.js → p-32f8f55d.js} +2 -2
- package/dist/calcite/{p-8554d98a.entry.js → p-35a061bd.entry.js} +2 -2
- package/dist/calcite/{p-348106af.js → p-362232eb.js} +2 -2
- package/dist/calcite/{p-69e8b8c0.entry.js → p-36979ef4.entry.js} +2 -2
- package/dist/calcite/p-380effe2.js +6 -0
- package/dist/calcite/{p-5c99e608.js → p-3afee966.js} +2 -2
- package/dist/calcite/{p-3271cdd3.entry.js → p-3b00eed3.entry.js} +2 -2
- package/dist/calcite/{p-71806b8f.entry.js → p-41c8b85e.entry.js} +2 -2
- package/dist/calcite/{p-486c794f.js → p-42b14663.js} +2 -2
- package/dist/calcite/{p-51218d0d.entry.js → p-449a0493.entry.js} +2 -2
- package/dist/calcite/{p-293bfb53.entry.js → p-4879aedc.entry.js} +2 -2
- package/dist/calcite/{p-cc11ba38.entry.js → p-48b83182.entry.js} +2 -2
- package/dist/calcite/p-4921bf2d.js +6 -0
- package/dist/calcite/p-494cac30.entry.js +6 -0
- package/dist/calcite/{p-d1f2bdd5.js → p-49b2568e.js} +2 -2
- package/dist/calcite/{p-7162a548.js → p-4d9e683c.js} +2 -2
- package/dist/calcite/{p-8f0d88c2.entry.js → p-4e0ed597.entry.js} +2 -2
- package/dist/calcite/{p-ce70a967.entry.js → p-52b6299c.entry.js} +2 -2
- package/dist/calcite/{p-46f3415d.entry.js → p-5426f049.entry.js} +2 -2
- package/dist/calcite/{p-65dd7a92.entry.js → p-558e7b02.entry.js} +2 -2
- package/dist/calcite/{p-66df4079.entry.js → p-58386b03.entry.js} +2 -2
- package/dist/calcite/{p-0da77ebf.js → p-584b1d14.js} +2 -2
- package/dist/calcite/{p-f4f90d08.js → p-593755af.js} +2 -2
- package/dist/calcite/p-59471611.js +6 -0
- package/dist/calcite/{p-13aa628d.js → p-5aca4b58.js} +2 -2
- package/dist/calcite/{p-e8531703.entry.js → p-5b9d09e9.entry.js} +2 -2
- package/dist/calcite/{p-dccc70bd.entry.js → p-5f6e0149.entry.js} +2 -2
- package/dist/calcite/{p-a15f7ad4.js → p-610130b9.js} +1 -1
- package/dist/calcite/{p-9d4ab308.entry.js → p-62215905.entry.js} +2 -2
- package/dist/calcite/{p-f232c67d.entry.js → p-6727a298.entry.js} +2 -2
- package/dist/calcite/p-677d964f.js +6 -0
- package/dist/calcite/{p-52dd65bd.entry.js → p-682a5a94.entry.js} +2 -2
- package/dist/calcite/p-692782ba.js +6 -0
- package/dist/calcite/{p-118b7964.entry.js → p-695f82a0.entry.js} +2 -2
- package/dist/calcite/{p-eddb8c72.js → p-6bd778f9.js} +2 -2
- package/dist/calcite/{p-b630d668.js → p-703a48e9.js} +2 -2
- package/dist/calcite/{p-a111fa7f.js → p-73516ea4.js} +2 -2
- package/dist/calcite/{p-01e4e6d3.js → p-74d34c08.js} +2 -2
- package/dist/calcite/{p-ae7f2944.js → p-75f664a8.js} +2 -2
- package/dist/calcite/p-792e5c49.js +6 -0
- package/dist/calcite/{p-ef1db4a6.js → p-79ce001e.js} +1 -1
- package/dist/calcite/p-7a810f89.entry.js +6 -0
- package/dist/calcite/{p-9569a2bd.entry.js → p-7b6181ef.entry.js} +2 -2
- package/dist/calcite/{p-1d244836.js → p-7e42936f.js} +2 -2
- package/dist/calcite/{p-bc2c5e48.js → p-80be845b.js} +2 -2
- package/dist/calcite/{p-770f61cc.js → p-81c85fe4.js} +2 -2
- package/dist/calcite/{p-80d3a133.entry.js → p-83f70b7e.entry.js} +2 -2
- package/dist/calcite/{p-91ae1541.js → p-84628821.js} +2 -2
- package/dist/calcite/{p-167313bf.js → p-8478cf31.js} +2 -2
- package/dist/calcite/{p-afeb3354.entry.js → p-8523520b.entry.js} +2 -2
- package/dist/calcite/{p-8e8b4d50.entry.js → p-86cd8a1c.entry.js} +2 -2
- package/dist/calcite/{p-e8c230f4.js → p-8887aab6.js} +2 -2
- package/dist/calcite/{p-4e68641b.entry.js → p-8be7cccd.entry.js} +2 -2
- package/dist/calcite/{p-53bcc996.js → p-8da6ae5f.js} +2 -2
- package/dist/calcite/{p-b9f9b89c.js → p-8e25423d.js} +2 -2
- package/dist/calcite/{p-fd7ded17.js → p-90fc837f.js} +2 -2
- package/dist/calcite/{p-37a4b627.entry.js → p-9226f1df.entry.js} +2 -2
- package/dist/calcite/{p-d1bb9905.entry.js → p-927607f7.entry.js} +2 -2
- package/dist/calcite/{p-3dea1329.entry.js → p-9298b70b.entry.js} +2 -2
- package/dist/calcite/{p-a1a5ba3e.js → p-945bfc39.js} +2 -2
- package/dist/calcite/{p-d7a2b522.js → p-947aa6a2.js} +2 -2
- package/dist/calcite/p-963018dc.entry.js +6 -0
- package/dist/calcite/{p-70bf919d.entry.js → p-99fa5d1d.entry.js} +2 -2
- package/dist/calcite/{p-86156f47.js → p-9a04dbcb.js} +1 -1
- package/dist/calcite/{p-7dc266c6.js → p-9a3aed00.js} +1 -1
- package/dist/calcite/{p-bfd36b19.entry.js → p-9d2863c1.entry.js} +2 -2
- package/dist/calcite/{p-9bcc049f.entry.js → p-9d5e4efd.entry.js} +2 -2
- package/dist/calcite/{p-2329a6a4.entry.js → p-a147dba6.entry.js} +2 -2
- package/dist/calcite/{p-ea739991.js → p-ab57251e.js} +1 -1
- package/dist/calcite/{p-65e2c934.entry.js → p-ac013faf.entry.js} +2 -2
- package/dist/calcite/p-ac3e0110.js +6 -0
- package/dist/calcite/{p-86ebc662.js → p-ad001cad.js} +2 -2
- package/dist/calcite/{p-8d3d6ac1.js → p-adbff7e0.js} +1 -1
- package/dist/calcite/{p-4b2c3dc9.js → p-b44d8b94.js} +2 -2
- package/dist/calcite/{p-3a10a3cb.js → p-b59221ac.js} +1 -1
- package/dist/calcite/{p-87b36ef4.entry.js → p-b5e6b16a.entry.js} +2 -2
- package/dist/calcite/{p-7443f2de.entry.js → p-b9bf9ea9.entry.js} +2 -2
- package/dist/calcite/{p-3c359597.js → p-bd2664fc.js} +2 -2
- package/dist/calcite/{p-88182c11.js → p-c04efa3a.js} +2 -2
- package/dist/calcite/{p-38171347.js → p-c04f1d04.js} +2 -2
- package/dist/calcite/{p-6b40ee2c.entry.js → p-c063b3f4.entry.js} +2 -2
- package/dist/calcite/{p-a97ec4ba.entry.js → p-c0f71e6a.entry.js} +2 -2
- package/dist/calcite/{p-5e22738f.entry.js → p-c2c3f2ed.entry.js} +2 -2
- package/dist/calcite/{p-f6ce81ac.entry.js → p-c3ec2d3c.entry.js} +2 -2
- package/dist/calcite/{p-fc586c76.js → p-c3ffc21b.js} +1 -1
- package/dist/calcite/{p-90f1b1b8.js → p-c432030c.js} +2 -2
- package/dist/calcite/{p-d26d942e.js → p-c47abc10.js} +2 -2
- package/dist/calcite/p-c5aa4321.js +6 -0
- package/dist/calcite/{p-9f28adc1.entry.js → p-d0486cd6.entry.js} +2 -2
- package/dist/calcite/{p-19ea0f0c.entry.js → p-d2a8dd10.entry.js} +2 -2
- package/dist/calcite/{p-b9d589ca.js → p-d2aededc.js} +1 -1
- package/dist/calcite/p-d4fd2604.js +6 -0
- package/dist/calcite/{p-3cdb5078.js → p-d9476212.js} +1 -1
- package/dist/calcite/{p-336ff0d8.js → p-df6c1f8c.js} +2 -2
- package/dist/calcite/{p-3627b228.entry.js → p-e2c524b6.entry.js} +2 -2
- package/dist/calcite/p-e3fe3b91.js +6 -0
- package/dist/calcite/{p-5b788d4e.entry.js → p-e64d9835.entry.js} +2 -2
- package/dist/calcite/{p-2c315575.js → p-eaf40a9c.js} +1 -1
- package/dist/calcite/{p-1899a5a2.js → p-eb7adb41.js} +2 -2
- package/dist/calcite/{p-66c995af.js → p-ee6fb186.js} +2 -2
- package/dist/calcite/{p-f0a957dc.js → p-eecd08c5.js} +2 -2
- package/dist/calcite/{p-9e013450.entry.js → p-f03f72fe.entry.js} +2 -2
- package/dist/calcite/{p-a3d2842c.js → p-f0fbd107.js} +2 -2
- package/dist/calcite/{p-bef5eaa5.js → p-f153c053.js} +1 -1
- package/dist/calcite/p-f2bc0cb9.entry.js +6 -0
- package/dist/calcite/{p-565dd24f.js → p-f2c99d7e.js} +2 -2
- package/dist/calcite/{p-1527136d.entry.js → p-f2ca96da.entry.js} +2 -2
- package/dist/calcite/{p-bcfbfcef.js → p-f5b5012e.js} +2 -2
- package/dist/calcite/{p-013c0cbc.js → p-f6043ec4.js} +2 -2
- package/dist/calcite/{p-2ab3d560.entry.js → p-f941aeec.entry.js} +2 -2
- package/dist/calcite/{p-161ef8d3.js → p-f9bbe8ab.js} +2 -2
- package/dist/calcite/p-f9c7b40b.js +6 -0
- package/dist/calcite/{p-63ed389a.entry.js → p-fa4528a1.entry.js} +2 -2
- package/dist/calcite/p-ff1b47ff.entry.js +6 -0
- package/dist/calcite/{p-bb890b43.entry.js → p-fff4fe75.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-3f530fdf.js → ExpandToggle-48a15f5f.js} +5 -5
- package/dist/cjs/{FloatingArrow-28f66148.js → FloatingArrow-e6c91542.js} +2 -2
- package/dist/cjs/{Heading-917edf3b.js → Heading-11fd6b53.js} +2 -2
- package/dist/cjs/{app-globals-816659fd.js → app-globals-ab8ba4e0.js} +2 -2
- package/dist/cjs/{ar-bd63c5e1.js → ar-6391e970.js} +15 -15
- package/dist/cjs/{array-d3eff199.js → array-73674173.js} +1 -1
- package/dist/cjs/{bg-e4d93c9a.js → bg-e22a0ed8.js} +15 -15
- package/dist/cjs/{bs-9b08d702.js → bs-25e0ab0c.js} +15 -15
- package/dist/cjs/{ca-921a7721.js → ca-0fbae1db.js} +15 -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 +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +45 -27
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -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 +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-94a60753.js → calcite-input-time-picker.calcite-time-picker-e380d138.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
- 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 +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -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 +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-b07527c8.js → conditionalSlot-0d741a32.js} +3 -3
- package/dist/cjs/{cs-cd26b509.js → cs-db4e50cd.js} +15 -15
- package/dist/cjs/{da-43742f30.js → da-e64aa0e7.js} +15 -15
- package/dist/cjs/{de-cbb933a7.js → de-44aac87e.js} +15 -15
- package/dist/cjs/{de-at-fadb9f70.js → de-at-285ea79f.js} +15 -15
- package/dist/cjs/{de-ch-1bb1df8b.js → de-ch-0e490d89.js} +15 -15
- package/dist/cjs/{debounce-4d6c9afe.js → debounce-7f3b05f6.js} +1 -1
- package/dist/cjs/{dom-0ea6f08c.js → dom-cf6c6918.js} +3 -3
- package/dist/cjs/{el-05f2541c.js → el-4350c85a.js} +15 -15
- package/dist/cjs/{en-au-85f8b9d4.js → en-au-da840bbe.js} +15 -15
- package/dist/cjs/{en-ca-717e3f7a.js → en-ca-8dc150b6.js} +15 -15
- package/dist/cjs/{en-gb-1592b741.js → en-gb-fc6815d0.js} +15 -15
- package/dist/cjs/{es-ab00f754.js → es-bfd9c570.js} +15 -15
- package/dist/cjs/{es-mx-6dfb47ea.js → es-mx-2e95f4aa.js} +15 -15
- package/dist/cjs/{et-eaccacde.js → et-68245b1d.js} +15 -15
- package/dist/cjs/{fi-ff7058d5.js → fi-680a07dd.js} +15 -15
- package/dist/cjs/{filter-76b037c5.js → filter-9ecf95ee.js} +2 -2
- package/dist/cjs/{floating-ui-74ae6dae.js → floating-ui-0cd61b9d.js} +240 -270
- package/dist/cjs/{focusTrapComponent-6d54685d.js → focusTrapComponent-4fa90cf5.js} +2 -2
- package/dist/cjs/{form-cd46f9c5.js → form-aa0ec6ff.js} +3 -3
- package/dist/cjs/{fr-f683f59b.js → fr-a532c73b.js} +15 -15
- package/dist/cjs/{fr-ch-42f99c9d.js → fr-ch-b76f7f8d.js} +15 -15
- package/dist/cjs/{guid-f08b8659.js → guid-5ff88f0e.js} +1 -1
- package/dist/cjs/{he-bf07119d.js → he-0e957b15.js} +15 -15
- package/dist/cjs/{hi-f0ca4455.js → hi-d29bef6a.js} +15 -15
- package/dist/cjs/{hr-f0f7caaa.js → hr-b6be0145.js} +15 -15
- package/dist/cjs/{hu-66993920.js → hu-7db595b2.js} +15 -15
- package/dist/cjs/{id-678b4282.js → id-9fb5c6a2.js} +15 -15
- package/dist/cjs/{index-2a05a2cb.js → index-02d18cd3.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-3a893b06.js → interactive-452dad34.js} +1 -1
- package/dist/cjs/{it-3ef527e7.js → it-2969cfa7.js} +15 -15
- package/dist/cjs/{it-ch-aff6d197.js → it-ch-16f75fd8.js} +15 -15
- package/dist/cjs/{ja-94312c44.js → ja-3b09f13f.js} +15 -15
- package/dist/cjs/{key-dc4dbc02.js → key-a2fd8f37.js} +1 -1
- package/dist/cjs/{ko-440f3808.js → ko-b1bf47cb.js} +15 -15
- package/dist/cjs/{label-70d01d63.js → label-8ad0abfc.js} +2 -2
- package/dist/cjs/{loadable-ce452fc6.js → loadable-643c79c8.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-5506027e.js → locale-07b8340c.js} +4 -4
- package/dist/cjs/{lt-2cd32d63.js → lt-459ef448.js} +15 -15
- package/dist/cjs/{lv-30659c2f.js → lv-794f5eae.js} +15 -15
- package/dist/cjs/{math-a8cb271b.js → math-833957a7.js} +1 -1
- package/dist/cjs/{mk-20e552df.js → mk-a530a3ae.js} +15 -15
- package/dist/cjs/{nb-89287af6.js → nb-4eac2bcb.js} +15 -15
- package/dist/cjs/{nl-4af3176b.js → nl-5983d4a3.js} +15 -15
- package/dist/cjs/{observers-9b27f2d6.js → observers-8097c8b8.js} +1 -1
- package/dist/cjs/{openCloseComponent-cdd867b4.js → openCloseComponent-66249e21.js} +2 -2
- package/dist/cjs/{pl-66f8763e.js → pl-4d28652c.js} +15 -15
- package/dist/cjs/{pt-br-0bd0261f.js → pt-br-9ec22485.js} +15 -15
- package/dist/cjs/{pt-42c80856.js → pt-c6c86d7a.js} +15 -15
- package/dist/cjs/{resources-28092003.js → resources-58f9ef13.js} +1 -1
- package/dist/cjs/{resources-91f63a2a.js → resources-7f0bc571.js} +1 -1
- package/dist/cjs/{resources-3a8580a7.js → resources-8f4fd904.js} +1 -1
- package/dist/cjs/{resources-5fa2815d.js → resources-97a2e34f.js} +5 -5
- package/dist/cjs/{resources-75c9ebe3.js → resources-d36278f6.js} +1 -1
- package/dist/cjs/{resources-7dd22803.js → resources-d9746ad5.js} +1 -1
- package/dist/cjs/{resources-39180e63.js → resources-e68f6ba1.js} +1 -1
- package/dist/cjs/{ro-b5792a66.js → ro-89fad4f8.js} +15 -15
- package/dist/cjs/{ru-62a8dddf.js → ru-65c2858f.js} +15 -15
- package/dist/cjs/{sk-e81b043a.js → sk-929a8211.js} +15 -15
- package/dist/cjs/{sl-a9d6ef26.js → sl-accfedeb.js} +15 -15
- package/dist/cjs/{sortableComponent-f08b3db0.js → sortableComponent-a2d6b760.js} +2 -2
- package/dist/cjs/{sr-4fa431ec.js → sr-e7ae9e38.js} +15 -15
- package/dist/cjs/{sv-98509f4e.js → sv-160225c4.js} +15 -15
- package/dist/cjs/{t9n-23cd831c.js → t9n-54f83756.js} +3 -3
- package/dist/cjs/{th-02505e6d.js → th-09094eb6.js} +15 -15
- package/dist/cjs/{throttle-eefb8f90.js → throttle-e96cd436.js} +2 -2
- package/dist/cjs/{tr-7e35c20b.js → tr-3f60c19b.js} +15 -15
- package/dist/cjs/{uk-edabe261.js → uk-a3f63618.js} +15 -15
- package/dist/cjs/{utils-6b02af08.js → utils-21f02515.js} +3 -3
- package/dist/cjs/{utils-00ce8c03.js → utils-b105370e.js} +1 -1
- package/dist/cjs/{vi-b4fd0f10.js → vi-981ff52c.js} +15 -15
- package/dist/cjs/{zh-cn-9895253b.js → zh-cn-19b06cb6.js} +15 -15
- package/dist/cjs/{zh-hk-7913c2a7.js → zh-hk-9ffcd775.js} +15 -15
- package/dist/cjs/{zh-tw-2527122f.js → zh-tw-4f3c4c1c.js} +15 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +6 -1
- package/dist/collection/components/color-picker/color-picker.js +30 -13
- package/dist/collection/components/color-picker/resources.js +2 -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 +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/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/assets/icon/slash16.json +1 -0
- package/dist/collection/components/icon/assets/icon/slash24.json +1 -0
- package/dist/collection/components/icon/assets/icon/slash32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline32.json +1 -0
- 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 +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- 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 +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- 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 +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-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 +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.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 +1 -1
- 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 +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- 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 +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- 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 +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.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.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/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 +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/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 +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +31 -14
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +3 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +238 -268
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-da802f10.js → ExpandToggle-c7aae632.js} +5 -5
- package/dist/esm/{FloatingArrow-54d9152a.js → FloatingArrow-07a1cb99.js} +2 -2
- package/dist/esm/{Heading-8e143f1c.js → Heading-bf28e844.js} +2 -2
- package/dist/esm/{app-globals-2db55403.js → app-globals-674cc932.js} +2 -2
- package/dist/esm/{ar-8e3b5b28.js → ar-fcb22673.js} +15 -15
- package/dist/esm/{array-75b3366c.js → array-a4f47fff.js} +1 -1
- package/dist/esm/{bg-07578f5b.js → bg-494c668d.js} +15 -15
- package/dist/esm/{bs-7efcb4fd.js → bs-33fa21a3.js} +15 -15
- package/dist/esm/{ca-38fb6d90.js → ca-2fb83990.js} +15 -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 +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +45 -27
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -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 +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-09c17d42.js → calcite-input-time-picker.calcite-time-picker-f9014cd1.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +13 -13
- 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 +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -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 +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-110d16cf.js → conditionalSlot-b7a53e5b.js} +3 -3
- package/dist/esm/{cs-ee94d8c8.js → cs-2e3334fb.js} +15 -15
- package/dist/esm/{da-c41b24cb.js → da-6b332d3b.js} +15 -15
- package/dist/esm/{de-at-5e3cd9ec.js → de-at-bb8ca457.js} +15 -15
- package/dist/esm/{de-630a6c5d.js → de-bf72abe6.js} +15 -15
- package/dist/esm/{de-ch-7628b825.js → de-ch-f3c22d93.js} +15 -15
- package/dist/esm/{debounce-d398a554.js → debounce-2391db30.js} +1 -1
- package/dist/esm/{dom-351b524b.js → dom-87294e89.js} +3 -3
- package/dist/esm/{el-ba892d5c.js → el-1a3ba6f3.js} +15 -15
- package/dist/esm/{en-au-798b8db9.js → en-au-6694f856.js} +15 -15
- package/dist/esm/{en-ca-e90095ee.js → en-ca-f526ca03.js} +15 -15
- package/dist/esm/{en-gb-6c3b47ab.js → en-gb-269e2e1b.js} +15 -15
- package/dist/esm/{es-ae0ea7fa.js → es-11761568.js} +15 -15
- package/dist/esm/{es-mx-eb63ec3e.js → es-mx-a62e5bfa.js} +15 -15
- package/dist/esm/{et-a61a329a.js → et-7a5f47d0.js} +15 -15
- package/dist/esm/{fi-36da233c.js → fi-c1c997c4.js} +15 -15
- package/dist/esm/{filter-ebb27224.js → filter-e1154c81.js} +2 -2
- package/dist/esm/{floating-ui-da28a575.js → floating-ui-7b8f1ac0.js} +240 -270
- package/dist/esm/{focusTrapComponent-1d3655a1.js → focusTrapComponent-b9d5b6f2.js} +2 -2
- package/dist/esm/{form-4448c518.js → form-366d70fc.js} +3 -3
- package/dist/esm/{fr-5a402230.js → fr-75819261.js} +15 -15
- package/dist/esm/{fr-ch-7396c350.js → fr-ch-3ce9a9ae.js} +15 -15
- package/dist/esm/{guid-bb71dc53.js → guid-ee7b8693.js} +1 -1
- package/dist/esm/{he-cb6f6355.js → he-f30729b1.js} +15 -15
- package/dist/esm/{hi-74379a6d.js → hi-cc4b55fb.js} +15 -15
- package/dist/esm/{hr-b09f03a8.js → hr-67ef3788.js} +15 -15
- package/dist/esm/{hu-5232f2bd.js → hu-05a3363f.js} +15 -15
- package/dist/esm/{id-7490437a.js → id-701472d4.js} +15 -15
- package/dist/esm/{index-5ec40dea.js → index-b17a9bda.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-ba39e8fc.js → interactive-e9ec13a7.js} +1 -1
- package/dist/esm/{it-dbbf2faf.js → it-92e73803.js} +15 -15
- package/dist/esm/{it-ch-4abed138.js → it-ch-f763c1f1.js} +15 -15
- package/dist/esm/{ja-edb266bb.js → ja-c26e94ad.js} +15 -15
- package/dist/esm/{key-2470a3b9.js → key-e09cd9ee.js} +1 -1
- package/dist/esm/{ko-18582c9b.js → ko-f2b626d1.js} +15 -15
- package/dist/esm/{label-bc3351df.js → label-1e51eb5e.js} +2 -2
- package/dist/esm/{loadable-1bb86907.js → loadable-ed22aebc.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-327d723f.js → locale-3c768385.js} +4 -4
- package/dist/esm/{lt-87779e1c.js → lt-3017275b.js} +15 -15
- package/dist/esm/{lv-d244dc0b.js → lv-a10b2223.js} +15 -15
- package/dist/esm/{math-cddbccdb.js → math-275545bd.js} +1 -1
- package/dist/esm/{mk-ef612838.js → mk-45b30a2f.js} +15 -15
- package/dist/esm/{nb-c26aaa57.js → nb-11765cce.js} +15 -15
- package/dist/esm/{nl-8f90afba.js → nl-fc0f4de8.js} +15 -15
- package/dist/esm/{observers-1f61426c.js → observers-47cbc395.js} +1 -1
- package/dist/esm/{openCloseComponent-b082932c.js → openCloseComponent-49ac48da.js} +2 -2
- package/dist/esm/{pl-8b5333eb.js → pl-63833f5c.js} +15 -15
- package/dist/esm/{pt-300089b1.js → pt-846b5115.js} +15 -15
- package/dist/esm/{pt-br-dcdb496d.js → pt-br-cb4a0461.js} +15 -15
- package/dist/esm/{resources-9b991d40.js → resources-2d560141.js} +1 -1
- package/dist/esm/{resources-b6daac8f.js → resources-4b0718da.js} +1 -1
- package/dist/esm/{resources-1aadc2b7.js → resources-4de005b0.js} +1 -1
- package/dist/esm/{resources-c5f1c584.js → resources-5ff8a8ab.js} +5 -5
- package/dist/esm/{resources-248f6fe0.js → resources-a4510d62.js} +1 -1
- package/dist/esm/{resources-92bcfbe5.js → resources-b624086b.js} +1 -1
- package/dist/esm/{resources-ae95b315.js → resources-cdbdb402.js} +1 -1
- package/dist/esm/{ro-676df76d.js → ro-916f9a8e.js} +15 -15
- package/dist/esm/{ru-5cc5f1ee.js → ru-da73925d.js} +15 -15
- package/dist/esm/{sk-61ec4e3a.js → sk-394735cb.js} +15 -15
- package/dist/esm/{sl-5dacd133.js → sl-70d5bf98.js} +15 -15
- package/dist/esm/{sortableComponent-8bce7d47.js → sortableComponent-1f41e305.js} +2 -2
- package/dist/esm/{sr-97fc6389.js → sr-5b734113.js} +15 -15
- package/dist/esm/{sv-80ae2ac3.js → sv-b0f2b7cd.js} +15 -15
- package/dist/esm/{t9n-ce0cbcd4.js → t9n-7488c8ad.js} +3 -3
- package/dist/esm/{th-695e07b0.js → th-fae7b531.js} +15 -15
- package/dist/esm/{throttle-9d2a093c.js → throttle-553c7b68.js} +2 -2
- package/dist/esm/{tr-752d98ed.js → tr-47792e2a.js} +15 -15
- package/dist/esm/{uk-b5ddb9c7.js → uk-a068734d.js} +15 -15
- package/dist/esm/{utils-2508b4ad.js → utils-7457baf8.js} +1 -1
- package/dist/esm/{utils-0d458c16.js → utils-c135049e.js} +3 -3
- package/dist/esm/{vi-b16b6165.js → vi-6ff31ca2.js} +15 -15
- package/dist/esm/{zh-cn-adc76577.js → zh-cn-370d0fbf.js} +15 -15
- package/dist/esm/{zh-hk-b1d5bc10.js → zh-hk-1ee67b96.js} +15 -15
- package/dist/esm/{zh-tw-7d4df045.js → zh-tw-ac68517f.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -0
- package/dist/types/components/color-picker/resources.d.ts +1 -0
- package/hydrate/index.js +272 -284
- package/package.json +4 -4
- package/dist/calcite/p-2d2bc0f6.js +0 -6
- package/dist/calcite/p-344d62ab.js +0 -6
- package/dist/calcite/p-3eafa8b8.entry.js +0 -6
- package/dist/calcite/p-4b734df8.js +0 -6
- package/dist/calcite/p-5b6a10b2.entry.js +0 -6
- package/dist/calcite/p-5cf74ef4.js +0 -6
- package/dist/calcite/p-66a2792a.js +0 -6
- package/dist/calcite/p-7697420c.js +0 -6
- package/dist/calcite/p-8a376922.entry.js +0 -6
- package/dist/calcite/p-94b00337.entry.js +0 -6
- package/dist/calcite/p-a6660211.js +0 -6
- package/dist/calcite/p-a7f90b8f.js +0 -6
- package/dist/calcite/p-b1746859.entry.js +0 -6
- package/dist/calcite/p-baed4942.js +0 -6
- package/dist/calcite/p-c1e4f34f.js +0 -6
- package/dist/calcite/p-cd6dd3be.entry.js +0 -6
- package/dist/calcite/p-d16e2de7.js +0 -6
- package/dist/calcite/p-fc51bc8e.js +0 -6
|
@@ -1,27 +1,134 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.30
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const debounce = require('./debounce-
|
|
8
|
+
const dom = require('./dom-cf6c6918.js');
|
|
9
|
+
const debounce = require('./debounce-7f3b05f6.js');
|
|
10
10
|
|
|
11
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
12
|
+
const alignments = ['start', 'end'];
|
|
13
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
14
|
+
const min = Math.min;
|
|
15
|
+
const max = Math.max;
|
|
16
|
+
const round = Math.round;
|
|
17
|
+
const floor = Math.floor;
|
|
18
|
+
const createCoords = v => ({
|
|
19
|
+
x: v,
|
|
20
|
+
y: v
|
|
21
|
+
});
|
|
22
|
+
const oppositeSideMap = {
|
|
23
|
+
left: 'right',
|
|
24
|
+
right: 'left',
|
|
25
|
+
bottom: 'top',
|
|
26
|
+
top: 'bottom'
|
|
27
|
+
};
|
|
28
|
+
const oppositeAlignmentMap = {
|
|
29
|
+
start: 'end',
|
|
30
|
+
end: 'start'
|
|
31
|
+
};
|
|
32
|
+
function clamp(start, value, end) {
|
|
33
|
+
return max(start, min(value, end));
|
|
34
|
+
}
|
|
35
|
+
function evaluate(value, param) {
|
|
36
|
+
return typeof value === 'function' ? value(param) : value;
|
|
37
|
+
}
|
|
38
|
+
function getSide(placement) {
|
|
39
|
+
return placement.split('-')[0];
|
|
40
|
+
}
|
|
11
41
|
function getAlignment(placement) {
|
|
12
42
|
return placement.split('-')[1];
|
|
13
43
|
}
|
|
14
|
-
|
|
15
|
-
|
|
44
|
+
function getOppositeAxis(axis) {
|
|
45
|
+
return axis === 'x' ? 'y' : 'x';
|
|
46
|
+
}
|
|
47
|
+
function getAxisLength(axis) {
|
|
16
48
|
return axis === 'y' ? 'height' : 'width';
|
|
17
49
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return placement.split('-')[0];
|
|
50
|
+
function getSideAxis(placement) {
|
|
51
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
21
52
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
53
|
+
function getAlignmentAxis(placement) {
|
|
54
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
55
|
+
}
|
|
56
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
57
|
+
if (rtl === void 0) {
|
|
58
|
+
rtl = false;
|
|
59
|
+
}
|
|
60
|
+
const alignment = getAlignment(placement);
|
|
61
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
62
|
+
const length = getAxisLength(alignmentAxis);
|
|
63
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
64
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
65
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
66
|
+
}
|
|
67
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
68
|
+
}
|
|
69
|
+
function getExpandedPlacements(placement) {
|
|
70
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
71
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
72
|
+
}
|
|
73
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
74
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
75
|
+
}
|
|
76
|
+
function getSideList(side, isStart, rtl) {
|
|
77
|
+
const lr = ['left', 'right'];
|
|
78
|
+
const rl = ['right', 'left'];
|
|
79
|
+
const tb = ['top', 'bottom'];
|
|
80
|
+
const bt = ['bottom', 'top'];
|
|
81
|
+
switch (side) {
|
|
82
|
+
case 'top':
|
|
83
|
+
case 'bottom':
|
|
84
|
+
if (rtl) return isStart ? rl : lr;
|
|
85
|
+
return isStart ? lr : rl;
|
|
86
|
+
case 'left':
|
|
87
|
+
case 'right':
|
|
88
|
+
return isStart ? tb : bt;
|
|
89
|
+
default:
|
|
90
|
+
return [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
94
|
+
const alignment = getAlignment(placement);
|
|
95
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
96
|
+
if (alignment) {
|
|
97
|
+
list = list.map(side => side + "-" + alignment);
|
|
98
|
+
if (flipAlignment) {
|
|
99
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return list;
|
|
103
|
+
}
|
|
104
|
+
function getOppositePlacement(placement) {
|
|
105
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
106
|
+
}
|
|
107
|
+
function expandPaddingObject(padding) {
|
|
108
|
+
return {
|
|
109
|
+
top: 0,
|
|
110
|
+
right: 0,
|
|
111
|
+
bottom: 0,
|
|
112
|
+
left: 0,
|
|
113
|
+
...padding
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function getPaddingObject(padding) {
|
|
117
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
118
|
+
top: padding,
|
|
119
|
+
right: padding,
|
|
120
|
+
bottom: padding,
|
|
121
|
+
left: padding
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function rectToClientRect(rect) {
|
|
125
|
+
return {
|
|
126
|
+
...rect,
|
|
127
|
+
top: rect.y,
|
|
128
|
+
left: rect.x,
|
|
129
|
+
right: rect.x + rect.width,
|
|
130
|
+
bottom: rect.y + rect.height
|
|
131
|
+
};
|
|
25
132
|
}
|
|
26
133
|
|
|
27
134
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -29,13 +136,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
29
136
|
reference,
|
|
30
137
|
floating
|
|
31
138
|
} = _ref;
|
|
139
|
+
const sideAxis = getSideAxis(placement);
|
|
140
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
141
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
142
|
+
const side = getSide(placement);
|
|
143
|
+
const isVertical = sideAxis === 'y';
|
|
32
144
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
33
145
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
34
|
-
const
|
|
35
|
-
const length = getLengthFromAxis(mainAxis);
|
|
36
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
37
|
-
const side = getSide(placement);
|
|
38
|
-
const isVertical = mainAxis === 'x';
|
|
146
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
39
147
|
let coords;
|
|
40
148
|
switch (side) {
|
|
41
149
|
case 'top':
|
|
@@ -70,10 +178,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
70
178
|
}
|
|
71
179
|
switch (getAlignment(placement)) {
|
|
72
180
|
case 'start':
|
|
73
|
-
coords[
|
|
181
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
74
182
|
break;
|
|
75
183
|
case 'end':
|
|
76
|
-
coords[
|
|
184
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
77
185
|
break;
|
|
78
186
|
}
|
|
79
187
|
return coords;
|
|
@@ -171,39 +279,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
171
279
|
};
|
|
172
280
|
};
|
|
173
281
|
|
|
174
|
-
function evaluate(value, param) {
|
|
175
|
-
return typeof value === 'function' ? value(param) : value;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
function expandPaddingObject(padding) {
|
|
179
|
-
return {
|
|
180
|
-
top: 0,
|
|
181
|
-
right: 0,
|
|
182
|
-
bottom: 0,
|
|
183
|
-
left: 0,
|
|
184
|
-
...padding
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
function getSideObjectFromPadding(padding) {
|
|
189
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
190
|
-
top: padding,
|
|
191
|
-
right: padding,
|
|
192
|
-
bottom: padding,
|
|
193
|
-
left: padding
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
function rectToClientRect(rect) {
|
|
198
|
-
return {
|
|
199
|
-
...rect,
|
|
200
|
-
top: rect.y,
|
|
201
|
-
left: rect.x,
|
|
202
|
-
right: rect.x + rect.width,
|
|
203
|
-
bottom: rect.y + rect.height
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
|
|
207
282
|
/**
|
|
208
283
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
209
284
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -232,7 +307,7 @@ async function detectOverflow(state, options) {
|
|
|
232
307
|
altBoundary = false,
|
|
233
308
|
padding = 0
|
|
234
309
|
} = evaluate(options, state);
|
|
235
|
-
const paddingObject =
|
|
310
|
+
const paddingObject = getPaddingObject(padding);
|
|
236
311
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
237
312
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
238
313
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -267,13 +342,6 @@ async function detectOverflow(state, options) {
|
|
|
267
342
|
};
|
|
268
343
|
}
|
|
269
344
|
|
|
270
|
-
const min$1 = Math.min;
|
|
271
|
-
const max$1 = Math.max;
|
|
272
|
-
|
|
273
|
-
function within(min$1$1, value, max$1$1) {
|
|
274
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
275
|
-
}
|
|
276
|
-
|
|
277
345
|
/**
|
|
278
346
|
* Provides data to position an inner element of the floating element so that it
|
|
279
347
|
* appears centered to the reference element.
|
|
@@ -299,13 +367,13 @@ const arrow = options => ({
|
|
|
299
367
|
if (element == null) {
|
|
300
368
|
return {};
|
|
301
369
|
}
|
|
302
|
-
const paddingObject =
|
|
370
|
+
const paddingObject = getPaddingObject(padding);
|
|
303
371
|
const coords = {
|
|
304
372
|
x,
|
|
305
373
|
y
|
|
306
374
|
};
|
|
307
|
-
const axis =
|
|
308
|
-
const length =
|
|
375
|
+
const axis = getAlignmentAxis(placement);
|
|
376
|
+
const length = getAxisLength(axis);
|
|
309
377
|
const arrowDimensions = await platform.getDimensions(element);
|
|
310
378
|
const isYAxis = axis === 'y';
|
|
311
379
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -325,22 +393,22 @@ const arrow = options => ({
|
|
|
325
393
|
// If the padding is large enough that it causes the arrow to no longer be
|
|
326
394
|
// centered, modify the padding so that it is centered.
|
|
327
395
|
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
328
|
-
const minPadding = min
|
|
329
|
-
const maxPadding = min
|
|
396
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
397
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
330
398
|
|
|
331
399
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
332
400
|
// point is outside the floating element's bounds.
|
|
333
|
-
const min$1
|
|
401
|
+
const min$1 = minPadding;
|
|
334
402
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
335
403
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
336
|
-
const offset =
|
|
404
|
+
const offset = clamp(min$1, center, max);
|
|
337
405
|
|
|
338
406
|
// If the reference is small enough that the arrow's padding causes it to
|
|
339
407
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
340
408
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
341
409
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
342
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1
|
|
343
|
-
const alignmentOffset = shouldAddOffset ? center < min$1
|
|
410
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
411
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
344
412
|
return {
|
|
345
413
|
[axis]: coords[axis] - alignmentOffset,
|
|
346
414
|
data: {
|
|
@@ -351,44 +419,6 @@ const arrow = options => ({
|
|
|
351
419
|
}
|
|
352
420
|
});
|
|
353
421
|
|
|
354
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
355
|
-
const allPlacements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-start", side + "-end"), []);
|
|
356
|
-
|
|
357
|
-
const oppositeSideMap = {
|
|
358
|
-
left: 'right',
|
|
359
|
-
right: 'left',
|
|
360
|
-
bottom: 'top',
|
|
361
|
-
top: 'bottom'
|
|
362
|
-
};
|
|
363
|
-
function getOppositePlacement(placement) {
|
|
364
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
368
|
-
if (rtl === void 0) {
|
|
369
|
-
rtl = false;
|
|
370
|
-
}
|
|
371
|
-
const alignment = getAlignment(placement);
|
|
372
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
373
|
-
const length = getLengthFromAxis(mainAxis);
|
|
374
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
375
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
376
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
377
|
-
}
|
|
378
|
-
return {
|
|
379
|
-
main: mainAlignmentSide,
|
|
380
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
const oppositeAlignmentMap = {
|
|
385
|
-
start: 'end',
|
|
386
|
-
end: 'start'
|
|
387
|
-
};
|
|
388
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
389
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
422
|
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
393
423
|
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
394
424
|
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
@@ -423,36 +453,33 @@ const autoPlacement = function (options) {
|
|
|
423
453
|
const {
|
|
424
454
|
crossAxis = false,
|
|
425
455
|
alignment,
|
|
426
|
-
allowedPlacements =
|
|
456
|
+
allowedPlacements = placements,
|
|
427
457
|
autoAlignment = true,
|
|
428
458
|
...detectOverflowOptions
|
|
429
459
|
} = evaluate(options, state);
|
|
430
|
-
const placements = alignment !== undefined || allowedPlacements ===
|
|
460
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
431
461
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
432
462
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
433
|
-
const currentPlacement = placements[currentIndex];
|
|
463
|
+
const currentPlacement = placements$1[currentIndex];
|
|
434
464
|
if (currentPlacement == null) {
|
|
435
465
|
return {};
|
|
436
466
|
}
|
|
437
|
-
const
|
|
438
|
-
main,
|
|
439
|
-
cross
|
|
440
|
-
} = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
467
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
441
468
|
|
|
442
469
|
// Make `computeCoords` start from the right place.
|
|
443
470
|
if (placement !== currentPlacement) {
|
|
444
471
|
return {
|
|
445
472
|
reset: {
|
|
446
|
-
placement: placements[0]
|
|
473
|
+
placement: placements$1[0]
|
|
447
474
|
}
|
|
448
475
|
};
|
|
449
476
|
}
|
|
450
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[
|
|
477
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
451
478
|
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
452
479
|
placement: currentPlacement,
|
|
453
480
|
overflows: currentOverflows
|
|
454
481
|
}];
|
|
455
|
-
const nextPlacement = placements[currentIndex + 1];
|
|
482
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
456
483
|
|
|
457
484
|
// There are more placements to check.
|
|
458
485
|
if (nextPlacement) {
|
|
@@ -495,40 +522,6 @@ const autoPlacement = function (options) {
|
|
|
495
522
|
};
|
|
496
523
|
};
|
|
497
524
|
|
|
498
|
-
function getExpandedPlacements(placement) {
|
|
499
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
500
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
function getSideList(side, isStart, rtl) {
|
|
504
|
-
const lr = ['left', 'right'];
|
|
505
|
-
const rl = ['right', 'left'];
|
|
506
|
-
const tb = ['top', 'bottom'];
|
|
507
|
-
const bt = ['bottom', 'top'];
|
|
508
|
-
switch (side) {
|
|
509
|
-
case 'top':
|
|
510
|
-
case 'bottom':
|
|
511
|
-
if (rtl) return isStart ? rl : lr;
|
|
512
|
-
return isStart ? lr : rl;
|
|
513
|
-
case 'left':
|
|
514
|
-
case 'right':
|
|
515
|
-
return isStart ? tb : bt;
|
|
516
|
-
default:
|
|
517
|
-
return [];
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
521
|
-
const alignment = getAlignment(placement);
|
|
522
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
523
|
-
if (alignment) {
|
|
524
|
-
list = list.map(side => side + "-" + alignment);
|
|
525
|
-
if (flipAlignment) {
|
|
526
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
return list;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
525
|
/**
|
|
533
526
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
534
527
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -576,11 +569,8 @@ const flip = function (options) {
|
|
|
576
569
|
overflows.push(overflow[side]);
|
|
577
570
|
}
|
|
578
571
|
if (checkCrossAxis) {
|
|
579
|
-
const
|
|
580
|
-
|
|
581
|
-
cross
|
|
582
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
583
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
572
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
573
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
584
574
|
}
|
|
585
575
|
overflowsData = [...overflowsData, {
|
|
586
576
|
placement,
|
|
@@ -708,6 +698,8 @@ const hide = function (options) {
|
|
|
708
698
|
};
|
|
709
699
|
};
|
|
710
700
|
|
|
701
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
702
|
+
// Derivable.
|
|
711
703
|
async function convertValueToCoords(state, options) {
|
|
712
704
|
const {
|
|
713
705
|
placement,
|
|
@@ -717,7 +709,7 @@ async function convertValueToCoords(state, options) {
|
|
|
717
709
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
718
710
|
const side = getSide(placement);
|
|
719
711
|
const alignment = getAlignment(placement);
|
|
720
|
-
const isVertical =
|
|
712
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
721
713
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
722
714
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
723
715
|
const rawValue = evaluate(options, state);
|
|
@@ -778,10 +770,6 @@ const offset = function (options) {
|
|
|
778
770
|
};
|
|
779
771
|
};
|
|
780
772
|
|
|
781
|
-
function getCrossAxis(axis) {
|
|
782
|
-
return axis === 'x' ? 'y' : 'x';
|
|
783
|
-
}
|
|
784
|
-
|
|
785
773
|
/**
|
|
786
774
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
787
775
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -822,8 +810,8 @@ const shift = function (options) {
|
|
|
822
810
|
y
|
|
823
811
|
};
|
|
824
812
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
825
|
-
const
|
|
826
|
-
const
|
|
813
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
814
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
827
815
|
let mainAxisCoord = coords[mainAxis];
|
|
828
816
|
let crossAxisCoord = coords[crossAxis];
|
|
829
817
|
if (checkMainAxis) {
|
|
@@ -831,14 +819,14 @@ const shift = function (options) {
|
|
|
831
819
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
832
820
|
const min = mainAxisCoord + overflow[minSide];
|
|
833
821
|
const max = mainAxisCoord - overflow[maxSide];
|
|
834
|
-
mainAxisCoord =
|
|
822
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
835
823
|
}
|
|
836
824
|
if (checkCrossAxis) {
|
|
837
825
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
838
826
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
839
827
|
const min = crossAxisCoord + overflow[minSide];
|
|
840
828
|
const max = crossAxisCoord - overflow[maxSide];
|
|
841
|
-
crossAxisCoord =
|
|
829
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
842
830
|
}
|
|
843
831
|
const limitedCoords = limiter.fn({
|
|
844
832
|
...state,
|
|
@@ -856,18 +844,6 @@ const shift = function (options) {
|
|
|
856
844
|
};
|
|
857
845
|
};
|
|
858
846
|
|
|
859
|
-
function getWindow(node) {
|
|
860
|
-
var _node$ownerDocument;
|
|
861
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
function getComputedStyle$1(element) {
|
|
865
|
-
return getWindow(element).getComputedStyle(element);
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
function isNode(value) {
|
|
869
|
-
return value instanceof getWindow(value).Node;
|
|
870
|
-
}
|
|
871
847
|
function getNodeName(node) {
|
|
872
848
|
if (isNode(node)) {
|
|
873
849
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -877,16 +853,29 @@ function getNodeName(node) {
|
|
|
877
853
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
878
854
|
return '#document';
|
|
879
855
|
}
|
|
880
|
-
|
|
856
|
+
function getWindow(node) {
|
|
857
|
+
var _node$ownerDocument;
|
|
858
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
859
|
+
}
|
|
860
|
+
function getDocumentElement(node) {
|
|
861
|
+
var _ref;
|
|
862
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
863
|
+
}
|
|
864
|
+
function isNode(value) {
|
|
865
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
866
|
+
}
|
|
867
|
+
function isElement(value) {
|
|
868
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
869
|
+
}
|
|
881
870
|
function isHTMLElement(value) {
|
|
882
871
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
883
872
|
}
|
|
884
|
-
function isShadowRoot(
|
|
873
|
+
function isShadowRoot(value) {
|
|
885
874
|
// Browsers without `ShadowRoot` support.
|
|
886
875
|
if (typeof ShadowRoot === 'undefined') {
|
|
887
876
|
return false;
|
|
888
877
|
}
|
|
889
|
-
return
|
|
878
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
890
879
|
}
|
|
891
880
|
function isOverflowElement(element) {
|
|
892
881
|
const {
|
|
@@ -901,28 +890,83 @@ function isTableElement(element) {
|
|
|
901
890
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
902
891
|
}
|
|
903
892
|
function isContainingBlock(element) {
|
|
904
|
-
const
|
|
893
|
+
const webkit = isWebKit();
|
|
905
894
|
const css = getComputedStyle$1(element);
|
|
906
895
|
|
|
907
896
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
908
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !
|
|
897
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
898
|
+
}
|
|
899
|
+
function getContainingBlock(element) {
|
|
900
|
+
let currentNode = getParentNode(element);
|
|
901
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
902
|
+
if (isContainingBlock(currentNode)) {
|
|
903
|
+
return currentNode;
|
|
904
|
+
} else {
|
|
905
|
+
currentNode = getParentNode(currentNode);
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return null;
|
|
909
909
|
}
|
|
910
|
-
function
|
|
910
|
+
function isWebKit() {
|
|
911
911
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
912
912
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
913
913
|
}
|
|
914
914
|
function isLastTraversableNode(node) {
|
|
915
915
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
916
916
|
}
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
}
|
|
917
|
+
function getComputedStyle$1(element) {
|
|
918
|
+
return getWindow(element).getComputedStyle(element);
|
|
919
|
+
}
|
|
920
|
+
function getNodeScroll(element) {
|
|
921
|
+
if (isElement(element)) {
|
|
922
|
+
return {
|
|
923
|
+
scrollLeft: element.scrollLeft,
|
|
924
|
+
scrollTop: element.scrollTop
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
return {
|
|
928
|
+
scrollLeft: element.pageXOffset,
|
|
929
|
+
scrollTop: element.pageYOffset
|
|
930
|
+
};
|
|
931
|
+
}
|
|
932
|
+
function getParentNode(node) {
|
|
933
|
+
if (getNodeName(node) === 'html') {
|
|
934
|
+
return node;
|
|
935
|
+
}
|
|
936
|
+
const result =
|
|
937
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
938
|
+
node.assignedSlot ||
|
|
939
|
+
// DOM Element detected.
|
|
940
|
+
node.parentNode ||
|
|
941
|
+
// ShadowRoot detected.
|
|
942
|
+
isShadowRoot(node) && node.host ||
|
|
943
|
+
// Fallback.
|
|
944
|
+
getDocumentElement(node);
|
|
945
|
+
return isShadowRoot(result) ? result.host : result;
|
|
946
|
+
}
|
|
947
|
+
function getNearestOverflowAncestor(node) {
|
|
948
|
+
const parentNode = getParentNode(node);
|
|
949
|
+
if (isLastTraversableNode(parentNode)) {
|
|
950
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
951
|
+
}
|
|
952
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
953
|
+
return parentNode;
|
|
954
|
+
}
|
|
955
|
+
return getNearestOverflowAncestor(parentNode);
|
|
956
|
+
}
|
|
957
|
+
function getOverflowAncestors(node, list) {
|
|
958
|
+
var _node$ownerDocument2;
|
|
959
|
+
if (list === void 0) {
|
|
960
|
+
list = [];
|
|
961
|
+
}
|
|
962
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
963
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
964
|
+
const win = getWindow(scrollableAncestor);
|
|
965
|
+
if (isBody) {
|
|
966
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
967
|
+
}
|
|
968
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
969
|
+
}
|
|
926
970
|
|
|
927
971
|
function getCssDimensions(element) {
|
|
928
972
|
const css = getComputedStyle$1(element);
|
|
@@ -945,10 +989,6 @@ function getCssDimensions(element) {
|
|
|
945
989
|
};
|
|
946
990
|
}
|
|
947
991
|
|
|
948
|
-
function isElement(value) {
|
|
949
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
992
|
function unwrapElement(element) {
|
|
953
993
|
return !isElement(element) ? element.contextElement : element;
|
|
954
994
|
}
|
|
@@ -984,7 +1024,7 @@ function getScale(element) {
|
|
|
984
1024
|
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
985
1025
|
function getVisualOffsets(element) {
|
|
986
1026
|
const win = getWindow(element);
|
|
987
|
-
if (!
|
|
1027
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
988
1028
|
return noOffsets;
|
|
989
1029
|
}
|
|
990
1030
|
return {
|
|
@@ -1033,7 +1073,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1033
1073
|
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1034
1074
|
const iframeScale = getScale(currentIFrame);
|
|
1035
1075
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1036
|
-
const css = getComputedStyle(currentIFrame);
|
|
1076
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1037
1077
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1038
1078
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1039
1079
|
x *= iframeScale.x;
|
|
@@ -1053,24 +1093,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1053
1093
|
});
|
|
1054
1094
|
}
|
|
1055
1095
|
|
|
1056
|
-
function getNodeScroll(element) {
|
|
1057
|
-
if (isElement(element)) {
|
|
1058
|
-
return {
|
|
1059
|
-
scrollLeft: element.scrollLeft,
|
|
1060
|
-
scrollTop: element.scrollTop
|
|
1061
|
-
};
|
|
1062
|
-
}
|
|
1063
|
-
return {
|
|
1064
|
-
scrollLeft: element.pageXOffset,
|
|
1065
|
-
scrollTop: element.pageYOffset
|
|
1066
|
-
};
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
function getDocumentElement(node) {
|
|
1070
|
-
var _ref;
|
|
1071
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
1096
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1075
1097
|
let {
|
|
1076
1098
|
rect,
|
|
@@ -1138,47 +1160,6 @@ function getDocumentRect(element) {
|
|
|
1138
1160
|
};
|
|
1139
1161
|
}
|
|
1140
1162
|
|
|
1141
|
-
function getParentNode(node) {
|
|
1142
|
-
if (getNodeName(node) === 'html') {
|
|
1143
|
-
return node;
|
|
1144
|
-
}
|
|
1145
|
-
const result =
|
|
1146
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
1147
|
-
node.assignedSlot ||
|
|
1148
|
-
// DOM Element detected.
|
|
1149
|
-
node.parentNode ||
|
|
1150
|
-
// ShadowRoot detected.
|
|
1151
|
-
isShadowRoot(node) && node.host ||
|
|
1152
|
-
// Fallback.
|
|
1153
|
-
getDocumentElement(node);
|
|
1154
|
-
return isShadowRoot(result) ? result.host : result;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
function getNearestOverflowAncestor(node) {
|
|
1158
|
-
const parentNode = getParentNode(node);
|
|
1159
|
-
if (isLastTraversableNode(parentNode)) {
|
|
1160
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1161
|
-
}
|
|
1162
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1163
|
-
return parentNode;
|
|
1164
|
-
}
|
|
1165
|
-
return getNearestOverflowAncestor(parentNode);
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
function getOverflowAncestors(node, list) {
|
|
1169
|
-
var _node$ownerDocument;
|
|
1170
|
-
if (list === void 0) {
|
|
1171
|
-
list = [];
|
|
1172
|
-
}
|
|
1173
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1174
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
1175
|
-
const win = getWindow(scrollableAncestor);
|
|
1176
|
-
if (isBody) {
|
|
1177
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
1178
|
-
}
|
|
1179
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
1163
|
function getViewportRect(element, strategy) {
|
|
1183
1164
|
const win = getWindow(element);
|
|
1184
1165
|
const html = getDocumentElement(element);
|
|
@@ -1190,7 +1171,7 @@ function getViewportRect(element, strategy) {
|
|
|
1190
1171
|
if (visualViewport) {
|
|
1191
1172
|
width = visualViewport.width;
|
|
1192
1173
|
height = visualViewport.height;
|
|
1193
|
-
const visualViewportBased =
|
|
1174
|
+
const visualViewportBased = isWebKit();
|
|
1194
1175
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1195
1176
|
x = visualViewport.offsetLeft;
|
|
1196
1177
|
y = visualViewport.offsetTop;
|
|
@@ -1327,7 +1308,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1327
1308
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1328
1309
|
scroll = getNodeScroll(offsetParent);
|
|
1329
1310
|
}
|
|
1330
|
-
if (
|
|
1311
|
+
if (isOffsetParentAnElement) {
|
|
1331
1312
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1332
1313
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1333
1314
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
@@ -1352,17 +1333,6 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1352
1333
|
}
|
|
1353
1334
|
return element.offsetParent;
|
|
1354
1335
|
}
|
|
1355
|
-
function getContainingBlock(element) {
|
|
1356
|
-
let currentNode = getParentNode(element);
|
|
1357
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1358
|
-
if (isContainingBlock(currentNode)) {
|
|
1359
|
-
return currentNode;
|
|
1360
|
-
} else {
|
|
1361
|
-
currentNode = getParentNode(currentNode);
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
return null;
|
|
1365
|
-
}
|
|
1366
1336
|
|
|
1367
1337
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1368
1338
|
// such as table ancestors and cross browser bugs.
|
|
@@ -1400,7 +1370,7 @@ const getElementRects = async function (_ref) {
|
|
|
1400
1370
|
};
|
|
1401
1371
|
|
|
1402
1372
|
function isRTL(element) {
|
|
1403
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1373
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1404
1374
|
}
|
|
1405
1375
|
|
|
1406
1376
|
const platform = {
|