@esri/calcite-components 2.4.1-next.0 → 2.4.1-next.1
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/index.esm.js +1 -1
- package/dist/calcite/p-02361b33.js +7 -0
- package/dist/calcite/p-024cb323.entry.js +7 -0
- package/dist/calcite/p-05da4fc2.entry.js +7 -0
- package/dist/calcite/p-05da4fc2.entry.js.map +1 -0
- package/dist/calcite/p-06b723c2.entry.js +7 -0
- package/dist/calcite/p-06b723c2.entry.js.map +1 -0
- package/dist/calcite/p-07e62779.js +12 -0
- package/dist/calcite/p-0941117d.js +7 -0
- package/dist/calcite/p-0b51b1db.js +7 -0
- package/dist/calcite/p-0cadfe98.entry.js +7 -0
- package/dist/calcite/p-0cc8df58.js +7 -0
- package/dist/calcite/p-0ebd4b17.js +7 -0
- package/dist/calcite/p-0f2d8590.js +7 -0
- package/dist/calcite/p-0f8fb326.js +7 -0
- package/dist/calcite/p-1242f873.js +7 -0
- package/dist/calcite/p-13fa567b.js +7 -0
- package/dist/calcite/p-16f50138.entry.js +7 -0
- package/dist/calcite/p-176e975c.js +7 -0
- package/dist/calcite/p-17da1c45.entry.js +7 -0
- package/dist/calcite/p-18a3e793.entry.js +7 -0
- package/dist/calcite/p-18a3e793.entry.js.map +1 -0
- package/dist/calcite/p-18f1c69c.entry.js +7 -0
- package/dist/calcite/p-196291ea.js +7 -0
- package/dist/calcite/p-19a6b9e5.js +7 -0
- package/dist/calcite/p-1f5650ff.entry.js +7 -0
- package/dist/calcite/p-1f6bdf48.js +7 -0
- package/dist/calcite/p-2042f5c1.entry.js +7 -0
- package/dist/calcite/p-20f7ddab.js +7 -0
- package/dist/calcite/p-224068ea.js +7 -0
- package/dist/calcite/p-24c650a1.entry.js +7 -0
- package/dist/calcite/p-24c650a1.entry.js.map +1 -0
- package/dist/calcite/p-25ac00cf.js +7 -0
- package/dist/calcite/p-26710f27.js +7 -0
- package/dist/calcite/p-2725e0f2.entry.js +7 -0
- package/dist/calcite/p-2725e0f2.entry.js.map +1 -0
- package/dist/calcite/p-27756b63.entry.js +7 -0
- package/dist/calcite/p-27beed0a.entry.js +7 -0
- package/dist/calcite/p-27beed0a.entry.js.map +1 -0
- package/dist/calcite/p-280124c8.js +7 -0
- package/dist/calcite/p-2851e7cd.js +7 -0
- package/dist/calcite/p-2c5a5185.js +8 -0
- package/dist/calcite/p-2f34d814.js +13 -0
- package/dist/calcite/p-306ed81a.js +7 -0
- package/dist/calcite/p-34a8b795.entry.js +7 -0
- package/dist/calcite/p-34a8b795.entry.js.map +1 -0
- package/dist/calcite/p-35f506ba.entry.js +7 -0
- package/dist/calcite/p-371b8e8d.js +7 -0
- package/dist/calcite/p-379992a3.js +7 -0
- package/dist/calcite/p-397e731f.entry.js +7 -0
- package/dist/calcite/p-3b173af5.entry.js +7 -0
- package/dist/calcite/p-3b173af5.entry.js.map +1 -0
- package/dist/calcite/p-3c2d86e0.js +7 -0
- package/dist/calcite/p-3dda311f.entry.js +7 -0
- package/dist/calcite/p-3dda311f.entry.js.map +1 -0
- package/dist/calcite/p-3e2a8b52.js +7 -0
- package/dist/calcite/p-3e6adee1.js +7 -0
- package/dist/calcite/p-3fd50ebf.js +7 -0
- package/dist/calcite/p-45770a69.js +7 -0
- package/dist/calcite/p-4582df61.js +7 -0
- package/dist/calcite/p-48aa56fb.js +7 -0
- package/dist/calcite/p-4b67bc10.entry.js +7 -0
- package/dist/calcite/p-4d06fe95.entry.js +7 -0
- package/dist/calcite/p-4fc56101.js +7 -0
- package/dist/calcite/p-518b8faf.js +7 -0
- package/dist/calcite/p-52ad3dad.js +7 -0
- package/dist/calcite/p-574915b1.entry.js +7 -0
- package/dist/calcite/p-574915b1.entry.js.map +1 -0
- package/dist/calcite/p-5865ce45.js +7 -0
- package/dist/calcite/p-5b7f30b7.js +7 -0
- package/dist/calcite/p-5caf86cd.entry.js +7 -0
- package/dist/calcite/p-60452501.js +7 -0
- package/dist/calcite/p-60ece12e.entry.js +7 -0
- package/dist/calcite/p-60ece12e.entry.js.map +1 -0
- package/dist/calcite/p-625d1664.js +7 -0
- package/dist/calcite/p-65809393.entry.js +7 -0
- package/dist/calcite/p-65809393.entry.js.map +1 -0
- package/dist/calcite/p-65cab876.entry.js +7 -0
- package/dist/calcite/p-65cab876.entry.js.map +1 -0
- package/dist/calcite/p-68420d26.js +7 -0
- package/dist/calcite/p-6a142207.entry.js +7 -0
- package/dist/calcite/p-6a142207.entry.js.map +1 -0
- package/dist/calcite/p-6a58d3fb.js +7 -0
- package/dist/calcite/p-6be8d1e0.js +7 -0
- package/dist/calcite/p-6c4b1d9d.js +7 -0
- package/dist/calcite/p-6c981373.entry.js +7 -0
- package/dist/calcite/p-6d6b972e.js +7 -0
- package/dist/calcite/p-6dab2b76.js +7 -0
- package/dist/calcite/p-71c665c4.entry.js +7 -0
- package/dist/calcite/p-71c665c4.entry.js.map +1 -0
- package/dist/calcite/p-74a4aaf4.js +7 -0
- package/dist/calcite/p-76b2911e.entry.js +7 -0
- package/dist/calcite/p-76b2911e.entry.js.map +1 -0
- package/dist/calcite/p-790915e8.entry.js +7 -0
- package/dist/calcite/p-790915e8.entry.js.map +1 -0
- package/dist/calcite/p-7a458e9b.entry.js +7 -0
- package/dist/calcite/p-7a458e9b.entry.js.map +1 -0
- package/dist/calcite/p-815f4a84.entry.js +7 -0
- package/dist/calcite/p-815f4a84.entry.js.map +1 -0
- package/dist/calcite/p-823e8612.js +7 -0
- package/dist/calcite/p-82ae5f1e.entry.js +7 -0
- package/dist/calcite/p-8365ddd0.js +7 -0
- package/dist/calcite/p-842ce499.entry.js +7 -0
- package/dist/calcite/p-842ce499.entry.js.map +1 -0
- package/dist/calcite/p-856f22d8.js +7 -0
- package/dist/calcite/p-878c5964.js +7 -0
- package/dist/calcite/p-891465e4.entry.js +7 -0
- package/dist/calcite/p-891465e4.entry.js.map +1 -0
- package/dist/calcite/p-892cc6f5.js +7 -0
- package/dist/calcite/p-89cee0d6.js +7 -0
- package/dist/calcite/p-8d268a85.js +7 -0
- package/dist/calcite/p-8d891c30.js +7 -0
- package/dist/calcite/p-90490571.entry.js +7 -0
- package/dist/calcite/p-90490571.entry.js.map +1 -0
- package/dist/calcite/p-96062133.entry.js +7 -0
- package/dist/calcite/p-96d16cb1.entry.js +7 -0
- package/dist/calcite/p-96d16cb1.entry.js.map +1 -0
- package/dist/calcite/p-9780260b.entry.js +7 -0
- package/dist/calcite/p-97eb24b0.js +7 -0
- package/dist/calcite/p-989694e4.js +7 -0
- package/dist/calcite/p-99ff99e5.js +7 -0
- package/dist/calcite/p-9b2f6f6f.js +7 -0
- package/dist/calcite/p-9b330b52.js +7 -0
- package/dist/calcite/p-9b840210.js +7 -0
- package/dist/calcite/p-9bbc1f60.entry.js +7 -0
- package/dist/calcite/p-9cd48a92.entry.js +7 -0
- package/dist/calcite/p-9cd48a92.entry.js.map +1 -0
- package/dist/calcite/p-9d0ed456.js +7 -0
- package/dist/calcite/p-9e5c649c.entry.js +7 -0
- package/dist/calcite/p-9e5c649c.entry.js.map +1 -0
- package/dist/calcite/p-a42f9453.entry.js +7 -0
- package/dist/calcite/p-a42f9453.entry.js.map +1 -0
- package/dist/calcite/p-a500e817.js +11 -0
- package/dist/calcite/p-a52beb1e.entry.js +7 -0
- package/dist/calcite/p-a52beb1e.entry.js.map +1 -0
- package/dist/calcite/p-a652a193.js +7 -0
- package/dist/calcite/p-a8957238.js +7 -0
- package/dist/calcite/p-aa30f485.entry.js +7 -0
- package/dist/calcite/p-af0c5053.js +7 -0
- package/dist/calcite/p-b073109d.js +7 -0
- package/dist/calcite/p-b40cacf8.entry.js +7 -0
- package/dist/calcite/p-b88c2de4.js +7 -0
- package/dist/calcite/p-b94532ca.entry.js +7 -0
- package/dist/calcite/p-b98c4ea4.js +7 -0
- package/dist/calcite/p-ba36cc41.js +7 -0
- package/dist/calcite/p-ba413615.entry.js +7 -0
- package/dist/calcite/p-bab8bb76.js +7 -0
- package/dist/calcite/p-bbee4a2f.js +7 -0
- package/dist/calcite/p-bcbbc0e3.js +7 -0
- package/dist/calcite/p-c11f5e43.js +7 -0
- package/dist/calcite/p-c3c2c02e.js +7 -0
- package/dist/calcite/p-c4cb6eb6.entry.js +7 -0
- package/dist/calcite/p-c4cb6eb6.entry.js.map +1 -0
- package/dist/calcite/p-c777d11d.js +7 -0
- package/dist/calcite/p-c77e8a58.entry.js +7 -0
- package/dist/calcite/p-c77e8a58.entry.js.map +1 -0
- package/dist/calcite/p-c7ad4314.js +7 -0
- package/dist/calcite/p-c82defed.entry.js +7 -0
- package/dist/calcite/p-c82defed.entry.js.map +1 -0
- package/dist/calcite/p-c8aae0de.entry.js +7 -0
- package/dist/calcite/p-c8c74e1e.js +7 -0
- package/dist/calcite/p-c8cc6b4c.js +7 -0
- package/dist/calcite/p-cd827aff.entry.js +7 -0
- package/dist/calcite/p-cd827aff.entry.js.map +1 -0
- package/dist/calcite/p-ce1a07de.entry.js +7 -0
- package/dist/calcite/p-ce1a07de.entry.js.map +1 -0
- package/dist/calcite/p-d20bc312.entry.js +7 -0
- package/dist/calcite/p-d297e15c.entry.js +7 -0
- package/dist/calcite/p-d297e15c.entry.js.map +1 -0
- package/dist/calcite/p-d4d08613.entry.js +7 -0
- package/dist/calcite/p-d4d08613.entry.js.map +1 -0
- package/dist/calcite/p-d622ef4d.entry.js +7 -0
- package/dist/calcite/p-d907d5cd.entry.js +7 -0
- package/dist/calcite/p-d907d5cd.entry.js.map +1 -0
- package/dist/calcite/p-ddbc9bf0.entry.js +7 -0
- package/dist/calcite/p-ddbc9bf0.entry.js.map +1 -0
- package/dist/calcite/p-dde27409.entry.js +7 -0
- package/dist/calcite/p-dde27409.entry.js.map +1 -0
- package/dist/calcite/p-debf1ef3.entry.js +7 -0
- package/dist/calcite/p-debf1ef3.entry.js.map +1 -0
- package/dist/calcite/p-df9e1067.js +7 -0
- package/dist/calcite/p-e2597d07.js +7 -0
- package/dist/calcite/p-e2b2fe22.entry.js +7 -0
- package/dist/calcite/p-e2b2fe22.entry.js.map +1 -0
- package/dist/calcite/p-e2fea753.entry.js +7 -0
- package/dist/calcite/p-e47c6e91.js +7 -0
- package/dist/calcite/p-e48ce232.entry.js +7 -0
- package/dist/calcite/p-e48ce232.entry.js.map +1 -0
- package/dist/calcite/p-e8a1a883.entry.js +7 -0
- package/dist/calcite/p-e8a1a883.entry.js.map +1 -0
- package/dist/calcite/p-e9580c79.js +7 -0
- package/dist/calcite/p-eadcfbb5.js +7 -0
- package/dist/calcite/p-ee8dfdbd.js +7 -0
- package/dist/calcite/p-f07f2b9f.js +7 -0
- package/dist/calcite/p-f132a26b.js +7 -0
- package/dist/calcite/p-f1db5593.js +7 -0
- package/dist/calcite/p-f511cecc.js +7 -0
- package/dist/calcite/p-f5a8b7f7.entry.js +7 -0
- package/dist/calcite/p-f5b2ab6f.js +7 -0
- package/dist/calcite/p-f5b3599d.entry.js +7 -0
- package/dist/calcite/p-f72f3295.entry.js +7 -0
- package/dist/calcite/p-f72f3295.entry.js.map +1 -0
- package/dist/calcite/p-fc5f2846.entry.js +7 -0
- package/dist/calcite/p-fc5f2846.entry.js.map +1 -0
- package/dist/calcite-preset.js +4 -4
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-b7213e5d.js +110 -0
- package/dist/cjs/ExpandToggle-b7213e5d.js.map +1 -0
- package/dist/cjs/FloatingArrow-5d15e7d1.js +49 -0
- package/dist/cjs/FloatingArrow-5d15e7d1.js.map +1 -0
- package/dist/cjs/Heading-248ede66.js +22 -0
- package/dist/cjs/Heading-248ede66.js.map +1 -0
- package/dist/cjs/Validation-9d87645b.js +18 -0
- package/dist/cjs/Validation-9d87645b.js.map +1 -0
- package/dist/cjs/app-globals-722153a7.js +61 -0
- package/dist/cjs/app-globals-722153a7.js.map +1 -0
- package/dist/cjs/ar-ecafc238.js +106 -0
- package/dist/cjs/ar-ecafc238.js.map +1 -0
- package/dist/cjs/array-9f6c22a1.js +14 -0
- package/dist/cjs/array-9f6c22a1.js.map +1 -0
- package/dist/cjs/bg-f2cb39b6.js +84 -0
- package/dist/cjs/bg-f2cb39b6.js.map +1 -0
- package/dist/cjs/browser-810846ec.js +20 -0
- package/dist/cjs/browser-810846ec.js.map +1 -0
- package/dist/cjs/bs-82c82949.js +53 -0
- package/dist/cjs/bs-82c82949.js.map +1 -0
- package/dist/cjs/ca-0aef0be7.js +73 -0
- package/dist/cjs/ca-0aef0be7.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- 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 +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- 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 +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +32 -22
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +42 -37
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- 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 +16 -16
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- 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 +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-12bad3a0.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-12bad3a0.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- 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 +15 -15
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- 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 +18 -18
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- 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 +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- 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 +13 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- 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 +19 -19
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/component-0d876643.js +30 -0
- package/dist/cjs/component-0d876643.js.map +1 -0
- package/dist/cjs/conditionalSlot-1cd5437d.js +60 -0
- package/dist/cjs/conditionalSlot-1cd5437d.js.map +1 -0
- package/dist/cjs/cs-152b112b.js +149 -0
- package/dist/cjs/cs-152b112b.js.map +1 -0
- package/dist/cjs/da-33fc3d00.js +68 -0
- package/dist/cjs/da-33fc3d00.js.map +1 -0
- package/dist/cjs/de-at-6da12140.js +92 -0
- package/dist/cjs/de-at-6da12140.js.map +1 -0
- package/dist/cjs/de-ch-a15fb1a7.js +92 -0
- package/dist/cjs/de-ch-a15fb1a7.js.map +1 -0
- package/dist/cjs/de-d822aab4.js +93 -0
- package/dist/cjs/de-d822aab4.js.map +1 -0
- package/dist/cjs/debounce-812dd019.js +498 -0
- package/dist/cjs/debounce-812dd019.js.map +1 -0
- package/dist/cjs/dom-4fe1e23f.js +1084 -0
- package/dist/cjs/dom-4fe1e23f.js.map +1 -0
- package/dist/cjs/el-a201abc1.js +68 -0
- package/dist/cjs/el-a201abc1.js.map +1 -0
- package/dist/cjs/en-au-4a2ded4c.js +68 -0
- package/dist/cjs/en-au-4a2ded4c.js.map +1 -0
- package/dist/cjs/en-ca-1dc6712c.js +67 -0
- package/dist/cjs/en-ca-1dc6712c.js.map +1 -0
- package/dist/cjs/en-gb-cd574718.js +71 -0
- package/dist/cjs/en-gb-cd574718.js.map +1 -0
- package/dist/cjs/es-81c9e012.js +68 -0
- package/dist/cjs/es-81c9e012.js.map +1 -0
- package/dist/cjs/es-mx-3bdbd136.js +67 -0
- package/dist/cjs/es-mx-3bdbd136.js.map +1 -0
- package/dist/cjs/et-f09fc528.js +94 -0
- package/dist/cjs/et-f09fc528.js.map +1 -0
- package/dist/cjs/fi-d40e93e9.js +117 -0
- package/dist/cjs/fi-d40e93e9.js.map +1 -0
- package/dist/cjs/filter-ef04216e.js +762 -0
- package/dist/cjs/filter-ef04216e.js.map +1 -0
- package/dist/cjs/floating-ui-b5b22acd.js +1965 -0
- package/dist/cjs/floating-ui-b5b22acd.js.map +1 -0
- package/dist/cjs/focusTrapComponent-f275aaab.js +1020 -0
- package/dist/cjs/focusTrapComponent-f275aaab.js.map +1 -0
- package/dist/cjs/form-5d559c27.js +333 -0
- package/dist/cjs/form-5d559c27.js.map +1 -0
- package/dist/cjs/fr-ch-4df0ac17.js +68 -0
- package/dist/cjs/fr-ch-4df0ac17.js.map +1 -0
- package/dist/cjs/fr-d01df52b.js +70 -0
- package/dist/cjs/fr-d01df52b.js.map +1 -0
- package/dist/cjs/guid-664be242.js +23 -0
- package/dist/cjs/guid-664be242.js.map +1 -0
- package/dist/cjs/he-c52e1371.js +107 -0
- package/dist/cjs/he-c52e1371.js.map +1 -0
- package/dist/cjs/hi-1311291d.js +67 -0
- package/dist/cjs/hi-1311291d.js.map +1 -0
- package/dist/cjs/hr-76869df7.js +82 -0
- package/dist/cjs/hr-76869df7.js.map +1 -0
- package/dist/cjs/hu-5d945bfd.js +90 -0
- package/dist/cjs/hu-5d945bfd.js.map +1 -0
- package/dist/cjs/id-5c97a86d.js +68 -0
- package/dist/cjs/id-5c97a86d.js.map +1 -0
- package/dist/cjs/index-9033b0a7.js +75 -0
- package/dist/cjs/index-9033b0a7.js.map +1 -0
- package/dist/cjs/index-b7d0f67f.js +208 -0
- package/dist/cjs/index-b7d0f67f.js.map +1 -0
- package/dist/cjs/index-c618ac7e.js +2655 -0
- package/dist/cjs/index-c618ac7e.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-a6fed224.js +141 -0
- package/dist/cjs/interactive-a6fed224.js.map +1 -0
- package/dist/cjs/it-bc1f14ec.js +68 -0
- package/dist/cjs/it-bc1f14ec.js.map +1 -0
- package/dist/cjs/it-ch-df27069a.js +68 -0
- package/dist/cjs/it-ch-df27069a.js.map +1 -0
- package/dist/cjs/ja-411538e3.js +74 -0
- package/dist/cjs/ja-411538e3.js.map +1 -0
- package/dist/cjs/key-43c0c6a9.js +16 -0
- package/dist/cjs/key-43c0c6a9.js.map +1 -0
- package/dist/cjs/ko-98aca44e.js +74 -0
- package/dist/cjs/ko-98aca44e.js.map +1 -0
- package/dist/cjs/label-6156647e.js +183 -0
- package/dist/cjs/label-6156647e.js.map +1 -0
- package/dist/cjs/loadable-0768266a.js +91 -0
- package/dist/cjs/loadable-0768266a.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-ddc63606.js +576 -0
- package/dist/cjs/locale-ddc63606.js.map +1 -0
- package/dist/cjs/lt-debc50ab.js +99 -0
- package/dist/cjs/lt-debc50ab.js.map +1 -0
- package/dist/cjs/lv-9f83cdd0.js +68 -0
- package/dist/cjs/lv-9f83cdd0.js.map +1 -0
- package/dist/cjs/math-9c5f997f.js +57 -0
- package/dist/cjs/math-9c5f997f.js.map +1 -0
- package/dist/cjs/mk-71980b18.js +68 -0
- package/dist/cjs/mk-71980b18.js.map +1 -0
- package/dist/cjs/nb-dd82e588.js +69 -0
- package/dist/cjs/nb-dd82e588.js.map +1 -0
- package/dist/cjs/nl-c3837d14.js +69 -0
- package/dist/cjs/nl-c3837d14.js.map +1 -0
- package/dist/cjs/observers-9b298fc6.js +50 -0
- package/dist/cjs/observers-9b298fc6.js.map +1 -0
- package/dist/cjs/openCloseComponent-03b5aea0.js +89 -0
- package/dist/cjs/openCloseComponent-03b5aea0.js.map +1 -0
- package/dist/cjs/pl-123d126a.js +116 -0
- package/dist/cjs/pl-123d126a.js.map +1 -0
- package/dist/cjs/pt-1f2fea8c.js +69 -0
- package/dist/cjs/pt-1f2fea8c.js.map +1 -0
- package/dist/cjs/pt-br-3251b245.js +67 -0
- package/dist/cjs/pt-br-3251b245.js.map +1 -0
- package/dist/cjs/resources-03f42004.js +26 -0
- package/dist/cjs/resources-03f42004.js.map +1 -0
- package/dist/cjs/resources-05eb9358.js +26 -0
- package/dist/cjs/resources-05eb9358.js.map +1 -0
- package/dist/cjs/resources-0d92efa7.js +29 -0
- package/dist/cjs/resources-0d92efa7.js.map +1 -0
- package/dist/cjs/resources-60434e2c.js +17 -0
- package/dist/cjs/resources-60434e2c.js.map +1 -0
- package/dist/cjs/resources-6135b13f.js +414 -0
- package/dist/cjs/resources-6135b13f.js.map +1 -0
- package/dist/cjs/resources-76256359.js +23 -0
- package/dist/cjs/resources-76256359.js.map +1 -0
- package/dist/cjs/resources-a8f33076.js +49 -0
- package/dist/cjs/resources-a8f33076.js.map +1 -0
- package/dist/cjs/ro-67243751.js +68 -0
- package/dist/cjs/ro-67243751.js.map +1 -0
- package/dist/cjs/ru-2ad7b1ed.js +128 -0
- package/dist/cjs/ru-2ad7b1ed.js.map +1 -0
- package/dist/cjs/sk-f94a0e2f.js +150 -0
- package/dist/cjs/sk-f94a0e2f.js.map +1 -0
- package/dist/cjs/sl-b561009e.js +170 -0
- package/dist/cjs/sl-b561009e.js.map +1 -0
- package/dist/cjs/sortableComponent-2314b645.js +2739 -0
- package/dist/cjs/sortableComponent-2314b645.js.map +1 -0
- package/dist/cjs/sr-b7a8f952.js +103 -0
- package/dist/cjs/sr-b7a8f952.js.map +1 -0
- package/dist/cjs/sv-a920cba8.js +73 -0
- package/dist/cjs/sv-a920cba8.js.map +1 -0
- package/dist/cjs/t9n-94d6bc29.js +97 -0
- package/dist/cjs/t9n-94d6bc29.js.map +1 -0
- package/dist/cjs/th-12d76453.js +67 -0
- package/dist/cjs/th-12d76453.js.map +1 -0
- package/dist/cjs/throttle-f050702b.js +77 -0
- package/dist/cjs/throttle-f050702b.js.map +1 -0
- package/dist/cjs/tr-77c73d06.js +68 -0
- package/dist/cjs/tr-77c73d06.js.map +1 -0
- package/dist/cjs/uk-b37a1218.js +106 -0
- package/dist/cjs/uk-b37a1218.js.map +1 -0
- package/dist/cjs/utils-cefc2a32.js +218 -0
- package/dist/cjs/utils-cefc2a32.js.map +1 -0
- package/dist/cjs/utils-f6eec8c4.js +307 -0
- package/dist/cjs/utils-f6eec8c4.js.map +1 -0
- package/dist/cjs/vi-487500c9.js +72 -0
- package/dist/cjs/vi-487500c9.js.map +1 -0
- package/dist/cjs/zh-cn-55a50e81.js +96 -0
- package/dist/cjs/zh-cn-55a50e81.js.map +1 -0
- package/dist/cjs/zh-hk-c566f8b3.js +73 -0
- package/dist/cjs/zh-hk-c566f8b3.js.map +1 -0
- package/dist/cjs/zh-tw-149b3778.js +94 -0
- package/dist/cjs/zh-tw-149b3778.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 +6 -6
- 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 +7 -7
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.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 +6 -6
- 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 +7 -7
- 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 +6 -6
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +16 -6
- package/dist/collection/components/color-picker/color-picker.js.map +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 +7 -12
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +19 -14
- package/dist/collection/components/combobox/combobox.js.map +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 +6 -6
- 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 +6 -6
- 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 +7 -7
- 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 +6 -6
- 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/Validation.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 +6 -6
- 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/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +7 -7
- 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 +7 -7
- 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 +7 -7
- 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 +6 -6
- 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 +8 -7
- 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 +6 -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 +1 -1
- package/dist/collection/components/menu-item/menu-item.css +6 -6
- 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 +7 -7
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +6 -6
- 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/resources.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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +7 -7
- 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 +6 -6
- 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 +7 -7
- 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 +6 -6
- 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 +6 -6
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +7 -7
- 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 +7 -7
- 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 +6 -6
- 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/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/action.js.map +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 +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion-item.js.map +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 +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +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 +17 -7
- package/dist/components/calcite-color-picker.js.map +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 +2 -2
- package/dist/components/calcite-list-item.js.map +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 +2 -2
- package/dist/components/calcite-menu-item.js.map +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-notice.js.map +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 +2 -2
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-select.js.map +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 +2 -2
- package/dist/components/calcite-slider.js.map +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 +2 -2
- package/dist/components/calcite-stepper-item.js.map +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 +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile-select.js.map +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 +2 -2
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/chip.js.map +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 +2 -2
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +21 -16
- 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 +2 -2
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month-header.js.map +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 +2 -2
- package/dist/components/handle.js.map +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-message.js +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +2 -2
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +2 -2
- package/dist/components/input.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/loader.js.map +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +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/radio-button.js +2 -2
- package/dist/components/radio-button.js.map +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 +2 -2
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +2 -2
- package/dist/components/table-header.js.map +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-4fe0d088.js +102 -0
- package/dist/esm/ExpandToggle-4fe0d088.js.map +1 -0
- package/dist/esm/FloatingArrow-da2a5915.js +47 -0
- package/dist/esm/FloatingArrow-da2a5915.js.map +1 -0
- package/dist/esm/Heading-e8e9f39f.js +19 -0
- package/dist/esm/Heading-e8e9f39f.js.map +1 -0
- package/dist/esm/Validation-f9adf22a.js +16 -0
- package/dist/esm/Validation-f9adf22a.js.map +1 -0
- package/dist/esm/app-globals-d862f7dd.js +59 -0
- package/dist/esm/app-globals-d862f7dd.js.map +1 -0
- package/dist/esm/ar-435822d6.js +104 -0
- package/dist/esm/ar-435822d6.js.map +1 -0
- package/dist/esm/array-20936c15.js +12 -0
- package/dist/esm/array-20936c15.js.map +1 -0
- package/dist/esm/bg-8cfd5a4a.js +82 -0
- package/dist/esm/bg-8cfd5a4a.js.map +1 -0
- package/dist/esm/browser-50a08626.js +18 -0
- package/dist/esm/browser-50a08626.js.map +1 -0
- package/dist/esm/bs-6cf1e6b5.js +51 -0
- package/dist/esm/bs-6cf1e6b5.js.map +1 -0
- package/dist/esm/ca-384fbc12.js +71 -0
- package/dist/esm/ca-384fbc12.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- 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 +14 -14
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-alert.entry.js.map +1 -1
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +17 -17
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- 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 +13 -13
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +32 -22
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +42 -37
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- 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 +16 -16
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- 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 +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-fe60dbec.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-fe60dbec.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +16 -16
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js.map +1 -1
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- 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 +15 -15
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- 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 +18 -18
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- 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 +5 -5
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- 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 +13 -13
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -15
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- 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 +19 -19
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/component-6af41cfc.js +27 -0
- package/dist/esm/component-6af41cfc.js.map +1 -0
- package/dist/esm/conditionalSlot-b4ff8618.js +57 -0
- package/dist/esm/conditionalSlot-b4ff8618.js.map +1 -0
- package/dist/esm/cs-980fe04e.js +147 -0
- package/dist/esm/cs-980fe04e.js.map +1 -0
- package/dist/esm/da-4181e8a0.js +66 -0
- package/dist/esm/da-4181e8a0.js.map +1 -0
- package/dist/esm/de-6081851e.js +91 -0
- package/dist/esm/de-6081851e.js.map +1 -0
- package/dist/esm/de-at-cc719215.js +90 -0
- package/dist/esm/de-at-cc719215.js.map +1 -0
- package/dist/esm/de-ch-7b3a18a3.js +90 -0
- package/dist/esm/de-ch-7b3a18a3.js.map +1 -0
- package/dist/esm/debounce-b8859c54.js +489 -0
- package/dist/esm/debounce-b8859c54.js.map +1 -0
- package/dist/esm/dom-ca2ed490.js +1053 -0
- package/dist/esm/dom-ca2ed490.js.map +1 -0
- package/dist/esm/el-19cd12c0.js +66 -0
- package/dist/esm/el-19cd12c0.js.map +1 -0
- package/dist/esm/en-au-2b98c5c4.js +66 -0
- package/dist/esm/en-au-2b98c5c4.js.map +1 -0
- package/dist/esm/en-ca-f1b38de9.js +65 -0
- package/dist/esm/en-ca-f1b38de9.js.map +1 -0
- package/dist/esm/en-gb-ac4d7516.js +69 -0
- package/dist/esm/en-gb-ac4d7516.js.map +1 -0
- package/dist/esm/es-3663fddf.js +66 -0
- package/dist/esm/es-3663fddf.js.map +1 -0
- package/dist/esm/es-mx-6f8ca557.js +65 -0
- package/dist/esm/es-mx-6f8ca557.js.map +1 -0
- package/dist/esm/et-76b92b5a.js +92 -0
- package/dist/esm/et-76b92b5a.js.map +1 -0
- package/dist/esm/fi-ee4ed9d5.js +115 -0
- package/dist/esm/fi-ee4ed9d5.js.map +1 -0
- package/dist/esm/filter-808ff6a3.js +760 -0
- package/dist/esm/filter-808ff6a3.js.map +1 -0
- package/dist/esm/floating-ui-0ff2966c.js +1957 -0
- package/dist/esm/floating-ui-0ff2966c.js.map +1 -0
- package/dist/esm/focusTrapComponent-1c22102d.js +1015 -0
- package/dist/esm/focusTrapComponent-1c22102d.js.map +1 -0
- package/dist/esm/form-89e4fc77.js +324 -0
- package/dist/esm/form-89e4fc77.js.map +1 -0
- package/dist/esm/fr-18d45911.js +68 -0
- package/dist/esm/fr-18d45911.js.map +1 -0
- package/dist/esm/fr-ch-d8044d3f.js +66 -0
- package/dist/esm/fr-ch-d8044d3f.js.map +1 -0
- package/dist/esm/guid-3e8512cb.js +21 -0
- package/dist/esm/guid-3e8512cb.js.map +1 -0
- package/dist/esm/he-95490b63.js +105 -0
- package/dist/esm/he-95490b63.js.map +1 -0
- package/dist/esm/hi-10475843.js +65 -0
- package/dist/esm/hi-10475843.js.map +1 -0
- package/dist/esm/hr-19b85046.js +80 -0
- package/dist/esm/hr-19b85046.js.map +1 -0
- package/dist/esm/hu-d6ffde11.js +88 -0
- package/dist/esm/hu-d6ffde11.js.map +1 -0
- package/dist/esm/id-f25166a4.js +66 -0
- package/dist/esm/id-f25166a4.js.map +1 -0
- package/dist/esm/index-7a73f316.js +206 -0
- package/dist/esm/index-7a73f316.js.map +1 -0
- package/dist/esm/index-7ce7bab0.js +73 -0
- package/dist/esm/index-7ce7bab0.js.map +1 -0
- package/dist/esm/index-dc7a06ab.js +2620 -0
- package/dist/esm/index-dc7a06ab.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-9c1ccfdd.js +136 -0
- package/dist/esm/interactive-9c1ccfdd.js.map +1 -0
- package/dist/esm/it-1000f671.js +66 -0
- package/dist/esm/it-1000f671.js.map +1 -0
- package/dist/esm/it-ch-e6cda891.js +66 -0
- package/dist/esm/it-ch-e6cda891.js.map +1 -0
- package/dist/esm/ja-8a8e320e.js +72 -0
- package/dist/esm/ja-8a8e320e.js.map +1 -0
- package/dist/esm/key-662ca05b.js +13 -0
- package/dist/esm/key-662ca05b.js.map +1 -0
- package/dist/esm/ko-c8f6b0cb.js +72 -0
- package/dist/esm/ko-c8f6b0cb.js.map +1 -0
- package/dist/esm/label-4ff3ac5e.js +176 -0
- package/dist/esm/label-4ff3ac5e.js.map +1 -0
- package/dist/esm/loadable-bf645b17.js +86 -0
- package/dist/esm/loadable-bf645b17.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-92c78287.js +563 -0
- package/dist/esm/locale-92c78287.js.map +1 -0
- package/dist/esm/lt-de58e42c.js +97 -0
- package/dist/esm/lt-de58e42c.js.map +1 -0
- package/dist/esm/lv-4d82c9e7.js +66 -0
- package/dist/esm/lv-4d82c9e7.js.map +1 -0
- package/dist/esm/math-5f4ca9ef.js +51 -0
- package/dist/esm/math-5f4ca9ef.js.map +1 -0
- package/dist/esm/mk-91e62681.js +66 -0
- package/dist/esm/mk-91e62681.js.map +1 -0
- package/dist/esm/nb-6b846dde.js +67 -0
- package/dist/esm/nb-6b846dde.js.map +1 -0
- package/dist/esm/nl-5e002447.js +67 -0
- package/dist/esm/nl-5e002447.js.map +1 -0
- package/dist/esm/observers-2fdef3be.js +48 -0
- package/dist/esm/observers-2fdef3be.js.map +1 -0
- package/dist/esm/openCloseComponent-7c7c0845.js +87 -0
- package/dist/esm/openCloseComponent-7c7c0845.js.map +1 -0
- package/dist/esm/pl-44fbe08b.js +114 -0
- package/dist/esm/pl-44fbe08b.js.map +1 -0
- package/dist/esm/pt-5c09a3fa.js +67 -0
- package/dist/esm/pt-5c09a3fa.js.map +1 -0
- package/dist/esm/pt-br-961ac9ef.js +65 -0
- package/dist/esm/pt-br-961ac9ef.js.map +1 -0
- package/dist/esm/resources-11a33f37.js +23 -0
- package/dist/esm/resources-11a33f37.js.map +1 -0
- package/dist/esm/resources-22d2822c.js +387 -0
- package/dist/esm/resources-22d2822c.js.map +1 -0
- package/dist/esm/resources-6ad67c9e.js +25 -0
- package/dist/esm/resources-6ad67c9e.js.map +1 -0
- package/dist/esm/resources-8dffb381.js +19 -0
- package/dist/esm/resources-8dffb381.js.map +1 -0
- package/dist/esm/resources-e0982644.js +45 -0
- package/dist/esm/resources-e0982644.js.map +1 -0
- package/dist/esm/resources-e3554e60.js +17 -0
- package/dist/esm/resources-e3554e60.js.map +1 -0
- package/dist/esm/resources-fc8905ef.js +21 -0
- package/dist/esm/resources-fc8905ef.js.map +1 -0
- package/dist/esm/ro-075de350.js +66 -0
- package/dist/esm/ro-075de350.js.map +1 -0
- package/dist/esm/ru-a5f178aa.js +126 -0
- package/dist/esm/ru-a5f178aa.js.map +1 -0
- package/dist/esm/sk-148bd778.js +148 -0
- package/dist/esm/sk-148bd778.js.map +1 -0
- package/dist/esm/sl-71e49ac6.js +168 -0
- package/dist/esm/sl-71e49ac6.js.map +1 -0
- package/dist/esm/sortableComponent-bdc075f9.js +2735 -0
- package/dist/esm/sortableComponent-bdc075f9.js.map +1 -0
- package/dist/esm/sr-d6d106c8.js +101 -0
- package/dist/esm/sr-d6d106c8.js.map +1 -0
- package/dist/esm/sv-2790ce53.js +71 -0
- package/dist/esm/sv-2790ce53.js.map +1 -0
- package/dist/esm/t9n-c9b46cad.js +92 -0
- package/dist/esm/t9n-c9b46cad.js.map +1 -0
- package/dist/esm/th-50b5cf83.js +65 -0
- package/dist/esm/th-50b5cf83.js.map +1 -0
- package/dist/esm/throttle-762ff318.js +75 -0
- package/dist/esm/throttle-762ff318.js.map +1 -0
- package/dist/esm/tr-8dc67262.js +66 -0
- package/dist/esm/tr-8dc67262.js.map +1 -0
- package/dist/esm/uk-5378edad.js +104 -0
- package/dist/esm/uk-5378edad.js.map +1 -0
- package/dist/esm/utils-a6b297d2.js +200 -0
- package/dist/esm/utils-a6b297d2.js.map +1 -0
- package/dist/esm/utils-fe9045f2.js +289 -0
- package/dist/esm/utils-fe9045f2.js.map +1 -0
- package/dist/esm/vi-1e25cbf7.js +70 -0
- package/dist/esm/vi-1e25cbf7.js.map +1 -0
- package/dist/esm/zh-cn-b1ea07e4.js +94 -0
- package/dist/esm/zh-cn-b1ea07e4.js.map +1 -0
- package/dist/esm/zh-hk-64465570.js +71 -0
- package/dist/esm/zh-hk-64465570.js.map +1 -0
- package/dist/esm/zh-tw-2b12e449.js +92 -0
- package/dist/esm/zh-tw-2b12e449.js.map +1 -0
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/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/combobox/combobox.d.ts +4 -3
- package/hydrate/index.js +80 -65
- package/package.json +2 -2
- package/dist/calcite/p-00b33d27.js +0 -7
- package/dist/calcite/p-01223da5.entry.js +0 -7
- package/dist/calcite/p-01223da5.entry.js.map +0 -1
- package/dist/calcite/p-01ce6c82.entry.js +0 -7
- package/dist/calcite/p-0294cb32.entry.js +0 -7
- package/dist/calcite/p-0294cb32.entry.js.map +0 -1
- package/dist/calcite/p-041acb71.js +0 -7
- package/dist/calcite/p-082040be.js +0 -7
- package/dist/calcite/p-086954cf.entry.js +0 -7
- package/dist/calcite/p-086954cf.entry.js.map +0 -1
- package/dist/calcite/p-0944eb43.entry.js +0 -7
- package/dist/calcite/p-0d04e387.js +0 -7
- package/dist/calcite/p-0f7d03d1.js +0 -7
- package/dist/calcite/p-10acb648.js +0 -7
- package/dist/calcite/p-11d4c82a.js +0 -7
- package/dist/calcite/p-128a6263.js +0 -7
- package/dist/calcite/p-15ec4f27.js +0 -7
- package/dist/calcite/p-15fd0b18.js +0 -7
- package/dist/calcite/p-1e1fed0c.entry.js +0 -7
- package/dist/calcite/p-20db39dc.js +0 -7
- package/dist/calcite/p-21d84e50.js +0 -7
- package/dist/calcite/p-264f4332.entry.js +0 -7
- package/dist/calcite/p-264f4332.entry.js.map +0 -1
- package/dist/calcite/p-26cd3c63.js +0 -7
- package/dist/calcite/p-26f7f362.js +0 -7
- package/dist/calcite/p-299b2dc4.entry.js +0 -7
- package/dist/calcite/p-299b2dc4.entry.js.map +0 -1
- package/dist/calcite/p-2b1358dd.entry.js +0 -7
- package/dist/calcite/p-2e3e6934.js +0 -7
- package/dist/calcite/p-2e8e9118.entry.js +0 -7
- package/dist/calcite/p-2e8e9118.entry.js.map +0 -1
- package/dist/calcite/p-30bc9f81.entry.js +0 -7
- package/dist/calcite/p-319afb8e.js +0 -7
- package/dist/calcite/p-31fd105d.entry.js +0 -7
- package/dist/calcite/p-31fd105d.entry.js.map +0 -1
- package/dist/calcite/p-32f0d2e4.entry.js +0 -7
- package/dist/calcite/p-32f0d2e4.entry.js.map +0 -1
- package/dist/calcite/p-3328f5ba.js +0 -7
- package/dist/calcite/p-3341a34a.js +0 -7
- package/dist/calcite/p-341f5dd5.js +0 -7
- package/dist/calcite/p-34a71bdb.js +0 -7
- package/dist/calcite/p-34feb62c.entry.js +0 -7
- package/dist/calcite/p-34feb62c.entry.js.map +0 -1
- package/dist/calcite/p-351ef8bc.js +0 -7
- package/dist/calcite/p-385fabe6.entry.js +0 -7
- package/dist/calcite/p-39613b4f.js +0 -7
- package/dist/calcite/p-39d8f5e0.entry.js +0 -7
- package/dist/calcite/p-39d8f5e0.entry.js.map +0 -1
- package/dist/calcite/p-39e3cd7c.js +0 -7
- package/dist/calcite/p-3a38726f.js +0 -7
- package/dist/calcite/p-3c663b9d.entry.js +0 -7
- package/dist/calcite/p-3c663b9d.entry.js.map +0 -1
- package/dist/calcite/p-3e9ca753.js +0 -7
- package/dist/calcite/p-401ec473.entry.js +0 -7
- package/dist/calcite/p-41c6c9db.entry.js +0 -7
- package/dist/calcite/p-4598dc66.entry.js +0 -7
- package/dist/calcite/p-471d1acf.js +0 -7
- package/dist/calcite/p-48b5b678.js +0 -7
- package/dist/calcite/p-49586b62.js +0 -7
- package/dist/calcite/p-499adfac.entry.js +0 -7
- package/dist/calcite/p-499adfac.entry.js.map +0 -1
- package/dist/calcite/p-4ca318c0.entry.js +0 -7
- package/dist/calcite/p-4dd08f5c.entry.js +0 -7
- package/dist/calcite/p-4dd08f5c.entry.js.map +0 -1
- package/dist/calcite/p-4e27599d.js +0 -7
- package/dist/calcite/p-50fae575.js +0 -7
- package/dist/calcite/p-51bb034f.entry.js +0 -7
- package/dist/calcite/p-51bb034f.entry.js.map +0 -1
- package/dist/calcite/p-541ed8e8.js +0 -7
- package/dist/calcite/p-55202d8e.entry.js +0 -7
- package/dist/calcite/p-566745a9.js +0 -7
- package/dist/calcite/p-5723d5de.entry.js +0 -7
- package/dist/calcite/p-582b93a0.js +0 -7
- package/dist/calcite/p-5886e529.entry.js +0 -7
- package/dist/calcite/p-58d1332e.js +0 -7
- package/dist/calcite/p-5b0d5824.js +0 -7
- package/dist/calcite/p-5b9f1e26.entry.js +0 -7
- package/dist/calcite/p-5b9f1e26.entry.js.map +0 -1
- package/dist/calcite/p-5bacd0a4.entry.js +0 -7
- package/dist/calcite/p-5bacd0a4.entry.js.map +0 -1
- package/dist/calcite/p-619f6b40.entry.js +0 -7
- package/dist/calcite/p-636cae83.entry.js +0 -7
- package/dist/calcite/p-636cae83.entry.js.map +0 -1
- package/dist/calcite/p-65704e9c.js +0 -7
- package/dist/calcite/p-6635e3a5.js +0 -7
- package/dist/calcite/p-69628498.entry.js +0 -7
- package/dist/calcite/p-69628498.entry.js.map +0 -1
- package/dist/calcite/p-6b48fd8f.js +0 -7
- package/dist/calcite/p-6ca4af5b.js +0 -7
- package/dist/calcite/p-72484322.js +0 -7
- package/dist/calcite/p-73e108be.js +0 -7
- package/dist/calcite/p-7ab6ded4.entry.js +0 -7
- package/dist/calcite/p-7ab6ded4.entry.js.map +0 -1
- package/dist/calcite/p-7bcfca23.js +0 -7
- package/dist/calcite/p-7bd1de8b.js +0 -7
- package/dist/calcite/p-7c6b37cb.js +0 -7
- package/dist/calcite/p-7c9b1cff.js +0 -7
- package/dist/calcite/p-7d4b1849.entry.js +0 -7
- package/dist/calcite/p-7d650111.js +0 -7
- package/dist/calcite/p-7dfa77d1.js +0 -7
- package/dist/calcite/p-7f5e15af.entry.js +0 -7
- package/dist/calcite/p-810b69a9.entry.js +0 -7
- package/dist/calcite/p-810b69a9.entry.js.map +0 -1
- package/dist/calcite/p-812d4433.js +0 -7
- package/dist/calcite/p-85355ac3.js +0 -7
- package/dist/calcite/p-88b0202c.js +0 -7
- package/dist/calcite/p-88eda241.js +0 -7
- package/dist/calcite/p-8dcbfce8.js +0 -7
- package/dist/calcite/p-9223fe05.js +0 -7
- package/dist/calcite/p-92816b80.entry.js +0 -7
- package/dist/calcite/p-9395c02e.js +0 -11
- package/dist/calcite/p-958e9564.entry.js +0 -7
- package/dist/calcite/p-9868153c.entry.js +0 -7
- package/dist/calcite/p-9868153c.entry.js.map +0 -1
- package/dist/calcite/p-99a20f25.entry.js +0 -7
- package/dist/calcite/p-9b44500a.entry.js +0 -7
- package/dist/calcite/p-9b4aed37.js +0 -7
- package/dist/calcite/p-9b565b18.js +0 -7
- package/dist/calcite/p-9bd3b0b6.js +0 -7
- package/dist/calcite/p-9bf3339b.entry.js +0 -7
- package/dist/calcite/p-9bf3339b.entry.js.map +0 -1
- package/dist/calcite/p-9e347276.js +0 -7
- package/dist/calcite/p-9f076d48.js +0 -7
- package/dist/calcite/p-9fe87a22.entry.js +0 -7
- package/dist/calcite/p-9fe87a22.entry.js.map +0 -1
- package/dist/calcite/p-a07af675.entry.js +0 -7
- package/dist/calcite/p-a07af675.entry.js.map +0 -1
- package/dist/calcite/p-a0ca104b.js +0 -7
- package/dist/calcite/p-a5ff208a.js +0 -7
- package/dist/calcite/p-a63dbb17.entry.js +0 -7
- package/dist/calcite/p-a6687bbe.js +0 -7
- package/dist/calcite/p-a6739f55.js +0 -7
- package/dist/calcite/p-aa0e172f.js +0 -7
- package/dist/calcite/p-abbb8e20.js +0 -7
- package/dist/calcite/p-abc5ea47.entry.js +0 -7
- package/dist/calcite/p-abc5ea47.entry.js.map +0 -1
- package/dist/calcite/p-aff88591.js +0 -7
- package/dist/calcite/p-b04460b0.js +0 -7
- package/dist/calcite/p-b06765b5.js +0 -7
- package/dist/calcite/p-b1aeb283.entry.js +0 -7
- package/dist/calcite/p-b1c541ce.js +0 -7
- package/dist/calcite/p-b3e72f62.js +0 -7
- package/dist/calcite/p-b4957e5a.js +0 -7
- package/dist/calcite/p-ba29ffe7.entry.js +0 -7
- package/dist/calcite/p-ba29ffe7.entry.js.map +0 -1
- package/dist/calcite/p-ba4c20f7.js +0 -7
- package/dist/calcite/p-bb9a7c14.entry.js +0 -7
- package/dist/calcite/p-bb9a7c14.entry.js.map +0 -1
- package/dist/calcite/p-be3588ed.entry.js +0 -7
- package/dist/calcite/p-be3588ed.entry.js.map +0 -1
- package/dist/calcite/p-bf3d56f4.entry.js +0 -7
- package/dist/calcite/p-c1905124.js +0 -7
- package/dist/calcite/p-c1f13ffc.entry.js +0 -7
- package/dist/calcite/p-c1f13ffc.entry.js.map +0 -1
- package/dist/calcite/p-c233af9a.js +0 -7
- package/dist/calcite/p-c5a8df34.js +0 -7
- package/dist/calcite/p-c6fd9a15.entry.js +0 -7
- package/dist/calcite/p-c6fd9a15.entry.js.map +0 -1
- package/dist/calcite/p-c827bdff.js +0 -7
- package/dist/calcite/p-cbabb3e9.entry.js +0 -7
- package/dist/calcite/p-cbabb3e9.entry.js.map +0 -1
- package/dist/calcite/p-cf6c103a.js +0 -8
- package/dist/calcite/p-d3aa19a3.js +0 -7
- package/dist/calcite/p-d4392514.entry.js +0 -7
- package/dist/calcite/p-d4392514.entry.js.map +0 -1
- package/dist/calcite/p-d55685ca.entry.js +0 -7
- package/dist/calcite/p-d55685ca.entry.js.map +0 -1
- package/dist/calcite/p-d5d23c62.js +0 -7
- package/dist/calcite/p-d6e4ab3a.js +0 -12
- package/dist/calcite/p-d746164d.js +0 -7
- package/dist/calcite/p-dc0027ba.entry.js +0 -7
- package/dist/calcite/p-dc8fb8e4.entry.js +0 -7
- package/dist/calcite/p-e2c60ff0.entry.js +0 -7
- package/dist/calcite/p-e4186f47.js +0 -7
- package/dist/calcite/p-e4298c9a.entry.js +0 -7
- package/dist/calcite/p-e4736736.js +0 -7
- package/dist/calcite/p-e47b629f.entry.js +0 -7
- package/dist/calcite/p-e47b629f.entry.js.map +0 -1
- package/dist/calcite/p-e585713f.entry.js +0 -7
- package/dist/calcite/p-e585713f.entry.js.map +0 -1
- package/dist/calcite/p-e589b26a.entry.js +0 -7
- package/dist/calcite/p-e589b26a.entry.js.map +0 -1
- package/dist/calcite/p-e6f9f5c1.js +0 -7
- package/dist/calcite/p-eb367998.entry.js +0 -7
- package/dist/calcite/p-eb367998.entry.js.map +0 -1
- package/dist/calcite/p-ee9909cb.entry.js +0 -7
- package/dist/calcite/p-f148f25b.js +0 -7
- package/dist/calcite/p-f23ed287.entry.js +0 -7
- package/dist/calcite/p-f23ed287.entry.js.map +0 -1
- package/dist/calcite/p-f320c3b0.entry.js +0 -7
- package/dist/calcite/p-f320c3b0.entry.js.map +0 -1
- package/dist/calcite/p-f42f46c0.js +0 -7
- package/dist/calcite/p-f60dd8b1.js +0 -7
- package/dist/calcite/p-f75bd725.entry.js +0 -7
- package/dist/calcite/p-f75bd725.entry.js.map +0 -1
- package/dist/calcite/p-f9c43b7f.entry.js +0 -7
- package/dist/calcite/p-f9c43b7f.entry.js.map +0 -1
- package/dist/calcite/p-f9d57a45.entry.js +0 -7
- package/dist/calcite/p-f9d57a45.entry.js.map +0 -1
- package/dist/calcite/p-fa8aa680.js +0 -7
- package/dist/calcite/p-fd880023.entry.js +0 -7
- package/dist/calcite/p-fd880023.entry.js.map +0 -1
- package/dist/calcite/p-fe4db0fa.js +0 -13
- package/dist/cjs/ExpandToggle-9521cee5.js +0 -110
- package/dist/cjs/ExpandToggle-9521cee5.js.map +0 -1
- package/dist/cjs/FloatingArrow-5525a51e.js +0 -49
- package/dist/cjs/FloatingArrow-5525a51e.js.map +0 -1
- package/dist/cjs/Heading-8294d389.js +0 -22
- package/dist/cjs/Heading-8294d389.js.map +0 -1
- package/dist/cjs/Validation-e5075693.js +0 -18
- package/dist/cjs/Validation-e5075693.js.map +0 -1
- package/dist/cjs/app-globals-b8263335.js +0 -61
- package/dist/cjs/app-globals-b8263335.js.map +0 -1
- package/dist/cjs/ar-ce7a2383.js +0 -106
- package/dist/cjs/ar-ce7a2383.js.map +0 -1
- package/dist/cjs/array-bfc7639a.js +0 -14
- package/dist/cjs/array-bfc7639a.js.map +0 -1
- package/dist/cjs/bg-d0860d48.js +0 -84
- package/dist/cjs/bg-d0860d48.js.map +0 -1
- package/dist/cjs/browser-ee8f4c43.js +0 -20
- package/dist/cjs/browser-ee8f4c43.js.map +0 -1
- package/dist/cjs/bs-89e33cf2.js +0 -53
- package/dist/cjs/bs-89e33cf2.js.map +0 -1
- package/dist/cjs/ca-91e0cc2c.js +0 -73
- package/dist/cjs/ca-91e0cc2c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js.map +0 -1
- package/dist/cjs/component-031364d5.js +0 -30
- package/dist/cjs/component-031364d5.js.map +0 -1
- package/dist/cjs/conditionalSlot-a14208bb.js +0 -60
- package/dist/cjs/conditionalSlot-a14208bb.js.map +0 -1
- package/dist/cjs/cs-83a82bf0.js +0 -149
- package/dist/cjs/cs-83a82bf0.js.map +0 -1
- package/dist/cjs/da-55c03ccb.js +0 -68
- package/dist/cjs/da-55c03ccb.js.map +0 -1
- package/dist/cjs/de-at-2eff8fd4.js +0 -92
- package/dist/cjs/de-at-2eff8fd4.js.map +0 -1
- package/dist/cjs/de-ch-e6790116.js +0 -92
- package/dist/cjs/de-ch-e6790116.js.map +0 -1
- package/dist/cjs/de-eb7d5bc8.js +0 -93
- package/dist/cjs/de-eb7d5bc8.js.map +0 -1
- package/dist/cjs/debounce-47d0a428.js +0 -498
- package/dist/cjs/debounce-47d0a428.js.map +0 -1
- package/dist/cjs/dom-8a99a8f4.js +0 -1084
- package/dist/cjs/dom-8a99a8f4.js.map +0 -1
- package/dist/cjs/el-efe35c19.js +0 -68
- package/dist/cjs/el-efe35c19.js.map +0 -1
- package/dist/cjs/en-au-f06421f5.js +0 -68
- package/dist/cjs/en-au-f06421f5.js.map +0 -1
- package/dist/cjs/en-ca-8eaf5515.js +0 -67
- package/dist/cjs/en-ca-8eaf5515.js.map +0 -1
- package/dist/cjs/en-gb-96b411c0.js +0 -71
- package/dist/cjs/en-gb-96b411c0.js.map +0 -1
- package/dist/cjs/es-3d63f266.js +0 -68
- package/dist/cjs/es-3d63f266.js.map +0 -1
- package/dist/cjs/es-mx-d81c53b9.js +0 -67
- package/dist/cjs/es-mx-d81c53b9.js.map +0 -1
- package/dist/cjs/et-ec23d267.js +0 -94
- package/dist/cjs/et-ec23d267.js.map +0 -1
- package/dist/cjs/fi-5276d29d.js +0 -117
- package/dist/cjs/fi-5276d29d.js.map +0 -1
- package/dist/cjs/filter-a1f78854.js +0 -762
- package/dist/cjs/filter-a1f78854.js.map +0 -1
- package/dist/cjs/floating-ui-d49e931c.js +0 -1965
- package/dist/cjs/floating-ui-d49e931c.js.map +0 -1
- package/dist/cjs/focusTrapComponent-bab8f4fe.js +0 -1020
- package/dist/cjs/focusTrapComponent-bab8f4fe.js.map +0 -1
- package/dist/cjs/form-4234381c.js +0 -333
- package/dist/cjs/form-4234381c.js.map +0 -1
- package/dist/cjs/fr-2b67725c.js +0 -70
- package/dist/cjs/fr-2b67725c.js.map +0 -1
- package/dist/cjs/fr-ch-a5ad7198.js +0 -68
- package/dist/cjs/fr-ch-a5ad7198.js.map +0 -1
- package/dist/cjs/guid-f89b696d.js +0 -23
- package/dist/cjs/guid-f89b696d.js.map +0 -1
- package/dist/cjs/he-9f0588ed.js +0 -107
- package/dist/cjs/he-9f0588ed.js.map +0 -1
- package/dist/cjs/hi-0c6c9c73.js +0 -67
- package/dist/cjs/hi-0c6c9c73.js.map +0 -1
- package/dist/cjs/hr-e9527c1e.js +0 -82
- package/dist/cjs/hr-e9527c1e.js.map +0 -1
- package/dist/cjs/hu-de46526b.js +0 -90
- package/dist/cjs/hu-de46526b.js.map +0 -1
- package/dist/cjs/id-33482348.js +0 -68
- package/dist/cjs/id-33482348.js.map +0 -1
- package/dist/cjs/index-0adb367e.js +0 -208
- package/dist/cjs/index-0adb367e.js.map +0 -1
- package/dist/cjs/index-20993df4.js +0 -75
- package/dist/cjs/index-20993df4.js.map +0 -1
- package/dist/cjs/index-315596ec.js +0 -2655
- package/dist/cjs/index-315596ec.js.map +0 -1
- package/dist/cjs/interactive-1c587add.js +0 -141
- package/dist/cjs/interactive-1c587add.js.map +0 -1
- package/dist/cjs/it-8337d997.js +0 -68
- package/dist/cjs/it-8337d997.js.map +0 -1
- package/dist/cjs/it-ch-723d4507.js +0 -68
- package/dist/cjs/it-ch-723d4507.js.map +0 -1
- package/dist/cjs/ja-ebafccaf.js +0 -74
- package/dist/cjs/ja-ebafccaf.js.map +0 -1
- package/dist/cjs/key-ce27460f.js +0 -16
- package/dist/cjs/key-ce27460f.js.map +0 -1
- package/dist/cjs/ko-d9a9ed6f.js +0 -74
- package/dist/cjs/ko-d9a9ed6f.js.map +0 -1
- package/dist/cjs/label-c0757b28.js +0 -183
- package/dist/cjs/label-c0757b28.js.map +0 -1
- package/dist/cjs/loadable-583ec821.js +0 -91
- package/dist/cjs/loadable-583ec821.js.map +0 -1
- package/dist/cjs/locale-62430b46.js +0 -576
- package/dist/cjs/locale-62430b46.js.map +0 -1
- package/dist/cjs/lt-547ce7f8.js +0 -99
- package/dist/cjs/lt-547ce7f8.js.map +0 -1
- package/dist/cjs/lv-e3ab0dd4.js +0 -68
- package/dist/cjs/lv-e3ab0dd4.js.map +0 -1
- package/dist/cjs/math-687d3bf5.js +0 -57
- package/dist/cjs/math-687d3bf5.js.map +0 -1
- package/dist/cjs/mk-ac39e9ba.js +0 -68
- package/dist/cjs/mk-ac39e9ba.js.map +0 -1
- package/dist/cjs/nb-3862ed2b.js +0 -69
- package/dist/cjs/nb-3862ed2b.js.map +0 -1
- package/dist/cjs/nl-f26a536c.js +0 -69
- package/dist/cjs/nl-f26a536c.js.map +0 -1
- package/dist/cjs/observers-bd89a170.js +0 -50
- package/dist/cjs/observers-bd89a170.js.map +0 -1
- package/dist/cjs/openCloseComponent-7009664d.js +0 -89
- package/dist/cjs/openCloseComponent-7009664d.js.map +0 -1
- package/dist/cjs/pl-5604e39c.js +0 -116
- package/dist/cjs/pl-5604e39c.js.map +0 -1
- package/dist/cjs/pt-a96a7649.js +0 -69
- package/dist/cjs/pt-a96a7649.js.map +0 -1
- package/dist/cjs/pt-br-609918e6.js +0 -67
- package/dist/cjs/pt-br-609918e6.js.map +0 -1
- package/dist/cjs/resources-666c6581.js +0 -29
- package/dist/cjs/resources-666c6581.js.map +0 -1
- package/dist/cjs/resources-669bed34.js +0 -17
- package/dist/cjs/resources-669bed34.js.map +0 -1
- package/dist/cjs/resources-6e141ab6.js +0 -26
- package/dist/cjs/resources-6e141ab6.js.map +0 -1
- package/dist/cjs/resources-832813b8.js +0 -23
- package/dist/cjs/resources-832813b8.js.map +0 -1
- package/dist/cjs/resources-a1c3da44.js +0 -26
- package/dist/cjs/resources-a1c3da44.js.map +0 -1
- package/dist/cjs/resources-e461c8a7.js +0 -49
- package/dist/cjs/resources-e461c8a7.js.map +0 -1
- package/dist/cjs/resources-febc620c.js +0 -414
- package/dist/cjs/resources-febc620c.js.map +0 -1
- package/dist/cjs/ro-725fe836.js +0 -68
- package/dist/cjs/ro-725fe836.js.map +0 -1
- package/dist/cjs/ru-a37f21cf.js +0 -128
- package/dist/cjs/ru-a37f21cf.js.map +0 -1
- package/dist/cjs/sk-e114c05c.js +0 -150
- package/dist/cjs/sk-e114c05c.js.map +0 -1
- package/dist/cjs/sl-283645a8.js +0 -170
- package/dist/cjs/sl-283645a8.js.map +0 -1
- package/dist/cjs/sortableComponent-22945d97.js +0 -2739
- package/dist/cjs/sortableComponent-22945d97.js.map +0 -1
- package/dist/cjs/sr-d3eabb60.js +0 -103
- package/dist/cjs/sr-d3eabb60.js.map +0 -1
- package/dist/cjs/sv-e46ad4d6.js +0 -73
- package/dist/cjs/sv-e46ad4d6.js.map +0 -1
- package/dist/cjs/t9n-2471b90f.js +0 -97
- package/dist/cjs/t9n-2471b90f.js.map +0 -1
- package/dist/cjs/th-4253024f.js +0 -67
- package/dist/cjs/th-4253024f.js.map +0 -1
- package/dist/cjs/throttle-03ef5077.js +0 -77
- package/dist/cjs/throttle-03ef5077.js.map +0 -1
- package/dist/cjs/tr-f5fb29cd.js +0 -68
- package/dist/cjs/tr-f5fb29cd.js.map +0 -1
- package/dist/cjs/uk-97721767.js +0 -106
- package/dist/cjs/uk-97721767.js.map +0 -1
- package/dist/cjs/utils-81b10422.js +0 -218
- package/dist/cjs/utils-81b10422.js.map +0 -1
- package/dist/cjs/utils-ab09fa69.js +0 -307
- package/dist/cjs/utils-ab09fa69.js.map +0 -1
- package/dist/cjs/vi-2e04fc1f.js +0 -72
- package/dist/cjs/vi-2e04fc1f.js.map +0 -1
- package/dist/cjs/zh-cn-d75e1b83.js +0 -96
- package/dist/cjs/zh-cn-d75e1b83.js.map +0 -1
- package/dist/cjs/zh-hk-603ff2dc.js +0 -73
- package/dist/cjs/zh-hk-603ff2dc.js.map +0 -1
- package/dist/cjs/zh-tw-f769c4a6.js +0 -94
- package/dist/cjs/zh-tw-f769c4a6.js.map +0 -1
- package/dist/esm/ExpandToggle-3810effb.js +0 -102
- package/dist/esm/ExpandToggle-3810effb.js.map +0 -1
- package/dist/esm/FloatingArrow-e53a2129.js +0 -47
- package/dist/esm/FloatingArrow-e53a2129.js.map +0 -1
- package/dist/esm/Heading-11b44426.js +0 -19
- package/dist/esm/Heading-11b44426.js.map +0 -1
- package/dist/esm/Validation-67e15e5c.js +0 -16
- package/dist/esm/Validation-67e15e5c.js.map +0 -1
- package/dist/esm/app-globals-4152c05e.js +0 -59
- package/dist/esm/app-globals-4152c05e.js.map +0 -1
- package/dist/esm/ar-55bf6805.js +0 -104
- package/dist/esm/ar-55bf6805.js.map +0 -1
- package/dist/esm/array-1c5e5140.js +0 -12
- package/dist/esm/array-1c5e5140.js.map +0 -1
- package/dist/esm/bg-dd3894db.js +0 -82
- package/dist/esm/bg-dd3894db.js.map +0 -1
- package/dist/esm/browser-df09b947.js +0 -18
- package/dist/esm/browser-df09b947.js.map +0 -1
- package/dist/esm/bs-ea2c718f.js +0 -51
- package/dist/esm/bs-ea2c718f.js.map +0 -1
- package/dist/esm/ca-e09992d8.js +0 -71
- package/dist/esm/ca-e09992d8.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js.map +0 -1
- package/dist/esm/component-0539431e.js +0 -27
- package/dist/esm/component-0539431e.js.map +0 -1
- package/dist/esm/conditionalSlot-5f792007.js +0 -57
- package/dist/esm/conditionalSlot-5f792007.js.map +0 -1
- package/dist/esm/cs-a0e885ec.js +0 -147
- package/dist/esm/cs-a0e885ec.js.map +0 -1
- package/dist/esm/da-a4ec6339.js +0 -66
- package/dist/esm/da-a4ec6339.js.map +0 -1
- package/dist/esm/de-6eb42a98.js +0 -91
- package/dist/esm/de-6eb42a98.js.map +0 -1
- package/dist/esm/de-at-80e16904.js +0 -90
- package/dist/esm/de-at-80e16904.js.map +0 -1
- package/dist/esm/de-ch-c9f3a5f4.js +0 -90
- package/dist/esm/de-ch-c9f3a5f4.js.map +0 -1
- package/dist/esm/debounce-6853b96e.js +0 -489
- package/dist/esm/debounce-6853b96e.js.map +0 -1
- package/dist/esm/dom-e5f64712.js +0 -1053
- package/dist/esm/dom-e5f64712.js.map +0 -1
- package/dist/esm/el-c5b18675.js +0 -66
- package/dist/esm/el-c5b18675.js.map +0 -1
- package/dist/esm/en-au-8f1484e5.js +0 -66
- package/dist/esm/en-au-8f1484e5.js.map +0 -1
- package/dist/esm/en-ca-fce90580.js +0 -65
- package/dist/esm/en-ca-fce90580.js.map +0 -1
- package/dist/esm/en-gb-2b14b424.js +0 -69
- package/dist/esm/en-gb-2b14b424.js.map +0 -1
- package/dist/esm/es-403a9263.js +0 -66
- package/dist/esm/es-403a9263.js.map +0 -1
- package/dist/esm/es-mx-5b6fc56e.js +0 -65
- package/dist/esm/es-mx-5b6fc56e.js.map +0 -1
- package/dist/esm/et-030ba87f.js +0 -92
- package/dist/esm/et-030ba87f.js.map +0 -1
- package/dist/esm/fi-b0ab1580.js +0 -115
- package/dist/esm/fi-b0ab1580.js.map +0 -1
- package/dist/esm/filter-4633a870.js +0 -760
- package/dist/esm/filter-4633a870.js.map +0 -1
- package/dist/esm/floating-ui-101f0321.js +0 -1957
- package/dist/esm/floating-ui-101f0321.js.map +0 -1
- package/dist/esm/focusTrapComponent-d262d8ea.js +0 -1015
- package/dist/esm/focusTrapComponent-d262d8ea.js.map +0 -1
- package/dist/esm/form-e6d220a2.js +0 -324
- package/dist/esm/form-e6d220a2.js.map +0 -1
- package/dist/esm/fr-1a492056.js +0 -68
- package/dist/esm/fr-1a492056.js.map +0 -1
- package/dist/esm/fr-ch-8c47e261.js +0 -66
- package/dist/esm/fr-ch-8c47e261.js.map +0 -1
- package/dist/esm/guid-4f87cd10.js +0 -21
- package/dist/esm/guid-4f87cd10.js.map +0 -1
- package/dist/esm/he-b791bfeb.js +0 -105
- package/dist/esm/he-b791bfeb.js.map +0 -1
- package/dist/esm/hi-f90e5520.js +0 -65
- package/dist/esm/hi-f90e5520.js.map +0 -1
- package/dist/esm/hr-11494043.js +0 -80
- package/dist/esm/hr-11494043.js.map +0 -1
- package/dist/esm/hu-36dfc8eb.js +0 -88
- package/dist/esm/hu-36dfc8eb.js.map +0 -1
- package/dist/esm/id-ae4b2c05.js +0 -66
- package/dist/esm/id-ae4b2c05.js.map +0 -1
- package/dist/esm/index-54140c30.js +0 -2620
- package/dist/esm/index-54140c30.js.map +0 -1
- package/dist/esm/index-b5cf267b.js +0 -206
- package/dist/esm/index-b5cf267b.js.map +0 -1
- package/dist/esm/index-d9046c8f.js +0 -73
- package/dist/esm/index-d9046c8f.js.map +0 -1
- package/dist/esm/interactive-9254dd1a.js +0 -136
- package/dist/esm/interactive-9254dd1a.js.map +0 -1
- package/dist/esm/it-b4d84efc.js +0 -66
- package/dist/esm/it-b4d84efc.js.map +0 -1
- package/dist/esm/it-ch-0bba1334.js +0 -66
- package/dist/esm/it-ch-0bba1334.js.map +0 -1
- package/dist/esm/ja-cf5b848e.js +0 -72
- package/dist/esm/ja-cf5b848e.js.map +0 -1
- package/dist/esm/key-c5a2dce5.js +0 -13
- package/dist/esm/key-c5a2dce5.js.map +0 -1
- package/dist/esm/ko-18ae91c3.js +0 -72
- package/dist/esm/ko-18ae91c3.js.map +0 -1
- package/dist/esm/label-4f7be475.js +0 -176
- package/dist/esm/label-4f7be475.js.map +0 -1
- package/dist/esm/loadable-703938ac.js +0 -86
- package/dist/esm/loadable-703938ac.js.map +0 -1
- package/dist/esm/locale-b3dd17dc.js +0 -563
- package/dist/esm/locale-b3dd17dc.js.map +0 -1
- package/dist/esm/lt-566c53d5.js +0 -97
- package/dist/esm/lt-566c53d5.js.map +0 -1
- package/dist/esm/lv-2d686712.js +0 -66
- package/dist/esm/lv-2d686712.js.map +0 -1
- package/dist/esm/math-9204a56d.js +0 -51
- package/dist/esm/math-9204a56d.js.map +0 -1
- package/dist/esm/mk-0261f9fe.js +0 -66
- package/dist/esm/mk-0261f9fe.js.map +0 -1
- package/dist/esm/nb-5dcf8d83.js +0 -67
- package/dist/esm/nb-5dcf8d83.js.map +0 -1
- package/dist/esm/nl-bc7f280a.js +0 -67
- package/dist/esm/nl-bc7f280a.js.map +0 -1
- package/dist/esm/observers-339a84bb.js +0 -48
- package/dist/esm/observers-339a84bb.js.map +0 -1
- package/dist/esm/openCloseComponent-de30d208.js +0 -87
- package/dist/esm/openCloseComponent-de30d208.js.map +0 -1
- package/dist/esm/pl-516c0130.js +0 -114
- package/dist/esm/pl-516c0130.js.map +0 -1
- package/dist/esm/pt-38801a89.js +0 -67
- package/dist/esm/pt-38801a89.js.map +0 -1
- package/dist/esm/pt-br-58c13c23.js +0 -65
- package/dist/esm/pt-br-58c13c23.js.map +0 -1
- package/dist/esm/resources-3f0f4ee9.js +0 -387
- package/dist/esm/resources-3f0f4ee9.js.map +0 -1
- package/dist/esm/resources-47bad8e2.js +0 -45
- package/dist/esm/resources-47bad8e2.js.map +0 -1
- package/dist/esm/resources-605689f9.js +0 -23
- package/dist/esm/resources-605689f9.js.map +0 -1
- package/dist/esm/resources-c5611de1.js +0 -25
- package/dist/esm/resources-c5611de1.js.map +0 -1
- package/dist/esm/resources-cea160f3.js +0 -19
- package/dist/esm/resources-cea160f3.js.map +0 -1
- package/dist/esm/resources-da6536ba.js +0 -17
- package/dist/esm/resources-da6536ba.js.map +0 -1
- package/dist/esm/resources-e92e3f84.js +0 -21
- package/dist/esm/resources-e92e3f84.js.map +0 -1
- package/dist/esm/ro-7d401b18.js +0 -66
- package/dist/esm/ro-7d401b18.js.map +0 -1
- package/dist/esm/ru-f76a0c11.js +0 -126
- package/dist/esm/ru-f76a0c11.js.map +0 -1
- package/dist/esm/sk-2e7ba2e0.js +0 -148
- package/dist/esm/sk-2e7ba2e0.js.map +0 -1
- package/dist/esm/sl-baddf04f.js +0 -168
- package/dist/esm/sl-baddf04f.js.map +0 -1
- package/dist/esm/sortableComponent-a920089c.js +0 -2735
- package/dist/esm/sortableComponent-a920089c.js.map +0 -1
- package/dist/esm/sr-32f8aa4d.js +0 -101
- package/dist/esm/sr-32f8aa4d.js.map +0 -1
- package/dist/esm/sv-1c5d7c6d.js +0 -71
- package/dist/esm/sv-1c5d7c6d.js.map +0 -1
- package/dist/esm/t9n-416f93ba.js +0 -92
- package/dist/esm/t9n-416f93ba.js.map +0 -1
- package/dist/esm/th-fa1bc6b6.js +0 -65
- package/dist/esm/th-fa1bc6b6.js.map +0 -1
- package/dist/esm/throttle-c180a249.js +0 -75
- package/dist/esm/throttle-c180a249.js.map +0 -1
- package/dist/esm/tr-2775ebd9.js +0 -66
- package/dist/esm/tr-2775ebd9.js.map +0 -1
- package/dist/esm/uk-731884a9.js +0 -104
- package/dist/esm/uk-731884a9.js.map +0 -1
- package/dist/esm/utils-35e399d8.js +0 -200
- package/dist/esm/utils-35e399d8.js.map +0 -1
- package/dist/esm/utils-7c1d6125.js +0 -289
- package/dist/esm/utils-7c1d6125.js.map +0 -1
- package/dist/esm/vi-86d98c11.js +0 -70
- package/dist/esm/vi-86d98c11.js.map +0 -1
- package/dist/esm/zh-cn-d2fef501.js +0 -94
- package/dist/esm/zh-cn-d2fef501.js.map +0 -1
- package/dist/esm/zh-hk-7f540d06.js +0 -71
- package/dist/esm/zh-hk-7f540d06.js.map +0 -1
- package/dist/esm/zh-tw-0b96e532.js +0 -92
- package/dist/esm/zh-tw-0b96e532.js.map +0 -1
- /package/dist/calcite/{p-d746164d.js.map → p-02361b33.js.map} +0 -0
- /package/dist/calcite/{p-e4298c9a.entry.js.map → p-024cb323.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6e4ab3a.js.map → p-07e62779.js.map} +0 -0
- /package/dist/calcite/{p-49586b62.js.map → p-0941117d.js.map} +0 -0
- /package/dist/calcite/{p-85355ac3.js.map → p-0b51b1db.js.map} +0 -0
- /package/dist/calcite/{p-2b1358dd.entry.js.map → p-0cadfe98.entry.js.map} +0 -0
- /package/dist/calcite/{p-a5ff208a.js.map → p-0cc8df58.js.map} +0 -0
- /package/dist/calcite/{p-319afb8e.js.map → p-0ebd4b17.js.map} +0 -0
- /package/dist/calcite/{p-d5d23c62.js.map → p-0f2d8590.js.map} +0 -0
- /package/dist/calcite/{p-6ca4af5b.js.map → p-0f8fb326.js.map} +0 -0
- /package/dist/calcite/{p-3a38726f.js.map → p-1242f873.js.map} +0 -0
- /package/dist/calcite/{p-9f076d48.js.map → p-13fa567b.js.map} +0 -0
- /package/dist/calcite/{p-e2c60ff0.entry.js.map → p-16f50138.entry.js.map} +0 -0
- /package/dist/calcite/{p-566745a9.js.map → p-176e975c.js.map} +0 -0
- /package/dist/calcite/{p-dc8fb8e4.entry.js.map → p-17da1c45.entry.js.map} +0 -0
- /package/dist/calcite/{p-a63dbb17.entry.js.map → p-18f1c69c.entry.js.map} +0 -0
- /package/dist/calcite/{p-c1905124.js.map → p-196291ea.js.map} +0 -0
- /package/dist/calcite/{p-9b4aed37.js.map → p-19a6b9e5.js.map} +0 -0
- /package/dist/calcite/{p-5886e529.entry.js.map → p-1f5650ff.entry.js.map} +0 -0
- /package/dist/calcite/{p-f148f25b.js.map → p-1f6bdf48.js.map} +0 -0
- /package/dist/calcite/{p-401ec473.entry.js.map → p-2042f5c1.entry.js.map} +0 -0
- /package/dist/calcite/{p-48b5b678.js.map → p-20f7ddab.js.map} +0 -0
- /package/dist/calcite/{p-812d4433.js.map → p-224068ea.js.map} +0 -0
- /package/dist/calcite/{p-20db39dc.js.map → p-25ac00cf.js.map} +0 -0
- /package/dist/calcite/{p-c233af9a.js.map → p-26710f27.js.map} +0 -0
- /package/dist/calcite/{p-0944eb43.entry.js.map → p-27756b63.entry.js.map} +0 -0
- /package/dist/calcite/{p-72484322.js.map → p-280124c8.js.map} +0 -0
- /package/dist/calcite/{p-34a71bdb.js.map → p-2851e7cd.js.map} +0 -0
- /package/dist/calcite/{p-cf6c103a.js.map → p-2c5a5185.js.map} +0 -0
- /package/dist/calcite/{p-fe4db0fa.js.map → p-2f34d814.js.map} +0 -0
- /package/dist/calcite/{p-351ef8bc.js.map → p-306ed81a.js.map} +0 -0
- /package/dist/calcite/{p-92816b80.entry.js.map → p-35f506ba.entry.js.map} +0 -0
- /package/dist/calcite/{p-88b0202c.js.map → p-371b8e8d.js.map} +0 -0
- /package/dist/calcite/{p-fa8aa680.js.map → p-379992a3.js.map} +0 -0
- /package/dist/calcite/{p-5723d5de.entry.js.map → p-397e731f.entry.js.map} +0 -0
- /package/dist/calcite/{p-3328f5ba.js.map → p-3c2d86e0.js.map} +0 -0
- /package/dist/calcite/{p-11d4c82a.js.map → p-3e2a8b52.js.map} +0 -0
- /package/dist/calcite/{p-00b33d27.js.map → p-3e6adee1.js.map} +0 -0
- /package/dist/calcite/{p-58d1332e.js.map → p-3fd50ebf.js.map} +0 -0
- /package/dist/calcite/{p-3e9ca753.js.map → p-45770a69.js.map} +0 -0
- /package/dist/calcite/{p-ba4c20f7.js.map → p-4582df61.js.map} +0 -0
- /package/dist/calcite/{p-3341a34a.js.map → p-48aa56fb.js.map} +0 -0
- /package/dist/calcite/{p-41c6c9db.entry.js.map → p-4b67bc10.entry.js.map} +0 -0
- /package/dist/calcite/{p-bf3d56f4.entry.js.map → p-4d06fe95.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1c541ce.js.map → p-4fc56101.js.map} +0 -0
- /package/dist/calcite/{p-39e3cd7c.js.map → p-518b8faf.js.map} +0 -0
- /package/dist/calcite/{p-a6739f55.js.map → p-52ad3dad.js.map} +0 -0
- /package/dist/calcite/{p-128a6263.js.map → p-5865ce45.js.map} +0 -0
- /package/dist/calcite/{p-041acb71.js.map → p-5b7f30b7.js.map} +0 -0
- /package/dist/calcite/{p-ee9909cb.entry.js.map → p-5caf86cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-471d1acf.js.map → p-60452501.js.map} +0 -0
- /package/dist/calcite/{p-d3aa19a3.js.map → p-625d1664.js.map} +0 -0
- /package/dist/calcite/{p-9bd3b0b6.js.map → p-68420d26.js.map} +0 -0
- /package/dist/calcite/{p-abbb8e20.js.map → p-6a58d3fb.js.map} +0 -0
- /package/dist/calcite/{p-65704e9c.js.map → p-6be8d1e0.js.map} +0 -0
- /package/dist/calcite/{p-50fae575.js.map → p-6c4b1d9d.js.map} +0 -0
- /package/dist/calcite/{p-4598dc66.entry.js.map → p-6c981373.entry.js.map} +0 -0
- /package/dist/calcite/{p-26f7f362.js.map → p-6d6b972e.js.map} +0 -0
- /package/dist/calcite/{p-b4957e5a.js.map → p-6dab2b76.js.map} +0 -0
- /package/dist/calcite/{p-4e27599d.js.map → p-74a4aaf4.js.map} +0 -0
- /package/dist/calcite/{p-6b48fd8f.js.map → p-823e8612.js.map} +0 -0
- /package/dist/calcite/{p-1e1fed0c.entry.js.map → p-82ae5f1e.entry.js.map} +0 -0
- /package/dist/calcite/{p-7dfa77d1.js.map → p-8365ddd0.js.map} +0 -0
- /package/dist/calcite/{p-b06765b5.js.map → p-856f22d8.js.map} +0 -0
- /package/dist/calcite/{p-f42f46c0.js.map → p-878c5964.js.map} +0 -0
- /package/dist/calcite/{p-5b0d5824.js.map → p-892cc6f5.js.map} +0 -0
- /package/dist/calcite/{p-c5a8df34.js.map → p-89cee0d6.js.map} +0 -0
- /package/dist/calcite/{p-9223fe05.js.map → p-8d268a85.js.map} +0 -0
- /package/dist/calcite/{p-582b93a0.js.map → p-8d891c30.js.map} +0 -0
- /package/dist/calcite/{p-7d4b1849.entry.js.map → p-96062133.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1aeb283.entry.js.map → p-9780260b.entry.js.map} +0 -0
- /package/dist/calcite/{p-0f7d03d1.js.map → p-97eb24b0.js.map} +0 -0
- /package/dist/calcite/{p-e6f9f5c1.js.map → p-989694e4.js.map} +0 -0
- /package/dist/calcite/{p-9b565b18.js.map → p-99ff99e5.js.map} +0 -0
- /package/dist/calcite/{p-aa0e172f.js.map → p-9b2f6f6f.js.map} +0 -0
- /package/dist/calcite/{p-a6687bbe.js.map → p-9b330b52.js.map} +0 -0
- /package/dist/calcite/{p-7c6b37cb.js.map → p-9b840210.js.map} +0 -0
- /package/dist/calcite/{p-958e9564.entry.js.map → p-9bbc1f60.entry.js.map} +0 -0
- /package/dist/calcite/{p-15ec4f27.js.map → p-9d0ed456.js.map} +0 -0
- /package/dist/calcite/{p-9395c02e.js.map → p-a500e817.js.map} +0 -0
- /package/dist/calcite/{p-39613b4f.js.map → p-a652a193.js.map} +0 -0
- /package/dist/calcite/{p-10acb648.js.map → p-a8957238.js.map} +0 -0
- /package/dist/calcite/{p-dc0027ba.entry.js.map → p-aa30f485.entry.js.map} +0 -0
- /package/dist/calcite/{p-7c9b1cff.js.map → p-af0c5053.js.map} +0 -0
- /package/dist/calcite/{p-88eda241.js.map → p-b073109d.js.map} +0 -0
- /package/dist/calcite/{p-619f6b40.entry.js.map → p-b40cacf8.entry.js.map} +0 -0
- /package/dist/calcite/{p-f60dd8b1.js.map → p-b88c2de4.js.map} +0 -0
- /package/dist/calcite/{p-30bc9f81.entry.js.map → p-b94532ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-b04460b0.js.map → p-b98c4ea4.js.map} +0 -0
- /package/dist/calcite/{p-15fd0b18.js.map → p-ba36cc41.js.map} +0 -0
- /package/dist/calcite/{p-55202d8e.entry.js.map → p-ba413615.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4186f47.js.map → p-bab8bb76.js.map} +0 -0
- /package/dist/calcite/{p-0d04e387.js.map → p-bbee4a2f.js.map} +0 -0
- /package/dist/calcite/{p-7d650111.js.map → p-bcbbc0e3.js.map} +0 -0
- /package/dist/calcite/{p-b3e72f62.js.map → p-c11f5e43.js.map} +0 -0
- /package/dist/calcite/{p-7bd1de8b.js.map → p-c3c2c02e.js.map} +0 -0
- /package/dist/calcite/{p-2e3e6934.js.map → p-c777d11d.js.map} +0 -0
- /package/dist/calcite/{p-6635e3a5.js.map → p-c7ad4314.js.map} +0 -0
- /package/dist/calcite/{p-385fabe6.entry.js.map → p-c8aae0de.entry.js.map} +0 -0
- /package/dist/calcite/{p-26cd3c63.js.map → p-c8c74e1e.js.map} +0 -0
- /package/dist/calcite/{p-082040be.js.map → p-c8cc6b4c.js.map} +0 -0
- /package/dist/calcite/{p-4ca318c0.entry.js.map → p-d20bc312.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f5e15af.entry.js.map → p-d622ef4d.entry.js.map} +0 -0
- /package/dist/calcite/{p-21d84e50.js.map → p-df9e1067.js.map} +0 -0
- /package/dist/calcite/{p-7bcfca23.js.map → p-e2597d07.js.map} +0 -0
- /package/dist/calcite/{p-99a20f25.entry.js.map → p-e2fea753.entry.js.map} +0 -0
- /package/dist/calcite/{p-541ed8e8.js.map → p-e47c6e91.js.map} +0 -0
- /package/dist/calcite/{p-aff88591.js.map → p-e9580c79.js.map} +0 -0
- /package/dist/calcite/{p-9e347276.js.map → p-eadcfbb5.js.map} +0 -0
- /package/dist/calcite/{p-341f5dd5.js.map → p-ee8dfdbd.js.map} +0 -0
- /package/dist/calcite/{p-8dcbfce8.js.map → p-f07f2b9f.js.map} +0 -0
- /package/dist/calcite/{p-73e108be.js.map → p-f132a26b.js.map} +0 -0
- /package/dist/calcite/{p-e4736736.js.map → p-f1db5593.js.map} +0 -0
- /package/dist/calcite/{p-a0ca104b.js.map → p-f511cecc.js.map} +0 -0
- /package/dist/calcite/{p-9b44500a.entry.js.map → p-f5a8b7f7.entry.js.map} +0 -0
- /package/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,IAAI,CAAC,aAAa,EAC3B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,SAAS,GAAG,CAAC;;YAEvC,GAAG,EAAE,CAAC,QAAQ,MAAM,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,IAE7C,0BAAiB,MAAM,EAAC,KAAK,EAAC,WAAW,EAAC,OAAO,EAAC,WAAW,IAC3D,YAAM,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,GAAI,CACvB,EACN,eAAQ,CACJ,EACN,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACnB,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=calcite-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-checkbox-size: Specifies the component's height and width.\n */\n\n:host([scale=\"s\"]) {\n --calcite-checkbox-size: theme(\"spacing.3\");\n}\n:host([scale=\"m\"]) {\n --calcite-checkbox-size: theme(\"fontSize.n1\");\n}\n:host([scale=\"l\"]) {\n --calcite-checkbox-size: theme(\"spacing.4\");\n}\n\n:host {\n @apply relative\n inline-flex\n cursor-pointer\n select-none;\n -webkit-tap-highlight-color: transparent;\n\n .check-svg,\n .toggle {\n inline-size: var(--calcite-checkbox-size);\n block-size: var(--calcite-checkbox-size);\n }\n\n .check-svg {\n @apply bg-foreground-1\n pointer-events-none\n box-border\n block\n overflow-hidden\n fill-current\n stroke-current\n stroke-1\n transition-default;\n box-shadow: inset 0 0 0 1px var(--calcite-color-border-input);\n color: theme(\"backgroundColor.background\");\n }\n}\n\n:host([status=\"invalid\"]:not([checked])) {\n .check-svg {\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger);\n }\n .toggle:focus {\n @apply focus-outset-danger;\n }\n}\n\n:host([checked]),\n:host([indeterminate]) {\n .check-svg {\n @apply bg-brand;\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand);\n }\n}\n:host([hovered]) .toggle,\n:host .toggle:hover {\n .check-svg {\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n}\n\n.toggle {\n @apply focus-base relative;\n\n &:active,\n &:focus,\n &:focus-visible {\n @apply focus-outset;\n }\n\n &::after {\n content: \"\";\n inset-block-start: 50%;\n inset-inline-start: 50%;\n min-block-size: theme(\"width.6\");\n min-inline-size: theme(\"width.6\");\n position: absolute;\n transform: translateX(-50%) translateY(-50%);\n }\n}\n\n@include disabled();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport {\n CheckableFormComponent,\n connectForm,\n disconnectForm,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Scale, Status } from \"../interfaces\";\n\n@Component({\n tag: \"calcite-checkbox\",\n styleUrl: \"checkbox.scss\",\n shadow: true,\n})\nexport class Checkbox\n implements LabelableComponent, CheckableFormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\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 })\n form: string;\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true, mutable: true }) guid: string;\n\n /**\n * The hovered state of the checkbox.\n *\n * @internal\n */\n @Prop({ reflect: true }) hovered = false;\n\n /**\n * When `true`, the component is initially indeterminate, which is independent from its `checked` value.\n *\n * The state is visual only, and can look different across browsers.\n *\n * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)\n */\n @Prop({ reflect: true, mutable: true }) indeterminate = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\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`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\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 /** The component's value. */\n @Prop() value: any;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCheckboxElement;\n\n readonly checkedPath = \"M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z\";\n\n readonly indeterminatePath = \"M13 8v1H3V8z\";\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultChecked: boolean;\n\n defaultValue: Checkbox[\"checked\"];\n\n toggleEl: HTMLDivElement;\n\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.toggleEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n input.type = \"checkbox\";\n }\n\n getPath = (): string =>\n this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : \"\";\n\n toggle = (): void => {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.setFocus();\n this.indeterminate = false;\n this.calciteCheckboxChange.emit();\n }\n };\n\n keyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n this.toggle();\n event.preventDefault();\n }\n };\n\n clickHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component is blurred.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxBlur: EventEmitter<boolean>;\n\n /** Fires when the component's `checked` status changes. */\n @Event({ cancelable: false }) calciteCheckboxChange: EventEmitter<void>;\n\n /**\n * Fires when the component is focused.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxFocus: EventEmitter<boolean>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n onToggleBlur = (): void => {\n this.calciteInternalCheckboxBlur.emit(false);\n };\n\n onToggleFocus = (): void => {\n this.calciteInternalCheckboxFocus.emit(true);\n };\n\n onLabelClick = (): void => {\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.guid = this.el.id || `calcite-checkbox-${guid()}`;\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host onClick={this.clickHandler} onKeyDown={this.keyDownHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={toAriaBoolean(this.checked)}\n aria-label={getLabelText(this)}\n class=\"toggle\"\n onBlur={this.onToggleBlur}\n onFocus={this.onToggleFocus}\n role=\"checkbox\"\n tabIndex={this.disabled ? undefined : 0}\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={(toggleEl) => (this.toggleEl = toggleEl)}\n >\n <svg aria-hidden=\"true\" class=\"check-svg\" viewBox=\"0 0 16 16\">\n <path d={this.getPath()} />\n </svg>\n <slot />\n </div>\n <HiddenFormInputSlot component={this} />\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"checkbox.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,6wFAA6wF;;MCyCpxF,QAAQ;;;;;;;;QAwEV,gBAAW,GAAG,0DAA0D,CAAC;QAEzE,sBAAiB,GAAG,cAAc,CAAC;QAoC5C,YAAO,GAAG,MACR,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QAErF,WAAM,GAAG;YACP,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAClB,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;gBAC7B,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAChB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;gBAC3B,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;aACnC;SACF,CAAC;QAEF,mBAAc,GAAG,CAAC,KAAoB;YACpC,IAAI,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;gBAC9B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACd,KAAK,CAAC,cAAc,EAAE,CAAC;aAC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AAC,CAAC;KAC7B;;;;;;IAQD,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,IAC9D,EAAC,oBAAoB,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAC3C,2BACgB,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,gBAC7B,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAC,QAAQ,EACd,MAAM,EAAE,IAAI,CAAC,YAAY,EACzB,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,SAAS,GAAG,CAAC;;YAEvC,GAAG,EAAE,CAAC,QAAQ,MAAM,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,IAE7C,0BAAiB,MAAM,EAAC,KAAK,EAAC,WAAW,EAAC,OAAO,EAAC,WAAW,IAC3D,YAAM,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,GAAI,CACvB,EACN,eAAQ,CACJ,EACN,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACnB,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=calcite-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-checkbox-size: Specifies the component's height and width.\n */\n\n:host([scale=\"s\"]) {\n --calcite-checkbox-size: theme(\"spacing.3\");\n}\n:host([scale=\"m\"]) {\n --calcite-checkbox-size: theme(\"fontSize.n1\");\n}\n:host([scale=\"l\"]) {\n --calcite-checkbox-size: theme(\"spacing.4\");\n}\n\n:host {\n @apply relative\n inline-flex\n cursor-pointer\n select-none;\n -webkit-tap-highlight-color: transparent;\n\n .check-svg,\n .toggle {\n inline-size: var(--calcite-checkbox-size);\n block-size: var(--calcite-checkbox-size);\n }\n\n .check-svg {\n @apply bg-foreground-1\n pointer-events-none\n box-border\n block\n overflow-hidden\n fill-current\n stroke-current\n stroke-1\n transition-default;\n box-shadow: inset 0 0 0 1px var(--calcite-color-border-input);\n color: theme(\"backgroundColor.background\");\n }\n}\n\n:host([status=\"invalid\"]:not([checked])) {\n .check-svg {\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger);\n }\n .toggle:focus {\n @apply focus-outset-danger;\n }\n}\n\n:host([checked]),\n:host([indeterminate]) {\n .check-svg {\n @apply bg-brand;\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand);\n }\n}\n:host([hovered]) .toggle,\n:host .toggle:hover {\n .check-svg {\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n}\n\n.toggle {\n @apply focus-base relative;\n\n &:active,\n &:focus,\n &:focus-visible {\n @apply focus-outset;\n }\n\n &::after {\n content: \"\";\n inset-block-start: 50%;\n inset-inline-start: 50%;\n min-block-size: theme(\"width.6\");\n min-inline-size: theme(\"width.6\");\n position: absolute;\n transform: translateX(-50%) translateY(-50%);\n }\n}\n\n@include disabled();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport {\n CheckableFormComponent,\n connectForm,\n disconnectForm,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Scale, Status } from \"../interfaces\";\n\n@Component({\n tag: \"calcite-checkbox\",\n styleUrl: \"checkbox.scss\",\n shadow: true,\n})\nexport class Checkbox\n implements LabelableComponent, CheckableFormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\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 })\n form: string;\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true, mutable: true }) guid: string;\n\n /**\n * The hovered state of the checkbox.\n *\n * @internal\n */\n @Prop({ reflect: true }) hovered = false;\n\n /**\n * When `true`, the component is initially indeterminate, which is independent from its `checked` value.\n *\n * The state is visual only, and can look different across browsers.\n *\n * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)\n */\n @Prop({ reflect: true, mutable: true }) indeterminate = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\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`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\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 /** The component's value. */\n @Prop() value: any;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCheckboxElement;\n\n readonly checkedPath = \"M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z\";\n\n readonly indeterminatePath = \"M13 8v1H3V8z\";\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultChecked: boolean;\n\n defaultValue: Checkbox[\"checked\"];\n\n toggleEl: HTMLDivElement;\n\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.toggleEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n input.type = \"checkbox\";\n }\n\n getPath = (): string =>\n this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : \"\";\n\n toggle = (): void => {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.setFocus();\n this.indeterminate = false;\n this.calciteCheckboxChange.emit();\n }\n };\n\n keyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n this.toggle();\n event.preventDefault();\n }\n };\n\n clickHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component is blurred.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxBlur: EventEmitter<boolean>;\n\n /** Fires when the component's `checked` status changes. */\n @Event({ cancelable: false }) calciteCheckboxChange: EventEmitter<void>;\n\n /**\n * Fires when the component is focused.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxFocus: EventEmitter<boolean>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n onToggleBlur = (): void => {\n this.calciteInternalCheckboxBlur.emit(false);\n };\n\n onToggleFocus = (): void => {\n this.calciteInternalCheckboxFocus.emit(true);\n };\n\n onLabelClick = (): void => {\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.guid = this.el.id || `calcite-checkbox-${guid()}`;\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host onClick={this.clickHandler} onKeyDown={this.keyDownHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={toAriaBoolean(this.checked)}\n aria-label={getLabelText(this)}\n class=\"toggle\"\n onBlur={this.onToggleBlur}\n onFocus={this.onToggleFocus}\n role=\"checkbox\"\n tabIndex={this.disabled ? undefined : 0}\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={(toggleEl) => (this.toggleEl = toggleEl)}\n >\n <svg aria-hidden=\"true\" class=\"check-svg\" viewBox=\"0 0 16 16\">\n <path d={this.getPath()} />\n </svg>\n <slot />\n </div>\n <HiddenFormInputSlot component={this} />\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/components/chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.4.1-next.
|
|
4
|
+
* v2.4.1-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { d as slotChangeHasAssignedElement, t as toAriaBoolean } from './dom.js';
|
|
@@ -41,7 +41,7 @@ const ICONS = {
|
|
|
41
41
|
checked: "check-circle-f",
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
const chipCss = ":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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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 )}:host([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-color-transparent-hover);--calcite-chip-transparent-press:var(--calcite-color-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);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 )}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-color-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([kind=inverse]){background-color:var(--calcite-color-inverse);color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([kind=brand]){background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-color-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-color-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-color-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-color-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-color-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-color-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
|
44
|
+
const chipCss = ":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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}:host([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-color-transparent-hover);--calcite-chip-transparent-press:var(--calcite-color-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-color-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([kind=inverse]){background-color:var(--calcite-color-inverse);color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([kind=brand]){background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-color-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-color-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-color-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-color-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-color-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-color-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
|
45
45
|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,CAAC,QAAQ;oBACd,CAAC,IAAI,CAAC,OAAO;qBACZ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;qBAC7B,IAAI,CAAC,aAAa,KAAK,MAAM;yBAC3B,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,KAAK,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aACnF,EACD,OAAO,EAAE,IAAI,CAAC,mBAAmB,EACjC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,kBAAkB,GAAG,CAAC,CAAC,GAAG,CAAC;;YAErC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,mBAAmB,EAAE,EAC3D,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,EAC/B,YAAM,KAAK,EAAE,GAAG,CAAC,KAAK,IACpB,eAAQ,CACH,EACN,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/chip/resources.ts","src/components/chip/chip.scss?tag=calcite-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["export const CSS = {\n title: \"title\",\n close: \"close\",\n imageContainer: \"image-container\",\n chipIcon: \"chip-icon\",\n textSlotted: \"text--slotted\",\n container: \"container\",\n imageSlotted: \"image--slotted\",\n closable: \"closable\",\n multiple: \"multiple\",\n selectable: \"selectable\",\n selectIcon: \"select-icon\",\n selectIconActive: \"select-icon--active\",\n nonInteractive: \"non-interactive\",\n isCircle: \"is-circle\",\n};\n\nexport const SLOTS = {\n image: \"image\",\n};\n\nexport const ICONS = {\n close: \"x\",\n unchecked: \"circle\",\n checkedSingle: \"circle-f\",\n checked: \"check-circle-f\",\n};\n",":host([scale=\"s\"]) {\n @apply text-n2 h-6;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n .close,\n .select-icon--active {\n @apply h-4 w-4;\n }\n\n .image-container {\n @apply h-5 w-5;\n }\n\n .container.is-circle {\n @apply w-6 h-6;\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1 h-8;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1.5]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n\n .close,\n .image-container,\n .select-icon--active {\n @apply h-6 w-6;\n }\n\n .container.is-circle {\n @apply w-8 h-8;\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0 h-11;\n --calcite-chip-spacing-s-internal: theme(\"spacing[2]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[3]\");\n .image-container,\n .close,\n .select-icon--active {\n @apply h-8 w-8;\n }\n\n .container.is-circle {\n @apply w-11 h-11;\n }\n}\n\n:host {\n @apply inline-flex\n cursor-default\n rounded-full;\n}\n\n.container {\n @apply inline-flex\n h-full\n max-w-full\n items-center\n rounded-full\n focus-base\n justify-center\n border\n border-solid\n border-color-1\n box-border\n font-medium;\n &:not(.is-circle) {\n padding-inline: var(--calcite-chip-spacing-s-internal);\n }\n &.selectable {\n @apply cursor-pointer;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n}\n\n:host([scale=\"s\"]) .container.image--slotted {\n padding-inline-start: calc(theme(\"spacing[0.5]\") / 2);\n}\n\n:host([scale=\"s\"]) .container.is-circle {\n padding-inline: 0;\n}\n\n.container.text--slotted .title {\n @apply truncate;\n padding-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.container:not(.text--slotted) .title {\n display: none;\n}\n\n.container:not(.image--slotted) .image-container {\n display: none;\n}\n\n.container.closable {\n padding-inline-end: calc(var(--calcite-chip-spacing-l-internal) / 2);\n}\n\n.container:not(.is-circle) {\n &.image--slotted {\n padding-inline-start: calc(var(--calcite-chip-spacing-l-internal) / 2);\n }\n\n &.image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &.image--slotted .image-container ~ .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &.selectable:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.selectable):not(.text--slotted) .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text-slotted).image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.closable):not(.text--slotted).image--slotted.selectable .image-container {\n margin-inline-end: 0;\n ~ .chip-icon {\n margin-inline-start: calc(var(--calcite-chip-spacing-s-internal) * 2);\n }\n }\n}\n\n.chip-icon {\n @apply relative my-0 inline-flex duration-150 ease-in-out;\n margin-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.image-container {\n @apply inline-flex overflow-hidden;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n}\n\n.close {\n @apply focus-base\n transition-default\n text-color-1\n m-0\n cursor-pointer\n items-center\n border-none\n bg-transparent;\n -webkit-appearance: none;\n display: flex;\n border-radius: 50%;\n align-content: center;\n justify-content: center;\n --calcite-chip-transparent-hover: var(--calcite-color-transparent-hover);\n --calcite-chip-transparent-press: var(--calcite-color-transparent-press);\n &:hover {\n background-color: var(--calcite-chip-transparent-hover);\n }\n &:focus {\n background-color: var(--calcite-chip-transparent-hover);\n @apply focus-inset;\n }\n &:active {\n background-color: var(--calcite-chip-transparent-press);\n }\n & calcite-icon {\n color: inherit;\n }\n}\n\n.select-icon {\n align-self: center;\n justify-content: center;\n align-items: center;\n display: flex;\n inset-block-start: -1px;\n position: relative;\n visibility: hidden;\n inline-size: 0;\n opacity: 0;\n transition:\n opacity 0.15s ease-in-out,\n inline-size 0.15s ease-in-out;\n &.select-icon--active {\n visibility: visible;\n opacity: 0.5;\n }\n}\n.container:not(.is-circle).image--slotted .select-icon.select-icon--active {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n}\n\n:host([selected]) .select-icon {\n opacity: 1;\n}\n\n.container:hover .select-icon--active {\n opacity: 1;\n}\n\nslot[name=\"image\"]::slotted(*) {\n @apply rounded-half flex h-full w-full overflow-hidden;\n}\n\n:host([kind=\"neutral\"]) {\n background-color: var(--calcite-color-foreground-2);\n color: var(--calcite-color-text-1);\n .container {\n border-color: transparent;\n }\n .close {\n color: var(--calcite-color-text-3);\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([kind=\"inverse\"]) {\n background-color: var(--calcite-color-inverse);\n @apply text-color-inverse;\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([kind=\"brand\"]) {\n background-color: var(--calcite-color-brand);\n color: var(--calcite-color-text-inverse);\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n @apply text-color-1 bg-foreground-1;\n .close {\n @apply text-color-3;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([appearance=\"outline-fill\"]) {\n @apply bg-foreground-1;\n}\n\n:host([appearance=\"outline\"]) {\n @apply bg-transparent;\n}\n\n:host([kind=\"neutral\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"neutral\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-1);\n}\n\n:host([kind=\"inverse\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"inverse\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-inverse);\n}\n\n:host([kind=\"brand\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"brand\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-brand);\n}\n\n:host([kind=\"brand\"][appearance=\"solid\"]),\n:host([kind=\"inverse\"][appearance=\"solid\"]) {\n button {\n outline-color: var(--calcite-color-text-inverse);\n }\n}\n\n:host([closed]) {\n display: none;\n}\n\n@include disabled();\n@include base-component();\n","import {\n Build,\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 { toAriaBoolean, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { Appearance, Kind, Scale, SelectionMode } from \"../interfaces\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { ChipMessages } from \"./assets/chip/t9n\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding text.\n * @slot image - A slot for adding an image.\n */\n@Component({\n tag: \"calcite-chip\",\n styleUrl: \"chip.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Chip\n implements\n ConditionalSlotComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"inverse\" | \"neutral\", Kind> = \"neutral\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\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 /** Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /** When `true`, hides the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n /**\n * This internal property, managed by a containing `calcite-chip-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\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<ChipMessages>;\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: ChipMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * When true, enables the chip to be focused, and allows the `calciteChipSelect` to emit.\n * This is set to `true` by a parent Chip Group component.\n *\n * @internal\n */\n @Prop() interactive = false;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteChipElement;\n\n @State() defaultMessages: ChipMessages;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() private hasText = false;\n\n @State() private hasImage = false;\n\n private containerEl: HTMLDivElement;\n\n private closeButtonEl: HTMLButtonElement;\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasText());\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component's close button is selected.\n */\n @Event({ cancelable: false }) calciteChipClose: EventEmitter<void>;\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteChipSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalChipKeyEvent: EventEmitter<KeyboardEvent>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.mutationObserver?.disconnect();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n await setUpMessages(this);\n this.updateHasText();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n if (event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.handleEmittingEvent();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalChipKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"click\")\n clickHandler(): void {\n if (!this.interactive && this.closable) {\n this.closeButtonEl.focus();\n }\n }\n\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 if (!this.disabled && this.interactive) {\n this.containerEl?.focus();\n } else if (!this.disabled && this.closable) {\n this.closeButtonEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private close = (): void => {\n this.calciteChipClose.emit();\n this.selected = false;\n this.closed = true;\n };\n\n private closeButtonKeyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.close();\n }\n };\n\n private updateHasText() {\n this.hasText = this.el.textContent.trim().length > 0;\n }\n\n private handleSlotImageChange = (event: Event): void => {\n this.hasImage = slotChangeHasAssignedElement(event);\n };\n\n private handleEmittingEvent = (): void => {\n if (this.interactive) {\n this.calciteChipSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChipImage(): VNode {\n return (\n <div class={CSS.imageContainer}>\n <slot name={SLOTS.image} onSlotchange={this.handleSlotImageChange} />\n </div>\n );\n }\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.checked\n : this.selectionMode === \"multiple\"\n ? ICONS.unchecked\n : this.selected\n ? ICONS.checkedSingle\n : undefined;\n\n return (\n <div\n class={{\n [CSS.selectIcon]: true,\n [CSS.selectIconActive]: this.selectionMode === \"multiple\" || this.selected,\n }}\n >\n {icon ? <calcite-icon icon={icon} scale={getIconScale(this.scale)} /> : null}\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return (\n <button\n aria-label={this.messages.dismissLabel}\n class={CSS.close}\n onClick={this.close}\n onKeyDown={this.closeButtonKeyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\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.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderIcon(): VNode {\n return (\n <calcite-icon\n class={CSS.chipIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.icon}\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n const disableInteraction = disabled || (!disabled && !this.interactive);\n const role =\n this.selectionMode === \"multiple\" && this.interactive\n ? \"checkbox\"\n : this.selectionMode !== \"none\" && this.interactive\n ? \"radio\"\n : this.interactive\n ? \"button\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div\n aria-checked={\n this.selectionMode !== \"none\" && this.interactive\n ? toAriaBoolean(this.selected)\n : undefined\n }\n aria-disabled={disableInteraction ? toAriaBoolean(disabled) : undefined}\n aria-label={this.label}\n class={{\n [CSS.container]: true,\n [CSS.textSlotted]: this.hasText,\n [CSS.imageSlotted]: this.hasImage,\n [CSS.selectable]: this.selectionMode !== \"none\",\n [CSS.multiple]: this.selectionMode === \"multiple\",\n [CSS.closable]: this.closable,\n [CSS.nonInteractive]: !this.interactive,\n [CSS.isCircle]:\n !this.closable &&\n !this.hasText &&\n (!this.icon || !this.hasImage) &&\n (this.selectionMode === \"none\" ||\n (!!this.selectionMode && this.selectionMode !== \"multiple\" && !this.selected)),\n }}\n onClick={this.handleEmittingEvent}\n role={role}\n tabIndex={disableInteraction ? -1 : 0}\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.containerEl = el)}\n >\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n {this.renderChipImage()}\n {this.icon && this.renderIcon()}\n <span class={CSS.title}>\n <slot />\n </span>\n {this.closable && this.renderCloseButton()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"chip.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,eAAe;IAC5B,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,gBAAgB;IAC9B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,qBAAqB;IACvC,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG;IACV,SAAS,EAAE,QAAQ;IACnB,aAAa,EAAE,UAAU;IACzB,OAAO,EAAE,gBAAgB;CAC1B;;AC1BD,MAAM,OAAO,GAAG,ujQAAujQ;;MC4D1jQ,IAAI;;;;;;;;QA4GP,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;;;;;;QAoH1E,UAAK,GAAG;YACd,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;YAC7B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;SACpB,CAAC;QAEM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AU;gBACjD,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;gBAC7B,CAAC,GAAG,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,WAAW;gBACvC,CAAC,GAAG,CAAC,QAAQ,GACX,CAAC,IAAI,CAAC,QAAQ;oBACd,CAAC,IAAI,CAAC,OAAO;qBACZ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;qBAC7B,IAAI,CAAC,aAAa,KAAK,MAAM;yBAC3B,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,KAAK,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aACnF,EACD,OAAO,EAAE,IAAI,CAAC,mBAAmB,EACjC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,kBAAkB,GAAG,CAAC,CAAC,GAAG,CAAC;;YAErC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,mBAAmB,EAAE,EAC3D,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,EAC/B,YAAM,KAAK,EAAE,GAAG,CAAC,KAAK,IACpB,eAAQ,CACH,EACN,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/chip/resources.ts","src/components/chip/chip.scss?tag=calcite-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["export const CSS = {\n title: \"title\",\n close: \"close\",\n imageContainer: \"image-container\",\n chipIcon: \"chip-icon\",\n textSlotted: \"text--slotted\",\n container: \"container\",\n imageSlotted: \"image--slotted\",\n closable: \"closable\",\n multiple: \"multiple\",\n selectable: \"selectable\",\n selectIcon: \"select-icon\",\n selectIconActive: \"select-icon--active\",\n nonInteractive: \"non-interactive\",\n isCircle: \"is-circle\",\n};\n\nexport const SLOTS = {\n image: \"image\",\n};\n\nexport const ICONS = {\n close: \"x\",\n unchecked: \"circle\",\n checkedSingle: \"circle-f\",\n checked: \"check-circle-f\",\n};\n",":host([scale=\"s\"]) {\n @apply text-n2 h-6;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n .close,\n .select-icon--active {\n @apply h-4 w-4;\n }\n\n .image-container {\n @apply h-5 w-5;\n }\n\n .container.is-circle {\n @apply w-6 h-6;\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1 h-8;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1.5]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n\n .close,\n .image-container,\n .select-icon--active {\n @apply h-6 w-6;\n }\n\n .container.is-circle {\n @apply w-8 h-8;\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0 h-11;\n --calcite-chip-spacing-s-internal: theme(\"spacing[2]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[3]\");\n .image-container,\n .close,\n .select-icon--active {\n @apply h-8 w-8;\n }\n\n .container.is-circle {\n @apply w-11 h-11;\n }\n}\n\n:host {\n @apply inline-flex\n cursor-default\n rounded-full;\n}\n\n.container {\n @apply inline-flex\n h-full\n max-w-full\n items-center\n rounded-full\n focus-base\n justify-center\n border\n border-solid\n border-color-1\n box-border\n font-medium;\n &:not(.is-circle) {\n padding-inline: var(--calcite-chip-spacing-s-internal);\n }\n &.selectable {\n @apply cursor-pointer;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n}\n\n:host([scale=\"s\"]) .container.image--slotted {\n padding-inline-start: calc(theme(\"spacing[0.5]\") / 2);\n}\n\n:host([scale=\"s\"]) .container.is-circle {\n padding-inline: 0;\n}\n\n.container.text--slotted .title {\n @apply truncate;\n padding-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.container:not(.text--slotted) .title {\n display: none;\n}\n\n.container:not(.image--slotted) .image-container {\n display: none;\n}\n\n.container.closable {\n padding-inline-end: calc(var(--calcite-chip-spacing-l-internal) / 2);\n}\n\n.container:not(.is-circle) {\n &.image--slotted {\n padding-inline-start: calc(var(--calcite-chip-spacing-l-internal) / 2);\n }\n\n &.image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &.image--slotted .image-container ~ .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &.selectable:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.selectable):not(.text--slotted) .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text-slotted).image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.closable):not(.text--slotted).image--slotted.selectable .image-container {\n margin-inline-end: 0;\n ~ .chip-icon {\n margin-inline-start: calc(var(--calcite-chip-spacing-s-internal) * 2);\n }\n }\n}\n\n.chip-icon {\n @apply relative my-0 inline-flex duration-150 ease-in-out;\n margin-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.image-container {\n @apply inline-flex overflow-hidden;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n}\n\n.close {\n @apply focus-base\n transition-default\n text-color-1\n m-0\n cursor-pointer\n items-center\n border-none\n bg-transparent;\n -webkit-appearance: none;\n display: flex;\n border-radius: 50%;\n align-content: center;\n justify-content: center;\n --calcite-chip-transparent-hover: var(--calcite-color-transparent-hover);\n --calcite-chip-transparent-press: var(--calcite-color-transparent-press);\n &:hover {\n background-color: var(--calcite-chip-transparent-hover);\n }\n &:focus {\n background-color: var(--calcite-chip-transparent-hover);\n @apply focus-inset;\n }\n &:active {\n background-color: var(--calcite-chip-transparent-press);\n }\n & calcite-icon {\n color: inherit;\n }\n}\n\n.select-icon {\n align-self: center;\n justify-content: center;\n align-items: center;\n display: flex;\n inset-block-start: -1px;\n position: relative;\n visibility: hidden;\n inline-size: 0;\n opacity: 0;\n transition:\n opacity 0.15s ease-in-out,\n inline-size 0.15s ease-in-out;\n &.select-icon--active {\n visibility: visible;\n opacity: 0.5;\n }\n}\n.container:not(.is-circle).image--slotted .select-icon.select-icon--active {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n}\n\n:host([selected]) .select-icon {\n opacity: 1;\n}\n\n.container:hover .select-icon--active {\n opacity: 1;\n}\n\nslot[name=\"image\"]::slotted(*) {\n @apply rounded-half flex h-full w-full overflow-hidden;\n}\n\n:host([kind=\"neutral\"]) {\n background-color: var(--calcite-color-foreground-2);\n color: var(--calcite-color-text-1);\n .container {\n border-color: transparent;\n }\n .close {\n color: var(--calcite-color-text-3);\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([kind=\"inverse\"]) {\n background-color: var(--calcite-color-inverse);\n @apply text-color-inverse;\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([kind=\"brand\"]) {\n background-color: var(--calcite-color-brand);\n color: var(--calcite-color-text-inverse);\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n @apply text-color-1 bg-foreground-1;\n .close {\n @apply text-color-3;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([appearance=\"outline-fill\"]) {\n @apply bg-foreground-1;\n}\n\n:host([appearance=\"outline\"]) {\n @apply bg-transparent;\n}\n\n:host([kind=\"neutral\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"neutral\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-1);\n}\n\n:host([kind=\"inverse\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"inverse\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-inverse);\n}\n\n:host([kind=\"brand\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"brand\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-brand);\n}\n\n:host([kind=\"brand\"][appearance=\"solid\"]),\n:host([kind=\"inverse\"][appearance=\"solid\"]) {\n button {\n outline-color: var(--calcite-color-text-inverse);\n }\n}\n\n:host([closed]) {\n display: none;\n}\n\n@include disabled();\n@include base-component();\n","import {\n Build,\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 { toAriaBoolean, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { Appearance, Kind, Scale, SelectionMode } from \"../interfaces\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { ChipMessages } from \"./assets/chip/t9n\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding text.\n * @slot image - A slot for adding an image.\n */\n@Component({\n tag: \"calcite-chip\",\n styleUrl: \"chip.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Chip\n implements\n ConditionalSlotComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"inverse\" | \"neutral\", Kind> = \"neutral\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\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 /** Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /** When `true`, hides the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n /**\n * This internal property, managed by a containing `calcite-chip-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\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<ChipMessages>;\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: ChipMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * When true, enables the chip to be focused, and allows the `calciteChipSelect` to emit.\n * This is set to `true` by a parent Chip Group component.\n *\n * @internal\n */\n @Prop() interactive = false;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteChipElement;\n\n @State() defaultMessages: ChipMessages;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() private hasText = false;\n\n @State() private hasImage = false;\n\n private containerEl: HTMLDivElement;\n\n private closeButtonEl: HTMLButtonElement;\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasText());\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component's close button is selected.\n */\n @Event({ cancelable: false }) calciteChipClose: EventEmitter<void>;\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteChipSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalChipKeyEvent: EventEmitter<KeyboardEvent>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.mutationObserver?.disconnect();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n await setUpMessages(this);\n this.updateHasText();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n if (event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.handleEmittingEvent();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalChipKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"click\")\n clickHandler(): void {\n if (!this.interactive && this.closable) {\n this.closeButtonEl.focus();\n }\n }\n\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 if (!this.disabled && this.interactive) {\n this.containerEl?.focus();\n } else if (!this.disabled && this.closable) {\n this.closeButtonEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private close = (): void => {\n this.calciteChipClose.emit();\n this.selected = false;\n this.closed = true;\n };\n\n private closeButtonKeyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.close();\n }\n };\n\n private updateHasText() {\n this.hasText = this.el.textContent.trim().length > 0;\n }\n\n private handleSlotImageChange = (event: Event): void => {\n this.hasImage = slotChangeHasAssignedElement(event);\n };\n\n private handleEmittingEvent = (): void => {\n if (this.interactive) {\n this.calciteChipSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChipImage(): VNode {\n return (\n <div class={CSS.imageContainer}>\n <slot name={SLOTS.image} onSlotchange={this.handleSlotImageChange} />\n </div>\n );\n }\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.checked\n : this.selectionMode === \"multiple\"\n ? ICONS.unchecked\n : this.selected\n ? ICONS.checkedSingle\n : undefined;\n\n return (\n <div\n class={{\n [CSS.selectIcon]: true,\n [CSS.selectIconActive]: this.selectionMode === \"multiple\" || this.selected,\n }}\n >\n {icon ? <calcite-icon icon={icon} scale={getIconScale(this.scale)} /> : null}\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return (\n <button\n aria-label={this.messages.dismissLabel}\n class={CSS.close}\n onClick={this.close}\n onKeyDown={this.closeButtonKeyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\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.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderIcon(): VNode {\n return (\n <calcite-icon\n class={CSS.chipIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.icon}\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n const disableInteraction = disabled || (!disabled && !this.interactive);\n const role =\n this.selectionMode === \"multiple\" && this.interactive\n ? \"checkbox\"\n : this.selectionMode !== \"none\" && this.interactive\n ? \"radio\"\n : this.interactive\n ? \"button\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div\n aria-checked={\n this.selectionMode !== \"none\" && this.interactive\n ? toAriaBoolean(this.selected)\n : undefined\n }\n aria-disabled={disableInteraction ? toAriaBoolean(disabled) : undefined}\n aria-label={this.label}\n class={{\n [CSS.container]: true,\n [CSS.textSlotted]: this.hasText,\n [CSS.imageSlotted]: this.hasImage,\n [CSS.selectable]: this.selectionMode !== \"none\",\n [CSS.multiple]: this.selectionMode === \"multiple\",\n [CSS.closable]: this.closable,\n [CSS.nonInteractive]: !this.interactive,\n [CSS.isCircle]:\n !this.closable &&\n !this.hasText &&\n (!this.icon || !this.hasImage) &&\n (this.selectionMode === \"none\" ||\n (!!this.selectionMode && this.selectionMode !== \"multiple\" && !this.selected)),\n }}\n onClick={this.handleEmittingEvent}\n role={role}\n tabIndex={disableInteraction ? -1 : 0}\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.containerEl = el)}\n >\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n {this.renderChipImage()}\n {this.icon && this.renderIcon()}\n <span class={CSS.title}>\n <slot />\n </span>\n {this.closable && this.renderCloseButton()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.4.1-next.
|
|
4
|
+
* v2.4.1-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { j as isLonghandHex, i as isValidHex, r as rgbToHex, n as normalizeHex, o as opacityToAlpha, a as hexify, k as hexChar, c as alphaToOpacity } from './utils.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.4.1-next.
|
|
4
|
+
* v2.4.1-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as color } from './index2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.4.1-next.
|
|
4
|
+
* v2.4.1-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -26,7 +26,7 @@ const CSS = {
|
|
|
26
26
|
textContainer: "text-container",
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const comboboxItemCss = "@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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;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);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{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,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
29
|
+
const comboboxItemCss = "@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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;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);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
30
30
|
|
|
31
31
|
const ComboboxItem = /*@__PURE__*/ proxyCustomElement(class ComboboxItem extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"combobox-item.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,OAAO;IACd,MAAM,EAA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,GAAG,WAAW,CAAC;QAE7C,MAAM,OAAO,GAAG;YACd,CAAC,GAAG,CAAC,KAAK,GAAG,IAAI;YACjB,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;YAC7B,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM;YACzB,CAAC,GAAG,CAAC,MAAM,GAAG,cAAc;SAC7B,CAAC;QACF,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAEhC,QACE,EAAC,IAAI,mBAAa,MAAM,IACtB,EAAC,oBAAoB,IAAC,QAAQ,EAAE,QAAQ,IACtC,WACE,KAAK,EAAE,oBAAoB,IAAI,CAAC,KAAK,EAAE,EACvC,KAAK,EAAE,EAAE,mDAAmD,EAAE,GAAG,KAAK,EAAE,EAAE,IAE1E,UAAI,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,gBAAgB,IAC9D,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,EAC7C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAC1B,YAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,SAAS,CAAQ,CACxC,EACJ,IAAI,CAAC,cAAc,EAAE,CAClB,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["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"],"sourcesContent":["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 InteractiveContainer,\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 of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, 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 * Fires 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 { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = 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 <InteractiveContainer disabled={disabled}>\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 </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"combobox-item.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,gBAAgB;CAChC;;ACZD,MAAM,eAAe,GAAG,inHAAinH;;MCuC5nH,YAAY;;;;;;QAgIf,qBAAgB,GAAG;YACzB,IAAI,CAAC,cAAc,EAAE,CAAC;SACvB,CAAC;wBA1HkC,KAAK;wBAKU,KAAK;sBAGtB,KAAK;;oBAMP,IAAI,EAAE;;2BAMC,KAAK;;;;6BAkCxC,UAAU;qBAOS,GAAG;;IAtC1B,oBAAoB;QAClB,IAAI,CAAC,yBAAyB,CAAC,IAAI,EAAE,CAAC;KACvC;;;;;;IAoDD,iBAAiB;QACf,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QACtC,kBAAkB,CAAC,IAAI,CAAC,CAAC;KAC1B;IAED,oBAAoB;QAClB,kCAAkC,CAAC,IAAI,CAAC,CAAC;QACzC,q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AC,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,EAC7C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAC1B,YAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,SAAS,CAAQ,CACxC,EACJ,IAAI,CAAC,cAAc,EAAE,CAClB,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["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"],"sourcesContent":["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 InteractiveContainer,\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 of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, 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 * Fires 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 { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = 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 <InteractiveContainer disabled={disabled}>\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 </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.4.1-next.
|
|
4
|
+
* v2.4.1-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as filter } from './filter.js';
|
|
@@ -37,11 +37,11 @@ function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Do not edit directly
|
|
40
|
-
* Generated on
|
|
40
|
+
* Generated on Fri, 09 Feb 2024 22:16:40 GMT
|
|
41
41
|
*/
|
|
42
42
|
const calciteSize48 = "48px";
|
|
43
43
|
|
|
44
|
-
const comboboxCss = ":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;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{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 )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-
|
|
44
|
+
const comboboxCss = ":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;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
|
45
45
|
|
|
46
46
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
47
47
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -1008,6 +1008,15 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class Combobox extends HTMLEle
|
|
|
1008
1008
|
[CSS$1.chipInvisible]: chipInvisible,
|
|
1009
1009
|
}, scale: scale, title: label, value: "" }, label));
|
|
1010
1010
|
}
|
|
1011
|
+
get showingInlineIcon() {
|
|
1012
|
+
const { placeholderIcon, selectionMode, selectedItems, open } = this;
|
|
1013
|
+
const selectedItem = selectedItems[0];
|
|
1014
|
+
const selectedIcon = selectedItem?.icon;
|
|
1015
|
+
const singleSelectionMode = isSingleLike(selectionMode);
|
|
1016
|
+
return !open && selectedItem
|
|
1017
|
+
? !!selectedIcon && singleSelectionMode
|
|
1018
|
+
: !!placeholderIcon && (!selectedItem || singleSelectionMode);
|
|
1019
|
+
}
|
|
1011
1020
|
renderInput() {
|
|
1012
1021
|
const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;
|
|
1013
1022
|
const single = isSingleLike(selectionMode);
|
|
@@ -1024,7 +1033,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class Combobox extends HTMLEle
|
|
|
1024
1033
|
"input--single": true,
|
|
1025
1034
|
"input--transparent": this.activeChipIndex > -1,
|
|
1026
1035
|
"input--hidden": showLabel,
|
|
1027
|
-
"input--icon": !!this.placeholderIcon,
|
|
1036
|
+
"input--icon": this.showingInlineIcon && !!this.placeholderIcon,
|
|
1028
1037
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
|
1029
1038
|
// 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)
|
|
1030
1039
|
ref: (el) => (this.textInput = el) })));
|
|
@@ -1048,19 +1057,15 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class Combobox extends HTMLEle
|
|
|
1048
1057
|
// 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)
|
|
1049
1058
|
ref: setContainerEl }, h("ul", { class: { list: true, "list--hide": !open } }, h("slot", null)))));
|
|
1050
1059
|
}
|
|
1051
|
-
|
|
1052
|
-
const { selectedItems, placeholderIcon,
|
|
1060
|
+
renderSelectedOrPlaceholderIcon() {
|
|
1061
|
+
const { selectedItems, placeholderIcon, placeholderIconFlipRtl } = this;
|
|
1053
1062
|
const selectedItem = selectedItems[0];
|
|
1054
1063
|
const selectedIcon = selectedItem?.icon;
|
|
1055
|
-
|
|
1056
|
-
const iconAtStart = !this.open && selectedItem
|
|
1057
|
-
? !!selectedIcon && singleSelectionMode
|
|
1058
|
-
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
|
1059
|
-
return (iconAtStart && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: getIconScale(this.scale) }))));
|
|
1064
|
+
return (this.showingInlineIcon && (h("span", { class: "icon-start", key: "selected-placeholder-icon" }, h("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: getIconScale(this.scale) }))));
|
|
1060
1065
|
}
|
|
1061
|
-
|
|
1066
|
+
renderChevronIcon() {
|
|
1062
1067
|
const { open } = this;
|
|
1063
|
-
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
1068
|
+
return (h("span", { class: "icon-end", key: "chevron" }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
1064
1069
|
}
|
|
1065
1070
|
render() {
|
|
1066
1071
|
const { selectionDisplay, guid, label, open } = this;
|
|
@@ -1075,17 +1080,17 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class Combobox extends HTMLEle
|
|
|
1075
1080
|
"wrapper--active": open,
|
|
1076
1081
|
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
|
1077
1082
|
// 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)
|
|
1078
|
-
ref: this.setReferenceEl }, h("div", { class: {
|
|
1083
|
+
ref: this.setReferenceEl }, this.renderSelectedOrPlaceholderIcon(), h("div", { class: {
|
|
1079
1084
|
"grid-input": true,
|
|
1080
1085
|
[CSS$1.selectionDisplayFit]: fitSelectionDisplay,
|
|
1081
1086
|
[CSS$1.selectionDisplaySingle]: singleSelectionDisplay,
|
|
1082
|
-
}, ref: this.setChipContainerEl },
|
|
1087
|
+
}, key: "grid", ref: this.setChipContainerEl }, !singleSelectionMode && !singleSelectionDisplay && this.renderChips(), !singleSelectionMode &&
|
|
1083
1088
|
!allSelectionDisplay && [
|
|
1084
1089
|
this.renderSelectedIndicatorChip(),
|
|
1085
1090
|
this.renderSelectedIndicatorChipCompact(),
|
|
1086
1091
|
this.renderAllSelectedIndicatorChip(),
|
|
1087
1092
|
this.renderAllSelectedIndicatorChipCompact(),
|
|
1088
|
-
], h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (h(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.
|
|
1093
|
+
], h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (h(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.renderChevronIcon()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), h(HiddenFormInputSlot, { component: this }), this.validationMessage ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
|
1089
1094
|
}
|
|
1090
1095
|
static get assetsDirs() { return ["assets"]; }
|
|
1091
1096
|
get el() { return this; }
|