@esri/calcite-components 1.4.0-next.21 → 1.4.0-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/combobox/t9n/index.d.ts +1 -0
- package/dist/calcite/assets/combobox/t9n/messages.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_en.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-a608994e.js → p-000ff04f.js} +2 -2
- package/dist/calcite/p-01147ae2.js +6 -0
- package/dist/calcite/{p-724696ea.entry.js → p-0312e397.entry.js} +2 -2
- package/dist/calcite/{p-8e0697db.entry.js → p-0314cf93.entry.js} +2 -2
- package/dist/calcite/{p-93062959.entry.js → p-07b731c5.entry.js} +2 -2
- package/dist/calcite/{p-6856dcc1.js → p-0bd51572.js} +2 -2
- package/dist/calcite/{p-a8081c36.js → p-0e7322c2.js} +1 -1
- package/dist/calcite/{p-b35c6697.entry.js → p-14768259.entry.js} +2 -2
- package/dist/calcite/{p-89505d85.js → p-157a2c4d.js} +1 -1
- package/dist/calcite/{p-69107c91.js → p-196acc02.js} +1 -1
- package/dist/calcite/{p-db7ce7a4.entry.js → p-1d78aa33.entry.js} +2 -2
- package/dist/calcite/{p-9edcd1a2.entry.js → p-210a0792.entry.js} +2 -2
- package/dist/calcite/p-212d5b40.js +6 -0
- package/dist/calcite/{p-c2b67777.js → p-225863d8.js} +1 -1
- package/dist/calcite/{p-87c978cc.js → p-229c20f4.js} +2 -2
- package/dist/calcite/{p-f7c47d9f.entry.js → p-244d24b4.entry.js} +2 -2
- package/dist/calcite/p-2692abe1.entry.js +6 -0
- package/dist/calcite/{p-3d0c8d49.entry.js → p-27ad3864.entry.js} +2 -2
- package/dist/calcite/{p-b12388a1.js → p-2aca82af.js} +2 -2
- package/dist/calcite/{p-9f5f6e15.entry.js → p-2c6eb624.entry.js} +2 -2
- package/dist/calcite/{p-9f407ff5.entry.js → p-2da70911.entry.js} +2 -2
- package/dist/calcite/{p-89c794a1.js → p-323381de.js} +1 -1
- package/dist/calcite/p-327c6634.js +6 -0
- package/dist/calcite/{p-c7f9bd7e.js → p-34bc2816.js} +2 -2
- package/dist/calcite/{p-f843995e.js → p-36c23771.js} +1 -1
- package/dist/calcite/{p-a5ff12d9.js → p-419b4618.js} +1 -1
- package/dist/calcite/{p-9a88a419.entry.js → p-43abcf55.entry.js} +2 -2
- package/dist/calcite/p-46371846.entry.js +6 -0
- package/dist/calcite/{p-f9392607.entry.js → p-4678f82e.entry.js} +2 -2
- package/dist/calcite/{p-30331a93.entry.js → p-49f7c320.entry.js} +2 -2
- package/dist/calcite/{p-894c87ac.entry.js → p-4a08143f.entry.js} +2 -2
- package/dist/calcite/{p-2bdccc2b.entry.js → p-4a8d3641.entry.js} +2 -2
- package/dist/calcite/{p-f1321577.entry.js → p-51cfb9a9.entry.js} +2 -2
- package/dist/calcite/{p-6ee17287.js → p-5347efb4.js} +2 -2
- package/dist/calcite/{p-477278e2.js → p-536da553.js} +2 -2
- package/dist/calcite/{p-3ab44e61.entry.js → p-548efe7a.entry.js} +2 -2
- package/dist/calcite/{p-abd877b7.entry.js → p-55332702.entry.js} +2 -2
- package/dist/calcite/{p-b7b0abbc.js → p-559ff4c2.js} +1 -1
- package/dist/calcite/{p-54b04c94.js → p-5777d776.js} +1 -1
- package/dist/calcite/{p-a9187cc7.entry.js → p-57fd9c42.entry.js} +2 -2
- package/dist/calcite/p-5c0d1458.entry.js +6 -0
- package/dist/calcite/{p-e0e1b52b.js → p-5f3a8592.js} +2 -2
- package/dist/calcite/{p-f650b423.js → p-604ac166.js} +1 -1
- package/dist/calcite/{p-06ead0c7.js → p-642c482b.js} +2 -2
- package/dist/calcite/{p-8c25591b.entry.js → p-6bca6306.entry.js} +2 -2
- package/dist/calcite/{p-45bc485a.js → p-6cdc7256.js} +1 -1
- package/dist/calcite/{p-a178680b.entry.js → p-6cfc951e.entry.js} +2 -2
- package/dist/calcite/{p-87b3b3f1.entry.js → p-6dbe7b15.entry.js} +2 -2
- package/dist/calcite/{p-e4ffac8e.entry.js → p-6f9f4574.entry.js} +2 -2
- package/dist/calcite/{p-a9966f50.entry.js → p-6ff3e670.entry.js} +2 -2
- package/dist/calcite/{p-250fe856.entry.js → p-757d7cb7.entry.js} +2 -2
- package/dist/calcite/{p-93e9c87a.entry.js → p-77ab2c01.entry.js} +2 -2
- package/dist/calcite/{p-06e5c216.entry.js → p-7ba472fb.entry.js} +2 -2
- package/dist/calcite/{p-c2806bec.entry.js → p-80b3499d.entry.js} +2 -2
- package/dist/calcite/{p-6c5d9dca.entry.js → p-8260d1c3.entry.js} +2 -2
- package/dist/calcite/p-83883ef4.js +6 -0
- package/dist/calcite/{p-9410cc32.entry.js → p-840c5835.entry.js} +2 -2
- package/dist/calcite/{p-d89f0080.entry.js → p-8a07005d.entry.js} +2 -2
- package/dist/calcite/{p-f14e4438.entry.js → p-91f64bb4.entry.js} +2 -2
- package/dist/calcite/{p-45094659.entry.js → p-94cde654.entry.js} +2 -2
- package/dist/calcite/{p-60575de1.js → p-97cb2cca.js} +1 -1
- package/dist/calcite/{p-17c0b1c0.js → p-9865721c.js} +1 -1
- package/dist/calcite/{p-b421c34b.entry.js → p-9e78f8d9.entry.js} +2 -2
- package/dist/calcite/{p-05d2964d.entry.js → p-9f1ea049.entry.js} +2 -2
- package/dist/calcite/{p-e61c91ba.entry.js → p-a227aeaf.entry.js} +2 -2
- package/dist/calcite/{p-e3c4c5d8.entry.js → p-a947c2e4.entry.js} +2 -2
- package/dist/calcite/{p-852f6dd2.entry.js → p-aef63be4.entry.js} +2 -2
- package/dist/calcite/{p-bda9d673.entry.js → p-af925520.entry.js} +2 -2
- package/dist/calcite/{p-43d03fd8.js → p-b0c7425c.js} +2 -2
- package/dist/calcite/{p-f24fa227.entry.js → p-b3534f33.entry.js} +2 -2
- package/dist/calcite/{p-e881fccc.js → p-b366cac2.js} +2 -2
- package/dist/calcite/{p-f68443a2.js → p-b3defd6c.js} +1 -1
- package/dist/calcite/{p-a2b14361.entry.js → p-b42c3da9.entry.js} +2 -2
- package/dist/calcite/p-b5f18d1c.entry.js +6 -0
- package/dist/calcite/{p-caf6a8b0.entry.js → p-b73e42d6.entry.js} +2 -2
- package/dist/calcite/{p-2e656492.entry.js → p-b7a18a59.entry.js} +2 -2
- package/dist/calcite/{p-f32da99d.entry.js → p-baed57e4.entry.js} +2 -2
- package/dist/calcite/{p-53194061.entry.js → p-bbdaf8e6.entry.js} +2 -2
- package/dist/calcite/{p-939c1edc.entry.js → p-c9471978.entry.js} +2 -2
- package/dist/calcite/{p-0a28a371.entry.js → p-c9f06749.entry.js} +2 -2
- package/dist/calcite/{p-83c50276.entry.js → p-cbccb987.entry.js} +2 -2
- package/dist/calcite/{p-7af22107.entry.js → p-cc610823.entry.js} +2 -2
- package/dist/calcite/{p-da80d9da.js → p-cdebec44.js} +2 -2
- package/dist/calcite/{p-af417af6.js → p-d311b04f.js} +1 -1
- package/dist/calcite/{p-13f03b21.entry.js → p-d3826c6a.entry.js} +2 -2
- package/dist/calcite/{p-4e7930e1.entry.js → p-d7121a95.entry.js} +2 -2
- package/dist/calcite/{p-c4e12767.entry.js → p-da934797.entry.js} +2 -2
- package/dist/calcite/{p-ff449e3b.js → p-dab2ba9e.js} +1 -1
- package/dist/calcite/{p-c80e6cd5.entry.js → p-dc43cc1a.entry.js} +2 -2
- package/dist/calcite/{p-5d51cfe7.entry.js → p-e43d06dc.entry.js} +2 -2
- package/dist/calcite/{p-12229dfc.entry.js → p-ee0c2bc3.entry.js} +2 -2
- package/dist/calcite/{p-7ee58330.entry.js → p-f1c293e3.entry.js} +2 -2
- package/dist/calcite/{p-bdbec770.entry.js → p-f2ca0607.entry.js} +2 -2
- package/dist/calcite/{p-4a73cb57.js → p-f3c98488.js} +2 -2
- package/dist/calcite/{p-22556072.entry.js → p-f55a539f.entry.js} +2 -2
- package/dist/calcite/{p-15c00b78.js → p-fea2bb99.js} +1 -1
- package/dist/calcite/{p-c5af61f8.entry.js → p-fff608a2.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-9af85b0b.js → ExpandToggle-2efb97c7.js} +5 -5
- package/dist/cjs/{FloatingArrow-ad48c166.js → FloatingArrow-ce7b028b.js} +2 -2
- package/dist/cjs/{Heading-1d030329.js → Heading-af930f37.js} +2 -2
- package/dist/cjs/{app-globals-7b9a5ee8.js → app-globals-d9f0e9f1.js} +2 -2
- package/dist/cjs/{array-fbe85cc9.js → array-d8b8e312.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -32
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-673a3f3d.js → composed-offset-position.esm-f3a4e765.js} +1 -1
- package/dist/cjs/{conditionalSlot-a339a9ed.js → conditionalSlot-d59899fc.js} +3 -3
- package/dist/cjs/{debounce-af63da08.js → debounce-d0d94bfb.js} +1 -1
- package/dist/cjs/{dom-7b094354.js → dom-5c25ec0e.js} +3 -3
- package/dist/cjs/{filter-c0840b74.js → filter-712a332c.js} +2 -2
- package/dist/cjs/{floating-ui-43c57987.js → floating-ui-eb6cf139.js} +4 -4
- package/dist/cjs/{focusTrapComponent-d22ecd15.js → focusTrapComponent-27154970.js} +2 -2
- package/dist/cjs/{form-2388b68c.js → form-b721ae3d.js} +3 -3
- package/dist/cjs/{guid-f8f47882.js → guid-0557f937.js} +1 -1
- package/dist/cjs/{index-d8e24abf.js → index-aded255c.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-30b0ad75.js → interactive-994a7b08.js} +1 -1
- package/dist/cjs/{key-6e3ca482.js → key-1cf0e405.js} +1 -1
- package/dist/cjs/{label-90c17caf.js → label-04782b21.js} +2 -2
- package/dist/cjs/{loadable-f9f97c8f.js → loadable-048502db.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-f6f5cb6e.js → locale-af97e988.js} +4 -4
- package/dist/cjs/{math-a5676914.js → math-b5447639.js} +1 -1
- package/dist/cjs/{observers-56b57916.js → observers-4a8786a3.js} +1 -1
- package/dist/cjs/{openCloseComponent-ad6f9ce8.js → openCloseComponent-466dabdb.js} +2 -2
- package/dist/cjs/{resources-5a8e9beb.js → resources-492e98b9.js} +5 -5
- package/dist/cjs/{resources-86b99e1c.js → resources-81346d46.js} +1 -1
- package/dist/cjs/{resources-ebb63cb0.js → resources-8cf37d35.js} +1 -1
- package/dist/cjs/{resources-308930a2.js → resources-90ab257a.js} +1 -1
- package/dist/cjs/{resources-861c2ae8.js → resources-a8273118.js} +1 -1
- package/dist/cjs/{resources-40ba6718.js → resources-c79b9d23.js} +1 -1
- package/dist/cjs/{sortable.esm-515f03b4.js → sortable.esm-443826b2.js} +1 -1
- package/dist/cjs/{t9n-dd5385bf.js → t9n-973f2032.js} +3 -3
- package/dist/cjs/{throttle-8287eb8d.js → throttle-885c8dcd.js} +2 -2
- package/dist/cjs/{utils-87f36947.js → utils-64d260f7.js} +1 -1
- package/dist/cjs/{utils-d2238ca5.js → utils-96306d4f.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/index.d.ts +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_en.json +1 -0
- package/dist/collection/components/combobox/combobox.css +55 -0
- package/dist/collection/components/combobox/combobox.js +55 -13
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +5 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +14 -0
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +5 -4
- package/dist/components/calcite-combobox.js +47 -13
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.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/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-1d09870a.js → ExpandToggle-2af423e5.js} +5 -5
- package/dist/esm/{FloatingArrow-d832089d.js → FloatingArrow-ad4fa4cb.js} +2 -2
- package/dist/esm/{Heading-43af885b.js → Heading-74a3d5bf.js} +2 -2
- package/dist/esm/{app-globals-4a38c82d.js → app-globals-35d52e27.js} +2 -2
- package/dist/esm/{array-afc2d001.js → array-3fb30740.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +66 -32
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-ee319961.js → composed-offset-position.esm-94aea51b.js} +1 -1
- package/dist/esm/{conditionalSlot-d15fc540.js → conditionalSlot-e4e49a4b.js} +3 -3
- package/dist/esm/{debounce-9bc2036e.js → debounce-761218c6.js} +1 -1
- package/dist/esm/{dom-8d684de8.js → dom-b928dfe8.js} +3 -3
- package/dist/esm/{filter-f88de3dd.js → filter-4e70d167.js} +2 -2
- package/dist/esm/{floating-ui-a08f9e1c.js → floating-ui-0c89de41.js} +4 -4
- package/dist/esm/{focusTrapComponent-f6dfdfb4.js → focusTrapComponent-8693541a.js} +2 -2
- package/dist/esm/{form-e3b986d8.js → form-7ae5ee69.js} +3 -3
- package/dist/esm/{guid-57804517.js → guid-dfac3148.js} +1 -1
- package/dist/esm/{index-5f30e00e.js → index-1c77c789.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-b976c6b3.js → interactive-43e46318.js} +1 -1
- package/dist/esm/{key-20c233e2.js → key-8ff1b194.js} +1 -1
- package/dist/esm/{label-1e9c637f.js → label-58fca820.js} +2 -2
- package/dist/esm/{loadable-651cf40c.js → loadable-bf1d4774.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-eb3922f6.js → locale-e32f866d.js} +4 -4
- package/dist/esm/{math-a11aef07.js → math-ac322c50.js} +1 -1
- package/dist/esm/{observers-715d472d.js → observers-13e1bb94.js} +1 -1
- package/dist/esm/{openCloseComponent-383397bd.js → openCloseComponent-ef90374c.js} +2 -2
- package/dist/esm/{resources-9fdac6af.js → resources-479f1dbd.js} +5 -5
- package/dist/esm/{resources-5648a640.js → resources-659b290a.js} +1 -1
- package/dist/esm/{resources-9cbb6240.js → resources-766e9332.js} +1 -1
- package/dist/esm/{resources-c7dfe6d9.js → resources-a0148a46.js} +1 -1
- package/dist/esm/{resources-96a1345d.js → resources-ac0e4436.js} +1 -1
- package/dist/esm/{resources-36904b1b.js → resources-f2c7fd56.js} +1 -1
- package/dist/esm/{sortable.esm-9210c8e4.js → sortable.esm-65ba7e9c.js} +1 -1
- package/dist/esm/{t9n-802655a2.js → t9n-eec584a4.js} +3 -3
- package/dist/esm/{throttle-252c53c1.js → throttle-91f9ba9c.js} +2 -2
- package/dist/esm/{utils-05a58580.js → utils-8009b5ff.js} +3 -3
- package/dist/esm/{utils-fc71a786.js → utils-f1e16929.js} +1 -1
- package/dist/extras/docs-json.json +20 -3
- package/dist/extras/vscode-data.json +4 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +1 -0
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/types/components/functional/XButton.d.ts +13 -0
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +174 -139
- package/package.json +1 -1
- package/dist/calcite/p-0a2cfcb6.js +0 -6
- package/dist/calcite/p-6880e9a0.entry.js +0 -6
- package/dist/calcite/p-6c30c9f4.js +0 -6
- package/dist/calcite/p-94950bc7.js +0 -6
- package/dist/calcite/p-b7c533bb.entry.js +0 -6
- package/dist/calcite/p-cce6cdae.entry.js +0 -6
- package/dist/calcite/p-e3e45e74.js +0 -6
- package/dist/calcite/p-fb9dd264.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.22
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6911,7 +6911,7 @@ const SLOTS$v = {
|
|
|
6911
6911
|
actionsStart: "actions-start",
|
|
6912
6912
|
actionsEnd: "actions-end"
|
|
6913
6913
|
};
|
|
6914
|
-
const CSS
|
|
6914
|
+
const CSS$10 = {
|
|
6915
6915
|
icon: "icon",
|
|
6916
6916
|
header: "header",
|
|
6917
6917
|
headerContent: "header-content",
|
|
@@ -6982,28 +6982,28 @@ class AccordionItem {
|
|
|
6982
6982
|
// --------------------------------------------------------------------------
|
|
6983
6983
|
renderActionsStart() {
|
|
6984
6984
|
const { el } = this;
|
|
6985
|
-
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS
|
|
6985
|
+
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$10.actionsStart }, hAsync("slot", { name: SLOTS$v.actionsStart }))) : null;
|
|
6986
6986
|
}
|
|
6987
6987
|
renderActionsEnd() {
|
|
6988
6988
|
const { el } = this;
|
|
6989
|
-
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS
|
|
6989
|
+
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$10.actionsEnd }, hAsync("slot", { name: SLOTS$v.actionsEnd }))) : null;
|
|
6990
6990
|
}
|
|
6991
6991
|
render() {
|
|
6992
6992
|
const { iconFlipRtl } = this;
|
|
6993
6993
|
const dir = getElementDir(this.el);
|
|
6994
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS
|
|
6995
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS
|
|
6994
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$10.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6995
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$10.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6996
6996
|
const { description } = this;
|
|
6997
6997
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6998
6998
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6999
6999
|
[`icon-type--${this.iconType}`]: true
|
|
7000
|
-
} }, hAsync("div", { class: { [CSS
|
|
7000
|
+
} }, hAsync("div", { class: { [CSS$10.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$10.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$10.headerContainer }, iconStartEl, hAsync("div", { class: CSS$10.headerText }, hAsync("span", { class: CSS$10.heading }, this.heading), description ? hAsync("span", { class: CSS$10.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$10.expandIcon, icon: this.iconType === "chevron"
|
|
7001
7001
|
? "chevronDown"
|
|
7002
7002
|
: this.iconType === "caret"
|
|
7003
7003
|
? "caretDown"
|
|
7004
7004
|
: this.expanded
|
|
7005
7005
|
? "minus"
|
|
7006
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS
|
|
7006
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$10.content }, hAsync("slot", null)))));
|
|
7007
7007
|
}
|
|
7008
7008
|
//--------------------------------------------------------------------------
|
|
7009
7009
|
//
|
|
@@ -7790,7 +7790,7 @@ function defaultOnMessagesChange() {
|
|
|
7790
7790
|
mergeMessages(this);
|
|
7791
7791
|
}
|
|
7792
7792
|
|
|
7793
|
-
const CSS
|
|
7793
|
+
const CSS$$ = {
|
|
7794
7794
|
button: "button",
|
|
7795
7795
|
buttonTextVisible: "button--text-visible",
|
|
7796
7796
|
buttonCompact: "button--compact",
|
|
@@ -7899,14 +7899,14 @@ class Action {
|
|
|
7899
7899
|
renderTextContainer() {
|
|
7900
7900
|
const { text, textEnabled } = this;
|
|
7901
7901
|
const textContainerClasses = {
|
|
7902
|
-
[CSS
|
|
7903
|
-
[CSS
|
|
7902
|
+
[CSS$$.textContainer]: true,
|
|
7903
|
+
[CSS$$.textContainerVisible]: textEnabled
|
|
7904
7904
|
};
|
|
7905
7905
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7906
7906
|
}
|
|
7907
7907
|
renderIndicatorText() {
|
|
7908
7908
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7909
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS
|
|
7909
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$$.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7910
7910
|
}
|
|
7911
7911
|
renderIconContainer() {
|
|
7912
7912
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7917,18 +7917,18 @@ class Action {
|
|
|
7917
7917
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7918
7918
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7919
7919
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7920
|
-
[CSS
|
|
7921
|
-
[CSS
|
|
7920
|
+
[CSS$$.slotContainer]: true,
|
|
7921
|
+
[CSS$$.slotContainerHidden]: loading
|
|
7922
7922
|
} }, hAsync("slot", null)));
|
|
7923
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS
|
|
7923
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$$.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7924
7924
|
}
|
|
7925
7925
|
render() {
|
|
7926
7926
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7927
7927
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7928
7928
|
const buttonClasses = {
|
|
7929
|
-
[CSS
|
|
7930
|
-
[CSS
|
|
7931
|
-
[CSS
|
|
7929
|
+
[CSS$$.button]: true,
|
|
7930
|
+
[CSS$$.buttonTextVisible]: textEnabled,
|
|
7931
|
+
[CSS$$.buttonCompact]: compact
|
|
7932
7932
|
};
|
|
7933
7933
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7934
7934
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9241,7 +9241,7 @@ const ICONS$h = {
|
|
|
9241
9241
|
menu: "ellipsis"
|
|
9242
9242
|
};
|
|
9243
9243
|
|
|
9244
|
-
const CSS$
|
|
9244
|
+
const CSS$_ = {
|
|
9245
9245
|
menu: "menu",
|
|
9246
9246
|
defaultTrigger: "default-trigger"
|
|
9247
9247
|
};
|
|
@@ -9343,7 +9343,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9343
9343
|
return actionNode;
|
|
9344
9344
|
};
|
|
9345
9345
|
|
|
9346
|
-
const CSS$
|
|
9346
|
+
const CSS$Z = {
|
|
9347
9347
|
actionGroupBottom: "action-group--bottom"
|
|
9348
9348
|
};
|
|
9349
9349
|
const SLOTS$r = {
|
|
@@ -9531,7 +9531,7 @@ class ActionBar {
|
|
|
9531
9531
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9532
9532
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9533
9533
|
ref: this.setExpandToggleRef })) : null;
|
|
9534
|
-
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9534
|
+
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Z.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
9535
9535
|
}
|
|
9536
9536
|
render() {
|
|
9537
9537
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9937,7 +9937,7 @@ class ActionMenu {
|
|
|
9937
9937
|
}
|
|
9938
9938
|
renderMenuButton() {
|
|
9939
9939
|
const { label, scale, expanded } = this;
|
|
9940
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9940
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$_.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9941
9941
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9942
9942
|
ref: this.setDefaultMenuButtonEl })));
|
|
9943
9943
|
return menuButtonSlot;
|
|
@@ -9946,7 +9946,7 @@ class ActionMenu {
|
|
|
9946
9946
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9947
9947
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9948
9948
|
const activeDescendantId = activeAction?.id || null;
|
|
9949
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
9949
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$_.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9950
9950
|
}
|
|
9951
9951
|
render() {
|
|
9952
9952
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9982,7 +9982,7 @@ class ActionMenu {
|
|
|
9982
9982
|
}; }
|
|
9983
9983
|
}
|
|
9984
9984
|
|
|
9985
|
-
const CSS$
|
|
9985
|
+
const CSS$Y = {
|
|
9986
9986
|
actionGroupBottom: "action-group--bottom",
|
|
9987
9987
|
container: "container"
|
|
9988
9988
|
};
|
|
@@ -10102,10 +10102,10 @@ class ActionPad {
|
|
|
10102
10102
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
10103
10103
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10104
10104
|
ref: this.setExpandToggleRef })) : null;
|
|
10105
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10105
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Y.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
10106
10106
|
}
|
|
10107
10107
|
render() {
|
|
10108
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10108
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$Y.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10109
10109
|
}
|
|
10110
10110
|
static get delegatesFocus() { return true; }
|
|
10111
10111
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10241,7 +10241,7 @@ const SLOTS$p = {
|
|
|
10241
10241
|
message: "message",
|
|
10242
10242
|
link: "link"
|
|
10243
10243
|
};
|
|
10244
|
-
const CSS$
|
|
10244
|
+
const CSS$X = {
|
|
10245
10245
|
actionsEnd: "actions-end",
|
|
10246
10246
|
container: "container",
|
|
10247
10247
|
close: "alert-close",
|
|
@@ -10399,10 +10399,10 @@ class Alert {
|
|
|
10399
10399
|
container: true,
|
|
10400
10400
|
queued,
|
|
10401
10401
|
[placement]: true,
|
|
10402
|
-
[CSS$
|
|
10402
|
+
[CSS$X.slottedInShell]: this.slottedInShell
|
|
10403
10403
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10404
10404
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10405
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$
|
|
10405
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$X.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10406
10406
|
}
|
|
10407
10407
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10408
10408
|
alertSync(event) {
|
|
@@ -10860,7 +10860,7 @@ const Heading = (props, children) => {
|
|
|
10860
10860
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10861
10861
|
};
|
|
10862
10862
|
|
|
10863
|
-
const CSS$
|
|
10863
|
+
const CSS$W = {
|
|
10864
10864
|
container: "container",
|
|
10865
10865
|
content: "content",
|
|
10866
10866
|
headerContainer: "header-container",
|
|
@@ -10971,31 +10971,31 @@ class Block {
|
|
|
10971
10971
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10972
10972
|
const hasIcon = getSlotted(el, SLOTS$o.icon) || statusIcon;
|
|
10973
10973
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$o.icon })) : (hAsync("calcite-icon", { class: {
|
|
10974
|
-
[CSS$
|
|
10975
|
-
[CSS$
|
|
10976
|
-
[CSS$
|
|
10977
|
-
[CSS$
|
|
10974
|
+
[CSS$W.statusIcon]: true,
|
|
10975
|
+
[CSS$W.valid]: status == "valid",
|
|
10976
|
+
[CSS$W.invalid]: status == "invalid",
|
|
10977
|
+
[CSS$W.loading]: showingLoadingStatus
|
|
10978
10978
|
}, icon: statusIcon, scale: "m" }));
|
|
10979
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
10979
|
+
return hasIcon ? hAsync("div", { class: CSS$W.icon }, iconEl) : null;
|
|
10980
10980
|
}
|
|
10981
10981
|
renderTitle() {
|
|
10982
10982
|
const { heading, headingLevel, description } = this;
|
|
10983
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
10983
|
+
return heading || description ? (hAsync("div", { class: CSS$W.title }, hAsync(Heading, { class: CSS$W.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$W.description }, description) : null)) : null;
|
|
10984
10984
|
}
|
|
10985
10985
|
render() {
|
|
10986
10986
|
const { collapsible, el, loading, open, messages } = this;
|
|
10987
10987
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10988
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10988
|
+
const headerContent = (hAsync("header", { class: CSS$W.header }, this.renderIcon(), this.renderTitle()));
|
|
10989
10989
|
const hasControl = !!getSlotted(el, SLOTS$o.control);
|
|
10990
10990
|
const hasMenuActions = !!getSlotted(el, SLOTS$o.headerMenuActions);
|
|
10991
10991
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10992
10992
|
const { guid } = this;
|
|
10993
10993
|
const regionId = `${guid}-region`;
|
|
10994
10994
|
const buttonId = `${guid}-button`;
|
|
10995
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
10995
|
+
const headerNode = (hAsync("div", { class: CSS$W.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$W.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$W.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$W.controlContainer }, hAsync("slot", { name: SLOTS$o.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$o.headerMenuActions }))) : null));
|
|
10996
10996
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10997
|
-
[CSS$
|
|
10998
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10997
|
+
[CSS$W.container]: true
|
|
10998
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$W.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10999
10999
|
}
|
|
11000
11000
|
static get assetsDirs() { return ["assets"]; }
|
|
11001
11001
|
get el() { return getElement(this); }
|
|
@@ -11028,7 +11028,7 @@ class Block {
|
|
|
11028
11028
|
}; }
|
|
11029
11029
|
}
|
|
11030
11030
|
|
|
11031
|
-
const CSS$
|
|
11031
|
+
const CSS$V = {
|
|
11032
11032
|
content: "content",
|
|
11033
11033
|
invalid: "invalid",
|
|
11034
11034
|
toggle: "toggle",
|
|
@@ -11114,9 +11114,9 @@ class BlockSection {
|
|
|
11114
11114
|
const { status } = this;
|
|
11115
11115
|
const statusIcon = ICONS$d[status] ?? false;
|
|
11116
11116
|
const statusIconClasses = {
|
|
11117
|
-
[CSS$
|
|
11118
|
-
[CSS$
|
|
11119
|
-
[CSS$
|
|
11117
|
+
[CSS$V.statusIcon]: true,
|
|
11118
|
+
[CSS$V.valid]: status == "valid",
|
|
11119
|
+
[CSS$V.invalid]: status == "invalid"
|
|
11120
11120
|
};
|
|
11121
11121
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11122
11122
|
}
|
|
@@ -11133,13 +11133,13 @@ class BlockSection {
|
|
|
11133
11133
|
const regionId = `${guid}-region`;
|
|
11134
11134
|
const buttonId = `${guid}-button`;
|
|
11135
11135
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11136
|
-
[CSS$
|
|
11137
|
-
[CSS$
|
|
11138
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11139
|
-
[CSS$
|
|
11140
|
-
[CSS$
|
|
11141
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11142
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11136
|
+
[CSS$V.toggle]: true,
|
|
11137
|
+
[CSS$V.toggleSwitch]: true
|
|
11138
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$V.toggleSwitchContent }, hAsync("span", { class: CSS$V.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11139
|
+
[CSS$V.sectionHeader]: true,
|
|
11140
|
+
[CSS$V.toggle]: true
|
|
11141
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$V.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11142
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$V.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11143
11143
|
}
|
|
11144
11144
|
static get assetsDirs() { return ["assets"]; }
|
|
11145
11145
|
get el() { return getElement(this); }
|
|
@@ -11550,7 +11550,7 @@ function onLabelDisconnected() {
|
|
|
11550
11550
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11551
11551
|
}
|
|
11552
11552
|
|
|
11553
|
-
const CSS$
|
|
11553
|
+
const CSS$U = {
|
|
11554
11554
|
buttonLoader: "calcite-button--loader",
|
|
11555
11555
|
content: "content",
|
|
11556
11556
|
contentSlotted: "content--slotted",
|
|
@@ -11676,17 +11676,17 @@ class Button {
|
|
|
11676
11676
|
render() {
|
|
11677
11677
|
const childElType = this.href ? "a" : "button";
|
|
11678
11678
|
const Tag = childElType;
|
|
11679
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11679
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$U.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$U.loadingIn : CSS$U.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11680
11680
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11681
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11682
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11683
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11681
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$U.icon]: true, [CSS$U.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11682
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$U.icon]: true, [CSS$U.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11683
|
+
const contentEl = (hAsync("span", { class: CSS$U.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11684
11684
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11685
|
-
[CSS$
|
|
11686
|
-
[CSS$
|
|
11687
|
-
[CSS$
|
|
11688
|
-
[CSS$
|
|
11689
|
-
[CSS$
|
|
11685
|
+
[CSS$U.buttonPadding]: noStartEndIcons,
|
|
11686
|
+
[CSS$U.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11687
|
+
[CSS$U.contentSlotted]: this.hasContent,
|
|
11688
|
+
[CSS$U.iconStartEmpty]: !this.iconStart,
|
|
11689
|
+
[CSS$U.iconEndEmpty]: !this.iconEnd
|
|
11690
11690
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11691
11691
|
}
|
|
11692
11692
|
//--------------------------------------------------------------------------
|
|
@@ -11936,7 +11936,7 @@ class CalciteMenu {
|
|
|
11936
11936
|
}; }
|
|
11937
11937
|
}
|
|
11938
11938
|
|
|
11939
|
-
const CSS$
|
|
11939
|
+
const CSS$T = {
|
|
11940
11940
|
container: "container",
|
|
11941
11941
|
content: "content",
|
|
11942
11942
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12140,52 +12140,52 @@ class CalciteMenuItem {
|
|
|
12140
12140
|
//
|
|
12141
12141
|
//--------------------------------------------------------------------------
|
|
12142
12142
|
renderIconStart() {
|
|
12143
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12143
|
+
return (hAsync("calcite-icon", { class: `${CSS$T.icon} ${CSS$T.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$T.iconStart, scale: "s" }));
|
|
12144
12144
|
}
|
|
12145
12145
|
renderIconEnd() {
|
|
12146
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12146
|
+
return (hAsync("calcite-icon", { class: `${CSS$T.icon} ${CSS$T.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$T.iconEnd, scale: "s" }));
|
|
12147
12147
|
}
|
|
12148
12148
|
renderBreadcrumbIcon(dir) {
|
|
12149
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12149
|
+
return (hAsync("calcite-icon", { class: `${CSS$T.icon} ${CSS$T.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$T.iconBreadcrumb, scale: "s" }));
|
|
12150
12150
|
}
|
|
12151
12151
|
renderDropdownIcon(dir) {
|
|
12152
12152
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12153
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12153
|
+
return (hAsync("calcite-icon", { class: `${CSS$T.icon} ${CSS$T.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12154
12154
|
? this.open
|
|
12155
12155
|
? "chevron-up"
|
|
12156
12156
|
: "chevron-down"
|
|
12157
|
-
: dirChevron, key: CSS$
|
|
12157
|
+
: dirChevron, key: CSS$T.iconDropdown, scale: "s" }));
|
|
12158
12158
|
}
|
|
12159
12159
|
renderDropdownAction(dir) {
|
|
12160
12160
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12161
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12161
|
+
return (hAsync("calcite-action", { class: CSS$T.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12162
12162
|
? this.open
|
|
12163
12163
|
? "chevron-up"
|
|
12164
12164
|
: "chevron-down"
|
|
12165
|
-
: dirChevron, key: CSS$
|
|
12165
|
+
: dirChevron, key: CSS$T.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12166
12166
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12167
12167
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12168
12168
|
}
|
|
12169
12169
|
renderSubmenuItems(dir) {
|
|
12170
12170
|
return (hAsync("calcite-menu", { class: {
|
|
12171
|
-
[CSS$
|
|
12172
|
-
[CSS$
|
|
12173
|
-
[CSS$
|
|
12171
|
+
[CSS$T.dropdownMenuItems]: true,
|
|
12172
|
+
[CSS$T.open]: this.open,
|
|
12173
|
+
[CSS$T.nested]: !this.isTopLevelItem,
|
|
12174
12174
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12175
|
-
[CSS$
|
|
12175
|
+
[CSS$T.dropdownVertical]: this.topLevelMenuLayout === "vertical"
|
|
12176
12176
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12177
12177
|
}
|
|
12178
12178
|
renderItemContent(dir) {
|
|
12179
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12179
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$T.textContainer }, hAsync("span", null, this.text)), !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null, this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, this.iconEnd && this.renderIconEnd()));
|
|
12180
12180
|
}
|
|
12181
12181
|
render() {
|
|
12182
12182
|
const dir = getElementDir(this.el);
|
|
12183
12183
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12184
|
-
[CSS$
|
|
12185
|
-
[CSS$
|
|
12186
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12184
|
+
[CSS$T.container]: true,
|
|
12185
|
+
[CSS$T.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
12186
|
+
}, role: "none" }, hAsync("div", { class: CSS$T.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$T.layoutVertical]: this.layout === "vertical", [CSS$T.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12187
12187
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12188
|
-
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && this.topLevelMenuLayout === "vertical" ? (hAsync("calcite-icon", { class: CSS$
|
|
12188
|
+
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && this.topLevelMenuLayout === "vertical" ? (hAsync("calcite-icon", { class: CSS$T.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", scale: "s" })) : null), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12189
12189
|
}
|
|
12190
12190
|
static get assetsDirs() { return ["assets"]; }
|
|
12191
12191
|
get el() { return getElement(this); }
|
|
@@ -12226,7 +12226,7 @@ class CalciteMenuItem {
|
|
|
12226
12226
|
}; }
|
|
12227
12227
|
}
|
|
12228
12228
|
|
|
12229
|
-
const CSS$
|
|
12229
|
+
const CSS$S = {
|
|
12230
12230
|
container: "container",
|
|
12231
12231
|
header: "header",
|
|
12232
12232
|
footer: "footer",
|
|
@@ -12311,7 +12311,7 @@ class Card {
|
|
|
12311
12311
|
render() {
|
|
12312
12312
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
12313
12313
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
12314
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
12314
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$S.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
12315
12315
|
}
|
|
12316
12316
|
effectiveLocaleChange() {
|
|
12317
12317
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -12321,24 +12321,24 @@ class Card {
|
|
|
12321
12321
|
this.calciteCardSelect.emit();
|
|
12322
12322
|
}
|
|
12323
12323
|
renderThumbnail() {
|
|
12324
|
-
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$
|
|
12324
|
+
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$S.thumbnailWrapper }, hAsync("slot", { name: SLOTS$n.thumbnail }))) : null;
|
|
12325
12325
|
}
|
|
12326
12326
|
renderCheckbox() {
|
|
12327
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
12327
|
+
return (hAsync("calcite-label", { class: CSS$S.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
12328
12328
|
}
|
|
12329
12329
|
renderHeader() {
|
|
12330
12330
|
const { el } = this;
|
|
12331
12331
|
const title = getSlotted(el, SLOTS$n.title);
|
|
12332
12332
|
const subtitle = getSlotted(el, SLOTS$n.subtitle);
|
|
12333
12333
|
const hasHeader = title || subtitle;
|
|
12334
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
12334
|
+
return hasHeader ? (hAsync("header", { class: CSS$S.header }, hAsync("slot", { name: SLOTS$n.title }), hAsync("slot", { name: SLOTS$n.subtitle }))) : null;
|
|
12335
12335
|
}
|
|
12336
12336
|
renderFooter() {
|
|
12337
12337
|
const { el } = this;
|
|
12338
12338
|
const startFooter = getSlotted(el, SLOTS$n.footerStart);
|
|
12339
12339
|
const endFooter = getSlotted(el, SLOTS$n.footerEnd);
|
|
12340
12340
|
const hasFooter = startFooter || endFooter;
|
|
12341
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
12341
|
+
return hasFooter ? (hAsync("footer", { class: CSS$S.footer }, hAsync("slot", { name: SLOTS$n.footerStart }), hAsync("slot", { name: SLOTS$n.footerEnd }))) : null;
|
|
12342
12342
|
}
|
|
12343
12343
|
static get assetsDirs() { return ["assets"]; }
|
|
12344
12344
|
get el() { return getElement(this); }
|
|
@@ -12504,7 +12504,7 @@ class Checkbox {
|
|
|
12504
12504
|
}; }
|
|
12505
12505
|
}
|
|
12506
12506
|
|
|
12507
|
-
const CSS$
|
|
12507
|
+
const CSS$R = {
|
|
12508
12508
|
title: "title",
|
|
12509
12509
|
close: "close",
|
|
12510
12510
|
imageContainer: "image-container",
|
|
@@ -12673,7 +12673,7 @@ class Chip {
|
|
|
12673
12673
|
//
|
|
12674
12674
|
//--------------------------------------------------------------------------
|
|
12675
12675
|
renderChipImage() {
|
|
12676
|
-
return (hAsync("div", { class: CSS$
|
|
12676
|
+
return (hAsync("div", { class: CSS$R.imageContainer }, hAsync("slot", { name: SLOTS$m.image, onSlotchange: this.handleSlotImageChange })));
|
|
12677
12677
|
}
|
|
12678
12678
|
renderSelectionIcon() {
|
|
12679
12679
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -12684,17 +12684,17 @@ class Chip {
|
|
|
12684
12684
|
? ICONS$c.checkedSingle
|
|
12685
12685
|
: undefined;
|
|
12686
12686
|
return (hAsync("div", { class: {
|
|
12687
|
-
[CSS$
|
|
12688
|
-
[CSS$
|
|
12687
|
+
[CSS$R.selectIcon]: true,
|
|
12688
|
+
[CSS$R.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
12689
12689
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
12690
12690
|
}
|
|
12691
12691
|
renderCloseButton() {
|
|
12692
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
12692
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$R.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
12693
12693
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12694
12694
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
12695
12695
|
}
|
|
12696
12696
|
renderIcon() {
|
|
12697
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12697
|
+
return (hAsync("calcite-icon", { class: CSS$R.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
12698
12698
|
}
|
|
12699
12699
|
render() {
|
|
12700
12700
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -12708,21 +12708,21 @@ class Chip {
|
|
|
12708
12708
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
12709
12709
|
? toAriaBoolean(this.selected)
|
|
12710
12710
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
12711
|
-
[CSS$
|
|
12712
|
-
[CSS$
|
|
12713
|
-
[CSS$
|
|
12714
|
-
[CSS$
|
|
12715
|
-
[CSS$
|
|
12716
|
-
[CSS$
|
|
12717
|
-
[CSS$
|
|
12718
|
-
[CSS$
|
|
12711
|
+
[CSS$R.container]: true,
|
|
12712
|
+
[CSS$R.textSlotted]: this.hasText,
|
|
12713
|
+
[CSS$R.imageSlotted]: this.hasImage,
|
|
12714
|
+
[CSS$R.selectable]: this.selectionMode !== "none",
|
|
12715
|
+
[CSS$R.multiple]: this.selectionMode === "multiple",
|
|
12716
|
+
[CSS$R.closable]: this.closable,
|
|
12717
|
+
[CSS$R.nonInteractive]: !this.interactive,
|
|
12718
|
+
[CSS$R.isCircle]: !this.closable &&
|
|
12719
12719
|
!this.hasText &&
|
|
12720
12720
|
(!this.icon || !this.hasImage) &&
|
|
12721
12721
|
(this.selectionMode === "none" ||
|
|
12722
12722
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
12723
12723
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
12724
12724
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12725
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
12725
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$R.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
12726
12726
|
}
|
|
12727
12727
|
static get assetsDirs() { return ["assets"]; }
|
|
12728
12728
|
get el() { return getElement(this); }
|
|
@@ -15047,7 +15047,7 @@ function zeroArray(array, length) {
|
|
|
15047
15047
|
|
|
15048
15048
|
var color = Color;
|
|
15049
15049
|
|
|
15050
|
-
const CSS$
|
|
15050
|
+
const CSS$Q = {
|
|
15051
15051
|
channel: "channel",
|
|
15052
15052
|
channels: "channels",
|
|
15053
15053
|
colorField: "color-field",
|
|
@@ -15367,7 +15367,7 @@ class ColorPicker {
|
|
|
15367
15367
|
const { channelMode: activeChannelMode, messages } = this;
|
|
15368
15368
|
const selected = channelMode === activeChannelMode;
|
|
15369
15369
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
15370
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
15370
|
+
return (hAsync("calcite-tab-title", { class: CSS$Q.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
15371
15371
|
};
|
|
15372
15372
|
this.renderChannelsTab = (channelMode) => {
|
|
15373
15373
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -15378,7 +15378,7 @@ class ColorPicker {
|
|
|
15378
15378
|
: [messages.hue, messages.saturation, messages.value];
|
|
15379
15379
|
const direction = getElementDir(this.el);
|
|
15380
15380
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
15381
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
15381
|
+
return (hAsync("calcite-tab", { class: CSS$Q.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$Q.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
15382
15382
|
const isAlphaChannel = index === 3;
|
|
15383
15383
|
if (isAlphaChannel) {
|
|
15384
15384
|
channelValue =
|
|
@@ -15389,7 +15389,7 @@ class ColorPicker {
|
|
|
15389
15389
|
}))));
|
|
15390
15390
|
};
|
|
15391
15391
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
15392
|
-
return (hAsync("calcite-input", { class: CSS$
|
|
15392
|
+
return (hAsync("calcite-input", { class: CSS$Q.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
15393
15393
|
// workaround to ensure input borders overlap as desired
|
|
15394
15394
|
// this is because the build transforms margin-left to its
|
|
15395
15395
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -15574,7 +15574,7 @@ class ColorPicker {
|
|
|
15574
15574
|
this.shiftKeyChannelAdjustment = 0;
|
|
15575
15575
|
const { key } = event;
|
|
15576
15576
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
15577
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
15577
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$Q.channel))) {
|
|
15578
15578
|
return;
|
|
15579
15579
|
}
|
|
15580
15580
|
const { shiftKey } = event;
|
|
@@ -15661,26 +15661,26 @@ class ColorPicker {
|
|
|
15661
15661
|
const noHex = hexDisabled || hideHex;
|
|
15662
15662
|
const noChannels = channelsDisabled || hideChannels;
|
|
15663
15663
|
const noSaved = savedDisabled || hideSaved;
|
|
15664
|
-
return (hAsync("div", { class: CSS$
|
|
15664
|
+
return (hAsync("div", { class: CSS$Q.container }, hAsync("div", { class: CSS$Q.controlAndScope }, hAsync("canvas", { class: CSS$Q.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
15665
15665
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15666
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
15666
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$Q.scope]: true, [CSS$Q.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
|
|
15667
15667
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15668
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
15668
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$Q.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$Q.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$Q.sliders }, hAsync("div", { class: CSS$Q.controlAndScope }, hAsync("canvas", { class: { [CSS$Q.slider]: true, [CSS$Q.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
15669
15669
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15670
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
15670
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$Q.scope]: true, [CSS$Q.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
|
|
15671
15671
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15672
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
15672
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$Q.controlAndScope }, hAsync("canvas", { class: { [CSS$Q.slider]: true, [CSS$Q.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
15673
15673
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15674
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$
|
|
15674
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$Q.scope]: true, [CSS$Q.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: { top: `${opacityTop}px`, left: `${opacityLeft}px` }, tabindex: "0",
|
|
15675
15675
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15676
15676
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
15677
|
-
[CSS$
|
|
15678
|
-
[CSS$
|
|
15679
|
-
} }, hAsync("div", { class: CSS$
|
|
15680
|
-
[CSS$
|
|
15681
|
-
[CSS$
|
|
15682
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
15683
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
15677
|
+
[CSS$Q.controlSection]: true,
|
|
15678
|
+
[CSS$Q.section]: true
|
|
15679
|
+
} }, hAsync("div", { class: CSS$Q.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$Q.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$Q.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
15680
|
+
[CSS$Q.colorModeContainer]: true,
|
|
15681
|
+
[CSS$Q.splitSection]: true
|
|
15682
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$Q.savedColorsSection]: true, [CSS$Q.section]: true } }, hAsync("div", { class: CSS$Q.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$Q.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$Q.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$Q.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$Q.savedColors }, [
|
|
15683
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$Q.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
15684
15684
|
])) : null))));
|
|
15685
15685
|
}
|
|
15686
15686
|
// --------------------------------------------------------------------------
|
|
@@ -16031,7 +16031,7 @@ class ColorPicker {
|
|
|
16031
16031
|
}; }
|
|
16032
16032
|
}
|
|
16033
16033
|
|
|
16034
|
-
const CSS$
|
|
16034
|
+
const CSS$P = {
|
|
16035
16035
|
container: "container",
|
|
16036
16036
|
hexInput: "hex-input",
|
|
16037
16037
|
opacityInput: "opacity-input"
|
|
@@ -16197,9 +16197,9 @@ class ColorPickerHexInput {
|
|
|
16197
16197
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16198
16198
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16199
16199
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16200
|
-
return (hAsync("div", { class: CSS$
|
|
16200
|
+
return (hAsync("div", { class: CSS$P.container }, hAsync("calcite-input", { class: CSS$P.hexInput, label: messages?.hex || hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onHexInputChange, onCalciteInternalInputBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16201
16201
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16202
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16202
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$P.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16203
16203
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16204
16204
|
ref: this.storeOpacityInputRef })) : null));
|
|
16205
16205
|
}
|
|
@@ -16295,7 +16295,7 @@ class ColorPickerHexInput {
|
|
|
16295
16295
|
}; }
|
|
16296
16296
|
}
|
|
16297
16297
|
|
|
16298
|
-
const CSS$
|
|
16298
|
+
const CSS$O = {
|
|
16299
16299
|
swatch: "swatch",
|
|
16300
16300
|
noColorSwatch: "swatch--no-color",
|
|
16301
16301
|
checker: "checker"
|
|
@@ -16333,8 +16333,8 @@ class ColorPickerSwatch {
|
|
|
16333
16333
|
render() {
|
|
16334
16334
|
const isEmpty = !this.internalColor;
|
|
16335
16335
|
const classes = {
|
|
16336
|
-
[CSS$
|
|
16337
|
-
[CSS$
|
|
16336
|
+
[CSS$O.swatch]: true,
|
|
16337
|
+
[CSS$O.noColorSwatch]: isEmpty
|
|
16338
16338
|
};
|
|
16339
16339
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
16340
16340
|
}
|
|
@@ -16360,7 +16360,7 @@ class ColorPickerSwatch {
|
|
|
16360
16360
|
const alpha = internalColor.alpha();
|
|
16361
16361
|
const hex = hexify(internalColor);
|
|
16362
16362
|
const hexa = hexify(internalColor, alpha < 1);
|
|
16363
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
16363
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$O.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$O.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
16364
16364
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`
|
|
16365
16365
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
16366
16366
|
}
|
|
@@ -18137,7 +18137,17 @@ function getDepth$1(element) {
|
|
|
18137
18137
|
}
|
|
18138
18138
|
}
|
|
18139
18139
|
|
|
18140
|
-
const
|
|
18140
|
+
const CSS$N = {
|
|
18141
|
+
button: "x-button"
|
|
18142
|
+
};
|
|
18143
|
+
function XButton({ disabled, key, label, onClick, ref, scale }) {
|
|
18144
|
+
return (hAsync("button", { "aria-label": label, class: CSS$N.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18145
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
18146
|
+
ref: ref },
|
|
18147
|
+
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
18148
|
+
}
|
|
18149
|
+
|
|
18150
|
+
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-combobox:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-combobox{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-combobox{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-combobox{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-combobox-h *.sc-calcite-combobox,.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>*{pointer-events:none}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1rem;block-size:1rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1.5rem;block-size:1.5rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:2rem;block-size:2rem}/*!@.x-button*/.x-button.sc-calcite-combobox{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-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-ui-foreground-2)}/*!@.x-button:active, .x-button:hover*/.x-button.sc-calcite-combobox:active,.x-button.sc-calcite-combobox:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.x-button:active*/.x-button.sc-calcite-combobox:active{border-style:solid;border-color:var(--calcite-ui-brand)}/*!@.x-button calcite-icon*/.x-button.sc-calcite-combobox calcite-icon.sc-calcite-combobox{color:inherit}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{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:1.5rem}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{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:2rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{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:2.75rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:1rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-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,\n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{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*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end,\n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{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-app-z-index);border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n .floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{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*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>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}";
|
|
18141
18151
|
|
|
18142
18152
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
18143
18153
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -18172,11 +18182,6 @@ class Combobox {
|
|
|
18172
18182
|
this.inputHeight = 0;
|
|
18173
18183
|
this.ignoreSelectedEventsFlag = false;
|
|
18174
18184
|
this.openTransitionProp = "opacity";
|
|
18175
|
-
// --------------------------------------------------------------------------
|
|
18176
|
-
//
|
|
18177
|
-
// Private Methods
|
|
18178
|
-
//
|
|
18179
|
-
// --------------------------------------------------------------------------
|
|
18180
18185
|
this.setFilteredPlacements = () => {
|
|
18181
18186
|
const { el, flipPlacements } = this;
|
|
18182
18187
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -18190,7 +18195,7 @@ class Combobox {
|
|
|
18190
18195
|
this.onLabelClick = () => {
|
|
18191
18196
|
this.setFocus();
|
|
18192
18197
|
};
|
|
18193
|
-
this.
|
|
18198
|
+
this.keyDownHandler = (event) => {
|
|
18194
18199
|
const { key } = event;
|
|
18195
18200
|
switch (key) {
|
|
18196
18201
|
case "Tab":
|
|
@@ -18265,6 +18270,9 @@ class Combobox {
|
|
|
18265
18270
|
}
|
|
18266
18271
|
break;
|
|
18267
18272
|
case "Escape":
|
|
18273
|
+
if (!this.clearDisabled && !this.open) {
|
|
18274
|
+
this.clearValue();
|
|
18275
|
+
}
|
|
18268
18276
|
this.open = false;
|
|
18269
18277
|
event.preventDefault();
|
|
18270
18278
|
break;
|
|
@@ -18328,9 +18336,15 @@ class Combobox {
|
|
|
18328
18336
|
this.calciteComboboxChipClose.emit();
|
|
18329
18337
|
};
|
|
18330
18338
|
this.clickHandler = (event) => {
|
|
18331
|
-
|
|
18339
|
+
const composedPath = event.composedPath();
|
|
18340
|
+
if (composedPath.some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
18332
18341
|
this.open = false;
|
|
18333
|
-
event.
|
|
18342
|
+
event.preventDefault();
|
|
18343
|
+
return;
|
|
18344
|
+
}
|
|
18345
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$N.button))) {
|
|
18346
|
+
this.clearValue();
|
|
18347
|
+
event.preventDefault();
|
|
18334
18348
|
return;
|
|
18335
18349
|
}
|
|
18336
18350
|
this.open = !this.open;
|
|
@@ -18443,6 +18457,7 @@ class Combobox {
|
|
|
18443
18457
|
this.comboboxBlurHandler = (event) => {
|
|
18444
18458
|
this.setInactiveIfNotContained(event);
|
|
18445
18459
|
};
|
|
18460
|
+
this.clearDisabled = false;
|
|
18446
18461
|
this.open = false;
|
|
18447
18462
|
this.disabled = false;
|
|
18448
18463
|
this.form = undefined;
|
|
@@ -18621,6 +18636,23 @@ class Combobox {
|
|
|
18621
18636
|
effectiveLocaleChange() {
|
|
18622
18637
|
updateMessages(this, this.effectiveLocale);
|
|
18623
18638
|
}
|
|
18639
|
+
// --------------------------------------------------------------------------
|
|
18640
|
+
//
|
|
18641
|
+
// Private Methods
|
|
18642
|
+
//
|
|
18643
|
+
// --------------------------------------------------------------------------
|
|
18644
|
+
clearValue() {
|
|
18645
|
+
this.ignoreSelectedEventsFlag = true;
|
|
18646
|
+
this.items.forEach((el) => (el.selected = false));
|
|
18647
|
+
this.ignoreSelectedEventsFlag = false;
|
|
18648
|
+
this.selectedItems = [];
|
|
18649
|
+
this.emitComboboxChange();
|
|
18650
|
+
this.open = false;
|
|
18651
|
+
this.updateActiveItemIndex(-1);
|
|
18652
|
+
this.resetText();
|
|
18653
|
+
this.filterItems("");
|
|
18654
|
+
this.setFocus();
|
|
18655
|
+
}
|
|
18624
18656
|
comboboxInViewport() {
|
|
18625
18657
|
const bounding = this.el.getBoundingClientRect();
|
|
18626
18658
|
return (bounding.top >= 0 &&
|
|
@@ -18936,13 +18968,14 @@ class Combobox {
|
|
|
18936
18968
|
render() {
|
|
18937
18969
|
const { guid, label, open } = this;
|
|
18938
18970
|
const single = this.selectionMode === "single";
|
|
18971
|
+
const isClearable = !this.clearDisabled && this.value?.length > 0;
|
|
18939
18972
|
return (hAsync(Host, { onClick: this.comboboxFocusHandler }, hAsync("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "listbox", "aria-label": getLabelText(this), "aria-live": "polite", "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
18940
18973
|
wrapper: true,
|
|
18941
18974
|
"wrapper--single": single || !this.selectedItems.length,
|
|
18942
18975
|
"wrapper--active": open
|
|
18943
|
-
}, onClick: this.clickHandler, onKeyDown: this.
|
|
18976
|
+
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
|
18944
18977
|
// eslint-disable-next-line react/jsx-sort-props
|
|
18945
|
-
ref: this.setReferenceEl }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
18978
|
+
ref: this.setReferenceEl }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (hAsync(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
18946
18979
|
}
|
|
18947
18980
|
static get assetsDirs() { return ["assets"]; }
|
|
18948
18981
|
get el() { return getElement(this); }
|
|
@@ -18963,6 +18996,7 @@ class Combobox {
|
|
|
18963
18996
|
"$flags$": 9,
|
|
18964
18997
|
"$tagName$": "calcite-combobox",
|
|
18965
18998
|
"$members$": {
|
|
18999
|
+
"clearDisabled": [516, "clear-disabled"],
|
|
18966
19000
|
"open": [1540],
|
|
18967
19001
|
"disabled": [516],
|
|
18968
19002
|
"form": [513],
|
|
@@ -18997,7 +19031,7 @@ class Combobox {
|
|
|
18997
19031
|
},
|
|
18998
19032
|
"$listeners$": [[5, "pointerdown", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]],
|
|
18999
19033
|
"$lazyBundleId$": "-",
|
|
19000
|
-
"$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["form", "form"], ["placeholderIcon", "placeholder-icon"], ["placeholderIconFlipRtl", "placeholder-icon-flip-rtl"], ["maxItems", "max-items"], ["name", "name"], ["allowCustomValues", "allow-custom-values"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
|
|
19034
|
+
"$attrsToReflect$": [["clearDisabled", "clear-disabled"], ["open", "open"], ["disabled", "disabled"], ["form", "form"], ["placeholderIcon", "placeholder-icon"], ["placeholderIconFlipRtl", "placeholder-icon-flip-rtl"], ["maxItems", "max-items"], ["name", "name"], ["allowCustomValues", "allow-custom-values"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
|
|
19001
19035
|
}; }
|
|
19002
19036
|
}
|
|
19003
19037
|
|
|
@@ -19065,11 +19099,12 @@ class ComboboxItem {
|
|
|
19065
19099
|
// Private Methods
|
|
19066
19100
|
//
|
|
19067
19101
|
// --------------------------------------------------------------------------
|
|
19068
|
-
toggleSelected(
|
|
19069
|
-
|
|
19102
|
+
toggleSelected() {
|
|
19103
|
+
const isSingleSelect = getElementProp(this.el, "selection-mode", "multiple") === "single";
|
|
19104
|
+
if (this.disabled || (isSingleSelect && this.selected)) {
|
|
19070
19105
|
return;
|
|
19071
19106
|
}
|
|
19072
|
-
this.selected =
|
|
19107
|
+
this.selected = !this.selected;
|
|
19073
19108
|
}
|
|
19074
19109
|
// --------------------------------------------------------------------------
|
|
19075
19110
|
//
|