@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
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.30
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -15707,8 +15707,9 @@ const DIMENSIONS = {
|
|
|
15707
15707
|
},
|
|
15708
15708
|
},
|
|
15709
15709
|
};
|
|
15710
|
+
const SCOPE_SIZE = 1;
|
|
15710
15711
|
|
|
15711
|
-
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
15712
|
+
const clamp$1 = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
15712
15713
|
const decimalNumberRegex = new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
|
|
15713
15714
|
const decimalPlaces = (value) => {
|
|
15714
15715
|
const match = ("" + value).match(decimalNumberRegex);
|
|
@@ -15722,7 +15723,7 @@ const decimalPlaces = (value) => {
|
|
|
15722
15723
|
(match[2] ? +match[2] : 0));
|
|
15723
15724
|
};
|
|
15724
15725
|
|
|
15725
|
-
const colorPickerCss = "/*!@:host([disabled])*/[disabled].sc-calcite-color-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-color-picker-h *.sc-calcite-color-picker,.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-color-picker-h{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-color-picker-h [calcite-hydrated][disabled].sc-calcite-color-picker{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-color-picker-h{--calcite-color-picker-spacing:8px}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:160px}/*!@:host([scale=s]) .saved-colors*/[scale=s].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}/*!@:host([scale=m])*/[scale=m].sc-calcite-color-picker-h{--calcite-color-picker-spacing:12px}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:272px}/*!@:host([scale=l])*/[scale=l].sc-calcite-color-picker-h{--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:464px}/*!@:host([scale=l]) .section:first-of-type*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}/*!@:host([scale=l]) .saved-colors*/[scale=l].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, 32px)}/*!@:host([scale=l]) .control-section*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}/*!@:host([scale=l]) .color-hex-options*/[scale=l].sc-calcite-color-picker-h .color-hex-options.sc-calcite-color-picker{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}/*!@:host([scale=l]) .color-mode-container*/[scale=l].sc-calcite-color-picker-h .color-mode-container.sc-calcite-color-picker{flex-shrink:3}/*!@.container*/.container.sc-calcite-color-picker{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}/*!@.control-and-scope*/.control-and-scope.sc-calcite-color-picker{position:relative;display:flex;cursor:pointer;touch-action:none}/*!@.scope*/.scope.sc-calcite-color-picker{position:absolute;z-index:var(--calcite-app-z-index);font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.scope:focus*/.scope.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:
|
|
15726
|
+
const colorPickerCss = "/*!@:host([disabled])*/[disabled].sc-calcite-color-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-color-picker-h *.sc-calcite-color-picker,.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-color-picker-h{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-color-picker-h [calcite-hydrated][disabled].sc-calcite-color-picker{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-color-picker-h{--calcite-color-picker-spacing:8px}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:160px}/*!@:host([scale=s]) .saved-colors*/[scale=s].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}/*!@:host([scale=m])*/[scale=m].sc-calcite-color-picker-h{--calcite-color-picker-spacing:12px}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:272px}/*!@:host([scale=l])*/[scale=l].sc-calcite-color-picker-h{--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:464px}/*!@:host([scale=l]) .section:first-of-type*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}/*!@:host([scale=l]) .saved-colors*/[scale=l].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, 32px)}/*!@:host([scale=l]) .control-section*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}/*!@:host([scale=l]) .color-hex-options*/[scale=l].sc-calcite-color-picker-h .color-hex-options.sc-calcite-color-picker{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}/*!@:host([scale=l]) .color-mode-container*/[scale=l].sc-calcite-color-picker-h .color-mode-container.sc-calcite-color-picker{flex-shrink:3}/*!@.container*/.container.sc-calcite-color-picker{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}/*!@.control-and-scope*/.control-and-scope.sc-calcite-color-picker{position:relative;display:flex;cursor:pointer;touch-action:none}/*!@.scope*/.scope.sc-calcite-color-picker{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.scope:focus*/.scope.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}/*!@.hex-and-channels-group*/.hex-and-channels-group.sc-calcite-color-picker{inline-size:100%}/*!@.hex-and-channels-group,\n.control-section*/.hex-and-channels-group.sc-calcite-color-picker,.control-section.sc-calcite-color-picker{display:flex;flex-direction:row;flex-wrap:wrap}/*!@.section*/.section.sc-calcite-color-picker{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}/*!@.section:first-of-type*/.section.sc-calcite-color-picker:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}/*!@.sliders*/.sliders.sc-calcite-color-picker{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}/*!@.preview-and-sliders*/.preview-and-sliders.sc-calcite-color-picker{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}/*!@.color-hex-options,\n.section--split*/.color-hex-options.sc-calcite-color-picker,.section--split.sc-calcite-color-picker{flex-grow:1}/*!@.header*/.header.sc-calcite-color-picker{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}/*!@.color-mode-container*/.color-mode-container.sc-calcite-color-picker{padding-block-start:var(--calcite-color-picker-spacing)}/*!@.channels*/.channels.sc-calcite-color-picker{display:flex;row-gap:0.125rem}/*!@.channel[data-channel-index=\"3\"]*/.channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:159px}/*!@:host([scale=s]) .channels*/[scale=s].sc-calcite-color-picker-h .channels.sc-calcite-color-picker{flex-wrap:wrap}/*!@:host([scale=s]) .channel*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker{flex-basis:30%;flex-grow:1}/*!@:host([scale=s]) .channel[data-channel-index=\"3\"]*/[scale=s].sc-calcite-color-picker-h .channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:unset;margin-inline-start:unset}/*!@:host([scale=l]) .channel[data-channel-index=\"3\"]*/[scale=l].sc-calcite-color-picker-h .channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:131px}/*!@.saved-colors*/.saved-colors.sc-calcite-color-picker{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}/*!@.saved-colors-buttons*/.saved-colors-buttons.sc-calcite-color-picker{display:flex}/*!@.saved-color*/.saved-color.sc-calcite-color-picker{outline-offset:0;outline-color:transparent;cursor:pointer}/*!@.saved-color:focus*/.saved-color.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.saved-color:hover*/.saved-color.sc-calcite-color-picker:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}/*!@:host([hidden])*/[hidden].sc-calcite-color-picker-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-color-picker{display:none}";
|
|
15726
15727
|
|
|
15727
15728
|
const throttleFor60FpsInMs = 16;
|
|
15728
15729
|
class ColorPicker {
|
|
@@ -15802,7 +15803,7 @@ class ColorPicker {
|
|
|
15802
15803
|
else {
|
|
15803
15804
|
const value = Number(input.value);
|
|
15804
15805
|
const adjustedValue = value + this.shiftKeyChannelAdjustment;
|
|
15805
|
-
const clamped = clamp(adjustedValue, 0, limit);
|
|
15806
|
+
const clamped = clamp$1(adjustedValue, 0, limit);
|
|
15806
15807
|
inputValue = clamped.toString();
|
|
15807
15808
|
}
|
|
15808
15809
|
input.value = inputValue;
|
|
@@ -16032,15 +16033,17 @@ class ColorPicker {
|
|
|
16032
16033
|
const modifier = event.shiftKey ? 10 : 1;
|
|
16033
16034
|
const { key } = event;
|
|
16034
16035
|
const arrowKeyToXOffset = {
|
|
16035
|
-
ArrowUp:
|
|
16036
|
-
ArrowRight:
|
|
16037
|
-
ArrowDown: -
|
|
16038
|
-
ArrowLeft: -
|
|
16036
|
+
ArrowUp: 0.01,
|
|
16037
|
+
ArrowRight: 0.01,
|
|
16038
|
+
ArrowDown: -0.01,
|
|
16039
|
+
ArrowLeft: -0.01,
|
|
16039
16040
|
};
|
|
16040
16041
|
if (arrowKeyToXOffset[key]) {
|
|
16041
16042
|
event.preventDefault();
|
|
16042
|
-
const delta =
|
|
16043
|
-
this.
|
|
16043
|
+
const delta = arrowKeyToXOffset[key] * modifier;
|
|
16044
|
+
const alpha = this.baseColorFieldColor.alpha();
|
|
16045
|
+
const color = this.baseColorFieldColor.alpha(alpha + delta);
|
|
16046
|
+
this.internalColorSet(color, false);
|
|
16044
16047
|
}
|
|
16045
16048
|
};
|
|
16046
16049
|
this.allowEmpty = false;
|
|
@@ -16219,29 +16222,41 @@ class ColorPicker {
|
|
|
16219
16222
|
//
|
|
16220
16223
|
//--------------------------------------------------------------------------
|
|
16221
16224
|
render() {
|
|
16222
|
-
const { allowEmpty, channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, dimensions: {
|
|
16225
|
+
const { allowEmpty, channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, dimensions: { slider: { width: sliderWidth }, thumb: { radius: thumbRadius }, }, hexDisabled, hideChannels, hideHex, hideSaved, hueScopeLeft, messages, alphaChannel, opacityScopeLeft, savedColors, savedDisabled, scale, scopeOrientation, } = this;
|
|
16223
16226
|
const selectedColorInHex = color ? hexify(color, alphaChannel) : null;
|
|
16224
16227
|
const hueTop = thumbRadius;
|
|
16225
16228
|
const hueLeft = hueScopeLeft ?? (sliderWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
16226
16229
|
const opacityTop = thumbRadius;
|
|
16227
16230
|
const opacityLeft = opacityScopeLeft ??
|
|
16228
|
-
(
|
|
16231
|
+
(sliderWidth * alphaToOpacity(DEFAULT_COLOR$1.alpha())) / OPACITY_LIMITS.max;
|
|
16229
16232
|
const noColor = color === null;
|
|
16230
16233
|
const vertical = scopeOrientation === "vertical";
|
|
16231
16234
|
const noHex = hexDisabled || hideHex;
|
|
16232
16235
|
const noChannels = channelsDisabled || hideChannels;
|
|
16233
16236
|
const noSaved = savedDisabled || hideSaved;
|
|
16237
|
+
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16238
|
+
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16239
|
+
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16234
16240
|
return (hAsync("div", { class: CSS$T.container }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: CSS$T.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16235
16241
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16236
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$T.scope]: true, [CSS$T.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16242
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$T.scope]: true, [CSS$T.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16243
|
+
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16244
|
+
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16245
|
+
}, tabindex: "0",
|
|
16237
16246
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16238
16247
|
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$T.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$T.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$T.sliders }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16239
16248
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16240
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$T.scope]: true, [CSS$T.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16249
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$T.scope]: true, [CSS$T.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16250
|
+
top: `${adjustedHueScopeTop}px`,
|
|
16251
|
+
left: `${adjustedHueScopeLeft}px`,
|
|
16252
|
+
}, tabindex: "0",
|
|
16241
16253
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16242
16254
|
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16243
16255
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16244
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$T.scope]: true, [CSS$T.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16256
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$T.scope]: true, [CSS$T.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16257
|
+
top: `${adjustedOpacityScopeTop}px`,
|
|
16258
|
+
left: `${adjustedOpacityScopeLeft}px`,
|
|
16259
|
+
}, tabindex: "0",
|
|
16245
16260
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16246
16261
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16247
16262
|
[CSS$T.controlSection]: true,
|
|
@@ -16548,6 +16563,9 @@ class ColorPicker {
|
|
|
16548
16563
|
}
|
|
16549
16564
|
return channels;
|
|
16550
16565
|
}
|
|
16566
|
+
getAdjustedScopePosition(left, top) {
|
|
16567
|
+
return [left - SCOPE_SIZE / 2, top - SCOPE_SIZE / 2];
|
|
16568
|
+
}
|
|
16551
16569
|
static get delegatesFocus() { return true; }
|
|
16552
16570
|
static get assetsDirs() { return ["assets"]; }
|
|
16553
16571
|
get el() { return getElement(this); }
|
|
@@ -16988,20 +17006,126 @@ const filter = (data, value) => {
|
|
|
16988
17006
|
return result;
|
|
16989
17007
|
};
|
|
16990
17008
|
|
|
17009
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
17010
|
+
const alignments = ['start', 'end'];
|
|
17011
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
17012
|
+
const min = Math.min;
|
|
17013
|
+
const max = Math.max;
|
|
17014
|
+
const round = Math.round;
|
|
17015
|
+
const createCoords = v => ({
|
|
17016
|
+
x: v,
|
|
17017
|
+
y: v
|
|
17018
|
+
});
|
|
17019
|
+
const oppositeSideMap = {
|
|
17020
|
+
left: 'right',
|
|
17021
|
+
right: 'left',
|
|
17022
|
+
bottom: 'top',
|
|
17023
|
+
top: 'bottom'
|
|
17024
|
+
};
|
|
17025
|
+
const oppositeAlignmentMap = {
|
|
17026
|
+
start: 'end',
|
|
17027
|
+
end: 'start'
|
|
17028
|
+
};
|
|
17029
|
+
function clamp(start, value, end) {
|
|
17030
|
+
return max(start, min(value, end));
|
|
17031
|
+
}
|
|
17032
|
+
function evaluate(value, param) {
|
|
17033
|
+
return typeof value === 'function' ? value(param) : value;
|
|
17034
|
+
}
|
|
17035
|
+
function getSide(placement) {
|
|
17036
|
+
return placement.split('-')[0];
|
|
17037
|
+
}
|
|
16991
17038
|
function getAlignment(placement) {
|
|
16992
17039
|
return placement.split('-')[1];
|
|
16993
17040
|
}
|
|
16994
|
-
|
|
16995
|
-
|
|
17041
|
+
function getOppositeAxis(axis) {
|
|
17042
|
+
return axis === 'x' ? 'y' : 'x';
|
|
17043
|
+
}
|
|
17044
|
+
function getAxisLength(axis) {
|
|
16996
17045
|
return axis === 'y' ? 'height' : 'width';
|
|
16997
17046
|
}
|
|
16998
|
-
|
|
16999
|
-
|
|
17000
|
-
return placement.split('-')[0];
|
|
17047
|
+
function getSideAxis(placement) {
|
|
17048
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
17001
17049
|
}
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17050
|
+
function getAlignmentAxis(placement) {
|
|
17051
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
17052
|
+
}
|
|
17053
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
17054
|
+
if (rtl === void 0) {
|
|
17055
|
+
rtl = false;
|
|
17056
|
+
}
|
|
17057
|
+
const alignment = getAlignment(placement);
|
|
17058
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
17059
|
+
const length = getAxisLength(alignmentAxis);
|
|
17060
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
17061
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
17062
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
17063
|
+
}
|
|
17064
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
17065
|
+
}
|
|
17066
|
+
function getExpandedPlacements(placement) {
|
|
17067
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
17068
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
17069
|
+
}
|
|
17070
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
17071
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
17072
|
+
}
|
|
17073
|
+
function getSideList(side, isStart, rtl) {
|
|
17074
|
+
const lr = ['left', 'right'];
|
|
17075
|
+
const rl = ['right', 'left'];
|
|
17076
|
+
const tb = ['top', 'bottom'];
|
|
17077
|
+
const bt = ['bottom', 'top'];
|
|
17078
|
+
switch (side) {
|
|
17079
|
+
case 'top':
|
|
17080
|
+
case 'bottom':
|
|
17081
|
+
if (rtl) return isStart ? rl : lr;
|
|
17082
|
+
return isStart ? lr : rl;
|
|
17083
|
+
case 'left':
|
|
17084
|
+
case 'right':
|
|
17085
|
+
return isStart ? tb : bt;
|
|
17086
|
+
default:
|
|
17087
|
+
return [];
|
|
17088
|
+
}
|
|
17089
|
+
}
|
|
17090
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
17091
|
+
const alignment = getAlignment(placement);
|
|
17092
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
17093
|
+
if (alignment) {
|
|
17094
|
+
list = list.map(side => side + "-" + alignment);
|
|
17095
|
+
if (flipAlignment) {
|
|
17096
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
17097
|
+
}
|
|
17098
|
+
}
|
|
17099
|
+
return list;
|
|
17100
|
+
}
|
|
17101
|
+
function getOppositePlacement(placement) {
|
|
17102
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
17103
|
+
}
|
|
17104
|
+
function expandPaddingObject(padding) {
|
|
17105
|
+
return {
|
|
17106
|
+
top: 0,
|
|
17107
|
+
right: 0,
|
|
17108
|
+
bottom: 0,
|
|
17109
|
+
left: 0,
|
|
17110
|
+
...padding
|
|
17111
|
+
};
|
|
17112
|
+
}
|
|
17113
|
+
function getPaddingObject(padding) {
|
|
17114
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
17115
|
+
top: padding,
|
|
17116
|
+
right: padding,
|
|
17117
|
+
bottom: padding,
|
|
17118
|
+
left: padding
|
|
17119
|
+
};
|
|
17120
|
+
}
|
|
17121
|
+
function rectToClientRect(rect) {
|
|
17122
|
+
return {
|
|
17123
|
+
...rect,
|
|
17124
|
+
top: rect.y,
|
|
17125
|
+
left: rect.x,
|
|
17126
|
+
right: rect.x + rect.width,
|
|
17127
|
+
bottom: rect.y + rect.height
|
|
17128
|
+
};
|
|
17005
17129
|
}
|
|
17006
17130
|
|
|
17007
17131
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -17009,13 +17133,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
17009
17133
|
reference,
|
|
17010
17134
|
floating
|
|
17011
17135
|
} = _ref;
|
|
17136
|
+
const sideAxis = getSideAxis(placement);
|
|
17137
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
17138
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
17139
|
+
const side = getSide(placement);
|
|
17140
|
+
const isVertical = sideAxis === 'y';
|
|
17012
17141
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
17013
17142
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
17014
|
-
const
|
|
17015
|
-
const length = getLengthFromAxis(mainAxis);
|
|
17016
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
17017
|
-
const side = getSide(placement);
|
|
17018
|
-
const isVertical = mainAxis === 'x';
|
|
17143
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
17019
17144
|
let coords;
|
|
17020
17145
|
switch (side) {
|
|
17021
17146
|
case 'top':
|
|
@@ -17050,10 +17175,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
17050
17175
|
}
|
|
17051
17176
|
switch (getAlignment(placement)) {
|
|
17052
17177
|
case 'start':
|
|
17053
|
-
coords[
|
|
17178
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
17054
17179
|
break;
|
|
17055
17180
|
case 'end':
|
|
17056
|
-
coords[
|
|
17181
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
17057
17182
|
break;
|
|
17058
17183
|
}
|
|
17059
17184
|
return coords;
|
|
@@ -17151,39 +17276,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
17151
17276
|
};
|
|
17152
17277
|
};
|
|
17153
17278
|
|
|
17154
|
-
function evaluate(value, param) {
|
|
17155
|
-
return typeof value === 'function' ? value(param) : value;
|
|
17156
|
-
}
|
|
17157
|
-
|
|
17158
|
-
function expandPaddingObject(padding) {
|
|
17159
|
-
return {
|
|
17160
|
-
top: 0,
|
|
17161
|
-
right: 0,
|
|
17162
|
-
bottom: 0,
|
|
17163
|
-
left: 0,
|
|
17164
|
-
...padding
|
|
17165
|
-
};
|
|
17166
|
-
}
|
|
17167
|
-
|
|
17168
|
-
function getSideObjectFromPadding(padding) {
|
|
17169
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
17170
|
-
top: padding,
|
|
17171
|
-
right: padding,
|
|
17172
|
-
bottom: padding,
|
|
17173
|
-
left: padding
|
|
17174
|
-
};
|
|
17175
|
-
}
|
|
17176
|
-
|
|
17177
|
-
function rectToClientRect(rect) {
|
|
17178
|
-
return {
|
|
17179
|
-
...rect,
|
|
17180
|
-
top: rect.y,
|
|
17181
|
-
left: rect.x,
|
|
17182
|
-
right: rect.x + rect.width,
|
|
17183
|
-
bottom: rect.y + rect.height
|
|
17184
|
-
};
|
|
17185
|
-
}
|
|
17186
|
-
|
|
17187
17279
|
/**
|
|
17188
17280
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
17189
17281
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -17212,7 +17304,7 @@ async function detectOverflow(state, options) {
|
|
|
17212
17304
|
altBoundary = false,
|
|
17213
17305
|
padding = 0
|
|
17214
17306
|
} = evaluate(options, state);
|
|
17215
|
-
const paddingObject =
|
|
17307
|
+
const paddingObject = getPaddingObject(padding);
|
|
17216
17308
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
17217
17309
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
17218
17310
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -17247,13 +17339,6 @@ async function detectOverflow(state, options) {
|
|
|
17247
17339
|
};
|
|
17248
17340
|
}
|
|
17249
17341
|
|
|
17250
|
-
const min$1 = Math.min;
|
|
17251
|
-
const max$1 = Math.max;
|
|
17252
|
-
|
|
17253
|
-
function within(min$1$1, value, max$1$1) {
|
|
17254
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
17255
|
-
}
|
|
17256
|
-
|
|
17257
17342
|
/**
|
|
17258
17343
|
* Provides data to position an inner element of the floating element so that it
|
|
17259
17344
|
* appears centered to the reference element.
|
|
@@ -17279,13 +17364,13 @@ const arrow = options => ({
|
|
|
17279
17364
|
if (element == null) {
|
|
17280
17365
|
return {};
|
|
17281
17366
|
}
|
|
17282
|
-
const paddingObject =
|
|
17367
|
+
const paddingObject = getPaddingObject(padding);
|
|
17283
17368
|
const coords = {
|
|
17284
17369
|
x,
|
|
17285
17370
|
y
|
|
17286
17371
|
};
|
|
17287
|
-
const axis =
|
|
17288
|
-
const length =
|
|
17372
|
+
const axis = getAlignmentAxis(placement);
|
|
17373
|
+
const length = getAxisLength(axis);
|
|
17289
17374
|
const arrowDimensions = await platform.getDimensions(element);
|
|
17290
17375
|
const isYAxis = axis === 'y';
|
|
17291
17376
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -17305,22 +17390,22 @@ const arrow = options => ({
|
|
|
17305
17390
|
// If the padding is large enough that it causes the arrow to no longer be
|
|
17306
17391
|
// centered, modify the padding so that it is centered.
|
|
17307
17392
|
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
17308
|
-
const minPadding = min
|
|
17309
|
-
const maxPadding = min
|
|
17393
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
17394
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
17310
17395
|
|
|
17311
17396
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
17312
17397
|
// point is outside the floating element's bounds.
|
|
17313
|
-
const min$1
|
|
17398
|
+
const min$1 = minPadding;
|
|
17314
17399
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
17315
17400
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
17316
|
-
const offset =
|
|
17401
|
+
const offset = clamp(min$1, center, max);
|
|
17317
17402
|
|
|
17318
17403
|
// If the reference is small enough that the arrow's padding causes it to
|
|
17319
17404
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
17320
17405
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
17321
17406
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
17322
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1
|
|
17323
|
-
const alignmentOffset = shouldAddOffset ? center < min$1
|
|
17407
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
17408
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
17324
17409
|
return {
|
|
17325
17410
|
[axis]: coords[axis] - alignmentOffset,
|
|
17326
17411
|
data: {
|
|
@@ -17331,44 +17416,6 @@ const arrow = options => ({
|
|
|
17331
17416
|
}
|
|
17332
17417
|
});
|
|
17333
17418
|
|
|
17334
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
17335
|
-
const allPlacements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-start", side + "-end"), []);
|
|
17336
|
-
|
|
17337
|
-
const oppositeSideMap = {
|
|
17338
|
-
left: 'right',
|
|
17339
|
-
right: 'left',
|
|
17340
|
-
bottom: 'top',
|
|
17341
|
-
top: 'bottom'
|
|
17342
|
-
};
|
|
17343
|
-
function getOppositePlacement(placement) {
|
|
17344
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
17345
|
-
}
|
|
17346
|
-
|
|
17347
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
17348
|
-
if (rtl === void 0) {
|
|
17349
|
-
rtl = false;
|
|
17350
|
-
}
|
|
17351
|
-
const alignment = getAlignment(placement);
|
|
17352
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
17353
|
-
const length = getLengthFromAxis(mainAxis);
|
|
17354
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
17355
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
17356
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
17357
|
-
}
|
|
17358
|
-
return {
|
|
17359
|
-
main: mainAlignmentSide,
|
|
17360
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
17361
|
-
};
|
|
17362
|
-
}
|
|
17363
|
-
|
|
17364
|
-
const oppositeAlignmentMap = {
|
|
17365
|
-
start: 'end',
|
|
17366
|
-
end: 'start'
|
|
17367
|
-
};
|
|
17368
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
17369
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
17370
|
-
}
|
|
17371
|
-
|
|
17372
17419
|
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
17373
17420
|
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
17374
17421
|
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
@@ -17403,36 +17450,33 @@ const autoPlacement = function (options) {
|
|
|
17403
17450
|
const {
|
|
17404
17451
|
crossAxis = false,
|
|
17405
17452
|
alignment,
|
|
17406
|
-
allowedPlacements =
|
|
17453
|
+
allowedPlacements = placements,
|
|
17407
17454
|
autoAlignment = true,
|
|
17408
17455
|
...detectOverflowOptions
|
|
17409
17456
|
} = evaluate(options, state);
|
|
17410
|
-
const placements = alignment !== undefined || allowedPlacements ===
|
|
17457
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
17411
17458
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
17412
17459
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
17413
|
-
const currentPlacement = placements[currentIndex];
|
|
17460
|
+
const currentPlacement = placements$1[currentIndex];
|
|
17414
17461
|
if (currentPlacement == null) {
|
|
17415
17462
|
return {};
|
|
17416
17463
|
}
|
|
17417
|
-
const
|
|
17418
|
-
main,
|
|
17419
|
-
cross
|
|
17420
|
-
} = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
17464
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
17421
17465
|
|
|
17422
17466
|
// Make `computeCoords` start from the right place.
|
|
17423
17467
|
if (placement !== currentPlacement) {
|
|
17424
17468
|
return {
|
|
17425
17469
|
reset: {
|
|
17426
|
-
placement: placements[0]
|
|
17470
|
+
placement: placements$1[0]
|
|
17427
17471
|
}
|
|
17428
17472
|
};
|
|
17429
17473
|
}
|
|
17430
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[
|
|
17474
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
17431
17475
|
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
17432
17476
|
placement: currentPlacement,
|
|
17433
17477
|
overflows: currentOverflows
|
|
17434
17478
|
}];
|
|
17435
|
-
const nextPlacement = placements[currentIndex + 1];
|
|
17479
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
17436
17480
|
|
|
17437
17481
|
// There are more placements to check.
|
|
17438
17482
|
if (nextPlacement) {
|
|
@@ -17475,40 +17519,6 @@ const autoPlacement = function (options) {
|
|
|
17475
17519
|
};
|
|
17476
17520
|
};
|
|
17477
17521
|
|
|
17478
|
-
function getExpandedPlacements(placement) {
|
|
17479
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
17480
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
17481
|
-
}
|
|
17482
|
-
|
|
17483
|
-
function getSideList(side, isStart, rtl) {
|
|
17484
|
-
const lr = ['left', 'right'];
|
|
17485
|
-
const rl = ['right', 'left'];
|
|
17486
|
-
const tb = ['top', 'bottom'];
|
|
17487
|
-
const bt = ['bottom', 'top'];
|
|
17488
|
-
switch (side) {
|
|
17489
|
-
case 'top':
|
|
17490
|
-
case 'bottom':
|
|
17491
|
-
if (rtl) return isStart ? rl : lr;
|
|
17492
|
-
return isStart ? lr : rl;
|
|
17493
|
-
case 'left':
|
|
17494
|
-
case 'right':
|
|
17495
|
-
return isStart ? tb : bt;
|
|
17496
|
-
default:
|
|
17497
|
-
return [];
|
|
17498
|
-
}
|
|
17499
|
-
}
|
|
17500
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
17501
|
-
const alignment = getAlignment(placement);
|
|
17502
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
17503
|
-
if (alignment) {
|
|
17504
|
-
list = list.map(side => side + "-" + alignment);
|
|
17505
|
-
if (flipAlignment) {
|
|
17506
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
17507
|
-
}
|
|
17508
|
-
}
|
|
17509
|
-
return list;
|
|
17510
|
-
}
|
|
17511
|
-
|
|
17512
17522
|
/**
|
|
17513
17523
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
17514
17524
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -17556,11 +17566,8 @@ const flip = function (options) {
|
|
|
17556
17566
|
overflows.push(overflow[side]);
|
|
17557
17567
|
}
|
|
17558
17568
|
if (checkCrossAxis) {
|
|
17559
|
-
const
|
|
17560
|
-
|
|
17561
|
-
cross
|
|
17562
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
17563
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
17569
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
17570
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
17564
17571
|
}
|
|
17565
17572
|
overflowsData = [...overflowsData, {
|
|
17566
17573
|
placement,
|
|
@@ -17688,6 +17695,8 @@ const hide = function (options) {
|
|
|
17688
17695
|
};
|
|
17689
17696
|
};
|
|
17690
17697
|
|
|
17698
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
17699
|
+
// Derivable.
|
|
17691
17700
|
async function convertValueToCoords(state, options) {
|
|
17692
17701
|
const {
|
|
17693
17702
|
placement,
|
|
@@ -17697,7 +17706,7 @@ async function convertValueToCoords(state, options) {
|
|
|
17697
17706
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
17698
17707
|
const side = getSide(placement);
|
|
17699
17708
|
const alignment = getAlignment(placement);
|
|
17700
|
-
const isVertical =
|
|
17709
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
17701
17710
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
17702
17711
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
17703
17712
|
const rawValue = evaluate(options, state);
|
|
@@ -17758,10 +17767,6 @@ const offset = function (options) {
|
|
|
17758
17767
|
};
|
|
17759
17768
|
};
|
|
17760
17769
|
|
|
17761
|
-
function getCrossAxis(axis) {
|
|
17762
|
-
return axis === 'x' ? 'y' : 'x';
|
|
17763
|
-
}
|
|
17764
|
-
|
|
17765
17770
|
/**
|
|
17766
17771
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
17767
17772
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -17802,8 +17807,8 @@ const shift = function (options) {
|
|
|
17802
17807
|
y
|
|
17803
17808
|
};
|
|
17804
17809
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
17805
|
-
const
|
|
17806
|
-
const
|
|
17810
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
17811
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
17807
17812
|
let mainAxisCoord = coords[mainAxis];
|
|
17808
17813
|
let crossAxisCoord = coords[crossAxis];
|
|
17809
17814
|
if (checkMainAxis) {
|
|
@@ -17811,14 +17816,14 @@ const shift = function (options) {
|
|
|
17811
17816
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
17812
17817
|
const min = mainAxisCoord + overflow[minSide];
|
|
17813
17818
|
const max = mainAxisCoord - overflow[maxSide];
|
|
17814
|
-
mainAxisCoord =
|
|
17819
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
17815
17820
|
}
|
|
17816
17821
|
if (checkCrossAxis) {
|
|
17817
17822
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
17818
17823
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
17819
17824
|
const min = crossAxisCoord + overflow[minSide];
|
|
17820
17825
|
const max = crossAxisCoord - overflow[maxSide];
|
|
17821
|
-
crossAxisCoord =
|
|
17826
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
17822
17827
|
}
|
|
17823
17828
|
const limitedCoords = limiter.fn({
|
|
17824
17829
|
...state,
|
|
@@ -17836,18 +17841,6 @@ const shift = function (options) {
|
|
|
17836
17841
|
};
|
|
17837
17842
|
};
|
|
17838
17843
|
|
|
17839
|
-
function getWindow(node) {
|
|
17840
|
-
var _node$ownerDocument;
|
|
17841
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
17842
|
-
}
|
|
17843
|
-
|
|
17844
|
-
function getComputedStyle$1(element) {
|
|
17845
|
-
return getWindow(element).getComputedStyle(element);
|
|
17846
|
-
}
|
|
17847
|
-
|
|
17848
|
-
function isNode(value) {
|
|
17849
|
-
return value instanceof getWindow(value).Node;
|
|
17850
|
-
}
|
|
17851
17844
|
function getNodeName(node) {
|
|
17852
17845
|
if (isNode(node)) {
|
|
17853
17846
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -17857,16 +17850,29 @@ function getNodeName(node) {
|
|
|
17857
17850
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
17858
17851
|
return '#document';
|
|
17859
17852
|
}
|
|
17860
|
-
|
|
17853
|
+
function getWindow(node) {
|
|
17854
|
+
var _node$ownerDocument;
|
|
17855
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
17856
|
+
}
|
|
17857
|
+
function getDocumentElement(node) {
|
|
17858
|
+
var _ref;
|
|
17859
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
17860
|
+
}
|
|
17861
|
+
function isNode(value) {
|
|
17862
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
17863
|
+
}
|
|
17864
|
+
function isElement(value) {
|
|
17865
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
17866
|
+
}
|
|
17861
17867
|
function isHTMLElement(value) {
|
|
17862
17868
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
17863
17869
|
}
|
|
17864
|
-
function isShadowRoot(
|
|
17870
|
+
function isShadowRoot(value) {
|
|
17865
17871
|
// Browsers without `ShadowRoot` support.
|
|
17866
17872
|
if (typeof ShadowRoot === 'undefined') {
|
|
17867
17873
|
return false;
|
|
17868
17874
|
}
|
|
17869
|
-
return
|
|
17875
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
17870
17876
|
}
|
|
17871
17877
|
function isOverflowElement(element) {
|
|
17872
17878
|
const {
|
|
@@ -17881,27 +17887,83 @@ function isTableElement(element) {
|
|
|
17881
17887
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
17882
17888
|
}
|
|
17883
17889
|
function isContainingBlock(element) {
|
|
17884
|
-
const
|
|
17890
|
+
const webkit = isWebKit();
|
|
17885
17891
|
const css = getComputedStyle$1(element);
|
|
17886
17892
|
|
|
17887
17893
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
17888
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !
|
|
17894
|
+
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));
|
|
17889
17895
|
}
|
|
17890
|
-
function
|
|
17896
|
+
function getContainingBlock(element) {
|
|
17897
|
+
let currentNode = getParentNode(element);
|
|
17898
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
17899
|
+
if (isContainingBlock(currentNode)) {
|
|
17900
|
+
return currentNode;
|
|
17901
|
+
} else {
|
|
17902
|
+
currentNode = getParentNode(currentNode);
|
|
17903
|
+
}
|
|
17904
|
+
}
|
|
17905
|
+
return null;
|
|
17906
|
+
}
|
|
17907
|
+
function isWebKit() {
|
|
17891
17908
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
17892
17909
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
17893
17910
|
}
|
|
17894
17911
|
function isLastTraversableNode(node) {
|
|
17895
17912
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
17896
17913
|
}
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17914
|
+
function getComputedStyle$1(element) {
|
|
17915
|
+
return getWindow(element).getComputedStyle(element);
|
|
17916
|
+
}
|
|
17917
|
+
function getNodeScroll(element) {
|
|
17918
|
+
if (isElement(element)) {
|
|
17919
|
+
return {
|
|
17920
|
+
scrollLeft: element.scrollLeft,
|
|
17921
|
+
scrollTop: element.scrollTop
|
|
17922
|
+
};
|
|
17923
|
+
}
|
|
17924
|
+
return {
|
|
17925
|
+
scrollLeft: element.pageXOffset,
|
|
17926
|
+
scrollTop: element.pageYOffset
|
|
17927
|
+
};
|
|
17928
|
+
}
|
|
17929
|
+
function getParentNode(node) {
|
|
17930
|
+
if (getNodeName(node) === 'html') {
|
|
17931
|
+
return node;
|
|
17932
|
+
}
|
|
17933
|
+
const result =
|
|
17934
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
17935
|
+
node.assignedSlot ||
|
|
17936
|
+
// DOM Element detected.
|
|
17937
|
+
node.parentNode ||
|
|
17938
|
+
// ShadowRoot detected.
|
|
17939
|
+
isShadowRoot(node) && node.host ||
|
|
17940
|
+
// Fallback.
|
|
17941
|
+
getDocumentElement(node);
|
|
17942
|
+
return isShadowRoot(result) ? result.host : result;
|
|
17943
|
+
}
|
|
17944
|
+
function getNearestOverflowAncestor(node) {
|
|
17945
|
+
const parentNode = getParentNode(node);
|
|
17946
|
+
if (isLastTraversableNode(parentNode)) {
|
|
17947
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
17948
|
+
}
|
|
17949
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
17950
|
+
return parentNode;
|
|
17951
|
+
}
|
|
17952
|
+
return getNearestOverflowAncestor(parentNode);
|
|
17953
|
+
}
|
|
17954
|
+
function getOverflowAncestors(node, list) {
|
|
17955
|
+
var _node$ownerDocument2;
|
|
17956
|
+
if (list === void 0) {
|
|
17957
|
+
list = [];
|
|
17958
|
+
}
|
|
17959
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
17960
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
17961
|
+
const win = getWindow(scrollableAncestor);
|
|
17962
|
+
if (isBody) {
|
|
17963
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
17964
|
+
}
|
|
17965
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
17966
|
+
}
|
|
17905
17967
|
|
|
17906
17968
|
function getCssDimensions(element) {
|
|
17907
17969
|
const css = getComputedStyle$1(element);
|
|
@@ -17924,10 +17986,6 @@ function getCssDimensions(element) {
|
|
|
17924
17986
|
};
|
|
17925
17987
|
}
|
|
17926
17988
|
|
|
17927
|
-
function isElement(value) {
|
|
17928
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
17929
|
-
}
|
|
17930
|
-
|
|
17931
17989
|
function unwrapElement(element) {
|
|
17932
17990
|
return !isElement(element) ? element.contextElement : element;
|
|
17933
17991
|
}
|
|
@@ -17963,7 +18021,7 @@ function getScale(element) {
|
|
|
17963
18021
|
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
17964
18022
|
function getVisualOffsets(element) {
|
|
17965
18023
|
const win = getWindow(element);
|
|
17966
|
-
if (!
|
|
18024
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
17967
18025
|
return noOffsets;
|
|
17968
18026
|
}
|
|
17969
18027
|
return {
|
|
@@ -18012,7 +18070,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
18012
18070
|
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
18013
18071
|
const iframeScale = getScale(currentIFrame);
|
|
18014
18072
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
18015
|
-
const css = getComputedStyle(currentIFrame);
|
|
18073
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
18016
18074
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
18017
18075
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
18018
18076
|
x *= iframeScale.x;
|
|
@@ -18032,24 +18090,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
18032
18090
|
});
|
|
18033
18091
|
}
|
|
18034
18092
|
|
|
18035
|
-
function getNodeScroll(element) {
|
|
18036
|
-
if (isElement(element)) {
|
|
18037
|
-
return {
|
|
18038
|
-
scrollLeft: element.scrollLeft,
|
|
18039
|
-
scrollTop: element.scrollTop
|
|
18040
|
-
};
|
|
18041
|
-
}
|
|
18042
|
-
return {
|
|
18043
|
-
scrollLeft: element.pageXOffset,
|
|
18044
|
-
scrollTop: element.pageYOffset
|
|
18045
|
-
};
|
|
18046
|
-
}
|
|
18047
|
-
|
|
18048
|
-
function getDocumentElement(node) {
|
|
18049
|
-
var _ref;
|
|
18050
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
18051
|
-
}
|
|
18052
|
-
|
|
18053
18093
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
18054
18094
|
let {
|
|
18055
18095
|
rect,
|
|
@@ -18117,47 +18157,6 @@ function getDocumentRect(element) {
|
|
|
18117
18157
|
};
|
|
18118
18158
|
}
|
|
18119
18159
|
|
|
18120
|
-
function getParentNode(node) {
|
|
18121
|
-
if (getNodeName(node) === 'html') {
|
|
18122
|
-
return node;
|
|
18123
|
-
}
|
|
18124
|
-
const result =
|
|
18125
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
18126
|
-
node.assignedSlot ||
|
|
18127
|
-
// DOM Element detected.
|
|
18128
|
-
node.parentNode ||
|
|
18129
|
-
// ShadowRoot detected.
|
|
18130
|
-
isShadowRoot(node) && node.host ||
|
|
18131
|
-
// Fallback.
|
|
18132
|
-
getDocumentElement(node);
|
|
18133
|
-
return isShadowRoot(result) ? result.host : result;
|
|
18134
|
-
}
|
|
18135
|
-
|
|
18136
|
-
function getNearestOverflowAncestor(node) {
|
|
18137
|
-
const parentNode = getParentNode(node);
|
|
18138
|
-
if (isLastTraversableNode(parentNode)) {
|
|
18139
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
18140
|
-
}
|
|
18141
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
18142
|
-
return parentNode;
|
|
18143
|
-
}
|
|
18144
|
-
return getNearestOverflowAncestor(parentNode);
|
|
18145
|
-
}
|
|
18146
|
-
|
|
18147
|
-
function getOverflowAncestors(node, list) {
|
|
18148
|
-
var _node$ownerDocument;
|
|
18149
|
-
if (list === void 0) {
|
|
18150
|
-
list = [];
|
|
18151
|
-
}
|
|
18152
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
18153
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
18154
|
-
const win = getWindow(scrollableAncestor);
|
|
18155
|
-
if (isBody) {
|
|
18156
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
18157
|
-
}
|
|
18158
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
18159
|
-
}
|
|
18160
|
-
|
|
18161
18160
|
function getViewportRect(element, strategy) {
|
|
18162
18161
|
const win = getWindow(element);
|
|
18163
18162
|
const html = getDocumentElement(element);
|
|
@@ -18169,7 +18168,7 @@ function getViewportRect(element, strategy) {
|
|
|
18169
18168
|
if (visualViewport) {
|
|
18170
18169
|
width = visualViewport.width;
|
|
18171
18170
|
height = visualViewport.height;
|
|
18172
|
-
const visualViewportBased =
|
|
18171
|
+
const visualViewportBased = isWebKit();
|
|
18173
18172
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
18174
18173
|
x = visualViewport.offsetLeft;
|
|
18175
18174
|
y = visualViewport.offsetTop;
|
|
@@ -18306,7 +18305,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
18306
18305
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
18307
18306
|
scroll = getNodeScroll(offsetParent);
|
|
18308
18307
|
}
|
|
18309
|
-
if (
|
|
18308
|
+
if (isOffsetParentAnElement) {
|
|
18310
18309
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
18311
18310
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
18312
18311
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
@@ -18331,17 +18330,6 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
18331
18330
|
}
|
|
18332
18331
|
return element.offsetParent;
|
|
18333
18332
|
}
|
|
18334
|
-
function getContainingBlock(element) {
|
|
18335
|
-
let currentNode = getParentNode(element);
|
|
18336
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
18337
|
-
if (isContainingBlock(currentNode)) {
|
|
18338
|
-
return currentNode;
|
|
18339
|
-
} else {
|
|
18340
|
-
currentNode = getParentNode(currentNode);
|
|
18341
|
-
}
|
|
18342
|
-
}
|
|
18343
|
-
return null;
|
|
18344
|
-
}
|
|
18345
18333
|
|
|
18346
18334
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
18347
18335
|
// such as table ancestors and cross browser bugs.
|
|
@@ -18379,7 +18367,7 @@ const getElementRects = async function (_ref) {
|
|
|
18379
18367
|
};
|
|
18380
18368
|
|
|
18381
18369
|
function isRTL(element) {
|
|
18382
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
18370
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
18383
18371
|
}
|
|
18384
18372
|
|
|
18385
18373
|
const platform = {
|
|
@@ -34058,7 +34046,7 @@ class ShellPanel {
|
|
|
34058
34046
|
const roundedWidth = Math.round(width);
|
|
34059
34047
|
this.contentWidth =
|
|
34060
34048
|
typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
|
|
34061
|
-
? clamp(roundedWidth, contentWidthMin, contentWidthMax)
|
|
34049
|
+
? clamp$1(roundedWidth, contentWidthMin, contentWidthMax)
|
|
34062
34050
|
: roundedWidth;
|
|
34063
34051
|
}
|
|
34064
34052
|
updateAriaValues() {
|
|
@@ -34077,7 +34065,7 @@ class ShellPanel {
|
|
|
34077
34065
|
const roundedWidth = Math.round(height);
|
|
34078
34066
|
this.contentHeight =
|
|
34079
34067
|
typeof contentHeightMax === "number" && typeof contentHeightMin === "number"
|
|
34080
|
-
? clamp(roundedWidth, contentHeightMin, contentHeightMax)
|
|
34068
|
+
? clamp$1(roundedWidth, contentHeightMin, contentHeightMax)
|
|
34081
34069
|
: roundedWidth;
|
|
34082
34070
|
}
|
|
34083
34071
|
updateWidths(computedStyle) {
|
|
@@ -34734,7 +34722,7 @@ class Slider {
|
|
|
34734
34722
|
* @internal
|
|
34735
34723
|
*/
|
|
34736
34724
|
clamp(value, prop) {
|
|
34737
|
-
value = clamp(value, this.min, this.max);
|
|
34725
|
+
value = clamp$1(value, this.min, this.max);
|
|
34738
34726
|
// ensure that maxValue and minValue don't swap positions
|
|
34739
34727
|
if (prop === "maxValue") {
|
|
34740
34728
|
value = Math.max(value, this.minValue);
|