@esri/calcite-components 1.7.0-next.4 → 1.7.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-24a04570.js → p-00b92671.js} +2 -2
- package/dist/calcite/{p-fd83b229.js → p-0329ee5a.js} +2 -2
- package/dist/calcite/{p-1ea7baa2.entry.js → p-04bab967.entry.js} +2 -2
- package/dist/calcite/{p-5abbe3b0.js → p-0587b6fd.js} +3 -3
- package/dist/calcite/{p-0b1a8f7d.entry.js → p-0732cd00.entry.js} +2 -2
- package/dist/calcite/{p-6f739727.entry.js → p-0ae506bb.entry.js} +2 -2
- package/dist/calcite/{p-494a4d07.entry.js → p-0c22fd40.entry.js} +2 -2
- package/dist/calcite/{p-2913e63a.js → p-0d152c9b.js} +1 -1
- package/dist/calcite/{p-8996edbd.entry.js → p-12339dc2.entry.js} +2 -2
- package/dist/calcite/{p-8d9636c4.js → p-128d6f52.js} +2 -2
- package/dist/calcite/{p-34dda03e.js → p-140a11a6.js} +2 -2
- package/dist/calcite/{p-071893ea.js → p-15e7b7c8.js} +2 -2
- package/dist/calcite/{p-95ffd68f.js → p-16983aad.js} +2 -2
- package/dist/calcite/{p-1d8cba28.entry.js → p-1aade03c.entry.js} +2 -2
- package/dist/calcite/{p-e8646fd6.js → p-1bd55f53.js} +2 -2
- package/dist/calcite/{p-2db56a67.js → p-1ed8a9be.js} +2 -2
- package/dist/calcite/p-20811d6f.entry.js +6 -0
- package/dist/calcite/{p-ae0e8b2a.js → p-2286c257.js} +2 -2
- package/dist/calcite/{p-815a47e5.entry.js → p-2948ceef.entry.js} +2 -2
- package/dist/calcite/{p-9ae5ecfc.entry.js → p-2b619e72.entry.js} +2 -2
- package/dist/calcite/{p-33c53849.entry.js → p-2de5fc94.entry.js} +2 -2
- package/dist/calcite/{p-57a3c3b9.js → p-2f940479.js} +2 -2
- package/dist/calcite/{p-4ebd0f07.js → p-31a64fe3.js} +2 -2
- package/dist/calcite/{p-7397c76a.entry.js → p-365e1daa.entry.js} +2 -2
- package/dist/calcite/{p-f367020d.js → p-38d9ae95.js} +2 -2
- package/dist/calcite/{p-86d13b65.js → p-39ce7990.js} +1 -1
- package/dist/calcite/p-3a9b850f.entry.js +6 -0
- package/dist/calcite/{p-7a51ac4c.entry.js → p-3cb5b774.entry.js} +2 -2
- package/dist/calcite/{p-2af6cada.js → p-3fe9bfa7.js} +2 -2
- package/dist/calcite/{p-19da5135.entry.js → p-4193679f.entry.js} +2 -2
- package/dist/calcite/{p-9f65ee0d.entry.js → p-42a1b872.entry.js} +2 -2
- package/dist/calcite/{p-d913961d.entry.js → p-42b8399f.entry.js} +2 -2
- package/dist/calcite/{p-a08baad4.js → p-431172f7.js} +2 -2
- package/dist/calcite/{p-5ecd79ef.js → p-43ab7880.js} +2 -2
- package/dist/calcite/{p-06efa205.entry.js → p-48a565a4.entry.js} +2 -2
- package/dist/calcite/{p-e6bee129.js → p-4c6bb987.js} +2 -2
- package/dist/calcite/{p-b5a0dfaf.js → p-524a6458.js} +2 -2
- package/dist/calcite/{p-fa593dab.js → p-526fd00e.js} +1 -1
- package/dist/calcite/{p-9d4d5dd9.js → p-53680910.js} +2 -2
- package/dist/calcite/{p-83389707.entry.js → p-53a053a5.entry.js} +2 -2
- package/dist/calcite/{p-63bd46ea.js → p-547245c5.js} +2 -2
- package/dist/calcite/{p-a4f436d9.entry.js → p-54c64566.entry.js} +2 -2
- package/dist/calcite/{p-64d6c38e.js → p-564ed46f.js} +2 -2
- package/dist/calcite/{p-bbf7d3a2.entry.js → p-570952eb.entry.js} +2 -2
- package/dist/calcite/{p-e4fadb0c.js → p-5969d8d2.js} +2 -2
- package/dist/calcite/{p-2d67a7da.entry.js → p-5a041857.entry.js} +2 -2
- package/dist/calcite/{p-1efcaceb.js → p-5ba692bc.js} +2 -2
- package/dist/calcite/{p-b73522a5.entry.js → p-5c1e7ffc.entry.js} +2 -2
- package/dist/calcite/{p-c6ac58aa.entry.js → p-5c58962e.entry.js} +2 -2
- package/dist/calcite/{p-9cf43b0b.entry.js → p-5debfcb6.entry.js} +2 -2
- package/dist/calcite/{p-7753ea58.js → p-5edb2b85.js} +1 -1
- package/dist/calcite/{p-ade3d624.entry.js → p-5f2be4f3.entry.js} +2 -2
- package/dist/calcite/{p-8a85532a.entry.js → p-5fdc44bd.entry.js} +2 -2
- package/dist/calcite/p-614433dd.entry.js +6 -0
- package/dist/calcite/{p-6786c470.js → p-61df1de9.js} +2 -2
- package/dist/calcite/{p-0d90ba77.js → p-664fa860.js} +2 -2
- package/dist/calcite/p-666cb5ee.js +6 -0
- package/dist/calcite/{p-e6b0a68b.entry.js → p-67daeee5.entry.js} +2 -2
- package/dist/calcite/{p-40ef42ff.entry.js → p-69d45761.entry.js} +2 -2
- package/dist/calcite/{p-5174a4c9.js → p-6e905e1a.js} +1 -1
- package/dist/calcite/p-708fb58c.js +6 -0
- package/dist/calcite/{p-e87947a3.js → p-709adbb3.js} +1 -1
- package/dist/calcite/{p-88f95418.js → p-71355893.js} +2 -2
- package/dist/calcite/{p-c34a6871.entry.js → p-71fde688.entry.js} +2 -2
- package/dist/calcite/{p-1b00fd5d.js → p-734cd68c.js} +2 -2
- package/dist/calcite/{p-80fa67da.js → p-7375c640.js} +2 -2
- package/dist/calcite/{p-e5f2b182.js → p-7594c030.js} +1 -1
- package/dist/calcite/{p-80920eba.entry.js → p-784662b6.entry.js} +2 -2
- package/dist/calcite/{p-e13df309.js → p-7b97ac8f.js} +1 -1
- package/dist/calcite/{p-8ab37b32.js → p-7c0e2632.js} +2 -2
- package/dist/calcite/{p-1aad8824.entry.js → p-7e26775f.entry.js} +2 -2
- package/dist/calcite/{p-84a54f23.entry.js → p-7e4b0e5f.entry.js} +2 -2
- package/dist/calcite/{p-8a490936.entry.js → p-7ea8bb9a.entry.js} +2 -2
- package/dist/calcite/{p-50058833.entry.js → p-8035c2a4.entry.js} +2 -2
- package/dist/calcite/{p-84f32293.js → p-81a522cf.js} +2 -2
- package/dist/calcite/{p-aa151541.entry.js → p-82677246.entry.js} +2 -2
- package/dist/calcite/{p-c6969581.js → p-826ae8d7.js} +2 -2
- package/dist/calcite/{p-424df466.js → p-8645de09.js} +2 -2
- package/dist/calcite/{p-e5b77853.entry.js → p-86b94085.entry.js} +2 -2
- package/dist/calcite/p-8aed4725.entry.js +6 -0
- package/dist/calcite/{p-8ad7e9ae.entry.js → p-8b12b008.entry.js} +2 -2
- package/dist/calcite/{p-b916268c.js → p-8c0e9246.js} +2 -2
- package/dist/calcite/{p-12a36cf3.js → p-8d528281.js} +2 -2
- package/dist/calcite/{p-66d24eb6.js → p-8d912df9.js} +2 -2
- package/dist/calcite/{p-706a2894.js → p-8e2fd87c.js} +2 -2
- package/dist/calcite/{p-961de992.entry.js → p-9043867a.entry.js} +2 -2
- package/dist/calcite/{p-d09e07eb.js → p-928f6702.js} +2 -2
- package/dist/calcite/{p-de08adce.entry.js → p-930fd7b4.entry.js} +2 -2
- package/dist/calcite/{p-6da2d073.js → p-94609ba4.js} +1 -1
- package/dist/calcite/{p-278fa1dc.entry.js → p-9499e23f.entry.js} +2 -2
- package/dist/calcite/{p-db2db2e1.entry.js → p-962a7b47.entry.js} +2 -2
- package/dist/calcite/{p-bc385eab.entry.js → p-996e8a5c.entry.js} +2 -2
- package/dist/calcite/{p-43b7a5d7.js → p-99fd1118.js} +2 -2
- package/dist/calcite/p-9a7e61c0.entry.js +6 -0
- package/dist/calcite/{p-2d08b1c8.js → p-9b0a5be2.js} +2 -2
- package/dist/calcite/{p-6cc85a0f.entry.js → p-a0d6e0db.entry.js} +2 -2
- package/dist/calcite/{p-46d2416d.js → p-a12331b7.js} +2 -2
- package/dist/calcite/{p-187a3b0e.entry.js → p-a1b5ec33.entry.js} +2 -2
- package/dist/calcite/{p-4f4948c4.js → p-a39e03e4.js} +1 -1
- package/dist/calcite/{p-0e2f403d.js → p-a643fabd.js} +2 -2
- package/dist/calcite/{p-26f273f6.entry.js → p-a8bb131e.entry.js} +2 -2
- package/dist/calcite/{p-afbdffa6.js → p-a8e16fc4.js} +2 -2
- package/dist/calcite/{p-5a5aca82.js → p-a9e6afba.js} +2 -2
- package/dist/calcite/{p-a7097fe8.entry.js → p-ac412611.entry.js} +2 -2
- package/dist/calcite/p-af304759.js +6 -0
- package/dist/calcite/{p-0940672c.js → p-b1b764c1.js} +1 -1
- package/dist/calcite/{p-a00023a2.js → p-b48caf43.js} +2 -2
- package/dist/calcite/{p-9d74dc5d.entry.js → p-b8797d64.entry.js} +2 -2
- package/dist/calcite/{p-036bce48.entry.js → p-b8ad2c20.entry.js} +2 -2
- package/dist/calcite/{p-eda1cf82.js → p-bbe6a72e.js} +2 -2
- package/dist/calcite/{p-ec9f413e.entry.js → p-bf1607a0.entry.js} +2 -2
- package/dist/calcite/{p-7b32f878.entry.js → p-c0a8db3e.entry.js} +2 -2
- package/dist/calcite/{p-b1170184.entry.js → p-c0eb2f3b.entry.js} +2 -2
- package/dist/calcite/{p-720d1abc.js → p-c5ab3811.js} +2 -2
- package/dist/calcite/{p-32cd410b.js → p-c69462bc.js} +2 -2
- package/dist/calcite/{p-ba7ec4a6.entry.js → p-c6bd8716.entry.js} +2 -2
- package/dist/calcite/p-c77654b7.js +6 -0
- package/dist/calcite/{p-84a7d2e6.js → p-c9e1186e.js} +2 -2
- package/dist/calcite/{p-d3537680.entry.js → p-ce3d1dfa.entry.js} +2 -2
- package/dist/calcite/{p-8269831c.js → p-d01643f2.js} +1 -1
- package/dist/calcite/{p-7183d703.entry.js → p-d0283fe9.entry.js} +2 -2
- package/dist/calcite/p-d4eb41d2.js +6 -0
- package/dist/calcite/{p-599a50f8.entry.js → p-d65610da.entry.js} +2 -2
- package/dist/calcite/{p-ede88609.js → p-d85cab0d.js} +1 -1
- package/dist/calcite/{p-a68be3a9.js → p-d9b24a69.js} +2 -2
- package/dist/calcite/{p-cfc61710.js → p-dabc857e.js} +2 -2
- package/dist/calcite/{p-fe4ca25f.entry.js → p-db84c1f7.entry.js} +2 -2
- package/dist/calcite/{p-adac29af.entry.js → p-dcb5125f.entry.js} +2 -2
- package/dist/calcite/{p-1d026bbf.entry.js → p-dd0572c3.entry.js} +2 -2
- package/dist/calcite/{p-c174da61.entry.js → p-df33660b.entry.js} +2 -2
- package/dist/calcite/{p-d5bf04a5.js → p-dffd1025.js} +2 -2
- package/dist/calcite/{p-a72b6922.js → p-e4832dc4.js} +1 -1
- package/dist/calcite/{p-2e2cb1f6.js → p-e48fb9da.js} +2 -2
- package/dist/calcite/{p-a78e13d7.js → p-e4a93527.js} +2 -2
- package/dist/calcite/{p-5bc5af56.js → p-e7927cc4.js} +1 -1
- package/dist/calcite/{p-695fdfc1.js → p-e7daab30.js} +2 -2
- package/dist/calcite/{p-89bf0848.entry.js → p-ebecca3f.entry.js} +2 -2
- package/dist/calcite/{p-dce04f3f.entry.js → p-edd321ea.entry.js} +2 -2
- package/dist/calcite/{p-93868725.js → p-ee8d741e.js} +2 -2
- package/dist/calcite/{p-099fa358.js → p-ee9f918b.js} +2 -2
- package/dist/calcite/{p-0378a7e5.js → p-ee9fbb12.js} +2 -2
- package/dist/calcite/{p-e8a874f7.js → p-f08cea01.js} +2 -2
- package/dist/calcite/{p-d50e7290.js → p-f0f6270d.js} +2 -2
- package/dist/calcite/{p-498ef211.entry.js → p-f11f32cd.entry.js} +2 -2
- package/dist/calcite/{p-b308d42c.entry.js → p-f1623a5c.entry.js} +2 -2
- package/dist/calcite/{p-3b0ab295.js → p-f4fbe442.js} +2 -2
- package/dist/calcite/{p-251cb0c4.entry.js → p-f73fee6f.entry.js} +2 -2
- package/dist/calcite/{p-6f7f6df8.js → p-f8aa12d9.js} +2 -2
- package/dist/calcite/{p-50931810.js → p-f98b8357.js} +2 -2
- package/dist/calcite/{p-d1240a3f.js → p-fad55de5.js} +2 -2
- package/dist/calcite/{p-4967e68c.js → p-fe64630f.js} +2 -2
- package/dist/cjs/{ExpandToggle-67ce312b.js → ExpandToggle-9fd8f7f2.js} +5 -5
- package/dist/cjs/{FloatingArrow-f4b1dac6.js → FloatingArrow-d01468e0.js} +2 -2
- package/dist/cjs/{Heading-16917e31.js → Heading-5162df5e.js} +2 -2
- package/dist/cjs/{app-globals-1ab37680.js → app-globals-84d2678c.js} +2 -2
- package/dist/cjs/{ar-5fd104e8.js → ar-281b7a16.js} +15 -15
- package/dist/cjs/{array-717684a6.js → array-c0f023e4.js} +1 -1
- package/dist/cjs/{bg-8f54e574.js → bg-3d229ea6.js} +15 -15
- package/dist/cjs/{bs-a9b933b5.js → bs-f91ac99d.js} +15 -15
- package/dist/cjs/{ca-3a4ef0bb.js → ca-0d0d00ac.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 +15 -15
- 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 +53 -49
- 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-9714e091.js → calcite-input-time-picker.calcite-time-picker-aa9264f1.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 +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.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 +5 -5
- 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 +10 -10
- 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 +5 -5
- package/dist/cjs/{conditionalSlot-a8fc48a2.js → conditionalSlot-d0b19c4e.js} +3 -3
- package/dist/cjs/{cs-b84daa7b.js → cs-50715445.js} +15 -15
- package/dist/cjs/{da-2dfb9ed2.js → da-3ec1cacc.js} +15 -15
- package/dist/cjs/{de-at-e19d3f72.js → de-at-f07d71c7.js} +15 -15
- package/dist/cjs/{de-ff9f6cfd.js → de-b5b034af.js} +15 -15
- package/dist/cjs/{de-ch-54b7e47f.js → de-ch-956dbe5a.js} +15 -15
- package/dist/cjs/{debounce-f9b90e2a.js → debounce-15341436.js} +1 -1
- package/dist/cjs/{dom-8af5f622.js → dom-df695e5a.js} +3 -3
- package/dist/cjs/{el-4b71746b.js → el-1676e611.js} +15 -15
- package/dist/cjs/{en-au-556ebf37.js → en-au-b2202f78.js} +15 -15
- package/dist/cjs/{en-ca-64a656a5.js → en-ca-5661374e.js} +15 -15
- package/dist/cjs/{en-gb-5a74f0cb.js → en-gb-a3b0b779.js} +15 -15
- package/dist/cjs/{es-9c9763db.js → es-97223101.js} +15 -15
- package/dist/cjs/{es-mx-5785c076.js → es-mx-eba09322.js} +15 -15
- package/dist/cjs/{et-04b84254.js → et-d4ab87c0.js} +15 -15
- package/dist/cjs/{fi-b191a23c.js → fi-103b64dc.js} +15 -15
- package/dist/cjs/{filter-fc1d98f5.js → filter-4ce0a13a.js} +2 -2
- package/dist/cjs/{floating-ui-3e81c568.js → floating-ui-dca1e98c.js} +3 -3
- package/dist/cjs/{focusTrapComponent-c95a46c2.js → focusTrapComponent-3233b714.js} +2 -2
- package/dist/cjs/{form-ce8744b3.js → form-604f2214.js} +3 -3
- package/dist/cjs/{fr-ch-60d50da0.js → fr-ch-62a64edb.js} +15 -15
- package/dist/cjs/{fr-549c42d5.js → fr-d9c5988f.js} +15 -15
- package/dist/cjs/{guid-04c5a71d.js → guid-ad7f2035.js} +1 -1
- package/dist/cjs/{he-bebab507.js → he-464445c2.js} +15 -15
- package/dist/cjs/{hi-f62e0e97.js → hi-b3b5e03a.js} +15 -15
- package/dist/cjs/{hr-3cce83c8.js → hr-2f612c5a.js} +15 -15
- package/dist/cjs/{hu-ddeacbfb.js → hu-208f6276.js} +15 -15
- package/dist/cjs/{id-95ca0252.js → id-145da095.js} +15 -15
- package/dist/cjs/{index-d4b13c6c.js → index-44d8922c.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-a941e159.js → interactive-cd223268.js} +1 -1
- package/dist/cjs/{it-9c9c61c2.js → it-4c452690.js} +15 -15
- package/dist/cjs/{it-ch-cad7e2c0.js → it-ch-b76fc02b.js} +15 -15
- package/dist/cjs/{ja-bed52d2d.js → ja-f7612208.js} +15 -15
- package/dist/cjs/{key-b180bb8f.js → key-b28a789e.js} +1 -1
- package/dist/cjs/{ko-e572d772.js → ko-05f8c361.js} +15 -15
- package/dist/cjs/{label-fef50b85.js → label-e6735a55.js} +2 -2
- package/dist/cjs/{loadable-5272fddc.js → loadable-7b5c5225.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-1e15200b.js → locale-e06031e1.js} +4 -4
- package/dist/cjs/{lt-ec732800.js → lt-bbb327ae.js} +15 -15
- package/dist/cjs/{lv-d706e61e.js → lv-4ba81bc7.js} +15 -15
- package/dist/cjs/{math-40f2d9df.js → math-ad655d83.js} +1 -1
- package/dist/cjs/{mk-50d6302f.js → mk-d77e726a.js} +15 -15
- package/dist/cjs/{nb-085cb529.js → nb-5a4ee0c4.js} +15 -15
- package/dist/cjs/{nl-b6840689.js → nl-6b2dc9f8.js} +15 -15
- package/dist/cjs/{observers-ae40c667.js → observers-bc8a17d2.js} +1 -1
- package/dist/cjs/{openCloseComponent-4f5fc0b1.js → openCloseComponent-95258e8b.js} +2 -2
- package/dist/cjs/{pl-75119d41.js → pl-7f3e578c.js} +15 -15
- package/dist/cjs/{pt-60ae7fb3.js → pt-8b976bc1.js} +15 -15
- package/dist/cjs/{pt-br-fe124897.js → pt-br-3de471a2.js} +15 -15
- package/dist/cjs/{resources-d7f14c0e.js → resources-0ad10adf.js} +1 -1
- package/dist/cjs/{resources-495042db.js → resources-375e0e60.js} +1 -1
- package/dist/cjs/{resources-a5a528f2.js → resources-8e3c05a1.js} +1 -1
- package/dist/cjs/{resources-4a2b35ac.js → resources-ace81617.js} +5 -5
- package/dist/cjs/{resources-b9c6fe41.js → resources-d9c88242.js} +1 -1
- package/dist/cjs/{resources-232c1bd7.js → resources-e07d961c.js} +1 -1
- package/dist/cjs/{resources-eabdf529.js → resources-e71c7586.js} +1 -1
- package/dist/cjs/{ro-a1161330.js → ro-b67753e1.js} +15 -15
- package/dist/cjs/{ru-15f5069a.js → ru-c6871cad.js} +15 -15
- package/dist/cjs/{sk-f25eb16d.js → sk-a75eeb6e.js} +15 -15
- package/dist/cjs/{sl-c759048e.js → sl-18e449b0.js} +15 -15
- package/dist/cjs/{sortableComponent-c9c8d6fb.js → sortableComponent-f39b4789.js} +2 -2
- package/dist/cjs/{sr-fa454dc0.js → sr-3c97120b.js} +15 -15
- package/dist/cjs/{sv-572fadc9.js → sv-c8d3b286.js} +15 -15
- package/dist/cjs/{t9n-a14859e8.js → t9n-bd685a11.js} +3 -3
- package/dist/cjs/{th-5733f4cd.js → th-8d17fab5.js} +15 -15
- package/dist/cjs/{throttle-f708d70d.js → throttle-7f4374cd.js} +2 -2
- package/dist/cjs/{tr-5e1911a8.js → tr-189791fc.js} +15 -15
- package/dist/cjs/{uk-4da94419.js → uk-f4e9600c.js} +15 -15
- package/dist/cjs/{utils-146321b9.js → utils-94d37e43.js} +3 -3
- package/dist/cjs/{utils-44acfb2d.js → utils-df3b741b.js} +1 -1
- package/dist/cjs/{vi-06580b4d.js → vi-07306dc6.js} +15 -15
- package/dist/cjs/{zh-cn-92b5c93c.js → zh-cn-dc51729f.js} +15 -15
- package/dist/cjs/{zh-hk-6e6e622b.js → zh-hk-82ab959b.js} +15 -15
- package/dist/cjs/{zh-tw-ac5dc147.js → zh-tw-1385f2c7.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.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +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 +33 -25
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +46 -29
- package/dist/collection/components/dropdown-item/dropdown-item.js +62 -11
- package/dist/collection/components/dropdown-item/resources.js +2 -4
- 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/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.css +28 -26
- 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/meter/meter.js +1 -1
- package/dist/collection/components/meter/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 +2 -2
- 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 +1 -1
- 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 +22 -17
- package/dist/components/calcite-dropdown-item.js +10 -26
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- 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-meter.js +2 -2
- package/dist/components/calcite-modal.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -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 +2 -2
- package/dist/components/dropdown.js +11 -5
- 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 +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- 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 +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- 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 +12 -12
- package/dist/components/resources3.js +10 -6
- package/dist/components/resources4.js +15 -0
- 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 +4 -4
- 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 +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +2 -2
- 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/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-046b9f6b.js → ExpandToggle-295b204a.js} +5 -5
- package/dist/esm/{FloatingArrow-b3b6b3ef.js → FloatingArrow-c308effa.js} +2 -2
- package/dist/esm/{Heading-4b927866.js → Heading-b30c397c.js} +2 -2
- package/dist/esm/{app-globals-503c2351.js → app-globals-6a4700e0.js} +2 -2
- package/dist/esm/{ar-b6ff1215.js → ar-cd881e3a.js} +15 -15
- package/dist/esm/{array-49d51a71.js → array-b6ba388c.js} +1 -1
- package/dist/esm/{bg-1b73ab4b.js → bg-05f08de3.js} +15 -15
- package/dist/esm/{bs-a8f9aad2.js → bs-1a293503.js} +15 -15
- package/dist/esm/{ca-78654d6b.js → ca-99a8e204.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 +15 -15
- 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 +53 -49
- 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-12c5e582.js → calcite-input-time-picker.calcite-time-picker-314f60d8.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 +14 -14
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.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 +5 -5
- 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 +10 -10
- 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 +6 -6
- package/dist/esm/{conditionalSlot-9d7134a8.js → conditionalSlot-e9314782.js} +3 -3
- package/dist/esm/{cs-6cd39c70.js → cs-7f5a6636.js} +15 -15
- package/dist/esm/{da-3077d025.js → da-f7a33c90.js} +15 -15
- package/dist/esm/{de-at-bea8696e.js → de-at-ff4901f6.js} +15 -15
- package/dist/esm/{de-ch-d7696056.js → de-ch-a6340632.js} +15 -15
- package/dist/esm/{de-2d74d1fa.js → de-f2cf8189.js} +15 -15
- package/dist/esm/{debounce-27e72515.js → debounce-815b5f24.js} +1 -1
- package/dist/esm/{dom-e7f0b7e5.js → dom-8388c0d0.js} +3 -3
- package/dist/esm/{el-cb98c6c8.js → el-e0950102.js} +15 -15
- package/dist/esm/{en-au-cc1ff551.js → en-au-6e9d9a69.js} +15 -15
- package/dist/esm/{en-ca-1117d74a.js → en-ca-d9991a3b.js} +15 -15
- package/dist/esm/{en-gb-f887ba10.js → en-gb-6ed9dbdf.js} +15 -15
- package/dist/esm/{es-7ff98015.js → es-96627ad8.js} +15 -15
- package/dist/esm/{es-mx-a531ca83.js → es-mx-f3cf261e.js} +15 -15
- package/dist/esm/{et-e7dc8152.js → et-9ed0601d.js} +15 -15
- package/dist/esm/{fi-6b392442.js → fi-21bd9b85.js} +15 -15
- package/dist/esm/{filter-e866d99d.js → filter-dfa0fc0d.js} +2 -2
- package/dist/esm/{floating-ui-647bc937.js → floating-ui-db139fc4.js} +3 -3
- package/dist/esm/{focusTrapComponent-31cd7bb5.js → focusTrapComponent-4775730a.js} +2 -2
- package/dist/esm/{form-f1aa860d.js → form-fbb14247.js} +3 -3
- package/dist/esm/{fr-ch-44ffe1ac.js → fr-ch-8e24c9cc.js} +15 -15
- package/dist/esm/{fr-9e4a9524.js → fr-e1d0cb21.js} +15 -15
- package/dist/esm/{guid-92f1205a.js → guid-dc1bcc06.js} +1 -1
- package/dist/esm/{he-c0f947f2.js → he-b5f29cb6.js} +15 -15
- package/dist/esm/{hi-46ea1cf2.js → hi-28a67cbd.js} +15 -15
- package/dist/esm/{hr-0e230b99.js → hr-3a1f5028.js} +15 -15
- package/dist/esm/{hu-da2cf47a.js → hu-38b7557f.js} +15 -15
- package/dist/esm/{id-e219b436.js → id-1fa586bd.js} +15 -15
- package/dist/esm/{index-884ed6b9.js → index-73a50cc4.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-2bf5aa15.js → interactive-5464180d.js} +1 -1
- package/dist/esm/{it-03be8a76.js → it-54ebdbf6.js} +15 -15
- package/dist/esm/{it-ch-bfac8466.js → it-ch-164f0122.js} +15 -15
- package/dist/esm/{ja-2c238559.js → ja-1e2b187c.js} +15 -15
- package/dist/esm/{key-eebe898b.js → key-b798f143.js} +1 -1
- package/dist/esm/{ko-5f5bc4d4.js → ko-a0044048.js} +15 -15
- package/dist/esm/{label-e4c01692.js → label-26daa5e0.js} +2 -2
- package/dist/esm/{loadable-0bd060d5.js → loadable-69b94200.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-4760b4ee.js → locale-f7694504.js} +4 -4
- package/dist/esm/{lt-ffccbdbb.js → lt-573a58b8.js} +15 -15
- package/dist/esm/{lv-67c0912a.js → lv-1e856c58.js} +15 -15
- package/dist/esm/{math-8e74b030.js → math-2670c795.js} +1 -1
- package/dist/esm/{mk-549e96ca.js → mk-f8ec92a2.js} +15 -15
- package/dist/esm/{nb-1616a253.js → nb-ece736a6.js} +15 -15
- package/dist/esm/{nl-d248ff3b.js → nl-d375aaf3.js} +15 -15
- package/dist/esm/{observers-2b0d8369.js → observers-d799c465.js} +1 -1
- package/dist/esm/{openCloseComponent-bd8a82d4.js → openCloseComponent-c45a6e85.js} +2 -2
- package/dist/esm/{pl-94144eff.js → pl-935c71c4.js} +15 -15
- package/dist/esm/{pt-br-eebec86c.js → pt-br-1f67cbfc.js} +15 -15
- package/dist/esm/{pt-35faafd1.js → pt-c44cc710.js} +15 -15
- package/dist/esm/{resources-c74f3725.js → resources-130f50b7.js} +1 -1
- package/dist/esm/{resources-72165df6.js → resources-34ae0df1.js} +1 -1
- package/dist/esm/{resources-17ea410e.js → resources-39a0df5e.js} +1 -1
- package/dist/esm/{resources-36a9f17d.js → resources-70db765d.js} +1 -1
- package/dist/esm/{resources-723e6286.js → resources-83e7ac37.js} +1 -1
- package/dist/esm/{resources-3bd26a13.js → resources-b0df3bd6.js} +1 -1
- package/dist/esm/{resources-6f116d96.js → resources-dab75c13.js} +5 -5
- package/dist/esm/{ro-7a9efb06.js → ro-ab4d506f.js} +15 -15
- package/dist/esm/{ru-fe3ab9ce.js → ru-1d36b08a.js} +15 -15
- package/dist/esm/{sk-2f2f91ae.js → sk-2d74ff1f.js} +15 -15
- package/dist/esm/{sl-458303cd.js → sl-082728a2.js} +15 -15
- package/dist/esm/{sortableComponent-ef337304.js → sortableComponent-373e7782.js} +2 -2
- package/dist/esm/{sr-435fe009.js → sr-0beea3c2.js} +15 -15
- package/dist/esm/{sv-537c4846.js → sv-796e91c5.js} +15 -15
- package/dist/esm/{t9n-afd6e44e.js → t9n-64957255.js} +3 -3
- package/dist/esm/{th-e66140cc.js → th-acea21ca.js} +15 -15
- package/dist/esm/{throttle-e7f028fb.js → throttle-c44debc9.js} +2 -2
- package/dist/esm/{tr-a4f8dd01.js → tr-9785eb56.js} +15 -15
- package/dist/esm/{uk-c13fac68.js → uk-c6a08d31.js} +15 -15
- package/dist/esm/{utils-f2db8778.js → utils-60d511f1.js} +3 -3
- package/dist/esm/{utils-0de17737.js → utils-c933ba10.js} +1 -1
- package/dist/esm/{vi-d5e6658a.js → vi-fa428376.js} +15 -15
- package/dist/esm/{zh-cn-c8b929e0.js → zh-cn-964fa270.js} +15 -15
- package/dist/esm/{zh-hk-82da09d7.js → zh-hk-bb45cb71.js} +15 -15
- package/dist/esm/{zh-tw-453104ad.js → zh-tw-3f6961df.js} +15 -15
- package/dist/extras/docs-json.json +2 -27
- package/dist/extras/vscode-data.json +1 -16
- 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/dropdown/dropdown.d.ts +3 -4
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +13 -7
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +16 -5
- package/dist/types/components/dropdown-item/resources.d.ts +1 -3
- package/dist/types/components.d.ts +13 -9
- package/hydrate/index.js +214 -208
- package/package.json +2 -2
- package/dist/calcite/p-56d2d513.entry.js +0 -6
- package/dist/calcite/p-75f687fa.js +0 -6
- package/dist/calcite/p-765586ed.entry.js +0 -6
- package/dist/calcite/p-7c4d6a5c.entry.js +0 -6
- package/dist/calcite/p-854590bf.entry.js +0 -6
- package/dist/calcite/p-a662ca87.js +0 -6
- package/dist/calcite/p-af3a55a8.js +0 -6
- package/dist/calcite/p-b96b4ca6.entry.js +0 -6
- package/dist/calcite/p-dc1670fe.js +0 -6
- package/dist/calcite/p-ea46b996.js +0 -6
- package/dist/collection/components/dropdown-group/resources.js +0 -10
- package/dist/types/components/dropdown-group/resources.d.ts +0 -5
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.7.0-next.
|
|
4
|
+
* v1.7.0-next.5
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7022,7 +7022,7 @@ const SLOTS$y = {
|
|
|
7022
7022
|
actionsStart: "actions-start",
|
|
7023
7023
|
actionsEnd: "actions-end",
|
|
7024
7024
|
};
|
|
7025
|
-
const CSS$
|
|
7025
|
+
const CSS$17 = {
|
|
7026
7026
|
icon: "icon",
|
|
7027
7027
|
header: "header",
|
|
7028
7028
|
headerContent: "header-content",
|
|
@@ -7086,28 +7086,28 @@ class AccordionItem {
|
|
|
7086
7086
|
// --------------------------------------------------------------------------
|
|
7087
7087
|
renderActionsStart() {
|
|
7088
7088
|
const { el } = this;
|
|
7089
|
-
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7089
|
+
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$17.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
|
|
7090
7090
|
}
|
|
7091
7091
|
renderActionsEnd() {
|
|
7092
7092
|
const { el } = this;
|
|
7093
|
-
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7093
|
+
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
|
|
7094
7094
|
}
|
|
7095
7095
|
render() {
|
|
7096
7096
|
const { iconFlipRtl } = this;
|
|
7097
7097
|
const dir = getElementDir(this.el);
|
|
7098
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7099
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7098
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$17.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7099
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$17.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7100
7100
|
const { description } = this;
|
|
7101
7101
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7102
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7103
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7104
|
+
} }, hAsync("div", { class: { [CSS$17.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$17.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$17.headerContainer }, iconStartEl, hAsync("div", { class: CSS$17.headerText }, hAsync("span", { class: CSS$17.heading }, this.heading), description ? hAsync("span", { class: CSS$17.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$17.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7105
|
? "chevronDown"
|
|
7106
7106
|
: this.iconType === "caret"
|
|
7107
7107
|
? "caretDown"
|
|
7108
7108
|
: this.expanded
|
|
7109
7109
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7110
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$17.content }, hAsync("slot", null)))));
|
|
7111
7111
|
}
|
|
7112
7112
|
//--------------------------------------------------------------------------
|
|
7113
7113
|
//
|
|
@@ -8027,7 +8027,7 @@ function defaultOnMessagesChange() {
|
|
|
8027
8027
|
mergeMessages(this);
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
const CSS$
|
|
8030
|
+
const CSS$16 = {
|
|
8031
8031
|
button: "button",
|
|
8032
8032
|
buttonTextVisible: "button--text-visible",
|
|
8033
8033
|
buttonCompact: "button--compact",
|
|
@@ -8138,14 +8138,14 @@ class Action {
|
|
|
8138
8138
|
renderTextContainer() {
|
|
8139
8139
|
const { text, textEnabled } = this;
|
|
8140
8140
|
const textContainerClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8141
|
+
[CSS$16.textContainer]: true,
|
|
8142
|
+
[CSS$16.textContainerVisible]: textEnabled,
|
|
8143
8143
|
};
|
|
8144
8144
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8145
8145
|
}
|
|
8146
8146
|
renderIndicatorText() {
|
|
8147
8147
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8148
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8148
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$16.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8149
8149
|
}
|
|
8150
8150
|
renderIconContainer() {
|
|
8151
8151
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8156,18 +8156,18 @@ class Action {
|
|
|
8156
8156
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8157
8157
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8158
8158
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8159
|
-
[CSS$
|
|
8160
|
-
[CSS$
|
|
8159
|
+
[CSS$16.slotContainer]: true,
|
|
8160
|
+
[CSS$16.slotContainerHidden]: loading,
|
|
8161
8161
|
} }, hAsync("slot", null)));
|
|
8162
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8162
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$16.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8163
8163
|
}
|
|
8164
8164
|
render() {
|
|
8165
8165
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8166
8166
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8167
8167
|
const buttonClasses = {
|
|
8168
|
-
[CSS$
|
|
8169
|
-
[CSS$
|
|
8170
|
-
[CSS$
|
|
8168
|
+
[CSS$16.button]: true,
|
|
8169
|
+
[CSS$16.buttonTextVisible]: textEnabled,
|
|
8170
|
+
[CSS$16.buttonCompact]: compact,
|
|
8171
8171
|
};
|
|
8172
8172
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
8173
8173
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
@@ -9479,11 +9479,11 @@ const SLOTS$w = {
|
|
|
9479
9479
|
const ICONS$j = {
|
|
9480
9480
|
menu: "ellipsis",
|
|
9481
9481
|
};
|
|
9482
|
-
const CSS$
|
|
9482
|
+
const CSS$15 = {
|
|
9483
9483
|
container: "container",
|
|
9484
9484
|
};
|
|
9485
9485
|
|
|
9486
|
-
const CSS$
|
|
9486
|
+
const CSS$14 = {
|
|
9487
9487
|
menu: "menu",
|
|
9488
9488
|
defaultTrigger: "default-trigger",
|
|
9489
9489
|
};
|
|
@@ -9583,7 +9583,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9583
9583
|
return actionNode;
|
|
9584
9584
|
};
|
|
9585
9585
|
|
|
9586
|
-
const CSS$
|
|
9586
|
+
const CSS$13 = {
|
|
9587
9587
|
actionGroupEnd: "action-group--end",
|
|
9588
9588
|
};
|
|
9589
9589
|
const SLOTS$u = {
|
|
@@ -9786,7 +9786,7 @@ class ActionBar {
|
|
|
9786
9786
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9787
9787
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9788
9788
|
ref: this.setExpandToggleRef })) : null;
|
|
9789
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9789
|
+
return (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, label: actionsEndGroupLabel, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9790
9790
|
}
|
|
9791
9791
|
render() {
|
|
9792
9792
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9914,7 +9914,7 @@ class ActionGroup {
|
|
|
9914
9914
|
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$j.menu, scale: scale, slot: SLOTS$v.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$w.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$w.menuTooltip, slot: SLOTS$v.tooltip })));
|
|
9915
9915
|
}
|
|
9916
9916
|
render() {
|
|
9917
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9917
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$15.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9918
9918
|
}
|
|
9919
9919
|
static get delegatesFocus() { return true; }
|
|
9920
9920
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10198,7 +10198,7 @@ class ActionMenu {
|
|
|
10198
10198
|
}
|
|
10199
10199
|
renderMenuButton() {
|
|
10200
10200
|
const { label, scale, expanded } = this;
|
|
10201
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10201
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$14.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10202
10202
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10203
10203
|
ref: this.setDefaultMenuButtonEl })));
|
|
10204
10204
|
return menuButtonSlot;
|
|
@@ -10207,7 +10207,7 @@ class ActionMenu {
|
|
|
10207
10207
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10208
10208
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10209
10209
|
const activeDescendantId = activeAction?.id || null;
|
|
10210
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
10210
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$14.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10211
10211
|
}
|
|
10212
10212
|
render() {
|
|
10213
10213
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10243,7 +10243,7 @@ class ActionMenu {
|
|
|
10243
10243
|
}; }
|
|
10244
10244
|
}
|
|
10245
10245
|
|
|
10246
|
-
const CSS$
|
|
10246
|
+
const CSS$12 = {
|
|
10247
10247
|
actionGroupEnd: "action-group--end",
|
|
10248
10248
|
container: "container",
|
|
10249
10249
|
};
|
|
@@ -10368,10 +10368,10 @@ class ActionPad {
|
|
|
10368
10368
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10369
10369
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10370
10370
|
ref: this.setExpandToggleRef })) : null;
|
|
10371
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10371
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10372
10372
|
}
|
|
10373
10373
|
render() {
|
|
10374
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10374
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$12.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10375
10375
|
}
|
|
10376
10376
|
static get delegatesFocus() { return true; }
|
|
10377
10377
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10500,7 +10500,7 @@ const SLOTS$s = {
|
|
|
10500
10500
|
message: "message",
|
|
10501
10501
|
link: "link",
|
|
10502
10502
|
};
|
|
10503
|
-
const CSS$
|
|
10503
|
+
const CSS$11 = {
|
|
10504
10504
|
actionsEnd: "actions-end",
|
|
10505
10505
|
container: "container",
|
|
10506
10506
|
close: "alert-close",
|
|
@@ -10660,10 +10660,10 @@ class Alert {
|
|
|
10660
10660
|
container: true,
|
|
10661
10661
|
queued,
|
|
10662
10662
|
[placement]: true,
|
|
10663
|
-
[CSS$
|
|
10663
|
+
[CSS$11.slottedInShell]: this.slottedInShell,
|
|
10664
10664
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10665
10665
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10666
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$
|
|
10666
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$11.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10667
10667
|
}
|
|
10668
10668
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10669
10669
|
alertSync(event) {
|
|
@@ -11132,7 +11132,7 @@ const Heading = (props, children) => {
|
|
|
11132
11132
|
return hAsync(HeadingTag, { ...props }, children);
|
|
11133
11133
|
};
|
|
11134
11134
|
|
|
11135
|
-
const CSS$
|
|
11135
|
+
const CSS$10 = {
|
|
11136
11136
|
container: "container",
|
|
11137
11137
|
content: "content",
|
|
11138
11138
|
headerContainer: "header-container",
|
|
@@ -11257,30 +11257,30 @@ class Block {
|
|
|
11257
11257
|
renderIcon() {
|
|
11258
11258
|
const { loading, messages, status } = this;
|
|
11259
11259
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$r.icon);
|
|
11260
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11261
|
-
[CSS$
|
|
11262
|
-
[CSS$
|
|
11263
|
-
[CSS$
|
|
11264
|
-
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11260
|
+
return loading ? (hAsync("div", { class: CSS$10.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$10.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11261
|
+
[CSS$10.statusIcon]: true,
|
|
11262
|
+
[CSS$10.valid]: status == "valid",
|
|
11263
|
+
[CSS$10.invalid]: status == "invalid",
|
|
11264
|
+
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$10.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
|
|
11265
11265
|
}
|
|
11266
11266
|
renderTitle() {
|
|
11267
11267
|
const { heading, headingLevel, description } = this;
|
|
11268
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11268
|
+
return heading || description ? (hAsync("div", { class: CSS$10.title }, hAsync(Heading, { class: CSS$10.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$10.description }, description) : null)) : null;
|
|
11269
11269
|
}
|
|
11270
11270
|
render() {
|
|
11271
11271
|
const { collapsible, el, loading, open, messages } = this;
|
|
11272
11272
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11273
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11273
|
+
const headerContent = (hAsync("header", { class: CSS$10.header }, this.renderIcon(), this.renderTitle()));
|
|
11274
11274
|
const hasControl = !!getSlotted(el, SLOTS$r.control);
|
|
11275
11275
|
const hasMenuActions = !!getSlotted(el, SLOTS$r.headerMenuActions);
|
|
11276
11276
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
11277
11277
|
const { guid } = this;
|
|
11278
11278
|
const regionId = `${guid}-region`;
|
|
11279
11279
|
const buttonId = `${guid}-button`;
|
|
11280
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11280
|
+
const headerNode = (hAsync("div", { class: CSS$10.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
|
|
11281
11281
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11282
|
-
[CSS$
|
|
11283
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11282
|
+
[CSS$10.container]: true,
|
|
11283
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
11284
11284
|
}
|
|
11285
11285
|
static get assetsDirs() { return ["assets"]; }
|
|
11286
11286
|
get el() { return getElement(this); }
|
|
@@ -11314,7 +11314,7 @@ class Block {
|
|
|
11314
11314
|
}; }
|
|
11315
11315
|
}
|
|
11316
11316
|
|
|
11317
|
-
const CSS
|
|
11317
|
+
const CSS$$ = {
|
|
11318
11318
|
content: "content",
|
|
11319
11319
|
invalid: "invalid",
|
|
11320
11320
|
toggle: "toggle",
|
|
@@ -11417,9 +11417,9 @@ class BlockSection {
|
|
|
11417
11417
|
const { status } = this;
|
|
11418
11418
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11419
11419
|
const statusIconClasses = {
|
|
11420
|
-
[CSS
|
|
11421
|
-
[CSS
|
|
11422
|
-
[CSS
|
|
11420
|
+
[CSS$$.statusIcon]: true,
|
|
11421
|
+
[CSS$$.valid]: status == "valid",
|
|
11422
|
+
[CSS$$.invalid]: status == "invalid",
|
|
11423
11423
|
};
|
|
11424
11424
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11425
11425
|
}
|
|
@@ -11436,13 +11436,13 @@ class BlockSection {
|
|
|
11436
11436
|
const regionId = `${guid}-region`;
|
|
11437
11437
|
const buttonId = `${guid}-button`;
|
|
11438
11438
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11439
|
-
[CSS
|
|
11440
|
-
[CSS
|
|
11441
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS
|
|
11442
|
-
[CSS
|
|
11443
|
-
[CSS
|
|
11444
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS
|
|
11445
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
11439
|
+
[CSS$$.toggle]: true,
|
|
11440
|
+
[CSS$$.toggleSwitch]: true,
|
|
11441
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$$.toggleSwitchContent }, hAsync("span", { class: CSS$$.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11442
|
+
[CSS$$.sectionHeader]: true,
|
|
11443
|
+
[CSS$$.toggle]: true,
|
|
11444
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$$.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11445
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$$.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11446
11446
|
}
|
|
11447
11447
|
static get assetsDirs() { return ["assets"]; }
|
|
11448
11448
|
get el() { return getElement(this); }
|
|
@@ -11872,7 +11872,7 @@ function onLabelDisconnected() {
|
|
|
11872
11872
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11873
11873
|
}
|
|
11874
11874
|
|
|
11875
|
-
const CSS
|
|
11875
|
+
const CSS$_ = {
|
|
11876
11876
|
buttonLoader: "calcite-button--loader",
|
|
11877
11877
|
content: "content",
|
|
11878
11878
|
contentSlotted: "content--slotted",
|
|
@@ -12000,17 +12000,17 @@ class Button {
|
|
|
12000
12000
|
render() {
|
|
12001
12001
|
const childElType = this.href ? "a" : "button";
|
|
12002
12002
|
const Tag = childElType;
|
|
12003
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS
|
|
12003
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$_.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$_.loadingIn : CSS$_.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
12004
12004
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
12005
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS
|
|
12006
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS
|
|
12007
|
-
const contentEl = (hAsync("span", { class: CSS
|
|
12005
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
12006
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
12007
|
+
const contentEl = (hAsync("span", { class: CSS$_.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
12008
12008
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
12009
|
-
[CSS
|
|
12010
|
-
[CSS
|
|
12011
|
-
[CSS
|
|
12012
|
-
[CSS
|
|
12013
|
-
[CSS
|
|
12009
|
+
[CSS$_.buttonPadding]: noStartEndIcons,
|
|
12010
|
+
[CSS$_.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12011
|
+
[CSS$_.contentSlotted]: this.hasContent,
|
|
12012
|
+
[CSS$_.iconStartEmpty]: !this.iconStart,
|
|
12013
|
+
[CSS$_.iconEndEmpty]: !this.iconEnd,
|
|
12014
12014
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
12015
12015
|
}
|
|
12016
12016
|
//--------------------------------------------------------------------------
|
|
@@ -12325,7 +12325,7 @@ class CalciteMenu {
|
|
|
12325
12325
|
}; }
|
|
12326
12326
|
}
|
|
12327
12327
|
|
|
12328
|
-
const CSS$
|
|
12328
|
+
const CSS$Z = {
|
|
12329
12329
|
container: "container",
|
|
12330
12330
|
content: "content",
|
|
12331
12331
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12529,54 +12529,54 @@ class CalciteMenuItem {
|
|
|
12529
12529
|
//
|
|
12530
12530
|
//--------------------------------------------------------------------------
|
|
12531
12531
|
renderIconStart() {
|
|
12532
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12532
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$Z.iconStart, scale: "s" }));
|
|
12533
12533
|
}
|
|
12534
12534
|
renderIconEnd() {
|
|
12535
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12535
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$Z.iconEnd, scale: "s" }));
|
|
12536
12536
|
}
|
|
12537
12537
|
renderBreadcrumbIcon(dir) {
|
|
12538
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12538
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$Z.iconBreadcrumb, scale: "s" }));
|
|
12539
12539
|
}
|
|
12540
12540
|
renderDropdownIcon(dir) {
|
|
12541
12541
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12542
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12542
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12543
12543
|
? this.open
|
|
12544
12544
|
? "chevron-up"
|
|
12545
12545
|
: "chevron-down"
|
|
12546
|
-
: dirChevron, key: CSS$
|
|
12546
|
+
: dirChevron, key: CSS$Z.iconDropdown, scale: "s" }));
|
|
12547
12547
|
}
|
|
12548
12548
|
renderDropdownAction(dir) {
|
|
12549
12549
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12550
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12550
|
+
return (hAsync("calcite-action", { class: CSS$Z.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12551
12551
|
? this.open
|
|
12552
12552
|
? "chevron-up"
|
|
12553
12553
|
: "chevron-down"
|
|
12554
|
-
: dirChevron, key: CSS$
|
|
12554
|
+
: dirChevron, key: CSS$Z.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12555
12555
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12556
12556
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12557
12557
|
}
|
|
12558
12558
|
renderSubmenuItems(dir) {
|
|
12559
12559
|
return (hAsync("calcite-menu", { class: {
|
|
12560
|
-
[CSS$
|
|
12561
|
-
[CSS$
|
|
12562
|
-
[CSS$
|
|
12560
|
+
[CSS$Z.dropdownMenuItems]: true,
|
|
12561
|
+
[CSS$Z.open]: this.open,
|
|
12562
|
+
[CSS$Z.nested]: !this.isTopLevelItem,
|
|
12563
12563
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12564
|
-
[CSS$
|
|
12564
|
+
[CSS$Z.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12565
12565
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12566
12566
|
}
|
|
12567
12567
|
renderHrefIcon(dir) {
|
|
12568
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12568
|
+
return (hAsync("calcite-icon", { class: CSS$Z.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$Z.hoverHrefIcon, scale: "s" }));
|
|
12569
12569
|
}
|
|
12570
12570
|
renderItemContent(dir) {
|
|
12571
12571
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12572
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12572
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$Z.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
|
|
12573
12573
|
}
|
|
12574
12574
|
render() {
|
|
12575
12575
|
const dir = getElementDir(this.el);
|
|
12576
12576
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12577
|
-
[CSS$
|
|
12578
|
-
[CSS$
|
|
12579
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12577
|
+
[CSS$Z.container]: true,
|
|
12578
|
+
[CSS$Z.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12579
|
+
}, role: "none" }, hAsync("div", { class: CSS$Z.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$Z.layoutVertical]: this.layout === "vertical", [CSS$Z.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12580
12580
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12581
12581
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12582
12582
|
}
|
|
@@ -12619,7 +12619,7 @@ class CalciteMenuItem {
|
|
|
12619
12619
|
}; }
|
|
12620
12620
|
}
|
|
12621
12621
|
|
|
12622
|
-
const CSS$
|
|
12622
|
+
const CSS$Y = {
|
|
12623
12623
|
container: "container",
|
|
12624
12624
|
containerContent: "container-content",
|
|
12625
12625
|
hasProgress: "progress-bar",
|
|
@@ -12768,11 +12768,11 @@ class CalciteNavigation {
|
|
|
12768
12768
|
this.navigationAction;
|
|
12769
12769
|
const slotName = this.el.slot;
|
|
12770
12770
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12771
|
-
[CSS$
|
|
12772
|
-
[CSS$
|
|
12773
|
-
[CSS$
|
|
12774
|
-
[CSS$
|
|
12775
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12771
|
+
[CSS$Y.container]: true,
|
|
12772
|
+
[CSS$Y.secondary]: slotName === SLOTS$q.navSecondary,
|
|
12773
|
+
[CSS$Y.tertiary]: slotName === SLOTS$q.navTertiary,
|
|
12774
|
+
[CSS$Y.primary]: primaryLevelHasElements,
|
|
12775
|
+
} }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Y.containerContent]: true, [CSS$Y.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Y.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Y.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12776
12776
|
}
|
|
12777
12777
|
get el() { return getElement(this); }
|
|
12778
12778
|
static get style() { return navigationCss; }
|
|
@@ -12799,7 +12799,7 @@ class CalciteNavigation {
|
|
|
12799
12799
|
}; }
|
|
12800
12800
|
}
|
|
12801
12801
|
|
|
12802
|
-
const CSS$
|
|
12802
|
+
const CSS$X = {
|
|
12803
12803
|
container: "container",
|
|
12804
12804
|
heading: "heading",
|
|
12805
12805
|
description: "description",
|
|
@@ -12852,10 +12852,10 @@ class CalciteNavigationLogo {
|
|
|
12852
12852
|
// --------------------------------------------------------------------------
|
|
12853
12853
|
render() {
|
|
12854
12854
|
const { heading, description, thumbnail } = this;
|
|
12855
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12856
|
-
[CSS$
|
|
12857
|
-
[CSS$
|
|
12858
|
-
}, key: CSS$
|
|
12855
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$X.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$X.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$X.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12856
|
+
[CSS$X.heading]: true,
|
|
12857
|
+
[CSS$X.standalone]: !this.description,
|
|
12858
|
+
}, key: CSS$X.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$X.description, key: CSS$X.description }, description)))))));
|
|
12859
12859
|
}
|
|
12860
12860
|
static get delegatesFocus() { return true; }
|
|
12861
12861
|
get el() { return getElement(this); }
|
|
@@ -12880,7 +12880,7 @@ class CalciteNavigationLogo {
|
|
|
12880
12880
|
}; }
|
|
12881
12881
|
}
|
|
12882
12882
|
|
|
12883
|
-
const CSS$
|
|
12883
|
+
const CSS$W = {
|
|
12884
12884
|
textContainer: "text-container",
|
|
12885
12885
|
fullName: "full-name",
|
|
12886
12886
|
username: "username",
|
|
@@ -12927,7 +12927,7 @@ class CalciteNavigationUser {
|
|
|
12927
12927
|
//
|
|
12928
12928
|
// --------------------------------------------------------------------------
|
|
12929
12929
|
render() {
|
|
12930
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
12930
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$W.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$W.textContainer }, this.fullName && (hAsync("span", { class: CSS$W.fullName, key: CSS$W.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$W.username, key: CSS$W.username }, this.username)))))));
|
|
12931
12931
|
}
|
|
12932
12932
|
static get delegatesFocus() { return true; }
|
|
12933
12933
|
get el() { return getElement(this); }
|
|
@@ -12951,7 +12951,7 @@ class CalciteNavigationUser {
|
|
|
12951
12951
|
}; }
|
|
12952
12952
|
}
|
|
12953
12953
|
|
|
12954
|
-
const CSS$
|
|
12954
|
+
const CSS$V = {
|
|
12955
12955
|
container: "container",
|
|
12956
12956
|
header: "header",
|
|
12957
12957
|
footer: "footer",
|
|
@@ -13036,7 +13036,7 @@ class Card {
|
|
|
13036
13036
|
render() {
|
|
13037
13037
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13038
13038
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13039
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
13039
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$V.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13040
13040
|
}
|
|
13041
13041
|
effectiveLocaleChange() {
|
|
13042
13042
|
updateMessages(this);
|
|
@@ -13046,24 +13046,24 @@ class Card {
|
|
|
13046
13046
|
this.calciteCardSelect.emit();
|
|
13047
13047
|
}
|
|
13048
13048
|
renderThumbnail() {
|
|
13049
|
-
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$
|
|
13049
|
+
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$V.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
|
|
13050
13050
|
}
|
|
13051
13051
|
renderCheckbox() {
|
|
13052
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
13052
|
+
return (hAsync("calcite-label", { class: CSS$V.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13053
13053
|
}
|
|
13054
13054
|
renderHeader() {
|
|
13055
13055
|
const { el } = this;
|
|
13056
13056
|
const title = getSlotted(el, SLOTS$p.title);
|
|
13057
13057
|
const subtitle = getSlotted(el, SLOTS$p.subtitle);
|
|
13058
13058
|
const hasHeader = title || subtitle;
|
|
13059
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
13059
|
+
return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
|
|
13060
13060
|
}
|
|
13061
13061
|
renderFooter() {
|
|
13062
13062
|
const { el } = this;
|
|
13063
13063
|
const startFooter = getSlotted(el, SLOTS$p.footerStart);
|
|
13064
13064
|
const endFooter = getSlotted(el, SLOTS$p.footerEnd);
|
|
13065
13065
|
const hasFooter = startFooter || endFooter;
|
|
13066
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
13066
|
+
return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
|
|
13067
13067
|
}
|
|
13068
13068
|
static get assetsDirs() { return ["assets"]; }
|
|
13069
13069
|
get el() { return getElement(this); }
|
|
@@ -13226,7 +13226,7 @@ class Checkbox {
|
|
|
13226
13226
|
}; }
|
|
13227
13227
|
}
|
|
13228
13228
|
|
|
13229
|
-
const CSS$
|
|
13229
|
+
const CSS$U = {
|
|
13230
13230
|
title: "title",
|
|
13231
13231
|
close: "close",
|
|
13232
13232
|
imageContainer: "image-container",
|
|
@@ -13395,7 +13395,7 @@ class Chip {
|
|
|
13395
13395
|
//
|
|
13396
13396
|
//--------------------------------------------------------------------------
|
|
13397
13397
|
renderChipImage() {
|
|
13398
|
-
return (hAsync("div", { class: CSS$
|
|
13398
|
+
return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
|
|
13399
13399
|
}
|
|
13400
13400
|
renderSelectionIcon() {
|
|
13401
13401
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13406,17 +13406,17 @@ class Chip {
|
|
|
13406
13406
|
? ICONS$d.checkedSingle
|
|
13407
13407
|
: undefined;
|
|
13408
13408
|
return (hAsync("div", { class: {
|
|
13409
|
-
[CSS$
|
|
13410
|
-
[CSS$
|
|
13409
|
+
[CSS$U.selectIcon]: true,
|
|
13410
|
+
[CSS$U.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13411
13411
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13412
13412
|
}
|
|
13413
13413
|
renderCloseButton() {
|
|
13414
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13414
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$U.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13415
13415
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13416
13416
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13417
13417
|
}
|
|
13418
13418
|
renderIcon() {
|
|
13419
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13419
|
+
return (hAsync("calcite-icon", { class: CSS$U.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13420
13420
|
}
|
|
13421
13421
|
render() {
|
|
13422
13422
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13430,21 +13430,21 @@ class Chip {
|
|
|
13430
13430
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13431
13431
|
? toAriaBoolean(this.selected)
|
|
13432
13432
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13433
|
-
[CSS$
|
|
13434
|
-
[CSS$
|
|
13435
|
-
[CSS$
|
|
13436
|
-
[CSS$
|
|
13437
|
-
[CSS$
|
|
13438
|
-
[CSS$
|
|
13439
|
-
[CSS$
|
|
13440
|
-
[CSS$
|
|
13433
|
+
[CSS$U.container]: true,
|
|
13434
|
+
[CSS$U.textSlotted]: this.hasText,
|
|
13435
|
+
[CSS$U.imageSlotted]: this.hasImage,
|
|
13436
|
+
[CSS$U.selectable]: this.selectionMode !== "none",
|
|
13437
|
+
[CSS$U.multiple]: this.selectionMode === "multiple",
|
|
13438
|
+
[CSS$U.closable]: this.closable,
|
|
13439
|
+
[CSS$U.nonInteractive]: !this.interactive,
|
|
13440
|
+
[CSS$U.isCircle]: !this.closable &&
|
|
13441
13441
|
!this.hasText &&
|
|
13442
13442
|
(!this.icon || !this.hasImage) &&
|
|
13443
13443
|
(this.selectionMode === "none" ||
|
|
13444
13444
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13445
13445
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13446
13446
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13447
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13447
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$U.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13448
13448
|
}
|
|
13449
13449
|
static get assetsDirs() { return ["assets"]; }
|
|
13450
13450
|
get el() { return getElement(this); }
|
|
@@ -15766,7 +15766,7 @@ function zeroArray(array, length) {
|
|
|
15766
15766
|
|
|
15767
15767
|
var color = Color;
|
|
15768
15768
|
|
|
15769
|
-
const CSS$
|
|
15769
|
+
const CSS$T = {
|
|
15770
15770
|
channel: "channel",
|
|
15771
15771
|
channels: "channels",
|
|
15772
15772
|
colorField: "color-field",
|
|
@@ -16100,7 +16100,7 @@ class ColorPicker {
|
|
|
16100
16100
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16101
16101
|
const selected = channelMode === activeChannelMode;
|
|
16102
16102
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16103
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16103
|
+
return (hAsync("calcite-tab-title", { class: CSS$T.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16104
16104
|
};
|
|
16105
16105
|
this.renderChannelsTab = (channelMode) => {
|
|
16106
16106
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16111,7 +16111,7 @@ class ColorPicker {
|
|
|
16111
16111
|
: [messages.hue, messages.saturation, messages.value];
|
|
16112
16112
|
const direction = getElementDir(this.el);
|
|
16113
16113
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16114
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16114
|
+
return (hAsync("calcite-tab", { class: CSS$T.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$T.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16115
16115
|
const isAlphaChannel = index === 3;
|
|
16116
16116
|
if (isAlphaChannel) {
|
|
16117
16117
|
channelValue =
|
|
@@ -16122,7 +16122,7 @@ class ColorPicker {
|
|
|
16122
16122
|
}))));
|
|
16123
16123
|
};
|
|
16124
16124
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16125
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16125
|
+
return (hAsync("calcite-input-number", { class: CSS$T.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
16126
16126
|
// workaround to ensure input borders overlap as desired
|
|
16127
16127
|
// this is because the build transforms margin-left to its
|
|
16128
16128
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16312,7 +16312,7 @@ class ColorPicker {
|
|
|
16312
16312
|
this.shiftKeyChannelAdjustment = 0;
|
|
16313
16313
|
const { key } = event;
|
|
16314
16314
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16315
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16315
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$T.channel))) {
|
|
16316
16316
|
return;
|
|
16317
16317
|
}
|
|
16318
16318
|
const { shiftKey } = event;
|
|
@@ -16404,35 +16404,35 @@ class ColorPicker {
|
|
|
16404
16404
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16405
16405
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16406
16406
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16407
|
-
return (hAsync("div", { class: CSS$
|
|
16407
|
+
return (hAsync("div", { class: CSS$T.container }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: CSS$T.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16408
16408
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16409
|
-
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$
|
|
16409
|
+
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: {
|
|
16410
16410
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16411
16411
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16412
16412
|
}, tabindex: "0",
|
|
16413
16413
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16414
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16414
|
+
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,
|
|
16415
16415
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16416
|
-
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$
|
|
16416
|
+
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: {
|
|
16417
16417
|
top: `${adjustedHueScopeTop}px`,
|
|
16418
16418
|
left: `${adjustedHueScopeLeft}px`,
|
|
16419
16419
|
}, tabindex: "0",
|
|
16420
16420
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16421
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16421
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16422
16422
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16423
|
-
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$
|
|
16423
|
+
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: {
|
|
16424
16424
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16425
16425
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16426
16426
|
}, tabindex: "0",
|
|
16427
16427
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16428
16428
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16429
|
-
[CSS$
|
|
16430
|
-
[CSS$
|
|
16431
|
-
} }, hAsync("div", { class: CSS$
|
|
16432
|
-
[CSS$
|
|
16433
|
-
[CSS$
|
|
16434
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
16435
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16429
|
+
[CSS$T.controlSection]: true,
|
|
16430
|
+
[CSS$T.section]: true,
|
|
16431
|
+
} }, hAsync("div", { class: CSS$T.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$T.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$T.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16432
|
+
[CSS$T.colorModeContainer]: true,
|
|
16433
|
+
[CSS$T.splitSection]: true,
|
|
16434
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$T.savedColorsSection]: true, [CSS$T.section]: true } }, hAsync("div", { class: CSS$T.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$T.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$T.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$T.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$T.savedColors }, [
|
|
16435
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$T.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16436
16436
|
])) : null))));
|
|
16437
16437
|
}
|
|
16438
16438
|
// --------------------------------------------------------------------------
|
|
@@ -16803,7 +16803,7 @@ class ColorPicker {
|
|
|
16803
16803
|
}; }
|
|
16804
16804
|
}
|
|
16805
16805
|
|
|
16806
|
-
const CSS$
|
|
16806
|
+
const CSS$S = {
|
|
16807
16807
|
container: "container",
|
|
16808
16808
|
hexInput: "hex-input",
|
|
16809
16809
|
opacityInput: "opacity-input",
|
|
@@ -16971,9 +16971,9 @@ class ColorPickerHexInput {
|
|
|
16971
16971
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16972
16972
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16973
16973
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16974
|
-
return (hAsync("div", { class: CSS$
|
|
16974
|
+
return (hAsync("div", { class: CSS$S.container }, hAsync("calcite-input-text", { class: CSS$S.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16975
16975
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16976
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16976
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$S.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16977
16977
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16978
16978
|
ref: this.storeOpacityInputRef })) : null));
|
|
16979
16979
|
}
|
|
@@ -17069,7 +17069,7 @@ class ColorPickerHexInput {
|
|
|
17069
17069
|
}; }
|
|
17070
17070
|
}
|
|
17071
17071
|
|
|
17072
|
-
const CSS$
|
|
17072
|
+
const CSS$R = {
|
|
17073
17073
|
swatch: "swatch",
|
|
17074
17074
|
noColorSwatch: "swatch--no-color",
|
|
17075
17075
|
checker: "checker",
|
|
@@ -17107,8 +17107,8 @@ class ColorPickerSwatch {
|
|
|
17107
17107
|
render() {
|
|
17108
17108
|
const isEmpty = !this.internalColor;
|
|
17109
17109
|
const classes = {
|
|
17110
|
-
[CSS$
|
|
17111
|
-
[CSS$
|
|
17110
|
+
[CSS$R.swatch]: true,
|
|
17111
|
+
[CSS$R.noColorSwatch]: isEmpty,
|
|
17112
17112
|
};
|
|
17113
17113
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17114
17114
|
}
|
|
@@ -17134,7 +17134,7 @@ class ColorPickerSwatch {
|
|
|
17134
17134
|
const alpha = internalColor.alpha();
|
|
17135
17135
|
const hex = hexify(internalColor);
|
|
17136
17136
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17137
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
17137
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
17138
17138
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17139
17139
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17140
17140
|
}
|
|
@@ -18863,7 +18863,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18863
18863
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18864
18864
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18865
18865
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18866
|
-
const CSS$
|
|
18866
|
+
const CSS$Q = {
|
|
18867
18867
|
listContainer: "list-container",
|
|
18868
18868
|
};
|
|
18869
18869
|
|
|
@@ -18888,11 +18888,11 @@ function getDepth$1(element) {
|
|
|
18888
18888
|
}
|
|
18889
18889
|
}
|
|
18890
18890
|
|
|
18891
|
-
const CSS$
|
|
18891
|
+
const CSS$P = {
|
|
18892
18892
|
button: "x-button",
|
|
18893
18893
|
};
|
|
18894
18894
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18895
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18895
|
+
return (hAsync("button", { "aria-label": label, class: CSS$P.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18896
18896
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
18897
18897
|
ref: ref },
|
|
18898
18898
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19090,7 +19090,7 @@ class Combobox {
|
|
|
19090
19090
|
event.preventDefault();
|
|
19091
19091
|
return;
|
|
19092
19092
|
}
|
|
19093
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19093
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$P.button))) {
|
|
19094
19094
|
this.clearValue();
|
|
19095
19095
|
event.preventDefault();
|
|
19096
19096
|
return;
|
|
@@ -19704,7 +19704,7 @@ class Combobox {
|
|
|
19704
19704
|
renderFloatingUIContainer() {
|
|
19705
19705
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19706
19706
|
const classes = {
|
|
19707
|
-
[CSS$
|
|
19707
|
+
[CSS$Q.listContainer]: true,
|
|
19708
19708
|
[FloatingCSS.animation]: true,
|
|
19709
19709
|
[FloatingCSS.animationActive]: open,
|
|
19710
19710
|
};
|
|
@@ -19803,7 +19803,7 @@ class Combobox {
|
|
|
19803
19803
|
}; }
|
|
19804
19804
|
}
|
|
19805
19805
|
|
|
19806
|
-
const CSS$
|
|
19806
|
+
const CSS$O = {
|
|
19807
19807
|
icon: "icon",
|
|
19808
19808
|
iconActive: "icon--active",
|
|
19809
19809
|
iconIndent: "icon--indent",
|
|
@@ -19881,20 +19881,20 @@ class ComboboxItem {
|
|
|
19881
19881
|
// --------------------------------------------------------------------------
|
|
19882
19882
|
renderIcon(iconPath) {
|
|
19883
19883
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19884
|
-
[CSS$
|
|
19885
|
-
[CSS$
|
|
19886
|
-
[CSS$
|
|
19884
|
+
[CSS$O.custom]: !!this.icon,
|
|
19885
|
+
[CSS$O.iconActive]: this.icon && this.selected,
|
|
19886
|
+
[CSS$O.iconIndent]: true,
|
|
19887
19887
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19888
19888
|
}
|
|
19889
19889
|
renderSelectIndicator(showDot, iconPath) {
|
|
19890
19890
|
return showDot ? (hAsync("span", { class: {
|
|
19891
|
-
[CSS$
|
|
19892
|
-
[CSS$
|
|
19893
|
-
[CSS$
|
|
19891
|
+
[CSS$O.icon]: true,
|
|
19892
|
+
[CSS$O.dot]: true,
|
|
19893
|
+
[CSS$O.iconIndent]: true,
|
|
19894
19894
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19895
|
+
[CSS$O.icon]: true,
|
|
19896
|
+
[CSS$O.iconActive]: this.selected,
|
|
19897
|
+
[CSS$O.iconIndent]: true,
|
|
19898
19898
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19899
19899
|
}
|
|
19900
19900
|
renderChildren() {
|
|
@@ -19909,10 +19909,10 @@ class ComboboxItem {
|
|
|
19909
19909
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19910
19910
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19911
19911
|
const classes = {
|
|
19912
|
-
[CSS$
|
|
19913
|
-
[CSS$
|
|
19914
|
-
[CSS$
|
|
19915
|
-
[CSS$
|
|
19912
|
+
[CSS$O.label]: true,
|
|
19913
|
+
[CSS$O.selected]: this.selected,
|
|
19914
|
+
[CSS$O.active]: this.active,
|
|
19915
|
+
[CSS$O.single]: isSingleSelect,
|
|
19916
19916
|
};
|
|
19917
19917
|
const depth = getDepth$1();
|
|
19918
19918
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -19945,7 +19945,7 @@ class ComboboxItem {
|
|
|
19945
19945
|
}; }
|
|
19946
19946
|
}
|
|
19947
19947
|
|
|
19948
|
-
const CSS$
|
|
19948
|
+
const CSS$N = {
|
|
19949
19949
|
list: "list",
|
|
19950
19950
|
label: "label",
|
|
19951
19951
|
title: "title",
|
|
@@ -19981,7 +19981,7 @@ class ComboboxItemGroup {
|
|
|
19981
19981
|
render() {
|
|
19982
19982
|
const { el, scale } = this;
|
|
19983
19983
|
const depth = getDepth$1();
|
|
19984
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19984
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$N.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$N.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$N.title }, this.label)), hAsync("slot", null)));
|
|
19985
19985
|
}
|
|
19986
19986
|
get el() { return getElement(this); }
|
|
19987
19987
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21158,7 +21158,7 @@ class DatePickerMonth {
|
|
|
21158
21158
|
}; }
|
|
21159
21159
|
}
|
|
21160
21160
|
|
|
21161
|
-
const CSS$
|
|
21161
|
+
const CSS$M = {
|
|
21162
21162
|
header: "header",
|
|
21163
21163
|
month: "month",
|
|
21164
21164
|
chevron: "chevron",
|
|
@@ -21258,7 +21258,7 @@ class DatePickerMonthHeader {
|
|
|
21258
21258
|
this.setNextPrevMonthDates();
|
|
21259
21259
|
}
|
|
21260
21260
|
render() {
|
|
21261
|
-
return hAsync("div", { class: CSS$
|
|
21261
|
+
return hAsync("div", { class: CSS$M.header }, this.renderContent());
|
|
21262
21262
|
}
|
|
21263
21263
|
renderContent() {
|
|
21264
21264
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21281,12 +21281,12 @@ class DatePickerMonthHeader {
|
|
|
21281
21281
|
const order = getOrder(unitOrder);
|
|
21282
21282
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21283
21283
|
const suffix = localeData.year?.suffix;
|
|
21284
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21284
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$M.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$M.textReverse]: reverse } }, hAsync(Heading, { class: CSS$M.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$M.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21285
21285
|
year: true,
|
|
21286
|
-
[CSS$
|
|
21286
|
+
[CSS$M.yearSuffix]: !!suffix,
|
|
21287
21287
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21288
21288
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21289
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21289
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$M.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$M.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
21290
21290
|
}
|
|
21291
21291
|
setNextPrevMonthDates() {
|
|
21292
21292
|
if (!this.activeDate) {
|
|
@@ -21416,6 +21416,7 @@ class Dropdown {
|
|
|
21416
21416
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
21417
21417
|
this.updateSelectedItems();
|
|
21418
21418
|
this.reposition(true);
|
|
21419
|
+
this.items.forEach((item) => (item.scale = this.scale));
|
|
21419
21420
|
};
|
|
21420
21421
|
this.updateGroups = (event) => {
|
|
21421
21422
|
const groups = event.target
|
|
@@ -21517,10 +21518,10 @@ class Dropdown {
|
|
|
21517
21518
|
this.maxItems = 0;
|
|
21518
21519
|
this.overlayPositioning = "absolute";
|
|
21519
21520
|
this.placement = defaultMenuPlacement;
|
|
21520
|
-
this.scale = "m";
|
|
21521
21521
|
this.selectedItems = [];
|
|
21522
21522
|
this.type = "click";
|
|
21523
21523
|
this.width = undefined;
|
|
21524
|
+
this.scale = "m";
|
|
21524
21525
|
}
|
|
21525
21526
|
openHandler(value) {
|
|
21526
21527
|
if (!this.disabled) {
|
|
@@ -21550,6 +21551,9 @@ class Dropdown {
|
|
|
21550
21551
|
placementHandler() {
|
|
21551
21552
|
this.reposition(true);
|
|
21552
21553
|
}
|
|
21554
|
+
handlePropsChange() {
|
|
21555
|
+
this.updateItems();
|
|
21556
|
+
}
|
|
21553
21557
|
//--------------------------------------------------------------------------
|
|
21554
21558
|
//
|
|
21555
21559
|
// Public Methods
|
|
@@ -21574,6 +21578,7 @@ class Dropdown {
|
|
|
21574
21578
|
onToggleOpenCloseComponent(this);
|
|
21575
21579
|
}
|
|
21576
21580
|
connectInteractive(this);
|
|
21581
|
+
this.updateItems();
|
|
21577
21582
|
}
|
|
21578
21583
|
componentWillLoad() {
|
|
21579
21584
|
setUpLoadableComponent(this);
|
|
@@ -21756,7 +21761,8 @@ class Dropdown {
|
|
|
21756
21761
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21757
21762
|
"maxItems": ["maxItemsHandler"],
|
|
21758
21763
|
"overlayPositioning": ["overlayPositioningHandler"],
|
|
21759
|
-
"placement": ["placementHandler"]
|
|
21764
|
+
"placement": ["placementHandler"],
|
|
21765
|
+
"scale": ["handlePropsChange"]
|
|
21760
21766
|
}; }
|
|
21761
21767
|
static get style() { return dropdownCss; }
|
|
21762
21768
|
static get cmpMeta() { return {
|
|
@@ -21770,23 +21776,30 @@ class Dropdown {
|
|
|
21770
21776
|
"maxItems": [514, "max-items"],
|
|
21771
21777
|
"overlayPositioning": [513, "overlay-positioning"],
|
|
21772
21778
|
"placement": [513],
|
|
21773
|
-
"scale": [513],
|
|
21774
21779
|
"selectedItems": [1040],
|
|
21775
21780
|
"type": [513],
|
|
21776
21781
|
"width": [513],
|
|
21782
|
+
"scale": [513],
|
|
21777
21783
|
"setFocus": [64],
|
|
21778
21784
|
"reposition": [64]
|
|
21779
21785
|
},
|
|
21780
21786
|
"$listeners$": [[9, "pointerdown", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "pointerenter", "pointerEnterHandler"], [1, "pointerleave", "pointerLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
|
|
21781
21787
|
"$lazyBundleId$": "-",
|
|
21782
|
-
"$attrsToReflect$": [["open", "open"], ["closeOnSelectDisabled", "close-on-select-disabled"], ["disabled", "disabled"], ["maxItems", "max-items"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["
|
|
21788
|
+
"$attrsToReflect$": [["open", "open"], ["closeOnSelectDisabled", "close-on-select-disabled"], ["disabled", "disabled"], ["maxItems", "max-items"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["type", "type"], ["width", "width"], ["scale", "scale"]]
|
|
21783
21789
|
}; }
|
|
21784
21790
|
}
|
|
21785
21791
|
|
|
21786
|
-
const CSS$
|
|
21787
|
-
|
|
21788
|
-
|
|
21789
|
-
|
|
21792
|
+
const CSS$L = {
|
|
21793
|
+
container: "container",
|
|
21794
|
+
containerLink: "container--link",
|
|
21795
|
+
containerMulti: "container--multi-selection",
|
|
21796
|
+
containerSingle: "container--single-selection",
|
|
21797
|
+
containerNone: "container--none-selection",
|
|
21798
|
+
icon: "dropdown-item-icon",
|
|
21799
|
+
iconEnd: "dropdown-item-icon-end",
|
|
21800
|
+
iconStart: "dropdown-item-icon-start",
|
|
21801
|
+
itemContent: "dropdown-item-content",
|
|
21802
|
+
link: "dropdown-link",
|
|
21790
21803
|
};
|
|
21791
21804
|
|
|
21792
21805
|
const dropdownGroupCss = "/*!@:host*/.sc-calcite-dropdown-group-h{position:relative;display:block}/*!@.container*/.container.sc-calcite-dropdown-group{text-align:start}/*!@.container--s*/.container--s.sc-calcite-dropdown-group{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@.container--s .dropdown-title*/.container--s.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:0.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-group{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container--m .dropdown-title*/.container--m.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:0.75rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-group{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container--l .dropdown-title*/.container--l.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:1rem}/*!@.dropdown-title*/.dropdown-title.sc-calcite-dropdown-group{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.dropdown-separator*/.dropdown-separator.sc-calcite-dropdown-group{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-dropdown-group{display:none}";
|
|
@@ -21798,28 +21811,35 @@ class DropdownGroup {
|
|
|
21798
21811
|
constructor(hostRef) {
|
|
21799
21812
|
registerInstance(this, hostRef);
|
|
21800
21813
|
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 6);
|
|
21814
|
+
this.updateItems = () => {
|
|
21815
|
+
Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((item) => (item.selectionMode = this.selectionMode));
|
|
21816
|
+
};
|
|
21817
|
+
this.mutationObserver = createObserver();
|
|
21801
21818
|
this.groupTitle = undefined;
|
|
21819
|
+
this.scale = "m";
|
|
21802
21820
|
this.selectionMode = "single";
|
|
21803
|
-
|
|
21821
|
+
}
|
|
21822
|
+
handlePropsChange() {
|
|
21823
|
+
this.updateItems();
|
|
21804
21824
|
}
|
|
21805
21825
|
//--------------------------------------------------------------------------
|
|
21806
21826
|
//
|
|
21807
21827
|
// Lifecycle
|
|
21808
21828
|
//
|
|
21809
21829
|
//--------------------------------------------------------------------------
|
|
21830
|
+
connectedCallback() {
|
|
21831
|
+
this.updateItems();
|
|
21832
|
+
}
|
|
21810
21833
|
componentWillLoad() {
|
|
21811
21834
|
this.groupPosition = this.getGroupPosition();
|
|
21812
21835
|
}
|
|
21813
21836
|
render() {
|
|
21814
|
-
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
21815
21837
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21816
21838
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21817
21839
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21818
|
-
container: true,
|
|
21819
|
-
[CSS$
|
|
21820
|
-
|
|
21821
|
-
[CSS$M.containerLarge]: scale === "l",
|
|
21822
|
-
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21840
|
+
[CSS$L.container]: true,
|
|
21841
|
+
[`${CSS$L.container}--${this.scale}`]: true,
|
|
21842
|
+
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21823
21843
|
}
|
|
21824
21844
|
//--------------------------------------------------------------------------
|
|
21825
21845
|
//
|
|
@@ -21844,36 +21864,24 @@ class DropdownGroup {
|
|
|
21844
21864
|
}
|
|
21845
21865
|
static get delegatesFocus() { return true; }
|
|
21846
21866
|
get el() { return getElement(this); }
|
|
21867
|
+
static get watchers() { return {
|
|
21868
|
+
"selectionMode": ["handlePropsChange"]
|
|
21869
|
+
}; }
|
|
21847
21870
|
static get style() { return dropdownGroupCss; }
|
|
21848
21871
|
static get cmpMeta() { return {
|
|
21849
21872
|
"$flags$": 25,
|
|
21850
21873
|
"$tagName$": "calcite-dropdown-group",
|
|
21851
21874
|
"$members$": {
|
|
21852
21875
|
"groupTitle": [513, "group-title"],
|
|
21853
|
-
"
|
|
21854
|
-
"
|
|
21876
|
+
"scale": [1],
|
|
21877
|
+
"selectionMode": [513, "selection-mode"]
|
|
21855
21878
|
},
|
|
21856
21879
|
"$listeners$": [[0, "calciteInternalDropdownItemSelect", "updateActiveItemOnChange"]],
|
|
21857
21880
|
"$lazyBundleId$": "-",
|
|
21858
|
-
"$attrsToReflect$": [["groupTitle", "group-title"], ["selectionMode", "selection-mode"]
|
|
21881
|
+
"$attrsToReflect$": [["groupTitle", "group-title"], ["selectionMode", "selection-mode"]]
|
|
21859
21882
|
}; }
|
|
21860
21883
|
}
|
|
21861
21884
|
|
|
21862
|
-
const CSS$L = {
|
|
21863
|
-
containerLink: "container--link",
|
|
21864
|
-
containerSmall: "container--s",
|
|
21865
|
-
containerMedium: "container--m",
|
|
21866
|
-
containerLarge: "container--l",
|
|
21867
|
-
containerMulti: "container--multi-selection",
|
|
21868
|
-
containerSingle: "container--single-selection",
|
|
21869
|
-
containerNone: "container--none-selection",
|
|
21870
|
-
icon: "dropdown-item-icon",
|
|
21871
|
-
iconEnd: "dropdown-item-icon-end",
|
|
21872
|
-
iconStart: "dropdown-item-icon-start",
|
|
21873
|
-
itemContent: "dropdown-item-content",
|
|
21874
|
-
link: "dropdown-link",
|
|
21875
|
-
};
|
|
21876
|
-
|
|
21877
21885
|
const dropdownItemCss = "/*!@.container--s*/.container--s.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-item{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@.container--s.container--none-selection*/.container--s.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.25rem}/*!@.container--s.container--none-selection .dropdown-link*/.container--s.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--m.container--none-selection*/.container--m.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.5rem}/*!@.container--m.container--none-selection .dropdown-link*/.container--m.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--l.container--none-selection*/.container--l.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.75rem}/*!@.container--l.container--none-selection .dropdown-link*/.container--l.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@:host*/.sc-calcite-dropdown-item-h{position:relative;display:flex;flex-grow:1;align-items:center}/*!@.container*/.container.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}/*!@.dropdown-item-content*/.dropdown-item-content.sc-calcite-dropdown-item{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}/*!@:host,\n.container--link a*/.sc-calcite-dropdown-item-h,.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-dropdown-item-h:focus{outline:2px solid transparent;outline-offset:2px;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 )}/*!@.container--link*/.container--link.sc-calcite-dropdown-item{padding:0px}/*!@.container--link a*/.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@.container--s .dropdown-link*/.container--s.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m .dropdown-link*/.container--m.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l .dropdown-link*/.container--l.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@:host(:hover) .container,\n:host(:active) .container*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:hover) .container--link .dropdown-link,\n:host(:active) .container--link .dropdown-link*/.sc-calcite-dropdown-item-h:hover .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .container*/.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:active) .container*/.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host(:hover) .container:before,\n:host(:active) .container:before,\n:host(:focus) .container:before*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item:before{opacity:1}/*!@:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection),[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container:not(.container--none-selection):before,\n:host([selected]) .container--link .dropdown-link:before*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection):before,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item:before{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selected]) .container:not(.container--none-selection) calcite-icon,\n:host([selected]) .container--link .dropdown-link calcite-icon*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection) calcite-icon.sc-calcite-dropdown-item,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item calcite-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand)}/*!@.container--multi-selection:before,\n.container--none-selection:before*/.container--multi-selection.sc-calcite-dropdown-item:before,.container--none-selection.sc-calcite-dropdown-item:before{display:none}/*!@.container--s:before*/.container--s.sc-calcite-dropdown-item:before{inset-inline-start:0.5rem}/*!@.container--m:before*/.container--m.sc-calcite-dropdown-item:before{inset-inline-start:0.75rem}/*!@.container--l:before*/.container--l.sc-calcite-dropdown-item:before{inset-inline-start:1rem}/*!@.dropdown-item-icon*/.dropdown-item-icon.sc-calcite-dropdown-item{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}/*!@.container--s .dropdown-item-icon*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.5rem}/*!@.container--l .dropdown-item-icon*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.75rem}/*!@:host(:hover) .dropdown-item-icon*/.sc-calcite-dropdown-item-h:hover .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-border-1);opacity:1}/*!@:host([selected]) .dropdown-item-icon*/[selected].sc-calcite-dropdown-item-h .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand);opacity:1}/*!@.container--s .dropdown-item-icon-start*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.5rem;margin-inline-start:0.25rem}/*!@.container--s .dropdown-item-icon-end*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.5rem}/*!@.container--m .dropdown-item-icon-start*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.75rem;margin-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon-end*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.75rem}/*!@.container--l .dropdown-item-icon-start*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:1rem;margin-inline-start:0.25rem}/*!@.container--l .dropdown-item-icon-end*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:1rem}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-dropdown-item{display:none}";
|
|
21878
21886
|
|
|
21879
21887
|
/**
|
|
@@ -21886,8 +21894,6 @@ class DropdownItem {
|
|
|
21886
21894
|
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
|
21887
21895
|
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
|
21888
21896
|
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
|
21889
|
-
/** Specifies the scale of dropdown-item controlled by the parent, defaults to m */
|
|
21890
|
-
this.scale = "m";
|
|
21891
21897
|
this.selected = false;
|
|
21892
21898
|
this.iconFlipRtl = undefined;
|
|
21893
21899
|
this.iconStart = undefined;
|
|
@@ -21896,6 +21902,8 @@ class DropdownItem {
|
|
|
21896
21902
|
this.label = undefined;
|
|
21897
21903
|
this.rel = undefined;
|
|
21898
21904
|
this.target = undefined;
|
|
21905
|
+
this.selectionMode = "single";
|
|
21906
|
+
this.scale = "m";
|
|
21899
21907
|
}
|
|
21900
21908
|
//--------------------------------------------------------------------------
|
|
21901
21909
|
//
|
|
@@ -21923,8 +21931,7 @@ class DropdownItem {
|
|
|
21923
21931
|
this.initialize();
|
|
21924
21932
|
}
|
|
21925
21933
|
render() {
|
|
21926
|
-
const
|
|
21927
|
-
const { href, selectionMode, label, iconFlipRtl } = this;
|
|
21934
|
+
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21928
21935
|
const iconStartEl = (hAsync("calcite-icon", { class: CSS$L.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21929
21936
|
const contentNode = (hAsync("span", { class: CSS$L.itemContent }, hAsync("slot", null)));
|
|
21930
21937
|
const iconEndEl = (hAsync("calcite-icon", { class: CSS$L.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
@@ -21947,11 +21954,9 @@ class DropdownItem {
|
|
|
21947
21954
|
: "menuitem";
|
|
21948
21955
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21949
21956
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21950
|
-
container: true,
|
|
21957
|
+
[CSS$L.container]: true,
|
|
21951
21958
|
[CSS$L.containerLink]: !!href,
|
|
21952
|
-
[CSS$L.
|
|
21953
|
-
[CSS$L.containerMedium]: scale === "m",
|
|
21954
|
-
[CSS$L.containerLarge]: scale === "l",
|
|
21959
|
+
[`${CSS$L.container}--${scale}`]: true,
|
|
21955
21960
|
[CSS$L.containerMulti]: selectionMode === "multiple",
|
|
21956
21961
|
[CSS$L.containerSingle]: selectionMode === "single",
|
|
21957
21962
|
[CSS$L.containerNone]: selectionMode === "none",
|
|
@@ -22006,7 +22011,6 @@ class DropdownItem {
|
|
|
22006
22011
|
//
|
|
22007
22012
|
//--------------------------------------------------------------------------
|
|
22008
22013
|
initialize() {
|
|
22009
|
-
this.selectionMode = getElementProp(this.el, "selection-mode", "single");
|
|
22010
22014
|
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
22011
22015
|
if (this.selectionMode === "none") {
|
|
22012
22016
|
this.selected = false;
|
|
@@ -22053,6 +22057,8 @@ class DropdownItem {
|
|
|
22053
22057
|
"label": [1],
|
|
22054
22058
|
"rel": [513],
|
|
22055
22059
|
"target": [513],
|
|
22060
|
+
"selectionMode": [1, "selection-mode"],
|
|
22061
|
+
"scale": [1],
|
|
22056
22062
|
"setFocus": [64]
|
|
22057
22063
|
},
|
|
22058
22064
|
"$listeners$": [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "calciteInternalDropdownItemChange", "updateActiveItemOnChange"]],
|
|
@@ -33183,7 +33189,7 @@ class ListItemGroup {
|
|
|
33183
33189
|
}; }
|
|
33184
33190
|
}
|
|
33185
33191
|
|
|
33186
|
-
const loaderCss = "@charset \"UTF-8\";@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);
|
|
33192
|
+
const loaderCss = "@charset \"UTF-8\";@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.66 / var(--calcite-internal-duration-factor));animation-name:loader-clockwise}/*!@.loader__svg*/.loader__svg.sc-calcite-loader{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear}@supports (display: grid){/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{animation-name:loader-offset-1}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{animation-name:loader-offset-2}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{animation-name:loader-offset-3}}/*!@:host([type=determinate])*/[type=determinate].sc-calcite-loader-h{animation:none;stroke:var(--calcite-ui-border-3)}/*!@:host([type=determinate]) .loader__svgs*/[type=determinate].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{animation:none}/*!@:host([type=determinate]) .loader__svg--3*/[type=determinate].sc-calcite-loader-h .loader__svg--3.sc-calcite-loader{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}/*!@:host([inline])*/[inline].sc-calcite-loader-h{position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}/*!@:host([inline]) .loader__svgs*/[inline].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([inline]) .loader__svg*/[inline].sc-calcite-loader-h .loader__svg.sc-calcite-loader{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([complete])*/[complete].sc-calcite-loader-h{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}/*!@:host([complete]) .loader__svgs*/[complete].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}/*!@:host([complete]) .loader__percentage*/[complete].sc-calcite-loader-h .loader__percentage.sc-calcite-loader{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{stroke-dasharray:27.9252444444 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 4.8 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-83.7757333333}100%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:-279.2524444444}}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{stroke-dasharray:55.8504888889 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-97.7383555556}100%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:-279.2524444444}}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{stroke-dasharray:13.9626222222 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 7.734 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-76.7944222222}100%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:-279.2524444444}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{100%{transform:rotate(360deg)}}/*!@:host([hidden])*/[hidden].sc-calcite-loader-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-loader{display:none}";
|
|
33187
33193
|
|
|
33188
33194
|
class Loader {
|
|
33189
33195
|
constructor(hostRef) {
|