@esri/calcite-components 1.0.0-next.653 → 1.0.0-next.654
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-c8946ac4.js → p-0254ac2f.js} +1 -1
- package/dist/calcite/{p-ae684eb2.entry.js → p-050ade87.entry.js} +2 -2
- package/dist/calcite/p-06d5c014.entry.js +6 -0
- package/dist/calcite/{p-a53596e5.js → p-0be6bca1.js} +1 -1
- package/dist/calcite/{p-4296ca3f.js → p-1055bcbe.js} +1 -1
- package/dist/calcite/p-10aa4062.entry.js +6 -0
- package/dist/calcite/{p-f857cfa2.entry.js → p-10d7edd8.entry.js} +2 -2
- package/dist/calcite/{p-8fb7ee35.entry.js → p-12d6681d.entry.js} +2 -2
- package/dist/calcite/p-14e0d4fe.entry.js +6 -0
- package/dist/calcite/p-17c258b8.entry.js +6 -0
- package/dist/calcite/p-185bb7cb.entry.js +6 -0
- package/dist/calcite/p-1f01fc57.entry.js +6 -0
- package/dist/calcite/p-24bdea5e.entry.js +6 -0
- package/dist/calcite/{p-675dfbe8.entry.js → p-2cc5c240.entry.js} +2 -2
- package/dist/calcite/{p-1a859cf5.js → p-33e17f1b.js} +1 -1
- package/dist/calcite/p-35fc7dca.js +6 -0
- package/dist/calcite/{p-98183f7a.js → p-39d090ab.js} +1 -1
- package/dist/calcite/{p-3274abf2.js → p-3a773abe.js} +2 -2
- package/dist/calcite/p-3ce64b5d.js +6 -0
- package/dist/calcite/{p-28884998.entry.js → p-3d983e10.entry.js} +2 -2
- package/dist/calcite/p-3f8e53cd.entry.js +6 -0
- package/dist/calcite/p-3fc46634.entry.js +6 -0
- package/dist/calcite/p-46d45c3c.entry.js +6 -0
- package/dist/calcite/p-48154bde.entry.js +6 -0
- package/dist/calcite/p-48d5c4c0.entry.js +6 -0
- package/dist/calcite/p-4c684f9b.entry.js +6 -0
- package/dist/calcite/{p-e1fa408f.js → p-4ca4f558.js} +2 -2
- package/dist/calcite/{p-5bb6cc45.js → p-4cf9ae65.js} +1 -1
- package/dist/calcite/{p-44a78e82.entry.js → p-4fbd47e5.entry.js} +2 -2
- package/dist/calcite/{p-3dc251f4.entry.js → p-51db14be.entry.js} +2 -2
- package/dist/calcite/p-530fdbab.js +6 -0
- package/dist/calcite/{p-74c02e3a.js → p-53c33d4b.js} +3 -3
- package/dist/calcite/{p-49701eee.js → p-553dcf8f.js} +1 -1
- package/dist/calcite/p-55c80ec7.js +6 -0
- package/dist/calcite/p-5718dd4a.js +6 -0
- package/dist/calcite/p-59f646f1.entry.js +6 -0
- package/dist/calcite/{p-5a953a75.js → p-5ce6006a.js} +1 -1
- package/dist/calcite/{p-6e0ecbed.entry.js → p-6287a7e3.entry.js} +2 -2
- package/dist/calcite/p-63fabfa9.entry.js +6 -0
- package/dist/calcite/{p-e452903d.js → p-69bdbe6c.js} +1 -1
- package/dist/calcite/{p-bff4c20d.entry.js → p-6c957ddf.entry.js} +2 -2
- package/dist/calcite/p-6f5b07e8.entry.js +6 -0
- package/dist/calcite/p-6f92b03a.entry.js +6 -0
- package/dist/calcite/{p-9e30a932.entry.js → p-72d77198.entry.js} +2 -2
- package/dist/calcite/{p-2ec7c680.js → p-72f6644b.js} +1 -1
- package/dist/calcite/p-77c4f889.js +6 -0
- package/dist/calcite/p-7bef3ee1.entry.js +6 -0
- package/dist/calcite/{p-a1a81de3.entry.js → p-7d21ff63.entry.js} +2 -2
- package/dist/calcite/{p-0a1f589a.js → p-7e574772.js} +2 -2
- package/dist/calcite/p-822cfd4f.entry.js +6 -0
- package/dist/calcite/{p-1cdae83d.js → p-8aa907d3.js} +1 -1
- package/dist/calcite/p-8d0566d1.entry.js +6 -0
- package/dist/calcite/p-92f22711.entry.js +6 -0
- package/dist/calcite/p-95cfabd8.entry.js +6 -0
- package/dist/calcite/{p-220b7569.entry.js → p-96c90357.entry.js} +2 -2
- package/dist/calcite/p-99003334.entry.js +6 -0
- package/dist/calcite/{p-dee6d536.js → p-9bc4d2e7.js} +2 -2
- package/dist/calcite/{p-797fd5dd.entry.js → p-9c4fe712.entry.js} +2 -2
- package/dist/calcite/p-a3b5d915.entry.js +6 -0
- package/dist/calcite/p-a3ba6aef.entry.js +6 -0
- package/dist/calcite/{p-406fcc95.entry.js → p-a3efce03.entry.js} +2 -2
- package/dist/calcite/p-a4735ae4.entry.js +6 -0
- package/dist/calcite/p-a77f3220.entry.js +6 -0
- package/dist/calcite/{p-e2f5256c.entry.js → p-aa620a9f.entry.js} +2 -2
- package/dist/calcite/p-ade56eab.js +6 -0
- package/dist/calcite/{p-048b7796.js → p-ae327e4f.js} +1 -1
- package/dist/calcite/p-b0f4cbef.entry.js +6 -0
- package/dist/calcite/p-b9028c65.entry.js +6 -0
- package/dist/calcite/p-bb813cda.entry.js +6 -0
- package/dist/calcite/p-c1dd3c4e.entry.js +6 -0
- package/dist/calcite/{p-1e7d0a3e.entry.js → p-c3502aba.entry.js} +2 -2
- package/dist/calcite/{p-36046779.js → p-c6f8fd3f.js} +1 -1
- package/dist/calcite/{p-4869c10e.js → p-c8db295e.js} +2 -2
- package/dist/calcite/{p-24c048b5.js → p-ceb691f9.js} +1 -1
- package/dist/calcite/p-d4313c1c.js +6 -0
- package/dist/calcite/{p-d849b5b6.entry.js → p-d8790ccd.entry.js} +2 -2
- package/dist/calcite/{p-b567d164.js → p-d8a36d6a.js} +1 -1
- package/dist/calcite/p-d9e9ec30.entry.js +6 -0
- package/dist/calcite/p-deceabe8.entry.js +6 -0
- package/dist/calcite/p-e05633d0.entry.js +6 -0
- package/dist/calcite/{p-d5e70d38.entry.js → p-e27d22a3.entry.js} +2 -2
- package/dist/calcite/{p-b0cecf6b.js → p-e33b64ac.js} +1 -1
- package/dist/calcite/p-e38a5179.entry.js +6 -0
- package/dist/calcite/p-e4503ec2.entry.js +6 -0
- package/dist/calcite/{p-627cd0ab.entry.js → p-e734a9bd.entry.js} +2 -2
- package/dist/calcite/p-e94dd8f6.entry.js +6 -0
- package/dist/calcite/{p-b9184c58.entry.js → p-ea002837.entry.js} +2 -2
- package/dist/calcite/p-ef016df0.entry.js +6 -0
- package/dist/calcite/p-f11ab8b7.js +6 -0
- package/dist/calcite/p-f275f69c.entry.js +6 -0
- package/dist/calcite/p-f9e27633.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-8d248ee3.js → ExpandToggle-6b439626.js} +7 -8
- package/dist/cjs/{Heading-dd6d6eb7.js → Heading-ceb4f2b6.js} +2 -2
- package/dist/cjs/{app-globals-35dd7e0f.js → app-globals-abf96af0.js} +2 -2
- package/dist/cjs/{array-bc2da329.js → array-96bd470b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -17
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-button.cjs.entry.js +15 -19
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -10
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +30 -37
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -24
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -22
- 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 +10 -11
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -7
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -8
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -23
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -27
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +23 -31
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -26
- package/dist/cjs/calcite-input.cjs.entry.js +25 -33
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +22 -26
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -22
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -17
- 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 +5 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -15
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +17 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +26 -34
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -21
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-d2dd31d5.js → conditionalSlot-a875fe2d.js} +3 -3
- package/dist/cjs/{debounce-fec2cc26.js → debounce-d3347e7f.js} +1 -1
- package/dist/cjs/{dom-8db20575.js → dom-f3870c02.js} +13 -13
- package/dist/cjs/{filter-4951900a.js → filter-bfb93506.js} +3 -3
- package/dist/cjs/{floating-ui-16ec7ef7.js → floating-ui-3c7d9b63.js} +7 -8
- package/dist/cjs/{focusTrapComponent-1f7ac746.js → focusTrapComponent-feb51e35.js} +4 -6
- package/dist/cjs/{form-df338099.js → form-6fbeeffb.js} +5 -7
- package/dist/cjs/{guid-7c9bf705.js → guid-01d6fefc.js} +1 -1
- package/dist/cjs/{index-11cbd6ae.js → index-483dbe04.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-12572356.js → interactive-134aafb0.js} +1 -1
- package/dist/cjs/{interfaces-bcf5a504.js → interfaces-0cb162a3.js} +1 -1
- package/dist/cjs/{key-5efe25db.js → key-64fe2d0d.js} +1 -1
- package/dist/cjs/{label-f2b57841.js → label-bb7baad0.js} +4 -5
- package/dist/cjs/{loadable-fdc027c5.js → loadable-9ea89e06.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ad2e4def.js → locale-66bb4c04.js} +7 -8
- package/dist/cjs/{math-e3bf7036.js → math-168daa90.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-a8326836.js} +6 -6
- package/dist/cjs/{observers-1cb80ad6.js → observers-265cc6fd.js} +1 -1
- package/dist/cjs/{openCloseComponent-42ea9fde.js → openCloseComponent-86d66b5f.js} +1 -1
- package/dist/cjs/{resources-f5a03517.js → resources-4d34f5ad.js} +1 -1
- package/dist/cjs/{resources-e6605c29.js → resources-56adcab5.js} +1 -1
- package/dist/cjs/{resources-01342a2b.js → resources-94f83bb6.js} +11 -16
- package/dist/cjs/{resources-125245bd.js → resources-ad99e815.js} +1 -1
- package/dist/cjs/{resources-883ffa52.js → resources-e280f675.js} +3 -3
- package/dist/cjs/{resources-61c779db.js → resources-e34dd4ef.js} +1 -1
- package/dist/cjs/{sortable.esm-ec7f83ae.js → sortable.esm-a516af47.js} +1 -1
- package/dist/cjs/{utils-727a0b8e.js → utils-61f76522.js} +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- 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 +6 -10
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +6 -9
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +2 -2
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +7 -7
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -3
- 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 +2 -3
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +6 -10
- 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 +2 -3
- package/dist/collection/components/chip/chip.js +2 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +9 -11
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +2 -2
- 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 +13 -18
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +4 -6
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +5 -7
- 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 +4 -6
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +2 -3
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +7 -9
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +2 -3
- 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 +3 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +3 -4
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -3
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +3 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +2 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -3
- 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 +9 -15
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +13 -21
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -12
- 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 +11 -19
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +5 -9
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -5
- 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 +8 -12
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +3 -3
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +5 -8
- 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 +3 -5
- 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 +8 -11
- 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 +7 -12
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -3
- 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 +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -5
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- 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 +3 -5
- 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 +6 -9
- 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 +2 -2
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +4 -6
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +6 -11
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +3 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -5
- package/dist/collection/components/tab-nav/tab-nav.js +13 -17
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +2 -3
- 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 +4 -5
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +2 -3
- 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 +4 -6
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- 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 +3 -5
- package/dist/collection/components/tree/utils.js +2 -2
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +6 -9
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +3 -3
- package/dist/collection/components/value-list/value-list.js +4 -5
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- 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 +11 -11
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +4 -5
- package/dist/collection/utils/focusTrapComponent.js +3 -5
- package/dist/collection/utils/form.js +3 -5
- 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 +3 -4
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +4 -5
- 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 +2 -3
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +6 -7
- package/dist/components/ExpandToggle.js +3 -4
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +7 -7
- package/dist/components/action.js +6 -10
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -10
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +6 -9
- 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 +2 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -3
- 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 +9 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +13 -18
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +2 -3
- 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 +3 -4
- package/dist/components/calcite-flow.js +3 -5
- 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 +9 -15
- package/dist/components/calcite-input-date-picker.js +8 -12
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +11 -19
- package/dist/components/calcite-input-text.js +5 -9
- package/dist/components/calcite-input-time-picker.js +3 -5
- 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 +5 -5
- package/dist/components/calcite-list.js +8 -12
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -8
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +3 -5
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -3
- 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 +3 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -4
- package/dist/components/calcite-rating.js +3 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +6 -9
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +4 -6
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +6 -11
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +6 -10
- package/dist/components/calcite-stepper.js +3 -4
- 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 +2 -3
- 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 +4 -6
- package/dist/components/calcite-tip.js +2 -3
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +6 -9
- package/dist/components/calcite-tree.js +4 -6
- package/dist/components/calcite-value-list-item.js +2 -3
- package/dist/components/calcite-value-list.js +6 -7
- package/dist/components/checkbox.js +2 -3
- package/dist/components/chip.js +2 -3
- 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 +2 -3
- package/dist/components/date-picker-month.js +4 -6
- package/dist/components/date-picker.js +5 -7
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +11 -11
- package/dist/components/dropdown.js +7 -9
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +4 -5
- package/dist/components/focusTrapComponent.js +3 -5
- package/dist/components/form.js +3 -5
- package/dist/components/graph.js +3 -5
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -3
- package/dist/components/icon.js +2 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +13 -21
- 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 +1 -1
- package/dist/components/label2.js +3 -4
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +4 -5
- 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 +8 -11
- package/dist/components/pick-list-item.js +2 -3
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +3 -3
- 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 +7 -12
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +13 -17
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab.js +3 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +9 -11
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +4 -6
- package/dist/esm/{ExpandToggle-3ec34795.js → ExpandToggle-7995a4b7.js} +7 -8
- package/dist/esm/{Heading-f71bbfe4.js → Heading-9e7e60aa.js} +2 -2
- package/dist/esm/{app-globals-61e0f5bb.js → app-globals-be068759.js} +2 -2
- package/dist/esm/{array-f3af604a.js → array-1cdf24cf.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +17 -20
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +15 -15
- package/dist/esm/calcite-action-pad.entry.js +12 -13
- package/dist/esm/calcite-action.entry.js +13 -17
- package/dist/esm/calcite-alert.entry.js +12 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +11 -12
- package/dist/esm/calcite-button.entry.js +15 -19
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +11 -12
- package/dist/esm/calcite-chip.entry.js +9 -10
- package/dist/esm/calcite-color-picker_3.entry.js +19 -21
- package/dist/esm/calcite-combobox_3.entry.js +30 -37
- package/dist/esm/calcite-date-picker_4.entry.js +19 -24
- package/dist/esm/calcite-dropdown_3.entry.js +19 -22
- 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 +10 -11
- package/dist/esm/calcite-flow.entry.js +5 -7
- package/dist/esm/calcite-graph_2.entry.js +16 -18
- package/dist/esm/calcite-handle.entry.js +7 -8
- package/dist/esm/calcite-icon.entry.js +7 -8
- package/dist/esm/calcite-inline-editable.entry.js +17 -23
- package/dist/esm/calcite-input-date-picker.entry.js +23 -27
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +23 -31
- package/dist/esm/calcite-input-text.entry.js +14 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +22 -26
- package/dist/esm/calcite-input.entry.js +25 -33
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +22 -26
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +14 -17
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +17 -22
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +18 -21
- package/dist/esm/calcite-pick-list_3.entry.js +15 -17
- 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 +5 -7
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-radio-group_2.entry.js +11 -12
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +12 -14
- package/dist/esm/calcite-sortable-list.entry.js +10 -15
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +17 -22
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +26 -34
- package/dist/esm/calcite-tile-select_2.entry.js +6 -7
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -15
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +16 -21
- package/dist/esm/calcite-value-list_2.entry.js +19 -21
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-be35718d.js → conditionalSlot-264302f2.js} +3 -3
- package/dist/esm/{debounce-511eda6a.js → debounce-97af721b.js} +1 -1
- package/dist/esm/{dom-3d0a39a1.js → dom-e83e3685.js} +13 -13
- package/dist/esm/{filter-275e53f4.js → filter-74f44357.js} +3 -3
- package/dist/esm/{floating-ui-fc56a23b.js → floating-ui-a46ce22a.js} +7 -8
- package/dist/esm/{focusTrapComponent-2dcf390f.js → focusTrapComponent-976fba1d.js} +4 -6
- package/dist/esm/{form-99c3afb4.js → form-e64648c7.js} +5 -7
- package/dist/esm/{guid-b0902c5e.js → guid-d9ecc494.js} +1 -1
- package/dist/esm/{index-a3e37dea.js → index-83004828.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ee12cb1f.js → interactive-9e6a5f71.js} +1 -1
- package/dist/esm/{interfaces-461b2615.js → interfaces-b1d9177f.js} +1 -1
- package/dist/esm/{key-26613542.js → key-06b23960.js} +1 -1
- package/dist/esm/{label-b9c0aa89.js → label-e92abdfa.js} +4 -5
- package/dist/esm/{loadable-9a013351.js → loadable-0c46daa0.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-35d09242.js → locale-4983f5d8.js} +7 -8
- package/dist/esm/{math-5fdb35a6.js → math-3122e153.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-928c5ed3.js → nonChromiumPlatformUtils-238e88ad.js} +6 -6
- package/dist/esm/{observers-1bc07c7a.js → observers-89a35a75.js} +1 -1
- package/dist/esm/{openCloseComponent-1a0f1e5f.js → openCloseComponent-fdff8486.js} +1 -1
- package/dist/esm/{resources-fd9aac1d.js → resources-2e32226e.js} +11 -16
- package/dist/esm/{resources-52b91f29.js → resources-35e36c39.js} +1 -1
- package/dist/esm/{resources-0440659e.js → resources-36963763.js} +1 -1
- package/dist/esm/{resources-205e1a5e.js → resources-3a95b40f.js} +3 -3
- package/dist/esm/{resources-a1b41b10.js → resources-812152a0.js} +1 -1
- package/dist/esm/{resources-9c2b241b.js → resources-edac802c.js} +1 -1
- package/dist/esm/{sortable.esm-a20e5345.js → sortable.esm-ac2f32ed.js} +1 -1
- package/dist/esm/{utils-a06ba7b4.js → utils-1cddbae1.js} +2 -2
- package/dist/extras/docs-json.json +2 -2
- 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/hydrate/index.js +252 -392
- package/package.json +1 -1
- package/dist/calcite/p-01182fb3.entry.js +0 -6
- package/dist/calcite/p-01cdb480.entry.js +0 -6
- package/dist/calcite/p-0bf47b10.entry.js +0 -6
- package/dist/calcite/p-0fe25017.entry.js +0 -6
- package/dist/calcite/p-169a8a94.entry.js +0 -6
- package/dist/calcite/p-25ca3105.entry.js +0 -6
- package/dist/calcite/p-272fc5c7.entry.js +0 -6
- package/dist/calcite/p-2a4269f0.entry.js +0 -6
- package/dist/calcite/p-2d6e9def.entry.js +0 -6
- package/dist/calcite/p-377b89a4.entry.js +0 -6
- package/dist/calcite/p-3e45b099.entry.js +0 -6
- package/dist/calcite/p-4331211c.js +0 -6
- package/dist/calcite/p-47aa3608.entry.js +0 -6
- package/dist/calcite/p-47f53948.js +0 -6
- package/dist/calcite/p-49a74b3e.js +0 -6
- package/dist/calcite/p-4ee5ad79.js +0 -6
- package/dist/calcite/p-50755b97.entry.js +0 -6
- package/dist/calcite/p-5a715918.entry.js +0 -6
- package/dist/calcite/p-5dd53e64.js +0 -6
- package/dist/calcite/p-5fcff767.entry.js +0 -6
- package/dist/calcite/p-60967994.entry.js +0 -6
- package/dist/calcite/p-6653a04c.entry.js +0 -6
- package/dist/calcite/p-6d2cb8f4.entry.js +0 -6
- package/dist/calcite/p-761d2432.entry.js +0 -6
- package/dist/calcite/p-798770da.entry.js +0 -6
- package/dist/calcite/p-7de16322.entry.js +0 -6
- package/dist/calcite/p-88a03f41.entry.js +0 -6
- package/dist/calcite/p-8e4e1bf2.entry.js +0 -6
- package/dist/calcite/p-90e5f7d2.entry.js +0 -6
- package/dist/calcite/p-95d84aec.entry.js +0 -6
- package/dist/calcite/p-9be255ca.entry.js +0 -6
- package/dist/calcite/p-9dd2a286.js +0 -6
- package/dist/calcite/p-9e30d06b.entry.js +0 -6
- package/dist/calcite/p-a3da6c86.entry.js +0 -6
- package/dist/calcite/p-a4a63866.js +0 -6
- package/dist/calcite/p-b52accff.entry.js +0 -6
- package/dist/calcite/p-b858d734.entry.js +0 -6
- package/dist/calcite/p-c1792c48.entry.js +0 -6
- package/dist/calcite/p-c56796e6.entry.js +0 -6
- package/dist/calcite/p-c881f4fc.js +0 -6
- package/dist/calcite/p-c8b9c903.entry.js +0 -6
- package/dist/calcite/p-cce9a30d.entry.js +0 -6
- package/dist/calcite/p-cd5323d3.entry.js +0 -6
- package/dist/calcite/p-d16cee95.entry.js +0 -6
- package/dist/calcite/p-df1e5c64.entry.js +0 -6
- package/dist/calcite/p-e86f837e.js +0 -6
- package/dist/calcite/p-f00cdd90.entry.js +0 -6
- package/dist/calcite/p-f7fffa4a.entry.js +0 -6
- package/dist/calcite/p-fafa19e5.entry.js +0 -6
|
@@ -1,11 +1,11 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
8
|
+
const dom = require('./dom-f3870c02.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Exported for testing purposes only
|
|
@@ -47,7 +47,7 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
47
47
|
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
48
48
|
const ancestorCustomElements = traversedElements
|
|
49
49
|
.filter((el) => el !== componentEl && el !== label)
|
|
50
|
-
.filter((el) =>
|
|
50
|
+
.filter((el) => el.tagName?.includes("-"));
|
|
51
51
|
return ancestorCustomElements.length > 0;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -100,8 +100,7 @@ function disconnectLabel(component) {
|
|
|
100
100
|
* @param component
|
|
101
101
|
*/
|
|
102
102
|
function getLabelText(component) {
|
|
103
|
-
|
|
104
|
-
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
103
|
+
return component.label || component.labelEl?.textContent?.trim() || "";
|
|
105
104
|
}
|
|
106
105
|
function onLabelClick(event) {
|
|
107
106
|
if (this.disabled) {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
12
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const appGlobals = require('./app-globals-abf96af0.js');
|
|
12
|
+
require('./resources-e34dd4ef.js');
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,13 +1,13 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const key = require('./key-
|
|
9
|
-
const observers = require('./observers-
|
|
10
|
-
const dom = require('./dom-
|
|
8
|
+
const key = require('./key-64fe2d0d.js');
|
|
9
|
+
const observers = require('./observers-265cc6fd.js');
|
|
10
|
+
const dom = require('./dom-f3870c02.js');
|
|
11
11
|
|
|
12
12
|
const defaultMinusSignRegex = new RegExp("-", "g");
|
|
13
13
|
const unnecessaryDecimalRegex = new RegExp("\\.?0+$");
|
|
@@ -302,10 +302,9 @@ const mutationObserver = observers.createObserver("mutation", (records) => {
|
|
|
302
302
|
* @param component
|
|
303
303
|
*/
|
|
304
304
|
function getLocale(component) {
|
|
305
|
-
var _a;
|
|
306
305
|
return (component.el.lang ||
|
|
307
306
|
component.locale ||
|
|
308
|
-
|
|
307
|
+
dom.closestElementCrossShadowBoundary(component.el, "[lang]")?.lang ||
|
|
309
308
|
document.documentElement.lang ||
|
|
310
309
|
defaultLocale);
|
|
311
310
|
}
|
|
@@ -356,8 +355,8 @@ class NumberStringFormat {
|
|
|
356
355
|
* numberFormatOptions needs to be set before localize/delocalize is called to ensure the options are up to date
|
|
357
356
|
*/
|
|
358
357
|
set numberFormatOptions(options) {
|
|
359
|
-
options.locale = getSupportedLocale(options
|
|
360
|
-
options.numberingSystem = getSupportedNumberingSystem(options
|
|
358
|
+
options.locale = getSupportedLocale(options?.locale);
|
|
359
|
+
options.numberingSystem = getSupportedNumberingSystem(options?.numberingSystem);
|
|
361
360
|
if (
|
|
362
361
|
// No need to create the formatter if `locale` and `numberingSystem`
|
|
363
362
|
// are the default values and `numberFormatOptions` has not been set
|
package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-a8326836.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const floatingUi = require('./floating-ui-
|
|
9
|
-
require('./dom-
|
|
10
|
-
require('./resources-
|
|
11
|
-
require('./guid-
|
|
12
|
-
require('./debounce-
|
|
8
|
+
const floatingUi = require('./floating-ui-3c7d9b63.js');
|
|
9
|
+
require('./dom-f3870c02.js');
|
|
10
|
+
require('./resources-e34dd4ef.js');
|
|
11
|
+
require('./guid-01d6fefc.js');
|
|
12
|
+
require('./debounce-d3347e7f.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* This module provides utils to fix positioning across shadow DOM in non-Chromium browsers
|
|
@@ -1,14 +1,14 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const array = require('./array-
|
|
10
|
-
const debounce = require('./debounce-
|
|
11
|
-
const index = require('./index-
|
|
8
|
+
const dom = require('./dom-f3870c02.js');
|
|
9
|
+
const array = require('./array-96bd470b.js');
|
|
10
|
+
const debounce = require('./debounce-d3347e7f.js');
|
|
11
|
+
const index = require('./index-483dbe04.js');
|
|
12
12
|
|
|
13
13
|
const CSS$2 = {
|
|
14
14
|
heading: "heading",
|
|
@@ -37,12 +37,10 @@ function initialize() {
|
|
|
37
37
|
this.emitCalciteListFilter = debounce.debounce(internalCalciteListFilterEvent.bind(this), 0);
|
|
38
38
|
}
|
|
39
39
|
function initializeObserver() {
|
|
40
|
-
|
|
41
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
40
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
42
41
|
}
|
|
43
42
|
function cleanUpObserver() {
|
|
44
|
-
|
|
45
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
43
|
+
this.mutationObserver?.disconnect();
|
|
46
44
|
}
|
|
47
45
|
// --------------------------------------------------------------------------
|
|
48
46
|
//
|
|
@@ -185,7 +183,6 @@ function toggleSingleSelectItemTabbing(item, selectable) {
|
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
async function setFocus(focusId) {
|
|
188
|
-
var _a;
|
|
189
186
|
if (this.filterEnabled && focusId === "filter") {
|
|
190
187
|
await dom.focusElement(this.filterEl);
|
|
191
188
|
return;
|
|
@@ -195,7 +192,7 @@ async function setFocus(focusId) {
|
|
|
195
192
|
return;
|
|
196
193
|
}
|
|
197
194
|
if (multiple) {
|
|
198
|
-
return
|
|
195
|
+
return filterOutDisabled(items)[0]?.setFocus();
|
|
199
196
|
}
|
|
200
197
|
const filtered = filterOutDisabled(items);
|
|
201
198
|
const focusTarget = filtered.find((item) => item.selected) || filtered[0];
|
|
@@ -267,14 +264,13 @@ function selectSiblings(item, deselect = false) {
|
|
|
267
264
|
}
|
|
268
265
|
let groups;
|
|
269
266
|
function handleFilter(emit = false) {
|
|
270
|
-
var _a;
|
|
271
267
|
const { filteredData, filterText } = this;
|
|
272
268
|
const values = filteredData.map((item) => item.value);
|
|
273
269
|
let hasSelectedMatch = false;
|
|
274
270
|
if (!groups) {
|
|
275
271
|
groups = new Set();
|
|
276
272
|
}
|
|
277
|
-
const matchedItems =
|
|
273
|
+
const matchedItems = this.items?.filter((item) => {
|
|
278
274
|
const parent = item.parentElement;
|
|
279
275
|
const grouped = parent.matches("calcite-pick-list-group");
|
|
280
276
|
if (grouped) {
|
|
@@ -286,7 +282,7 @@ function handleFilter(emit = false) {
|
|
|
286
282
|
hasSelectedMatch = matches && item.selected;
|
|
287
283
|
}
|
|
288
284
|
return matches;
|
|
289
|
-
})
|
|
285
|
+
}) || [];
|
|
290
286
|
groups.forEach((group) => {
|
|
291
287
|
const hasAtLeastOneMatch = matchedItems.some((item) => group.contains(item));
|
|
292
288
|
group.hidden = !hasAtLeastOneMatch;
|
|
@@ -311,8 +307,7 @@ function handleFilter(emit = false) {
|
|
|
311
307
|
}
|
|
312
308
|
}
|
|
313
309
|
function handleInitialFilter() {
|
|
314
|
-
|
|
315
|
-
const filteredItems = (_a = this.filterEl) === null || _a === void 0 ? void 0 : _a.filteredItems;
|
|
310
|
+
const filteredItems = this.filterEl?.filteredItems;
|
|
316
311
|
if (filteredItems) {
|
|
317
312
|
this.filteredData = filteredItems;
|
|
318
313
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const locale = require('./locale-
|
|
8
|
+
const index = require('./index-483dbe04.js');
|
|
9
|
+
const locale = require('./locale-66bb4c04.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Check if date is within a min and max
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -110,7 +110,7 @@ function hasChannels(colorObject, ...channels) {
|
|
|
110
110
|
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
|
111
111
|
}
|
|
112
112
|
function colorEqual(value1, value2) {
|
|
113
|
-
return
|
|
113
|
+
return value1?.rgbNumber() === value2?.rgbNumber();
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
exports.CSSColorMode = CSSColorMode;
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
/**
|
|
@@ -131,7 +131,7 @@ export class Accordion {
|
|
|
131
131
|
}
|
|
132
132
|
focusElement(item) {
|
|
133
133
|
const target = item;
|
|
134
|
-
target
|
|
134
|
+
target?.focus();
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "calcite-accordion"; }
|
|
137
137
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
actionsStart: "actions-start",
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h, forceUpdate } from "@stencil/core";
|
|
7
7
|
import { CSS, TEXT, SLOTS } from "./resources";
|
|
@@ -25,7 +25,7 @@ export class Action {
|
|
|
25
25
|
.assignedElements({
|
|
26
26
|
flatten: true
|
|
27
27
|
})
|
|
28
|
-
.filter((el) => el
|
|
28
|
+
.filter((el) => el?.matches("calcite-tooltip"));
|
|
29
29
|
const tooltip = tooltips[0];
|
|
30
30
|
if (tooltip) {
|
|
31
31
|
tooltip.referenceElement = this.buttonEl;
|
|
@@ -51,8 +51,7 @@ export class Action {
|
|
|
51
51
|
//
|
|
52
52
|
// --------------------------------------------------------------------------
|
|
53
53
|
connectedCallback() {
|
|
54
|
-
|
|
55
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
54
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
56
55
|
}
|
|
57
56
|
componentWillLoad() {
|
|
58
57
|
setUpLoadableComponent(this);
|
|
@@ -61,8 +60,7 @@ export class Action {
|
|
|
61
60
|
setComponentLoaded(this);
|
|
62
61
|
}
|
|
63
62
|
disconnectedCallback() {
|
|
64
|
-
|
|
65
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
63
|
+
this.mutationObserver?.disconnect();
|
|
66
64
|
}
|
|
67
65
|
componentDidRender() {
|
|
68
66
|
updateHostInteraction(this);
|
|
@@ -74,9 +72,8 @@ export class Action {
|
|
|
74
72
|
// --------------------------------------------------------------------------
|
|
75
73
|
/** Sets focus on the component. */
|
|
76
74
|
async setFocus() {
|
|
77
|
-
var _a;
|
|
78
75
|
await componentLoaded(this);
|
|
79
|
-
|
|
76
|
+
this.buttonEl?.focus();
|
|
80
77
|
}
|
|
81
78
|
// --------------------------------------------------------------------------
|
|
82
79
|
//
|
|
@@ -92,14 +89,13 @@ export class Action {
|
|
|
92
89
|
return text ? (h("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
93
90
|
}
|
|
94
91
|
renderIconContainer() {
|
|
95
|
-
var _a;
|
|
96
92
|
const { loading, icon, scale, el, intlLoading } = this;
|
|
97
93
|
const iconScale = scale === "l" ? "m" : "s";
|
|
98
94
|
const loaderScale = scale === "l" ? "l" : "m";
|
|
99
95
|
const calciteLoaderNode = loading ? (h("calcite-loader", { inline: true, label: intlLoading, scale: loaderScale })) : null;
|
|
100
96
|
const calciteIconNode = icon ? h("calcite-icon", { icon: icon, scale: iconScale }) : null;
|
|
101
97
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
102
|
-
const hasIconToDisplay = iconNode ||
|
|
98
|
+
const hasIconToDisplay = iconNode || el.children?.length;
|
|
103
99
|
const slotContainerNode = (h("div", { class: {
|
|
104
100
|
[CSS.slotContainer]: true,
|
|
105
101
|
[CSS.slotContainerHidden]: loading
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { ExpandToggle, toggleChildActionText } from "../functional/ExpandToggle";
|
|
@@ -120,20 +120,18 @@ export class ActionBar {
|
|
|
120
120
|
this.conditionallyOverflowActions();
|
|
121
121
|
}
|
|
122
122
|
connectedCallback() {
|
|
123
|
-
var _a, _b;
|
|
124
123
|
const { el, expanded } = this;
|
|
125
124
|
toggleChildActionText({ parent: el, expanded });
|
|
126
|
-
|
|
125
|
+
this.mutationObserver?.observe(el, { childList: true, subtree: true });
|
|
127
126
|
if (!this.overflowActionsDisabled) {
|
|
128
|
-
|
|
127
|
+
this.resizeObserver?.observe(el);
|
|
129
128
|
}
|
|
130
129
|
this.conditionallyOverflowActions();
|
|
131
130
|
connectConditionalSlotComponent(this);
|
|
132
131
|
}
|
|
133
132
|
disconnectedCallback() {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
133
|
+
this.mutationObserver?.disconnect();
|
|
134
|
+
this.resizeObserver?.disconnect();
|
|
137
135
|
disconnectConditionalSlotComponent(this);
|
|
138
136
|
}
|
|
139
137
|
// --------------------------------------------------------------------------
|
|
@@ -155,13 +153,12 @@ export class ActionBar {
|
|
|
155
153
|
* @param focusId
|
|
156
154
|
*/
|
|
157
155
|
async setFocus(focusId) {
|
|
158
|
-
var _a;
|
|
159
156
|
await componentLoaded(this);
|
|
160
157
|
if (focusId === "expand-toggle") {
|
|
161
158
|
await focusElement(this.expandToggleEl);
|
|
162
159
|
return;
|
|
163
160
|
}
|
|
164
|
-
|
|
161
|
+
this.el?.focus();
|
|
165
162
|
}
|
|
166
163
|
// --------------------------------------------------------------------------
|
|
167
164
|
//
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
actionGroupBottom: "action-group--bottom"
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from "@stencil/core";
|
|
7
7
|
import { SLOTS as ACTION_MENU_SLOTS } from "../action-menu/resources";
|
|
@@ -10,7 +10,7 @@ export const overflowActionsDebounceInMs = 150;
|
|
|
10
10
|
const groupBufferPx = 2;
|
|
11
11
|
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
12
12
|
export const geActionDimensions = (actions) => {
|
|
13
|
-
const actionLen = actions
|
|
13
|
+
const actionLen = actions?.length;
|
|
14
14
|
return {
|
|
15
15
|
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
16
16
|
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { ICONS, SLOTS, TEXT } from "./resources";
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS, SLOTS, ICONS } from "./resources";
|
|
@@ -69,7 +69,7 @@ export class ActionMenu {
|
|
|
69
69
|
.assignedElements({
|
|
70
70
|
flatten: true
|
|
71
71
|
})
|
|
72
|
-
.filter((el) => el
|
|
72
|
+
.filter((el) => el?.matches("calcite-action"));
|
|
73
73
|
this.slottedMenuButtonEl = actions[0];
|
|
74
74
|
this.connectMenuButtonEl();
|
|
75
75
|
};
|
|
@@ -97,7 +97,7 @@ export class ActionMenu {
|
|
|
97
97
|
.assignedElements({
|
|
98
98
|
flatten: true
|
|
99
99
|
})
|
|
100
|
-
.filter((el) => el
|
|
100
|
+
.filter((el) => el?.matches("calcite-tooltip"));
|
|
101
101
|
this.tooltipEl = tooltips[0];
|
|
102
102
|
this.setTooltipReferenceElement();
|
|
103
103
|
};
|
|
@@ -118,14 +118,14 @@ export class ActionMenu {
|
|
|
118
118
|
action.active = index === activeMenuItemIndex;
|
|
119
119
|
};
|
|
120
120
|
this.updateActions = (actions) => {
|
|
121
|
-
actions
|
|
121
|
+
actions?.forEach(this.updateAction);
|
|
122
122
|
};
|
|
123
123
|
this.handleDefaultSlotChange = (event) => {
|
|
124
124
|
const actions = event.target
|
|
125
125
|
.assignedElements({
|
|
126
126
|
flatten: true
|
|
127
127
|
})
|
|
128
|
-
.filter((el) => el
|
|
128
|
+
.filter((el) => el?.matches("calcite-action"));
|
|
129
129
|
this.actionElements = actions;
|
|
130
130
|
};
|
|
131
131
|
this.menuButtonKeyDown = (event) => {
|
|
@@ -258,8 +258,8 @@ export class ActionMenu {
|
|
|
258
258
|
renderMenuItems() {
|
|
259
259
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
260
260
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
261
|
-
const activeDescendantId =
|
|
262
|
-
return (h("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl
|
|
261
|
+
const activeDescendantId = activeAction?.id || null;
|
|
262
|
+
return (h("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
265
|
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { ExpandToggle, toggleChildActionText } from "../functional/ExpandToggle";
|
|
@@ -78,13 +78,12 @@ export class ActionPad {
|
|
|
78
78
|
* @param focusId
|
|
79
79
|
*/
|
|
80
80
|
async setFocus(focusId) {
|
|
81
|
-
var _a;
|
|
82
81
|
await componentLoaded(this);
|
|
83
82
|
if (focusId === "expand-toggle") {
|
|
84
83
|
await focusElement(this.expandToggleEl);
|
|
85
84
|
return;
|
|
86
85
|
}
|
|
87
|
-
|
|
86
|
+
this.el?.focus();
|
|
88
87
|
}
|
|
89
88
|
// --------------------------------------------------------------------------
|
|
90
89
|
//
|
|
@@ -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.654
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
actionGroupBottom: "action-group--bottom",
|