@esri/calcite-components 1.0.0-next.652 → 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-605c354b.js → p-0254ac2f.js} +1 -1
- package/dist/calcite/{p-fd0b7768.entry.js → p-050ade87.entry.js} +2 -2
- package/dist/calcite/p-06d5c014.entry.js +6 -0
- package/dist/calcite/{p-e2781896.js → p-0be6bca1.js} +1 -1
- package/dist/calcite/{p-804b403c.js → p-1055bcbe.js} +1 -1
- package/dist/calcite/p-10aa4062.entry.js +6 -0
- package/dist/calcite/{p-8b6894f6.entry.js → p-10d7edd8.entry.js} +2 -2
- package/dist/calcite/{p-014b0608.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-ab487711.entry.js → p-2cc5c240.entry.js} +2 -2
- package/dist/calcite/{p-ce840415.js → p-33e17f1b.js} +1 -1
- package/dist/calcite/p-35fc7dca.js +6 -0
- package/dist/calcite/{p-237ac4ea.js → p-39d090ab.js} +1 -1
- package/dist/calcite/{p-b1b2f440.js → p-3a773abe.js} +2 -2
- package/dist/calcite/p-3ce64b5d.js +6 -0
- package/dist/calcite/{p-5aaed790.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-94727757.js → p-4ca4f558.js} +2 -2
- package/dist/calcite/{p-8e0d5c3a.js → p-4cf9ae65.js} +1 -1
- package/dist/calcite/{p-9640e27a.entry.js → p-4fbd47e5.entry.js} +2 -2
- package/dist/calcite/{p-93ca97ff.entry.js → p-51db14be.entry.js} +2 -2
- package/dist/calcite/p-530fdbab.js +6 -0
- package/dist/calcite/{p-3d2b72b6.js → p-53c33d4b.js} +3 -3
- package/dist/calcite/{p-a1e97be8.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-f274114e.js → p-5ce6006a.js} +1 -1
- package/dist/calcite/{p-8e74c290.entry.js → p-6287a7e3.entry.js} +2 -2
- package/dist/calcite/p-63fabfa9.entry.js +6 -0
- package/dist/calcite/{p-f243c17d.js → p-69bdbe6c.js} +1 -1
- package/dist/calcite/{p-e40232f5.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-72d77198.entry.js +6 -0
- package/dist/calcite/{p-23b901b1.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-f2930eba.entry.js → p-7d21ff63.entry.js} +2 -2
- package/dist/calcite/{p-d9f8cbba.js → p-7e574772.js} +2 -2
- package/dist/calcite/p-822cfd4f.entry.js +6 -0
- package/dist/calcite/{p-9280f03d.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-92365692.entry.js → p-96c90357.entry.js} +2 -2
- package/dist/calcite/p-99003334.entry.js +6 -0
- package/dist/calcite/{p-46270e74.js → p-9bc4d2e7.js} +2 -2
- package/dist/calcite/p-9c4fe712.entry.js +6 -0
- package/dist/calcite/p-a3b5d915.entry.js +6 -0
- package/dist/calcite/p-a3ba6aef.entry.js +6 -0
- package/dist/calcite/{p-5a35498c.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-747b5340.entry.js → p-aa620a9f.entry.js} +2 -2
- package/dist/calcite/p-ade56eab.js +6 -0
- package/dist/calcite/{p-9cbb9e15.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-2c32af22.entry.js → p-c3502aba.entry.js} +2 -2
- package/dist/calcite/{p-0ae01d7f.js → p-c6f8fd3f.js} +1 -1
- package/dist/calcite/{p-6f429c35.js → p-c8db295e.js} +2 -2
- package/dist/calcite/{p-275831eb.js → p-ceb691f9.js} +1 -1
- package/dist/calcite/p-d4313c1c.js +6 -0
- package/dist/calcite/p-d8790ccd.entry.js +6 -0
- package/dist/calcite/{p-afcb5d59.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-4ca7501c.entry.js → p-e27d22a3.entry.js} +2 -2
- package/dist/calcite/{p-2f34fce0.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-9b1b2703.entry.js → p-e734a9bd.entry.js} +2 -2
- package/dist/calcite/p-e94dd8f6.entry.js +6 -0
- package/dist/calcite/{p-9eeccde7.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-3c4c08f5.js → ExpandToggle-6b439626.js} +7 -8
- package/dist/cjs/{Heading-6ffa7d52.js → Heading-ceb4f2b6.js} +2 -2
- package/dist/cjs/{app-globals-cd2d8153.js → app-globals-abf96af0.js} +2 -2
- package/dist/cjs/{array-487d0210.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 +13 -19
- 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 +5 -5
- package/dist/cjs/{conditionalSlot-8e195df1.js → conditionalSlot-a875fe2d.js} +3 -3
- package/dist/cjs/{debounce-00289d1c.js → debounce-d3347e7f.js} +1 -1
- package/dist/cjs/{dom-83b860e8.js → dom-f3870c02.js} +13 -13
- package/dist/cjs/{filter-58a572dc.js → filter-bfb93506.js} +3 -3
- package/dist/cjs/{floating-ui-88327b65.js → floating-ui-3c7d9b63.js} +7 -8
- package/dist/cjs/{focusTrapComponent-f08520ba.js → focusTrapComponent-feb51e35.js} +4 -6
- package/dist/cjs/{form-bf1e6144.js → form-6fbeeffb.js} +5 -7
- package/dist/cjs/{guid-5bc1b40c.js → guid-01d6fefc.js} +1 -1
- package/dist/cjs/{index-a240255a.js → index-483dbe04.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-56b61598.js → interactive-134aafb0.js} +1 -1
- package/dist/cjs/{interfaces-1af87687.js → interfaces-0cb162a3.js} +1 -1
- package/dist/cjs/{key-a6a73fe5.js → key-64fe2d0d.js} +1 -1
- package/dist/cjs/{label-b9e3f0dd.js → label-bb7baad0.js} +4 -5
- package/dist/cjs/{loadable-e6126f32.js → loadable-9ea89e06.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-9a779ecb.js → locale-66bb4c04.js} +7 -8
- package/dist/cjs/{math-6c6a5409.js → math-168daa90.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-63483b77.js → nonChromiumPlatformUtils-a8326836.js} +6 -6
- package/dist/cjs/{observers-043fe18b.js → observers-265cc6fd.js} +1 -1
- package/dist/cjs/{openCloseComponent-932c0c08.js → openCloseComponent-86d66b5f.js} +1 -1
- package/dist/cjs/{resources-e964f0dc.js → resources-4d34f5ad.js} +1 -1
- package/dist/cjs/{resources-c2443c1c.js → resources-56adcab5.js} +1 -1
- package/dist/cjs/{resources-8d7707f6.js → resources-94f83bb6.js} +11 -16
- package/dist/cjs/{resources-93bb90d0.js → resources-ad99e815.js} +1 -1
- package/dist/cjs/{resources-f9d75622.js → resources-e280f675.js} +3 -3
- package/dist/cjs/{resources-c8e55932.js → resources-e34dd4ef.js} +1 -1
- package/dist/cjs/{sortable.esm-01e087b5.js → sortable.esm-a516af47.js} +1 -1
- package/dist/cjs/{utils-bce3b4de.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.css +0 -27
- package/dist/collection/components/radio-group-item/radio-group-item.js +2 -53
- 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 +3 -10
- 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-bf612e95.js → ExpandToggle-7995a4b7.js} +7 -8
- package/dist/esm/{Heading-18bd5a13.js → Heading-9e7e60aa.js} +2 -2
- package/dist/esm/{app-globals-d71edb60.js → app-globals-be068759.js} +2 -2
- package/dist/esm/{array-5a3fe8fd.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 +13 -19
- 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 +5 -5
- package/dist/esm/{conditionalSlot-6bcf870e.js → conditionalSlot-264302f2.js} +3 -3
- package/dist/esm/{debounce-e2cc36db.js → debounce-97af721b.js} +1 -1
- package/dist/esm/{dom-cea9908e.js → dom-e83e3685.js} +13 -13
- package/dist/esm/{filter-96490cb4.js → filter-74f44357.js} +3 -3
- package/dist/esm/{floating-ui-9315aae5.js → floating-ui-a46ce22a.js} +7 -8
- package/dist/esm/{focusTrapComponent-13c9d6cf.js → focusTrapComponent-976fba1d.js} +4 -6
- package/dist/esm/{form-e4bb6542.js → form-e64648c7.js} +5 -7
- package/dist/esm/{guid-9d784fc0.js → guid-d9ecc494.js} +1 -1
- package/dist/esm/{index-178c22ad.js → index-83004828.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b545a643.js → interactive-9e6a5f71.js} +1 -1
- package/dist/esm/{interfaces-f5622209.js → interfaces-b1d9177f.js} +1 -1
- package/dist/esm/{key-60531299.js → key-06b23960.js} +1 -1
- package/dist/esm/{label-6e4ffdf9.js → label-e92abdfa.js} +4 -5
- package/dist/esm/{loadable-b927d252.js → loadable-0c46daa0.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-37e9ce2c.js → locale-4983f5d8.js} +7 -8
- package/dist/esm/{math-e5b975ee.js → math-3122e153.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-497f1011.js → nonChromiumPlatformUtils-238e88ad.js} +6 -6
- package/dist/esm/{observers-f4c814a8.js → observers-89a35a75.js} +1 -1
- package/dist/esm/{openCloseComponent-20d5779d.js → openCloseComponent-fdff8486.js} +1 -1
- package/dist/esm/{resources-7d1b7586.js → resources-2e32226e.js} +11 -16
- package/dist/esm/{resources-f7ea73ca.js → resources-35e36c39.js} +1 -1
- package/dist/esm/{resources-44e220ca.js → resources-36963763.js} +1 -1
- package/dist/esm/{resources-3292d5cc.js → resources-3a95b40f.js} +3 -3
- package/dist/esm/{resources-86bf3af1.js → resources-812152a0.js} +1 -1
- package/dist/esm/{resources-e962fefe.js → resources-edac802c.js} +1 -1
- package/dist/esm/{sortable.esm-96c29cab.js → sortable.esm-ac2f32ed.js} +1 -1
- package/dist/esm/{utils-5cda5cee.js → utils-1cddbae1.js} +2 -2
- package/dist/extras/docs-json.json +2 -52
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +0 -13
- package/dist/types/components.d.ts +0 -20
- package/hydrate/index.js +255 -402
- package/package.json +1 -1
- package/dist/calcite/p-03cff114.entry.js +0 -6
- package/dist/calcite/p-03fdd461.entry.js +0 -6
- package/dist/calcite/p-0c954696.entry.js +0 -6
- package/dist/calcite/p-157fe2c8.entry.js +0 -6
- package/dist/calcite/p-17453a8b.entry.js +0 -6
- package/dist/calcite/p-1b873d19.entry.js +0 -6
- package/dist/calcite/p-22506107.entry.js +0 -6
- package/dist/calcite/p-310e9571.entry.js +0 -6
- package/dist/calcite/p-36e4ab59.entry.js +0 -6
- package/dist/calcite/p-3ab78edb.entry.js +0 -6
- package/dist/calcite/p-3f026ed0.entry.js +0 -6
- package/dist/calcite/p-47ad6f93.entry.js +0 -6
- package/dist/calcite/p-4f9c23ba.entry.js +0 -6
- package/dist/calcite/p-5472b8a3.js +0 -6
- package/dist/calcite/p-549280ba.entry.js +0 -6
- package/dist/calcite/p-5c3a3bc2.entry.js +0 -6
- package/dist/calcite/p-60f2df8e.js +0 -6
- package/dist/calcite/p-674f55d0.entry.js +0 -6
- package/dist/calcite/p-703312e0.entry.js +0 -6
- package/dist/calcite/p-71e601c8.entry.js +0 -6
- package/dist/calcite/p-7daf2595.js +0 -6
- package/dist/calcite/p-828d0d34.entry.js +0 -6
- package/dist/calcite/p-82b82f28.entry.js +0 -6
- package/dist/calcite/p-8841faee.js +0 -6
- package/dist/calcite/p-89908c08.js +0 -6
- package/dist/calcite/p-92daea49.entry.js +0 -6
- package/dist/calcite/p-98166159.entry.js +0 -6
- package/dist/calcite/p-983cd43b.entry.js +0 -6
- package/dist/calcite/p-984ed5fb.entry.js +0 -6
- package/dist/calcite/p-9c48249e.entry.js +0 -6
- package/dist/calcite/p-a617c567.entry.js +0 -6
- package/dist/calcite/p-a70d0ca2.js +0 -6
- package/dist/calcite/p-b3a30e3c.entry.js +0 -6
- package/dist/calcite/p-b6a92215.entry.js +0 -6
- package/dist/calcite/p-bf089c78.js +0 -6
- package/dist/calcite/p-bf13af79.entry.js +0 -6
- package/dist/calcite/p-c37a21ef.entry.js +0 -6
- package/dist/calcite/p-cc0cd97f.entry.js +0 -6
- package/dist/calcite/p-dbf32dd5.entry.js +0 -6
- package/dist/calcite/p-e004c6a5.entry.js +0 -6
- package/dist/calcite/p-e0ff50bd.entry.js +0 -6
- package/dist/calcite/p-e4a7faeb.entry.js +0 -6
- package/dist/calcite/p-e4f6df78.entry.js +0 -6
- package/dist/calcite/p-e9fbda11.js +0 -6
- package/dist/calcite/p-ec77a203.entry.js +0 -6
- package/dist/calcite/p-edb2a37f.entry.js +0 -6
- package/dist/calcite/p-f585d393.entry.js +0 -6
- package/dist/calcite/p-f5b123fb.entry.js +0 -6
- package/dist/calcite/p-f6617462.entry.js +0 -6
- package/dist/calcite/p-fb669bec.js +0 -6
- package/dist/calcite/p-fc44bb7a.entry.js +0 -6
- package/dist/calcite/p-fe81bcb4.entry.js +0 -6
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const Heading = require('./Heading-
|
|
13
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
const guid = require('./guid-
|
|
16
|
-
const key = require('./key-
|
|
17
|
-
require('./resources-
|
|
18
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const dom = require('./dom-f3870c02.js');
|
|
12
|
+
const Heading = require('./Heading-ceb4f2b6.js');
|
|
13
|
+
const conditionalSlot = require('./conditionalSlot-a875fe2d.js');
|
|
14
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
15
|
+
const guid = require('./guid-01d6fefc.js');
|
|
16
|
+
const key = require('./key-64fe2d0d.js');
|
|
17
|
+
require('./resources-e34dd4ef.js');
|
|
18
|
+
require('./observers-265cc6fd.js');
|
|
19
19
|
|
|
20
20
|
const CSS$1 = {
|
|
21
21
|
container: "container",
|
|
@@ -210,9 +210,8 @@ const BlockSection = class {
|
|
|
210
210
|
//
|
|
211
211
|
// --------------------------------------------------------------------------
|
|
212
212
|
renderStatusIcon() {
|
|
213
|
-
var _a;
|
|
214
213
|
const { status } = this;
|
|
215
|
-
const statusIcon =
|
|
214
|
+
const statusIcon = ICONS[status] ?? false;
|
|
216
215
|
const statusIconClasses = {
|
|
217
216
|
[CSS.statusIcon]: true,
|
|
218
217
|
[CSS.valid]: status == "valid",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const observers = require('./observers-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
const form = require('./form-
|
|
16
|
-
const loadable = require('./loadable-
|
|
17
|
-
require('./resources-
|
|
18
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const dom = require('./dom-f3870c02.js');
|
|
12
|
+
const label = require('./label-bb7baad0.js');
|
|
13
|
+
const observers = require('./observers-265cc6fd.js');
|
|
14
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
15
|
+
const form = require('./form-6fbeeffb.js');
|
|
16
|
+
const loadable = require('./loadable-9ea89e06.js');
|
|
17
|
+
require('./resources-e34dd4ef.js');
|
|
18
|
+
require('./guid-01d6fefc.js');
|
|
19
19
|
|
|
20
20
|
(function(prototype) {
|
|
21
21
|
if (typeof prototype.requestSubmit == "function") return
|
|
@@ -129,8 +129,7 @@ const Button = class {
|
|
|
129
129
|
this.formEl = dom.closestElementCrossShadowBoundary(this.el, this.form ? `#${this.form}` : "form");
|
|
130
130
|
}
|
|
131
131
|
disconnectedCallback() {
|
|
132
|
-
|
|
133
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
132
|
+
this.mutationObserver?.disconnect();
|
|
134
133
|
label.disconnectLabel(this);
|
|
135
134
|
this.formEl = null;
|
|
136
135
|
}
|
|
@@ -169,21 +168,18 @@ const Button = class {
|
|
|
169
168
|
//--------------------------------------------------------------------------
|
|
170
169
|
/** Sets focus on the component. */
|
|
171
170
|
async setFocus() {
|
|
172
|
-
var _a;
|
|
173
171
|
await loadable.componentLoaded(this);
|
|
174
|
-
|
|
172
|
+
this.childEl?.focus();
|
|
175
173
|
}
|
|
176
174
|
updateHasContent() {
|
|
177
|
-
var _a, _b;
|
|
178
175
|
const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;
|
|
179
176
|
this.hasContent =
|
|
180
|
-
this.el.childNodes.length === 1 &&
|
|
181
|
-
?
|
|
177
|
+
this.el.childNodes.length === 1 && this.el.childNodes[0]?.nodeName === "#text"
|
|
178
|
+
? this.el.textContent?.trim().length > 0
|
|
182
179
|
: slottedContent;
|
|
183
180
|
}
|
|
184
181
|
setupTextContentObserver() {
|
|
185
|
-
|
|
186
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
182
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
187
183
|
}
|
|
188
184
|
//--------------------------------------------------------------------------
|
|
189
185
|
//
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./guid-
|
|
15
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const dom = require('./dom-f3870c02.js');
|
|
12
|
+
const conditionalSlot = require('./conditionalSlot-a875fe2d.js');
|
|
13
|
+
require('./resources-e34dd4ef.js');
|
|
14
|
+
require('./guid-01d6fefc.js');
|
|
15
|
+
require('./observers-265cc6fd.js');
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
container: "container",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const form = require('./form-
|
|
13
|
-
const label = require('./label-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
const dom = require('./dom-
|
|
16
|
-
const key = require('./key-
|
|
17
|
-
const loadable = require('./loadable-
|
|
18
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const guid = require('./guid-01d6fefc.js');
|
|
12
|
+
const form = require('./form-6fbeeffb.js');
|
|
13
|
+
const label = require('./label-bb7baad0.js');
|
|
14
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
15
|
+
const dom = require('./dom-f3870c02.js');
|
|
16
|
+
const key = require('./key-64fe2d0d.js');
|
|
17
|
+
const loadable = require('./loadable-9ea89e06.js');
|
|
18
|
+
require('./resources-e34dd4ef.js');
|
|
19
19
|
|
|
20
20
|
const checkboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
21
21
|
|
|
@@ -87,9 +87,8 @@ const Checkbox = class {
|
|
|
87
87
|
//--------------------------------------------------------------------------
|
|
88
88
|
/** Sets focus on the component. */
|
|
89
89
|
async setFocus() {
|
|
90
|
-
var _a;
|
|
91
90
|
await loadable.componentLoaded(this);
|
|
92
|
-
|
|
91
|
+
this.toggleEl?.focus();
|
|
93
92
|
}
|
|
94
93
|
//--------------------------------------------------------------------------
|
|
95
94
|
//
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const guid = require('./guid-
|
|
13
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
14
|
-
const loadable = require('./loadable-
|
|
15
|
-
require('./resources-
|
|
16
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const dom = require('./dom-f3870c02.js');
|
|
12
|
+
const guid = require('./guid-01d6fefc.js');
|
|
13
|
+
const conditionalSlot = require('./conditionalSlot-a875fe2d.js');
|
|
14
|
+
const loadable = require('./loadable-9ea89e06.js');
|
|
15
|
+
require('./resources-e34dd4ef.js');
|
|
16
|
+
require('./observers-265cc6fd.js');
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
19
19
|
title: "title",
|
|
@@ -83,9 +83,8 @@ const Chip = class {
|
|
|
83
83
|
//--------------------------------------------------------------------------
|
|
84
84
|
/** Sets focus on the component. */
|
|
85
85
|
async setFocus() {
|
|
86
|
-
var _a;
|
|
87
86
|
await loadable.componentLoaded(this);
|
|
88
|
-
|
|
87
|
+
this.closeButton?.focus();
|
|
89
88
|
}
|
|
90
89
|
//--------------------------------------------------------------------------
|
|
91
90
|
//
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const utils = require('./utils-
|
|
13
|
-
const math = require('./math-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
const key = require('./key-
|
|
16
|
-
const loadable = require('./loadable-
|
|
17
|
-
const debounce = require('./debounce-
|
|
18
|
-
require('./resources-
|
|
19
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const dom = require('./dom-f3870c02.js');
|
|
12
|
+
const utils = require('./utils-61f76522.js');
|
|
13
|
+
const math = require('./math-168daa90.js');
|
|
14
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
15
|
+
const key = require('./key-64fe2d0d.js');
|
|
16
|
+
const loadable = require('./loadable-9ea89e06.js');
|
|
17
|
+
const debounce = require('./debounce-d3347e7f.js');
|
|
18
|
+
require('./resources-e34dd4ef.js');
|
|
19
|
+
require('./guid-01d6fefc.js');
|
|
20
20
|
|
|
21
21
|
/** Error message constants. */
|
|
22
22
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2411,7 +2411,6 @@ const ColorPicker = class {
|
|
|
2411
2411
|
}
|
|
2412
2412
|
};
|
|
2413
2413
|
this.handleColorFieldAndSliderPointerDown = (event) => {
|
|
2414
|
-
var _a, _b;
|
|
2415
2414
|
if (!dom.isPrimaryPointerButton(event)) {
|
|
2416
2415
|
return;
|
|
2417
2416
|
}
|
|
@@ -2420,12 +2419,12 @@ const ColorPicker = class {
|
|
|
2420
2419
|
if (region === "color-field") {
|
|
2421
2420
|
this.hueThumbState = "drag";
|
|
2422
2421
|
this.captureColorFieldColor(offsetX, offsetY);
|
|
2423
|
-
|
|
2422
|
+
this.colorFieldScopeNode?.focus();
|
|
2424
2423
|
}
|
|
2425
2424
|
else if (region === "slider") {
|
|
2426
2425
|
this.sliderThumbState = "drag";
|
|
2427
2426
|
this.captureHueSliderColor(offsetX);
|
|
2428
|
-
|
|
2427
|
+
this.hueScopeNode?.focus();
|
|
2429
2428
|
}
|
|
2430
2429
|
// prevent text selection outside of color field & slider area
|
|
2431
2430
|
event.preventDefault();
|
|
@@ -2569,7 +2568,7 @@ const ColorPicker = class {
|
|
|
2569
2568
|
/* the channel container is ltr, so we apply the host's direction */
|
|
2570
2569
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
2571
2570
|
};
|
|
2572
|
-
this.renderChannel = (value, index$1, label, ariaLabel, direction) => (index.h("calcite-input", { class: CSS$2.channel, "data-channel-index": index$1, 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
|
|
2571
|
+
this.renderChannel = (value, index$1, label, ariaLabel, direction) => (index.h("calcite-input", { class: CSS$2.channel, "data-channel-index": index$1, 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() }));
|
|
2573
2572
|
this.deleteColor = () => {
|
|
2574
2573
|
const colorToDelete = this.color.hex();
|
|
2575
2574
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -2665,9 +2664,8 @@ const ColorPicker = class {
|
|
|
2665
2664
|
this.internalColorSet(this.color, false, "internal");
|
|
2666
2665
|
}
|
|
2667
2666
|
handleScaleChange(scale = "m") {
|
|
2668
|
-
var _a;
|
|
2669
2667
|
this.updateDimensions(scale);
|
|
2670
|
-
this.updateCanvasSize(
|
|
2668
|
+
this.updateCanvasSize(this.fieldAndSliderRenderingContext?.canvas);
|
|
2671
2669
|
}
|
|
2672
2670
|
handleValueChange(value, oldValue) {
|
|
2673
2671
|
const { allowEmpty, format } = this;
|
|
@@ -2713,7 +2711,7 @@ const ColorPicker = class {
|
|
|
2713
2711
|
this.shiftKeyChannelAdjustment = 0;
|
|
2714
2712
|
const { key } = event;
|
|
2715
2713
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
2716
|
-
!event.composedPath().some((node) =>
|
|
2714
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$2.channel))) {
|
|
2717
2715
|
return;
|
|
2718
2716
|
}
|
|
2719
2717
|
const { shiftKey } = event;
|
|
@@ -2785,14 +2783,14 @@ const ColorPicker = class {
|
|
|
2785
2783
|
const selectedColorInHex = color ? color.hex() : null;
|
|
2786
2784
|
const hexInputScale = scale === "l" ? "m" : "s";
|
|
2787
2785
|
const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;
|
|
2788
|
-
const hueTop = hueScopeTop
|
|
2789
|
-
const hueLeft = hueScopeLeft
|
|
2786
|
+
const hueTop = hueScopeTop ?? sliderHeight / 2 + colorFieldHeight;
|
|
2787
|
+
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
2790
2788
|
const noColor = color === null;
|
|
2791
2789
|
const vertical = scopeOrientation === "vertical";
|
|
2792
2790
|
return (index.h("div", { class: CSS$2.container }, index.h("div", { class: CSS$2.colorFieldAndSliderWrap }, index.h("canvas", { class: {
|
|
2793
2791
|
[CSS$2.colorFieldAndSlider]: true,
|
|
2794
2792
|
[CSS$2.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
2795
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), index.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
|
|
2793
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), index.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$2.scope]: true, [CSS$2.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), index.h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$2.scope]: true, [CSS$2.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (index.h("div", { class: {
|
|
2796
2794
|
[CSS$2.controlSection]: true,
|
|
2797
2795
|
[CSS$2.section]: true
|
|
2798
2796
|
} }, hideHex ? null : (index.h("div", { class: CSS$2.hexOptions }, index.h("span", { class: {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const filter = require('./filter-
|
|
12
|
-
const floatingUi = require('./floating-ui-
|
|
13
|
-
const guid = require('./guid-
|
|
14
|
-
const dom = require('./dom-
|
|
15
|
-
const label = require('./label-
|
|
16
|
-
const form = require('./form-
|
|
17
|
-
const observers = require('./observers-
|
|
18
|
-
const interactive = require('./interactive-
|
|
19
|
-
const openCloseComponent = require('./openCloseComponent-
|
|
20
|
-
const loadable = require('./loadable-
|
|
21
|
-
const debounce = require('./debounce-
|
|
22
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
23
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const filter = require('./filter-bfb93506.js');
|
|
12
|
+
const floatingUi = require('./floating-ui-3c7d9b63.js');
|
|
13
|
+
const guid = require('./guid-01d6fefc.js');
|
|
14
|
+
const dom = require('./dom-f3870c02.js');
|
|
15
|
+
const label = require('./label-bb7baad0.js');
|
|
16
|
+
const form = require('./form-6fbeeffb.js');
|
|
17
|
+
const observers = require('./observers-265cc6fd.js');
|
|
18
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
19
|
+
const openCloseComponent = require('./openCloseComponent-86d66b5f.js');
|
|
20
|
+
const loadable = require('./loadable-9ea89e06.js');
|
|
21
|
+
const debounce = require('./debounce-d3347e7f.js');
|
|
22
|
+
const conditionalSlot = require('./conditionalSlot-a875fe2d.js');
|
|
23
|
+
require('./resources-e34dd4ef.js');
|
|
24
24
|
|
|
25
25
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
26
26
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -30,14 +30,12 @@ const TEXT = {
|
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
function getAncestors(element) {
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
const grandparent = (_b = parent === null || parent === void 0 ? void 0 : parent.parentElement) === null || _b === void 0 ? void 0 : _b.closest(ComboboxChildSelector);
|
|
33
|
+
const parent = element.parentElement?.closest(ComboboxChildSelector);
|
|
34
|
+
const grandparent = parent?.parentElement?.closest(ComboboxChildSelector);
|
|
36
35
|
return [parent, grandparent].filter((el) => el);
|
|
37
36
|
}
|
|
38
37
|
function getItemAncestors(item) {
|
|
39
|
-
|
|
40
|
-
return (((_a = item.ancestors) === null || _a === void 0 ? void 0 : _a.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM")) || []);
|
|
38
|
+
return (item.ancestors?.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM") || []);
|
|
41
39
|
}
|
|
42
40
|
function getItemChildren(item) {
|
|
43
41
|
return dom.nodeListToArray(item.querySelectorAll("calcite-combobox-item"));
|
|
@@ -96,8 +94,8 @@ const Combobox = class {
|
|
|
96
94
|
: null;
|
|
97
95
|
};
|
|
98
96
|
this.getValue = () => {
|
|
99
|
-
const items = this.selectedItems.map((item) =>
|
|
100
|
-
return
|
|
97
|
+
const items = this.selectedItems.map((item) => item?.value?.toString());
|
|
98
|
+
return items?.length ? (items.length > 1 ? items : items[0]) : "";
|
|
101
99
|
};
|
|
102
100
|
this.onLabelClick = () => {
|
|
103
101
|
this.setFocus();
|
|
@@ -343,8 +341,7 @@ const Combobox = class {
|
|
|
343
341
|
}
|
|
344
342
|
};
|
|
345
343
|
this.comboboxFocusHandler = () => {
|
|
346
|
-
|
|
347
|
-
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
344
|
+
this.textInput?.focus();
|
|
348
345
|
};
|
|
349
346
|
this.comboboxBlurHandler = (event) => {
|
|
350
347
|
this.setInactiveIfNotContained(event);
|
|
@@ -469,9 +466,8 @@ const Combobox = class {
|
|
|
469
466
|
}
|
|
470
467
|
/** Sets focus on the component. */
|
|
471
468
|
async setFocus() {
|
|
472
|
-
var _a;
|
|
473
469
|
await loadable.componentLoaded(this);
|
|
474
|
-
|
|
470
|
+
this.textInput?.focus();
|
|
475
471
|
this.activeChipIndex = -1;
|
|
476
472
|
this.activeItemIndex = -1;
|
|
477
473
|
}
|
|
@@ -481,11 +477,10 @@ const Combobox = class {
|
|
|
481
477
|
//
|
|
482
478
|
// --------------------------------------------------------------------------
|
|
483
479
|
connectedCallback() {
|
|
484
|
-
var _a;
|
|
485
480
|
this.internalValueChangeFlag = true;
|
|
486
481
|
this.value = this.getValue();
|
|
487
482
|
this.internalValueChangeFlag = false;
|
|
488
|
-
|
|
483
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
489
484
|
label.connectLabel(this);
|
|
490
485
|
form.connectForm(this);
|
|
491
486
|
openCloseComponent.connectOpenCloseComponent(this);
|
|
@@ -515,9 +510,8 @@ const Combobox = class {
|
|
|
515
510
|
interactive.updateHostInteraction(this);
|
|
516
511
|
}
|
|
517
512
|
disconnectedCallback() {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
513
|
+
this.mutationObserver?.disconnect();
|
|
514
|
+
this.resizeObserver?.disconnect();
|
|
521
515
|
label.disconnectLabel(this);
|
|
522
516
|
form.disconnectForm(this);
|
|
523
517
|
floatingUi.disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -574,7 +568,7 @@ const Combobox = class {
|
|
|
574
568
|
// if item has children items, don't count their height twice
|
|
575
569
|
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
|
576
570
|
children
|
|
577
|
-
.map((child) => child
|
|
571
|
+
.map((child) => child?.offsetHeight)
|
|
578
572
|
.forEach((offsetHeight) => {
|
|
579
573
|
height -= offsetHeight;
|
|
580
574
|
});
|
|
@@ -734,12 +728,11 @@ const Combobox = class {
|
|
|
734
728
|
this.updateActiveItemIndex(-1);
|
|
735
729
|
}
|
|
736
730
|
focusChip() {
|
|
737
|
-
|
|
738
|
-
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
|
731
|
+
const guid = this.selectedItems[this.activeChipIndex]?.guid;
|
|
739
732
|
const chip = guid
|
|
740
733
|
? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
|
|
741
734
|
: null;
|
|
742
|
-
chip
|
|
735
|
+
chip?.setFocus();
|
|
743
736
|
}
|
|
744
737
|
shiftActiveItemIndex(delta) {
|
|
745
738
|
const { length } = this.visibleItems;
|
|
@@ -795,7 +788,7 @@ const Combobox = class {
|
|
|
795
788
|
"input-wrap--single": single
|
|
796
789
|
} }, showLabel && (index.h("span", { class: {
|
|
797
790
|
label: true,
|
|
798
|
-
"label--icon": !!
|
|
791
|
+
"label--icon": !!selectedItem?.icon
|
|
799
792
|
}, key: "label" }, selectedItem.textLabel)), index.h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": label.getLabelText(this), class: {
|
|
800
793
|
input: true,
|
|
801
794
|
"input--single": true,
|
|
@@ -822,7 +815,7 @@ const Combobox = class {
|
|
|
822
815
|
renderIconStart() {
|
|
823
816
|
const { selectedItems, placeholderIcon, selectionMode } = this;
|
|
824
817
|
const selectedItem = selectedItems[0];
|
|
825
|
-
const selectedIcon = selectedItem
|
|
818
|
+
const selectedIcon = selectedItem?.icon;
|
|
826
819
|
const singleSelectionMode = selectionMode === "single";
|
|
827
820
|
const iconAtStart = !this.open && selectedItem
|
|
828
821
|
? !!selectedIcon && singleSelectionMode
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const resources = require('./resources-
|
|
12
|
-
const locale = require('./locale-
|
|
13
|
-
const dom = require('./dom-
|
|
14
|
-
const resources$1 = require('./resources-
|
|
15
|
-
const interactive = require('./interactive-
|
|
16
|
-
const key = require('./key-
|
|
17
|
-
const Heading = require('./Heading-
|
|
18
|
-
require('./observers-
|
|
19
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-483dbe04.js');
|
|
11
|
+
const resources = require('./resources-e280f675.js');
|
|
12
|
+
const locale = require('./locale-66bb4c04.js');
|
|
13
|
+
const dom = require('./dom-f3870c02.js');
|
|
14
|
+
const resources$1 = require('./resources-e34dd4ef.js');
|
|
15
|
+
const interactive = require('./interactive-134aafb0.js');
|
|
16
|
+
const key = require('./key-64fe2d0d.js');
|
|
17
|
+
const Heading = require('./Heading-ceb4f2b6.js');
|
|
18
|
+
require('./observers-265cc6fd.js');
|
|
19
|
+
require('./guid-01d6fefc.js');
|
|
20
20
|
|
|
21
21
|
const datePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
|
22
22
|
|
|
@@ -140,16 +140,15 @@ const DatePicker = class {
|
|
|
140
140
|
* Reset active date and close
|
|
141
141
|
*/
|
|
142
142
|
this.reset = () => {
|
|
143
|
-
var _a, _b, _c, _d, _e, _f;
|
|
144
143
|
if (!Array.isArray(this.valueAsDate) &&
|
|
145
144
|
this.valueAsDate &&
|
|
146
|
-
|
|
145
|
+
this.valueAsDate?.getTime() !== this.activeDate?.getTime()) {
|
|
147
146
|
this.activeDate = new Date(this.valueAsDate);
|
|
148
147
|
}
|
|
149
|
-
if (this.startAsDate &&
|
|
148
|
+
if (this.startAsDate && this.startAsDate?.getTime() !== this.activeStartDate?.getTime()) {
|
|
150
149
|
this.activeStartDate = new Date(this.startAsDate);
|
|
151
150
|
}
|
|
152
|
-
if (this.endAsDate &&
|
|
151
|
+
if (this.endAsDate && this.endAsDate?.getTime() !== this.activeEndDate?.getTime()) {
|
|
153
152
|
this.activeEndDate = new Date(this.endAsDate);
|
|
154
153
|
}
|
|
155
154
|
};
|
|
@@ -309,7 +308,6 @@ const DatePicker = class {
|
|
|
309
308
|
this.onMaxChanged(this.max);
|
|
310
309
|
}
|
|
311
310
|
render() {
|
|
312
|
-
var _a;
|
|
313
311
|
const date = resources.dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
314
312
|
let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
|
|
315
313
|
const endDate = this.range && Array.isArray(this.valueAsDate)
|
|
@@ -317,7 +315,7 @@ const DatePicker = class {
|
|
|
317
315
|
: null;
|
|
318
316
|
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
|
319
317
|
if ((this.activeRange === "end" ||
|
|
320
|
-
(
|
|
318
|
+
(this.hoverRange?.focused === "end" && (!this.proximitySelectionDisabled || endDate))) &&
|
|
321
319
|
activeEndDate) {
|
|
322
320
|
activeDate = activeEndDate;
|
|
323
321
|
}
|
|
@@ -778,10 +776,9 @@ const DatePickerMonth = class {
|
|
|
778
776
|
* @param ref
|
|
779
777
|
*/
|
|
780
778
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
781
|
-
var _a;
|
|
782
779
|
const isFocusedOnStart = this.isFocusedOnStart();
|
|
783
780
|
const isHoverInRange = this.isHoverInRange() ||
|
|
784
|
-
(!this.endDate && this.hoverRange && resources.sameDate(
|
|
781
|
+
(!this.endDate && this.hoverRange && resources.sameDate(this.hoverRange?.end, this.startDate));
|
|
785
782
|
return (index.h("calcite-date-picker-day", { active: active, class: {
|
|
786
783
|
"hover--inside-range": this.startDate && isHoverInRange,
|
|
787
784
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
@@ -790,13 +787,12 @@ const DatePickerMonth = class {
|
|
|
790
787
|
}, currentMonth: currentMonth, day: day, disabled: !resources.inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !resources.sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
791
788
|
// when moving via keyboard, focus must be updated on active date
|
|
792
789
|
if (ref && active && this.activeFocus) {
|
|
793
|
-
el
|
|
790
|
+
el?.focus();
|
|
794
791
|
}
|
|
795
792
|
}, scale: this.scale, selected: this.isSelected(date), startOfRange: this.isStartOfRange(date), value: date }));
|
|
796
793
|
}
|
|
797
794
|
isFocusedOnStart() {
|
|
798
|
-
|
|
799
|
-
return ((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "start";
|
|
795
|
+
return this.hoverRange?.focused === "start";
|
|
800
796
|
}
|
|
801
797
|
isHoverInRange() {
|
|
802
798
|
if (!this.hoverRange) {
|
|
@@ -921,7 +917,6 @@ const DatePickerMonthHeader = class {
|
|
|
921
917
|
return index.h("div", { class: "header" }, this.renderContent());
|
|
922
918
|
}
|
|
923
919
|
renderContent() {
|
|
924
|
-
var _a;
|
|
925
920
|
if (!this.activeDate || !this.localeData) {
|
|
926
921
|
return null;
|
|
927
922
|
}
|
|
@@ -940,7 +935,7 @@ const DatePickerMonthHeader = class {
|
|
|
940
935
|
const iconScale = this.scale === "l" ? "m" : "s";
|
|
941
936
|
const order = resources.getOrder(unitOrder);
|
|
942
937
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
943
|
-
const suffix =
|
|
938
|
+
const suffix = this.localeData.year?.suffix;
|
|
944
939
|
return (index.h(index.Fragment, null, index.h("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, index.h("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })), index.h("div", { class: { text: true, "text--reverse": reverse } }, index.h(Heading.Heading, { class: "month", level: this.headingLevel }, localizedMonth), index.h("span", { class: "year-wrap" }, index.h("input", { "aria-label": this.intlYear, class: {
|
|
945
940
|
year: true,
|
|
946
941
|
"year--suffix": !!suffix
|