@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,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 { createObserver } from "../../utils/observers";
|
|
@@ -44,9 +44,8 @@ export class Option {
|
|
|
44
44
|
//
|
|
45
45
|
//--------------------------------------------------------------------------
|
|
46
46
|
connectedCallback() {
|
|
47
|
-
var _a;
|
|
48
47
|
this.ensureTextContentDependentProps();
|
|
49
|
-
|
|
48
|
+
this.mutationObserver?.observe(this.el, {
|
|
50
49
|
attributeFilter: ["label", "value"],
|
|
51
50
|
characterData: true,
|
|
52
51
|
childList: true,
|
|
@@ -54,8 +53,7 @@ export class Option {
|
|
|
54
53
|
});
|
|
55
54
|
}
|
|
56
55
|
disconnectedCallback() {
|
|
57
|
-
|
|
58
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
56
|
+
this.mutationObserver?.disconnect();
|
|
59
57
|
}
|
|
60
58
|
//--------------------------------------------------------------------------
|
|
61
59
|
//
|
|
@@ -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, Fragment } from "@stencil/core";
|
|
7
7
|
/**
|
|
@@ -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, Fragment } from "@stencil/core";
|
|
7
7
|
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
@@ -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, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS, SLOTS, TEXT } from "./resources";
|
|
@@ -103,11 +103,10 @@ export class Panel {
|
|
|
103
103
|
this.hasFab = !!elements.length;
|
|
104
104
|
};
|
|
105
105
|
this.setPanelScrollEl = (el) => {
|
|
106
|
-
var _a, _b;
|
|
107
106
|
this.panelScrollEl = el;
|
|
108
|
-
|
|
107
|
+
this.resizeObserver?.disconnect();
|
|
109
108
|
if (el) {
|
|
110
|
-
|
|
109
|
+
this.resizeObserver?.observe(el);
|
|
111
110
|
this.resizeHandler();
|
|
112
111
|
}
|
|
113
112
|
};
|
|
@@ -151,8 +150,7 @@ export class Panel {
|
|
|
151
150
|
//
|
|
152
151
|
// --------------------------------------------------------------------------
|
|
153
152
|
disconnectedCallback() {
|
|
154
|
-
|
|
155
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
153
|
+
this.resizeObserver?.disconnect();
|
|
156
154
|
}
|
|
157
155
|
// --------------------------------------------------------------------------
|
|
158
156
|
//
|
|
@@ -168,11 +166,11 @@ export class Panel {
|
|
|
168
166
|
await componentLoaded(this);
|
|
169
167
|
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
170
168
|
if (focusId === "back-button") {
|
|
171
|
-
backButtonEl
|
|
169
|
+
backButtonEl?.setFocus();
|
|
172
170
|
return;
|
|
173
171
|
}
|
|
174
172
|
if (focusId === "dismiss-button") {
|
|
175
|
-
closeButtonEl
|
|
173
|
+
closeButtonEl?.setFocus();
|
|
176
174
|
return;
|
|
177
175
|
}
|
|
178
176
|
if (backButtonEl) {
|
|
@@ -183,7 +181,7 @@ export class Panel {
|
|
|
183
181
|
closeButtonEl.setFocus();
|
|
184
182
|
return;
|
|
185
183
|
}
|
|
186
|
-
containerEl
|
|
184
|
+
containerEl?.focus();
|
|
187
185
|
}
|
|
188
186
|
/**
|
|
189
187
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -197,8 +195,7 @@ export class Panel {
|
|
|
197
195
|
* @param options
|
|
198
196
|
*/
|
|
199
197
|
async scrollContentTo(options) {
|
|
200
|
-
|
|
201
|
-
(_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
|
|
198
|
+
this.panelScrollEl?.scrollTo(options);
|
|
202
199
|
}
|
|
203
200
|
// --------------------------------------------------------------------------
|
|
204
201
|
//
|
|
@@ -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
|
backButton: "back-button",
|
|
@@ -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 { ICON_TYPES } 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
|
import { debounce } from "lodash-es";
|
|
7
7
|
import { focusElement, getSlotted } from "../../utils/dom";
|
|
@@ -25,12 +25,10 @@ export function initialize() {
|
|
|
25
25
|
this.emitCalciteListFilter = debounce(internalCalciteListFilterEvent.bind(this), 0);
|
|
26
26
|
}
|
|
27
27
|
export function initializeObserver() {
|
|
28
|
-
|
|
29
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
28
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
30
29
|
}
|
|
31
30
|
export function cleanUpObserver() {
|
|
32
|
-
|
|
33
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
31
|
+
this.mutationObserver?.disconnect();
|
|
34
32
|
}
|
|
35
33
|
// --------------------------------------------------------------------------
|
|
36
34
|
//
|
|
@@ -173,7 +171,6 @@ function toggleSingleSelectItemTabbing(item, selectable) {
|
|
|
173
171
|
}
|
|
174
172
|
}
|
|
175
173
|
export async function setFocus(focusId) {
|
|
176
|
-
var _a;
|
|
177
174
|
if (this.filterEnabled && focusId === "filter") {
|
|
178
175
|
await focusElement(this.filterEl);
|
|
179
176
|
return;
|
|
@@ -183,7 +180,7 @@ export async function setFocus(focusId) {
|
|
|
183
180
|
return;
|
|
184
181
|
}
|
|
185
182
|
if (multiple) {
|
|
186
|
-
return
|
|
183
|
+
return filterOutDisabled(items)[0]?.setFocus();
|
|
187
184
|
}
|
|
188
185
|
const filtered = filterOutDisabled(items);
|
|
189
186
|
const focusTarget = filtered.find((item) => item.selected) || filtered[0];
|
|
@@ -260,14 +257,13 @@ export function selectSiblings(item, deselect = false) {
|
|
|
260
257
|
}
|
|
261
258
|
let groups;
|
|
262
259
|
export function handleFilter(emit = false) {
|
|
263
|
-
var _a;
|
|
264
260
|
const { filteredData, filterText } = this;
|
|
265
261
|
const values = filteredData.map((item) => item.value);
|
|
266
262
|
let hasSelectedMatch = false;
|
|
267
263
|
if (!groups) {
|
|
268
264
|
groups = new Set();
|
|
269
265
|
}
|
|
270
|
-
const matchedItems =
|
|
266
|
+
const matchedItems = this.items?.filter((item) => {
|
|
271
267
|
const parent = item.parentElement;
|
|
272
268
|
const grouped = parent.matches("calcite-pick-list-group");
|
|
273
269
|
if (grouped) {
|
|
@@ -279,7 +275,7 @@ export function handleFilter(emit = false) {
|
|
|
279
275
|
hasSelectedMatch = matches && item.selected;
|
|
280
276
|
}
|
|
281
277
|
return matches;
|
|
282
|
-
})
|
|
278
|
+
}) || [];
|
|
283
279
|
groups.forEach((group) => {
|
|
284
280
|
const hasAtLeastOneMatch = matchedItems.some((item) => group.contains(item));
|
|
285
281
|
group.hidden = !hasAtLeastOneMatch;
|
|
@@ -304,8 +300,7 @@ export function handleFilter(emit = false) {
|
|
|
304
300
|
}
|
|
305
301
|
}
|
|
306
302
|
export function handleInitialFilter() {
|
|
307
|
-
|
|
308
|
-
const filteredItems = (_a = this.filterEl) === null || _a === void 0 ? void 0 : _a.filteredItems;
|
|
303
|
+
const filteredItems = this.filterEl?.filteredItems;
|
|
309
304
|
if (filteredItems) {
|
|
310
305
|
this.filteredData = filteredItems;
|
|
311
306
|
}
|
|
@@ -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 { 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
|
import { h, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, SLOTS } from "./resources";
|
|
@@ -33,7 +33,6 @@ export class PickListGroup {
|
|
|
33
33
|
//
|
|
34
34
|
// --------------------------------------------------------------------------
|
|
35
35
|
render() {
|
|
36
|
-
var _a;
|
|
37
36
|
const { el, groupTitle, headingLevel } = this;
|
|
38
37
|
const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;
|
|
39
38
|
const sectionClasses = {
|
|
@@ -41,7 +40,7 @@ export class PickListGroup {
|
|
|
41
40
|
[CSS.indented]: hasParentItem
|
|
42
41
|
};
|
|
43
42
|
const title = groupTitle;
|
|
44
|
-
const parentLevel =
|
|
43
|
+
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
45
44
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
46
45
|
const level = headingLevel || relativeLevel;
|
|
47
46
|
return (h(Fragment, null, title ? (h(Heading, { class: CSS.heading, level: level }, title)) : null, h("slot", { name: SLOTS.parentItem }), h("section", { class: sectionClasses }, h("slot", null))));
|
|
@@ -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 { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS, SLOTS, TEXT } from "./resources";
|
|
@@ -109,9 +109,8 @@ export class PickListItem {
|
|
|
109
109
|
}
|
|
110
110
|
/** Sets focus on the component. */
|
|
111
111
|
async setFocus() {
|
|
112
|
-
var _a;
|
|
113
112
|
await componentLoaded(this);
|
|
114
|
-
|
|
113
|
+
this.focusEl?.focus();
|
|
115
114
|
}
|
|
116
115
|
// --------------------------------------------------------------------------
|
|
117
116
|
//
|
|
@@ -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 { isPrimaryPointerButton } from "../../utils/dom";
|
|
7
7
|
import { isActivationKey } from "../../utils/key";
|
|
@@ -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, Host, h } from "@stencil/core";
|
|
7
7
|
import { CSS, ARIA_CONTROLS, ARIA_EXPANDED, TEXT, defaultPopoverPlacement } 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 CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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
|
export class Progress {
|
|
@@ -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 { guid } from "../../utils/guid";
|
|
@@ -151,7 +151,7 @@ export class RadioButton {
|
|
|
151
151
|
checkLastRadioButton() {
|
|
152
152
|
const radioButtons = this.queryButtons();
|
|
153
153
|
const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
|
|
154
|
-
if (
|
|
154
|
+
if (checkedRadioButtons?.length > 1) {
|
|
155
155
|
const lastCheckedRadioButton = checkedRadioButtons[checkedRadioButtons.length - 1];
|
|
156
156
|
checkedRadioButtons
|
|
157
157
|
.filter((checkedRadioButton) => checkedRadioButton !== lastCheckedRadioButton)
|
|
@@ -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 { createObserver } from "../../utils/observers";
|
|
@@ -58,13 +58,11 @@ export class RadioButtonGroup {
|
|
|
58
58
|
//
|
|
59
59
|
//--------------------------------------------------------------------------
|
|
60
60
|
connectedCallback() {
|
|
61
|
-
var _a;
|
|
62
61
|
this.passPropsToRadioButtons();
|
|
63
|
-
|
|
62
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
64
63
|
}
|
|
65
64
|
disconnectedCallback() {
|
|
66
|
-
|
|
67
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
65
|
+
this.mutationObserver?.disconnect();
|
|
68
66
|
}
|
|
69
67
|
//--------------------------------------------------------------------------
|
|
70
68
|
//
|
|
@@ -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 { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir } from "../../utils/dom";
|
|
@@ -39,7 +39,7 @@ export class RadioGroup {
|
|
|
39
39
|
items.forEach((item) => (item.checked = item.value === value));
|
|
40
40
|
}
|
|
41
41
|
handleSelectedItemChange(newItem, oldItem) {
|
|
42
|
-
this.value = newItem
|
|
42
|
+
this.value = newItem?.value;
|
|
43
43
|
if (newItem === oldItem) {
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
@@ -146,9 +146,8 @@ export class RadioGroup {
|
|
|
146
146
|
// --------------------------------------------------------------------------
|
|
147
147
|
/** Sets focus on the component. */
|
|
148
148
|
async setFocus() {
|
|
149
|
-
var _a;
|
|
150
149
|
await componentLoaded(this);
|
|
151
|
-
(
|
|
150
|
+
(this.selectedItem || this.getItems()[0])?.focus();
|
|
152
151
|
}
|
|
153
152
|
//--------------------------------------------------------------------------
|
|
154
153
|
//
|
|
@@ -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 { getElementProp, 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
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -96,8 +96,7 @@ export class Rating {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
const { disabled, intlRating, showChip, scale, count, average } = this;
|
|
99
|
-
return (h(Fragment, null, h("fieldset", { class: "fieldset", disabled: disabled, onBlur: () => (this.hoverValue = null), onPointerLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, h("legend", { class: "visually-hidden" }, intlRating), this.renderStars()), (count || average) && showChip ? (h("calcite-chip", { scale: scale, value: count
|
|
100
|
-
count.toString(), ")"))) : null, h(HiddenFormInputSlot, { component: this })));
|
|
99
|
+
return (h(Fragment, null, h("fieldset", { class: "fieldset", disabled: disabled, onBlur: () => (this.hoverValue = null), onPointerLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, h("legend", { class: "visually-hidden" }, intlRating), this.renderStars()), (count || average) && showChip ? (h("calcite-chip", { scale: scale, value: count?.toString() }, !!average && h("span", { class: "number--average" }, average.toString()), !!count && h("span", { class: "number--count" }, "(", count?.toString(), ")"))) : null, h(HiddenFormInputSlot, { component: this })));
|
|
101
100
|
}
|
|
102
101
|
//--------------------------------------------------------------------------
|
|
103
102
|
//
|
|
@@ -118,9 +117,8 @@ export class Rating {
|
|
|
118
117
|
//--------------------------------------------------------------------------
|
|
119
118
|
/** Sets focus on the component. */
|
|
120
119
|
async setFocus() {
|
|
121
|
-
var _a;
|
|
122
120
|
await componentLoaded(this);
|
|
123
|
-
|
|
121
|
+
this.inputFocusRef?.focus();
|
|
124
122
|
}
|
|
125
123
|
static get is() { return "calcite-rating"; }
|
|
126
124
|
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 } from "@stencil/core";
|
|
7
7
|
import { CSS, 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
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { focusElement } from "../../utils/dom";
|
|
@@ -32,7 +32,7 @@ export class Select {
|
|
|
32
32
|
this.populateInternalSelect = () => {
|
|
33
33
|
const optionsAndGroups = Array.from(this.el.children).filter((child) => child.tagName === "CALCITE-OPTION" || child.tagName === "CALCITE-OPTION-GROUP");
|
|
34
34
|
this.clearInternalSelect();
|
|
35
|
-
optionsAndGroups.forEach((optionOrGroup) =>
|
|
35
|
+
optionsAndGroups.forEach((optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)));
|
|
36
36
|
};
|
|
37
37
|
this.storeSelectRef = (node) => {
|
|
38
38
|
this.selectEl = node;
|
|
@@ -57,7 +57,7 @@ export class Select {
|
|
|
57
57
|
items.forEach((item) => (item.selected = item.value === value));
|
|
58
58
|
}
|
|
59
59
|
selectedOptionHandler(selectedOption) {
|
|
60
|
-
this.value = selectedOption
|
|
60
|
+
this.value = selectedOption?.value;
|
|
61
61
|
}
|
|
62
62
|
//--------------------------------------------------------------------------
|
|
63
63
|
//
|
|
@@ -65,9 +65,8 @@ export class Select {
|
|
|
65
65
|
//
|
|
66
66
|
//--------------------------------------------------------------------------
|
|
67
67
|
connectedCallback() {
|
|
68
|
-
var _a;
|
|
69
68
|
const { el } = this;
|
|
70
|
-
|
|
69
|
+
this.mutationObserver?.observe(el, {
|
|
71
70
|
subtree: true,
|
|
72
71
|
childList: true
|
|
73
72
|
});
|
|
@@ -75,8 +74,7 @@ export class Select {
|
|
|
75
74
|
connectForm(this);
|
|
76
75
|
}
|
|
77
76
|
disconnectedCallback() {
|
|
78
|
-
|
|
79
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
77
|
+
this.mutationObserver?.disconnect();
|
|
80
78
|
disconnectLabel(this);
|
|
81
79
|
disconnectForm(this);
|
|
82
80
|
}
|
|
@@ -84,9 +82,8 @@ export class Select {
|
|
|
84
82
|
setUpLoadableComponent(this);
|
|
85
83
|
}
|
|
86
84
|
componentDidLoad() {
|
|
87
|
-
var _a, _b;
|
|
88
85
|
setComponentLoaded(this);
|
|
89
|
-
afterConnectDefaultValueSet(this,
|
|
86
|
+
afterConnectDefaultValueSet(this, this.selectedOption?.value ?? "");
|
|
90
87
|
}
|
|
91
88
|
componentDidRender() {
|
|
92
89
|
updateHostInteraction(this);
|
|
@@ -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, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, SLOTS } 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 CSS = {
|
|
7
7
|
actionBarContainer: "action-bar-container",
|
|
@@ -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, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, SLOTS } from "./resources";
|
|
@@ -39,7 +39,7 @@ export class ShellCenterRow {
|
|
|
39
39
|
const actionBar = getSlotted(el, SLOTS.actionBar);
|
|
40
40
|
const actionBarNode = actionBar ? (h("div", { class: CSS.actionBarContainer, key: "action-bar" }, h("slot", { name: SLOTS.actionBar }))) : null;
|
|
41
41
|
const children = [actionBarNode, contentNode];
|
|
42
|
-
if (
|
|
42
|
+
if (actionBar?.position === "end") {
|
|
43
43
|
children.reverse();
|
|
44
44
|
}
|
|
45
45
|
return h(Fragment, null, children);
|
|
@@ -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
|
container: "container",
|