@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
|
/**
|
|
7
7
|
* This module helps users provide custom configuration for component internals.
|
|
@@ -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 { numberStringFormatter } from "./locale";
|
|
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 { CSS_UTILITY } from "./resources";
|
|
7
7
|
import { guid } from "./guid";
|
|
@@ -24,7 +24,7 @@ export function nodeListToArray(nodeList) {
|
|
|
24
24
|
}
|
|
25
25
|
export function getThemeName(el) {
|
|
26
26
|
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
|
27
|
-
return
|
|
27
|
+
return closestElWithTheme?.classList.contains("calcite-theme-dark") ? "dark" : "light";
|
|
28
28
|
}
|
|
29
29
|
export function getElementDir(el) {
|
|
30
30
|
const prop = "dir";
|
|
@@ -114,7 +114,7 @@ export function containsCrossShadowBoundary(element, maybeDescendant) {
|
|
|
114
114
|
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
|
115
115
|
}
|
|
116
116
|
export function isCalciteFocusable(el) {
|
|
117
|
-
return typeof
|
|
117
|
+
return typeof el?.setFocus === "function";
|
|
118
118
|
}
|
|
119
119
|
export async function focusElement(el) {
|
|
120
120
|
if (!el) {
|
|
@@ -133,21 +133,21 @@ export function getSlotted(element, slotName, options) {
|
|
|
133
133
|
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
134
134
|
: `[slot="${slotName}"]`
|
|
135
135
|
: defaultSlotSelector;
|
|
136
|
-
if (options
|
|
136
|
+
if (options?.all) {
|
|
137
137
|
return queryMultiple(element, slotSelector, options);
|
|
138
138
|
}
|
|
139
139
|
return querySingle(element, slotSelector, options);
|
|
140
140
|
}
|
|
141
141
|
function getDirectChildren(el, selector) {
|
|
142
|
-
return el ? Array.from(el.children || []).filter((child) => child
|
|
142
|
+
return el ? Array.from(el.children || []).filter((child) => child?.matches(selector)) : [];
|
|
143
143
|
}
|
|
144
144
|
function queryMultiple(element, slotSelector, options) {
|
|
145
145
|
let matches = slotSelector === defaultSlotSelector
|
|
146
146
|
? getDirectChildren(element, defaultSlotSelector)
|
|
147
147
|
: Array.from(element.querySelectorAll(slotSelector));
|
|
148
148
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
149
|
-
matches =
|
|
150
|
-
const selector = options
|
|
149
|
+
matches = options?.matches ? matches.filter((el) => el?.matches(options.matches)) : matches;
|
|
150
|
+
const selector = options?.selector;
|
|
151
151
|
return selector
|
|
152
152
|
? matches
|
|
153
153
|
.map((item) => Array.from(item.querySelectorAll(selector)))
|
|
@@ -159,10 +159,10 @@ function querySingle(element, slotSelector, options) {
|
|
|
159
159
|
let match = slotSelector === defaultSlotSelector
|
|
160
160
|
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
|
161
161
|
: element.querySelector(slotSelector);
|
|
162
|
-
match = options && options.direct === false ? match :
|
|
163
|
-
match =
|
|
164
|
-
const selector = options
|
|
165
|
-
return selector ? match
|
|
162
|
+
match = options && options.direct === false ? match : match?.parentElement === element ? match : null;
|
|
163
|
+
match = options?.matches ? (match?.matches(options.matches) ? match : null) : match;
|
|
164
|
+
const selector = options?.selector;
|
|
165
|
+
return selector ? match?.querySelector(selector) : match;
|
|
166
166
|
}
|
|
167
167
|
export function filterDirectChildren(el, selector) {
|
|
168
168
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -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 { escapeRegExp, forIn } from "lodash-es";
|
|
7
7
|
export const filter = (data, value) => {
|
|
@@ -12,7 +12,7 @@ export const filter = (data, value) => {
|
|
|
12
12
|
The data argument should be an array of objects`);
|
|
13
13
|
}
|
|
14
14
|
const find = (input, RE) => {
|
|
15
|
-
if (
|
|
15
|
+
if (input?.constant || input?.filterDisabled) {
|
|
16
16
|
return true;
|
|
17
17
|
}
|
|
18
18
|
let found = false;
|
|
@@ -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 { rectToClientRect } from "@floating-ui/core";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { arrow, autoPlacement, autoUpdate, computePosition, flip, hide, offset, platform, shift } from "@floating-ui/dom";
|
|
7
7
|
import { closestElementCrossShadowBoundary, getElementDir } from "./dom";
|
|
@@ -12,7 +12,7 @@ const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
|
12
12
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
13
13
|
function getUAString() {
|
|
14
14
|
const uaData = navigator.userAgentData;
|
|
15
|
-
if (uaData
|
|
15
|
+
if (uaData?.brands) {
|
|
16
16
|
return uaData.brands.map((item) => `${item.brand}/${item.version}`).join(" ");
|
|
17
17
|
}
|
|
18
18
|
return navigator.userAgent;
|
|
@@ -198,7 +198,6 @@ const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeo
|
|
|
198
198
|
* @param root0.includeArrow
|
|
199
199
|
*/
|
|
200
200
|
export async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, includeArrow = false, arrowEl, type }) {
|
|
201
|
-
var _a;
|
|
202
201
|
if (!referenceEl || !floatingEl || (includeArrow && !arrowEl)) {
|
|
203
202
|
return null;
|
|
204
203
|
}
|
|
@@ -218,14 +217,14 @@ export async function positionFloatingUI({ referenceEl, floatingEl, overlayPosit
|
|
|
218
217
|
type
|
|
219
218
|
})
|
|
220
219
|
});
|
|
221
|
-
if (middlewareData
|
|
220
|
+
if (middlewareData?.arrow) {
|
|
222
221
|
const { x: arrowX, y: arrowY } = middlewareData.arrow;
|
|
223
222
|
Object.assign(arrowEl.style, {
|
|
224
223
|
left: arrowX != null ? `${arrowX}px` : "",
|
|
225
224
|
top: arrowY != null ? `${arrowY}px` : ""
|
|
226
225
|
});
|
|
227
226
|
}
|
|
228
|
-
const referenceHidden =
|
|
227
|
+
const referenceHidden = middlewareData?.hide?.referenceHidden;
|
|
229
228
|
const visibility = referenceHidden ? "hidden" : null;
|
|
230
229
|
const pointerEvents = visibility ? "none" : null;
|
|
231
230
|
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
@@ -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 { createFocusTrap } from "focus-trap";
|
|
7
7
|
import { focusElement } from "./dom";
|
|
@@ -39,8 +39,7 @@ export function connectFocusTrap(component) {
|
|
|
39
39
|
* @param component
|
|
40
40
|
*/
|
|
41
41
|
export function activateFocusTrap(component) {
|
|
42
|
-
|
|
43
|
-
(_a = component.focusTrap) === null || _a === void 0 ? void 0 : _a.activate();
|
|
42
|
+
component.focusTrap?.activate();
|
|
44
43
|
}
|
|
45
44
|
/**
|
|
46
45
|
* Helper to tear deactivate focus trap component.
|
|
@@ -48,6 +47,5 @@ export function activateFocusTrap(component) {
|
|
|
48
47
|
* @param component
|
|
49
48
|
*/
|
|
50
49
|
export function deactivateFocusTrap(component) {
|
|
51
|
-
|
|
52
|
-
(_a = component.focusTrap) === null || _a === void 0 ? void 0 : _a.deactivate();
|
|
50
|
+
component.focusTrap?.deactivate();
|
|
53
51
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { closestElementCrossShadowBoundary } from "./dom";
|
|
7
7
|
import { h } from "@stencil/core";
|
|
@@ -50,8 +50,7 @@ export function submitForm(component) {
|
|
|
50
50
|
* @param component
|
|
51
51
|
*/
|
|
52
52
|
export function resetForm(component) {
|
|
53
|
-
|
|
54
|
-
(_a = component.formEl) === null || _a === void 0 ? void 0 : _a.reset();
|
|
53
|
+
component.formEl?.reset();
|
|
55
54
|
}
|
|
56
55
|
/**
|
|
57
56
|
* Helper to set up form interactions on connectedCallback.
|
|
@@ -172,7 +171,6 @@ function syncHiddenFormInput(component) {
|
|
|
172
171
|
});
|
|
173
172
|
}
|
|
174
173
|
function defaultSyncHiddenFormInput(component, input, value) {
|
|
175
|
-
var _a;
|
|
176
174
|
const { defaultValue, disabled, name, required } = component;
|
|
177
175
|
// keep in sync to prevent losing reset value
|
|
178
176
|
input.defaultValue = defaultValue;
|
|
@@ -193,7 +191,7 @@ function defaultSyncHiddenFormInput(component, input, value) {
|
|
|
193
191
|
else {
|
|
194
192
|
input.value = value || "";
|
|
195
193
|
}
|
|
196
|
-
|
|
194
|
+
component.syncHiddenFormInput?.(input);
|
|
197
195
|
}
|
|
198
196
|
/**
|
|
199
197
|
* Helper to render the slot for form-associated component's hidden input.
|
|
@@ -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 { createObserver } from "./observers";
|
|
7
7
|
const allowedGlobalAttributes = ["lang"];
|
|
@@ -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 { initThemeChangeEvent } from "./theme";
|
|
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
|
export function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { closestElementCrossShadowBoundary, queryElementRoots } from "./dom";
|
|
7
7
|
/**
|
|
@@ -44,7 +44,7 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
44
44
|
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
45
45
|
const ancestorCustomElements = traversedElements
|
|
46
46
|
.filter((el) => el !== componentEl && el !== label)
|
|
47
|
-
.filter((el) =>
|
|
47
|
+
.filter((el) => el.tagName?.includes("-"));
|
|
48
48
|
return ancestorCustomElements.length > 0;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
@@ -97,8 +97,7 @@ export function disconnectLabel(component) {
|
|
|
97
97
|
* @param component
|
|
98
98
|
*/
|
|
99
99
|
export function getLabelText(component) {
|
|
100
|
-
|
|
101
|
-
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
100
|
+
return component.label || component.labelEl?.textContent?.trim() || "";
|
|
102
101
|
}
|
|
103
102
|
function onLabelClick(event) {
|
|
104
103
|
if (this.disabled) {
|
|
@@ -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 resolveMap = new WeakMap();
|
|
7
7
|
const promiseMap = new WeakMap();
|
|
@@ -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 { BigDecimal, isValidNumber, sanitizeExponentialNumberString } from "./number";
|
|
7
7
|
import { createObserver } from "./observers";
|
|
@@ -178,10 +178,9 @@ const mutationObserver = createObserver("mutation", (records) => {
|
|
|
178
178
|
* @param component
|
|
179
179
|
*/
|
|
180
180
|
function getLocale(component) {
|
|
181
|
-
var _a;
|
|
182
181
|
return (component.el.lang ||
|
|
183
182
|
component.locale ||
|
|
184
|
-
|
|
183
|
+
closestElementCrossShadowBoundary(component.el, "[lang]")?.lang ||
|
|
185
184
|
document.documentElement.lang ||
|
|
186
185
|
defaultLocale);
|
|
187
186
|
}
|
|
@@ -232,8 +231,8 @@ export class NumberStringFormat {
|
|
|
232
231
|
* numberFormatOptions needs to be set before localize/delocalize is called to ensure the options are up to date
|
|
233
232
|
*/
|
|
234
233
|
set numberFormatOptions(options) {
|
|
235
|
-
options.locale = getSupportedLocale(options
|
|
236
|
-
options.numberingSystem = getSupportedNumberingSystem(options
|
|
234
|
+
options.locale = getSupportedLocale(options?.locale);
|
|
235
|
+
options.numberingSystem = getSupportedNumberingSystem(options?.numberingSystem);
|
|
237
236
|
if (
|
|
238
237
|
// No need to create the formatter if `locale` and `numberingSystem`
|
|
239
238
|
// are the default values and `numberFormatOptions` has not been set
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
export const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
export 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 { numberKeys } from "./key";
|
|
7
7
|
const defaultMinusSignRegex = new RegExp("-", "g");
|
|
@@ -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) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
export const autoTheme = "calcite-theme-auto";
|
|
7
7
|
export const darkTheme = "calcite-theme-dark";
|
|
@@ -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 { getAssetPath } from "@stencil/core";
|
|
7
7
|
import { getSupportedLocale } from "./locale";
|
|
@@ -51,8 +51,7 @@ function mergeMessages(component) {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
function getEffectiveMessageOverrides(component) {
|
|
54
|
-
|
|
55
|
-
return (_a = component.messageOverrides) !== null && _a !== void 0 ? _a : overridesFromIntlProps(component);
|
|
54
|
+
return component.messageOverrides ?? overridesFromIntlProps(component);
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
58
57
|
* This utility sets up the messages used by the component. It should be awaited in the `componentWillLoad` lifecycle hook.
|
|
@@ -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 { autoTheme, darkTheme } from "./resources";
|
|
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 { isValidNumber } from "./number";
|
|
7
7
|
import { getSupportedLocale, getSupportedNumberingSystem } from "./locale";
|
|
@@ -46,7 +46,6 @@ export function getLocaleHourCycle(locale, numberingSystem) {
|
|
|
46
46
|
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
47
47
|
}
|
|
48
48
|
function getLocalizedTimePart(part, parts) {
|
|
49
|
-
var _a, _b, _c, _d;
|
|
50
49
|
if (!part || !parts) {
|
|
51
50
|
return null;
|
|
52
51
|
}
|
|
@@ -55,7 +54,7 @@ function getLocalizedTimePart(part, parts) {
|
|
|
55
54
|
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
56
55
|
const hourSuffix = parts[hourIndex + 1];
|
|
57
56
|
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
58
|
-
?
|
|
57
|
+
? hourSuffix.value?.trim() || null
|
|
59
58
|
: null;
|
|
60
59
|
}
|
|
61
60
|
if (part === "minuteSuffix") {
|
|
@@ -63,15 +62,15 @@ function getLocalizedTimePart(part, parts) {
|
|
|
63
62
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
64
63
|
const minuteSuffix = parts[minuteIndex + 1];
|
|
65
64
|
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
66
|
-
?
|
|
65
|
+
? minuteSuffix.value?.trim() || null
|
|
67
66
|
: null;
|
|
68
67
|
}
|
|
69
68
|
if (part === "secondSuffix") {
|
|
70
69
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
71
70
|
const secondSuffix = parts[secondIndex + 1];
|
|
72
|
-
return secondSuffix && secondSuffix.type === "literal" ?
|
|
71
|
+
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
73
72
|
}
|
|
74
|
-
return
|
|
73
|
+
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
75
74
|
}
|
|
76
75
|
export function getMeridiem(hour) {
|
|
77
76
|
if (!isValidNumber(hour)) {
|
|
@@ -130,7 +129,7 @@ export function localizeTimeString({ value, locale, numberingSystem, includeSeco
|
|
|
130
129
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
131
130
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
132
131
|
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
133
|
-
return
|
|
132
|
+
return formatter?.format(dateFromTimeString) || null;
|
|
134
133
|
}
|
|
135
134
|
export function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
136
135
|
if (!isValidTime(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 { forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
@@ -12,7 +12,7 @@ const overflowActionsDebounceInMs = 150;
|
|
|
12
12
|
const groupBufferPx = 2;
|
|
13
13
|
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
14
14
|
const geActionDimensions = (actions) => {
|
|
15
|
-
const actionLen = actions
|
|
15
|
+
const actionLen = actions?.length;
|
|
16
16
|
return {
|
|
17
17
|
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
18
18
|
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
@@ -63,8 +63,7 @@ const ICONS = {
|
|
|
63
63
|
chevronsRight: "chevrons-right"
|
|
64
64
|
};
|
|
65
65
|
function getCalcitePosition(position, el) {
|
|
66
|
-
|
|
67
|
-
return position || ((_a = el.closest("calcite-shell-panel")) === null || _a === void 0 ? void 0 : _a.position) || "start";
|
|
66
|
+
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
68
67
|
}
|
|
69
68
|
function toggleChildActionText({ parent, expanded }) {
|
|
70
69
|
queryActions(parent)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.654
|
|
5
5
|
*/
|
|
6
6
|
import { h } from '@stencil/core/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 { 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, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement } from './dom.js';
|
|
@@ -85,7 +85,7 @@ const ActionMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
85
85
|
.assignedElements({
|
|
86
86
|
flatten: true
|
|
87
87
|
})
|
|
88
|
-
.filter((el) => el
|
|
88
|
+
.filter((el) => el?.matches("calcite-action"));
|
|
89
89
|
this.slottedMenuButtonEl = actions[0];
|
|
90
90
|
this.connectMenuButtonEl();
|
|
91
91
|
};
|
|
@@ -113,7 +113,7 @@ const ActionMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
113
113
|
.assignedElements({
|
|
114
114
|
flatten: true
|
|
115
115
|
})
|
|
116
|
-
.filter((el) => el
|
|
116
|
+
.filter((el) => el?.matches("calcite-tooltip"));
|
|
117
117
|
this.tooltipEl = tooltips[0];
|
|
118
118
|
this.setTooltipReferenceElement();
|
|
119
119
|
};
|
|
@@ -134,14 +134,14 @@ const ActionMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
134
134
|
action.active = index === activeMenuItemIndex;
|
|
135
135
|
};
|
|
136
136
|
this.updateActions = (actions) => {
|
|
137
|
-
actions
|
|
137
|
+
actions?.forEach(this.updateAction);
|
|
138
138
|
};
|
|
139
139
|
this.handleDefaultSlotChange = (event) => {
|
|
140
140
|
const actions = event.target
|
|
141
141
|
.assignedElements({
|
|
142
142
|
flatten: true
|
|
143
143
|
})
|
|
144
|
-
.filter((el) => el
|
|
144
|
+
.filter((el) => el?.matches("calcite-action"));
|
|
145
145
|
this.actionElements = actions;
|
|
146
146
|
};
|
|
147
147
|
this.menuButtonKeyDown = (event) => {
|
|
@@ -274,8 +274,8 @@ const ActionMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
274
274
|
renderMenuItems() {
|
|
275
275
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
276
276
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
277
|
-
const activeDescendantId =
|
|
278
|
-
return (h("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl
|
|
277
|
+
const activeDescendantId = activeAction?.id || null;
|
|
278
|
+
return (h("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
279
279
|
}
|
|
280
280
|
render() {
|
|
281
281
|
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS.tooltip, onSlotchange: this.updateTooltip })));
|