@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,25 +1,132 @@
|
|
|
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
|
-
import { b as getElementDir } from './dom-
|
|
7
|
-
import { d as debounce } from './debounce-
|
|
6
|
+
import { b as getElementDir } from './dom-87294e89.js';
|
|
7
|
+
import { d as debounce } from './debounce-2391db30.js';
|
|
8
8
|
|
|
9
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
10
|
+
const alignments = ['start', 'end'];
|
|
11
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
12
|
+
const min = Math.min;
|
|
13
|
+
const max = Math.max;
|
|
14
|
+
const round = Math.round;
|
|
15
|
+
const floor = Math.floor;
|
|
16
|
+
const createCoords = v => ({
|
|
17
|
+
x: v,
|
|
18
|
+
y: v
|
|
19
|
+
});
|
|
20
|
+
const oppositeSideMap = {
|
|
21
|
+
left: 'right',
|
|
22
|
+
right: 'left',
|
|
23
|
+
bottom: 'top',
|
|
24
|
+
top: 'bottom'
|
|
25
|
+
};
|
|
26
|
+
const oppositeAlignmentMap = {
|
|
27
|
+
start: 'end',
|
|
28
|
+
end: 'start'
|
|
29
|
+
};
|
|
30
|
+
function clamp(start, value, end) {
|
|
31
|
+
return max(start, min(value, end));
|
|
32
|
+
}
|
|
33
|
+
function evaluate(value, param) {
|
|
34
|
+
return typeof value === 'function' ? value(param) : value;
|
|
35
|
+
}
|
|
36
|
+
function getSide(placement) {
|
|
37
|
+
return placement.split('-')[0];
|
|
38
|
+
}
|
|
9
39
|
function getAlignment(placement) {
|
|
10
40
|
return placement.split('-')[1];
|
|
11
41
|
}
|
|
12
|
-
|
|
13
|
-
|
|
42
|
+
function getOppositeAxis(axis) {
|
|
43
|
+
return axis === 'x' ? 'y' : 'x';
|
|
44
|
+
}
|
|
45
|
+
function getAxisLength(axis) {
|
|
14
46
|
return axis === 'y' ? 'height' : 'width';
|
|
15
47
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return placement.split('-')[0];
|
|
48
|
+
function getSideAxis(placement) {
|
|
49
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
19
50
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
51
|
+
function getAlignmentAxis(placement) {
|
|
52
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
53
|
+
}
|
|
54
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
55
|
+
if (rtl === void 0) {
|
|
56
|
+
rtl = false;
|
|
57
|
+
}
|
|
58
|
+
const alignment = getAlignment(placement);
|
|
59
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
60
|
+
const length = getAxisLength(alignmentAxis);
|
|
61
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
62
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
63
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
64
|
+
}
|
|
65
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
66
|
+
}
|
|
67
|
+
function getExpandedPlacements(placement) {
|
|
68
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
69
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
70
|
+
}
|
|
71
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
72
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
73
|
+
}
|
|
74
|
+
function getSideList(side, isStart, rtl) {
|
|
75
|
+
const lr = ['left', 'right'];
|
|
76
|
+
const rl = ['right', 'left'];
|
|
77
|
+
const tb = ['top', 'bottom'];
|
|
78
|
+
const bt = ['bottom', 'top'];
|
|
79
|
+
switch (side) {
|
|
80
|
+
case 'top':
|
|
81
|
+
case 'bottom':
|
|
82
|
+
if (rtl) return isStart ? rl : lr;
|
|
83
|
+
return isStart ? lr : rl;
|
|
84
|
+
case 'left':
|
|
85
|
+
case 'right':
|
|
86
|
+
return isStart ? tb : bt;
|
|
87
|
+
default:
|
|
88
|
+
return [];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
92
|
+
const alignment = getAlignment(placement);
|
|
93
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
94
|
+
if (alignment) {
|
|
95
|
+
list = list.map(side => side + "-" + alignment);
|
|
96
|
+
if (flipAlignment) {
|
|
97
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return list;
|
|
101
|
+
}
|
|
102
|
+
function getOppositePlacement(placement) {
|
|
103
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
104
|
+
}
|
|
105
|
+
function expandPaddingObject(padding) {
|
|
106
|
+
return {
|
|
107
|
+
top: 0,
|
|
108
|
+
right: 0,
|
|
109
|
+
bottom: 0,
|
|
110
|
+
left: 0,
|
|
111
|
+
...padding
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function getPaddingObject(padding) {
|
|
115
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
116
|
+
top: padding,
|
|
117
|
+
right: padding,
|
|
118
|
+
bottom: padding,
|
|
119
|
+
left: padding
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function rectToClientRect(rect) {
|
|
123
|
+
return {
|
|
124
|
+
...rect,
|
|
125
|
+
top: rect.y,
|
|
126
|
+
left: rect.x,
|
|
127
|
+
right: rect.x + rect.width,
|
|
128
|
+
bottom: rect.y + rect.height
|
|
129
|
+
};
|
|
23
130
|
}
|
|
24
131
|
|
|
25
132
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -27,13 +134,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
27
134
|
reference,
|
|
28
135
|
floating
|
|
29
136
|
} = _ref;
|
|
137
|
+
const sideAxis = getSideAxis(placement);
|
|
138
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
139
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
140
|
+
const side = getSide(placement);
|
|
141
|
+
const isVertical = sideAxis === 'y';
|
|
30
142
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
31
143
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
32
|
-
const
|
|
33
|
-
const length = getLengthFromAxis(mainAxis);
|
|
34
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
35
|
-
const side = getSide(placement);
|
|
36
|
-
const isVertical = mainAxis === 'x';
|
|
144
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
37
145
|
let coords;
|
|
38
146
|
switch (side) {
|
|
39
147
|
case 'top':
|
|
@@ -68,10 +176,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
68
176
|
}
|
|
69
177
|
switch (getAlignment(placement)) {
|
|
70
178
|
case 'start':
|
|
71
|
-
coords[
|
|
179
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
72
180
|
break;
|
|
73
181
|
case 'end':
|
|
74
|
-
coords[
|
|
182
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
75
183
|
break;
|
|
76
184
|
}
|
|
77
185
|
return coords;
|
|
@@ -169,39 +277,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
169
277
|
};
|
|
170
278
|
};
|
|
171
279
|
|
|
172
|
-
function evaluate(value, param) {
|
|
173
|
-
return typeof value === 'function' ? value(param) : value;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
function expandPaddingObject(padding) {
|
|
177
|
-
return {
|
|
178
|
-
top: 0,
|
|
179
|
-
right: 0,
|
|
180
|
-
bottom: 0,
|
|
181
|
-
left: 0,
|
|
182
|
-
...padding
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function getSideObjectFromPadding(padding) {
|
|
187
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
188
|
-
top: padding,
|
|
189
|
-
right: padding,
|
|
190
|
-
bottom: padding,
|
|
191
|
-
left: padding
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
function rectToClientRect(rect) {
|
|
196
|
-
return {
|
|
197
|
-
...rect,
|
|
198
|
-
top: rect.y,
|
|
199
|
-
left: rect.x,
|
|
200
|
-
right: rect.x + rect.width,
|
|
201
|
-
bottom: rect.y + rect.height
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
|
|
205
280
|
/**
|
|
206
281
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
207
282
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -230,7 +305,7 @@ async function detectOverflow(state, options) {
|
|
|
230
305
|
altBoundary = false,
|
|
231
306
|
padding = 0
|
|
232
307
|
} = evaluate(options, state);
|
|
233
|
-
const paddingObject =
|
|
308
|
+
const paddingObject = getPaddingObject(padding);
|
|
234
309
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
235
310
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
236
311
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -265,13 +340,6 @@ async function detectOverflow(state, options) {
|
|
|
265
340
|
};
|
|
266
341
|
}
|
|
267
342
|
|
|
268
|
-
const min$1 = Math.min;
|
|
269
|
-
const max$1 = Math.max;
|
|
270
|
-
|
|
271
|
-
function within(min$1$1, value, max$1$1) {
|
|
272
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
273
|
-
}
|
|
274
|
-
|
|
275
343
|
/**
|
|
276
344
|
* Provides data to position an inner element of the floating element so that it
|
|
277
345
|
* appears centered to the reference element.
|
|
@@ -297,13 +365,13 @@ const arrow = options => ({
|
|
|
297
365
|
if (element == null) {
|
|
298
366
|
return {};
|
|
299
367
|
}
|
|
300
|
-
const paddingObject =
|
|
368
|
+
const paddingObject = getPaddingObject(padding);
|
|
301
369
|
const coords = {
|
|
302
370
|
x,
|
|
303
371
|
y
|
|
304
372
|
};
|
|
305
|
-
const axis =
|
|
306
|
-
const length =
|
|
373
|
+
const axis = getAlignmentAxis(placement);
|
|
374
|
+
const length = getAxisLength(axis);
|
|
307
375
|
const arrowDimensions = await platform.getDimensions(element);
|
|
308
376
|
const isYAxis = axis === 'y';
|
|
309
377
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -323,22 +391,22 @@ const arrow = options => ({
|
|
|
323
391
|
// If the padding is large enough that it causes the arrow to no longer be
|
|
324
392
|
// centered, modify the padding so that it is centered.
|
|
325
393
|
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
326
|
-
const minPadding = min
|
|
327
|
-
const maxPadding = min
|
|
394
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
395
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
328
396
|
|
|
329
397
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
330
398
|
// point is outside the floating element's bounds.
|
|
331
|
-
const min$1
|
|
399
|
+
const min$1 = minPadding;
|
|
332
400
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
333
401
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
334
|
-
const offset =
|
|
402
|
+
const offset = clamp(min$1, center, max);
|
|
335
403
|
|
|
336
404
|
// If the reference is small enough that the arrow's padding causes it to
|
|
337
405
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
338
406
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
339
407
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
340
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1
|
|
341
|
-
const alignmentOffset = shouldAddOffset ? center < min$1
|
|
408
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
409
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
342
410
|
return {
|
|
343
411
|
[axis]: coords[axis] - alignmentOffset,
|
|
344
412
|
data: {
|
|
@@ -349,44 +417,6 @@ const arrow = options => ({
|
|
|
349
417
|
}
|
|
350
418
|
});
|
|
351
419
|
|
|
352
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
353
|
-
const allPlacements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-start", side + "-end"), []);
|
|
354
|
-
|
|
355
|
-
const oppositeSideMap = {
|
|
356
|
-
left: 'right',
|
|
357
|
-
right: 'left',
|
|
358
|
-
bottom: 'top',
|
|
359
|
-
top: 'bottom'
|
|
360
|
-
};
|
|
361
|
-
function getOppositePlacement(placement) {
|
|
362
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
366
|
-
if (rtl === void 0) {
|
|
367
|
-
rtl = false;
|
|
368
|
-
}
|
|
369
|
-
const alignment = getAlignment(placement);
|
|
370
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
371
|
-
const length = getLengthFromAxis(mainAxis);
|
|
372
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
373
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
374
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
375
|
-
}
|
|
376
|
-
return {
|
|
377
|
-
main: mainAlignmentSide,
|
|
378
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
const oppositeAlignmentMap = {
|
|
383
|
-
start: 'end',
|
|
384
|
-
end: 'start'
|
|
385
|
-
};
|
|
386
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
387
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
420
|
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
391
421
|
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
392
422
|
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
@@ -421,36 +451,33 @@ const autoPlacement = function (options) {
|
|
|
421
451
|
const {
|
|
422
452
|
crossAxis = false,
|
|
423
453
|
alignment,
|
|
424
|
-
allowedPlacements =
|
|
454
|
+
allowedPlacements = placements,
|
|
425
455
|
autoAlignment = true,
|
|
426
456
|
...detectOverflowOptions
|
|
427
457
|
} = evaluate(options, state);
|
|
428
|
-
const placements = alignment !== undefined || allowedPlacements ===
|
|
458
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
429
459
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
430
460
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
431
|
-
const currentPlacement = placements[currentIndex];
|
|
461
|
+
const currentPlacement = placements$1[currentIndex];
|
|
432
462
|
if (currentPlacement == null) {
|
|
433
463
|
return {};
|
|
434
464
|
}
|
|
435
|
-
const
|
|
436
|
-
main,
|
|
437
|
-
cross
|
|
438
|
-
} = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
465
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
439
466
|
|
|
440
467
|
// Make `computeCoords` start from the right place.
|
|
441
468
|
if (placement !== currentPlacement) {
|
|
442
469
|
return {
|
|
443
470
|
reset: {
|
|
444
|
-
placement: placements[0]
|
|
471
|
+
placement: placements$1[0]
|
|
445
472
|
}
|
|
446
473
|
};
|
|
447
474
|
}
|
|
448
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[
|
|
475
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
449
476
|
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
450
477
|
placement: currentPlacement,
|
|
451
478
|
overflows: currentOverflows
|
|
452
479
|
}];
|
|
453
|
-
const nextPlacement = placements[currentIndex + 1];
|
|
480
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
454
481
|
|
|
455
482
|
// There are more placements to check.
|
|
456
483
|
if (nextPlacement) {
|
|
@@ -493,40 +520,6 @@ const autoPlacement = function (options) {
|
|
|
493
520
|
};
|
|
494
521
|
};
|
|
495
522
|
|
|
496
|
-
function getExpandedPlacements(placement) {
|
|
497
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
498
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
function getSideList(side, isStart, rtl) {
|
|
502
|
-
const lr = ['left', 'right'];
|
|
503
|
-
const rl = ['right', 'left'];
|
|
504
|
-
const tb = ['top', 'bottom'];
|
|
505
|
-
const bt = ['bottom', 'top'];
|
|
506
|
-
switch (side) {
|
|
507
|
-
case 'top':
|
|
508
|
-
case 'bottom':
|
|
509
|
-
if (rtl) return isStart ? rl : lr;
|
|
510
|
-
return isStart ? lr : rl;
|
|
511
|
-
case 'left':
|
|
512
|
-
case 'right':
|
|
513
|
-
return isStart ? tb : bt;
|
|
514
|
-
default:
|
|
515
|
-
return [];
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
519
|
-
const alignment = getAlignment(placement);
|
|
520
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
521
|
-
if (alignment) {
|
|
522
|
-
list = list.map(side => side + "-" + alignment);
|
|
523
|
-
if (flipAlignment) {
|
|
524
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
return list;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
523
|
/**
|
|
531
524
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
532
525
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -574,11 +567,8 @@ const flip = function (options) {
|
|
|
574
567
|
overflows.push(overflow[side]);
|
|
575
568
|
}
|
|
576
569
|
if (checkCrossAxis) {
|
|
577
|
-
const
|
|
578
|
-
|
|
579
|
-
cross
|
|
580
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
581
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
570
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
571
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
582
572
|
}
|
|
583
573
|
overflowsData = [...overflowsData, {
|
|
584
574
|
placement,
|
|
@@ -706,6 +696,8 @@ const hide = function (options) {
|
|
|
706
696
|
};
|
|
707
697
|
};
|
|
708
698
|
|
|
699
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
700
|
+
// Derivable.
|
|
709
701
|
async function convertValueToCoords(state, options) {
|
|
710
702
|
const {
|
|
711
703
|
placement,
|
|
@@ -715,7 +707,7 @@ async function convertValueToCoords(state, options) {
|
|
|
715
707
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
716
708
|
const side = getSide(placement);
|
|
717
709
|
const alignment = getAlignment(placement);
|
|
718
|
-
const isVertical =
|
|
710
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
719
711
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
720
712
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
721
713
|
const rawValue = evaluate(options, state);
|
|
@@ -776,10 +768,6 @@ const offset = function (options) {
|
|
|
776
768
|
};
|
|
777
769
|
};
|
|
778
770
|
|
|
779
|
-
function getCrossAxis(axis) {
|
|
780
|
-
return axis === 'x' ? 'y' : 'x';
|
|
781
|
-
}
|
|
782
|
-
|
|
783
771
|
/**
|
|
784
772
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
785
773
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -820,8 +808,8 @@ const shift = function (options) {
|
|
|
820
808
|
y
|
|
821
809
|
};
|
|
822
810
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
823
|
-
const
|
|
824
|
-
const
|
|
811
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
812
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
825
813
|
let mainAxisCoord = coords[mainAxis];
|
|
826
814
|
let crossAxisCoord = coords[crossAxis];
|
|
827
815
|
if (checkMainAxis) {
|
|
@@ -829,14 +817,14 @@ const shift = function (options) {
|
|
|
829
817
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
830
818
|
const min = mainAxisCoord + overflow[minSide];
|
|
831
819
|
const max = mainAxisCoord - overflow[maxSide];
|
|
832
|
-
mainAxisCoord =
|
|
820
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
833
821
|
}
|
|
834
822
|
if (checkCrossAxis) {
|
|
835
823
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
836
824
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
837
825
|
const min = crossAxisCoord + overflow[minSide];
|
|
838
826
|
const max = crossAxisCoord - overflow[maxSide];
|
|
839
|
-
crossAxisCoord =
|
|
827
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
840
828
|
}
|
|
841
829
|
const limitedCoords = limiter.fn({
|
|
842
830
|
...state,
|
|
@@ -854,18 +842,6 @@ const shift = function (options) {
|
|
|
854
842
|
};
|
|
855
843
|
};
|
|
856
844
|
|
|
857
|
-
function getWindow(node) {
|
|
858
|
-
var _node$ownerDocument;
|
|
859
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
function getComputedStyle$1(element) {
|
|
863
|
-
return getWindow(element).getComputedStyle(element);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
function isNode(value) {
|
|
867
|
-
return value instanceof getWindow(value).Node;
|
|
868
|
-
}
|
|
869
845
|
function getNodeName(node) {
|
|
870
846
|
if (isNode(node)) {
|
|
871
847
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -875,16 +851,29 @@ function getNodeName(node) {
|
|
|
875
851
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
876
852
|
return '#document';
|
|
877
853
|
}
|
|
878
|
-
|
|
854
|
+
function getWindow(node) {
|
|
855
|
+
var _node$ownerDocument;
|
|
856
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
857
|
+
}
|
|
858
|
+
function getDocumentElement(node) {
|
|
859
|
+
var _ref;
|
|
860
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
861
|
+
}
|
|
862
|
+
function isNode(value) {
|
|
863
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
864
|
+
}
|
|
865
|
+
function isElement(value) {
|
|
866
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
867
|
+
}
|
|
879
868
|
function isHTMLElement(value) {
|
|
880
869
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
881
870
|
}
|
|
882
|
-
function isShadowRoot(
|
|
871
|
+
function isShadowRoot(value) {
|
|
883
872
|
// Browsers without `ShadowRoot` support.
|
|
884
873
|
if (typeof ShadowRoot === 'undefined') {
|
|
885
874
|
return false;
|
|
886
875
|
}
|
|
887
|
-
return
|
|
876
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
888
877
|
}
|
|
889
878
|
function isOverflowElement(element) {
|
|
890
879
|
const {
|
|
@@ -899,28 +888,83 @@ function isTableElement(element) {
|
|
|
899
888
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
900
889
|
}
|
|
901
890
|
function isContainingBlock(element) {
|
|
902
|
-
const
|
|
891
|
+
const webkit = isWebKit();
|
|
903
892
|
const css = getComputedStyle$1(element);
|
|
904
893
|
|
|
905
894
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
906
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !
|
|
895
|
+
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));
|
|
896
|
+
}
|
|
897
|
+
function getContainingBlock(element) {
|
|
898
|
+
let currentNode = getParentNode(element);
|
|
899
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
900
|
+
if (isContainingBlock(currentNode)) {
|
|
901
|
+
return currentNode;
|
|
902
|
+
} else {
|
|
903
|
+
currentNode = getParentNode(currentNode);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
return null;
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function isWebKit() {
|
|
909
909
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
910
910
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
911
911
|
}
|
|
912
912
|
function isLastTraversableNode(node) {
|
|
913
913
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
914
914
|
}
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}
|
|
915
|
+
function getComputedStyle$1(element) {
|
|
916
|
+
return getWindow(element).getComputedStyle(element);
|
|
917
|
+
}
|
|
918
|
+
function getNodeScroll(element) {
|
|
919
|
+
if (isElement(element)) {
|
|
920
|
+
return {
|
|
921
|
+
scrollLeft: element.scrollLeft,
|
|
922
|
+
scrollTop: element.scrollTop
|
|
923
|
+
};
|
|
924
|
+
}
|
|
925
|
+
return {
|
|
926
|
+
scrollLeft: element.pageXOffset,
|
|
927
|
+
scrollTop: element.pageYOffset
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
function getParentNode(node) {
|
|
931
|
+
if (getNodeName(node) === 'html') {
|
|
932
|
+
return node;
|
|
933
|
+
}
|
|
934
|
+
const result =
|
|
935
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
936
|
+
node.assignedSlot ||
|
|
937
|
+
// DOM Element detected.
|
|
938
|
+
node.parentNode ||
|
|
939
|
+
// ShadowRoot detected.
|
|
940
|
+
isShadowRoot(node) && node.host ||
|
|
941
|
+
// Fallback.
|
|
942
|
+
getDocumentElement(node);
|
|
943
|
+
return isShadowRoot(result) ? result.host : result;
|
|
944
|
+
}
|
|
945
|
+
function getNearestOverflowAncestor(node) {
|
|
946
|
+
const parentNode = getParentNode(node);
|
|
947
|
+
if (isLastTraversableNode(parentNode)) {
|
|
948
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
949
|
+
}
|
|
950
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
951
|
+
return parentNode;
|
|
952
|
+
}
|
|
953
|
+
return getNearestOverflowAncestor(parentNode);
|
|
954
|
+
}
|
|
955
|
+
function getOverflowAncestors(node, list) {
|
|
956
|
+
var _node$ownerDocument2;
|
|
957
|
+
if (list === void 0) {
|
|
958
|
+
list = [];
|
|
959
|
+
}
|
|
960
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
961
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
962
|
+
const win = getWindow(scrollableAncestor);
|
|
963
|
+
if (isBody) {
|
|
964
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
965
|
+
}
|
|
966
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
967
|
+
}
|
|
924
968
|
|
|
925
969
|
function getCssDimensions(element) {
|
|
926
970
|
const css = getComputedStyle$1(element);
|
|
@@ -943,10 +987,6 @@ function getCssDimensions(element) {
|
|
|
943
987
|
};
|
|
944
988
|
}
|
|
945
989
|
|
|
946
|
-
function isElement(value) {
|
|
947
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
990
|
function unwrapElement(element) {
|
|
951
991
|
return !isElement(element) ? element.contextElement : element;
|
|
952
992
|
}
|
|
@@ -982,7 +1022,7 @@ function getScale(element) {
|
|
|
982
1022
|
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
983
1023
|
function getVisualOffsets(element) {
|
|
984
1024
|
const win = getWindow(element);
|
|
985
|
-
if (!
|
|
1025
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
986
1026
|
return noOffsets;
|
|
987
1027
|
}
|
|
988
1028
|
return {
|
|
@@ -1031,7 +1071,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1031
1071
|
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1032
1072
|
const iframeScale = getScale(currentIFrame);
|
|
1033
1073
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1034
|
-
const css = getComputedStyle(currentIFrame);
|
|
1074
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1035
1075
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1036
1076
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1037
1077
|
x *= iframeScale.x;
|
|
@@ -1051,24 +1091,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1051
1091
|
});
|
|
1052
1092
|
}
|
|
1053
1093
|
|
|
1054
|
-
function getNodeScroll(element) {
|
|
1055
|
-
if (isElement(element)) {
|
|
1056
|
-
return {
|
|
1057
|
-
scrollLeft: element.scrollLeft,
|
|
1058
|
-
scrollTop: element.scrollTop
|
|
1059
|
-
};
|
|
1060
|
-
}
|
|
1061
|
-
return {
|
|
1062
|
-
scrollLeft: element.pageXOffset,
|
|
1063
|
-
scrollTop: element.pageYOffset
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
function getDocumentElement(node) {
|
|
1068
|
-
var _ref;
|
|
1069
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
1094
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1073
1095
|
let {
|
|
1074
1096
|
rect,
|
|
@@ -1136,47 +1158,6 @@ function getDocumentRect(element) {
|
|
|
1136
1158
|
};
|
|
1137
1159
|
}
|
|
1138
1160
|
|
|
1139
|
-
function getParentNode(node) {
|
|
1140
|
-
if (getNodeName(node) === 'html') {
|
|
1141
|
-
return node;
|
|
1142
|
-
}
|
|
1143
|
-
const result =
|
|
1144
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
1145
|
-
node.assignedSlot ||
|
|
1146
|
-
// DOM Element detected.
|
|
1147
|
-
node.parentNode ||
|
|
1148
|
-
// ShadowRoot detected.
|
|
1149
|
-
isShadowRoot(node) && node.host ||
|
|
1150
|
-
// Fallback.
|
|
1151
|
-
getDocumentElement(node);
|
|
1152
|
-
return isShadowRoot(result) ? result.host : result;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
function getNearestOverflowAncestor(node) {
|
|
1156
|
-
const parentNode = getParentNode(node);
|
|
1157
|
-
if (isLastTraversableNode(parentNode)) {
|
|
1158
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1159
|
-
}
|
|
1160
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1161
|
-
return parentNode;
|
|
1162
|
-
}
|
|
1163
|
-
return getNearestOverflowAncestor(parentNode);
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
function getOverflowAncestors(node, list) {
|
|
1167
|
-
var _node$ownerDocument;
|
|
1168
|
-
if (list === void 0) {
|
|
1169
|
-
list = [];
|
|
1170
|
-
}
|
|
1171
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1172
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
1173
|
-
const win = getWindow(scrollableAncestor);
|
|
1174
|
-
if (isBody) {
|
|
1175
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
1176
|
-
}
|
|
1177
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
1161
|
function getViewportRect(element, strategy) {
|
|
1181
1162
|
const win = getWindow(element);
|
|
1182
1163
|
const html = getDocumentElement(element);
|
|
@@ -1188,7 +1169,7 @@ function getViewportRect(element, strategy) {
|
|
|
1188
1169
|
if (visualViewport) {
|
|
1189
1170
|
width = visualViewport.width;
|
|
1190
1171
|
height = visualViewport.height;
|
|
1191
|
-
const visualViewportBased =
|
|
1172
|
+
const visualViewportBased = isWebKit();
|
|
1192
1173
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1193
1174
|
x = visualViewport.offsetLeft;
|
|
1194
1175
|
y = visualViewport.offsetTop;
|
|
@@ -1325,7 +1306,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1325
1306
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1326
1307
|
scroll = getNodeScroll(offsetParent);
|
|
1327
1308
|
}
|
|
1328
|
-
if (
|
|
1309
|
+
if (isOffsetParentAnElement) {
|
|
1329
1310
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1330
1311
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1331
1312
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
@@ -1350,17 +1331,6 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1350
1331
|
}
|
|
1351
1332
|
return element.offsetParent;
|
|
1352
1333
|
}
|
|
1353
|
-
function getContainingBlock(element) {
|
|
1354
|
-
let currentNode = getParentNode(element);
|
|
1355
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1356
|
-
if (isContainingBlock(currentNode)) {
|
|
1357
|
-
return currentNode;
|
|
1358
|
-
} else {
|
|
1359
|
-
currentNode = getParentNode(currentNode);
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
return null;
|
|
1363
|
-
}
|
|
1364
1334
|
|
|
1365
1335
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1366
1336
|
// such as table ancestors and cross browser bugs.
|
|
@@ -1398,7 +1368,7 @@ const getElementRects = async function (_ref) {
|
|
|
1398
1368
|
};
|
|
1399
1369
|
|
|
1400
1370
|
function isRTL(element) {
|
|
1401
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1371
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1402
1372
|
}
|
|
1403
1373
|
|
|
1404
1374
|
const platform = {
|