@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,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 { n as numberKeys } from './key.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -300,10 +300,9 @@ const mutationObserver = createObserver("mutation", (records) => {
|
|
|
300
300
|
* @param component
|
|
301
301
|
*/
|
|
302
302
|
function getLocale(component) {
|
|
303
|
-
var _a;
|
|
304
303
|
return (component.el.lang ||
|
|
305
304
|
component.locale ||
|
|
306
|
-
|
|
305
|
+
closestElementCrossShadowBoundary(component.el, "[lang]")?.lang ||
|
|
307
306
|
document.documentElement.lang ||
|
|
308
307
|
defaultLocale);
|
|
309
308
|
}
|
|
@@ -354,8 +353,8 @@ class NumberStringFormat {
|
|
|
354
353
|
* numberFormatOptions needs to be set before localize/delocalize is called to ensure the options are up to date
|
|
355
354
|
*/
|
|
356
355
|
set numberFormatOptions(options) {
|
|
357
|
-
options.locale = getSupportedLocale(options
|
|
358
|
-
options.numberingSystem = getSupportedNumberingSystem(options
|
|
356
|
+
options.locale = getSupportedLocale(options?.locale);
|
|
357
|
+
options.numberingSystem = getSupportedNumberingSystem(options?.numberingSystem);
|
|
359
358
|
if (
|
|
360
359
|
// No need to create the formatter if `locale` and `numberingSystem`
|
|
361
360
|
// are the default values and `numberFormatOptions` has not been set
|
package/dist/components/math.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -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 { e as rectToClientRect } from './floating-ui.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 { Build } from '@stencil/core/internal/client/index.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
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
package/dist/components/panel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
|
@@ -144,11 +144,10 @@ const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
144
144
|
this.hasFab = !!elements.length;
|
|
145
145
|
};
|
|
146
146
|
this.setPanelScrollEl = (el) => {
|
|
147
|
-
var _a, _b;
|
|
148
147
|
this.panelScrollEl = el;
|
|
149
|
-
|
|
148
|
+
this.resizeObserver?.disconnect();
|
|
150
149
|
if (el) {
|
|
151
|
-
|
|
150
|
+
this.resizeObserver?.observe(el);
|
|
152
151
|
this.resizeHandler();
|
|
153
152
|
}
|
|
154
153
|
};
|
|
@@ -192,8 +191,7 @@ const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
192
191
|
//
|
|
193
192
|
// --------------------------------------------------------------------------
|
|
194
193
|
disconnectedCallback() {
|
|
195
|
-
|
|
196
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
194
|
+
this.resizeObserver?.disconnect();
|
|
197
195
|
}
|
|
198
196
|
// --------------------------------------------------------------------------
|
|
199
197
|
//
|
|
@@ -209,11 +207,11 @@ const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
209
207
|
await componentLoaded(this);
|
|
210
208
|
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
211
209
|
if (focusId === "back-button") {
|
|
212
|
-
backButtonEl
|
|
210
|
+
backButtonEl?.setFocus();
|
|
213
211
|
return;
|
|
214
212
|
}
|
|
215
213
|
if (focusId === "dismiss-button") {
|
|
216
|
-
closeButtonEl
|
|
214
|
+
closeButtonEl?.setFocus();
|
|
217
215
|
return;
|
|
218
216
|
}
|
|
219
217
|
if (backButtonEl) {
|
|
@@ -224,7 +222,7 @@ const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
224
222
|
closeButtonEl.setFocus();
|
|
225
223
|
return;
|
|
226
224
|
}
|
|
227
|
-
containerEl
|
|
225
|
+
containerEl?.focus();
|
|
228
226
|
}
|
|
229
227
|
/**
|
|
230
228
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -238,8 +236,7 @@ const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
238
236
|
* @param options
|
|
239
237
|
*/
|
|
240
238
|
async scrollContentTo(options) {
|
|
241
|
-
|
|
242
|
-
(_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
|
|
239
|
+
this.panelScrollEl?.scrollTo(options);
|
|
243
240
|
}
|
|
244
241
|
// --------------------------------------------------------------------------
|
|
245
242
|
//
|
|
@@ -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, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { I as ICON_TYPES } from './resources2.js';
|
|
@@ -144,9 +144,8 @@ const PickListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
144
144
|
}
|
|
145
145
|
/** Sets focus on the component. */
|
|
146
146
|
async setFocus() {
|
|
147
|
-
var _a;
|
|
148
147
|
await componentLoaded(this);
|
|
149
|
-
|
|
148
|
+
this.focusEl?.focus();
|
|
150
149
|
}
|
|
151
150
|
// --------------------------------------------------------------------------
|
|
152
151
|
//
|
|
@@ -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, forceUpdate, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as filterComputedPlacements, c as connectFloatingUI, b as defaultOffsetDistance, u as updateAfterClose, a as disconnectFloatingUI, r as reposition, F as FloatingCSS } from './floating-ui.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, h } from '@stencil/core/internal/client/index.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 { Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -9,10 +9,10 @@ const listItemGroupSelector = "calcite-list-item-group";
|
|
|
9
9
|
const listItemSelector = "calcite-list-item";
|
|
10
10
|
function getListItemChildren(event) {
|
|
11
11
|
const assignedElements = event.target.assignedElements({ flatten: true });
|
|
12
|
-
const listItemGroupChildren = assignedElements.filter((el) => el
|
|
12
|
+
const listItemGroupChildren = assignedElements.filter((el) => el?.matches(listItemGroupSelector))
|
|
13
13
|
.map((group) => Array.from(group.querySelectorAll(listItemSelector)))
|
|
14
14
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
15
|
-
const listItemChildren = assignedElements.filter((el) => el
|
|
15
|
+
const listItemChildren = assignedElements.filter((el) => el?.matches(listItemSelector));
|
|
16
16
|
return [...listItemGroupChildren, ...listItemChildren];
|
|
17
17
|
}
|
|
18
18
|
function updateListItemChildren(listItemChildren) {
|
package/dist/components/scrim.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { d as defineCustomElement$1 } from './loader.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 focusElement, b as getSlotted, t as toAriaBoolean } from './dom.js';
|
|
7
7
|
import { g as getRoundRobinIndex } from './array.js';
|
|
@@ -28,12 +28,10 @@ function initialize() {
|
|
|
28
28
|
this.emitCalciteListFilter = debounce(internalCalciteListFilterEvent.bind(this), 0);
|
|
29
29
|
}
|
|
30
30
|
function initializeObserver() {
|
|
31
|
-
|
|
32
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
31
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
33
32
|
}
|
|
34
33
|
function cleanUpObserver() {
|
|
35
|
-
|
|
36
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
34
|
+
this.mutationObserver?.disconnect();
|
|
37
35
|
}
|
|
38
36
|
// --------------------------------------------------------------------------
|
|
39
37
|
//
|
|
@@ -176,7 +174,6 @@ function toggleSingleSelectItemTabbing(item, selectable) {
|
|
|
176
174
|
}
|
|
177
175
|
}
|
|
178
176
|
async function setFocus(focusId) {
|
|
179
|
-
var _a;
|
|
180
177
|
if (this.filterEnabled && focusId === "filter") {
|
|
181
178
|
await focusElement(this.filterEl);
|
|
182
179
|
return;
|
|
@@ -186,7 +183,7 @@ async function setFocus(focusId) {
|
|
|
186
183
|
return;
|
|
187
184
|
}
|
|
188
185
|
if (multiple) {
|
|
189
|
-
return
|
|
186
|
+
return filterOutDisabled(items)[0]?.setFocus();
|
|
190
187
|
}
|
|
191
188
|
const filtered = filterOutDisabled(items);
|
|
192
189
|
const focusTarget = filtered.find((item) => item.selected) || filtered[0];
|
|
@@ -258,14 +255,13 @@ function selectSiblings(item, deselect = false) {
|
|
|
258
255
|
}
|
|
259
256
|
let groups;
|
|
260
257
|
function handleFilter(emit = false) {
|
|
261
|
-
var _a;
|
|
262
258
|
const { filteredData, filterText } = this;
|
|
263
259
|
const values = filteredData.map((item) => item.value);
|
|
264
260
|
let hasSelectedMatch = false;
|
|
265
261
|
if (!groups) {
|
|
266
262
|
groups = new Set();
|
|
267
263
|
}
|
|
268
|
-
const matchedItems =
|
|
264
|
+
const matchedItems = this.items?.filter((item) => {
|
|
269
265
|
const parent = item.parentElement;
|
|
270
266
|
const grouped = parent.matches("calcite-pick-list-group");
|
|
271
267
|
if (grouped) {
|
|
@@ -277,7 +273,7 @@ function handleFilter(emit = false) {
|
|
|
277
273
|
hasSelectedMatch = matches && item.selected;
|
|
278
274
|
}
|
|
279
275
|
return matches;
|
|
280
|
-
})
|
|
276
|
+
}) || [];
|
|
281
277
|
groups.forEach((group) => {
|
|
282
278
|
const hasAtLeastOneMatch = matchedItems.some((item) => group.contains(item));
|
|
283
279
|
group.hidden = !hasAtLeastOneMatch;
|
|
@@ -302,8 +298,7 @@ function handleFilter(emit = false) {
|
|
|
302
298
|
}
|
|
303
299
|
}
|
|
304
300
|
function handleInitialFilter() {
|
|
305
|
-
|
|
306
|
-
const filteredItems = (_a = this.filterEl) === null || _a === void 0 ? void 0 : _a.filteredItems;
|
|
301
|
+
const filteredItems = this.filterEl?.filteredItems;
|
|
307
302
|
if (filteredItems) {
|
|
308
303
|
this.filteredData = filteredItems;
|
|
309
304
|
}
|
|
@@ -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 focusElement, t as toAriaBoolean } 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 { c as getElementDir, m as filterDirectChildren } from './dom.js';
|
|
@@ -29,7 +29,7 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
29
29
|
//
|
|
30
30
|
//--------------------------------------------------------------------------
|
|
31
31
|
this.handleTabFocus = (event, tabTitle) => {
|
|
32
|
-
tabTitle
|
|
32
|
+
tabTitle?.focus();
|
|
33
33
|
event.stopPropagation();
|
|
34
34
|
event.preventDefault();
|
|
35
35
|
};
|
|
@@ -73,13 +73,11 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
73
73
|
//
|
|
74
74
|
//--------------------------------------------------------------------------
|
|
75
75
|
connectedCallback() {
|
|
76
|
-
var _a;
|
|
77
76
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
78
|
-
|
|
77
|
+
this.resizeObserver?.observe(this.el);
|
|
79
78
|
}
|
|
80
79
|
disconnectedCallback() {
|
|
81
|
-
|
|
82
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
80
|
+
this.resizeObserver?.disconnect();
|
|
83
81
|
}
|
|
84
82
|
componentWillLoad() {
|
|
85
83
|
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
|
@@ -90,10 +88,10 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
90
88
|
}
|
|
91
89
|
componentWillRender() {
|
|
92
90
|
const { parentTabsEl } = this;
|
|
93
|
-
this.layout = parentTabsEl
|
|
94
|
-
this.position = parentTabsEl
|
|
95
|
-
this.scale = parentTabsEl
|
|
96
|
-
this.bordered = parentTabsEl
|
|
91
|
+
this.layout = parentTabsEl?.layout;
|
|
92
|
+
this.position = parentTabsEl?.position;
|
|
93
|
+
this.scale = parentTabsEl?.scale;
|
|
94
|
+
this.bordered = parentTabsEl?.bordered;
|
|
97
95
|
// fix issue with active tab-title not lining up with blue indicator
|
|
98
96
|
if (this.selectedTabEl) {
|
|
99
97
|
this.updateOffsetPosition();
|
|
@@ -175,18 +173,16 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
175
173
|
this.updateActiveWidth();
|
|
176
174
|
}
|
|
177
175
|
updateOffsetPosition() {
|
|
178
|
-
var _a, _b, _c, _d, _e;
|
|
179
176
|
const dir = getElementDir(this.el);
|
|
180
|
-
const navWidth =
|
|
181
|
-
const tabLeft =
|
|
182
|
-
const tabWidth =
|
|
177
|
+
const navWidth = this.activeIndicatorContainerEl?.offsetWidth;
|
|
178
|
+
const tabLeft = this.selectedTabEl?.offsetLeft;
|
|
179
|
+
const tabWidth = this.selectedTabEl?.offsetWidth;
|
|
183
180
|
const offsetRight = navWidth - (tabLeft + tabWidth);
|
|
184
181
|
this.indicatorOffset =
|
|
185
|
-
dir !== "rtl" ? tabLeft -
|
|
182
|
+
dir !== "rtl" ? tabLeft - this.tabNavEl?.scrollLeft : offsetRight + this.tabNavEl?.scrollLeft;
|
|
186
183
|
}
|
|
187
184
|
updateActiveWidth() {
|
|
188
|
-
|
|
189
|
-
this.indicatorWidth = (_a = this.selectedTabEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
|
185
|
+
this.indicatorWidth = this.selectedTabEl?.offsetWidth;
|
|
190
186
|
}
|
|
191
187
|
getIndexOfTabTitle(el, tabTitles = this.tabTitles) {
|
|
192
188
|
// In most cases, since these indexes correlate with tab contents, we want to consider all tab titles.
|
|
@@ -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, Build, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -77,13 +77,12 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
77
77
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
78
78
|
}
|
|
79
79
|
disconnectedCallback() {
|
|
80
|
-
|
|
81
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
80
|
+
this.mutationObserver?.disconnect();
|
|
82
81
|
// Dispatching to body in order to be listened by other elements that are still connected to the DOM.
|
|
83
|
-
|
|
82
|
+
document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister", {
|
|
84
83
|
detail: this.el
|
|
85
84
|
}));
|
|
86
|
-
|
|
85
|
+
this.resizeObserver?.disconnect();
|
|
87
86
|
}
|
|
88
87
|
componentWillLoad() {
|
|
89
88
|
if (Build.isBrowser) {
|
|
@@ -113,7 +112,7 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
113
112
|
return (h(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, h("div", { class: {
|
|
114
113
|
container: true,
|
|
115
114
|
"container--has-text": this.hasText
|
|
116
|
-
}, ref: (el) =>
|
|
115
|
+
}, ref: (el) => this.resizeObserver?.observe(el) }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
117
116
|
}
|
|
118
117
|
async componentDidLoad() {
|
|
119
118
|
this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());
|
|
@@ -212,8 +211,7 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
212
211
|
this.hasText = this.el.textContent.trim().length > 0;
|
|
213
212
|
}
|
|
214
213
|
setupTextContentObserver() {
|
|
215
|
-
|
|
216
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
214
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
217
215
|
}
|
|
218
216
|
emitActiveTab(userTriggered = true) {
|
|
219
217
|
if (this.disabled) {
|
package/dist/components/tab.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -49,13 +49,11 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
49
49
|
this.calciteInternalTabRegister.emit();
|
|
50
50
|
}
|
|
51
51
|
componentWillRender() {
|
|
52
|
-
|
|
53
|
-
this.scale = (_a = this.parentTabsEl) === null || _a === void 0 ? void 0 : _a.scale;
|
|
52
|
+
this.scale = this.parentTabsEl?.scale;
|
|
54
53
|
}
|
|
55
54
|
disconnectedCallback() {
|
|
56
|
-
var _a;
|
|
57
55
|
// Dispatching to body in order to be listened by other elements that are still connected to the DOM.
|
|
58
|
-
|
|
56
|
+
document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister", {
|
|
59
57
|
detail: this.el
|
|
60
58
|
}));
|
|
61
59
|
}
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
package/dist/components/tile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { 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 } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { n as numberKeys, i as isActivationKey } from './key.js';
|
|
@@ -50,7 +50,6 @@ function getLocaleHourCycle(locale, numberingSystem) {
|
|
|
50
50
|
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
51
51
|
}
|
|
52
52
|
function getLocalizedTimePart(part, parts) {
|
|
53
|
-
var _a, _b, _c, _d;
|
|
54
53
|
if (!part || !parts) {
|
|
55
54
|
return null;
|
|
56
55
|
}
|
|
@@ -59,7 +58,7 @@ function getLocalizedTimePart(part, parts) {
|
|
|
59
58
|
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
60
59
|
const hourSuffix = parts[hourIndex + 1];
|
|
61
60
|
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
62
|
-
?
|
|
61
|
+
? hourSuffix.value?.trim() || null
|
|
63
62
|
: null;
|
|
64
63
|
}
|
|
65
64
|
if (part === "minuteSuffix") {
|
|
@@ -67,15 +66,15 @@ function getLocalizedTimePart(part, parts) {
|
|
|
67
66
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
68
67
|
const minuteSuffix = parts[minuteIndex + 1];
|
|
69
68
|
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
70
|
-
?
|
|
69
|
+
? minuteSuffix.value?.trim() || null
|
|
71
70
|
: null;
|
|
72
71
|
}
|
|
73
72
|
if (part === "secondSuffix") {
|
|
74
73
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
75
74
|
const secondSuffix = parts[secondIndex + 1];
|
|
76
|
-
return secondSuffix && secondSuffix.type === "literal" ?
|
|
75
|
+
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
77
76
|
}
|
|
78
|
-
return
|
|
77
|
+
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
79
78
|
}
|
|
80
79
|
function getMeridiem(hour) {
|
|
81
80
|
if (!isValidNumber(hour)) {
|
|
@@ -134,7 +133,7 @@ function localizeTimeString({ value, locale, numberingSystem, includeSeconds = t
|
|
|
134
133
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
135
134
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
136
135
|
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
137
|
-
return
|
|
136
|
+
return formatter?.format(dateFromTimeString) || null;
|
|
138
137
|
}
|
|
139
138
|
function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
140
139
|
if (!isValidTime(value)) {
|
|
@@ -531,7 +530,6 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
531
530
|
}
|
|
532
531
|
};
|
|
533
532
|
this.setValuePart = (key, value, emit = true) => {
|
|
534
|
-
var _a;
|
|
535
533
|
const { effectiveLocale: locale, numberingSystem } = this;
|
|
536
534
|
if (key === "meridiem") {
|
|
537
535
|
this.meridiem = value;
|
|
@@ -574,7 +572,8 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
574
572
|
this.value = null;
|
|
575
573
|
}
|
|
576
574
|
this.localizedMeridiem = this.value
|
|
577
|
-
?
|
|
575
|
+
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
576
|
+
?.localizedMeridiem || null
|
|
578
577
|
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
579
578
|
if (emit) {
|
|
580
579
|
this.calciteInternalTimePickerChange.emit();
|
|
@@ -703,9 +702,8 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
703
702
|
* @param target
|
|
704
703
|
*/
|
|
705
704
|
async setFocus(target) {
|
|
706
|
-
var _a;
|
|
707
705
|
await componentLoaded(this);
|
|
708
|
-
|
|
706
|
+
this[`${target || "hour"}El`]?.focus();
|
|
709
707
|
}
|
|
710
708
|
// --------------------------------------------------------------------------
|
|
711
709
|
//
|
|
@@ -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 guid } from './guid.js';
|
|
@@ -57,7 +57,7 @@ class TooltipManager {
|
|
|
57
57
|
}
|
|
58
58
|
const clickedTooltip = this.queryTooltip(event.composedPath());
|
|
59
59
|
this.clickedTooltip = clickedTooltip;
|
|
60
|
-
if (clickedTooltip
|
|
60
|
+
if (clickedTooltip?.closeOnClick) {
|
|
61
61
|
this.toggleTooltip(clickedTooltip, false);
|
|
62
62
|
this.clearHoverTimeout(clickedTooltip);
|
|
63
63
|
}
|
package/dist/components/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -108,7 +108,7 @@ function hasChannels(colorObject, ...channels) {
|
|
|
108
108
|
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
|
109
109
|
}
|
|
110
110
|
function colorEqual(value1, value2) {
|
|
111
|
-
return
|
|
111
|
+
return value1?.rgbNumber() === value2?.rgbNumber();
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export { CSSColorMode as C, isLonghandHex as a, hexChar as b, colorEqual as c, hexToRGB as h, isValidHex as i, normalizeHex as n, parseMode as p, rgbToHex as r };
|
|
@@ -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 { n as nodeListToArray } from './dom.js';
|
|
7
7
|
import { Build } from '@stencil/core/internal/client/index.js';
|
|
@@ -14,14 +14,12 @@ const TEXT = {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
function getAncestors(element) {
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const grandparent = (_b = parent === null || parent === void 0 ? void 0 : parent.parentElement) === null || _b === void 0 ? void 0 : _b.closest(ComboboxChildSelector);
|
|
17
|
+
const parent = element.parentElement?.closest(ComboboxChildSelector);
|
|
18
|
+
const grandparent = parent?.parentElement?.closest(ComboboxChildSelector);
|
|
20
19
|
return [parent, grandparent].filter((el) => el);
|
|
21
20
|
}
|
|
22
21
|
function getItemAncestors(item) {
|
|
23
|
-
|
|
24
|
-
return (((_a = item.ancestors) === null || _a === void 0 ? void 0 : _a.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM")) || []);
|
|
22
|
+
return (item.ancestors?.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM") || []);
|
|
25
23
|
}
|
|
26
24
|
function getItemChildren(item) {
|
|
27
25
|
return nodeListToArray(item.querySelectorAll("calcite-combobox-item"));
|