@esri/calcite-components 1.0.0-next.672 → 1.0.0-next.674
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-34d59235.entry.js → p-082eb1ec.entry.js} +2 -2
- package/dist/calcite/{p-a1d589d6.js → p-0d7b790c.js} +2 -2
- package/dist/calcite/{p-60cd65d7.entry.js → p-18de6cfb.entry.js} +2 -2
- package/dist/calcite/{p-d2badf90.js → p-194f2716.js} +1 -1
- package/dist/calcite/{p-d5005a2a.js → p-1969be52.js} +1 -1
- package/dist/calcite/{p-04ae65f3.entry.js → p-197ab46b.entry.js} +2 -2
- package/dist/calcite/{p-8c277904.js → p-1c89760d.js} +1 -1
- package/dist/calcite/{p-cacd4065.entry.js → p-1cb09d8b.entry.js} +2 -2
- package/dist/calcite/{p-f2575246.entry.js → p-1e1bf453.entry.js} +2 -2
- package/dist/calcite/p-26fb89dd.js +6 -0
- package/dist/calcite/{p-ac63f2f8.entry.js → p-27d44450.entry.js} +2 -2
- package/dist/calcite/{p-0c273062.entry.js → p-2c263eae.entry.js} +2 -2
- package/dist/calcite/{p-3b797e31.js → p-2c98d804.js} +2 -2
- package/dist/calcite/{p-a34004e9.js → p-2d45df96.js} +1 -1
- package/dist/calcite/{p-3db0eed6.entry.js → p-2e55c107.entry.js} +2 -2
- package/dist/calcite/{p-532dcbf8.entry.js → p-2e76d6aa.entry.js} +2 -2
- package/dist/calcite/{p-ce1a08b8.js → p-3234c6e2.js} +1 -1
- package/dist/calcite/{p-b175ec20.entry.js → p-3245800d.entry.js} +2 -2
- package/dist/calcite/{p-b2226e04.js → p-39b6fc12.js} +2 -2
- package/dist/calcite/{p-ce51833b.entry.js → p-3a955ac2.entry.js} +2 -2
- package/dist/calcite/{p-b94e7cf5.entry.js → p-3da19e02.entry.js} +2 -2
- package/dist/calcite/{p-c66f25c4.js → p-3f76ae5b.js} +2 -2
- package/dist/calcite/{p-8aa4c48b.js → p-3faeb3e4.js} +2 -2
- package/dist/calcite/{p-2bcb7ed8.entry.js → p-40ba3408.entry.js} +2 -2
- package/dist/calcite/p-42e83f69.js +6 -0
- package/dist/calcite/{p-806e2edd.entry.js → p-43d870a5.entry.js} +2 -2
- package/dist/calcite/{p-b629de77.js → p-44ca79c0.js} +1 -1
- package/dist/calcite/{p-aefc6a33.entry.js → p-4574b0f9.entry.js} +2 -2
- package/dist/calcite/{p-87a2c5f8.js → p-48b32c70.js} +2 -2
- package/dist/calcite/p-49597077.js +6 -0
- package/dist/calcite/{p-7d7a82c4.js → p-4af080d3.js} +1 -1
- package/dist/calcite/p-4ebabdd9.entry.js +6 -0
- package/dist/calcite/p-555d89d8.js +6 -0
- package/dist/calcite/{p-eadda9da.entry.js → p-55e4d553.entry.js} +2 -2
- package/dist/calcite/{p-6e4ff2e4.entry.js → p-56c83cd8.entry.js} +2 -2
- package/dist/calcite/{p-92bcf3fb.entry.js → p-5b9f3309.entry.js} +2 -2
- package/dist/calcite/{p-f9416714.js → p-5c6afd3f.js} +1 -1
- package/dist/calcite/{p-432b442e.entry.js → p-5d2c7e3b.entry.js} +2 -2
- package/dist/calcite/{p-29564a32.entry.js → p-615dad4a.entry.js} +2 -2
- package/dist/calcite/{p-c4f38d06.entry.js → p-63155d55.entry.js} +2 -2
- package/dist/calcite/{p-8bc3070f.js → p-6467273e.js} +1 -1
- package/dist/calcite/{p-9a90b1d9.entry.js → p-651e182d.entry.js} +2 -2
- package/dist/calcite/{p-5ea62ae2.entry.js → p-663aec6b.entry.js} +2 -2
- package/dist/calcite/{p-2eacf4f2.entry.js → p-693fc760.entry.js} +2 -2
- package/dist/calcite/p-73b4f690.entry.js +6 -0
- package/dist/calcite/{p-0bf76d5f.js → p-7aa12365.js} +1 -1
- package/dist/calcite/{p-432711a4.entry.js → p-7d5591ca.entry.js} +2 -2
- package/dist/calcite/p-805c6679.entry.js +6 -0
- package/dist/calcite/{p-6bf3c17b.entry.js → p-8191c64c.entry.js} +2 -2
- package/dist/calcite/{p-f9fe8d30.js → p-82962a77.js} +1 -1
- package/dist/calcite/{p-14df81ce.entry.js → p-870186f8.entry.js} +2 -2
- package/dist/calcite/p-89742b6a.entry.js +6 -0
- package/dist/calcite/{p-2b0ce648.entry.js → p-8a6a7bc7.entry.js} +2 -2
- package/dist/calcite/p-916a0073.entry.js +6 -0
- package/dist/calcite/{p-d7caf02e.entry.js → p-931a3343.entry.js} +2 -2
- package/dist/calcite/{p-18b6324f.js → p-98ff1ba2.js} +2 -2
- package/dist/calcite/{p-3ff4f800.entry.js → p-9c404c83.entry.js} +2 -2
- package/dist/calcite/{p-b92e80a0.entry.js → p-9c44f7e4.entry.js} +2 -2
- package/dist/calcite/{p-3461834a.entry.js → p-a089c2e7.entry.js} +2 -2
- package/dist/calcite/{p-9cf0c45a.entry.js → p-a1ea049f.entry.js} +2 -2
- package/dist/calcite/{p-f363d522.js → p-a304b66d.js} +2 -2
- package/dist/calcite/p-a722e2ba.entry.js +6 -0
- package/dist/calcite/{p-7f81bbd3.js → p-a7715ef4.js} +1 -1
- package/dist/calcite/{p-13246aad.entry.js → p-a8f8f623.entry.js} +2 -2
- package/dist/calcite/p-a955e9cb.entry.js +6 -0
- package/dist/calcite/{p-f68b009f.entry.js → p-a958a689.entry.js} +2 -2
- package/dist/calcite/{p-4a536572.entry.js → p-adb77b5c.entry.js} +2 -2
- package/dist/calcite/p-ae75a9d2.entry.js +6 -0
- package/dist/calcite/{p-3805496e.entry.js → p-b1c53847.entry.js} +2 -2
- package/dist/calcite/{p-a76ffa80.js → p-b6284898.js} +2 -2
- package/dist/calcite/{p-32520128.entry.js → p-bdcc6318.entry.js} +2 -2
- package/dist/calcite/{p-40361781.js → p-c4142f90.js} +2 -2
- package/dist/calcite/{p-fcd9a3f8.entry.js → p-c5777c55.entry.js} +2 -2
- package/dist/calcite/{p-31bd7e2f.js → p-ca64dead.js} +3 -3
- package/dist/calcite/{p-05892830.entry.js → p-cbe03527.entry.js} +2 -2
- package/dist/calcite/{p-655e4f06.entry.js → p-d0b35026.entry.js} +2 -2
- package/dist/calcite/p-d7a51e97.entry.js +6 -0
- package/dist/calcite/{p-ba646fbf.entry.js → p-da07a398.entry.js} +2 -2
- package/dist/calcite/{p-d66cd1da.entry.js → p-daa9f29a.entry.js} +2 -2
- package/dist/calcite/{p-edbdef6f.entry.js → p-dc8a50b4.entry.js} +2 -2
- package/dist/calcite/{p-d46bee4a.js → p-dd422e64.js} +1 -1
- package/dist/calcite/{p-ad2977b3.entry.js → p-dddeb51b.entry.js} +2 -2
- package/dist/calcite/{p-7201cfde.js → p-e53b118e.js} +1 -1
- package/dist/calcite/p-ebe5834e.entry.js +6 -0
- package/dist/calcite/{p-d7b647fd.js → p-f0598a55.js} +1 -1
- package/dist/calcite/{p-b68383ac.entry.js → p-f351a5f5.entry.js} +2 -2
- package/dist/calcite/{p-f3f01c59.entry.js → p-f62e6653.entry.js} +2 -2
- package/dist/calcite/{p-b1afdc0c.js → p-f6ef0d50.js} +1 -1
- package/dist/calcite/{p-df2d941e.entry.js → p-f76106cf.entry.js} +2 -2
- package/dist/calcite/{p-7ea27317.entry.js → p-fbfbf04c.entry.js} +2 -2
- package/dist/calcite/{p-5067db72.entry.js → p-fd8ff5c4.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d6fcd02b.js → ExpandToggle-9a6fec99.js} +5 -5
- package/dist/cjs/{Heading-32d2b787.js → Heading-2050a03c.js} +2 -2
- package/dist/cjs/{app-globals-f1597dc0.js → app-globals-6b495990.js} +2 -2
- package/dist/cjs/{array-6921ab6b.js → array-0cac9b45.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +11 -11
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +29 -54
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
- 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 +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- 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 +10 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- 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-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- 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 +9 -9
- 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 +8 -8
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-98a903ba.js → conditionalSlot-aa1e12b9.js} +3 -3
- package/dist/cjs/{debounce-ed4e5dbc.js → debounce-ac2c6bff.js} +1 -1
- package/dist/cjs/{dom-a819d514.js → dom-67f06ffe.js} +3 -3
- package/dist/cjs/{filter-c5affbce.js → filter-a2623c1a.js} +2 -2
- package/dist/cjs/{floating-ui-045bef74.js → floating-ui-315fae44.js} +130 -59
- package/dist/cjs/{focusTrapComponent-6a5e6b59.js → focusTrapComponent-bab89b34.js} +3 -4
- package/dist/cjs/{form-631d94fe.js → form-1a492583.js} +3 -3
- package/dist/cjs/{guid-4327a17f.js → guid-98939830.js} +1 -1
- package/dist/cjs/{index-ffc98317.js → index-89d4f0d4.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-4cdab5e1.js → interactive-08c21a9e.js} +1 -1
- package/dist/cjs/{interfaces-a1639541.js → interfaces-0fc96e0b.js} +1 -1
- package/dist/cjs/{key-7649c64b.js → key-43adccf2.js} +1 -1
- package/dist/cjs/{label-3baa401f.js → label-10806aab.js} +2 -2
- package/dist/cjs/{loadable-f46da01e.js → loadable-b83d2912.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-65747c40.js → locale-bb6aa41a.js} +4 -4
- package/dist/cjs/{math-3c620b41.js → math-3bda7bab.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-27be5856.js → nonChromiumPlatformUtils-1916cf2a.js} +6 -6
- package/dist/cjs/{observers-a1a1380c.js → observers-4299167a.js} +1 -1
- package/dist/cjs/{openCloseComponent-0bb4f69c.js → openCloseComponent-fa934f91.js} +2 -2
- package/dist/cjs/{resources-b97ae3c4.js → resources-0ca34305.js} +1 -1
- package/dist/cjs/{resources-3ad04b6a.js → resources-35697c7c.js} +5 -5
- package/dist/cjs/{resources-665ef116.js → resources-8d0f5e95.js} +1 -1
- package/dist/cjs/{resources-27fd5958.js → resources-95c0fe4b.js} +1 -1
- package/dist/cjs/{resources-e2101756.js → resources-debb5d92.js} +1 -1
- package/dist/cjs/{resources-d7536e12.js → resources-e9f217ac.js} +3 -3
- package/dist/cjs/{sortable.esm-081b969e.js → sortable.esm-efd1a035.js} +1 -1
- package/dist/cjs/{utils-8f79e232.js → utils-804e953c.js} +1 -1
- 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 +3 -3
- 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 +2 -2
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +5 -5
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +3 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.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/color-picker/color-picker.js +2 -2
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +19 -92
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -22
- 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.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +3 -3
- package/dist/collection/components/dropdown/resources.js +2 -2
- 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 +17 -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/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +0 -1
- package/dist/collection/components/loader/loader.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/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/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/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 +2 -2
- 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/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +2 -2
- package/dist/collection/components/tabs/tabs.js +2 -2
- 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/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/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/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +2 -3
- 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/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/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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.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 +2 -2
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -3
- package/dist/components/calcite-combobox.js +15 -40
- 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 +3 -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-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-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.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 +2 -2
- 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-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/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 +4 -4
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +127 -56
- package/dist/components/focusTrapComponent.js +2 -3
- 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/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +2 -2
- 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 +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.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/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 +3 -3
- 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/esm/{ExpandToggle-be882d97.js → ExpandToggle-5ca0176b.js} +5 -5
- package/dist/esm/{Heading-d9d6a2bd.js → Heading-5d0d1b6d.js} +2 -2
- package/dist/esm/{app-globals-491b8d0f.js → app-globals-49bb7e0d.js} +2 -2
- package/dist/esm/{array-6492d48b.js → array-8ac9537b.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +11 -11
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +11 -11
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +12 -12
- package/dist/esm/calcite-combobox_3.entry.js +29 -54
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- package/dist/esm/calcite-dropdown_3.entry.js +17 -15
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +8 -8
- 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 +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- 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 +10 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +10 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +12 -12
- 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-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- 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 +9 -9
- 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 +8 -8
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-e8996d42.js → conditionalSlot-8462ff98.js} +3 -3
- package/dist/esm/{debounce-60ee31c2.js → debounce-c587ba92.js} +1 -1
- package/dist/esm/{dom-c342229b.js → dom-b7646102.js} +3 -3
- package/dist/esm/{filter-89ec633e.js → filter-8e7c9319.js} +2 -2
- package/dist/esm/{floating-ui-8d520bdb.js → floating-ui-a69f2d99.js} +130 -59
- package/dist/esm/{focusTrapComponent-abb5fa39.js → focusTrapComponent-28e7dca7.js} +3 -4
- package/dist/esm/{form-47c98610.js → form-017d35a8.js} +3 -3
- package/dist/esm/{guid-25cfcb34.js → guid-f3ec568f.js} +1 -1
- package/dist/esm/{index-2b4630f9.js → index-f3ceb464.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-2ed49093.js → interactive-030f1dac.js} +1 -1
- package/dist/esm/{interfaces-23cab187.js → interfaces-70d03ea1.js} +1 -1
- package/dist/esm/{key-034168b5.js → key-33946066.js} +1 -1
- package/dist/esm/{label-5b3c762a.js → label-1708f467.js} +2 -2
- package/dist/esm/{loadable-f3bde1f2.js → loadable-a5cc916b.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-21ca1c13.js → locale-25eb26cf.js} +4 -4
- package/dist/esm/{math-a86e115c.js → math-d2f9aec2.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-165f3ea4.js → nonChromiumPlatformUtils-e2e836d8.js} +6 -6
- package/dist/esm/{observers-93e6f0f5.js → observers-3f92da18.js} +1 -1
- package/dist/esm/{openCloseComponent-4b156b9f.js → openCloseComponent-58b44d0f.js} +2 -2
- package/dist/esm/{resources-39631cd8.js → resources-2967450d.js} +1 -1
- package/dist/esm/{resources-c4d4c197.js → resources-6ca07f11.js} +1 -1
- package/dist/esm/{resources-63a9718a.js → resources-7e9e5fb2.js} +3 -3
- package/dist/esm/{resources-efc703c7.js → resources-ab4ad772.js} +1 -1
- package/dist/esm/{resources-908b3513.js → resources-ee7b1a65.js} +5 -5
- package/dist/esm/{resources-e127cb83.js → resources-fe44c2b2.js} +1 -1
- package/dist/esm/{sortable.esm-0eaea722.js → sortable.esm-efaeb06e.js} +1 -1
- package/dist/esm/{utils-9cf277d0.js → utils-77d5bad3.js} +1 -1
- package/dist/extras/docs-json.json +23 -73
- 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/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +2 -2
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/combobox/combobox.d.ts +3 -20
- package/dist/types/components/combobox-item/combobox-item.d.ts +0 -6
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -0
- package/dist/types/components/tabs/resources.d.ts +1 -1
- package/dist/types/components.d.ts +8 -29
- package/dist/types/preact.d.ts +5 -5
- package/hydrate/index.js +163 -118
- package/package.json +5 -7
- package/dist/calcite/p-02024471.entry.js +0 -6
- package/dist/calcite/p-040d4ed7.entry.js +0 -6
- package/dist/calcite/p-061145c6.js +0 -6
- package/dist/calcite/p-0766cb4e.entry.js +0 -6
- package/dist/calcite/p-43dbad05.entry.js +0 -6
- package/dist/calcite/p-46c8178b.entry.js +0 -6
- package/dist/calcite/p-6551e4bd.entry.js +0 -6
- package/dist/calcite/p-6bdfd350.entry.js +0 -6
- package/dist/calcite/p-73e38ab1.js +0 -6
- package/dist/calcite/p-7c549859.entry.js +0 -6
- package/dist/calcite/p-8a1cdef6.js +0 -6
- package/dist/calcite/p-965b2e66.entry.js +0 -6
- package/dist/calcite/p-b4eb7cf4.entry.js +0 -6
- package/dist/calcite/p-c93545fd.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.0.0-next.
|
|
4
|
+
* v1.0.0-next.674
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -8090,7 +8090,7 @@ class ActionBar {
|
|
|
8090
8090
|
// Private Methods
|
|
8091
8091
|
//
|
|
8092
8092
|
// --------------------------------------------------------------------------
|
|
8093
|
-
this.
|
|
8093
|
+
this.actionMenuOpenHandler = (event) => {
|
|
8094
8094
|
if (event.target.menuOpen) {
|
|
8095
8095
|
const composedPath = event.composedPath();
|
|
8096
8096
|
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
|
@@ -8234,7 +8234,7 @@ class ActionBar {
|
|
|
8234
8234
|
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$T.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
8235
8235
|
}
|
|
8236
8236
|
render() {
|
|
8237
|
-
return (hAsync(Host, {
|
|
8237
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
8238
8238
|
}
|
|
8239
8239
|
get el() { return getElement(this); }
|
|
8240
8240
|
static get watchers() { return {
|
|
@@ -8316,7 +8316,7 @@ class ActionGroup {
|
|
|
8316
8316
|
renderMenu() {
|
|
8317
8317
|
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
8318
8318
|
const hasMenuItems = getSlotted(el, SLOTS$r.menuActions);
|
|
8319
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more,
|
|
8319
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$g.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
|
|
8320
8320
|
}
|
|
8321
8321
|
render() {
|
|
8322
8322
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -8363,7 +8363,7 @@ const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
|
8363
8363
|
class ActionMenu {
|
|
8364
8364
|
constructor(hostRef) {
|
|
8365
8365
|
registerInstance(this, hostRef);
|
|
8366
|
-
this.
|
|
8366
|
+
this.calciteActionMenuOpen = createEvent(this, "calciteActionMenuOpen", 6);
|
|
8367
8367
|
this.actionElements = [];
|
|
8368
8368
|
this.guid = `calcite-action-menu-${guid()}`;
|
|
8369
8369
|
this.menuId = `${this.guid}-menu`;
|
|
@@ -8569,7 +8569,7 @@ class ActionMenu {
|
|
|
8569
8569
|
if (this.menuButtonEl) {
|
|
8570
8570
|
this.menuButtonEl.active = open;
|
|
8571
8571
|
}
|
|
8572
|
-
this.
|
|
8572
|
+
this.calciteActionMenuOpen.emit();
|
|
8573
8573
|
this.setTooltipReferenceElement();
|
|
8574
8574
|
}
|
|
8575
8575
|
closeCalciteActionMenuOnClick(event) {
|
|
@@ -8667,7 +8667,7 @@ class ActionPad {
|
|
|
8667
8667
|
// Private Methods
|
|
8668
8668
|
//
|
|
8669
8669
|
// --------------------------------------------------------------------------
|
|
8670
|
-
this.
|
|
8670
|
+
this.actionMenuOpenHandler = (event) => {
|
|
8671
8671
|
if (event.target.menuOpen) {
|
|
8672
8672
|
const composedPath = event.composedPath();
|
|
8673
8673
|
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
|
@@ -8746,7 +8746,7 @@ class ActionPad {
|
|
|
8746
8746
|
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$S.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
8747
8747
|
}
|
|
8748
8748
|
render() {
|
|
8749
|
-
return (hAsync(Host, {
|
|
8749
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$S.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8750
8750
|
}
|
|
8751
8751
|
get el() { return getElement(this); }
|
|
8752
8752
|
static get watchers() { return {
|
|
@@ -13646,7 +13646,7 @@ class ColorPicker {
|
|
|
13646
13646
|
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$L.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13647
13647
|
[CSS$L.colorModeContainer]: true,
|
|
13648
13648
|
[CSS$L.splitSection]: true
|
|
13649
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "
|
|
13649
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$L.savedColorsSection]: true, [CSS$L.section]: true } }, hAsync("div", { class: CSS$L.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$L.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$L.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$L.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$L.savedColors }, [
|
|
13650
13650
|
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$L.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
13651
13651
|
])) : null))));
|
|
13652
13652
|
}
|
|
@@ -14422,16 +14422,25 @@ async function detectOverflow(middlewareArguments, options) {
|
|
|
14422
14422
|
x,
|
|
14423
14423
|
y
|
|
14424
14424
|
} : rects.reference;
|
|
14425
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
14426
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
14427
|
+
x: 1,
|
|
14428
|
+
y: 1
|
|
14429
|
+
} : {
|
|
14430
|
+
x: 1,
|
|
14431
|
+
y: 1
|
|
14432
|
+
};
|
|
14425
14433
|
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
14426
14434
|
rect,
|
|
14427
|
-
offsetParent
|
|
14435
|
+
offsetParent,
|
|
14428
14436
|
strategy
|
|
14429
14437
|
}) : rect);
|
|
14438
|
+
|
|
14430
14439
|
return {
|
|
14431
|
-
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
|
14432
|
-
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
|
14433
|
-
left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
|
|
14434
|
-
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
|
14440
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
14441
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
14442
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
14443
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
14435
14444
|
};
|
|
14436
14445
|
}
|
|
14437
14446
|
|
|
@@ -15020,11 +15029,17 @@ function getNodeName(node) {
|
|
|
15020
15029
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
15021
15030
|
}
|
|
15022
15031
|
|
|
15032
|
+
let uaString;
|
|
15023
15033
|
function getUAString() {
|
|
15034
|
+
if (uaString) {
|
|
15035
|
+
return uaString;
|
|
15036
|
+
}
|
|
15037
|
+
|
|
15024
15038
|
const uaData = navigator.userAgentData;
|
|
15025
15039
|
|
|
15026
15040
|
if (uaData && Array.isArray(uaData.brands)) {
|
|
15027
|
-
|
|
15041
|
+
uaString = uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
|
|
15042
|
+
return uaString;
|
|
15028
15043
|
}
|
|
15029
15044
|
|
|
15030
15045
|
return navigator.userAgent;
|
|
@@ -15087,11 +15102,37 @@ function isLastTraversableNode(node) {
|
|
|
15087
15102
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
15088
15103
|
}
|
|
15089
15104
|
|
|
15090
|
-
const
|
|
15091
|
-
|
|
15092
|
-
|
|
15105
|
+
const FALLBACK_SCALE = {
|
|
15106
|
+
x: 1,
|
|
15107
|
+
y: 1
|
|
15108
|
+
};
|
|
15109
|
+
function getScale(element) {
|
|
15110
|
+
const domElement = !isElement(element) && element.contextElement ? element.contextElement : isElement(element) ? element : null;
|
|
15111
|
+
|
|
15112
|
+
if (!domElement) {
|
|
15113
|
+
return FALLBACK_SCALE;
|
|
15114
|
+
}
|
|
15115
|
+
|
|
15116
|
+
const rect = domElement.getBoundingClientRect();
|
|
15117
|
+
const css = getComputedStyle$1(domElement);
|
|
15118
|
+
let x = rect.width / parseFloat(css.width);
|
|
15119
|
+
let y = rect.height / parseFloat(css.height); // 0, NaN, or Infinity should always fallback to 1.
|
|
15120
|
+
|
|
15121
|
+
if (!x || !Number.isFinite(x)) {
|
|
15122
|
+
x = 1;
|
|
15123
|
+
}
|
|
15124
|
+
|
|
15125
|
+
if (!y || !Number.isFinite(y)) {
|
|
15126
|
+
y = 1;
|
|
15127
|
+
}
|
|
15128
|
+
|
|
15129
|
+
return {
|
|
15130
|
+
x,
|
|
15131
|
+
y
|
|
15132
|
+
};
|
|
15133
|
+
}
|
|
15093
15134
|
|
|
15094
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
15135
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
15095
15136
|
var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;
|
|
15096
15137
|
|
|
15097
15138
|
if (includeScale === void 0) {
|
|
@@ -15103,27 +15144,24 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
|
15103
15144
|
}
|
|
15104
15145
|
|
|
15105
15146
|
const clientRect = element.getBoundingClientRect();
|
|
15106
|
-
let
|
|
15107
|
-
let elementToCheckForScale = element;
|
|
15108
|
-
let scaleX = 1;
|
|
15109
|
-
let scaleY = 1;
|
|
15147
|
+
let scale = FALLBACK_SCALE;
|
|
15110
15148
|
|
|
15111
|
-
if (
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15149
|
+
if (includeScale) {
|
|
15150
|
+
if (offsetParent) {
|
|
15151
|
+
if (isElement(offsetParent)) {
|
|
15152
|
+
scale = getScale(offsetParent);
|
|
15153
|
+
}
|
|
15154
|
+
} else {
|
|
15155
|
+
scale = getScale(element);
|
|
15156
|
+
}
|
|
15119
15157
|
}
|
|
15120
15158
|
|
|
15121
15159
|
const win = isElement(element) ? getWindow(element) : window;
|
|
15122
15160
|
const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
15123
|
-
const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) /
|
|
15124
|
-
const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) /
|
|
15125
|
-
const width = clientRect.width /
|
|
15126
|
-
const height = clientRect.height /
|
|
15161
|
+
const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) / scale.x;
|
|
15162
|
+
const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) / scale.y;
|
|
15163
|
+
const width = clientRect.width / scale.x;
|
|
15164
|
+
const height = clientRect.height / scale.y;
|
|
15127
15165
|
return {
|
|
15128
15166
|
width,
|
|
15129
15167
|
height,
|
|
@@ -15160,16 +15198,10 @@ function getWindowScrollBarX(element) {
|
|
|
15160
15198
|
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
15161
15199
|
}
|
|
15162
15200
|
|
|
15163
|
-
function isScaled(element) {
|
|
15164
|
-
const rect = getBoundingClientRect(element);
|
|
15165
|
-
return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;
|
|
15166
|
-
}
|
|
15167
|
-
|
|
15168
15201
|
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
15169
15202
|
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
15170
15203
|
const documentElement = getDocumentElement(offsetParent);
|
|
15171
|
-
const rect = getBoundingClientRect(element,
|
|
15172
|
-
isOffsetParentAnElement && isScaled(offsetParent), strategy === 'fixed');
|
|
15204
|
+
const rect = getBoundingClientRect(element, true, strategy === 'fixed', offsetParent);
|
|
15173
15205
|
let scroll = {
|
|
15174
15206
|
scrollLeft: 0,
|
|
15175
15207
|
scrollTop: 0
|
|
@@ -15285,6 +15317,10 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
15285
15317
|
scrollLeft: 0,
|
|
15286
15318
|
scrollTop: 0
|
|
15287
15319
|
};
|
|
15320
|
+
let scale = {
|
|
15321
|
+
x: 1,
|
|
15322
|
+
y: 1
|
|
15323
|
+
};
|
|
15288
15324
|
const offsets = {
|
|
15289
15325
|
x: 0,
|
|
15290
15326
|
y: 0
|
|
@@ -15297,18 +15333,21 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
15297
15333
|
|
|
15298
15334
|
if (isHTMLElement(offsetParent)) {
|
|
15299
15335
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
15336
|
+
scale = getScale(offsetParent);
|
|
15300
15337
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
15301
15338
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
15302
|
-
} // This doesn't appear to
|
|
15339
|
+
} // This doesn't appear to need to be negated.
|
|
15303
15340
|
// else if (documentElement) {
|
|
15304
15341
|
// offsets.x = getWindowScrollBarX(documentElement);
|
|
15305
15342
|
// }
|
|
15306
15343
|
|
|
15307
15344
|
}
|
|
15308
15345
|
|
|
15309
|
-
return {
|
|
15310
|
-
|
|
15311
|
-
|
|
15346
|
+
return {
|
|
15347
|
+
width: rect.width * scale.x,
|
|
15348
|
+
height: rect.height * scale.y,
|
|
15349
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
15350
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
15312
15351
|
};
|
|
15313
15352
|
}
|
|
15314
15353
|
|
|
@@ -15340,6 +15379,9 @@ function getViewportRect(element, strategy) {
|
|
|
15340
15379
|
};
|
|
15341
15380
|
}
|
|
15342
15381
|
|
|
15382
|
+
const min = Math.min;
|
|
15383
|
+
const max = Math.max;
|
|
15384
|
+
|
|
15343
15385
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
15344
15386
|
|
|
15345
15387
|
function getDocumentRect(element) {
|
|
@@ -15398,19 +15440,28 @@ function getOverflowAncestors(node, list) {
|
|
|
15398
15440
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
15399
15441
|
}
|
|
15400
15442
|
|
|
15443
|
+
// Returns the inner client rect, subtracting scrollbars if present
|
|
15401
15444
|
function getInnerBoundingClientRect(element, strategy) {
|
|
15402
|
-
const clientRect = getBoundingClientRect(element,
|
|
15445
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
15403
15446
|
const top = clientRect.top + element.clientTop;
|
|
15404
15447
|
const left = clientRect.left + element.clientLeft;
|
|
15448
|
+
const scale = isHTMLElement(element) ? getScale(element) : {
|
|
15449
|
+
x: 1,
|
|
15450
|
+
y: 1
|
|
15451
|
+
};
|
|
15452
|
+
const width = element.clientWidth * scale.x;
|
|
15453
|
+
const height = element.clientHeight * scale.y;
|
|
15454
|
+
const x = left * scale.x;
|
|
15455
|
+
const y = top * scale.y;
|
|
15405
15456
|
return {
|
|
15406
|
-
top,
|
|
15407
|
-
left,
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
width
|
|
15413
|
-
height
|
|
15457
|
+
top: y,
|
|
15458
|
+
left: x,
|
|
15459
|
+
right: x + width,
|
|
15460
|
+
bottom: y + height,
|
|
15461
|
+
x,
|
|
15462
|
+
y,
|
|
15463
|
+
width,
|
|
15464
|
+
height
|
|
15414
15465
|
};
|
|
15415
15466
|
}
|
|
15416
15467
|
|
|
@@ -15424,12 +15475,18 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
15424
15475
|
}
|
|
15425
15476
|
|
|
15426
15477
|
return rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
15427
|
-
} // A "clipping ancestor" is an
|
|
15428
|
-
// clipping (or hiding)
|
|
15429
|
-
//
|
|
15478
|
+
} // A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
15479
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
15480
|
+
// of the given element up the tree.
|
|
15481
|
+
|
|
15430
15482
|
|
|
15483
|
+
function getClippingElementAncestors(element, cache) {
|
|
15484
|
+
const cachedResult = cache.get(element);
|
|
15485
|
+
|
|
15486
|
+
if (cachedResult) {
|
|
15487
|
+
return cachedResult;
|
|
15488
|
+
}
|
|
15431
15489
|
|
|
15432
|
-
function getClippingElementAncestors(element) {
|
|
15433
15490
|
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
15434
15491
|
let currentContainingBlockComputedStyle = null;
|
|
15435
15492
|
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
@@ -15451,6 +15508,7 @@ function getClippingElementAncestors(element) {
|
|
|
15451
15508
|
currentNode = getParentNode(currentNode);
|
|
15452
15509
|
}
|
|
15453
15510
|
|
|
15511
|
+
cache.set(element, result);
|
|
15454
15512
|
return result;
|
|
15455
15513
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
15456
15514
|
// clipping ancestors
|
|
@@ -15463,7 +15521,7 @@ function getClippingRect(_ref) {
|
|
|
15463
15521
|
rootBoundary,
|
|
15464
15522
|
strategy
|
|
15465
15523
|
} = _ref;
|
|
15466
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element) : [].concat(boundary);
|
|
15524
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
15467
15525
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
15468
15526
|
const firstClippingAncestor = clippingAncestors[0];
|
|
15469
15527
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -15489,6 +15547,7 @@ const platform = {
|
|
|
15489
15547
|
getDimensions,
|
|
15490
15548
|
getOffsetParent,
|
|
15491
15549
|
getDocumentElement,
|
|
15550
|
+
getScale,
|
|
15492
15551
|
|
|
15493
15552
|
async getElementRects(_ref) {
|
|
15494
15553
|
let {
|
|
@@ -15518,10 +15577,22 @@ const platform = {
|
|
|
15518
15577
|
* strategy.
|
|
15519
15578
|
*/
|
|
15520
15579
|
|
|
15521
|
-
const computePosition = (reference, floating, options) =>
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15580
|
+
const computePosition = (reference, floating, options) => {
|
|
15581
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
15582
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
15583
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
15584
|
+
const cache = new Map();
|
|
15585
|
+
const mergedOptions = {
|
|
15586
|
+
platform,
|
|
15587
|
+
...options
|
|
15588
|
+
};
|
|
15589
|
+
const platformWithCache = { ...mergedOptions.platform,
|
|
15590
|
+
_c: cache
|
|
15591
|
+
};
|
|
15592
|
+
return computePosition$1(reference, floating, { ...mergedOptions,
|
|
15593
|
+
platform: platformWithCache
|
|
15594
|
+
});
|
|
15595
|
+
};
|
|
15525
15596
|
|
|
15526
15597
|
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
15527
15598
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
@@ -15832,7 +15903,6 @@ const inputUidPrefix = "combobox-input-";
|
|
|
15832
15903
|
class Combobox {
|
|
15833
15904
|
constructor(hostRef) {
|
|
15834
15905
|
registerInstance(this, hostRef);
|
|
15835
|
-
this.calciteLookupChange = createEvent(this, "calciteLookupChange", 6);
|
|
15836
15906
|
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 6);
|
|
15837
15907
|
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 6);
|
|
15838
15908
|
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 6);
|
|
@@ -15996,13 +16066,13 @@ class Combobox {
|
|
|
15996
16066
|
listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
|
|
15997
16067
|
await this.reposition(true);
|
|
15998
16068
|
};
|
|
15999
|
-
this.calciteChipDismissHandler = (
|
|
16069
|
+
this.calciteChipDismissHandler = (comboboxItem) => {
|
|
16000
16070
|
this.open = false;
|
|
16001
16071
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
16002
16072
|
if (selection) {
|
|
16003
16073
|
this.toggleSelection(selection, false);
|
|
16004
16074
|
}
|
|
16005
|
-
this.calciteComboboxChipDismiss.emit(
|
|
16075
|
+
this.calciteComboboxChipDismiss.emit();
|
|
16006
16076
|
};
|
|
16007
16077
|
this.clickHandler = (event) => {
|
|
16008
16078
|
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
@@ -16081,10 +16151,6 @@ class Combobox {
|
|
|
16081
16151
|
this.calciteComboboxFilterChange.emit({ visibleItems: [...this.visibleItems], text: text });
|
|
16082
16152
|
}, 100);
|
|
16083
16153
|
})();
|
|
16084
|
-
this.internalCalciteLookupChangeEvent = () => {
|
|
16085
|
-
this.calciteLookupChange.emit(this.selectedItems);
|
|
16086
|
-
};
|
|
16087
|
-
this.emitCalciteLookupChange = debounce(this.internalCalciteLookupChangeEvent, 0);
|
|
16088
16154
|
this.internalComboboxChangeEvent = () => {
|
|
16089
16155
|
const { selectedItems } = this;
|
|
16090
16156
|
this.calciteComboboxChange.emit({ selectedItems });
|
|
@@ -16118,7 +16184,6 @@ class Combobox {
|
|
|
16118
16184
|
this.comboboxBlurHandler = (event) => {
|
|
16119
16185
|
this.setInactiveIfNotContained(event);
|
|
16120
16186
|
};
|
|
16121
|
-
this.active = false;
|
|
16122
16187
|
this.open = false;
|
|
16123
16188
|
this.disabled = false;
|
|
16124
16189
|
this.label = undefined;
|
|
@@ -16144,29 +16209,18 @@ class Combobox {
|
|
|
16144
16209
|
this.activeDescendant = "";
|
|
16145
16210
|
this.text = "";
|
|
16146
16211
|
}
|
|
16147
|
-
activeHandler(value) {
|
|
16148
|
-
if (this.disabled) {
|
|
16149
|
-
this.active = false;
|
|
16150
|
-
this.open = false;
|
|
16151
|
-
return;
|
|
16152
|
-
}
|
|
16153
|
-
this.open = value;
|
|
16154
|
-
}
|
|
16155
16212
|
openHandler(value) {
|
|
16156
16213
|
if (!value) {
|
|
16157
16214
|
updateAfterClose(this.floatingEl);
|
|
16158
16215
|
}
|
|
16159
16216
|
if (this.disabled) {
|
|
16160
|
-
this.active = false;
|
|
16161
16217
|
this.open = false;
|
|
16162
16218
|
return;
|
|
16163
16219
|
}
|
|
16164
|
-
this.active = value;
|
|
16165
16220
|
this.setMaxScrollerHeight();
|
|
16166
16221
|
}
|
|
16167
16222
|
handleDisabledChange(value) {
|
|
16168
16223
|
if (!value) {
|
|
16169
|
-
this.active = false;
|
|
16170
16224
|
this.open = false;
|
|
16171
16225
|
}
|
|
16172
16226
|
}
|
|
@@ -16258,9 +16312,6 @@ class Combobox {
|
|
|
16258
16312
|
connectOpenCloseComponent(this);
|
|
16259
16313
|
this.setFilteredPlacements();
|
|
16260
16314
|
this.reposition(true);
|
|
16261
|
-
if (this.active) {
|
|
16262
|
-
this.activeHandler(this.active);
|
|
16263
|
-
}
|
|
16264
16315
|
if (this.open) {
|
|
16265
16316
|
this.openHandler(this.open);
|
|
16266
16317
|
}
|
|
@@ -16357,7 +16408,6 @@ class Combobox {
|
|
|
16357
16408
|
item.selected = value;
|
|
16358
16409
|
this.updateAncestors(item);
|
|
16359
16410
|
this.selectedItems = this.getSelectedItems();
|
|
16360
|
-
this.emitCalciteLookupChange();
|
|
16361
16411
|
this.emitComboboxChange();
|
|
16362
16412
|
this.resetText();
|
|
16363
16413
|
this.filterItems("");
|
|
@@ -16419,7 +16469,6 @@ class Combobox {
|
|
|
16419
16469
|
}
|
|
16420
16470
|
getData() {
|
|
16421
16471
|
return this.items.map((item) => ({
|
|
16422
|
-
constant: item.constant,
|
|
16423
16472
|
filterDisabled: item.filterDisabled,
|
|
16424
16473
|
value: item.value,
|
|
16425
16474
|
label: item.textLabel
|
|
@@ -16461,7 +16510,6 @@ class Combobox {
|
|
|
16461
16510
|
}
|
|
16462
16511
|
this.updateItems();
|
|
16463
16512
|
this.filterItems("");
|
|
16464
|
-
this.emitCalciteLookupChange();
|
|
16465
16513
|
this.emitComboboxChange();
|
|
16466
16514
|
}
|
|
16467
16515
|
}
|
|
@@ -16547,14 +16595,14 @@ class Combobox {
|
|
|
16547
16595
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
16548
16596
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
16549
16597
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
16550
|
-
return (hAsync("calcite-chip", { class: chipClasses, closable: true, dismissLabel: intlRemoveTag, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipDismiss: (
|
|
16598
|
+
return (hAsync("calcite-chip", { class: chipClasses, closable: true, dismissLabel: intlRemoveTag, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipDismiss: () => this.calciteChipDismissHandler(item), scale: scale, title: label, value: item.value }, label));
|
|
16551
16599
|
});
|
|
16552
16600
|
}
|
|
16553
16601
|
renderInput() {
|
|
16554
|
-
const { guid,
|
|
16602
|
+
const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;
|
|
16555
16603
|
const single = selectionMode === "single";
|
|
16556
16604
|
const selectedItem = selectedItems[0];
|
|
16557
|
-
const showLabel = !
|
|
16605
|
+
const showLabel = !open && single && !!selectedItem;
|
|
16558
16606
|
return (hAsync("span", { class: {
|
|
16559
16607
|
"input-wrap": true,
|
|
16560
16608
|
"input-wrap--single": single
|
|
@@ -16573,16 +16621,16 @@ class Combobox {
|
|
|
16573
16621
|
return this.visibleItems.map((item) => (hAsync("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
16574
16622
|
}
|
|
16575
16623
|
renderFloatingUIContainer() {
|
|
16576
|
-
const {
|
|
16624
|
+
const { setFloatingEl, setContainerEl, open } = this;
|
|
16577
16625
|
const classes = {
|
|
16578
16626
|
"list-container": true,
|
|
16579
16627
|
[FloatingCSS.animation]: true,
|
|
16580
|
-
[FloatingCSS.animationActive]: open
|
|
16628
|
+
[FloatingCSS.animationActive]: open
|
|
16581
16629
|
};
|
|
16582
16630
|
return (hAsync("div", { "aria-hidden": "true", class: {
|
|
16583
16631
|
"floating-ui-container": true,
|
|
16584
|
-
"floating-ui-container--active": open
|
|
16585
|
-
}, ref: setFloatingEl }, hAsync("div", { class: classes, ref: setContainerEl }, hAsync("ul", { class: { list: true, "list--hide": !
|
|
16632
|
+
"floating-ui-container--active": open
|
|
16633
|
+
}, ref: setFloatingEl }, hAsync("div", { class: classes, ref: setContainerEl }, hAsync("ul", { class: { list: true, "list--hide": !open } }, hAsync("slot", null)))));
|
|
16586
16634
|
}
|
|
16587
16635
|
renderIconStart() {
|
|
16588
16636
|
const { selectedItems, placeholderIcon, selectionMode } = this;
|
|
@@ -16595,21 +16643,20 @@ class Combobox {
|
|
|
16595
16643
|
return (iconAtStart && (hAsync("span", { class: "icon-start" }, hAsync("calcite-icon", { class: "selected-icon", icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: "s" }))));
|
|
16596
16644
|
}
|
|
16597
16645
|
renderIconEnd() {
|
|
16598
|
-
const {
|
|
16599
|
-
return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon:
|
|
16646
|
+
const { open } = this;
|
|
16647
|
+
return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
16600
16648
|
}
|
|
16601
16649
|
render() {
|
|
16602
|
-
const {
|
|
16650
|
+
const { guid, label, open } = this;
|
|
16603
16651
|
const single = this.selectionMode === "single";
|
|
16604
|
-
return (hAsync(Host, { onClick: this.comboboxFocusHandler }, hAsync("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open
|
|
16652
|
+
return (hAsync(Host, { onClick: this.comboboxFocusHandler }, hAsync("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-live": "polite", "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
16605
16653
|
wrapper: true,
|
|
16606
16654
|
"wrapper--single": single || !this.selectedItems.length,
|
|
16607
|
-
"wrapper--active": open
|
|
16655
|
+
"wrapper--active": open
|
|
16608
16656
|
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox" }, 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 })));
|
|
16609
16657
|
}
|
|
16610
16658
|
get el() { return getElement(this); }
|
|
16611
16659
|
static get watchers() { return {
|
|
16612
|
-
"active": ["activeHandler"],
|
|
16613
16660
|
"open": ["openHandler"],
|
|
16614
16661
|
"disabled": ["handleDisabledChange"],
|
|
16615
16662
|
"maxItems": ["maxItemsHandler"],
|
|
@@ -16624,7 +16671,6 @@ class Combobox {
|
|
|
16624
16671
|
"$flags$": 9,
|
|
16625
16672
|
"$tagName$": "calcite-combobox",
|
|
16626
16673
|
"$members$": {
|
|
16627
|
-
"active": [1540],
|
|
16628
16674
|
"open": [1540],
|
|
16629
16675
|
"disabled": [516],
|
|
16630
16676
|
"label": [1],
|
|
@@ -16654,7 +16700,7 @@ class Combobox {
|
|
|
16654
16700
|
},
|
|
16655
16701
|
"$listeners$": [[5, "pointerdown", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]],
|
|
16656
16702
|
"$lazyBundleId$": "-",
|
|
16657
|
-
"$attrsToReflect$": [["
|
|
16703
|
+
"$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["placeholderIcon", "placeholder-icon"], ["maxItems", "max-items"], ["name", "name"], ["allowCustomValues", "allow-custom-values"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
|
|
16658
16704
|
}; }
|
|
16659
16705
|
}
|
|
16660
16706
|
|
|
@@ -16698,7 +16744,6 @@ class ComboboxItem {
|
|
|
16698
16744
|
this.icon = undefined;
|
|
16699
16745
|
this.textLabel = undefined;
|
|
16700
16746
|
this.value = undefined;
|
|
16701
|
-
this.constant = undefined;
|
|
16702
16747
|
this.filterDisabled = undefined;
|
|
16703
16748
|
}
|
|
16704
16749
|
selectedWatchHandler() {
|
|
@@ -16793,13 +16838,12 @@ class ComboboxItem {
|
|
|
16793
16838
|
"icon": [513],
|
|
16794
16839
|
"textLabel": [513, "text-label"],
|
|
16795
16840
|
"value": [8],
|
|
16796
|
-
"constant": [516],
|
|
16797
16841
|
"filterDisabled": [516, "filter-disabled"],
|
|
16798
16842
|
"toggleSelected": [64]
|
|
16799
16843
|
},
|
|
16800
16844
|
"$listeners$": undefined,
|
|
16801
16845
|
"$lazyBundleId$": "-",
|
|
16802
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["selected", "selected"], ["active", "active"], ["guid", "guid"], ["icon", "icon"], ["textLabel", "text-label"], ["
|
|
16846
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["selected", "selected"], ["active", "active"], ["guid", "guid"], ["icon", "icon"], ["textLabel", "text-label"], ["filterDisabled", "filter-disabled"]]
|
|
16803
16847
|
}; }
|
|
16804
16848
|
}
|
|
16805
16849
|
|
|
@@ -18171,14 +18215,14 @@ class DatePickerMonthHeader {
|
|
|
18171
18215
|
}
|
|
18172
18216
|
|
|
18173
18217
|
const SLOTS$k = {
|
|
18174
|
-
dropdownTrigger: "
|
|
18218
|
+
dropdownTrigger: "trigger"
|
|
18175
18219
|
};
|
|
18176
18220
|
|
|
18177
|
-
const dropdownCss = "@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown: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-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-
|
|
18221
|
+
const dropdownCss = "@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown: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-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-trigger-container*/.calcite-trigger-container.sc-calcite-dropdown{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
18178
18222
|
|
|
18179
18223
|
/**
|
|
18180
18224
|
* @slot - A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
18181
|
-
* @slot
|
|
18225
|
+
* @slot trigger - A slot for the element that triggers the `calcite-dropdown`.
|
|
18182
18226
|
*/
|
|
18183
18227
|
class Dropdown {
|
|
18184
18228
|
constructor(hostRef) {
|
|
@@ -18392,7 +18436,7 @@ class Dropdown {
|
|
|
18392
18436
|
}
|
|
18393
18437
|
render() {
|
|
18394
18438
|
const { open, guid } = this;
|
|
18395
|
-
return (hAsync(Host, null, hAsync("div", { class: "calcite-
|
|
18439
|
+
return (hAsync(Host, null, hAsync("div", { class: "calcite-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$k.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
18396
18440
|
["calcite-dropdown-content"]: true,
|
|
18397
18441
|
[FloatingCSS.animation]: true,
|
|
18398
18442
|
[FloatingCSS.animationActive]: open
|
|
@@ -18694,6 +18738,7 @@ const dropdownItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes i
|
|
|
18694
18738
|
class DropdownItem {
|
|
18695
18739
|
constructor(hostRef) {
|
|
18696
18740
|
registerInstance(this, hostRef);
|
|
18741
|
+
this.calciteDropdownItemSelect = createEvent(this, "calciteDropdownItemSelect", 6);
|
|
18697
18742
|
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
|
18698
18743
|
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
|
18699
18744
|
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
|
@@ -18842,6 +18887,7 @@ class DropdownItem {
|
|
|
18842
18887
|
}
|
|
18843
18888
|
}
|
|
18844
18889
|
emitRequestedItem() {
|
|
18890
|
+
this.calciteDropdownItemSelect.emit();
|
|
18845
18891
|
this.calciteInternalDropdownItemSelect.emit({
|
|
18846
18892
|
requestedDropdownItem: this.el,
|
|
18847
18893
|
requestedDropdownGroup: this.parentDropdownGroupEl
|
|
@@ -22784,7 +22830,7 @@ const CSS$r = {
|
|
|
22784
22830
|
container: "container"
|
|
22785
22831
|
};
|
|
22786
22832
|
|
|
22787
|
-
const labelCss = "@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-label: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-label{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-label{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-label{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-label{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-label{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-label:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-label:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-label-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-label-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-label-h{display:
|
|
22833
|
+
const labelCss = "@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-label: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-label{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-label{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-label{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-label{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-label{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-label:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-label:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-label-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-label-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-label-h{display:flex}/*!@:host([alignment=start])*/[alignment=start].sc-calcite-label-h{text-align:start}/*!@:host([alignment=end])*/[alignment=end].sc-calcite-label-h{text-align:end}/*!@:host([alignment=center])*/[alignment=center].sc-calcite-label-h{text-align:center}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-label-h .container.sc-calcite-label{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-label-h .container.sc-calcite-label{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-label-h .container.sc-calcite-label{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}/*!@:host .container*/.sc-calcite-label-h .container.sc-calcite-label{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}/*!@:host([layout=default]) .container*/[layout=default].sc-calcite-label-h .container.sc-calcite-label{display:flex;flex-direction:column}/*!@:host([layout=inline]) .container,\n:host([layout=inline-space-between]) .container*/[layout=inline].sc-calcite-label-h .container.sc-calcite-label,[layout=inline-space-between].sc-calcite-label-h .container.sc-calcite-label{display:flex;flex-direction:row;align-items:center;gap:0.5rem}/*!@:host([layout=inline][scale=l]) .container*/[layout=inline][scale=l].sc-calcite-label-h .container.sc-calcite-label{gap:0.75rem}/*!@:host([layout=inline-space-between]) .container*/[layout=inline-space-between].sc-calcite-label-h .container.sc-calcite-label{justify-content:space-between}/*!@:host([disabled]) > .container*/[disabled].sc-calcite-label-h>.container.sc-calcite-label{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted(*)*/.sc-calcite-label-h[disabled] .sc-calcite-label-s>*{pointer-events:none}/*!@:host([disabled]) ::slotted(*[disabled]),\n:host([disabled]) ::slotted(*[disabled] *)*/.sc-calcite-label-h[disabled] .sc-calcite-label-s>*[disabled],.sc-calcite-label-h[disabled] .sc-calcite-label-s>*[disabled] *{--tw-bg-opacity:1}/*!@:host([disabled]) ::slotted(calcite-input-message:not([active]))*/.sc-calcite-label-h[disabled] .sc-calcite-label-s>calcite-input-message:not([active]){--tw-bg-opacity:0}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-label-h[disabled] .sc-calcite-label-s>[calcite-hydrated][disabled],[disabled].sc-calcite-label-h [calcite-hydrated][disabled].sc-calcite-label{opacity:1}";
|
|
22788
22834
|
|
|
22789
22835
|
/**
|
|
22790
22836
|
* @slot - A slot for adding text and a component that can be labeled.
|
|
@@ -23669,7 +23715,7 @@ class ListItemGroup {
|
|
|
23669
23715
|
}; }
|
|
23670
23716
|
}
|
|
23671
23717
|
|
|
23672
|
-
const loaderCss = "@charset \"UTF-8\";@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-loader: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-loader{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-loader{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-loader{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-loader{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-loader{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-loader:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-loader-h{display:none}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) * 2) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);transform:scale(1, 1)}/*!@.loader__svg*/.loader__svg.sc-calcite-loader{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:loader-clockwise}@supports (display: grid){/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{animation-name:loader-offset-1}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{animation-name:loader-offset-2}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{animation-name:loader-offset-3}}/*!@:host([type=determinate])*/[type=determinate].sc-calcite-loader-h{animation:none;stroke:var(--calcite-ui-border-3)}/*!@:host([type=determinate]) .loader__svg--3*/[type=determinate].sc-calcite-loader-h .loader__svg--3.sc-calcite-loader{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}/*!@:host([inline])*/[inline].sc-calcite-loader-h{position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)
|
|
23718
|
+
const loaderCss = "@charset \"UTF-8\";@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-loader: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-loader{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-loader{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-loader{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-loader{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-loader{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-loader:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-loader-h{display:none}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) * 2) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);transform:scale(1, 1)}/*!@.loader__svg*/.loader__svg.sc-calcite-loader{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:loader-clockwise}@supports (display: grid){/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{animation-name:loader-offset-1}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{animation-name:loader-offset-2}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{animation-name:loader-offset-3}}/*!@:host([type=determinate])*/[type=determinate].sc-calcite-loader-h{animation:none;stroke:var(--calcite-ui-border-3)}/*!@:host([type=determinate]) .loader__svg--3*/[type=determinate].sc-calcite-loader-h .loader__svg--3.sc-calcite-loader{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}/*!@:host([inline])*/[inline].sc-calcite-loader-h{position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}/*!@:host([inline]) .loader__svgs*/[inline].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([inline]) .loader__svg*/[inline].sc-calcite-loader-h .loader__svg.sc-calcite-loader{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([complete])*/[complete].sc-calcite-loader-h{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}/*!@:host([complete]) .loader__svgs*/[complete].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}/*!@:host([complete]) .loader__percentage*/[complete].sc-calcite-loader-h .loader__percentage.sc-calcite-loader{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{stroke-dasharray:27.9252444444% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) * 2.4)}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{stroke-dasharray:55.8504888889% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) * 3.2)}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{stroke-dasharray:13.9626222222% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) * 3.867)}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
23673
23719
|
|
|
23674
23720
|
class Loader {
|
|
23675
23721
|
constructor(hostRef) {
|
|
@@ -24993,8 +25039,7 @@ function connectFocusTrap(component) {
|
|
|
24993
25039
|
focusTrapEl.tabIndex = -1;
|
|
24994
25040
|
}
|
|
24995
25041
|
const focusTrapOptions = {
|
|
24996
|
-
|
|
24997
|
-
clickOutsideDeactivates: false,
|
|
25042
|
+
clickOutsideDeactivates: true,
|
|
24998
25043
|
document: focusTrapEl.ownerDocument,
|
|
24999
25044
|
escapeDeactivates: false,
|
|
25000
25045
|
fallbackFocus: focusTrapEl,
|
|
@@ -32797,7 +32842,7 @@ class SplitButton {
|
|
|
32797
32842
|
[CSS$7.widthFull]: this.width === "full"
|
|
32798
32843
|
};
|
|
32799
32844
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
32800
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$7.dividerContainer }, hAsync("div", { class: CSS$7.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "
|
|
32845
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$7.dividerContainer }, hAsync("div", { class: CSS$7.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
32801
32846
|
}
|
|
32802
32847
|
get dropdownIcon() {
|
|
32803
32848
|
return this.dropdownIconType === "chevron"
|
|
@@ -33925,7 +33970,7 @@ class TabTitle {
|
|
|
33925
33970
|
}
|
|
33926
33971
|
|
|
33927
33972
|
const SLOTS$4 = {
|
|
33928
|
-
|
|
33973
|
+
titleGroup: "title-group"
|
|
33929
33974
|
};
|
|
33930
33975
|
|
|
33931
33976
|
const tabsCss = "@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-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tabs: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-tabs{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tabs{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tabs{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tabs{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tabs{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tabs:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tabs:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tabs-h{display:none}/*!@:host*/.sc-calcite-tabs-h{display:flex;flex-direction:column}/*!@:host([bordered])*/[bordered].sc-calcite-tabs-h{box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}/*!@:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav)*/.sc-calcite-tabs-h[bordered]:not([position=bottom]) .sc-calcite-tabs-s>calcite-tab-nav{margin-block-end:-1px}/*!@:host([bordered][position=bottom])*/[bordered][position=bottom].sc-calcite-tabs-h{box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}/*!@:host([bordered]) section*/[bordered].sc-calcite-tabs-h section.sc-calcite-tabs{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}/*!@:host([bordered][scale=s]) section*/[bordered][scale=s].sc-calcite-tabs-h section.sc-calcite-tabs{padding:0.75rem}/*!@:host([bordered][scale=m]) section*/[bordered][scale=m].sc-calcite-tabs-h section.sc-calcite-tabs{padding:0.5rem}/*!@:host([bordered][scale=l]) section*/[bordered][scale=l].sc-calcite-tabs-h section.sc-calcite-tabs{padding:1rem}/*!@:host([position=bottom])*/[position=bottom].sc-calcite-tabs-h{flex-direction:column-reverse}/*!@section*/section.sc-calcite-tabs{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-ui-border-1);border-block-start-style:solid}/*!@:host([position=bottom]) section*/[position=bottom].sc-calcite-tabs-h section.sc-calcite-tabs{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-ui-border-1)}/*!@:host([position=bottom]:not([bordered])) section*/[position=bottom].sc-calcite-tabs-h:not([bordered]) section.sc-calcite-tabs{border-block-end-style:solid}@media (forced-colors: active){/*!@:host([bordered]) section*/[bordered].sc-calcite-tabs-h section.sc-calcite-tabs{border-block-start-width:0px;border-block-end-width:1px}/*!@:host([position=bottom][bordered]) section*/[position=bottom][bordered].sc-calcite-tabs-h section.sc-calcite-tabs{border-block-start-width:1px;border-block-end-width:0px}}";
|
|
@@ -33950,7 +33995,7 @@ class Tabs {
|
|
|
33950
33995
|
//
|
|
33951
33996
|
//--------------------------------------------------------------------------
|
|
33952
33997
|
render() {
|
|
33953
|
-
return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$4.
|
|
33998
|
+
return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$4.titleGroup }), hAsync("section", null, hAsync("slot", null))));
|
|
33954
33999
|
}
|
|
33955
34000
|
//--------------------------------------------------------------------------
|
|
33956
34001
|
//
|