@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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as color, d as defineCustomElement$a } from './color-picker-swatch.js';
|
|
@@ -207,7 +207,6 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
this.handleColorFieldAndSliderPointerDown = (event) => {
|
|
210
|
-
var _a, _b;
|
|
211
210
|
if (!isPrimaryPointerButton(event)) {
|
|
212
211
|
return;
|
|
213
212
|
}
|
|
@@ -216,12 +215,12 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
216
215
|
if (region === "color-field") {
|
|
217
216
|
this.hueThumbState = "drag";
|
|
218
217
|
this.captureColorFieldColor(offsetX, offsetY);
|
|
219
|
-
|
|
218
|
+
this.colorFieldScopeNode?.focus();
|
|
220
219
|
}
|
|
221
220
|
else if (region === "slider") {
|
|
222
221
|
this.sliderThumbState = "drag";
|
|
223
222
|
this.captureHueSliderColor(offsetX);
|
|
224
|
-
|
|
223
|
+
this.hueScopeNode?.focus();
|
|
225
224
|
}
|
|
226
225
|
// prevent text selection outside of color field & slider area
|
|
227
226
|
event.preventDefault();
|
|
@@ -365,7 +364,7 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
365
364
|
/* the channel container is ltr, so we apply the host's direction */
|
|
366
365
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
367
366
|
};
|
|
368
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value
|
|
367
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
369
368
|
this.deleteColor = () => {
|
|
370
369
|
const colorToDelete = this.color.hex();
|
|
371
370
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -461,9 +460,8 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
461
460
|
this.internalColorSet(this.color, false, "internal");
|
|
462
461
|
}
|
|
463
462
|
handleScaleChange(scale = "m") {
|
|
464
|
-
var _a;
|
|
465
463
|
this.updateDimensions(scale);
|
|
466
|
-
this.updateCanvasSize(
|
|
464
|
+
this.updateCanvasSize(this.fieldAndSliderRenderingContext?.canvas);
|
|
467
465
|
}
|
|
468
466
|
handleValueChange(value, oldValue) {
|
|
469
467
|
const { allowEmpty, format } = this;
|
|
@@ -509,7 +507,7 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
509
507
|
this.shiftKeyChannelAdjustment = 0;
|
|
510
508
|
const { key } = event;
|
|
511
509
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
512
|
-
!event.composedPath().some((node) =>
|
|
510
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS.channel))) {
|
|
513
511
|
return;
|
|
514
512
|
}
|
|
515
513
|
const { shiftKey } = event;
|
|
@@ -581,14 +579,14 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
581
579
|
const selectedColorInHex = color ? color.hex() : null;
|
|
582
580
|
const hexInputScale = scale === "l" ? "m" : "s";
|
|
583
581
|
const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;
|
|
584
|
-
const hueTop = hueScopeTop
|
|
585
|
-
const hueLeft = hueScopeLeft
|
|
582
|
+
const hueTop = hueScopeTop ?? sliderHeight / 2 + colorFieldHeight;
|
|
583
|
+
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;
|
|
586
584
|
const noColor = color === null;
|
|
587
585
|
const vertical = scopeOrientation === "vertical";
|
|
588
586
|
return (h("div", { class: CSS.container }, h("div", { class: CSS.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
589
587
|
[CSS.colorFieldAndSlider]: true,
|
|
590
588
|
[CSS.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
591
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color
|
|
589
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS.scope]: true, [CSS.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR.round().hue(), class: { [CSS.scope]: true, [CSS.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
592
590
|
[CSS.controlSection]: true,
|
|
593
591
|
[CSS.section]: true
|
|
594
592
|
} }, hideHex ? null : (h("div", { class: CSS.hexOptions }, h("span", { class: {
|
|
@@ -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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { d as getAncestors, e as getDepth } from './utils2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getElementProp, b as getSlotted } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as filter } from './filter2.js';
|
|
@@ -66,8 +66,8 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
66
66
|
: null;
|
|
67
67
|
};
|
|
68
68
|
this.getValue = () => {
|
|
69
|
-
const items = this.selectedItems.map((item) =>
|
|
70
|
-
return
|
|
69
|
+
const items = this.selectedItems.map((item) => item?.value?.toString());
|
|
70
|
+
return items?.length ? (items.length > 1 ? items : items[0]) : "";
|
|
71
71
|
};
|
|
72
72
|
this.onLabelClick = () => {
|
|
73
73
|
this.setFocus();
|
|
@@ -313,8 +313,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
this.comboboxFocusHandler = () => {
|
|
316
|
-
|
|
317
|
-
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
316
|
+
this.textInput?.focus();
|
|
318
317
|
};
|
|
319
318
|
this.comboboxBlurHandler = (event) => {
|
|
320
319
|
this.setInactiveIfNotContained(event);
|
|
@@ -439,9 +438,8 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
439
438
|
}
|
|
440
439
|
/** Sets focus on the component. */
|
|
441
440
|
async setFocus() {
|
|
442
|
-
var _a;
|
|
443
441
|
await componentLoaded(this);
|
|
444
|
-
|
|
442
|
+
this.textInput?.focus();
|
|
445
443
|
this.activeChipIndex = -1;
|
|
446
444
|
this.activeItemIndex = -1;
|
|
447
445
|
}
|
|
@@ -451,11 +449,10 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
451
449
|
//
|
|
452
450
|
// --------------------------------------------------------------------------
|
|
453
451
|
connectedCallback() {
|
|
454
|
-
var _a;
|
|
455
452
|
this.internalValueChangeFlag = true;
|
|
456
453
|
this.value = this.getValue();
|
|
457
454
|
this.internalValueChangeFlag = false;
|
|
458
|
-
|
|
455
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
459
456
|
connectLabel(this);
|
|
460
457
|
connectForm(this);
|
|
461
458
|
connectOpenCloseComponent(this);
|
|
@@ -485,9 +482,8 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
485
482
|
updateHostInteraction(this);
|
|
486
483
|
}
|
|
487
484
|
disconnectedCallback() {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
485
|
+
this.mutationObserver?.disconnect();
|
|
486
|
+
this.resizeObserver?.disconnect();
|
|
491
487
|
disconnectLabel(this);
|
|
492
488
|
disconnectForm(this);
|
|
493
489
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -544,7 +540,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
544
540
|
// if item has children items, don't count their height twice
|
|
545
541
|
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
|
546
542
|
children
|
|
547
|
-
.map((child) => child
|
|
543
|
+
.map((child) => child?.offsetHeight)
|
|
548
544
|
.forEach((offsetHeight) => {
|
|
549
545
|
height -= offsetHeight;
|
|
550
546
|
});
|
|
@@ -704,12 +700,11 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
704
700
|
this.updateActiveItemIndex(-1);
|
|
705
701
|
}
|
|
706
702
|
focusChip() {
|
|
707
|
-
|
|
708
|
-
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
|
703
|
+
const guid = this.selectedItems[this.activeChipIndex]?.guid;
|
|
709
704
|
const chip = guid
|
|
710
705
|
? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
|
|
711
706
|
: null;
|
|
712
|
-
chip
|
|
707
|
+
chip?.setFocus();
|
|
713
708
|
}
|
|
714
709
|
shiftActiveItemIndex(delta) {
|
|
715
710
|
const { length } = this.visibleItems;
|
|
@@ -765,7 +760,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
765
760
|
"input-wrap--single": single
|
|
766
761
|
} }, showLabel && (h("span", { class: {
|
|
767
762
|
label: true,
|
|
768
|
-
"label--icon": !!
|
|
763
|
+
"label--icon": !!selectedItem?.icon
|
|
769
764
|
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
770
765
|
input: true,
|
|
771
766
|
"input--single": true,
|
|
@@ -792,7 +787,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
792
787
|
renderIconStart() {
|
|
793
788
|
const { selectedItems, placeholderIcon, selectionMode } = this;
|
|
794
789
|
const selectedItem = selectedItems[0];
|
|
795
|
-
const selectedIcon = selectedItem
|
|
790
|
+
const selectedIcon = selectedItem?.icon;
|
|
796
791
|
const singleSelectionMode = selectionMode === "single";
|
|
797
792
|
const iconAtStart = !this.open && selectedItem
|
|
798
793
|
? !!selectedIcon && singleSelectionMode
|
|
@@ -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 { D as DatePickerDay, d as defineCustomElement$1 } from './date-picker-day.js';
|
|
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 { D as DatePickerMonthHeader, d as defineCustomElement$1 } from './date-picker-month-header.js';
|
|
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 { D as DatePickerMonth, d as defineCustomElement$1 } from './date-picker-month.js';
|
|
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 { D as DatePicker, d as defineCustomElement$1 } from './date-picker.js';
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getElementProp } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getElementProp, t as toAriaBoolean } from './dom.js';
|
|
@@ -44,9 +44,8 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
44
44
|
//--------------------------------------------------------------------------
|
|
45
45
|
/** Sets focus on the component. */
|
|
46
46
|
async setFocus() {
|
|
47
|
-
var _a;
|
|
48
47
|
await componentLoaded(this);
|
|
49
|
-
|
|
48
|
+
this.el?.focus();
|
|
50
49
|
}
|
|
51
50
|
//--------------------------------------------------------------------------
|
|
52
51
|
//
|
|
@@ -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 { D as Dropdown, d as defineCustomElement$1 } from './dropdown.js';
|
|
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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { F as Filter, d as defineCustomElement$1 } from './filter.js';
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
@@ -117,7 +117,7 @@ const FlowItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
117
117
|
backButtonEl.setFocus();
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
|
-
containerEl
|
|
120
|
+
containerEl?.setFocus();
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -131,8 +131,7 @@ const FlowItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
131
131
|
* @param options
|
|
132
132
|
*/
|
|
133
133
|
async scrollContentTo(options) {
|
|
134
|
-
|
|
135
|
-
await ((_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.scrollContentTo(options));
|
|
134
|
+
await this.containerEl?.scrollContentTo(options);
|
|
136
135
|
}
|
|
137
136
|
// --------------------------------------------------------------------------
|
|
138
137
|
//
|
|
@@ -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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -83,13 +83,11 @@ const Flow = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
83
83
|
//
|
|
84
84
|
// --------------------------------------------------------------------------
|
|
85
85
|
connectedCallback() {
|
|
86
|
-
|
|
87
|
-
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
86
|
+
this.itemMutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
88
87
|
this.updateFlowProps();
|
|
89
88
|
}
|
|
90
89
|
disconnectedCallback() {
|
|
91
|
-
|
|
92
|
-
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
90
|
+
this.itemMutationObserver?.disconnect();
|
|
93
91
|
}
|
|
94
92
|
// --------------------------------------------------------------------------
|
|
95
93
|
//
|
|
@@ -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 { G as Graph, d as defineCustomElement$1 } from './graph.js';
|
|
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 as Handle, d as defineCustomElement$1 } from './handle.js';
|
|
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 { I as Icon, d as defineCustomElement$1 } from './icon.js';
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getElementProp, b as getSlotted } from './dom.js';
|
|
@@ -40,10 +40,9 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
40
40
|
this.calciteInternalInlineEditableEnableEditingChange = createEvent(this, "calciteInternalInlineEditableEnableEditingChange", 6);
|
|
41
41
|
this.mutationObserver = createObserver("mutation", () => this.mutationObserverCallback());
|
|
42
42
|
this.enableEditing = () => {
|
|
43
|
-
|
|
44
|
-
this.valuePriorToEditing = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value;
|
|
43
|
+
this.valuePriorToEditing = this.inputElement?.value;
|
|
45
44
|
this.editingEnabled = true;
|
|
46
|
-
|
|
45
|
+
this.inputElement?.setFocus();
|
|
47
46
|
this.calciteInternalInlineEditableEnableEditingChange.emit();
|
|
48
47
|
};
|
|
49
48
|
this.disableEditing = () => {
|
|
@@ -60,7 +59,6 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
61
|
this.escapeKeyHandler = async (event) => {
|
|
63
|
-
var _a;
|
|
64
62
|
if (event.defaultPrevented) {
|
|
65
63
|
return;
|
|
66
64
|
}
|
|
@@ -75,7 +73,7 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
75
73
|
}
|
|
76
74
|
if (!!event.shiftKey && event.target === this.cancelEditingButton) {
|
|
77
75
|
event.preventDefault();
|
|
78
|
-
|
|
76
|
+
this.inputElement?.setFocus();
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
};
|
|
@@ -140,9 +138,8 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
140
138
|
//
|
|
141
139
|
//--------------------------------------------------------------------------
|
|
142
140
|
connectedCallback() {
|
|
143
|
-
var _a;
|
|
144
141
|
connectLabel(this);
|
|
145
|
-
|
|
142
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
146
143
|
this.mutationObserverCallback();
|
|
147
144
|
}
|
|
148
145
|
componentWillLoad() {
|
|
@@ -152,9 +149,8 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
152
149
|
setComponentLoaded(this);
|
|
153
150
|
}
|
|
154
151
|
disconnectedCallback() {
|
|
155
|
-
var _a;
|
|
156
152
|
disconnectLabel(this);
|
|
157
|
-
|
|
153
|
+
this.mutationObserver?.disconnect();
|
|
158
154
|
}
|
|
159
155
|
componentDidRender() {
|
|
160
156
|
updateHostInteraction(this);
|
|
@@ -184,13 +180,12 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
184
180
|
//
|
|
185
181
|
//--------------------------------------------------------------------------
|
|
186
182
|
async setFocus() {
|
|
187
|
-
var _a, _b;
|
|
188
183
|
await componentLoaded(this);
|
|
189
184
|
if (this.editingEnabled) {
|
|
190
|
-
|
|
185
|
+
this.inputElement?.setFocus();
|
|
191
186
|
}
|
|
192
187
|
else {
|
|
193
|
-
|
|
188
|
+
this.enableEditingButton?.setFocus();
|
|
194
189
|
}
|
|
195
190
|
}
|
|
196
191
|
//--------------------------------------------------------------------------
|
|
@@ -199,10 +194,9 @@ const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
199
194
|
//
|
|
200
195
|
//--------------------------------------------------------------------------
|
|
201
196
|
mutationObserverCallback() {
|
|
202
|
-
var _a;
|
|
203
197
|
this.updateSlottedInput();
|
|
204
198
|
this.scale =
|
|
205
|
-
this.scale ||
|
|
199
|
+
this.scale || this.inputElement?.scale || getElementProp(this.el, "scale", undefined);
|
|
206
200
|
}
|
|
207
201
|
onLabelClick() {
|
|
208
202
|
this.setFocus();
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getValueAsDateRange, T as TEXT, a as getLocaleData, d as defineCustomElement$8 } from './date-picker.js';
|
|
@@ -84,15 +84,14 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
84
84
|
this.open = false;
|
|
85
85
|
};
|
|
86
86
|
this.keyDownHandler = (event) => {
|
|
87
|
-
var _a, _b;
|
|
88
87
|
const { defaultPrevented, key } = event;
|
|
89
88
|
if (key === "Enter" && !defaultPrevented) {
|
|
90
89
|
this.commitValue();
|
|
91
90
|
if (this.shouldFocusRangeEnd()) {
|
|
92
|
-
|
|
91
|
+
this.endInput?.setFocus();
|
|
93
92
|
}
|
|
94
93
|
else if (this.shouldFocusRangeStart()) {
|
|
95
|
-
|
|
94
|
+
this.startInput?.setFocus();
|
|
96
95
|
}
|
|
97
96
|
if (submitForm(this)) {
|
|
98
97
|
event.preventDefault();
|
|
@@ -144,7 +143,6 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
144
143
|
this.localizeInputValues();
|
|
145
144
|
};
|
|
146
145
|
this.handleDateRangeChange = (event) => {
|
|
147
|
-
var _a, _b;
|
|
148
146
|
if (!this.range || !event.detail) {
|
|
149
147
|
return;
|
|
150
148
|
}
|
|
@@ -153,10 +151,10 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
153
151
|
this.setRangeValue([startDate, endDate]);
|
|
154
152
|
this.localizeInputValues();
|
|
155
153
|
if (this.shouldFocusRangeEnd()) {
|
|
156
|
-
|
|
154
|
+
this.endInput?.setFocus();
|
|
157
155
|
}
|
|
158
156
|
else if (this.shouldFocusRangeStart()) {
|
|
159
|
-
|
|
157
|
+
this.startInput?.setFocus();
|
|
160
158
|
}
|
|
161
159
|
};
|
|
162
160
|
this.setInputValue = (newValue, input = "start") => {
|
|
@@ -363,9 +361,8 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
363
361
|
// --------------------------------------------------------------------------
|
|
364
362
|
/** Sets focus on the component. */
|
|
365
363
|
async setFocus() {
|
|
366
|
-
var _a;
|
|
367
364
|
await componentLoaded(this);
|
|
368
|
-
|
|
365
|
+
this.startInput?.setFocus();
|
|
369
366
|
}
|
|
370
367
|
/**
|
|
371
368
|
* Updates the position of the component.
|
|
@@ -457,14 +454,13 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
457
454
|
updateHostInteraction(this);
|
|
458
455
|
}
|
|
459
456
|
render() {
|
|
460
|
-
var _a, _b;
|
|
461
457
|
const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
|
|
462
458
|
numberStringFormatter.numberFormatOptions = {
|
|
463
459
|
numberingSystem,
|
|
464
460
|
locale: effectiveLocale,
|
|
465
461
|
useGrouping: false
|
|
466
462
|
};
|
|
467
|
-
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder:
|
|
463
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
468
464
|
[CSS.menu]: true,
|
|
469
465
|
[CSS.menuActive]: this.open
|
|
470
466
|
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
@@ -475,7 +471,7 @@ const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
475
471
|
}, ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
476
472
|
input: true,
|
|
477
473
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
478
|
-
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder:
|
|
474
|
+
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), h(HiddenFormInputSlot, { component: this })));
|
|
479
475
|
}
|
|
480
476
|
setReferenceEl() {
|
|
481
477
|
const { focusedInput, layout, endWrapper, startWrapper } = 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 { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as setRequestedIcon, g as getElementProp } from './dom.js';
|