@esri/calcite-components 2.1.0-next.6 → 2.1.0-next.7
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-002f8573.entry.js +7 -0
- package/dist/calcite/p-03565442.js +7 -0
- package/dist/calcite/p-045fbf85.entry.js +7 -0
- package/dist/calcite/p-06a8aac1.js +7 -0
- package/dist/calcite/p-07a609a8.js +7 -0
- package/dist/calcite/p-07c5ba66.entry.js +7 -0
- package/dist/calcite/p-0b842347.js +7 -0
- package/dist/calcite/p-0e57393f.js +7 -0
- package/dist/calcite/p-120b8b51.entry.js +7 -0
- package/dist/calcite/p-131f12c6.js +7 -0
- package/dist/calcite/p-15f3e5c5.entry.js +7 -0
- package/dist/calcite/p-17a22826.entry.js +7 -0
- package/dist/calcite/p-1b16a2ad.js +7 -0
- package/dist/calcite/p-1c3ba82f.js +7 -0
- package/dist/calcite/p-1d104c32.entry.js +7 -0
- package/dist/calcite/p-1ef2b999.js +7 -0
- package/dist/calcite/p-1fc0aa37.js +12 -0
- package/dist/calcite/p-233d2740.js +7 -0
- package/dist/calcite/p-23a63e0b.entry.js +7 -0
- package/dist/calcite/p-23c52e87.js +7 -0
- package/dist/calcite/p-248457bc.entry.js +7 -0
- package/dist/calcite/p-24988f69.js +7 -0
- package/dist/calcite/p-2717fde7.js +7 -0
- package/dist/calcite/p-2726a75c.js +7 -0
- package/dist/calcite/p-2c3ace01.js +7 -0
- package/dist/calcite/p-2d34eea1.entry.js +7 -0
- package/dist/calcite/p-2e4752f5.entry.js +7 -0
- package/dist/calcite/p-30059ec4.entry.js +7 -0
- package/dist/calcite/p-314c0811.entry.js +7 -0
- package/dist/calcite/p-32dff08d.js +7 -0
- package/dist/calcite/p-3333cb69.js +7 -0
- package/dist/calcite/p-33d9589c.entry.js +7 -0
- package/dist/calcite/p-3502c71e.entry.js +7 -0
- package/dist/calcite/p-35b28c33.js +7 -0
- package/dist/calcite/p-35b5133a.js +7 -0
- package/dist/calcite/p-368971a8.entry.js +7 -0
- package/dist/calcite/p-384ed57e.js +7 -0
- package/dist/calcite/p-396cf7b9.js +7 -0
- package/dist/calcite/p-39a44c05.js +7 -0
- package/dist/calcite/p-39b2b525.js +7 -0
- package/dist/calcite/p-3a370acc.entry.js +7 -0
- package/dist/calcite/p-3b191183.entry.js +7 -0
- package/dist/calcite/p-3beb60a2.js +7 -0
- package/dist/calcite/p-3c0ed68e.js +7 -0
- package/dist/calcite/p-3dcaacfe.entry.js +7 -0
- package/dist/calcite/p-3f6fb3c6.entry.js +7 -0
- package/dist/calcite/p-45875887.js +7 -0
- package/dist/calcite/p-46fec1c0.js +7 -0
- package/dist/calcite/p-4a27a5e0.js +7 -0
- package/dist/calcite/p-4f9d16ac.js +7 -0
- package/dist/calcite/p-509dc442.js +7 -0
- package/dist/calcite/p-50be0283.entry.js +7 -0
- package/dist/calcite/p-52d1ce74.js +7 -0
- package/dist/calcite/p-5328ecbe.js +7 -0
- package/dist/calcite/p-5554b144.js +7 -0
- package/dist/calcite/p-56e4067f.js +7 -0
- package/dist/calcite/p-5882e7d6.entry.js +7 -0
- package/dist/calcite/p-58e993e3.js +7 -0
- package/dist/calcite/p-591fe40a.entry.js +7 -0
- package/dist/calcite/p-5bc9857a.js +7 -0
- package/dist/calcite/p-5bd46af1.js +7 -0
- package/dist/calcite/p-5be0a4a7.js +11 -0
- package/dist/calcite/p-5d9e2353.entry.js +7 -0
- package/dist/calcite/p-5eb66736.js +7 -0
- package/dist/calcite/p-5fde8f5e.js +7 -0
- package/dist/calcite/p-63c6a6b9.entry.js +7 -0
- package/dist/calcite/p-66681f87.js +7 -0
- package/dist/calcite/p-67501ae9.js +7 -0
- package/dist/calcite/p-68d5d979.entry.js +7 -0
- package/dist/calcite/p-6bb7f3c4.js +7 -0
- package/dist/calcite/p-6db4b794.entry.js +7 -0
- package/dist/calcite/p-70603fb2.js +7 -0
- package/dist/calcite/p-757da80e.entry.js +7 -0
- package/dist/calcite/p-757da80e.entry.js.map +1 -0
- package/dist/calcite/p-75df9bd9.entry.js +7 -0
- package/dist/calcite/p-7c077a62.entry.js +7 -0
- package/dist/calcite/p-7cc5e113.entry.js +7 -0
- package/dist/calcite/p-7d1ba59b.js +7 -0
- package/dist/calcite/p-7db0ed82.entry.js +7 -0
- package/dist/calcite/p-7df55640.js +7 -0
- package/dist/calcite/p-82f21b03.js +7 -0
- package/dist/calcite/p-83055880.entry.js +7 -0
- package/dist/calcite/p-866438b0.entry.js +7 -0
- package/dist/calcite/p-88461d3c.js +7 -0
- package/dist/calcite/p-8b0ed781.js +7 -0
- package/dist/calcite/p-8b2df8aa.entry.js +7 -0
- package/dist/calcite/p-8dbf4ed8.entry.js +7 -0
- package/dist/calcite/p-8dbf4ed8.entry.js.map +1 -0
- package/dist/calcite/p-9009c0a1.js +7 -0
- package/dist/calcite/p-91c9f683.js +7 -0
- package/dist/calcite/p-91ec6542.entry.js +7 -0
- package/dist/calcite/p-94d1e684.js +7 -0
- package/dist/calcite/p-95876f84.entry.js +7 -0
- package/dist/calcite/p-95ffad55.entry.js +7 -0
- package/dist/calcite/p-9621ebf7.js +8 -0
- package/dist/calcite/p-974209b6.entry.js +7 -0
- package/dist/calcite/p-9b557aba.entry.js +7 -0
- package/dist/calcite/p-9bb4de9b.entry.js +7 -0
- package/dist/calcite/p-9bb4de9b.entry.js.map +1 -0
- package/dist/calcite/p-9c7f7d1a.entry.js +7 -0
- package/dist/calcite/p-9cbb98ff.js +7 -0
- package/dist/calcite/p-a11279ab.js +7 -0
- package/dist/calcite/p-a12dfe9b.js +7 -0
- package/dist/calcite/p-a18346a6.js +7 -0
- package/dist/calcite/p-a257d291.entry.js +7 -0
- package/dist/calcite/p-a44373b6.js +7 -0
- package/dist/calcite/p-a5ae1cbe.js +7 -0
- package/dist/calcite/p-a5bdaff6.js +7 -0
- package/dist/calcite/p-a6e34d32.js +7 -0
- package/dist/calcite/p-a967e594.entry.js +7 -0
- package/dist/calcite/p-a98a05f3.js +7 -0
- package/dist/calcite/p-aa70bd73.js +7 -0
- package/dist/calcite/p-ac6a0ca6.js +7 -0
- package/dist/calcite/p-af084c23.entry.js +7 -0
- package/dist/calcite/p-af084c23.entry.js.map +1 -0
- package/dist/calcite/p-b3cede81.entry.js +7 -0
- package/dist/calcite/p-b3cede81.entry.js.map +1 -0
- package/dist/calcite/p-b4918bf9.js +7 -0
- package/dist/calcite/p-b4bf01aa.entry.js +7 -0
- package/dist/calcite/p-bad8b453.js +7 -0
- package/dist/calcite/p-bc4f28d1.entry.js +7 -0
- package/dist/calcite/p-bd159809.js +7 -0
- package/dist/calcite/p-bf7ab8a0.entry.js +7 -0
- package/dist/calcite/p-c068329f.entry.js +7 -0
- package/dist/calcite/p-c201b87f.js +7 -0
- package/dist/calcite/p-c4e5503b.entry.js +7 -0
- package/dist/calcite/p-c5269d0a.js +7 -0
- package/dist/calcite/p-c68edd8e.entry.js +7 -0
- package/dist/calcite/p-c9869e5b.js +7 -0
- package/dist/calcite/p-cae5eaed.entry.js +7 -0
- package/dist/calcite/p-cbea860a.entry.js +7 -0
- package/dist/calcite/p-cc5b2e58.js +7 -0
- package/dist/calcite/p-ced451de.entry.js +7 -0
- package/dist/calcite/p-cf4fd512.entry.js +7 -0
- package/dist/calcite/p-d035fbd6.js +7 -0
- package/dist/calcite/p-d39daf5b.js +7 -0
- package/dist/calcite/p-d655f9ba.js +7 -0
- package/dist/calcite/p-dab03331.entry.js +7 -0
- package/dist/calcite/p-dab03331.entry.js.map +1 -0
- package/dist/calcite/p-db3493cb.entry.js +7 -0
- package/dist/calcite/p-dbd096e2.js +7 -0
- package/dist/calcite/p-dca4568f.js +7 -0
- package/dist/calcite/p-e02f897f.entry.js +7 -0
- package/dist/calcite/p-e4b31493.entry.js +7 -0
- package/dist/calcite/p-e4b31493.entry.js.map +1 -0
- package/dist/calcite/p-e62df9ef.entry.js +7 -0
- package/dist/calcite/p-e62ef169.entry.js +7 -0
- package/dist/calcite/p-e62ef169.entry.js.map +1 -0
- package/dist/calcite/p-e64691a3.entry.js +7 -0
- package/dist/calcite/p-e788e3a4.js +7 -0
- package/dist/calcite/p-e94faf39.entry.js +7 -0
- package/dist/calcite/p-ebd3d6fe.js +7 -0
- package/dist/calcite/p-eccbaace.entry.js +7 -0
- package/dist/calcite/p-f07212b8.js +7 -0
- package/dist/calcite/p-f1dc5b7f.js +7 -0
- package/dist/calcite/p-f21908c0.js +7 -0
- package/dist/calcite/p-f29b8ca6.js +7 -0
- package/dist/calcite/p-f320f004.entry.js +7 -0
- package/dist/calcite/p-f37394ae.js +13 -0
- package/dist/calcite/p-f452786c.entry.js +7 -0
- package/dist/calcite/p-f4e78a16.js +7 -0
- package/dist/calcite/p-f6e84612.js +7 -0
- package/dist/calcite/p-f96ab98e.entry.js +7 -0
- package/dist/calcite/p-fa2ec5cc.entry.js +7 -0
- package/dist/calcite/p-fa2ec5cc.entry.js.map +1 -0
- package/dist/calcite/p-fce676a1.entry.js +7 -0
- package/dist/calcite/p-fd3d6c96.js +7 -0
- package/dist/calcite/p-ff0b6383.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-74ebb97f.js +110 -0
- package/dist/cjs/ExpandToggle-74ebb97f.js.map +1 -0
- package/dist/cjs/FloatingArrow-e0b1ab31.js +49 -0
- package/dist/cjs/FloatingArrow-e0b1ab31.js.map +1 -0
- package/dist/cjs/Heading-999fe38e.js +22 -0
- package/dist/cjs/Heading-999fe38e.js.map +1 -0
- package/dist/cjs/app-globals-7b3e9351.js +61 -0
- package/dist/cjs/app-globals-7b3e9351.js.map +1 -0
- package/dist/cjs/ar-9c47e0a9.js +105 -0
- package/dist/cjs/ar-9c47e0a9.js.map +1 -0
- package/dist/cjs/array-2c2b7ce0.js +14 -0
- package/dist/cjs/array-2c2b7ce0.js.map +1 -0
- package/dist/cjs/bg-df2ebf10.js +83 -0
- package/dist/cjs/bg-df2ebf10.js.map +1 -0
- package/dist/cjs/browser-af7c9415.js +20 -0
- package/dist/cjs/browser-af7c9415.js.map +1 -0
- package/dist/cjs/bs-10377119.js +52 -0
- package/dist/cjs/bs-10377119.js.map +1 -0
- package/dist/cjs/ca-62c5f3da.js +72 -0
- package/dist/cjs/ca-62c5f3da.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- 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 +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +26 -23
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6640bdf5.js +2917 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-6640bdf5.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +25 -18
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- 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 +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +17 -17
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- 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 +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-7c226a46.js +30 -0
- package/dist/cjs/component-7c226a46.js.map +1 -0
- package/dist/cjs/conditionalSlot-9222f921.js +60 -0
- package/dist/cjs/conditionalSlot-9222f921.js.map +1 -0
- package/dist/cjs/cs-e785b368.js +148 -0
- package/dist/cjs/cs-e785b368.js.map +1 -0
- package/dist/cjs/da-5af06940.js +67 -0
- package/dist/cjs/da-5af06940.js.map +1 -0
- package/dist/cjs/de-5123e6ee.js +92 -0
- package/dist/cjs/de-5123e6ee.js.map +1 -0
- package/dist/cjs/de-at-c81270c8.js +91 -0
- package/dist/cjs/de-at-c81270c8.js.map +1 -0
- package/dist/cjs/de-ch-28161c0d.js +91 -0
- package/dist/cjs/de-ch-28161c0d.js.map +1 -0
- package/dist/cjs/debounce-b512c5a0.js +498 -0
- package/dist/cjs/debounce-b512c5a0.js.map +1 -0
- package/dist/cjs/dom-0dc45fe8.js +1084 -0
- package/dist/cjs/dom-0dc45fe8.js.map +1 -0
- package/dist/cjs/el-e78c69bb.js +67 -0
- package/dist/cjs/el-e78c69bb.js.map +1 -0
- package/dist/cjs/en-au-660d421f.js +67 -0
- package/dist/cjs/en-au-660d421f.js.map +1 -0
- package/dist/cjs/en-ca-aed269d3.js +66 -0
- package/dist/cjs/en-ca-aed269d3.js.map +1 -0
- package/dist/cjs/en-gb-20f52a52.js +70 -0
- package/dist/cjs/en-gb-20f52a52.js.map +1 -0
- package/dist/cjs/es-58fc3201.js +67 -0
- package/dist/cjs/es-58fc3201.js.map +1 -0
- package/dist/cjs/es-mx-abbf9f5c.js +66 -0
- package/dist/cjs/es-mx-abbf9f5c.js.map +1 -0
- package/dist/cjs/et-43b1e343.js +93 -0
- package/dist/cjs/et-43b1e343.js.map +1 -0
- package/dist/cjs/fi-1c5b61a5.js +116 -0
- package/dist/cjs/fi-1c5b61a5.js.map +1 -0
- package/dist/cjs/filter-aefcad47.js +762 -0
- package/dist/cjs/filter-aefcad47.js.map +1 -0
- package/dist/cjs/floating-ui-1e39f387.js +1915 -0
- package/dist/cjs/floating-ui-1e39f387.js.map +1 -0
- package/dist/cjs/focusTrapComponent-c8d88af8.js +1020 -0
- package/dist/cjs/focusTrapComponent-c8d88af8.js.map +1 -0
- package/dist/cjs/form-ae9561bd.js +257 -0
- package/dist/cjs/form-ae9561bd.js.map +1 -0
- package/dist/cjs/fr-a52b68de.js +69 -0
- package/dist/cjs/fr-a52b68de.js.map +1 -0
- package/dist/cjs/fr-ch-c46dfd1c.js +67 -0
- package/dist/cjs/fr-ch-c46dfd1c.js.map +1 -0
- package/dist/cjs/guid-05acf391.js +23 -0
- package/dist/cjs/guid-05acf391.js.map +1 -0
- package/dist/cjs/he-e10d06ca.js +106 -0
- package/dist/cjs/he-e10d06ca.js.map +1 -0
- package/dist/cjs/hi-f1c1c772.js +66 -0
- package/dist/cjs/hi-f1c1c772.js.map +1 -0
- package/dist/cjs/hr-26e20174.js +81 -0
- package/dist/cjs/hr-26e20174.js.map +1 -0
- package/dist/cjs/hu-d6013900.js +89 -0
- package/dist/cjs/hu-d6013900.js.map +1 -0
- package/dist/cjs/id-8b4e0b59.js +67 -0
- package/dist/cjs/id-8b4e0b59.js.map +1 -0
- package/dist/cjs/index-4e8217ff.js +75 -0
- package/dist/cjs/index-4e8217ff.js.map +1 -0
- package/dist/cjs/index-9f0ee254.js +208 -0
- package/dist/cjs/index-9f0ee254.js.map +1 -0
- package/dist/cjs/index-a3bf1a44.js +2644 -0
- package/dist/cjs/index-a3bf1a44.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-35118fbf.js +144 -0
- package/dist/cjs/interactive-35118fbf.js.map +1 -0
- package/dist/cjs/it-ch-5130e13b.js +67 -0
- package/dist/cjs/it-ch-5130e13b.js.map +1 -0
- package/dist/cjs/it-d82f425d.js +67 -0
- package/dist/cjs/it-d82f425d.js.map +1 -0
- package/dist/cjs/ja-58e85bd0.js +73 -0
- package/dist/cjs/ja-58e85bd0.js.map +1 -0
- package/dist/cjs/key-b2cde9fc.js +16 -0
- package/dist/cjs/key-b2cde9fc.js.map +1 -0
- package/dist/cjs/ko-cfdc5683.js +73 -0
- package/dist/cjs/ko-cfdc5683.js.map +1 -0
- package/dist/cjs/label-f8a3a35c.js +183 -0
- package/dist/cjs/label-f8a3a35c.js.map +1 -0
- package/dist/cjs/loadable-5e998ed7.js +91 -0
- package/dist/cjs/loadable-5e998ed7.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-8012fb96.js +575 -0
- package/dist/cjs/locale-8012fb96.js.map +1 -0
- package/dist/cjs/lt-e5422d73.js +98 -0
- package/dist/cjs/lt-e5422d73.js.map +1 -0
- package/dist/cjs/lv-938ccf3d.js +67 -0
- package/dist/cjs/lv-938ccf3d.js.map +1 -0
- package/dist/cjs/math-5d971bfd.js +57 -0
- package/dist/cjs/math-5d971bfd.js.map +1 -0
- package/dist/cjs/mk-b12abe84.js +67 -0
- package/dist/cjs/mk-b12abe84.js.map +1 -0
- package/dist/cjs/nb-74870ee3.js +68 -0
- package/dist/cjs/nb-74870ee3.js.map +1 -0
- package/dist/cjs/nl-183c16e6.js +68 -0
- package/dist/cjs/nl-183c16e6.js.map +1 -0
- package/dist/cjs/observers-29e4ba31.js +50 -0
- package/dist/cjs/observers-29e4ba31.js.map +1 -0
- package/dist/cjs/openCloseComponent-476e78fc.js +89 -0
- package/dist/cjs/openCloseComponent-476e78fc.js.map +1 -0
- package/dist/cjs/pl-a1eaffd8.js +115 -0
- package/dist/cjs/pl-a1eaffd8.js.map +1 -0
- package/dist/cjs/pt-573cd737.js +68 -0
- package/dist/cjs/pt-573cd737.js.map +1 -0
- package/dist/cjs/pt-br-ce2e599e.js +66 -0
- package/dist/cjs/pt-br-ce2e599e.js.map +1 -0
- package/dist/cjs/resources-2869a92d.js +412 -0
- package/dist/cjs/resources-2869a92d.js.map +1 -0
- package/dist/cjs/resources-4911421e.js +26 -0
- package/dist/cjs/resources-4911421e.js.map +1 -0
- package/dist/cjs/resources-533f953c.js +17 -0
- package/dist/cjs/resources-533f953c.js.map +1 -0
- package/dist/cjs/resources-5d413060.js +49 -0
- package/dist/cjs/resources-5d413060.js.map +1 -0
- package/dist/cjs/resources-92727396.js +26 -0
- package/dist/cjs/resources-92727396.js.map +1 -0
- package/dist/cjs/resources-ccb15270.js +29 -0
- package/dist/cjs/resources-ccb15270.js.map +1 -0
- package/dist/cjs/resources-d5e949ad.js +23 -0
- package/dist/cjs/resources-d5e949ad.js.map +1 -0
- package/dist/cjs/ro-83ad80e6.js +67 -0
- package/dist/cjs/ro-83ad80e6.js.map +1 -0
- package/dist/cjs/ru-5bd09e32.js +127 -0
- package/dist/cjs/ru-5bd09e32.js.map +1 -0
- package/dist/cjs/sk-4a6f040a.js +149 -0
- package/dist/cjs/sk-4a6f040a.js.map +1 -0
- package/dist/cjs/sl-737eaff5.js +169 -0
- package/dist/cjs/sl-737eaff5.js.map +1 -0
- package/dist/cjs/sortableComponent-37d7940b.js +2739 -0
- package/dist/cjs/sortableComponent-37d7940b.js.map +1 -0
- package/dist/cjs/sr-e37eaea6.js +102 -0
- package/dist/cjs/sr-e37eaea6.js.map +1 -0
- package/dist/cjs/sv-9f1543c7.js +72 -0
- package/dist/cjs/sv-9f1543c7.js.map +1 -0
- package/dist/cjs/t9n-4385ab92.js +97 -0
- package/dist/cjs/t9n-4385ab92.js.map +1 -0
- package/dist/cjs/th-2e5aea1b.js +66 -0
- package/dist/cjs/th-2e5aea1b.js.map +1 -0
- package/dist/cjs/throttle-7394f3d9.js +77 -0
- package/dist/cjs/throttle-7394f3d9.js.map +1 -0
- package/dist/cjs/tr-88d73fd6.js +67 -0
- package/dist/cjs/tr-88d73fd6.js.map +1 -0
- package/dist/cjs/uk-2bde0e22.js +105 -0
- package/dist/cjs/uk-2bde0e22.js.map +1 -0
- package/dist/cjs/utils-2ec2f0ed.js +307 -0
- package/dist/cjs/utils-2ec2f0ed.js.map +1 -0
- package/dist/cjs/utils-d7c26806.js +218 -0
- package/dist/cjs/utils-d7c26806.js.map +1 -0
- package/dist/cjs/vi-f24aacd6.js +71 -0
- package/dist/cjs/vi-f24aacd6.js.map +1 -0
- package/dist/cjs/zh-cn-b09b07b8.js +95 -0
- package/dist/cjs/zh-cn-b09b07b8.js.map +1 -0
- package/dist/cjs/zh-hk-f7e3fa75.js +72 -0
- package/dist/cjs/zh-hk-f7e3fa75.js.map +1 -0
- package/dist/cjs/zh-tw-7d9992d5.js +93 -0
- package/dist/cjs/zh-tw-7d9992d5.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.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.css +5 -5
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.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.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.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.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.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.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.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.css +5 -5
- package/dist/collection/components/alert/alert.e2e.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.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.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.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.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.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +16 -12
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.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.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.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.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.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.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.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.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -27
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.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.css +5 -5
- package/dist/collection/components/flow/flow.e2e.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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.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.css +5 -5
- package/dist/collection/components/handle/handle.e2e.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.css +5 -5
- package/dist/collection/components/icon/icon.e2e.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/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.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.css +5 -5
- package/dist/collection/components/input/input.e2e.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.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.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-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.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.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.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.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.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.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.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.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.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.css +5 -5
- package/dist/collection/components/label/label.e2e.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.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.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.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.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.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.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 +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +20 -12
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.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.css +5 -5
- package/dist/collection/components/meter/meter.e2e.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.css +6 -6
- package/dist/collection/components/modal/modal.e2e.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.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.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.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.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.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.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.css +5 -5
- package/dist/collection/components/notice/notice.e2e.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.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.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.css +5 -5
- package/dist/collection/components/panel/panel.e2e.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.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.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.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.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.css +5 -5
- package/dist/collection/components/popover/popover.e2e.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.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.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.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.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.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.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.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.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.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.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.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.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.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.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.css +5 -5
- package/dist/collection/components/slider/slider.e2e.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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.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.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.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.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.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.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.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.css +5 -5
- package/dist/collection/components/tile/tile.e2e.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.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.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.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.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.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.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.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.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.css +5 -5
- package/dist/collection/components/tree/tree.e2e.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.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.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.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.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/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.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/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.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/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +14 -11
- package/dist/components/button.js.map +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 +1 -1
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown-item.js.map +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +18 -11
- package/dist/components/menu.js.map +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.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/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-6d405e84.js +102 -0
- package/dist/esm/ExpandToggle-6d405e84.js.map +1 -0
- package/dist/esm/FloatingArrow-048c63a5.js +47 -0
- package/dist/esm/FloatingArrow-048c63a5.js.map +1 -0
- package/dist/esm/Heading-5f5eb588.js +19 -0
- package/dist/esm/Heading-5f5eb588.js.map +1 -0
- package/dist/esm/app-globals-18ff9a98.js +59 -0
- package/dist/esm/app-globals-18ff9a98.js.map +1 -0
- package/dist/esm/ar-0dbdc90f.js +103 -0
- package/dist/esm/ar-0dbdc90f.js.map +1 -0
- package/dist/esm/array-344913d8.js +12 -0
- package/dist/esm/array-344913d8.js.map +1 -0
- package/dist/esm/bg-b34e6e95.js +81 -0
- package/dist/esm/bg-b34e6e95.js.map +1 -0
- package/dist/esm/browser-e08ec4a4.js +18 -0
- package/dist/esm/browser-e08ec4a4.js.map +1 -0
- package/dist/esm/bs-1c62af40.js +50 -0
- package/dist/esm/bs-1c62af40.js.map +1 -0
- package/dist/esm/ca-6c34ad57.js +70 -0
- package/dist/esm/ca-6c34ad57.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- 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 +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +26 -23
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +20 -20
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +15 -15
- package/dist/esm/calcite-input-text.entry.js +15 -15
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-8a240fba.js +2913 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-8a240fba.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +25 -18
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- 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 +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +17 -17
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- 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 +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-a6616869.js +27 -0
- package/dist/esm/component-a6616869.js.map +1 -0
- package/dist/esm/conditionalSlot-78e95782.js +57 -0
- package/dist/esm/conditionalSlot-78e95782.js.map +1 -0
- package/dist/esm/cs-d62b3d33.js +146 -0
- package/dist/esm/cs-d62b3d33.js.map +1 -0
- package/dist/esm/da-8f334fba.js +65 -0
- package/dist/esm/da-8f334fba.js.map +1 -0
- package/dist/esm/de-ad74a119.js +90 -0
- package/dist/esm/de-ad74a119.js.map +1 -0
- package/dist/esm/de-at-f7ea2f1e.js +89 -0
- package/dist/esm/de-at-f7ea2f1e.js.map +1 -0
- package/dist/esm/de-ch-87c604c6.js +89 -0
- package/dist/esm/de-ch-87c604c6.js.map +1 -0
- package/dist/esm/debounce-17075928.js +489 -0
- package/dist/esm/debounce-17075928.js.map +1 -0
- package/dist/esm/dom-2b75a157.js +1053 -0
- package/dist/esm/dom-2b75a157.js.map +1 -0
- package/dist/esm/el-e4215fd2.js +65 -0
- package/dist/esm/el-e4215fd2.js.map +1 -0
- package/dist/esm/en-au-5241d40d.js +65 -0
- package/dist/esm/en-au-5241d40d.js.map +1 -0
- package/dist/esm/en-ca-9ba79056.js +64 -0
- package/dist/esm/en-ca-9ba79056.js.map +1 -0
- package/dist/esm/en-gb-f281b3ac.js +68 -0
- package/dist/esm/en-gb-f281b3ac.js.map +1 -0
- package/dist/esm/es-ee1fa2ca.js +65 -0
- package/dist/esm/es-ee1fa2ca.js.map +1 -0
- package/dist/esm/es-mx-41f78d5c.js +64 -0
- package/dist/esm/es-mx-41f78d5c.js.map +1 -0
- package/dist/esm/et-10bed9ff.js +91 -0
- package/dist/esm/et-10bed9ff.js.map +1 -0
- package/dist/esm/fi-8881ca9b.js +114 -0
- package/dist/esm/fi-8881ca9b.js.map +1 -0
- package/dist/esm/filter-dd647f01.js +760 -0
- package/dist/esm/filter-dd647f01.js.map +1 -0
- package/dist/esm/floating-ui-cc8a8670.js +1907 -0
- package/dist/esm/floating-ui-cc8a8670.js.map +1 -0
- package/dist/esm/focusTrapComponent-34d3edf6.js +1015 -0
- package/dist/esm/focusTrapComponent-34d3edf6.js.map +1 -0
- package/dist/esm/form-80178845.js +249 -0
- package/dist/esm/form-80178845.js.map +1 -0
- package/dist/esm/fr-5feab7cf.js +67 -0
- package/dist/esm/fr-5feab7cf.js.map +1 -0
- package/dist/esm/fr-ch-82b6ec38.js +65 -0
- package/dist/esm/fr-ch-82b6ec38.js.map +1 -0
- package/dist/esm/guid-0ab12e84.js +21 -0
- package/dist/esm/guid-0ab12e84.js.map +1 -0
- package/dist/esm/he-89439946.js +104 -0
- package/dist/esm/he-89439946.js.map +1 -0
- package/dist/esm/hi-3e9c5308.js +64 -0
- package/dist/esm/hi-3e9c5308.js.map +1 -0
- package/dist/esm/hr-3048cb91.js +79 -0
- package/dist/esm/hr-3048cb91.js.map +1 -0
- package/dist/esm/hu-f05d1f4a.js +87 -0
- package/dist/esm/hu-f05d1f4a.js.map +1 -0
- package/dist/esm/id-b923ddb4.js +65 -0
- package/dist/esm/id-b923ddb4.js.map +1 -0
- package/dist/esm/index-324771df.js +206 -0
- package/dist/esm/index-324771df.js.map +1 -0
- package/dist/esm/index-588bda1f.js +73 -0
- package/dist/esm/index-588bda1f.js.map +1 -0
- package/dist/esm/index-f8b43fa1.js +2609 -0
- package/dist/esm/index-f8b43fa1.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-8a7f107e.js +140 -0
- package/dist/esm/interactive-8a7f107e.js.map +1 -0
- package/dist/esm/it-4b99fb03.js +65 -0
- package/dist/esm/it-4b99fb03.js.map +1 -0
- package/dist/esm/it-ch-0eab9fc0.js +65 -0
- package/dist/esm/it-ch-0eab9fc0.js.map +1 -0
- package/dist/esm/ja-c179e1f2.js +71 -0
- package/dist/esm/ja-c179e1f2.js.map +1 -0
- package/dist/esm/key-ccf35d67.js +13 -0
- package/dist/esm/key-ccf35d67.js.map +1 -0
- package/dist/esm/ko-79f2cd8b.js +71 -0
- package/dist/esm/ko-79f2cd8b.js.map +1 -0
- package/dist/esm/label-3ccfa41a.js +176 -0
- package/dist/esm/label-3ccfa41a.js.map +1 -0
- package/dist/esm/loadable-7b2872eb.js +86 -0
- package/dist/esm/loadable-7b2872eb.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-9d79780e.js +563 -0
- package/dist/esm/locale-9d79780e.js.map +1 -0
- package/dist/esm/lt-ba12c801.js +96 -0
- package/dist/esm/lt-ba12c801.js.map +1 -0
- package/dist/esm/lv-50413d14.js +65 -0
- package/dist/esm/lv-50413d14.js.map +1 -0
- package/dist/esm/math-47af69c2.js +51 -0
- package/dist/esm/math-47af69c2.js.map +1 -0
- package/dist/esm/mk-9d608852.js +65 -0
- package/dist/esm/mk-9d608852.js.map +1 -0
- package/dist/esm/nb-610519c4.js +66 -0
- package/dist/esm/nb-610519c4.js.map +1 -0
- package/dist/esm/nl-410bf471.js +66 -0
- package/dist/esm/nl-410bf471.js.map +1 -0
- package/dist/esm/observers-ea46aa34.js +48 -0
- package/dist/esm/observers-ea46aa34.js.map +1 -0
- package/dist/esm/openCloseComponent-d1dbafa5.js +87 -0
- package/dist/esm/openCloseComponent-d1dbafa5.js.map +1 -0
- package/dist/esm/pl-e06cc53d.js +113 -0
- package/dist/esm/pl-e06cc53d.js.map +1 -0
- package/dist/esm/pt-5e8b4b14.js +66 -0
- package/dist/esm/pt-5e8b4b14.js.map +1 -0
- package/dist/esm/pt-br-db390b34.js +64 -0
- package/dist/esm/pt-br-db390b34.js.map +1 -0
- package/dist/esm/resources-19ce89df.js +21 -0
- package/dist/esm/resources-19ce89df.js.map +1 -0
- package/dist/esm/resources-5f29fddc.js +17 -0
- package/dist/esm/resources-5f29fddc.js.map +1 -0
- package/dist/esm/resources-6debe1cf.js +385 -0
- package/dist/esm/resources-6debe1cf.js.map +1 -0
- package/dist/esm/resources-a5d6cdce.js +23 -0
- package/dist/esm/resources-a5d6cdce.js.map +1 -0
- package/dist/esm/resources-af957d75.js +19 -0
- package/dist/esm/resources-af957d75.js.map +1 -0
- package/dist/esm/resources-bbfc9c36.js +25 -0
- package/dist/esm/resources-bbfc9c36.js.map +1 -0
- package/dist/esm/resources-dce35e59.js +45 -0
- package/dist/esm/resources-dce35e59.js.map +1 -0
- package/dist/esm/ro-0ecf1b92.js +65 -0
- package/dist/esm/ro-0ecf1b92.js.map +1 -0
- package/dist/esm/ru-6b80993b.js +125 -0
- package/dist/esm/ru-6b80993b.js.map +1 -0
- package/dist/esm/sk-030c42a8.js +147 -0
- package/dist/esm/sk-030c42a8.js.map +1 -0
- package/dist/esm/sl-865152e6.js +167 -0
- package/dist/esm/sl-865152e6.js.map +1 -0
- package/dist/esm/sortableComponent-64d660c0.js +2735 -0
- package/dist/esm/sortableComponent-64d660c0.js.map +1 -0
- package/dist/esm/sr-30f2e5d5.js +100 -0
- package/dist/esm/sr-30f2e5d5.js.map +1 -0
- package/dist/esm/sv-e0486bd9.js +70 -0
- package/dist/esm/sv-e0486bd9.js.map +1 -0
- package/dist/esm/t9n-86a57b3c.js +92 -0
- package/dist/esm/t9n-86a57b3c.js.map +1 -0
- package/dist/esm/th-e0e6f971.js +64 -0
- package/dist/esm/th-e0e6f971.js.map +1 -0
- package/dist/esm/throttle-4ec2c3c3.js +75 -0
- package/dist/esm/throttle-4ec2c3c3.js.map +1 -0
- package/dist/esm/tr-62317e04.js +65 -0
- package/dist/esm/tr-62317e04.js.map +1 -0
- package/dist/esm/uk-f768fcee.js +103 -0
- package/dist/esm/uk-f768fcee.js.map +1 -0
- package/dist/esm/utils-749fc049.js +289 -0
- package/dist/esm/utils-749fc049.js.map +1 -0
- package/dist/esm/utils-df43aefa.js +200 -0
- package/dist/esm/utils-df43aefa.js.map +1 -0
- package/dist/esm/vi-c21abbb5.js +69 -0
- package/dist/esm/vi-c21abbb5.js.map +1 -0
- package/dist/esm/zh-cn-2c621d10.js +93 -0
- package/dist/esm/zh-cn-2c621d10.js.map +1 -0
- package/dist/esm/zh-hk-c0636881.js +70 -0
- package/dist/esm/zh-hk-c0636881.js.map +1 -0
- package/dist/esm/zh-tw-97d61592.js +91 -0
- package/dist/esm/zh-tw-97d61592.js.map +1 -0
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/button/button.d.ts +2 -5
- package/dist/types/components/menu/menu.d.ts +3 -5
- package/hydrate/index.js +39 -92
- package/package.json +2 -2
- package/dist/calcite/p-020afb9d.entry.js +0 -7
- package/dist/calcite/p-0417f911.entry.js +0 -7
- package/dist/calcite/p-0461575b.js +0 -7
- package/dist/calcite/p-0526a056.js +0 -7
- package/dist/calcite/p-06f11815.js +0 -7
- package/dist/calcite/p-0a4bc826.js +0 -7
- package/dist/calcite/p-0b27ac0c.js +0 -7
- package/dist/calcite/p-117c164b.entry.js +0 -7
- package/dist/calcite/p-11aa6144.entry.js +0 -7
- package/dist/calcite/p-1394f7ac.js +0 -7
- package/dist/calcite/p-15bb2059.entry.js +0 -7
- package/dist/calcite/p-15bb2059.entry.js.map +0 -1
- package/dist/calcite/p-16730cd5.js +0 -8
- package/dist/calcite/p-180d7fd5.js +0 -7
- package/dist/calcite/p-1964b713.js +0 -7
- package/dist/calcite/p-1b4025f2.js +0 -7
- package/dist/calcite/p-1caf9fab.js +0 -7
- package/dist/calcite/p-20182f83.entry.js +0 -7
- package/dist/calcite/p-258b44bd.entry.js +0 -7
- package/dist/calcite/p-287b2256.entry.js +0 -7
- package/dist/calcite/p-29fc2cd8.entry.js +0 -7
- package/dist/calcite/p-31a2d8ce.js +0 -7
- package/dist/calcite/p-328536a8.js +0 -7
- package/dist/calcite/p-35292e02.entry.js +0 -7
- package/dist/calcite/p-370aec39.entry.js +0 -7
- package/dist/calcite/p-37c708ef.js +0 -7
- package/dist/calcite/p-3958a197.js +0 -7
- package/dist/calcite/p-3a653c21.js +0 -7
- package/dist/calcite/p-3bb89bfa.entry.js +0 -7
- package/dist/calcite/p-3c2ff033.js +0 -7
- package/dist/calcite/p-3c34a15a.js +0 -7
- package/dist/calcite/p-3e2b901e.entry.js +0 -7
- package/dist/calcite/p-3fa4c3ad.js +0 -7
- package/dist/calcite/p-404e78df.js +0 -7
- package/dist/calcite/p-4073e9f6.entry.js +0 -7
- package/dist/calcite/p-40a2655a.js +0 -7
- package/dist/calcite/p-415ec5f6.entry.js +0 -7
- package/dist/calcite/p-4193cc94.js +0 -7
- package/dist/calcite/p-43acc768.entry.js +0 -7
- package/dist/calcite/p-46d24f7e.entry.js +0 -7
- package/dist/calcite/p-47342fa4.entry.js +0 -7
- package/dist/calcite/p-4897455e.js +0 -7
- package/dist/calcite/p-48c96814.entry.js +0 -7
- package/dist/calcite/p-48c96814.entry.js.map +0 -1
- package/dist/calcite/p-4c392085.entry.js +0 -7
- package/dist/calcite/p-4c392085.entry.js.map +0 -1
- package/dist/calcite/p-4cc7573a.js +0 -7
- package/dist/calcite/p-4ccbd3ae.entry.js +0 -7
- package/dist/calcite/p-4d44f88e.js +0 -7
- package/dist/calcite/p-5174bbfb.entry.js +0 -7
- package/dist/calcite/p-557589ef.js +0 -7
- package/dist/calcite/p-5599c42a.js +0 -7
- package/dist/calcite/p-5606fd0d.entry.js +0 -7
- package/dist/calcite/p-5606fd0d.entry.js.map +0 -1
- package/dist/calcite/p-56852be9.js +0 -7
- package/dist/calcite/p-587a510b.js +0 -7
- package/dist/calcite/p-5914a2eb.js +0 -7
- package/dist/calcite/p-59c8f6f9.js +0 -7
- package/dist/calcite/p-5c792ff3.js +0 -7
- package/dist/calcite/p-5cbd3a25.js +0 -7
- package/dist/calcite/p-5cda582e.js +0 -7
- package/dist/calcite/p-5e64c1ae.js +0 -7
- package/dist/calcite/p-61785d7b.entry.js +0 -7
- package/dist/calcite/p-62708e11.js +0 -7
- package/dist/calcite/p-657ba827.js +0 -7
- package/dist/calcite/p-683d77d0.entry.js +0 -7
- package/dist/calcite/p-69c0d3ee.js +0 -7
- package/dist/calcite/p-69cc9499.js +0 -7
- package/dist/calcite/p-69f8e91d.js +0 -12
- package/dist/calcite/p-6b044923.entry.js +0 -7
- package/dist/calcite/p-6b60ac58.js +0 -7
- package/dist/calcite/p-6c3caa76.entry.js +0 -7
- package/dist/calcite/p-6f5664ce.entry.js +0 -7
- package/dist/calcite/p-70058994.js +0 -7
- package/dist/calcite/p-70b305a8.entry.js +0 -7
- package/dist/calcite/p-7879b5ac.entry.js +0 -7
- package/dist/calcite/p-78f33d5e.js +0 -7
- package/dist/calcite/p-7af76764.entry.js +0 -7
- package/dist/calcite/p-7af76764.entry.js.map +0 -1
- package/dist/calcite/p-7e42cd0b.entry.js +0 -7
- package/dist/calcite/p-7e42cd0b.entry.js.map +0 -1
- package/dist/calcite/p-7ed6a614.js +0 -7
- package/dist/calcite/p-7fe99255.js +0 -7
- package/dist/calcite/p-8017c381.js +0 -7
- package/dist/calcite/p-83505fa2.js +0 -7
- package/dist/calcite/p-8489ccde.entry.js +0 -7
- package/dist/calcite/p-8533c6ea.js +0 -7
- package/dist/calcite/p-877a7510.js +0 -7
- package/dist/calcite/p-894efba3.entry.js +0 -7
- package/dist/calcite/p-8b37f75e.js +0 -7
- package/dist/calcite/p-91ee4a87.js +0 -7
- package/dist/calcite/p-94f6a855.js +0 -7
- package/dist/calcite/p-955e5eac.entry.js +0 -7
- package/dist/calcite/p-959ecf7c.js +0 -7
- package/dist/calcite/p-9746b002.entry.js +0 -7
- package/dist/calcite/p-97ee7478.entry.js +0 -7
- package/dist/calcite/p-9955b754.entry.js +0 -7
- package/dist/calcite/p-9955b754.entry.js.map +0 -1
- package/dist/calcite/p-9a3ca060.js +0 -7
- package/dist/calcite/p-9d1d246c.entry.js +0 -7
- package/dist/calcite/p-9dc54aae.entry.js +0 -7
- package/dist/calcite/p-a026258e.js +0 -7
- package/dist/calcite/p-a041e1ee.entry.js +0 -7
- package/dist/calcite/p-a0c8a148.js +0 -7
- package/dist/calcite/p-a12a85c3.entry.js +0 -7
- package/dist/calcite/p-a14fb495.entry.js +0 -7
- package/dist/calcite/p-a24bddbc.entry.js +0 -7
- package/dist/calcite/p-a3199c3d.entry.js +0 -7
- package/dist/calcite/p-a3d7b7a5.js +0 -7
- package/dist/calcite/p-a8d238e1.js +0 -7
- package/dist/calcite/p-af235230.js +0 -7
- package/dist/calcite/p-af84403b.js +0 -7
- package/dist/calcite/p-b036c99e.js +0 -7
- package/dist/calcite/p-b24ed14f.js +0 -7
- package/dist/calcite/p-b26d922d.entry.js +0 -7
- package/dist/calcite/p-b297d008.entry.js +0 -7
- package/dist/calcite/p-b3e7b2dd.entry.js +0 -7
- package/dist/calcite/p-b449ad3e.js +0 -7
- package/dist/calcite/p-b4d0a340.js +0 -7
- package/dist/calcite/p-b5748492.entry.js +0 -7
- package/dist/calcite/p-b59c892f.js +0 -7
- package/dist/calcite/p-b5f9b02f.js +0 -7
- package/dist/calcite/p-b8e9f99e.entry.js +0 -7
- package/dist/calcite/p-b8e9f99e.entry.js.map +0 -1
- package/dist/calcite/p-becba058.js +0 -7
- package/dist/calcite/p-c2cb2363.js +0 -7
- package/dist/calcite/p-c45f11e0.entry.js +0 -7
- package/dist/calcite/p-c7dbe7c5.entry.js +0 -7
- package/dist/calcite/p-c81176e0.js +0 -7
- package/dist/calcite/p-c9dc85f3.js +0 -7
- package/dist/calcite/p-ca1d1b41.js +0 -7
- package/dist/calcite/p-cc2b3b3d.js +0 -7
- package/dist/calcite/p-cc517f77.entry.js +0 -7
- package/dist/calcite/p-cd36d9cb.entry.js +0 -7
- package/dist/calcite/p-cd39f60b.entry.js +0 -7
- package/dist/calcite/p-d0c805d4.entry.js +0 -7
- package/dist/calcite/p-d10e10a5.entry.js +0 -7
- package/dist/calcite/p-d3ba3238.js +0 -7
- package/dist/calcite/p-d50641ce.js +0 -7
- package/dist/calcite/p-d54b5018.entry.js +0 -7
- package/dist/calcite/p-d6531aa4.entry.js +0 -7
- package/dist/calcite/p-d7aedc3d.js +0 -7
- package/dist/calcite/p-d8c18ab1.entry.js +0 -7
- package/dist/calcite/p-da7d254d.js +0 -7
- package/dist/calcite/p-dcaff678.entry.js +0 -7
- package/dist/calcite/p-dfdff05a.js +0 -7
- package/dist/calcite/p-e0330a53.entry.js +0 -7
- package/dist/calcite/p-e1975115.entry.js +0 -7
- package/dist/calcite/p-e1e85adf.js +0 -7
- package/dist/calcite/p-e50a6f4c.js +0 -7
- package/dist/calcite/p-e6d974c7.entry.js +0 -7
- package/dist/calcite/p-e6d974c7.entry.js.map +0 -1
- package/dist/calcite/p-eb49e78d.entry.js +0 -7
- package/dist/calcite/p-ec33f479.js +0 -7
- package/dist/calcite/p-edce7351.js +0 -11
- package/dist/calcite/p-f042414e.js +0 -7
- package/dist/calcite/p-f1d57e58.entry.js +0 -7
- package/dist/calcite/p-f2196506.entry.js +0 -7
- package/dist/calcite/p-f3315cb3.js +0 -7
- package/dist/calcite/p-f3315cb3.js.map +0 -1
- package/dist/calcite/p-f4bd74d6.js +0 -7
- package/dist/calcite/p-f5af53ee.entry.js +0 -7
- package/dist/calcite/p-f6db8b62.js +0 -7
- package/dist/calcite/p-f7f5fa70.entry.js +0 -7
- package/dist/calcite/p-f9c78b4c.js +0 -7
- package/dist/calcite/p-f9cd0648.js +0 -7
- package/dist/calcite/p-fcdd5bde.entry.js +0 -7
- package/dist/calcite/p-fe8dce6f.entry.js +0 -7
- package/dist/calcite/p-fea31e48.js +0 -7
- package/dist/calcite/p-fecc9518.js +0 -13
- package/dist/cjs/ExpandToggle-5b5beec1.js +0 -110
- package/dist/cjs/ExpandToggle-5b5beec1.js.map +0 -1
- package/dist/cjs/FloatingArrow-5b1bdf81.js +0 -49
- package/dist/cjs/FloatingArrow-5b1bdf81.js.map +0 -1
- package/dist/cjs/Heading-060b56b0.js +0 -22
- package/dist/cjs/Heading-060b56b0.js.map +0 -1
- package/dist/cjs/app-globals-246a5930.js +0 -61
- package/dist/cjs/app-globals-246a5930.js.map +0 -1
- package/dist/cjs/ar-2a60236a.js +0 -105
- package/dist/cjs/ar-2a60236a.js.map +0 -1
- package/dist/cjs/array-1fd7aaf1.js +0 -14
- package/dist/cjs/array-1fd7aaf1.js.map +0 -1
- package/dist/cjs/bg-997fbe26.js +0 -83
- package/dist/cjs/bg-997fbe26.js.map +0 -1
- package/dist/cjs/browser-27cf8098.js +0 -20
- package/dist/cjs/browser-27cf8098.js.map +0 -1
- package/dist/cjs/bs-d319973a.js +0 -52
- package/dist/cjs/bs-d319973a.js.map +0 -1
- package/dist/cjs/ca-a47fec9c.js +0 -72
- package/dist/cjs/ca-a47fec9c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04cc37cc.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-04cc37cc.js.map +0 -1
- package/dist/cjs/component-62b3a5db.js +0 -30
- package/dist/cjs/component-62b3a5db.js.map +0 -1
- package/dist/cjs/conditionalSlot-0dd92f1b.js +0 -60
- package/dist/cjs/conditionalSlot-0dd92f1b.js.map +0 -1
- package/dist/cjs/cs-870a334d.js +0 -148
- package/dist/cjs/cs-870a334d.js.map +0 -1
- package/dist/cjs/da-61040758.js +0 -67
- package/dist/cjs/da-61040758.js.map +0 -1
- package/dist/cjs/de-118cf810.js +0 -92
- package/dist/cjs/de-118cf810.js.map +0 -1
- package/dist/cjs/de-at-39f3ca6f.js +0 -91
- package/dist/cjs/de-at-39f3ca6f.js.map +0 -1
- package/dist/cjs/de-ch-1cfeccf3.js +0 -91
- package/dist/cjs/de-ch-1cfeccf3.js.map +0 -1
- package/dist/cjs/debounce-c3dd576b.js +0 -498
- package/dist/cjs/debounce-c3dd576b.js.map +0 -1
- package/dist/cjs/dom-20b81b7c.js +0 -1084
- package/dist/cjs/dom-20b81b7c.js.map +0 -1
- package/dist/cjs/el-4a4ef24b.js +0 -67
- package/dist/cjs/el-4a4ef24b.js.map +0 -1
- package/dist/cjs/en-au-40c85fa9.js +0 -67
- package/dist/cjs/en-au-40c85fa9.js.map +0 -1
- package/dist/cjs/en-ca-256d5630.js +0 -66
- package/dist/cjs/en-ca-256d5630.js.map +0 -1
- package/dist/cjs/en-gb-96ad7a30.js +0 -70
- package/dist/cjs/en-gb-96ad7a30.js.map +0 -1
- package/dist/cjs/es-2c786d50.js +0 -67
- package/dist/cjs/es-2c786d50.js.map +0 -1
- package/dist/cjs/es-mx-83dda81b.js +0 -66
- package/dist/cjs/es-mx-83dda81b.js.map +0 -1
- package/dist/cjs/et-6744626a.js +0 -93
- package/dist/cjs/et-6744626a.js.map +0 -1
- package/dist/cjs/fi-7fc26385.js +0 -116
- package/dist/cjs/fi-7fc26385.js.map +0 -1
- package/dist/cjs/filter-3901c6ef.js +0 -762
- package/dist/cjs/filter-3901c6ef.js.map +0 -1
- package/dist/cjs/floating-ui-29afa525.js +0 -1915
- package/dist/cjs/floating-ui-29afa525.js.map +0 -1
- package/dist/cjs/focusTrapComponent-313247e1.js +0 -1020
- package/dist/cjs/focusTrapComponent-313247e1.js.map +0 -1
- package/dist/cjs/form-c69d77b7.js +0 -257
- package/dist/cjs/form-c69d77b7.js.map +0 -1
- package/dist/cjs/fr-aa9d0775.js +0 -69
- package/dist/cjs/fr-aa9d0775.js.map +0 -1
- package/dist/cjs/fr-ch-1380617a.js +0 -67
- package/dist/cjs/fr-ch-1380617a.js.map +0 -1
- package/dist/cjs/globalAttributes-2c9f2c79.js +0 -74
- package/dist/cjs/globalAttributes-2c9f2c79.js.map +0 -1
- package/dist/cjs/guid-4e1b08d6.js +0 -23
- package/dist/cjs/guid-4e1b08d6.js.map +0 -1
- package/dist/cjs/he-b2b2b759.js +0 -106
- package/dist/cjs/he-b2b2b759.js.map +0 -1
- package/dist/cjs/hi-9834f426.js +0 -66
- package/dist/cjs/hi-9834f426.js.map +0 -1
- package/dist/cjs/hr-6ff2b016.js +0 -81
- package/dist/cjs/hr-6ff2b016.js.map +0 -1
- package/dist/cjs/hu-393a761f.js +0 -89
- package/dist/cjs/hu-393a761f.js.map +0 -1
- package/dist/cjs/id-21688ebd.js +0 -67
- package/dist/cjs/id-21688ebd.js.map +0 -1
- package/dist/cjs/index-2693b1bf.js +0 -2644
- package/dist/cjs/index-2693b1bf.js.map +0 -1
- package/dist/cjs/index-b6131bd2.js +0 -75
- package/dist/cjs/index-b6131bd2.js.map +0 -1
- package/dist/cjs/index-d2c27a22.js +0 -208
- package/dist/cjs/index-d2c27a22.js.map +0 -1
- package/dist/cjs/interactive-7ff50353.js +0 -144
- package/dist/cjs/interactive-7ff50353.js.map +0 -1
- package/dist/cjs/it-621eedac.js +0 -67
- package/dist/cjs/it-621eedac.js.map +0 -1
- package/dist/cjs/it-ch-599933c1.js +0 -67
- package/dist/cjs/it-ch-599933c1.js.map +0 -1
- package/dist/cjs/ja-639b7c1a.js +0 -73
- package/dist/cjs/ja-639b7c1a.js.map +0 -1
- package/dist/cjs/key-938b1fee.js +0 -16
- package/dist/cjs/key-938b1fee.js.map +0 -1
- package/dist/cjs/ko-4e6c9756.js +0 -73
- package/dist/cjs/ko-4e6c9756.js.map +0 -1
- package/dist/cjs/label-fbf2328b.js +0 -183
- package/dist/cjs/label-fbf2328b.js.map +0 -1
- package/dist/cjs/loadable-314e8451.js +0 -91
- package/dist/cjs/loadable-314e8451.js.map +0 -1
- package/dist/cjs/locale-0f52f566.js +0 -575
- package/dist/cjs/locale-0f52f566.js.map +0 -1
- package/dist/cjs/lt-0bf5ac27.js +0 -98
- package/dist/cjs/lt-0bf5ac27.js.map +0 -1
- package/dist/cjs/lv-db8fcea0.js +0 -67
- package/dist/cjs/lv-db8fcea0.js.map +0 -1
- package/dist/cjs/math-c024bec9.js +0 -57
- package/dist/cjs/math-c024bec9.js.map +0 -1
- package/dist/cjs/mk-eb874668.js +0 -67
- package/dist/cjs/mk-eb874668.js.map +0 -1
- package/dist/cjs/nb-24cd633c.js +0 -68
- package/dist/cjs/nb-24cd633c.js.map +0 -1
- package/dist/cjs/nl-425b5089.js +0 -68
- package/dist/cjs/nl-425b5089.js.map +0 -1
- package/dist/cjs/observers-3b6242e2.js +0 -50
- package/dist/cjs/observers-3b6242e2.js.map +0 -1
- package/dist/cjs/openCloseComponent-5b25ec99.js +0 -89
- package/dist/cjs/openCloseComponent-5b25ec99.js.map +0 -1
- package/dist/cjs/pl-1fbd4b69.js +0 -115
- package/dist/cjs/pl-1fbd4b69.js.map +0 -1
- package/dist/cjs/pt-70b02fba.js +0 -68
- package/dist/cjs/pt-70b02fba.js.map +0 -1
- package/dist/cjs/pt-br-10c67857.js +0 -66
- package/dist/cjs/pt-br-10c67857.js.map +0 -1
- package/dist/cjs/resources-0515d543.js +0 -49
- package/dist/cjs/resources-0515d543.js.map +0 -1
- package/dist/cjs/resources-12aab5e3.js +0 -412
- package/dist/cjs/resources-12aab5e3.js.map +0 -1
- package/dist/cjs/resources-12f7a424.js +0 -29
- package/dist/cjs/resources-12f7a424.js.map +0 -1
- package/dist/cjs/resources-19a89127.js +0 -26
- package/dist/cjs/resources-19a89127.js.map +0 -1
- package/dist/cjs/resources-e00cd2b7.js +0 -26
- package/dist/cjs/resources-e00cd2b7.js.map +0 -1
- package/dist/cjs/resources-e0e66f8e.js +0 -23
- package/dist/cjs/resources-e0e66f8e.js.map +0 -1
- package/dist/cjs/resources-f43e426d.js +0 -17
- package/dist/cjs/resources-f43e426d.js.map +0 -1
- package/dist/cjs/ro-6b59f9fd.js +0 -67
- package/dist/cjs/ro-6b59f9fd.js.map +0 -1
- package/dist/cjs/ru-a20c868e.js +0 -127
- package/dist/cjs/ru-a20c868e.js.map +0 -1
- package/dist/cjs/sk-bffeec39.js +0 -149
- package/dist/cjs/sk-bffeec39.js.map +0 -1
- package/dist/cjs/sl-ddb64c65.js +0 -169
- package/dist/cjs/sl-ddb64c65.js.map +0 -1
- package/dist/cjs/sortableComponent-7ece9220.js +0 -2739
- package/dist/cjs/sortableComponent-7ece9220.js.map +0 -1
- package/dist/cjs/sr-49edf491.js +0 -102
- package/dist/cjs/sr-49edf491.js.map +0 -1
- package/dist/cjs/sv-4c0001e9.js +0 -72
- package/dist/cjs/sv-4c0001e9.js.map +0 -1
- package/dist/cjs/t9n-0b3bfb19.js +0 -97
- package/dist/cjs/t9n-0b3bfb19.js.map +0 -1
- package/dist/cjs/th-0d41a47f.js +0 -66
- package/dist/cjs/th-0d41a47f.js.map +0 -1
- package/dist/cjs/throttle-1f6e1f4d.js +0 -77
- package/dist/cjs/throttle-1f6e1f4d.js.map +0 -1
- package/dist/cjs/tr-1eb82b0f.js +0 -67
- package/dist/cjs/tr-1eb82b0f.js.map +0 -1
- package/dist/cjs/uk-114c8ddb.js +0 -105
- package/dist/cjs/uk-114c8ddb.js.map +0 -1
- package/dist/cjs/utils-40d8436c.js +0 -307
- package/dist/cjs/utils-40d8436c.js.map +0 -1
- package/dist/cjs/utils-b2b26829.js +0 -218
- package/dist/cjs/utils-b2b26829.js.map +0 -1
- package/dist/cjs/vi-8c05f971.js +0 -71
- package/dist/cjs/vi-8c05f971.js.map +0 -1
- package/dist/cjs/zh-cn-2c0a6683.js +0 -95
- package/dist/cjs/zh-cn-2c0a6683.js.map +0 -1
- package/dist/cjs/zh-hk-c12260fc.js +0 -72
- package/dist/cjs/zh-hk-c12260fc.js.map +0 -1
- package/dist/cjs/zh-tw-84e73c5c.js +0 -93
- package/dist/cjs/zh-tw-84e73c5c.js.map +0 -1
- package/dist/collection/utils/globalAttributes.js +0 -67
- package/dist/collection/utils/globalAttributes.js.map +0 -1
- package/dist/collection/utils/globalAttributes.spec.js +0 -73
- package/dist/collection/utils/globalAttributes.spec.js.map +0 -1
- package/dist/components/globalAttributes.js +0 -71
- package/dist/components/globalAttributes.js.map +0 -1
- package/dist/esm/ExpandToggle-9c1bdbcd.js +0 -102
- package/dist/esm/ExpandToggle-9c1bdbcd.js.map +0 -1
- package/dist/esm/FloatingArrow-bdcda50e.js +0 -47
- package/dist/esm/FloatingArrow-bdcda50e.js.map +0 -1
- package/dist/esm/Heading-1d6f6157.js +0 -19
- package/dist/esm/Heading-1d6f6157.js.map +0 -1
- package/dist/esm/app-globals-2ff70ab6.js +0 -59
- package/dist/esm/app-globals-2ff70ab6.js.map +0 -1
- package/dist/esm/ar-53b429bd.js +0 -103
- package/dist/esm/ar-53b429bd.js.map +0 -1
- package/dist/esm/array-b71a120c.js +0 -12
- package/dist/esm/array-b71a120c.js.map +0 -1
- package/dist/esm/bg-939ee5c7.js +0 -81
- package/dist/esm/bg-939ee5c7.js.map +0 -1
- package/dist/esm/browser-45ab1a3a.js +0 -18
- package/dist/esm/browser-45ab1a3a.js.map +0 -1
- package/dist/esm/bs-7c2df368.js +0 -50
- package/dist/esm/bs-7c2df368.js.map +0 -1
- package/dist/esm/ca-e958fe70.js +0 -70
- package/dist/esm/ca-e958fe70.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42d0a289.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-42d0a289.js.map +0 -1
- package/dist/esm/component-79a95160.js +0 -27
- package/dist/esm/component-79a95160.js.map +0 -1
- package/dist/esm/conditionalSlot-f05b6bb0.js +0 -57
- package/dist/esm/conditionalSlot-f05b6bb0.js.map +0 -1
- package/dist/esm/cs-535f03e3.js +0 -146
- package/dist/esm/cs-535f03e3.js.map +0 -1
- package/dist/esm/da-4b6ff638.js +0 -65
- package/dist/esm/da-4b6ff638.js.map +0 -1
- package/dist/esm/de-7c427db9.js +0 -90
- package/dist/esm/de-7c427db9.js.map +0 -1
- package/dist/esm/de-at-d9961320.js +0 -89
- package/dist/esm/de-at-d9961320.js.map +0 -1
- package/dist/esm/de-ch-2d337995.js +0 -89
- package/dist/esm/de-ch-2d337995.js.map +0 -1
- package/dist/esm/debounce-650e524d.js +0 -489
- package/dist/esm/debounce-650e524d.js.map +0 -1
- package/dist/esm/dom-16a83f22.js +0 -1053
- package/dist/esm/dom-16a83f22.js.map +0 -1
- package/dist/esm/el-8900a837.js +0 -65
- package/dist/esm/el-8900a837.js.map +0 -1
- package/dist/esm/en-au-c1a2b7a3.js +0 -65
- package/dist/esm/en-au-c1a2b7a3.js.map +0 -1
- package/dist/esm/en-ca-e9c0d857.js +0 -64
- package/dist/esm/en-ca-e9c0d857.js.map +0 -1
- package/dist/esm/en-gb-7d808680.js +0 -68
- package/dist/esm/en-gb-7d808680.js.map +0 -1
- package/dist/esm/es-079c3d6b.js +0 -65
- package/dist/esm/es-079c3d6b.js.map +0 -1
- package/dist/esm/es-mx-951d89a4.js +0 -64
- package/dist/esm/es-mx-951d89a4.js.map +0 -1
- package/dist/esm/et-e560ef40.js +0 -91
- package/dist/esm/et-e560ef40.js.map +0 -1
- package/dist/esm/fi-bd0f9b8a.js +0 -114
- package/dist/esm/fi-bd0f9b8a.js.map +0 -1
- package/dist/esm/filter-62fd69af.js +0 -760
- package/dist/esm/filter-62fd69af.js.map +0 -1
- package/dist/esm/floating-ui-1a02239d.js +0 -1907
- package/dist/esm/floating-ui-1a02239d.js.map +0 -1
- package/dist/esm/focusTrapComponent-81564349.js +0 -1015
- package/dist/esm/focusTrapComponent-81564349.js.map +0 -1
- package/dist/esm/form-dad4f04e.js +0 -249
- package/dist/esm/form-dad4f04e.js.map +0 -1
- package/dist/esm/fr-4bd74af7.js +0 -67
- package/dist/esm/fr-4bd74af7.js.map +0 -1
- package/dist/esm/fr-ch-8b2ff10a.js +0 -65
- package/dist/esm/fr-ch-8b2ff10a.js.map +0 -1
- package/dist/esm/globalAttributes-b054255d.js +0 -71
- package/dist/esm/globalAttributes-b054255d.js.map +0 -1
- package/dist/esm/guid-3dfebb07.js +0 -21
- package/dist/esm/guid-3dfebb07.js.map +0 -1
- package/dist/esm/he-d7a96d80.js +0 -104
- package/dist/esm/he-d7a96d80.js.map +0 -1
- package/dist/esm/hi-ef1f57c0.js +0 -64
- package/dist/esm/hi-ef1f57c0.js.map +0 -1
- package/dist/esm/hr-721bfe91.js +0 -79
- package/dist/esm/hr-721bfe91.js.map +0 -1
- package/dist/esm/hu-fa095500.js +0 -87
- package/dist/esm/hu-fa095500.js.map +0 -1
- package/dist/esm/id-1f49fbb0.js +0 -65
- package/dist/esm/id-1f49fbb0.js.map +0 -1
- package/dist/esm/index-1d896312.js +0 -73
- package/dist/esm/index-1d896312.js.map +0 -1
- package/dist/esm/index-21dbeea3.js +0 -2609
- package/dist/esm/index-21dbeea3.js.map +0 -1
- package/dist/esm/index-47bd3338.js +0 -206
- package/dist/esm/index-47bd3338.js.map +0 -1
- package/dist/esm/interactive-8f531504.js +0 -140
- package/dist/esm/interactive-8f531504.js.map +0 -1
- package/dist/esm/it-bd82fd41.js +0 -65
- package/dist/esm/it-bd82fd41.js.map +0 -1
- package/dist/esm/it-ch-7e8f3656.js +0 -65
- package/dist/esm/it-ch-7e8f3656.js.map +0 -1
- package/dist/esm/ja-5c3b3ee5.js +0 -71
- package/dist/esm/ja-5c3b3ee5.js.map +0 -1
- package/dist/esm/key-4724a651.js +0 -13
- package/dist/esm/key-4724a651.js.map +0 -1
- package/dist/esm/ko-09bb2b67.js +0 -71
- package/dist/esm/ko-09bb2b67.js.map +0 -1
- package/dist/esm/label-2054fb9d.js +0 -176
- package/dist/esm/label-2054fb9d.js.map +0 -1
- package/dist/esm/loadable-b219e96d.js +0 -86
- package/dist/esm/loadable-b219e96d.js.map +0 -1
- package/dist/esm/locale-243ea69c.js +0 -563
- package/dist/esm/locale-243ea69c.js.map +0 -1
- package/dist/esm/lt-572d4ffa.js +0 -96
- package/dist/esm/lt-572d4ffa.js.map +0 -1
- package/dist/esm/lv-d426c116.js +0 -65
- package/dist/esm/lv-d426c116.js.map +0 -1
- package/dist/esm/math-07302159.js +0 -51
- package/dist/esm/math-07302159.js.map +0 -1
- package/dist/esm/mk-f989d12e.js +0 -65
- package/dist/esm/mk-f989d12e.js.map +0 -1
- package/dist/esm/nb-3b915b85.js +0 -66
- package/dist/esm/nb-3b915b85.js.map +0 -1
- package/dist/esm/nl-963391e5.js +0 -66
- package/dist/esm/nl-963391e5.js.map +0 -1
- package/dist/esm/observers-003e2d25.js +0 -48
- package/dist/esm/observers-003e2d25.js.map +0 -1
- package/dist/esm/openCloseComponent-a3a7cb34.js +0 -87
- package/dist/esm/openCloseComponent-a3a7cb34.js.map +0 -1
- package/dist/esm/pl-02939c34.js +0 -113
- package/dist/esm/pl-02939c34.js.map +0 -1
- package/dist/esm/pt-br-84a65e34.js +0 -64
- package/dist/esm/pt-br-84a65e34.js.map +0 -1
- package/dist/esm/pt-ce64e38c.js +0 -66
- package/dist/esm/pt-ce64e38c.js.map +0 -1
- package/dist/esm/resources-275966ff.js +0 -17
- package/dist/esm/resources-275966ff.js.map +0 -1
- package/dist/esm/resources-3bd04372.js +0 -385
- package/dist/esm/resources-3bd04372.js.map +0 -1
- package/dist/esm/resources-3f298436.js +0 -25
- package/dist/esm/resources-3f298436.js.map +0 -1
- package/dist/esm/resources-456215e0.js +0 -23
- package/dist/esm/resources-456215e0.js.map +0 -1
- package/dist/esm/resources-6f9c8bdd.js +0 -21
- package/dist/esm/resources-6f9c8bdd.js.map +0 -1
- package/dist/esm/resources-ca96346f.js +0 -45
- package/dist/esm/resources-ca96346f.js.map +0 -1
- package/dist/esm/resources-cf12693b.js +0 -19
- package/dist/esm/resources-cf12693b.js.map +0 -1
- package/dist/esm/ro-dcb34eae.js +0 -65
- package/dist/esm/ro-dcb34eae.js.map +0 -1
- package/dist/esm/ru-4b969d34.js +0 -125
- package/dist/esm/ru-4b969d34.js.map +0 -1
- package/dist/esm/sk-7ec896f3.js +0 -147
- package/dist/esm/sk-7ec896f3.js.map +0 -1
- package/dist/esm/sl-1c187cfd.js +0 -167
- package/dist/esm/sl-1c187cfd.js.map +0 -1
- package/dist/esm/sortableComponent-dff9fd30.js +0 -2735
- package/dist/esm/sortableComponent-dff9fd30.js.map +0 -1
- package/dist/esm/sr-3233000e.js +0 -100
- package/dist/esm/sr-3233000e.js.map +0 -1
- package/dist/esm/sv-e0211b83.js +0 -70
- package/dist/esm/sv-e0211b83.js.map +0 -1
- package/dist/esm/t9n-7f43b08e.js +0 -92
- package/dist/esm/t9n-7f43b08e.js.map +0 -1
- package/dist/esm/th-240afd85.js +0 -64
- package/dist/esm/th-240afd85.js.map +0 -1
- package/dist/esm/throttle-4fcf51be.js +0 -75
- package/dist/esm/throttle-4fcf51be.js.map +0 -1
- package/dist/esm/tr-3cfb3e81.js +0 -65
- package/dist/esm/tr-3cfb3e81.js.map +0 -1
- package/dist/esm/uk-42e54517.js +0 -103
- package/dist/esm/uk-42e54517.js.map +0 -1
- package/dist/esm/utils-7f29859c.js +0 -200
- package/dist/esm/utils-7f29859c.js.map +0 -1
- package/dist/esm/utils-b7426d1e.js +0 -289
- package/dist/esm/utils-b7426d1e.js.map +0 -1
- package/dist/esm/vi-f3e6fdc7.js +0 -69
- package/dist/esm/vi-f3e6fdc7.js.map +0 -1
- package/dist/esm/zh-cn-1e1c0313.js +0 -93
- package/dist/esm/zh-cn-1e1c0313.js.map +0 -1
- package/dist/esm/zh-hk-a9fe5f34.js +0 -70
- package/dist/esm/zh-hk-a9fe5f34.js.map +0 -1
- package/dist/esm/zh-tw-da191e61.js +0 -91
- package/dist/esm/zh-tw-da191e61.js.map +0 -1
- package/dist/types/utils/globalAttributes.d.ts +0 -41
- /package/dist/calcite/{p-cd36d9cb.entry.js.map → p-002f8573.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c34a15a.js.map → p-03565442.js.map} +0 -0
- /package/dist/calcite/{p-d8c18ab1.entry.js.map → p-045fbf85.entry.js.map} +0 -0
- /package/dist/calcite/{p-e50a6f4c.js.map → p-06a8aac1.js.map} +0 -0
- /package/dist/calcite/{p-5599c42a.js.map → p-07a609a8.js.map} +0 -0
- /package/dist/calcite/{p-258b44bd.entry.js.map → p-07c5ba66.entry.js.map} +0 -0
- /package/dist/calcite/{p-328536a8.js.map → p-0b842347.js.map} +0 -0
- /package/dist/calcite/{p-557589ef.js.map → p-0e57393f.js.map} +0 -0
- /package/dist/calcite/{p-020afb9d.entry.js.map → p-120b8b51.entry.js.map} +0 -0
- /package/dist/calcite/{p-31a2d8ce.js.map → p-131f12c6.js.map} +0 -0
- /package/dist/calcite/{p-b297d008.entry.js.map → p-15f3e5c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-e0330a53.entry.js.map → p-17a22826.entry.js.map} +0 -0
- /package/dist/calcite/{p-becba058.js.map → p-1b16a2ad.js.map} +0 -0
- /package/dist/calcite/{p-f9c78b4c.js.map → p-1c3ba82f.js.map} +0 -0
- /package/dist/calcite/{p-4ccbd3ae.entry.js.map → p-1d104c32.entry.js.map} +0 -0
- /package/dist/calcite/{p-1caf9fab.js.map → p-1ef2b999.js.map} +0 -0
- /package/dist/calcite/{p-69f8e91d.js.map → p-1fc0aa37.js.map} +0 -0
- /package/dist/calcite/{p-ca1d1b41.js.map → p-233d2740.js.map} +0 -0
- /package/dist/calcite/{p-4073e9f6.entry.js.map → p-23a63e0b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d50641ce.js.map → p-23c52e87.js.map} +0 -0
- /package/dist/calcite/{p-70b305a8.entry.js.map → p-248457bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-d7aedc3d.js.map → p-24988f69.js.map} +0 -0
- /package/dist/calcite/{p-c9dc85f3.js.map → p-2717fde7.js.map} +0 -0
- /package/dist/calcite/{p-da7d254d.js.map → p-2726a75c.js.map} +0 -0
- /package/dist/calcite/{p-40a2655a.js.map → p-2c3ace01.js.map} +0 -0
- /package/dist/calcite/{p-f1d57e58.entry.js.map → p-2d34eea1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5748492.entry.js.map → p-2e4752f5.entry.js.map} +0 -0
- /package/dist/calcite/{p-894efba3.entry.js.map → p-30059ec4.entry.js.map} +0 -0
- /package/dist/calcite/{p-9dc54aae.entry.js.map → p-314c0811.entry.js.map} +0 -0
- /package/dist/calcite/{p-1b4025f2.js.map → p-32dff08d.js.map} +0 -0
- /package/dist/calcite/{p-62708e11.js.map → p-3333cb69.js.map} +0 -0
- /package/dist/calcite/{p-fe8dce6f.entry.js.map → p-33d9589c.entry.js.map} +0 -0
- /package/dist/calcite/{p-29fc2cd8.entry.js.map → p-3502c71e.entry.js.map} +0 -0
- /package/dist/calcite/{p-dfdff05a.js.map → p-35b28c33.js.map} +0 -0
- /package/dist/calcite/{p-8017c381.js.map → p-35b5133a.js.map} +0 -0
- /package/dist/calcite/{p-a3199c3d.entry.js.map → p-368971a8.entry.js.map} +0 -0
- /package/dist/calcite/{p-1964b713.js.map → p-384ed57e.js.map} +0 -0
- /package/dist/calcite/{p-6b60ac58.js.map → p-396cf7b9.js.map} +0 -0
- /package/dist/calcite/{p-83505fa2.js.map → p-39a44c05.js.map} +0 -0
- /package/dist/calcite/{p-0a4bc826.js.map → p-39b2b525.js.map} +0 -0
- /package/dist/calcite/{p-11aa6144.entry.js.map → p-3a370acc.entry.js.map} +0 -0
- /package/dist/calcite/{p-6b044923.entry.js.map → p-3b191183.entry.js.map} +0 -0
- /package/dist/calcite/{p-c81176e0.js.map → p-3beb60a2.js.map} +0 -0
- /package/dist/calcite/{p-69c0d3ee.js.map → p-3c0ed68e.js.map} +0 -0
- /package/dist/calcite/{p-6c3caa76.entry.js.map → p-3dcaacfe.entry.js.map} +0 -0
- /package/dist/calcite/{p-a041e1ee.entry.js.map → p-3f6fb3c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-59c8f6f9.js.map → p-45875887.js.map} +0 -0
- /package/dist/calcite/{p-9a3ca060.js.map → p-46fec1c0.js.map} +0 -0
- /package/dist/calcite/{p-959ecf7c.js.map → p-4a27a5e0.js.map} +0 -0
- /package/dist/calcite/{p-3958a197.js.map → p-4f9d16ac.js.map} +0 -0
- /package/dist/calcite/{p-0461575b.js.map → p-509dc442.js.map} +0 -0
- /package/dist/calcite/{p-dcaff678.entry.js.map → p-50be0283.entry.js.map} +0 -0
- /package/dist/calcite/{p-56852be9.js.map → p-52d1ce74.js.map} +0 -0
- /package/dist/calcite/{p-d3ba3238.js.map → p-5328ecbe.js.map} +0 -0
- /package/dist/calcite/{p-404e78df.js.map → p-5554b144.js.map} +0 -0
- /package/dist/calcite/{p-e1e85adf.js.map → p-56e4067f.js.map} +0 -0
- /package/dist/calcite/{p-d0c805d4.entry.js.map → p-5882e7d6.entry.js.map} +0 -0
- /package/dist/calcite/{p-7ed6a614.js.map → p-58e993e3.js.map} +0 -0
- /package/dist/calcite/{p-b26d922d.entry.js.map → p-591fe40a.entry.js.map} +0 -0
- /package/dist/calcite/{p-37c708ef.js.map → p-5bc9857a.js.map} +0 -0
- /package/dist/calcite/{p-f4bd74d6.js.map → p-5bd46af1.js.map} +0 -0
- /package/dist/calcite/{p-edce7351.js.map → p-5be0a4a7.js.map} +0 -0
- /package/dist/calcite/{p-8489ccde.entry.js.map → p-5d9e2353.entry.js.map} +0 -0
- /package/dist/calcite/{p-1394f7ac.js.map → p-5eb66736.js.map} +0 -0
- /package/dist/calcite/{p-4cc7573a.js.map → p-5fde8f5e.js.map} +0 -0
- /package/dist/calcite/{p-43acc768.entry.js.map → p-63c6a6b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-0526a056.js.map → p-66681f87.js.map} +0 -0
- /package/dist/calcite/{p-877a7510.js.map → p-67501ae9.js.map} +0 -0
- /package/dist/calcite/{p-3bb89bfa.entry.js.map → p-68d5d979.entry.js.map} +0 -0
- /package/dist/calcite/{p-b036c99e.js.map → p-6bb7f3c4.js.map} +0 -0
- /package/dist/calcite/{p-e1975115.entry.js.map → p-6db4b794.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5f9b02f.js.map → p-70603fb2.js.map} +0 -0
- /package/dist/calcite/{p-287b2256.entry.js.map → p-75df9bd9.entry.js.map} +0 -0
- /package/dist/calcite/{p-7879b5ac.entry.js.map → p-7c077a62.entry.js.map} +0 -0
- /package/dist/calcite/{p-3e2b901e.entry.js.map → p-7cc5e113.entry.js.map} +0 -0
- /package/dist/calcite/{p-a8d238e1.js.map → p-7d1ba59b.js.map} +0 -0
- /package/dist/calcite/{p-117c164b.entry.js.map → p-7db0ed82.entry.js.map} +0 -0
- /package/dist/calcite/{p-f9cd0648.js.map → p-7df55640.js.map} +0 -0
- /package/dist/calcite/{p-91ee4a87.js.map → p-82f21b03.js.map} +0 -0
- /package/dist/calcite/{p-fcdd5bde.entry.js.map → p-83055880.entry.js.map} +0 -0
- /package/dist/calcite/{p-47342fa4.entry.js.map → p-866438b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-587a510b.js.map → p-88461d3c.js.map} +0 -0
- /package/dist/calcite/{p-a0c8a148.js.map → p-8b0ed781.js.map} +0 -0
- /package/dist/calcite/{p-61785d7b.entry.js.map → p-8b2df8aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-7fe99255.js.map → p-9009c0a1.js.map} +0 -0
- /package/dist/calcite/{p-3c2ff033.js.map → p-91c9f683.js.map} +0 -0
- /package/dist/calcite/{p-b3e7b2dd.entry.js.map → p-91ec6542.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d44f88e.js.map → p-94d1e684.js.map} +0 -0
- /package/dist/calcite/{p-d6531aa4.entry.js.map → p-95876f84.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb49e78d.entry.js.map → p-95ffad55.entry.js.map} +0 -0
- /package/dist/calcite/{p-16730cd5.js.map → p-9621ebf7.js.map} +0 -0
- /package/dist/calcite/{p-f7f5fa70.entry.js.map → p-974209b6.entry.js.map} +0 -0
- /package/dist/calcite/{p-f2196506.entry.js.map → p-9b557aba.entry.js.map} +0 -0
- /package/dist/calcite/{p-a12a85c3.entry.js.map → p-9c7f7d1a.entry.js.map} +0 -0
- /package/dist/calcite/{p-af235230.js.map → p-9cbb98ff.js.map} +0 -0
- /package/dist/calcite/{p-f042414e.js.map → p-a11279ab.js.map} +0 -0
- /package/dist/calcite/{p-cc2b3b3d.js.map → p-a12dfe9b.js.map} +0 -0
- /package/dist/calcite/{p-a3d7b7a5.js.map → p-a18346a6.js.map} +0 -0
- /package/dist/calcite/{p-5174bbfb.entry.js.map → p-a257d291.entry.js.map} +0 -0
- /package/dist/calcite/{p-69cc9499.js.map → p-a44373b6.js.map} +0 -0
- /package/dist/calcite/{p-3a653c21.js.map → p-a5ae1cbe.js.map} +0 -0
- /package/dist/calcite/{p-8533c6ea.js.map → p-a5bdaff6.js.map} +0 -0
- /package/dist/calcite/{p-4193cc94.js.map → p-a6e34d32.js.map} +0 -0
- /package/dist/calcite/{p-d10e10a5.entry.js.map → p-a967e594.entry.js.map} +0 -0
- /package/dist/calcite/{p-70058994.js.map → p-a98a05f3.js.map} +0 -0
- /package/dist/calcite/{p-4897455e.js.map → p-aa70bd73.js.map} +0 -0
- /package/dist/calcite/{p-657ba827.js.map → p-ac6a0ca6.js.map} +0 -0
- /package/dist/calcite/{p-5c792ff3.js.map → p-b4918bf9.js.map} +0 -0
- /package/dist/calcite/{p-9d1d246c.entry.js.map → p-b4bf01aa.entry.js.map} +0 -0
- /package/dist/calcite/{p-fea31e48.js.map → p-bad8b453.js.map} +0 -0
- /package/dist/calcite/{p-cc517f77.entry.js.map → p-bc4f28d1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b4d0a340.js.map → p-bd159809.js.map} +0 -0
- /package/dist/calcite/{p-370aec39.entry.js.map → p-bf7ab8a0.entry.js.map} +0 -0
- /package/dist/calcite/{p-c45f11e0.entry.js.map → p-c068329f.entry.js.map} +0 -0
- /package/dist/calcite/{p-a026258e.js.map → p-c201b87f.js.map} +0 -0
- /package/dist/calcite/{p-a24bddbc.entry.js.map → p-c4e5503b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8b37f75e.js.map → p-c5269d0a.js.map} +0 -0
- /package/dist/calcite/{p-cd39f60b.entry.js.map → p-c68edd8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-b24ed14f.js.map → p-c9869e5b.js.map} +0 -0
- /package/dist/calcite/{p-d54b5018.entry.js.map → p-cae5eaed.entry.js.map} +0 -0
- /package/dist/calcite/{p-415ec5f6.entry.js.map → p-cbea860a.entry.js.map} +0 -0
- /package/dist/calcite/{p-3fa4c3ad.js.map → p-cc5b2e58.js.map} +0 -0
- /package/dist/calcite/{p-c7dbe7c5.entry.js.map → p-ced451de.entry.js.map} +0 -0
- /package/dist/calcite/{p-97ee7478.entry.js.map → p-cf4fd512.entry.js.map} +0 -0
- /package/dist/calcite/{p-06f11815.js.map → p-d035fbd6.js.map} +0 -0
- /package/dist/calcite/{p-5cbd3a25.js.map → p-d39daf5b.js.map} +0 -0
- /package/dist/calcite/{p-af84403b.js.map → p-d655f9ba.js.map} +0 -0
- /package/dist/calcite/{p-0417f911.entry.js.map → p-db3493cb.entry.js.map} +0 -0
- /package/dist/calcite/{p-5cda582e.js.map → p-dbd096e2.js.map} +0 -0
- /package/dist/calcite/{p-c2cb2363.js.map → p-dca4568f.js.map} +0 -0
- /package/dist/calcite/{p-46d24f7e.entry.js.map → p-e02f897f.entry.js.map} +0 -0
- /package/dist/calcite/{p-35292e02.entry.js.map → p-e62df9ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-a14fb495.entry.js.map → p-e64691a3.entry.js.map} +0 -0
- /package/dist/calcite/{p-b449ad3e.js.map → p-e788e3a4.js.map} +0 -0
- /package/dist/calcite/{p-9746b002.entry.js.map → p-e94faf39.entry.js.map} +0 -0
- /package/dist/calcite/{p-5914a2eb.js.map → p-ebd3d6fe.js.map} +0 -0
- /package/dist/calcite/{p-955e5eac.entry.js.map → p-eccbaace.entry.js.map} +0 -0
- /package/dist/calcite/{p-180d7fd5.js.map → p-f07212b8.js.map} +0 -0
- /package/dist/calcite/{p-b59c892f.js.map → p-f1dc5b7f.js.map} +0 -0
- /package/dist/calcite/{p-78f33d5e.js.map → p-f21908c0.js.map} +0 -0
- /package/dist/calcite/{p-0b27ac0c.js.map → p-f29b8ca6.js.map} +0 -0
- /package/dist/calcite/{p-20182f83.entry.js.map → p-f320f004.entry.js.map} +0 -0
- /package/dist/calcite/{p-fecc9518.js.map → p-f37394ae.js.map} +0 -0
- /package/dist/calcite/{p-f5af53ee.entry.js.map → p-f452786c.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec33f479.js.map → p-f4e78a16.js.map} +0 -0
- /package/dist/calcite/{p-f6db8b62.js.map → p-f6e84612.js.map} +0 -0
- /package/dist/calcite/{p-683d77d0.entry.js.map → p-f96ab98e.entry.js.map} +0 -0
- /package/dist/calcite/{p-6f5664ce.entry.js.map → p-fce676a1.entry.js.map} +0 -0
- /package/dist/calcite/{p-5e64c1ae.js.map → p-fd3d6c96.js.map} +0 -0
- /package/dist/calcite/{p-94f6a855.js.map → p-ff0b6383.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ComboboxItem","ComboboxItemGroup","ComboboxChildSelector","CSS","chipInvisible","selectionDisplayFit","selectionDisplaySingle","listContainer","getAncestors","element","parent","parentElement","closest","grandparent","filter","el","getItemAncestors","item","ancestors","nodeName","getItemChildren","nodeListToArray","querySelectorAll","hasActiveChildren","node","items","selected","length","getDepth","result","document","evaluate","XPathResult","UNORDERED_NODE_SNAPSHOT_TYPE","snapshotLength","isSingleLike","selectionMode","includes","button","XButton","disabled","key","label","onClick","ref","scale","h","class","tabIndex","type","icon","getIconScale","calciteSize48","comboboxCss","isGroup","tagName","itemUidPrefix","chipUidPrefix","labelUidPrefix","listboxUidPrefix","inputUidPrefix","Combobox","this","placement","defaultMenuPlacement","internalValueChangeFlag","textInput","mutationObserver","createObserver","updateItems","resizeObserver","setMaxScrollerHeight","refreshSelectionDisplay","guid","inputHeight","ignoreSelectedEventsFlag","openTransitionProp","setFilteredPlacements","flipPlacements","filteredFlipPlacements","filterComputedPlacements","getValue","selectedItems","map","value","toString","onLabelClick","setFocus","keyDownHandler","event","activeChipIndex","activeItemIndex","allowCustomValues","text","addCustomChip","preventDefault","open","clearInputValue","filterItems","updateActiveItemIndex","previousChip","nextChip","shiftActiveItemIndex","comboboxInViewport","scrollIntoView","ensureRecentSelectedItemIsActive","scrollToActiveItem","filteredItems","clearDisabled","clearValue","toggleSelection","removeActiveChip","defaultPrevented","submitForm","isMulti","removeLastChip","toggleCloseEnd","removeEventListener","toggleOpenEnd","async","listContainerEl","referenceEl","reposition","maxScrollerHeight","getMaxScrollerHeight","style","maxHeight","minWidth","clientWidth","calciteChipCloseHandler","comboboxItem","selection","find","calciteComboboxChipClose","emit","clickHandler","composedPath","some","classList","contains","XButtonCSS","componentLoaded","allSelectedIndicatorChipEl","chipContainerEl","selectionDisplay","placeholder","selectedIndicatorChipEl","chipContainerElGap","parseInt","getComputedStyle","gap","replace","chipContainerElWidth","getElementWidth","fontSize","fontFamily","inputTextWidth","getTextWidth","inputWidth","allSelectedIndicatorChipElWidth","selectedIndicatorChipElWidth","largestSelectedIndicatorChipWidth","Math","max","setCompactSelectionDisplay","chipEls","Array","from","shadowRoot","chipEl","closable","availableHorizontalChipElSpace","round","selectedHiddenChipsCount","refreshChipDisplay","setVisibleAndHiddenChips","setFloatingEl","floatingEl","connectFloatingUI","setContainerEl","observe","transitionEl","setChipContainerEl","setReferenceEl","setAllSelectedIndicatorChipEl","setSelectedIndicatorChipEl","inputHandler","target","filteredData","textLabel","debounce","data","itemsAndGroups","getItemsAndGroups","forEach","hidden","ancestor","getFilteredItems","calciteComboboxFilterChange","internalComboboxChangeEvent","calciteComboboxChange","emitComboboxChange","getSelectedItems","match","sort","a","b","aIdx","indexOf","bIdx","getItems","groupItems","getGroupItems","getData","needsIcon","getNeedsIcon","groupItem","index","afterEmptyGroup","nextGroupItem","children","activeItem","height","calculateSingleItemHeight","offsetHeight","scrollTop","offsetTop","comboboxFocusHandler","focus","openHandler","onToggleOpenCloseComponent","handleDisabledChange","maxItemsHandler","overlayPositioningHandler","handlePropsChange","valueHandler","isArray","onMessagesChange","flipPlacementsHandler","selectedItemsHandler","documentClickHandler","isPrimaryPointerButton","trim","calciteComboboxItemChangeHandler","newIndex","delayed","overlayPositioning","componentFocusable","connectedCallback","connectInteractive","connectLocalized","connectMessages","connectLabel","connectForm","childList","subtree","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","afterConnectDefaultValueSet","setComponentLoaded","componentDidRender","updateHostInteraction","componentDidUpdate","disconnectedCallback","disconnect","disconnectInteractive","disconnectLabel","disconnectForm","disconnectFloatingUI","disconnectLocalized","disconnectMessages","textHandler","effectiveLocaleChange","updateMessages","effectiveLocale","resetText","bounding","getBoundingClientRect","top","left","right","window","innerWidth","documentElement","bottom","innerHeight","clientHeight","onBeforeOpen","calciteComboboxBeforeOpen","onOpen","calciteComboboxOpen","onBeforeClose","calciteComboboxBeforeClose","onClose","calciteComboboxClose","targetIndex","hideChip","add","showChip","remove","chipElWidth","newCompactBreakpoint","maxCompactBreakpoint","compactSelectionDisplay","newSelectedVisibleChipsCount","selectedVisibleChipsCount","newSelectedHiddenChipsCount","maxItems","itemsToProcess","child","updateAncestors","filterDisabled","existingItem","createElement","appendChild","active","focusChip","last","chip","querySelector","delta","activeDescendant","i","isAllSelected","renderChips","messages","chipClasses","reverse","pathLabel","join","iconFlipRtl","id","messageOverrides","dismissLabel","removeTag","onCalciteChipClose","title","renderAllSelectedIndicatorChip","allSelected","renderAllSelectedIndicatorChipCompact","all","renderSelectedIndicatorChip","selectedItemsCount","renderSelectedIndicatorChipCompact","renderInput","single","selectedItem","showLabel","getLabelText","input","placeholderIcon","onFocus","onInput","renderListBoxOptions","toAriaBoolean","role","tabindex","renderFloatingUIContainer","classes","FloatingCSS","animation","animationActive","list","renderIconStart","placeholderIconFlipRtl","selectedIcon","singleSelectionMode","iconAtStart","flipRtl","renderIconEnd","render","allSelectionDisplay","singleSelectionDisplay","fitSelectionDisplay","isClearable","Host","wrapper","onKeyDown","htmlFor","clear","HiddenFormInputSlot","component","iconActive","iconIndent","custom","dot","textContainer","comboboxItemCss","itemClickHandler","toggleSelected","selectedWatchHandler","calciteComboboxItemChange","connectConditionalSlotComponent","disconnectConditionalSlotComponent","isSinglePersistSelect","renderIcon","iconPath","renderSelectIndicator","showDot","renderChildren","getSlotted","isSingleSelect","defaultIcon","depth","comboboxItemGroupCss"],"sources":["src/components/combobox/resources.ts","src/components/combobox/utils.ts","src/components/functional/XButton.tsx","../calcite-design-tokens/dist/es6/core.js","src/components/combobox/combobox.scss?tag=calcite-combobox&encapsulation=shadow","src/components/combobox/combobox.tsx","src/components/combobox-item/resources.ts","src/components/combobox-item/combobox-item.scss?tag=calcite-combobox-item&encapsulation=shadow","src/components/combobox-item/combobox-item.tsx","src/components/combobox-item-group/resources.ts","src/components/combobox-item-group/combobox-item-group.scss?tag=calcite-combobox-item-group&encapsulation=shadow","src/components/combobox-item-group/combobox-item-group.tsx"],"sourcesContent":["export const ComboboxItem = \"CALCITE-COMBOBOX-ITEM\";\nexport const ComboboxItemGroup = \"CALCITE-COMBOBOX-ITEM-GROUP\";\nexport const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;\n\nexport const CSS = {\n chipInvisible: \"chip--invisible\",\n selectionDisplayFit: \"selection-display-fit\",\n selectionDisplaySingle: \"selection-display-single\",\n listContainer: \"list-container\",\n};\n","import { nodeListToArray } from \"../../utils/dom\";\nimport { ComboboxChildElement } from \"./interfaces\";\nimport { ComboboxChildSelector } from \"./resources\";\nimport { Build } from \"@stencil/core\";\nimport { Combobox } from \"./combobox\";\n\nexport function getAncestors(element: HTMLElement): ComboboxChildElement[] {\n const parent: ComboboxChildElement = element.parentElement?.closest(ComboboxChildSelector);\n const grandparent: ComboboxChildElement = parent?.parentElement?.closest(ComboboxChildSelector);\n return [parent, grandparent].filter((el) => el);\n}\n\nexport function getItemAncestors(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return (\n (item.ancestors?.filter((el) => el.nodeName === \"CALCITE-COMBOBOX-ITEM\") as HTMLCalciteComboboxItemElement[]) || []\n );\n}\n\nexport function getItemChildren(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return nodeListToArray(item.querySelectorAll(\"calcite-combobox-item\"));\n}\n\nexport function hasActiveChildren(node: HTMLCalciteComboboxItemElement): boolean {\n const items = nodeListToArray(node.querySelectorAll(\"calcite-combobox-item\"));\n return items.filter((item) => item.selected).length > 0;\n}\n\nexport function getDepth(element: HTMLElement): number {\n if (!Build.isBrowser) {\n return 0;\n }\n\n const result = document.evaluate(\n \"ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group\",\n element,\n null,\n XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,\n null\n );\n\n return result.snapshotLength;\n}\n\nexport function isSingleLike(selectionMode: Combobox[\"selectionMode\"]): boolean {\n return selectionMode.includes(\"single\");\n}\n","import { FunctionalComponent, h } from \"@stencil/core\";\nimport { JSXAttributes, JSXBase } from \"@stencil/core/internal\";\nimport { Scale } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\n\nexport interface XButtonOptions extends JSXAttributes {\n disabled: boolean;\n label: string;\n scale: Scale;\n onClick?: JSXBase.DOMAttributes<HTMLElement>[\"onClick\"];\n}\n\nexport const CSS = {\n button: \"x-button\",\n};\n\nexport function XButton({\n disabled,\n key,\n label,\n onClick,\n ref,\n scale,\n}: XButtonOptions): FunctionalComponent {\n return (\n <button\n aria-label={label}\n class={CSS.button}\n disabled={disabled}\n key={key}\n onClick={onClick}\n tabIndex={-1}\n type=\"button\"\n // 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)\n ref={ref}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(scale)} />\n </button>\n );\n}\n","/**\n * Do not edit directly\n * Generated on Wed, 13 Dec 2023 18:59:38 GMT\n */\n\nexport const calciteColorNeutralBlk000 = \"#ffffff\";\nexport const calciteColorNeutralBlk005 = \"#f8f8f8\";\nexport const calciteColorNeutralBlk010 = \"#f3f3f3\";\nexport const calciteColorNeutralBlk020 = \"#eaeaea\";\nexport const calciteColorNeutralBlk030 = \"#dfdfdf\";\nexport const calciteColorNeutralBlk040 = \"#d4d4d4\";\nexport const calciteColorNeutralBlk050 = \"#cacaca\";\nexport const calciteColorNeutralBlk060 = \"#bfbfbf\";\nexport const calciteColorNeutralBlk070 = \"#b5b5b5\";\nexport const calciteColorNeutralBlk080 = \"#aaaaaa\";\nexport const calciteColorNeutralBlk090 = \"#9f9f9f\";\nexport const calciteColorNeutralBlk100 = \"#949494\";\nexport const calciteColorNeutralBlk110 = \"#8a8a8a\";\nexport const calciteColorNeutralBlk120 = \"#808080\";\nexport const calciteColorNeutralBlk130 = \"#757575\";\nexport const calciteColorNeutralBlk140 = \"#6a6a6a\";\nexport const calciteColorNeutralBlk150 = \"#606060\";\nexport const calciteColorNeutralBlk160 = \"#555555\";\nexport const calciteColorNeutralBlk170 = \"#4a4a4a\";\nexport const calciteColorNeutralBlk180 = \"#404040\";\nexport const calciteColorNeutralBlk190 = \"#353535\";\nexport const calciteColorNeutralBlk200 = \"#2b2b2b\";\nexport const calciteColorNeutralBlk210 = \"#202020\";\nexport const calciteColorNeutralBlk220 = \"#151515\";\nexport const calciteColorNeutralBlk230 = \"#0b0b0b\";\nexport const calciteColorNeutralBlk235 = \"#060606\";\nexport const calciteColorNeutralBlk240 = \"#000000\";\nexport const calciteColorHighSaturationBlueHBb010 = \"#c7eaff\";\nexport const calciteColorHighSaturationBlueHBb020 = \"#9fd4f3\";\nexport const calciteColorHighSaturationBlueHBb030 = \"#77bde7\";\nexport const calciteColorHighSaturationBlueHBb040 = \"#50a7da\";\nexport const calciteColorHighSaturationBlueHBb050 = \"#2890ce\";\nexport const calciteColorHighSaturationBlueHBb060 = \"#007ac2\";\nexport const calciteColorHighSaturationBlueHBb070 = \"#00619b\";\nexport const calciteColorHighSaturationBlueHBb080 = \"#004874\";\nexport const calciteColorHighSaturationBlueHBb090 = \"#00304d\";\nexport const calciteColorHighSaturationBlueHBb100 = \"#001726\";\nexport const calciteColorHighSaturationGreenBlueHGb010 = \"#cef5f4\";\nexport const calciteColorHighSaturationGreenBlueHGb020 = \"#afedec\";\nexport const calciteColorHighSaturationGreenBlueHGb030 = \"#8fe6e5\";\nexport const calciteColorHighSaturationGreenBlueHGb040 = \"#5ae0de\";\nexport const calciteColorHighSaturationGreenBlueHGb050 = \"#28cecb\";\nexport const calciteColorHighSaturationGreenBlueHGb060 = \"#00bab5\";\nexport const calciteColorHighSaturationGreenBlueHGb070 = \"#009b98\";\nexport const calciteColorHighSaturationGreenBlueHGb080 = \"#007472\";\nexport const calciteColorHighSaturationGreenBlueHGb090 = \"#004d4c\";\nexport const calciteColorHighSaturationGreenBlueHGb100 = \"#002625\";\nexport const calciteColorHighSaturationGreenHGg010 = \"#bdf2c4\";\nexport const calciteColorHighSaturationGreenHGg020 = \"#a2e4ab\";\nexport const calciteColorHighSaturationGreenHGg030 = \"#87d692\";\nexport const calciteColorHighSaturationGreenHGg040 = \"#6bc878\";\nexport const calciteColorHighSaturationGreenHGg050 = \"#50ba5f\";\nexport const calciteColorHighSaturationGreenHGg060 = \"#35ac46\";\nexport const calciteColorHighSaturationGreenHGg070 = \"#288835\";\nexport const calciteColorHighSaturationGreenHGg080 = \"#1a6324\";\nexport const calciteColorHighSaturationGreenHGg090 = \"#0d3f14\";\nexport const calciteColorHighSaturationGreenHGg100 = \"#001a03\";\nexport const calciteColorHighSaturationYellowGreenHYg010 = \"#e5f7b4\";\nexport const calciteColorHighSaturationYellowGreenHYg020 = \"#d9ef9f\";\nexport const calciteColorHighSaturationYellowGreenHYg030 = \"#cde78a\";\nexport const calciteColorHighSaturationYellowGreenHYg040 = \"#c2e075\";\nexport const calciteColorHighSaturationYellowGreenHYg050 = \"#b6d860\";\nexport const calciteColorHighSaturationYellowGreenHYg060 = \"#aad04b\";\nexport const calciteColorHighSaturationYellowGreenHYg070 = \"#84a338\";\nexport const calciteColorHighSaturationYellowGreenHYg080 = \"#5e7526\";\nexport const calciteColorHighSaturationYellowGreenHYg090 = \"#384813\";\nexport const calciteColorHighSaturationYellowGreenHYg100 = \"#121a00\";\nexport const calciteColorHighSaturationYellowHYy010 = \"#fff7cc\";\nexport const calciteColorHighSaturationYellowHYy020 = \"#fef3ad\";\nexport const calciteColorHighSaturationYellowHYy030 = \"#fcee8d\";\nexport const calciteColorHighSaturationYellowHYy040 = \"#fbea6e\";\nexport const calciteColorHighSaturationYellowHYy050 = \"#f9e54e\";\nexport const calciteColorHighSaturationYellowHYy060 = \"#edd317\";\nexport const calciteColorHighSaturationYellowHYy070 = \"#d9bc00\";\nexport const calciteColorHighSaturationYellowHYy080 = \"#bfa200\";\nexport const calciteColorHighSaturationYellowHYy090 = \"#8c7500\";\nexport const calciteColorHighSaturationYellowHYy100 = \"#5c4e00\";\nexport const calciteColorHighSaturationOrangeYellowHOy010 = \"#ffe2bf\";\nexport const calciteColorHighSaturationOrangeYellowHOy020 = \"#fed3a1\";\nexport const calciteColorHighSaturationOrangeYellowHOy030 = \"#fcc582\";\nexport const calciteColorHighSaturationOrangeYellowHOy040 = \"#fbb664\";\nexport const calciteColorHighSaturationOrangeYellowHOy050 = \"#f9a845\";\nexport const calciteColorHighSaturationOrangeYellowHOy060 = \"#f89927\";\nexport const calciteColorHighSaturationOrangeYellowHOy070 = \"#c67718\";\nexport const calciteColorHighSaturationOrangeYellowHOy080 = \"#9a5b10\";\nexport const calciteColorHighSaturationOrangeYellowHOy090 = \"#6d3f08\";\nexport const calciteColorHighSaturationOrangeYellowHOy100 = \"#402300\";\nexport const calciteColorHighSaturationOrangeHOo010 = \"#ffd8bf\";\nexport const calciteColorHighSaturationOrangeHOo020 = \"#fdc39f\";\nexport const calciteColorHighSaturationOrangeHOo030 = \"#faae7f\";\nexport const calciteColorHighSaturationOrangeHOo040 = \"#f89960\";\nexport const calciteColorHighSaturationOrangeHOo050 = \"#f58440\";\nexport const calciteColorHighSaturationOrangeHOo060 = \"#f36f20\";\nexport const calciteColorHighSaturationOrangeHOo070 = \"#c65a18\";\nexport const calciteColorHighSaturationOrangeHOo080 = \"#9a4410\";\nexport const calciteColorHighSaturationOrangeHOo090 = \"#6d2f08\";\nexport const calciteColorHighSaturationOrangeHOo100 = \"#401900\";\nexport const calciteColorHighSaturationRedOrangeHRo010 = \"#ffc7b3\";\nexport const calciteColorHighSaturationRedOrangeHRo020 = \"#f8af95\";\nexport const calciteColorHighSaturationRedOrangeHRo030 = \"#f09677\";\nexport const calciteColorHighSaturationRedOrangeHRo040 = \"#e97e5a\";\nexport const calciteColorHighSaturationRedOrangeHRo050 = \"#e1653c\";\nexport const calciteColorHighSaturationRedOrangeHRo060 = \"#da4d1e\";\nexport const calciteColorHighSaturationRedOrangeHRo070 = \"#ad3c16\";\nexport const calciteColorHighSaturationRedOrangeHRo080 = \"#802c0f\";\nexport const calciteColorHighSaturationRedOrangeHRo090 = \"#531b07\";\nexport const calciteColorHighSaturationRedOrangeHRo100 = \"#260a00\";\nexport const calciteColorHighSaturationRedHRr010 = \"#ffc6bf\";\nexport const calciteColorHighSaturationRedHRr020 = \"#ffaaa1\";\nexport const calciteColorHighSaturationRedHRr030 = \"#f2877b\";\nexport const calciteColorHighSaturationRedHRr040 = \"#f07062\";\nexport const calciteColorHighSaturationRedHRr050 = \"#e65240\";\nexport const calciteColorHighSaturationRedHRr060 = \"#d83020\";\nexport const calciteColorHighSaturationRedHRr070 = \"#a82b1e\";\nexport const calciteColorHighSaturationRedHRr080 = \"#7c1d13\";\nexport const calciteColorHighSaturationRedHRr090 = \"#4f0e08\";\nexport const calciteColorHighSaturationRedHRr100 = \"#210300\";\nexport const calciteColorHighSaturationPinkHPk010 = \"#ffd1ef\";\nexport const calciteColorHighSaturationPinkHPk020 = \"#fabee4\";\nexport const calciteColorHighSaturationPinkHPk030 = \"#f2a5d6\";\nexport const calciteColorHighSaturationPinkHPk040 = \"#eb8dc9\";\nexport const calciteColorHighSaturationPinkHPk050 = \"#e673bb\";\nexport const calciteColorHighSaturationPinkHPk060 = \"#e04ea6\";\nexport const calciteColorHighSaturationPinkHPk070 = \"#ba2f7e\";\nexport const calciteColorHighSaturationPinkHPk080 = \"#851b52\";\nexport const calciteColorHighSaturationPinkHPk090 = \"#590b32\";\nexport const calciteColorHighSaturationPinkHPk100 = \"#260404\";\nexport const calciteColorHighSaturationVioletRedHVr010 = \"#fadbff\";\nexport const calciteColorHighSaturationVioletRedHVr020 = \"#e4beeb\";\nexport const calciteColorHighSaturationVioletRedHVr030 = \"#cfa1d7\";\nexport const calciteColorHighSaturationVioletRedHVr040 = \"#b983c3\";\nexport const calciteColorHighSaturationVioletRedHVr050 = \"#a466af\";\nexport const calciteColorHighSaturationVioletRedHVr060 = \"#8e499b\";\nexport const calciteColorHighSaturationVioletRedHVr070 = \"#73377e\";\nexport const calciteColorHighSaturationVioletRedHVr080 = \"#572561\";\nexport const calciteColorHighSaturationVioletRedHVr090 = \"#3c1243\";\nexport const calciteColorHighSaturationVioletRedHVr100 = \"#200026\";\nexport const calciteColorHighSaturationVioletHVv010 = \"#e8d9ff\";\nexport const calciteColorHighSaturationVioletHVv020 = \"#cdb9eb\";\nexport const calciteColorHighSaturationVioletHVv030 = \"#b39ad7\";\nexport const calciteColorHighSaturationVioletHVv040 = \"#987ac3\";\nexport const calciteColorHighSaturationVioletHVv050 = \"#7e5baf\";\nexport const calciteColorHighSaturationVioletHVv060 = \"#633b9b\";\nexport const calciteColorHighSaturationVioletHVv070 = \"#4e2c7e\";\nexport const calciteColorHighSaturationVioletHVv080 = \"#3a1e61\";\nexport const calciteColorHighSaturationVioletHVv090 = \"#250f43\";\nexport const calciteColorHighSaturationVioletHVv100 = \"#100026\";\nexport const calciteColorVibrantBlueVBb120 = \"#59d6ff\";\nexport const calciteColorVibrantBlueVBb140 = \"#3db8ff\";\nexport const calciteColorVibrantBlueVBb160 = \"#009af2\";\nexport const calciteColorVibrantBlueVBb180 = \"#009af2\";\nexport const calciteColorVibrantGreenBlueVGb120 = \"#59fffc\";\nexport const calciteColorVibrantGreenBlueVGb140 = \"#00f7f3\";\nexport const calciteColorVibrantGreenBlueVGb160 = \"#00e6e2\";\nexport const calciteColorVibrantGreenBlueVGb180 = \"#00cfca\";\nexport const calciteColorVibrantGreenVGg120 = \"#73ff84\";\nexport const calciteColorVibrantGreenVGg140 = \"#3bed52\";\nexport const calciteColorVibrantGreenVGg160 = \"#00b81b\";\nexport const calciteColorVibrantGreenVGg180 = \"#00a118\";\nexport const calciteColorVibrantYellowGreenVYg120 = \"#d7ff73\";\nexport const calciteColorVibrantYellowGreenVYg140 = \"#bbed3b\";\nexport const calciteColorVibrantYellowGreenVYg160 = \"#96cc00\";\nexport const calciteColorVibrantYellowGreenVYg180 = \"#7fab00\";\nexport const calciteColorVibrantYellowVYy120 = \"#fff766\";\nexport const calciteColorVibrantYellowVYy140 = \"#ffee33\";\nexport const calciteColorVibrantYellowVYy160 = \"#f5d000\";\nexport const calciteColorVibrantYellowVYy180 = \"#ebba17\";\nexport const calciteColorVibrantOrangeYellowVOy120 = \"#ffb54d\";\nexport const calciteColorVibrantOrangeYellowVOy140 = \"#ff9500\";\nexport const calciteColorVibrantOrangeYellowVOy160 = \"#e68600\";\nexport const calciteColorVibrantOrangeYellowVOy180 = \"#d17300\";\nexport const calciteColorVibrantRedOrangeVRo120 = \"#ff824d\";\nexport const calciteColorVibrantRedOrangeVRo140 = \"#ff4d00\";\nexport const calciteColorVibrantRedOrangeVRo160 = \"#de4300\";\nexport const calciteColorVibrantRedOrangeVRo180 = \"#c93b00\";\nexport const calciteColorVibrantRedVRr120 = \"#ff624d\";\nexport const calciteColorVibrantRedVRr140 = \"#ff0015\";\nexport const calciteColorVibrantRedVRr160 = \"#d90012\";\nexport const calciteColorVibrantRedVRr180 = \"#b3000f\";\nexport const calciteColorVibrantPinkVPk120 = \"#ff66c2\";\nexport const calciteColorVibrantPinkVPk140 = \"#ff19a4\";\nexport const calciteColorVibrantPinkVPk160 = \"#d11486\";\nexport const calciteColorVibrantPinkVPk180 = \"#c00073\";\nexport const calciteColorVibrantVioletRedVVr120 = \"#ea80ff\";\nexport const calciteColorVibrantVioletRedVVr140 = \"#dd33ff\";\nexport const calciteColorVibrantVioletRedVVr160 = \"#ac08cc\";\nexport const calciteColorVibrantVioletRedVVr180 = \"#83009e\";\nexport const calciteColorVibrantVioletVVv120 = \"#b580ff\";\nexport const calciteColorVibrantVioletVVv140 = \"#974dff\";\nexport const calciteColorVibrantVioletVVv160 = \"#8129ff\";\nexport const calciteColorVibrantVioletVVv180 = \"#6a0be6\";\nexport const calciteColorDarkGreenDGg410 = \"#44ED51\";\nexport const calciteColorDarkGreenDGg420 = \"#36DA43\";\nexport const calciteColorDarkGreenDGg430 = \"#36DA43\";\nexport const calciteColorDarkYellowDYy410 = \"#FFE24D\";\nexport const calciteColorDarkYellowDYy420 = \"#FFC900\";\nexport const calciteColorDarkYellowDYy430 = \"#F4B000\";\nexport const calciteColorDarkRedDRr410 = \"#FF7465\";\nexport const calciteColorDarkRedDRr420 = \"#FE583E\";\nexport const calciteColorDarkRedDRr430 = \"#F3381B\";\nexport const calciteColorDarkBlueDBb410 = \"#47BBFF\";\nexport const calciteColorDarkBlueDBb420 = \"#00A0FF\";\nexport const calciteColorDarkBlueDBb430 = \"#0087D7\";\nexport const calciteContainerSize0 = \"0\";\nexport const calciteContainerSize154 = \"154px\";\nexport const calciteContainerSize320 = \"320px\";\nexport const calciteContainerSize328 = \"328px\";\nexport const calciteContainerSize476 = \"476px\";\nexport const calciteContainerSize504 = \"504px\";\nexport const calciteContainerSize678 = \"678px\";\nexport const calciteContainerSize768 = \"768px\";\nexport const calciteContainerSize854 = \"854px\";\nexport const calciteContainerSize1152 = \"1152px\";\nexport const calciteContainerSize1440 = \"1440px\";\nexport const calciteFontFamilyAvenirNextPro = \"Avenir Next LT Pro\";\nexport const calciteFontFamilyAvenirNextWorld = \"Avenir Next World\";\nexport const calciteFontFamilyMonaco = \"Monaco\";\nexport const calciteFontStyleItalic = \"italic\"; // used in ratings\nexport const calciteFontWeightUltralight = \"200\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightThin = \"100\";\nexport const calciteFontWeightLight = \"300\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightRegular = \"400\";\nexport const calciteFontWeightMedium = \"500\";\nexport const calciteFontWeightMediumItalic = \"Medium Italic\";\nexport const calciteFontWeightDemi = \"600\";\nexport const calciteFontWeightBold = \"700\";\nexport const calciteFontWeightExtrabold = \"800\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightBlack = \"900\"; // only for Avenir Next World (secondary font family)\nexport const calciteFontWeightHeavy = \"900\";\nexport const calciteFontTextDecorationNone = \"none\";\nexport const calciteFontTextDecorationUnderline = \"underline\";\nexport const calciteFontTextCaseNone = \"none\";\nexport const calciteFontTextCaseUppercase = \"uppercase\";\nexport const calciteFontTextCaseLowercase = \"lowercase\";\nexport const calciteFontTextCaseCapitalize = \"capitalize\";\nexport const calciteOpacity0 = \"0%\";\nexport const calciteOpacity4 = \"4%\";\nexport const calciteOpacity8 = \"8%\";\nexport const calciteOpacity10 = \"10%\";\nexport const calciteOpacity20 = \"20%\";\nexport const calciteOpacity30 = \"30%\";\nexport const calciteOpacity40 = \"40%\";\nexport const calciteOpacity50 = \"50%\";\nexport const calciteOpacity60 = \"60%\";\nexport const calciteOpacity70 = \"70%\";\nexport const calciteOpacity80 = \"80%\";\nexport const calciteOpacity85 = \"85%\";\nexport const calciteOpacity90 = \"90%\";\nexport const calciteOpacity92 = \"92%\";\nexport const calciteOpacity96 = \"96%\";\nexport const calciteOpacity100 = \"100%\";\nexport const calciteShadow0 = {\"x\":\"0\",\"y\":\"0\",\"blur\":\"0\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0%)\"};\nexport const calciteShadow1 = {\"x\":\"0\",\"y\":\"2\",\"blur\":\"8\",\"spread\":\"0\",\"color\":\"rgba(#000000, 4%)\"};\nexport const calciteShadow2 = {\"x\":\"0\",\"y\":\"4\",\"blur\":\"16\",\"spread\":\"0\",\"color\":\"rgba(#000000, 8%)\"};\nexport const calciteShadow3 = {\"x\":\"0\",\"y\":\"4\",\"blur\":\"20\",\"spread\":\"0\",\"color\":\"rgba(#000000, 8%)\"};\nexport const calciteShadow4 = {\"x\":\"0\",\"y\":\"12\",\"blur\":\"32\",\"spread\":\"-2\",\"color\":\"rgba(#000000, 10%)\"};\nexport const calciteSize1 = \"1px\";\nexport const calciteSize2 = \"2px\";\nexport const calciteSize4 = \"4px\";\nexport const calciteSize6 = \"6px\";\nexport const calciteSize8 = \"8px\";\nexport const calciteSize10 = \"10px\";\nexport const calciteSize12 = \"12px\";\nexport const calciteSize14 = \"14px\";\nexport const calciteSize16 = \"16px\";\nexport const calciteSize20 = \"20px\";\nexport const calciteSize24 = \"24px\";\nexport const calciteSize28 = \"28px\";\nexport const calciteSize32 = \"32px\";\nexport const calciteSize36 = \"36px\";\nexport const calciteSize40 = \"40px\";\nexport const calciteSize44 = \"44px\";\nexport const calciteSize48 = \"48px\";\nexport const calciteSize56 = \"56px\";\nexport const calciteSize64 = \"64px\";\nexport const calciteSize72 = \"72px\";\nexport const calciteSize80 = \"80px\";\nexport const calciteSize96 = \"96px\";\nexport const calciteSize112 = \"112px\";\nexport const calciteSize128 = \"128px\";\nexport const calciteSize144 = \"144px\";\nexport const calciteSize160 = \"160px\";\nexport const calciteSize192 = \"192px\";\nexport const calciteSize224 = \"224px\";\nexport const calciteSize256 = \"256px\";\nexport const calciteSize288 = \"288px\";\nexport const calciteSizeNone = \"0\";\nexport const calciteSizeRelative50 = \"50%\";\nexport const calciteSizeRelative100 = \"100%\";\nexport const calciteSizeRelative125 = \"125%\";\nexport const calciteSizeRelative137 = \"137.5%\";\nexport const calciteSizeRelative150 = \"150%\";\nexport const calciteSizeRelative162 = \"162.5%\";\nexport const calciteSizeRelative200 = \"200%\";\nexport const calciteSizeRelativeAuto = \"auto\";\nexport const calciteZIndex0 = \"-999999\";\nexport const calciteZIndex1 = \"1\";\nexport const calciteZIndex3 = \"300\";\nexport const calciteZIndex4 = \"400\";\nexport const calciteZIndex5 = \"500\";\nexport const calciteZIndex6 = \"600\";\nexport const calciteZIndex7 = \"700\";\nexport const calciteZIndex8 = \"800\";\nexport const calciteZIndex9 = \"900\";\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-combobox-input-height: Specifies the height of the component's input.\n */\n\n:host {\n @apply relative block;\n}\n\n@include disabled();\n@include xButton();\n\n:host([scale=\"s\"]) {\n @apply text-n2;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.1\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline: theme(\"spacing.2\");\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.2\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.3\");\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-input-height: theme(\"spacing.6\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing[2.5]\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.4\");\n }\n}\n\n.wrapper {\n @apply bg-foreground-1\n text-color-1\n focus-base\n flex\n border-color-input\n border\n border-solid;\n padding-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host(:focus-within) .wrapper,\n.wrapper--active {\n @apply focus-inset;\n}\n\n:host([status=\"invalid\"]) .wrapper {\n @apply border-color-danger;\n}\n\n:host([status=\"invalid\"]:focus-within) .wrapper {\n @apply focus-inset-danger;\n}\n\n.wrapper--single {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n @apply cursor-pointer flex-nowrap;\n}\n\n.grid-input {\n @apply flex\n flex-grow\n flex-wrap\n items-center\n relative\n truncate\n p-0;\n\n gap: var(--calcite-combobox-item-spacing-unit-s);\n\n &.selection-display-fit,\n &.selection-display-single {\n @apply flex-nowrap overflow-hidden;\n }\n}\n\n.input {\n @apply appearance-none\n bg-transparent\n border-none\n flex-grow\n font-inherit\n text-color-1\n text-ellipsis\n p-0;\n font-size: inherit;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n inline-size: 100%;\n margin-block-end: var(--calcite-combobox-item-spacing-unit-s);\n min-inline-size: 4.8125rem;\n &:focus {\n @apply outline-none;\n }\n &:placeholder-shown {\n @apply text-ellipsis;\n }\n}\n\n.input--transparent {\n @apply opacity-0;\n}\n\n.input--single {\n @apply p-0;\n margin-block: var(--calcite-internal-combobox-input-margin-block);\n}\n\n.wrapper--active .input-single {\n @apply cursor-text;\n}\n\n.input--hidden {\n @apply pointer-events-none\n w-0\n min-w-0\n opacity-0;\n}\n\n.input--icon {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-s);\n}\n\n:host([scale=\"m\"]) .input--icon,\n:host([scale=\"l\"]) .input--icon {\n padding-inline: 0.25rem;\n}\n\n.input-wrap {\n @apply flex flex-grow items-center;\n}\n\n.input-wrap--single {\n @apply flex-1 overflow-hidden;\n}\n\n.label {\n @apply pointer-events-none\n flex\n max-w-full\n flex-auto\n truncate\n p-0\n font-normal;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n}\n\n.label--icon {\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon-end,\n.icon-start {\n @apply flex cursor-pointer items-center;\n}\n\n.icon-end {\n @apply flex-none;\n}\n\n.floating-ui-container {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".floating-ui-container\");\n\n.floating-ui-container--active {\n @include floatingUIWrapperActive();\n}\n\n@media (forced-colors: active) {\n .wrapper,\n .floating-ui-container--active {\n border: 1px solid canvasText;\n }\n}\n\n.screen-readers-only {\n @apply sr-only;\n}\n\n.list-container {\n @apply bg-foreground-1\n max-h-menu\n overflow-y-auto;\n inline-size: var(--calcite-dropdown-width);\n}\n\n.list {\n @apply m-0 block p-0;\n}\n\n.list--hide {\n @apply h-0 overflow-hidden;\n}\n\ncalcite-chip {\n --calcite-animation-timing: 0;\n}\n\n.chip {\n margin-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n max-inline-size: 100%;\n}\n\n.chip--active {\n @apply bg-foreground-3;\n}\n\n.chip--invisible {\n @apply absolute invisible;\n}\n\n.item {\n @apply block;\n}\n\n@include hidden-form-input();\n@include base-component();\n\n::slotted(calcite-combobox-item-group:not(:first-child)) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { debounce } from \"lodash-es\";\nimport { filter } from \"../../utils/filter\";\n\nimport {\n getElementWidth,\n getTextWidth,\n isPrimaryPointerButton,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n LogicalPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n submitForm,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n componentLoaded,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale, SelectionMode, Status } from \"../interfaces\";\nimport { ComboboxMessages } from \"./assets/combobox/t9n\";\nimport { ComboboxChildElement, SelectionDisplay } from \"./interfaces\";\nimport { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, CSS } from \"./resources\";\nimport { getItemAncestors, getItemChildren, hasActiveChildren, isSingleLike } from \"./utils\";\nimport { XButton, CSS as XButtonCSS } from \"../functional/XButton\";\nimport { getIconScale } from \"../../utils/component\";\nimport { calciteSize48 } from \"@esri/calcite-design-tokens/dist/es6/core.js\";\n\ninterface ItemData {\n label: string;\n value: string;\n}\n\nconst isGroup = (el: ComboboxChildElement): el is HTMLCalciteComboboxItemGroupElement =>\n el.tagName === ComboboxItemGroup;\n\nconst itemUidPrefix = \"combobox-item-\";\nconst chipUidPrefix = \"combobox-chip-\";\nconst labelUidPrefix = \"combobox-label-\";\nconst listboxUidPrefix = \"combobox-listbox-\";\nconst inputUidPrefix = \"combobox-input-\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox\",\n styleUrl: \"combobox.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Combobox\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n OpenCloseComponent,\n FloatingUIComponent,\n T9nComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the value-clearing will be disabled.\n */\n @Prop({ reflect: true }) clearDisabled = false;\n\n /**\n * When `selectionMode` is `\"ancestors\"` or `\"multiple\"`, specifies the display of multiple `calcite-combobox-item` selections\n * - `\"all\"` (displays all selections with individual `calcite-chip`s), `\"fit\"` (displays individual `calcite-chip`s that scale to the component's size, including a non-closable `calcite-chip`, which provides the number of additional `calcite-combobox-item` selections not visually displayed), or `\"single\"` (display one `calcite-chip` with the total number of selections).\n */\n @Prop({ reflect: true }) selectionDisplay: SelectionDisplay = \"all\";\n\n /**When `true`, displays and positions the component. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.setMaxScrollerHeight();\n }\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the placeholder text for the input. */\n @Prop() placeholder: string;\n\n /** Specifies the placeholder icon for the input. */\n @Prop({ reflect: true }) placeholderIcon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) placeholderIconFlipRtl = false;\n\n /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, allows entry of custom values, which are not in the original set of items. */\n @Prop({ reflect: true }) allowCustomValues: boolean;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the selection mode:\n * - \"multiple\" allows any number of selected items (default),\n * - \"single\" allows only one selection,\n * - \"single-persist\" allow and require one open item,\n * - \"ancestors\" is like multiple, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n @Watch(\"selectionMode\")\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n /** The component's value(s) from the selected `calcite-combobox-item`(s). */\n @Prop({ mutable: true }) value: string | string[] = null;\n\n @Watch(\"value\")\n valueHandler(value: string | string[]): void {\n if (!this.internalValueChangeFlag) {\n const items = this.getItems();\n if (Array.isArray(value)) {\n items.forEach((item) => (item.selected = value.includes(item.value)));\n } else if (value) {\n items.forEach((item) => (item.selected = value === item.value));\n } else {\n items.forEach((item) => (item.selected = false));\n }\n this.updateItems();\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ComboboxMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ComboboxMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteComboboxItemElement[] = [];\n\n @Watch(\"selectedItems\")\n selectedItemsHandler(): void {\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n }\n\n /**\n * Specifies the component's filtered items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalciteComboboxItemElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"pointerdown\", { target: \"document\" })\n documentClickHandler(event: PointerEvent): void {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n const composedPath = event.composedPath();\n\n if (composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {\n return;\n }\n\n if (!this.allowCustomValues && this.textInput.value) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n\n if (this.allowCustomValues && this.text.trim().length) {\n this.addCustomChip(this.text);\n }\n\n this.open = false;\n }\n\n @Listen(\"calciteComboboxItemChange\")\n calciteComboboxItemChangeHandler(event: CustomEvent<HTMLCalciteComboboxItemElement>): void {\n if (this.ignoreSelectedEventsFlag) {\n return;\n }\n\n const target = event.target as HTMLCalciteComboboxItemElement;\n const newIndex = this.filteredItems.indexOf(target);\n this.updateActiveItemIndex(newIndex);\n this.toggleSelection(target, target.selected);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed Reposition the component after a delay\n * @returns Promise\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed\n );\n }\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.textInput?.focus();\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected item(s) changes.\n */\n @Event({ cancelable: false }) calciteComboboxChange: EventEmitter<void>;\n\n /** Fires when text is added to filter the options list. */\n @Event({ cancelable: false }) calciteComboboxFilterChange: EventEmitter<void>;\n\n /**\n * Fires when a selected item in the component is closed via its `calcite-chip`.\n */\n @Event({ cancelable: false }) calciteComboboxChipClose: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed, and before the closing transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxOpen: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n connectLabel(this);\n connectForm(this);\n\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n\n this.updateItems();\n this.setFilteredPlacements();\n this.reposition(true);\n\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.updateItems();\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n afterConnectDefaultValueSet(this, this.getValue());\n this.reposition(true);\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n if (this.el.offsetHeight !== this.inputHeight) {\n this.reposition(true);\n this.inputHeight = this.el.offsetHeight;\n }\n\n updateHostInteraction(this);\n }\n\n componentDidUpdate(): void {\n this.refreshSelectionDisplay();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n private allSelectedIndicatorChipEl: HTMLCalciteChipElement;\n\n @Element() el: HTMLCalciteComboboxElement;\n\n placement: LogicalPlacement = defaultMenuPlacement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n internalValueChangeFlag = false;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Combobox[\"value\"];\n\n @State() items: HTMLCalciteComboboxItemElement[] = [];\n\n @State() groupItems: HTMLCalciteComboboxItemGroupElement[] = [];\n\n @State() needsIcon: boolean;\n\n @State() activeItemIndex = -1;\n\n @State() activeChipIndex = -1;\n\n @State() activeDescendant = \"\";\n\n @State() compactSelectionDisplay = false;\n\n @State() selectedHiddenChipsCount = 0;\n\n @State() selectedVisibleChipsCount = 0;\n\n @State() text = \"\";\n\n /** when search text is cleared, reset active to */\n @Watch(\"text\")\n textHandler(): void {\n this.updateActiveItemIndex(-1);\n }\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ComboboxMessages;\n\n textInput: HTMLInputElement = null;\n\n data: ItemData[];\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n private resizeObserver = createObserver(\"resize\", () => {\n this.setMaxScrollerHeight();\n this.refreshSelectionDisplay();\n });\n\n private guid = guid();\n\n private inputHeight = 0;\n\n private floatingEl: HTMLDivElement;\n\n private referenceEl: HTMLDivElement;\n\n private chipContainerEl: HTMLDivElement;\n\n private listContainerEl: HTMLDivElement;\n\n private ignoreSelectedEventsFlag = false;\n\n private maxCompactBreakpoint: number;\n\n openTransitionProp = \"opacity\";\n\n private selectedIndicatorChipEl: HTMLCalciteChipElement;\n\n transitionEl: HTMLDivElement;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private clearValue(): void {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = [];\n this.emitComboboxChange();\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n this.setFocus();\n }\n\n private clearInputValue(): void {\n this.textInput.value = \"\";\n this.text = \"\";\n }\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n getValue = (): string | string[] => {\n const items = this.selectedItems.map((item) => item?.value?.toString());\n return items?.length ? (items.length > 1 ? items : items[0]) : \"\";\n };\n\n onLabelClick = (): void => {\n this.setFocus();\n };\n\n private comboboxInViewport(): boolean {\n const bounding = this.el.getBoundingClientRect();\n return (\n bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight)\n );\n }\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n const { key } = event;\n\n switch (key) {\n case \"Tab\":\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (this.open) {\n this.open = false;\n event.preventDefault();\n } else if (!this.allowCustomValues && this.text) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n break;\n case \"ArrowLeft\":\n this.previousChip();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.nextChip();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(-1);\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"ArrowDown\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(1);\n } else {\n this.open = true;\n this.ensureRecentSelectedItemIsActive();\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \" \":\n if (!this.textInput.value) {\n if (!this.open) {\n this.open = true;\n this.shiftActiveItemIndex(1);\n }\n event.preventDefault();\n }\n break;\n case \"Home\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(0);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"End\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(this.filteredItems.length - 1);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"Escape\":\n if (!this.clearDisabled && !this.open) {\n this.clearValue();\n }\n\n this.open = false;\n event.preventDefault();\n break;\n case \"Enter\":\n if (this.activeItemIndex > -1) {\n this.toggleSelection(this.filteredItems[this.activeItemIndex]);\n event.preventDefault();\n } else if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n event.preventDefault();\n } else if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (!event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n break;\n case \"Delete\":\n case \"Backspace\":\n if (this.activeChipIndex > -1) {\n event.preventDefault();\n this.removeActiveChip();\n } else if (!this.text && this.isMulti()) {\n event.preventDefault();\n this.removeLastChip();\n }\n break;\n }\n };\n\n private toggleCloseEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n };\n\n private toggleOpenEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n };\n\n onBeforeOpen(): void {\n this.scrollToActiveItem();\n this.calciteComboboxBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteComboboxOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteComboboxBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteComboboxClose.emit();\n }\n\n setMaxScrollerHeight = async (): Promise<void> => {\n const { listContainerEl, open, referenceEl } = this;\n\n if (!listContainerEl || !open) {\n return;\n }\n\n await this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;\n await this.reposition(true);\n };\n\n calciteChipCloseHandler = (comboboxItem: HTMLCalciteComboboxItemElement): void => {\n this.open = false;\n\n const selection = this.items.find((item) => item === comboboxItem);\n\n if (selection) {\n this.toggleSelection(selection, false);\n }\n\n this.calciteComboboxChipClose.emit();\n };\n\n clickHandler = (event: MouseEvent): void => {\n const composedPath = event.composedPath();\n\n if (composedPath.some((node: HTMLElement) => node.tagName === \"CALCITE-CHIP\")) {\n this.open = false;\n event.preventDefault();\n return;\n }\n\n if (composedPath.some((node: HTMLElement) => node.classList?.contains(XButtonCSS.button))) {\n this.clearValue();\n event.preventDefault();\n return;\n }\n\n this.open = !this.open;\n this.ensureRecentSelectedItemIsActive();\n };\n\n private ensureRecentSelectedItemIsActive(): void {\n const { selectedItems } = this;\n const targetIndex =\n selectedItems.length === 0 ? 0 : this.items.indexOf(selectedItems[selectedItems.length - 1]);\n\n this.updateActiveItemIndex(targetIndex);\n }\n\n private hideChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.add(CSS.chipInvisible);\n }\n\n private showChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.remove(CSS.chipInvisible);\n }\n\n private refreshChipDisplay({\n chipEls,\n availableHorizontalChipElSpace,\n chipContainerElGap,\n }): void {\n chipEls.forEach((chipEl: HTMLCalciteChipElement) => {\n if (!chipEl.selected) {\n this.hideChip(chipEl);\n } else {\n const chipElWidth = getElementWidth(chipEl);\n if (chipElWidth && chipElWidth < availableHorizontalChipElSpace) {\n availableHorizontalChipElSpace -= chipElWidth + chipContainerElGap;\n this.showChip(chipEl);\n return;\n }\n }\n this.hideChip(chipEl);\n });\n }\n\n private refreshSelectionDisplay = async () => {\n await componentLoaded(this);\n\n if (isSingleLike(this.selectionMode)) {\n return;\n }\n\n if (!this.textInput) {\n return;\n }\n\n const {\n allSelectedIndicatorChipEl,\n chipContainerEl,\n selectionDisplay,\n placeholder,\n selectedIndicatorChipEl,\n textInput,\n } = this;\n\n const chipContainerElGap = parseInt(getComputedStyle(chipContainerEl).gap.replace(\"px\", \"\"));\n const chipContainerElWidth = getElementWidth(chipContainerEl);\n const { fontSize, fontFamily } = getComputedStyle(textInput);\n const inputTextWidth = getTextWidth(placeholder, `${fontSize} ${fontFamily}`);\n const inputWidth = (inputTextWidth || parseInt(calciteSize48)) + chipContainerElGap;\n const allSelectedIndicatorChipElWidth = getElementWidth(allSelectedIndicatorChipEl);\n const selectedIndicatorChipElWidth = getElementWidth(selectedIndicatorChipEl);\n const largestSelectedIndicatorChipWidth = Math.max(\n allSelectedIndicatorChipElWidth,\n selectedIndicatorChipElWidth\n );\n\n this.setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n });\n\n if (selectionDisplay === \"fit\") {\n const chipEls = Array.from(this.el.shadowRoot.querySelectorAll(\"calcite-chip\")).filter(\n (chipEl) => chipEl.closable\n );\n\n const availableHorizontalChipElSpace = Math.round(\n chipContainerElWidth -\n ((this.selectedHiddenChipsCount > 0 ? selectedIndicatorChipElWidth : 0) +\n chipContainerElGap +\n inputWidth +\n chipContainerElGap)\n );\n\n this.refreshChipDisplay({ availableHorizontalChipElSpace, chipContainerElGap, chipEls });\n this.setVisibleAndHiddenChips(chipEls);\n }\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n }): void {\n const newCompactBreakpoint = Math.round(\n largestSelectedIndicatorChipWidth + chipContainerElGap + inputWidth\n );\n if (!this.maxCompactBreakpoint || this.maxCompactBreakpoint < newCompactBreakpoint) {\n this.maxCompactBreakpoint = newCompactBreakpoint;\n }\n this.compactSelectionDisplay = chipContainerElWidth < this.maxCompactBreakpoint;\n }\n\n setContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.listContainerEl = el;\n this.transitionEl = el;\n };\n\n setChipContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.chipContainerEl = el;\n };\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n setAllSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.allSelectedIndicatorChipEl = el;\n };\n\n setSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.selectedIndicatorChipEl = el;\n };\n\n private setVisibleAndHiddenChips(chipEls: HTMLCalciteChipElement[]): void {\n let newSelectedVisibleChipsCount = 0;\n chipEls.forEach((chipEl) => {\n if (chipEl.selected && !chipEl.classList.contains(CSS.chipInvisible)) {\n newSelectedVisibleChipsCount++;\n }\n });\n if (newSelectedVisibleChipsCount !== this.selectedVisibleChipsCount) {\n this.selectedVisibleChipsCount = newSelectedVisibleChipsCount;\n }\n const newSelectedHiddenChipsCount =\n this.getSelectedItems().length - newSelectedVisibleChipsCount;\n if (newSelectedHiddenChipsCount !== this.selectedHiddenChipsCount) {\n this.selectedHiddenChipsCount = newSelectedHiddenChipsCount;\n }\n }\n\n private getMaxScrollerHeight(): number {\n const items = this.getItemsAndGroups().filter((item) => !item.hidden);\n\n const { maxItems } = this;\n\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n\n if (items.length > maxItems) {\n items.forEach((item) => {\n if (itemsToProcess < maxItems && maxItems > 0) {\n const height = this.calculateSingleItemHeight(item);\n if (height > 0) {\n maxScrollerHeight += height;\n itemsToProcess++;\n }\n }\n });\n }\n\n return maxScrollerHeight;\n }\n\n private calculateSingleItemHeight(item: ComboboxChildElement): number {\n if (!item) {\n return;\n }\n\n let height = item.offsetHeight;\n // if item has children items, don't count their height twice\n const children = Array.from(item.querySelectorAll<ComboboxChildElement>(ComboboxChildSelector));\n children\n .map((child) => child?.offsetHeight)\n .forEach((offsetHeight) => {\n height -= offsetHeight;\n });\n return height;\n }\n\n inputHandler = (event: Event): void => {\n const value = (event.target as HTMLInputElement).value;\n this.text = value;\n this.filterItems(value);\n if (value) {\n this.activeChipIndex = -1;\n }\n };\n\n getItemsAndGroups(): ComboboxChildElement[] {\n return [...this.groupItems, ...this.items];\n }\n\n private filterItems = (() => {\n const find = (item: ComboboxChildElement, filteredData: ItemData[]) =>\n item &&\n filteredData.some(({ label, value }) =>\n isGroup(item) ? label === item.label : value === item.value && label === item.textLabel\n );\n\n return debounce((text: string): void => {\n const filteredData = filter(this.data, text);\n const itemsAndGroups = this.getItemsAndGroups();\n\n itemsAndGroups.forEach((item) => {\n const hidden = !find(item, filteredData);\n item.hidden = hidden;\n const [parent, grandparent] = item.ancestors;\n\n if (find(parent, filteredData) || find(grandparent, filteredData)) {\n item.hidden = false;\n }\n\n if (!hidden) {\n item.ancestors.forEach((ancestor) => (ancestor.hidden = false));\n }\n });\n\n this.filteredItems = this.getFilteredItems();\n this.calciteComboboxFilterChange.emit();\n }, 100);\n })();\n\n internalComboboxChangeEvent = (): void => {\n this.calciteComboboxChange.emit();\n };\n\n private emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);\n\n toggleSelection(item: HTMLCalciteComboboxItemElement, value = !item.selected): void {\n if (\n !item ||\n (this.selectionMode === \"single-persist\" && item.selected && item.value === this.value)\n ) {\n return;\n }\n\n if (this.isMulti()) {\n item.selected = value;\n this.updateAncestors(item);\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n this.resetText();\n this.filterItems(\"\");\n } else {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = el === item ? value : false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n\n if (this.textInput) {\n this.textInput.value = item.textLabel;\n }\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n }\n }\n\n updateAncestors(item: HTMLCalciteComboboxItemElement): void {\n if (this.selectionMode !== \"ancestors\") {\n return;\n }\n const ancestors = getItemAncestors(item);\n const children = getItemChildren(item);\n if (item.selected) {\n ancestors.forEach((el) => {\n (el as HTMLCalciteComboboxItemElement).selected = true;\n });\n } else {\n children.forEach((el) => (el.selected = false));\n [...ancestors].forEach((el) => {\n if (!hasActiveChildren(el)) {\n el.selected = false;\n }\n });\n }\n }\n\n getFilteredItems(): HTMLCalciteComboboxItemElement[] {\n return this.items.filter((item) => !item.hidden);\n }\n\n private getSelectedItems = (): HTMLCalciteComboboxItemElement[] => {\n if (!this.isMulti()) {\n const match = this.items.find(({ selected }) => selected);\n return match ? [match] : [];\n }\n\n return (\n this.items\n .filter(\n (item) =>\n item.selected && (this.selectionMode !== \"ancestors\" || !hasActiveChildren(item))\n )\n /** Preserve order of entered tags */\n .sort((a, b) => {\n const aIdx = this.selectedItems.indexOf(a);\n const bIdx = this.selectedItems.indexOf(b);\n if (aIdx > -1 && bIdx > -1) {\n return aIdx - bIdx;\n }\n return bIdx - aIdx;\n })\n );\n };\n\n private updateItems = (): void => {\n this.items = this.getItems();\n this.groupItems = this.getGroupItems();\n this.data = this.getData();\n this.selectedItems = this.getSelectedItems();\n this.filteredItems = this.getFilteredItems();\n this.needsIcon = this.getNeedsIcon();\n\n this.items.forEach((item) => {\n item.selectionMode = this.selectionMode;\n item.scale = this.scale;\n });\n\n if (!this.allowCustomValues) {\n this.setMaxScrollerHeight();\n }\n\n this.groupItems.forEach((groupItem, index, items) => {\n if (index === 0) {\n groupItem.afterEmptyGroup = false;\n }\n\n const nextGroupItem = items[index + 1];\n\n if (nextGroupItem) {\n nextGroupItem.afterEmptyGroup = groupItem.children.length === 0;\n }\n });\n };\n\n getData(): ItemData[] {\n return this.items.map((item) => ({\n filterDisabled: item.filterDisabled,\n value: item.value,\n label: item.textLabel,\n }));\n }\n\n getNeedsIcon(): boolean {\n return isSingleLike(this.selectionMode) && this.items.some((item) => item.icon);\n }\n\n resetText(): void {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n }\n\n getItems(): HTMLCalciteComboboxItemElement[] {\n const items: HTMLCalciteComboboxItemElement[] = Array.from(\n this.el.querySelectorAll(ComboboxItem)\n );\n return items.filter((item) => !item.disabled);\n }\n\n getGroupItems(): HTMLCalciteComboboxItemGroupElement[] {\n return Array.from(this.el.querySelectorAll(ComboboxItemGroup));\n }\n\n addCustomChip(value: string, focus?: boolean): void {\n const existingItem = this.items.find((el) => el.textLabel === value);\n if (existingItem) {\n this.toggleSelection(existingItem, true);\n } else {\n if (!this.isMulti()) {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n }\n const item = document.createElement(ComboboxItem) as HTMLCalciteComboboxItemElement;\n item.value = value;\n item.textLabel = value;\n item.selected = true;\n this.el.appendChild(item);\n this.resetText();\n if (focus) {\n this.setFocus();\n }\n this.updateItems();\n this.filterItems(\"\");\n this.emitComboboxChange();\n }\n }\n\n removeActiveChip(): void {\n this.toggleSelection(this.selectedItems[this.activeChipIndex], false);\n this.setFocus();\n }\n\n removeLastChip(): void {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n this.setFocus();\n }\n\n previousChip(): void {\n if (this.text) {\n return;\n }\n const length = this.selectedItems.length - 1;\n const active = this.activeChipIndex;\n this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);\n this.updateActiveItemIndex(-1);\n this.focusChip();\n }\n\n nextChip(): void {\n if (this.text || this.activeChipIndex === -1) {\n return;\n }\n const last = this.selectedItems.length - 1;\n const newIndex = this.activeChipIndex + 1;\n if (newIndex > last) {\n this.activeChipIndex = -1;\n this.setFocus();\n } else {\n this.activeChipIndex = newIndex;\n this.focusChip();\n }\n this.updateActiveItemIndex(-1);\n }\n\n focusChip(): void {\n const guid = this.selectedItems[this.activeChipIndex]?.guid;\n\n const chip = guid\n ? this.referenceEl.querySelector<HTMLCalciteChipElement>(`#${chipUidPrefix}${guid}`)\n : null;\n chip?.setFocus();\n }\n\n private scrollToActiveItem = (): void => {\n const activeItem = this.filteredItems[this.activeItemIndex];\n\n if (!activeItem) {\n return;\n }\n\n const height = this.calculateSingleItemHeight(activeItem);\n const { offsetHeight, scrollTop } = this.listContainerEl;\n if (offsetHeight + scrollTop < activeItem.offsetTop + height) {\n this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;\n } else if (activeItem.offsetTop < scrollTop) {\n this.listContainerEl.scrollTop = activeItem.offsetTop;\n }\n };\n\n shiftActiveItemIndex(delta: number): void {\n const { length } = this.filteredItems;\n const newIndex = (this.activeItemIndex + length + delta) % length;\n this.updateActiveItemIndex(newIndex);\n this.scrollToActiveItem();\n }\n\n updateActiveItemIndex(index: number): void {\n this.activeItemIndex = index;\n let activeDescendant: string = null;\n this.filteredItems.forEach((el, i) => {\n if (i === index) {\n el.active = true;\n activeDescendant = `${itemUidPrefix}${el.guid}`;\n } else {\n el.active = false;\n }\n });\n this.activeDescendant = activeDescendant;\n if (this.activeItemIndex > -1) {\n this.activeChipIndex = -1;\n }\n }\n\n private isAllSelected(): boolean {\n return this.getItems().length === this.getSelectedItems().length;\n }\n\n isMulti(): boolean {\n return !isSingleLike(this.selectionMode);\n }\n\n comboboxFocusHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.textInput?.focus();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChips(): VNode[] {\n const { activeChipIndex, scale, selectionMode, messages } = this;\n return this.selectedItems.map((item, i) => {\n const chipClasses = {\n chip: true,\n \"chip--active\": activeChipIndex === i,\n };\n const ancestors = [...getItemAncestors(item)].reverse();\n const pathLabel = [...ancestors, item].map((el) => el.textLabel);\n const label = selectionMode !== \"ancestors\" ? item.textLabel : pathLabel.join(\" / \");\n return (\n <calcite-chip\n class={chipClasses}\n closable\n icon={item.icon}\n iconFlipRtl={item.iconFlipRtl}\n id={item.guid ? `${chipUidPrefix}${item.guid}` : null}\n key={item.textLabel}\n messageOverrides={{ dismissLabel: messages.removeTag }}\n onCalciteChipClose={() => this.calciteChipCloseHandler(item)}\n scale={scale}\n selected={item.selected}\n title={label}\n value={item.value}\n >\n {label}\n </calcite-chip>\n );\n });\n }\n\n renderAllSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n scale,\n selectedVisibleChipsCount,\n setAllSelectedIndicatorChipEl,\n } = this;\n const label = this.messages.allSelected;\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n !compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n value=\"\"\n // 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)\n ref={setAllSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderAllSelectedIndicatorChipCompact(): VNode {\n const { compactSelectionDisplay, scale, selectedVisibleChipsCount } = this;\n const label = this.messages.all || \"All\";\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n selectedVisibleChipsCount,\n setSelectedIndicatorChipEl,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n chipInvisible = true;\n } else {\n if (selectionDisplay === \"single\") {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectedItemsCount > 0) {\n chipInvisible = false;\n } else {\n chipInvisible = true;\n }\n label = `${selectedItemsCount} ${this.messages.selected}`;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !!(\n (this.isAllSelected() && selectedVisibleChipsCount === 0) ||\n selectedHiddenChipsCount === 0\n );\n label =\n selectedVisibleChipsCount > 0\n ? `+${selectedHiddenChipsCount}`\n : `${selectedHiddenChipsCount} ${this.messages.selected}`;\n }\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n value=\"\"\n // 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)\n ref={setSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChipCompact(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !(selectedHiddenChipsCount > 0);\n label = `${selectedHiddenChipsCount || 0}`;\n } else if (selectionDisplay === \"single\") {\n chipInvisible = !(selectedItemsCount > 0);\n label = `${selectedItemsCount}`;\n }\n } else {\n chipInvisible = true;\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderInput(): VNode {\n const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;\n const single = isSingleLike(selectionMode);\n const selectedItem = selectedItems[0];\n const showLabel = !open && single && !!selectedItem;\n\n return (\n <span\n class={{\n \"input-wrap\": true,\n \"input-wrap--single\": single,\n }}\n >\n {showLabel && (\n <span\n class={{\n label: true,\n \"label--icon\": !!selectedItem?.icon,\n }}\n key=\"label\"\n >\n {selectedItem.textLabel}\n </span>\n )}\n <input\n aria-activedescendant={this.activeDescendant}\n aria-autocomplete=\"list\"\n aria-controls={`${listboxUidPrefix}${guid}`}\n aria-label={getLabelText(this)}\n class={{\n input: true,\n \"input--single\": true,\n \"input--transparent\": this.activeChipIndex > -1,\n \"input--hidden\": showLabel,\n \"input--icon\": !!this.placeholderIcon,\n }}\n disabled={disabled}\n id={`${inputUidPrefix}${guid}`}\n key=\"input\"\n onFocus={this.comboboxFocusHandler}\n onInput={this.inputHandler}\n placeholder={placeholder}\n type=\"text\"\n // 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)\n ref={(el) => (this.textInput = el as HTMLInputElement)}\n />\n </span>\n );\n }\n\n renderListBoxOptions(): VNode[] {\n return this.filteredItems.map((item) => (\n <li\n aria-selected={toAriaBoolean(item.selected)}\n id={item.guid ? `${itemUidPrefix}${item.guid}` : null}\n role=\"option\"\n tabindex=\"-1\"\n >\n {item.textLabel}\n </li>\n ));\n }\n\n renderFloatingUIContainer(): VNode {\n const { setFloatingEl, setContainerEl, open } = this;\n const classes = {\n [CSS.listContainer]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n };\n\n return (\n <div\n aria-hidden=\"true\"\n class={{\n \"floating-ui-container\": true,\n \"floating-ui-container--active\": open,\n }}\n // 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)\n ref={setFloatingEl}\n >\n <div\n class={classes}\n // 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)\n ref={setContainerEl}\n >\n <ul class={{ list: true, \"list--hide\": !open }}>\n <slot />\n </ul>\n </div>\n </div>\n );\n }\n\n renderIconStart(): VNode {\n const { selectedItems, placeholderIcon, selectionMode, placeholderIconFlipRtl } = this;\n const selectedItem = selectedItems[0];\n const selectedIcon = selectedItem?.icon;\n const singleSelectionMode = isSingleLike(selectionMode);\n\n const iconAtStart =\n !this.open && selectedItem\n ? !!selectedIcon && singleSelectionMode\n : !!this.placeholderIcon && (!selectedItem || singleSelectionMode);\n\n return (\n iconAtStart && (\n <span class=\"icon-start\">\n <calcite-icon\n class=\"selected-icon\"\n flipRtl={this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl}\n icon={!this.open && selectedItem ? selectedIcon : placeholderIcon}\n scale={getIconScale(this.scale)}\n />\n </span>\n )\n );\n }\n\n renderIconEnd(): VNode {\n const { open } = this;\n return (\n <span class=\"icon-end\">\n <calcite-icon\n icon={open ? \"chevron-up\" : \"chevron-down\"}\n scale={getIconScale(this.scale)}\n />\n </span>\n );\n }\n\n render(): VNode {\n const { selectionDisplay, guid, label, open } = this;\n const singleSelectionMode = isSingleLike(this.selectionMode);\n const allSelectionDisplay = selectionDisplay === \"all\";\n const singleSelectionDisplay = selectionDisplay === \"single\";\n const fitSelectionDisplay = !singleSelectionMode && selectionDisplay === \"fit\";\n const isClearable = !this.clearDisabled && this.value?.length > 0;\n return (\n <Host onClick={this.comboboxFocusHandler}>\n <div\n aria-autocomplete=\"list\"\n aria-controls={`${listboxUidPrefix}${guid}`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"listbox\"\n aria-label={getLabelText(this)}\n aria-live=\"polite\"\n aria-owns={`${listboxUidPrefix}${guid}`}\n class={{\n wrapper: true,\n \"wrapper--single\": singleSelectionMode || !this.selectedItems.length,\n \"wrapper--active\": open,\n }}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n role=\"combobox\"\n // 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)\n ref={this.setReferenceEl}\n >\n <div\n class={{\n \"grid-input\": true,\n [CSS.selectionDisplayFit]: fitSelectionDisplay,\n [CSS.selectionDisplaySingle]: singleSelectionDisplay,\n }}\n ref={this.setChipContainerEl}\n >\n {this.renderIconStart()}\n {!singleSelectionMode && !singleSelectionDisplay && this.renderChips()}\n {!singleSelectionMode &&\n !allSelectionDisplay && [\n this.renderSelectedIndicatorChip(),\n this.renderSelectedIndicatorChipCompact(),\n this.renderAllSelectedIndicatorChip(),\n this.renderAllSelectedIndicatorChipCompact(),\n ]}\n <label\n class=\"screen-readers-only\"\n htmlFor={`${inputUidPrefix}${guid}`}\n id={`${labelUidPrefix}${guid}`}\n >\n {label}\n </label>\n {this.renderInput()}\n </div>\n {isClearable ? (\n <XButton\n disabled={this.disabled}\n key=\"close-button\"\n label={this.messages.clear}\n scale={this.scale}\n />\n ) : null}\n {this.renderIconEnd()}\n </div>\n <ul\n aria-labelledby={`${labelUidPrefix}${guid}`}\n aria-multiselectable=\"true\"\n class=\"screen-readers-only\"\n id={`${listboxUidPrefix}${guid}`}\n role=\"listbox\"\n tabIndex={-1}\n >\n {this.renderListBoxOptions()}\n </ul>\n {this.renderFloatingUIContainer()}\n <HiddenFormInputSlot component={this} />\n </Host>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n iconIndent: \"icon--indent\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\",\n};\n","@include base-component();\n\n.scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing[2.5]\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.6\");\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n}\n\n:host(:focus) {\n @apply shadow-none;\n}\n\n@include disabled();\n\n:host,\nul {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\nul:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3\n focus-base\n relative\n box-border\n flex\n w-full\n min-w-full\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n @include word-break();\n padding-block: var(--calcite-combobox-item-spacing-unit-s);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n @apply cursor-default;\n}\n\n// selected state\n.label--selected {\n @apply text-color-1 font-medium;\n}\n\n.label--active {\n @apply focus-inset;\n}\n\n.label:hover,\n.label:active {\n @apply text-color-1\n bg-foreground-2\n no-underline\n shadow-none;\n}\n\n.title {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n @apply inline-flex\n opacity-0\n duration-150\n ease-in-out;\n color: theme(\"borderColor.color.1\");\n}\n\n.icon--indent {\n padding-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n.icon--custom {\n margin-block-start: -1px;\n padding-inline-start: var(--calcite-combobox-item-spacing-unit-l);\n @apply text-color-3;\n}\n\n.icon--active {\n @apply text-color-1;\n}\n\n.icon--dot {\n @apply flex justify-center;\n min-inline-size: var(--calcite-combobox-item-selector-icon-size);\n}\n\n.icon--dot:before {\n text-align: start;\n content: \"\\2022\";\n}\n\n.label--active .icon {\n @apply opacity-100;\n}\n\n.label--selected .icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.brand\");\n}\n\n:host(:hover[disabled]) .icon {\n @apply opacity-100;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth, isSingleLike } from \"../combobox/utils\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item\",\n styleUrl: \"combobox-item.scss\",\n shadow: true,\n})\nexport class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** When `true`, the component is active. */\n @Prop({ reflect: true }) active = false;\n\n /** Specifies the parent and grandparent items, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true }) guid = guid();\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n @Watch(\"selected\")\n selectedWatchHandler(): void {\n this.calciteComboboxItemChange.emit();\n }\n\n /** The component's text. */\n @Prop({ reflect: true }) textLabel!: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /**\n * When `true`, omits the component from the `calcite-combobox` filtered search results.\n */\n @Prop({ reflect: true }) filterDisabled: boolean;\n\n /**\n * Specifies the selection mode:\n * - \"multiple\" allows any number of selected items (default),\n * - \"single\" allows only one selection,\n * - \"single-persist\" allow and require one open item,\n * - \"ancestors\" is like multiple, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n *\n * @internal\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Emits whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteComboboxItemChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n toggleSelected(): Promise<void> {\n const isSinglePersistSelect = this.selectionMode === \"single-persist\";\n\n if (this.disabled || (isSinglePersistSelect && this.selected)) {\n return;\n }\n\n this.selected = !this.selected;\n }\n\n private itemClickHandler = (): void => {\n this.toggleSelected();\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderIcon(iconPath: string): VNode {\n return this.icon ? (\n <calcite-icon\n class={{\n [CSS.custom]: !!this.icon,\n [CSS.iconActive]: this.icon && this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={this.icon || iconPath}\n key=\"icon\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n }\n\n renderSelectIndicator(showDot: boolean, iconPath: string): VNode {\n return showDot ? (\n <span\n class={{\n [CSS.icon]: true,\n [CSS.dot]: true,\n [CSS.iconIndent]: true,\n }}\n />\n ) : (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconActive]: this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={iconPath}\n key=\"indicator\"\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n renderChildren(): VNode {\n if (getSlotted(this.el)) {\n return (\n <ul key=\"default-slot-container\">\n <slot />\n </ul>\n );\n }\n\n return null;\n }\n\n render(): VNode {\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !this.disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = this.disabled ? \"\" : defaultIcon;\n\n const classes = {\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect,\n };\n const depth = getDepth(this.el);\n\n return (\n <Host aria-hidden=\"true\">\n <div\n class={`container scale--${this.scale}`}\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <li class={classes} id={this.guid} onClick={this.itemClickHandler}>\n {this.renderSelectIndicator(showDot, iconPath)}\n {this.renderIcon(iconPath)}\n <span class=\"title\">{this.textLabel}</span>\n </li>\n {this.renderChildren()}\n </div>\n </Host>\n );\n }\n}\n","export const CSS = {\n list: \"list\",\n label: \"label\",\n title: \"title\",\n};\n",".scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n}\n\n:host,\n.list {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\n.list:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3 box-border flex w-full min-w-0 max-w-full;\n}\n\n.title {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n border: 0 solid;\n @apply border-b-color-3\n text-color-2\n word-break\n block\n flex-1\n border-b\n font-bold;\n padding-block: var(--calcite-combobox-item-spacing-unit-l);\n padding-inline: var(--calcite-combobox-item-spacing-unit-s);\n margin-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n::slotted(calcite-combobox-item-group:not([after-empty-group])) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n@include base-component();\n","import { Component, Element, h, Prop, VNode } from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth } from \"../combobox/utils\";\nimport { Scale } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item-group\",\n styleUrl: \"combobox-item-group.scss\",\n shadow: true,\n})\nexport class ComboboxItemGroup {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, signifies that the group comes after another group without any children (items or sub-groups), otherwise indicates that the group comes after another group that has children. Used for styling.\n *\n * @internal\n */\n @Prop({ reflect: true }) afterEmptyGroup = false;\n\n /** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** Specifies the title of the component. */\n @Prop() label!: string;\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemGroupElement;\n\n guid: string = guid();\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const { el, scale } = this;\n const depth = getDepth(el);\n\n return (\n <ul\n aria-labelledby={this.guid}\n class={{ [CSS.list]: true, [`scale--${scale}`]: true }}\n role=\"group\"\n >\n <li\n class={{ [CSS.label]: true }}\n id={this.guid}\n role=\"presentation\"\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <span class={CSS.title}>{this.label}</span>\n </li>\n <slot />\n </ul>\n );\n }\n}\n"],"mappings":";;;;;01BAAO,MAAMA,EAAe,wBACrB,MAAMC,EAAoB,8BAC1B,MAAMC,EAAwB,GAAGF,MAAiBC,IAElD,MAAME,EAAM,CACjBC,cAAe,kBACfC,oBAAqB,wBACrBC,uBAAwB,2BACxBC,cAAe,kB,SCFDC,EAAaC,GAC3B,MAAMC,EAA+BD,EAAQE,eAAeC,QAAQV,GACpE,MAAMW,EAAoCH,GAAQC,eAAeC,QAAQV,GACzE,MAAO,CAACQ,EAAQG,GAAaC,QAAQC,GAAOA,GAC9C,C,SAEgBC,EAAiBC,GAC/B,OACGA,EAAKC,WAAWJ,QAAQC,GAAOA,EAAGI,WAAa,2BAAiE,EAErH,C,SAEgBC,EAAgBH,GAC9B,OAAOI,EAAgBJ,EAAKK,iBAAiB,yBAC/C,C,SAEgBC,EAAkBC,GAChC,MA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copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.1.0-next.7
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as n,g as o}from"./p-9621ebf7.js";import{t as s,i as r,l as a,d as l}from"./p-1fc0aa37.js";import{f as c,c as d,d as h,a as p,F as m,r as u}from"./p-d655f9ba.js";import{g as f}from"./p-a6e34d32.js";import{c as g,u as w,d as b}from"./p-bad8b453.js";import{i as v}from"./p-66681f87.js";import{c as k,s as x,a as y}from"./p-6bb7f3c4.js";import{c as z}from"./p-f21908c0.js";import{o as D}from"./p-ebd3d6fe.js";import{g as C}from"./p-52d1ce74.js";import"./p-fd3d6c96.js";import"./p-f29b8ca6.js";import"./p-39a44c05.js";const I={dropdownTrigger:"trigger"};const E=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(i){t(this,i);this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=e(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6);this.items=[];this.groups=[];this.mutationObserver=z("mutation",(()=>this.updateItems()));this.resizeObserver=z("resize",(t=>this.resizeObserverCallback(t)));this.openTransitionProp="opacity";this.guid=`calcite-dropdown-${f()}`;this.defaultAssignedElements=[];this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:true});this.updateItems()};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?c(e,t):null};this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:true});this.reposition(true)};this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]);this.updateSelectedItems();this.reposition(true);this.items.forEach((t=>t.scale=this.scale))};this.updateGroups=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e;this.updateItems()};this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;if(e===this.referenceEl){this.setDropdownWidth()}else if(e===this.scrollerEl){this.setMaxScrollerHeight()}}))};this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this;const i=t?.clientWidth;if(!i||!e){return}e.style.minWidth=`${i}px`};this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t){return}this.reposition(true);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"";this.reposition(true)};this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t);this.scrollerEl=t;this.transitionEl=t};this.setReferenceEl=t=>{this.referenceEl=t;d(this,this.referenceEl,this.floatingEl);this.resizeObserver.observe(t)};this.setFloatingEl=t=>{this.floatingEl=t;d(this,this.referenceEl,this.floatingEl)};this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl)){return}const{defaultPrevented:e,key:i}=t;if(e){return}if(this.open){if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&i==="Tab"){this.closeCalciteDropdown();t.preventDefault();return}}if(v(i)){this.openCalciteDropdown();t.preventDefault()}else if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])};this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem();this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)};this.openCalciteDropdown=()=>{this.open=!this.open;if(this.open){this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}};this.open=false;this.closeOnSelectDisabled=false;this.disabled=false;this.flipPlacements=undefined;this.maxItems=0;this.overlayPositioning="absolute";this.placement=h;this.selectedItems=[];this.type="click";this.widthScale=undefined;this.scale="m"}openHandler(){if(!this.disabled){D(this);return}this.open=false}handleDisabledChange(t){if(!t){this.open=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}async setFocus(){await k(this);this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition(true);if(this.open){this.openHandler();D(this)}g(this);this.updateItems();d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){x(this)}componentDidLoad(){y(this);this.reposition(true)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();b(this);p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(n,null,i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":s(t),"aria-haspopup":"menu",name:I.dropdownTrigger,onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":s(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{["calcite-dropdown-content"]:true,[m.animation]:true,[m.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups}))))}async reposition(t=false){const{floatingEl:e,referenceEl:i,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return u(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},t)}closeCalciteDropdownOnClick(t){if(this.disabled||!r(t)||!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown();t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){if(t.composedPath().includes(this.el)){return}this.open=false}pointerEnterHandler(){if(this.disabled||this.type!=="hover"){return}this.openCalciteDropdown()}pointerLeaveHandler(){if(this.disabled||this.type!=="hover"){return}this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail;const i=e.target;const n=this.getTraversableItems();switch(e.key){case"Tab":this.open=false;this.updateTabIndexOfItems(i);break;case"ArrowDown":a(n,i,"next");break;case"ArrowUp":a(n,i,"previous");break;case"Home":a(n,i,"first");break;case"End":a(n,i,"last");break}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.closeOnSelectDisabled||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()}onBeforeOpen(){this.reposition(true);this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit();this.reposition(true)}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i=0;let n=0;let o;this.groups.forEach((e=>{if(t>0&&i<t){Array.from(e.children).forEach(((e,s)=>{if(s===0){if(isNaN(o)){o=e.offsetTop}n+=o}if(i<t){n+=e.offsetHeight;i+=1}}))}}));return e.length>t?n:0}closeCalciteDropdown(t=true){this.open=false;if(t){l(this.triggers[0])}}getFocusableElement(t){if(!t){return}l(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};H.style=E;const P={container:"container",containerLink:"container--link",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon-end",iconStart:"dropdown-item-icon-start",itemContent:"dropdown-item-content",link:"dropdown-link"};const j=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{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-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const O=class{constructor(i){t(this,i);this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))};this.mutationObserver=z("mutation",(()=>this.updateItems()));this.groupTitle=undefined;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:true})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[P.container]:true,[`${P.container}--${this.scale}`]:true}},e,t,i("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};O.style=j;const A=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.container--s{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{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{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{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-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{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{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{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{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:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{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{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const $=class{constructor(i){t(this,i);this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6);this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6);this.disabled=false;this.href=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.label=undefined;this.rel=undefined;this.selected=false;this.target=undefined;this.selectionMode="single";this.scale="m"}async setFocus(){await k(this);this.el?.focus()}componentWillLoad(){x(this);this.initialize()}componentDidLoad(){y(this)}connectedCallback(){this.initialize()}componentDidRender(){w(this,"managed")}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:r,scale:a}=this;const l=i("calcite-icon",{class:P.iconStart,flipRtl:r==="start"||r==="both",icon:this.iconStart,scale:C(this.scale)});const c=i("span",{class:P.itemContent},i("slot",null));const d=i("calcite-icon",{class:P.iconEnd,flipRtl:r==="end"||r==="both",icon:this.iconEnd,scale:C(this.scale)});const h=this.iconStart&&this.iconEnd?[l,c,d]:this.iconStart?[l,c]:this.iconEnd?[c,d]:c;const p=!t?h:i("a",{"aria-label":o,class:P.link,href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},h);const m=t?null:e==="single"?"menuitemradio":e==="multiple"?"menuitemcheckbox":"menuitem";const u=e!=="none"?s(this.selected):null;return i(n,{"aria-checked":u,"aria-label":!t?o:"",role:m,tabindex:"0"},i("div",{class:{[P.container]:true,[P.containerLink]:!!t,[`${P.container}--${a}`]:true,[P.containerMulti]:e==="multiple",[P.containerSingle]:e==="single",[P.containerNone]:e==="none"}},e!=="none"?i("calcite-icon",{class:P.icon,icon:e==="multiple"?"check":"bullet-point",scale:C(this.scale)}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}}updateActiveItemOnChange(t){const e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}}determineActiveItem(){switch(this.selectionMode){case"multiple":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit();this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};$.style=A;export{H as calcite_dropdown,O as calcite_dropdown_group,$ as calcite_dropdown_item};
|
|
7
|
+
//# sourceMappingURL=p-b3cede81.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SLOTS","dropdownTrigger","dropdownCss","Dropdown","this","items","groups","mutationObserver","createObserver","updateItems","resizeObserver","entries","resizeObserverCallback","openTransitionProp","guid","defaultAssignedElements","slotChangeHandler","event","target","assignedElements","flatten","setFilteredPlacements","el","flipPlacements","filteredFlipPlacements","filterComputedPlacements","updateTriggers","triggers","reposition","map","group","Array","from","querySelectorAll","reduce","previousValue","currentValue","updateSelectedItems","forEach","item","scale","updateGroups","filter","matches","entry","referenceEl","setDropdownWidth","scrollerEl","setMaxScrollerHeight","referenceElWidth","clientWidth","style","minWidth","maxScrollerHeight","getMaxScrollerHeight","maxHeight","setScrollerAndTransitionEl","observe","transitionEl","setReferenceEl","connectFloatingUI","floatingEl","setFloatingEl","keyDownHandler","composedPath","includes","defaultPrevented","key","open","closeCalciteDropdown","preventDefault","shiftKey","isActivationKey","openCalciteDropdown","focusOnFirstActiveOrFirstItem","getFocusableElement","getTraversableItems","find","selected","toggleOpenEnd","removeEventListener","addEventListener","defaultMenuPlacement","openHandler","disabled","onToggleOpenCloseComponent","handleDisabledChange","value","flipPlacementsHandler","maxItemsHandler","overlayPositioningHandler","placementHandler","handlePropsChange","setFocus","componentFocusable","focus","connectedCallback","childList","subtree","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnect","disconnectInteractive","disconnectFloatingUI","render","h","Host","class","id","onClick","onKeyDown","ref","toAriaBoolean","name","onSlotchange","FloatingCSS","animation","animationActive","role","delayed","placement","overlayPositioning","type","closeCalciteDropdownOnClick","isPrimaryPointerButton","closeCalciteDropdownOnEvent","stopPropagation","closeCalciteDropdownOnOpenEvent","pointerEnterHandler","pointerLeaveHandler","hidden","calciteInternalDropdownItemKeyEvent","keyboardEvent","detail","traversableItems","updateTabIndexOfItems","focusElementInGroup","handleItemSelect","calciteDropdownSelect","emit","closeOnSelectDisabled","requestedDropdownGroup","selectionMode","onBeforeOpen","calciteDropdownBeforeOpen","onOpen","calciteDropdownOpen","onBeforeClose","calciteDropdownBeforeClose","onClose","calciteDropdownClose","selectedItems","maxItems","itemsToProcess","groupHeaderHeight","children","index","isNaN","offsetTop","offsetHeight","length","focusTrigger","focusElement","tabIndex","CSS","container","containerLink","containerMulti","containerSingle","containerNone","icon","iconEnd","iconStart","itemContent","link","dropdownGroupCss","DropdownGroup","groupPosition","getGroupPosition","groupTitle","dropdownSeparator","updateActiveItemOnChange","requestedDropdownItem","calciteInternalDropdownItemChange","prototype","indexOf","call","parentElement","dropdownItemCss","DropdownItem","initialize","href","label","iconFlipRtl","iconStartEl","flipRtl","getIconScale","contentNode","iconEndEl","slottedContent","contentEl","rel","childLink","itemRole","itemAria","tabindex","emitRequestedItem","click","calciteInternalDropdownCloseRequest","parentEmittedChange","parentDropdownGroupEl","determineActiveItem","closest","calciteDropdownItemSelect","calciteInternalDropdownItemSelect"],"sources":["src/components/dropdown/resources.ts","src/components/dropdown/dropdown.scss?tag=calcite-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx","src/components/dropdown-item/resources.ts","src/components/dropdown-group/dropdown-group.scss?tag=calcite-dropdown-group&encapsulation=shadow","src/components/dropdown-group/dropdown-group.tsx","src/components/dropdown-item/dropdown-item.scss?tag=calcite-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["export const SLOTS = {\n dropdownTrigger: \"trigger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-dropdown-width: Specifies the width of the component's wrapper.\n */\n\n:host {\n @apply inline-block;\n}\n\n@include disabled();\n\n:host .calcite-dropdown-wrapper {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".calcite-dropdown-wrapper\");\n:host([open]) .calcite-dropdown-wrapper {\n @include floatingUIWrapperActive();\n}\n\n:host .calcite-dropdown-content {\n @apply bg-foreground-1\n w-auto\n overflow-y-auto\n overflow-x-hidden\n max-h-menu;\n inline-size: var(--calcite-dropdown-width);\n}\n.calcite-trigger-container {\n @apply relative flex flex-auto h-full;\n @include word-break;\n}\n\n@media (forced-colors: active) {\n /* use real border since box-shadow is removed in high contrast mode */\n :host([open]) .calcite-dropdown-wrapper {\n border: 1px solid canvasText;\n }\n}\n\n// width\n:host([width-scale=\"s\"]) {\n --calcite-dropdown-width: theme(\"spacing.48\");\n}\n:host([width-scale=\"m\"]) {\n --calcite-dropdown-width: theme(\"spacing.56\");\n}\n:host([width-scale=\"l\"]) {\n --calcite-dropdown-width: theme(\"spacing.64\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ItemKeyboardEvent } from \"./interfaces\";\n\nimport {\n focusElement,\n focusElementInGroup,\n isPrimaryPointerButton,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n MenuPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.\n * @slot trigger - A slot for the element that triggers the `calcite-dropdown`.\n */\n@Component({\n tag: \"calcite-dropdown\",\n styleUrl: \"dropdown.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Dropdown\n implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, displays and positions the component.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n if (!this.disabled) {\n onToggleOpenCloseComponent(this);\n return;\n }\n\n this.open = false;\n }\n\n /**\n * When `true`, the component will remain open after a selection is made.\n *\n * If the `selectionMode` of the selected `calcite-dropdown-item`'s containing `calcite-dropdown-group` is `\"none\"`, the component will always close.\n *\n */\n @Prop({ reflect: true }) closeOnSelectDisabled = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scroller.\n * Value must be greater than `0`, and does not include `groupTitle`'s from `calcite-dropdown-group`.\n */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Determines where the component will be positioned relative to the container element.\n *\n * @default \"bottom-start\"\n */\n @Prop({ reflect: true }) placement: MenuPlacement = defaultMenuPlacement;\n\n @Watch(\"placement\")\n placementHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteDropdownItemElement[] = [];\n\n /**\n * Specifies the action to open the component from the container element.\n */\n @Prop({ reflect: true }) type: \"hover\" | \"click\" = \"click\";\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.setFilteredPlacements();\n this.reposition(true);\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectInteractive(this);\n this.updateItems();\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.reposition(true);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n render(): VNode {\n const { open, guid } = this;\n return (\n <Host>\n <div\n class=\"calcite-trigger-container\"\n id={`${guid}-menubutton`}\n onClick={this.openCalciteDropdown}\n onKeyDown={this.keyDownHandler}\n // 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)\n ref={this.setReferenceEl}\n >\n <slot\n aria-controls={`${guid}-menu`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"menu\"\n name={SLOTS.dropdownTrigger}\n onSlotchange={this.updateTriggers}\n />\n </div>\n <div\n aria-hidden={toAriaBoolean(!open)}\n class=\"calcite-dropdown-wrapper\"\n // 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)\n ref={this.setFloatingEl}\n >\n <div\n aria-labelledby={`${guid}-menubutton`}\n class={{\n [\"calcite-dropdown-content\"]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n }}\n id={`${guid}-menu`}\n role=\"menu\"\n // 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)\n ref={this.setScrollerAndTransitionEl}\n >\n <slot onSlotchange={this.updateGroups} />\n </div>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when a `calcite-dropdown-item`'s selection changes. */\n @Event({ cancelable: false }) calciteDropdownSelect: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownOpen: EventEmitter<void>;\n\n @Listen(\"pointerdown\", { target: \"window\" })\n closeCalciteDropdownOnClick(event: PointerEvent): void {\n if (\n this.disabled ||\n !isPrimaryPointerButton(event) ||\n !this.open ||\n event.composedPath().includes(this.el)\n ) {\n return;\n }\n\n this.closeCalciteDropdown(false);\n }\n\n @Listen(\"calciteInternalDropdownCloseRequest\")\n closeCalciteDropdownOnEvent(event: Event): void {\n this.closeCalciteDropdown();\n event.stopPropagation();\n }\n\n @Listen(\"calciteDropdownOpen\", { target: \"window\" })\n closeCalciteDropdownOnOpenEvent(event: Event): void {\n if (event.composedPath().includes(this.el)) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"pointerenter\")\n pointerEnterHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.openCalciteDropdown();\n }\n\n @Listen(\"pointerleave\")\n pointerLeaveHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.closeCalciteDropdown();\n }\n\n private getTraversableItems(): HTMLCalciteDropdownItemElement[] {\n return this.items.filter((item) => !item.disabled && !item.hidden);\n }\n\n @Listen(\"calciteInternalDropdownItemKeyEvent\")\n calciteInternalDropdownItemKeyEvent(event: CustomEvent<ItemKeyboardEvent>): void {\n const { keyboardEvent } = event.detail;\n const target = keyboardEvent.target as HTMLCalciteDropdownItemElement;\n const traversableItems = this.getTraversableItems();\n\n switch (keyboardEvent.key) {\n case \"Tab\":\n this.open = false;\n this.updateTabIndexOfItems(target);\n break;\n case \"ArrowDown\":\n focusElementInGroup(traversableItems, target, \"next\");\n break;\n case \"ArrowUp\":\n focusElementInGroup(traversableItems, target, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(traversableItems, target, \"first\");\n break;\n case \"End\":\n focusElementInGroup(traversableItems, target, \"last\");\n break;\n }\n\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n handleItemSelect(event: CustomEvent<RequestedItem>): void {\n this.updateSelectedItems();\n event.stopPropagation();\n this.calciteDropdownSelect.emit();\n if (\n !this.closeOnSelectDisabled ||\n event.detail.requestedDropdownGroup.selectionMode === \"none\"\n ) {\n this.closeCalciteDropdown();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownElement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n private items: HTMLCalciteDropdownItemElement[] = [];\n\n private groups: HTMLCalciteDropdownGroupElement[] = [];\n\n /** trigger elements */\n private triggers: HTMLElement[];\n\n floatingEl: HTMLDivElement;\n\n referenceEl: HTMLDivElement;\n\n private scrollerEl: HTMLDivElement;\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n resizeObserver = createObserver(\"resize\", (entries) => this.resizeObserverCallback(entries));\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n guid = `calcite-dropdown-${guid()}`;\n\n defaultAssignedElements: Element[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n slotChangeHandler = (event: Event): void => {\n this.defaultAssignedElements = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n });\n\n this.updateItems();\n };\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n updateTriggers = (event: Event): void => {\n this.triggers = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n }) as HTMLElement[];\n\n this.reposition(true);\n };\n\n updateItems = (): void => {\n this.items = this.groups\n .map((group) => Array.from(group?.querySelectorAll(\"calcite-dropdown-item\")))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n this.updateSelectedItems();\n\n this.reposition(true);\n\n this.items.forEach((item) => (item.scale = this.scale));\n };\n\n updateGroups = (event: Event): void => {\n const groups = (event.target as HTMLSlotElement)\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-dropdown-group\")) as HTMLCalciteDropdownGroupElement[];\n\n this.groups = groups;\n\n this.updateItems();\n };\n\n resizeObserverCallback = (entries: ResizeObserverEntry[]): void => {\n entries.forEach((entry) => {\n const { target } = entry;\n if (target === this.referenceEl) {\n this.setDropdownWidth();\n } else if (target === this.scrollerEl) {\n this.setMaxScrollerHeight();\n }\n });\n };\n\n setDropdownWidth = (): void => {\n const { referenceEl, scrollerEl } = this;\n const referenceElWidth = referenceEl?.clientWidth;\n\n if (!referenceElWidth || !scrollerEl) {\n return;\n }\n\n scrollerEl.style.minWidth = `${referenceElWidth}px`;\n };\n\n setMaxScrollerHeight = (): void => {\n const { scrollerEl } = this;\n if (!scrollerEl) {\n return;\n }\n\n this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n this.reposition(true);\n };\n\n setScrollerAndTransitionEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.scrollerEl = el;\n\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.reposition(true);\n this.calciteDropdownBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteDropdownOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteDropdownBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteDropdownClose.emit();\n this.reposition(true);\n }\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n this.resizeObserver.observe(el);\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!event.composedPath().includes(this.referenceEl)) {\n return;\n }\n\n const { defaultPrevented, key } = event;\n\n if (defaultPrevented) {\n return;\n }\n\n if (this.open) {\n if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n } else if (event.shiftKey && key === \"Tab\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n }\n }\n\n if (isActivationKey(key)) {\n this.openCalciteDropdown();\n event.preventDefault();\n } else if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n }\n };\n\n private updateSelectedItems(): void {\n this.selectedItems = this.items.filter((item) => item.selected);\n }\n\n private getMaxScrollerHeight(): number {\n const { maxItems, items } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n let groupHeaderHeight: number;\n\n this.groups.forEach((group) => {\n if (maxItems > 0 && itemsToProcess < maxItems) {\n Array.from(group.children).forEach((item: HTMLCalciteDropdownItemElement, index) => {\n if (index === 0) {\n if (isNaN(groupHeaderHeight)) {\n groupHeaderHeight = item.offsetTop;\n }\n\n maxScrollerHeight += groupHeaderHeight;\n }\n\n if (itemsToProcess < maxItems) {\n maxScrollerHeight += item.offsetHeight;\n itemsToProcess += 1;\n }\n });\n }\n });\n\n return items.length > maxItems ? maxScrollerHeight : 0;\n }\n\n private closeCalciteDropdown(focusTrigger = true) {\n this.open = false;\n\n if (focusTrigger) {\n focusElement(this.triggers[0]);\n }\n }\n\n private focusOnFirstActiveOrFirstItem = (): void => {\n this.getFocusableElement(\n this.getTraversableItems().find((item) => item.selected) || this.items[0]\n );\n };\n\n private getFocusableElement(item: HTMLCalciteDropdownItemElement): void {\n if (!item) {\n return;\n }\n\n focusElement(item);\n }\n\n private toggleOpenEnd = (): void => {\n this.focusOnFirstActiveOrFirstItem();\n this.el.removeEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n };\n\n private openCalciteDropdown = () => {\n this.open = !this.open;\n if (this.open) {\n this.el.addEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n }\n };\n\n private updateTabIndexOfItems(target: HTMLCalciteDropdownItemElement): void {\n this.items.forEach((item: HTMLCalciteDropdownItemElement) => {\n item.tabIndex = target !== item ? -1 : 0;\n });\n }\n}\n","export const CSS = {\n container: \"container\",\n containerLink: \"container--link\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\",\n icon: \"dropdown-item-icon\",\n iconEnd: \"dropdown-item-icon-end\",\n iconStart: \"dropdown-item-icon-start\",\n itemContent: \"dropdown-item-content\",\n link: \"dropdown-link\",\n};\n",":host {\n // we make the host relative, so items can consistently compute their offsetTop based on the group\n @apply block relative;\n}\n\n.container {\n text-align: start;\n}\n\n.container--s {\n @apply text-n2h;\n .dropdown-title {\n @apply p-2;\n }\n}\n\n.container--m {\n @apply text-n1h;\n .dropdown-title {\n @apply p-3;\n }\n}\n\n.container--l {\n @apply text-0h;\n .dropdown-title {\n @apply p-4;\n }\n}\n\n.dropdown-title {\n @apply border-color-3\n text-color-2\n -mb-px\n block\n cursor-default\n break-words\n border-0\n border-b\n border-solid\n font-bold;\n}\n\n.dropdown-separator {\n @apply block h-px;\n background-color: theme(\"borderColor.color.3\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS } from \"../dropdown-item/resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-item`s.\n */\n@Component({\n tag: \"calcite-dropdown-group\",\n styleUrl: \"dropdown-group.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class DropdownGroup {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies and displays a group title. */\n @Prop({ reflect: true }) groupTitle: string;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode for `calcite-dropdown-item` children, defaults to `single`:\n * - `multiple` allows any number of selected items,\n * - `single` allows only one selection (default),\n * - `none` doesn't allow for any selection.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> =\n \"single\";\n\n @Watch(\"selectionMode\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemChange: EventEmitter<RequestedItem>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.updateItems();\n this.mutationObserver?.observe(this.el, { childList: true });\n }\n\n componentWillLoad(): void {\n this.groupPosition = this.getGroupPosition();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n const groupTitle = this.groupTitle ? (\n <span aria-hidden=\"true\" class=\"dropdown-title\">\n {this.groupTitle}\n </span>\n ) : null;\n\n const dropdownSeparator =\n this.groupPosition > 0 ? <div class=\"dropdown-separator\" role=\"separator\" /> : null;\n\n return (\n <Host aria-label={this.groupTitle} role=\"group\">\n <div\n class={{\n [CSS.container]: true,\n [`${CSS.container}--${this.scale}`]: true,\n }}\n >\n {dropdownSeparator}\n {groupTitle}\n <slot />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n updateActiveItemOnChange(event: CustomEvent): void {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteInternalDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem,\n });\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownGroupElement;\n\n /** position of group within a dropdown */\n private groupPosition: number;\n\n /** the requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** the requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n private updateItems = (): void => {\n Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\")).forEach(\n (item) => (item.selectionMode = this.selectionMode)\n );\n };\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private getGroupPosition(): number {\n return Array.prototype.indexOf.call(\n this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"),\n this.el\n );\n }\n}\n",".container--s {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l {\n @apply text-0h py-2.5;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n// none-selection mode\n.container--s.container--none-selection {\n padding-inline-start: theme(\"padding.1\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--m.container--none-selection {\n padding-inline-start: theme(\"padding.2\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--l.container--none-selection {\n padding-inline-start: theme(\"padding.3\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n@mixin itemStyling {\n @apply text-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n items-center;\n}\n\n.container {\n @include itemStyling;\n text-align: start;\n}\n\n.dropdown-item-content {\n @apply flex-auto py-0.5;\n padding-inline-end: theme(\"margin.auto\");\n padding-inline-start: theme(\"margin.1\");\n}\n\n//focus\n:host,\n.container--link a {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset outline-none;\n}\n\n// when used as link move styling anchor\n.container--link {\n @apply p-0;\n & a {\n @include itemStyling;\n }\n}\n\n.container--s .dropdown-link {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m .dropdown-link {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l .dropdown-link {\n @apply text-0h py-3;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n:host(:hover:not([disabled])),\n:host(:active:not([disabled])) {\n .container {\n @apply bg-foreground-2 text-color-1 no-underline;\n }\n\n .container--link .dropdown-link {\n @apply text-color-1;\n }\n}\n\n:host(:active:not([disabled])) .container {\n @apply bg-foreground-3;\n}\n\n:host(:focus) .container {\n @apply text-color-1 no-underline;\n}\n\n:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link {\n @apply text-color-1 font-medium;\n & calcite-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n// item icon\n.dropdown-item-icon {\n @apply absolute\n opacity-0\n duration-150\n ease-in-out;\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.1\");\n}\n\n.container--m .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.2\");\n}\n\n.container--l .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.3\");\n}\n\n:host(:hover:not([disabled])) .dropdown-item-icon {\n color: theme(\"borderColor.color.1\");\n @apply opacity-100;\n}\n\n:host([selected]) .dropdown-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n}\n\n// icon start & end\n.container--s {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.2\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.2\");\n }\n}\n\n.container--m {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.3\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.3\");\n }\n}\n\n.container--l {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.4\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { ItemKeyboardEvent } from \"../dropdown/interfaces\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { FlipContext, Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { getIconScale } from \"../../utils/component\";\nimport { InteractiveComponent, updateHostInteraction } from \"../../utils/interactive\";\n\n/**\n * @slot - A slot for adding text.\n */\n@Component({\n tag: \"calcite-dropdown-item\",\n styleUrl: \"dropdown-item.scss\",\n shadow: true,\n})\nexport class DropdownItem implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n *\n * Determines if the component will render as an anchor.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the relationship to the linked document defined in `href`. */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** Specifies the frame or window to open the linked document. */\n @Prop({ reflect: true }) target: string;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is selected. */\n @Event({ cancelable: false }) calciteDropdownItemSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemSelect: EventEmitter<RequestedItem>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalDropdownItemKeyEvent: EventEmitter<ItemKeyboardEvent>;\n\n /** @internal */\n @Event({ cancelable: false }) calciteInternalDropdownCloseRequest: EventEmitter<void>;\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.el?.focus();\n }\n\n /**\n * Specifies the selection mode inherited from `calcite-dropdown-group`, defaults to `single`:\n * - `multiple` allows any number of selected items,\n * - `single` allows only one selection (default),\n * - `none` doesn't allow for any selection.\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> = \"single\";\n\n /**\n * Specifies the size of the component inherited from `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n this.initialize();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.initialize();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this, \"managed\");\n }\n\n render(): VNode {\n const { href, selectionMode, label, iconFlipRtl, scale } = this;\n\n const iconStartEl = (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"start\" || iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n const contentNode = (\n <span class={CSS.itemContent}>\n <slot />\n </span>\n );\n const iconEndEl = (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"end\" || iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const slottedContent =\n this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, contentNode]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n\n const contentEl = !href ? (\n slottedContent\n ) : (\n <a\n aria-label={label}\n class={CSS.link}\n href={href}\n rel={this.rel}\n tabIndex={-1}\n target={this.target}\n // 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)\n ref={(el) => (this.childLink = el)}\n >\n {slottedContent}\n </a>\n );\n\n const itemRole = href\n ? null\n : selectionMode === \"single\"\n ? \"menuitemradio\"\n : selectionMode === \"multiple\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n\n const itemAria = selectionMode !== \"none\" ? toAriaBoolean(this.selected) : null;\n\n return (\n <Host aria-checked={itemAria} aria-label={!href ? label : \"\"} role={itemRole} tabindex=\"0\">\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerLink]: !!href,\n [`${CSS.container}--${scale}`]: true,\n [CSS.containerMulti]: selectionMode === \"multiple\",\n [CSS.containerSingle]: selectionMode === \"single\",\n [CSS.containerNone]: selectionMode === \"none\",\n }}\n >\n {selectionMode !== \"none\" ? (\n <calcite-icon\n class={CSS.icon}\n icon={selectionMode === \"multiple\" ? \"check\" : \"bullet-point\"}\n scale={getIconScale(this.scale)}\n />\n ) : null}\n {contentEl}\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"click\") onClick(): void {\n this.emitRequestedItem();\n }\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n event.preventDefault();\n break;\n case \"Escape\":\n this.calciteInternalDropdownCloseRequest.emit();\n event.preventDefault();\n break;\n case \"Tab\":\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n event.preventDefault();\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n }\n }\n\n @Listen(\"calciteInternalDropdownItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownItemElement;\n\n /** id of containing group */\n private parentDropdownGroupEl: HTMLCalciteDropdownGroupElement;\n\n /** requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n /** if href is requested, track the rendered child link*/\n private childLink: HTMLAnchorElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private initialize(): void {\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.selected = false;\n }\n }\n\n private determineActiveItem(): void {\n switch (this.selectionMode) {\n case \"multiple\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = !this.selected;\n }\n break;\n\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = true;\n } else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.selected = false;\n }\n break;\n\n case \"none\":\n this.selected = false;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteDropdownItemSelect.emit();\n this.calciteInternalDropdownItemSelect.emit({\n requestedDropdownItem: this.el,\n requestedDropdownGroup: this.parentDropdownGroupEl,\n });\n }\n}\n"],"mappings":";;;;;giBAAO,MAAMA,EAAQ,CACnBC,gBAAiB,WCDnB,MAAMC,EAAc,q9D,MCgEPC,EAAQ,M,sVAgXXC,KAAAC,MAA0C,GAE1CD,KAAAE,OAA4C,GAWpDF,KAAAG,iBAAmBC,EAAe,YAAY,IAAMJ,KAAKK,gBAEzDL,KAAAM,eAAiBF,EAAe,UAAWG,GAAYP,KAAKQ,uBAAuBD,KAEnFP,KAAAS,mBAAqB,UAIrBT,KAAAU,KAAO,oBAAoBA,MAE3BV,KAAAW,wBAAqC,GAQrCX,KAAAY,kBAAqBC,IACnBb,KAAKW,wBAA2BE,EAAMC,OAA2BC,iBAAiB,CAChFC,QAAS,OAGXhB,KAAKK,aAAa,EAGpBL,KAAAiB,sBAAwB,KACtB,MAAMC,GAAEA,EAAEC,eAAEA,GAAmBnB,KAE/BA,KAAKoB,uBAAyBD,EAC1BE,EAAyBF,EAAgBD,GACzC,IAAI,EAGVlB,KAAAsB,eAAkBT,IAChBb,KAAKuB,SAAYV,EAAMC,OAA2BC,iBAAiB,CACjEC,QAAS,OAGXhB,KAAKwB,WAAW,KAAK,EAGvBxB,KAAAK,YAAc,KACZL,KAAKC,MAAQD,KAAKE,OACfuB,KAAKC,GAAUC,MAAMC,KAAKF,GAAOG,iBAAiB,4BAClDC,QAAO,CAACC,EAAeC,IAAiB,IAAID,KAAkBC,IAAe,IAEhFhC,KAAKiC,sBAELjC,KAAKwB,WAAW,MAEhBxB,KAAKC,MAAMiC,SAASC,GAAUA,EAAKC,MAAQpC,KAAKoC,OAAO,EAGzDpC,KAAAqC,aAAgBxB,IACd,MAAMX,EAAUW,EAAMC,OACnBC,iBAAiB,CAAEC,QAAS,OAC5BsB,QAAQpB,GAAOA,GAAIqB,QAAQ,4BAE9BvC,K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,KAAKkB,GAAGoM,QAAQ,0BAC7C,GAAItN,KAAKgJ,gBAAkB,OAAQ,CACjChJ,KAAK0E,SAAW,K,EAIZ,mBAAA2I,GACN,OAAQrN,KAAKgJ,eACX,IAAK,WACH,GAAIhJ,KAAKkB,KAAOlB,KAAKwL,sBAAuB,CAC1CxL,KAAK0E,UAAY1E,KAAK0E,Q,CAExB,MAEF,IAAK,SACH,GAAI1E,KAAKkB,KAAOlB,KAAKwL,sBAAuB,CAC1CxL,KAAK0E,SAAW,I,MACX,GAAI1E,KAAK+I,yBAA2B/I,KAAKoN,sBAAuB,CACrEpN,KAAK0E,SAAW,K,CAElB,MAEF,IAAK,OACH1E,KAAK0E,SAAW,MAChB,M,CAIE,iBAAAsI,GACNhN,KAAKuN,0BAA0B1E,OAC/B7I,KAAKwN,kCAAkC3E,KAAK,CAC1C2C,sBAAuBxL,KAAKkB,GAC5B6H,uBAAwB/I,KAAKoN,uB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.1.0-next.7
|
|
5
|
+
*/
|
|
6
|
+
import{d as _}from"./p-a5bdaff6.js";import"./p-9621ebf7.js";import"./p-23c52e87.js";import"./p-1fc0aa37.js";import"./p-a6e34d32.js";import"./p-fd3d6c96.js";import"./p-bad8b453.js";import"./p-39a44c05.js";import"./p-66681f87.js";import"./p-94d1e684.js";import"./p-52d1ce74.js";import"./p-6bb7f3c4.js";import"./p-07a609a8.js";import"./p-f21908c0.js";import"./p-5be0a4a7.js";import"./p-5328ecbe.js";import"./p-c5269d0a.js";import"./p-ebd3d6fe.js";var r="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_");var t="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_");var m=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,r){var t=_.split("_");return r%10===1&&r%100!==11?t[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?t[1]:t[2]}function e(_,r,t){var m={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};if(t==="m"){return r?"хвилина":"хвилину"}else if(t==="h"){return r?"година":"годину"}return _+" "+p(m[t],+_)}var s=function _(p,e){if(m.test(e)){return r[p.month()]}return t[p.month()]};s.s=t;s.f=r;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:e,mm:e,h:e,hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},ordinal:function _(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(o,null,true);export default o;
|
|
7
|
+
//# sourceMappingURL=p-b4918bf9.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.1.0-next.7
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s,F as a}from"./p-9621ebf7.js";import{c as n,d as o,u as c}from"./p-bad8b453.js";import{s as l,a as r,c as h}from"./p-6bb7f3c4.js";import{c as d}from"./p-f21908c0.js";import{m as p,d as f,a as m,s as u,h as g,b,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-c9869e5b.js";import{c as A,d as P}from"./p-45875887.js";import{e as T,t as U}from"./p-1fc0aa37.js";import{H as K,c as O}from"./p-f4e78a16.js";import{c as q,d as E}from"./p-07a609a8.js";import{u as B,c as G,s as J,d as N}from"./p-c5269d0a.js";import"./p-39a44c05.js";import"./p-509dc442.js";import"./p-f29b8ca6.js";import"./p-a6e34d32.js";import"./p-fd3d6c96.js";import"./p-66681f87.js";const Q=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(i){t(this,i);this.calciteListChange=e(this,"calciteListChange",6);this.calciteListFilter=e(this,"calciteListFilter",6);this.lastSelectedItem=null;this.mutationObserver=d("mutation",p.bind(this));this.setFilterEl=t=>{this.filterEl=t};this.setFilteredItems=t=>{this.filteredItems=t};this.deselectRemovedItems=f.bind(this);this.deselectSiblingItems=m.bind(this);this.selectSiblings=u.bind(this);this.handleFilter=g.bind(this);this.handleFilterEvent=b.bind(this);this.getItemData=v.bind(this);this.keyDownHandler=x.bind(this);this.disabled=false;this.filteredItems=[];this.filteredData=[];this.filterEnabled=false;this.filterPlaceholder=undefined;this.filterText=undefined;this.headingLevel=undefined;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[]}connectedCallback(){w.call(this);k.call(this);n(this)}disconnectedCallback(){y.call(this);o(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this);z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation();this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t);t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}}async getSelectedItems(){return this.selectedValues}async setFocus(t){await h(this);return W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return i(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};X.style=Q;const Y=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Z=class{constructor(e){t(this,e);this.groupTitle=undefined;this.headingLevel=undefined}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:e,headingLevel:s}=this;const n=T(t,D.parentItem)!==null;const o={[R.container]:true,[R.indented]:n};const c=e;const l=t.closest("calcite-pick-list")?.headingLevel;const r=l?O(l+1):null;const h=s||r;return i(a,null,c?i(K,{class:R.heading,level:h},c):null,i("slot",{name:D.parentItem}),i("section",{class:o},i("slot",null)))}get el(){return s(this)}};Z.style=Y;const $='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-color-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-color-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-color-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-color-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';const tt=class{constructor(i){t(this,i);this.calciteListItemChange=e(this,"calciteListItemChange",6);this.calciteListItemRemove=e(this,"calciteListItemRemove",7);this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6);this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6);this.pickListClickHandler=t=>{if(this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive){return}this.shiftPressed=t.shiftKey;this.selected=!this.selected};this.pickListKeyDownHandler=t=>{if(t.key===" "){t.preventDefault();if(this.deselectDisabled&&this.selected||this.nonInteractive){return}this.selected=!this.selected}};this.removeClickHandler=()=>{this.calciteListItemRemove.emit()};this.description=undefined;this.disabled=false;this.deselectDisabled=false;this.nonInteractive=false;this.icon=null;this.iconFlipRtl=false;this.label=undefined;this.messageOverrides=undefined;this.messages=undefined;this.metadata=undefined;this.removable=false;this.selected=false;this.value=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed});this.shiftPressed=false}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){n(this);q(this);G(this);A(this)}async componentWillLoad(){await J(this);l(this)}componentDidLoad(){r(this)}disconnectedCallback(){o(this);E(this);N(this);P(this)}componentDidRender(){c(this,this.el.closest("calcite-pick-list")?"managed":false)}async toggleSelected(t){this.selected=typeof t==="boolean"?t:!this.selected}async setFocus(){await h(this);this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;if(!t){return null}return i("span",{class:{[S.icon]:true,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?i("calcite-icon",{flipRtl:e,icon:M.checked,scale:"s"}):null)}renderRemoveAction(){return this.removable?i("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;const e=T(t,V.actionsStart);return e?i("div",{class:{[S.actions]:true,[S.actionsStart]:true}},i("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;const s=T(t,V.actionsEnd);return s||e?i("div",{class:{[S.actions]:true,[S.actionsEnd]:true}},i("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},i("span",{class:S.title},e),t?i("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};tt.style=$;export{X as calcite_pick_list,Z as calcite_pick_list_group,tt as calcite_pick_list_item};
|
|
7
|
+
//# sourceMappingURL=p-b4bf01aa.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.1.0-next.7
|
|
5
|
+
*/
|
|
6
|
+
import{g as n}from"./p-39a44c05.js";const t=/firefox/i.test(n());const e=t?new WeakMap:null;function i(){const{disabled:n}=this;if(!n){HTMLElement.prototype.click.call(this)}}function o(n){const i=n.target;if(t&&!e.get(i)){return}const{disabled:o}=i;if(o){n.preventDefault()}}const f=["mousedown","mouseup","click"];function u(n){if(t&&!e.get(n.target)){return}const{disabled:i}=n.target;if(i){n.stopImmediatePropagation();n.preventDefault()}}const c={capture:true};function r(n,t=false){if(n.disabled){n.el.setAttribute("tabindex","-1");n.el.setAttribute("aria-disabled","true");if(n.el.contains(document.activeElement)){document.activeElement.blur()}s(n);return}l(n);if(typeof t==="function"){n.el.setAttribute("tabindex",t.call(n)?"0":"-1")}else if(t===true){n.el.setAttribute("tabindex","0")}else if(t===false){n.el.removeAttribute("tabindex")}else;n.el.removeAttribute("aria-disabled")}function s(n){n.el.click=i;a(t?d(n):n.el)}function a(n){if(!n){return}n.addEventListener("pointerdown",o,c);f.forEach((t=>n.addEventListener(t,u,c)))}function d(n){return e.get(n.el)}function l(n){delete n.el.click;b(t?d(n):n.el)}function b(n){if(!n){return}n.removeEventListener("pointerdown",o,c);f.forEach((t=>n.removeEventListener(t,u,c)))}function p(n){if(!n.disabled||!t){return}const i=n.el.parentElement||n.el;e.set(n.el,i);s(n)}function m(n){if(!t){return}e.delete(n.el);l(n)}export{p as c,m as d,r as u};
|
|
7
|
+
//# sourceMappingURL=p-bad8b453.js.map
|