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