@esri/calcite-components 1.0.0-next.653 → 1.0.0-next.655
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-043ea88f.entry.js +6 -0
- package/dist/calcite/{p-dee6d536.js → p-04a542d5.js} +2 -2
- package/dist/calcite/{p-2ec7c680.js → p-05c07433.js} +1 -1
- package/dist/calcite/{p-28884998.entry.js → p-06b8eaf1.entry.js} +2 -2
- package/dist/calcite/p-114b5d1c.entry.js +6 -0
- package/dist/calcite/p-15500e9a.entry.js +6 -0
- package/dist/calcite/p-1982152c.entry.js +6 -0
- package/dist/calcite/p-19eef56a.entry.js +6 -0
- package/dist/calcite/p-1d01393e.js +6 -0
- package/dist/calcite/p-1d457dd1.js +6 -0
- package/dist/calcite/p-20a4c9c3.entry.js +6 -0
- package/dist/calcite/{p-406fcc95.entry.js → p-21588351.entry.js} +2 -2
- package/dist/calcite/p-26e36a96.entry.js +6 -0
- package/dist/calcite/p-2964e90c.entry.js +6 -0
- package/dist/calcite/{p-49701eee.js → p-29dc2fc3.js} +1 -1
- package/dist/calcite/{p-bff4c20d.entry.js → p-2e002bf7.entry.js} +2 -2
- package/dist/calcite/p-31512acf.js +6 -0
- package/dist/calcite/{p-e2f5256c.entry.js → p-3403e756.entry.js} +2 -2
- package/dist/calcite/p-340e338f.entry.js +6 -0
- package/dist/calcite/p-3b4fbb37.entry.js +6 -0
- package/dist/calcite/{p-220b7569.entry.js → p-3c0dcfb7.entry.js} +2 -2
- package/dist/calcite/{p-048b7796.js → p-3f55b93b.js} +1 -1
- package/dist/calcite/p-3fcadef4.entry.js +6 -0
- package/dist/calcite/p-442b6798.entry.js +6 -0
- package/dist/calcite/p-46dd2ba4.entry.js +6 -0
- package/dist/calcite/p-47685252.entry.js +6 -0
- package/dist/calcite/p-4a861228.entry.js +6 -0
- package/dist/calcite/p-4b46c28a.entry.js +6 -0
- package/dist/calcite/{p-8fb7ee35.entry.js → p-4f08640a.entry.js} +2 -2
- package/dist/calcite/p-5007e6bd.entry.js +6 -0
- package/dist/calcite/{p-d849b5b6.entry.js → p-56ad5531.entry.js} +2 -2
- package/dist/calcite/p-595da7bb.entry.js +6 -0
- package/dist/calcite/{p-d5e70d38.entry.js → p-62677747.entry.js} +2 -2
- package/dist/calcite/{p-24c048b5.js → p-6c29460f.js} +1 -1
- package/dist/calcite/{p-6e0ecbed.entry.js → p-70af3d23.entry.js} +2 -2
- package/dist/calcite/p-70e5d6c1.entry.js +6 -0
- package/dist/calcite/{p-36046779.js → p-75665b0d.js} +1 -1
- package/dist/calcite/p-789b6bad.entry.js +6 -0
- package/dist/calcite/p-7a197dad.entry.js +6 -0
- package/dist/calcite/p-7ce637a8.entry.js +6 -0
- package/dist/calcite/p-7dfeef91.entry.js +6 -0
- package/dist/calcite/{p-3dc251f4.entry.js → p-8087a217.entry.js} +2 -2
- package/dist/calcite/p-8693a7bb.entry.js +6 -0
- package/dist/calcite/p-883da6ae.js +6 -0
- package/dist/calcite/{p-1e7d0a3e.entry.js → p-894b85ce.entry.js} +2 -2
- package/dist/calcite/{p-675dfbe8.entry.js → p-8d68685d.entry.js} +2 -2
- package/dist/calcite/{p-44a78e82.entry.js → p-914480aa.entry.js} +2 -2
- package/dist/calcite/p-93a37211.entry.js +6 -0
- package/dist/calcite/{p-b567d164.js → p-94d9499a.js} +1 -1
- package/dist/calcite/p-97338377.entry.js +6 -0
- package/dist/calcite/p-9a2d8ab0.entry.js +6 -0
- package/dist/calcite/{p-627cd0ab.entry.js → p-9b91641b.entry.js} +2 -2
- package/dist/calcite/p-9be856ff.entry.js +6 -0
- package/dist/calcite/p-a13d26d4.entry.js +6 -0
- package/dist/calcite/{p-e1fa408f.js → p-a176bb86.js} +2 -2
- package/dist/calcite/p-a2aa2633.entry.js +6 -0
- package/dist/calcite/{p-3274abf2.js → p-a46eae3b.js} +2 -2
- package/dist/calcite/{p-b0cecf6b.js → p-a9ad5958.js} +1 -1
- package/dist/calcite/p-ab331d08.entry.js +6 -0
- package/dist/calcite/p-adc56e8e.entry.js +6 -0
- package/dist/calcite/p-ae16f981.entry.js +6 -0
- package/dist/calcite/{p-0a1f589a.js → p-af6229cc.js} +2 -2
- package/dist/calcite/{p-5a953a75.js → p-b2464ba9.js} +1 -1
- package/dist/calcite/p-b257f060.entry.js +6 -0
- package/dist/calcite/p-b3de53d6.js +6 -0
- package/dist/calcite/p-b52352f0.entry.js +6 -0
- package/dist/calcite/p-b60fc503.js +6 -0
- package/dist/calcite/{p-5bb6cc45.js → p-bb298c47.js} +1 -1
- package/dist/calcite/{p-4296ca3f.js → p-c55e7664.js} +1 -1
- package/dist/calcite/{p-b9184c58.entry.js → p-c66c342c.entry.js} +2 -2
- package/dist/calcite/p-c8cb4d64.entry.js +6 -0
- package/dist/calcite/{p-f857cfa2.entry.js → p-c91c0d84.entry.js} +2 -2
- package/dist/calcite/{p-74c02e3a.js → p-ce2cd41b.js} +3 -3
- package/dist/calcite/{p-98183f7a.js → p-d1250cd5.js} +1 -1
- package/dist/calcite/p-d1ea7e98.entry.js +6 -0
- package/dist/calcite/p-d4897627.js +6 -0
- package/dist/calcite/{p-1a859cf5.js → p-d63eca00.js} +1 -1
- package/dist/calcite/p-d7a2f588.js +6 -0
- package/dist/calcite/p-d9073ba3.entry.js +6 -0
- package/dist/calcite/p-df638ece.entry.js +6 -0
- package/dist/calcite/{p-c8946ac4.js → p-e0117b64.js} +1 -1
- package/dist/calcite/p-e17d5384.entry.js +6 -0
- package/dist/calcite/p-ea9d9c5c.entry.js +6 -0
- package/dist/calcite/{p-4869c10e.js → p-f33ca6d1.js} +2 -2
- package/dist/calcite/p-f4006464.js +6 -0
- package/dist/calcite/p-f5c2dc70.entry.js +6 -0
- package/dist/calcite/{p-a53596e5.js → p-f5dbda7d.js} +1 -1
- package/dist/calcite/{p-e452903d.js → p-f735579b.js} +1 -1
- package/dist/calcite/p-f86dead7.entry.js +6 -0
- package/dist/calcite/{p-1cdae83d.js → p-fb2017d2.js} +1 -1
- package/dist/calcite/{p-a1a81de3.entry.js → p-fd4ed53a.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-8d248ee3.js → ExpandToggle-b5b731d6.js} +7 -8
- package/dist/cjs/{Heading-dd6d6eb7.js → Heading-86fb7f76.js} +2 -2
- package/dist/cjs/{app-globals-35dd7e0f.js → app-globals-f51875dc.js} +2 -2
- package/dist/cjs/{array-bc2da329.js → array-6f9691d3.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 +36 -28
- 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 +32 -36
- 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 +23 -27
- package/dist/cjs/calcite-input.cjs.entry.js +25 -33
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +22 -26
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -22
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -15
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +17 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +26 -34
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -21
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-d2dd31d5.js → conditionalSlot-01e94659.js} +3 -3
- package/dist/cjs/{debounce-fec2cc26.js → debounce-9787fe3f.js} +1 -1
- package/dist/cjs/{dom-8db20575.js → dom-0c006683.js} +13 -13
- package/dist/cjs/{filter-4951900a.js → filter-1f20ad58.js} +3 -3
- package/dist/cjs/{floating-ui-16ec7ef7.js → floating-ui-357b6162.js} +7 -8
- package/dist/cjs/{focusTrapComponent-1f7ac746.js → focusTrapComponent-f6ec01ac.js} +4 -6
- package/dist/cjs/{form-df338099.js → form-affb950f.js} +5 -7
- package/dist/cjs/{guid-7c9bf705.js → guid-bcf2e27d.js} +1 -1
- package/dist/cjs/{index-11cbd6ae.js → index-e7f6d8a9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-12572356.js → interactive-50819d76.js} +1 -1
- package/dist/cjs/{interfaces-bcf5a504.js → interfaces-65e8ab48.js} +1 -1
- package/dist/cjs/{key-5efe25db.js → key-27cd9b48.js} +1 -1
- package/dist/cjs/{label-f2b57841.js → label-b53d0971.js} +4 -5
- package/dist/cjs/{loadable-fdc027c5.js → loadable-5fff6d49.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ad2e4def.js → locale-7c7ea778.js} +7 -8
- package/dist/cjs/{math-e3bf7036.js → math-b2c68418.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-25b21483.js} +6 -6
- package/dist/cjs/{observers-1cb80ad6.js → observers-93a0a981.js} +1 -1
- package/dist/cjs/{openCloseComponent-42ea9fde.js → openCloseComponent-7e8c6590.js} +1 -1
- package/dist/cjs/{resources-61c779db.js → resources-154a6134.js} +1 -1
- package/dist/cjs/{resources-883ffa52.js → resources-2a151557.js} +3 -3
- package/dist/cjs/{resources-f5a03517.js → resources-34896b85.js} +1 -1
- package/dist/cjs/{resources-125245bd.js → resources-9a470a7e.js} +1 -1
- package/dist/cjs/{resources-e6605c29.js → resources-bdc925d6.js} +1 -1
- package/dist/cjs/{resources-01342a2b.js → resources-d4a726c6.js} +11 -16
- package/dist/cjs/{sortable.esm-ec7f83ae.js → sortable.esm-2e3e4661.js} +1 -1
- package/dist/cjs/{utils-727a0b8e.js → utils-dda0c978.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 +7 -8
- package/dist/collection/components/date-picker-month-header/resources.js +14 -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 +17 -21
- 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 +4 -6
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +8 -12
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +3 -3
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +5 -8
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +3 -5
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +8 -11
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +7 -12
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -5
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +3 -5
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +6 -9
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +2 -2
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +4 -6
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +6 -11
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +3 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -5
- package/dist/collection/components/tab-nav/tab-nav.js +13 -17
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +2 -3
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +4 -5
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +2 -3
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +4 -6
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +3 -5
- package/dist/collection/components/tree/utils.js +2 -2
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +6 -9
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +3 -3
- package/dist/collection/components/value-list/value-list.js +4 -5
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +11 -11
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +4 -5
- package/dist/collection/utils/focusTrapComponent.js +3 -5
- package/dist/collection/utils/form.js +3 -5
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +3 -4
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +4 -5
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +2 -3
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +6 -7
- package/dist/components/ExpandToggle.js +3 -4
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +7 -7
- package/dist/components/action.js +6 -10
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -10
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +6 -9
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -3
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +9 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +13 -18
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +2 -3
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -4
- package/dist/components/calcite-flow.js +3 -5
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +9 -15
- package/dist/components/calcite-input-date-picker.js +17 -21
- 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 +4 -6
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +5 -5
- package/dist/components/calcite-list.js +8 -12
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -8
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +3 -5
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +3 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -4
- package/dist/components/calcite-rating.js +3 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +6 -9
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +4 -6
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +6 -11
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +6 -10
- package/dist/components/calcite-stepper.js +3 -4
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +4 -6
- package/dist/components/calcite-tip.js +2 -3
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +6 -9
- package/dist/components/calcite-tree.js +4 -6
- package/dist/components/calcite-value-list-item.js +2 -3
- package/dist/components/calcite-value-list.js +6 -7
- package/dist/components/checkbox.js +2 -3
- package/dist/components/chip.js +2 -3
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +19 -7
- package/dist/components/date-picker-month.js +4 -6
- package/dist/components/date-picker.js +5 -7
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +11 -11
- package/dist/components/dropdown.js +7 -9
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +4 -5
- package/dist/components/focusTrapComponent.js +3 -5
- package/dist/components/form.js +3 -5
- package/dist/components/graph.js +3 -5
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -3
- package/dist/components/icon.js +2 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +13 -21
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -4
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +4 -5
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +8 -11
- package/dist/components/pick-list-item.js +2 -3
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +3 -3
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +7 -12
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +13 -17
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab.js +3 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +9 -11
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +4 -6
- package/dist/esm/{ExpandToggle-3ec34795.js → ExpandToggle-67f409ce.js} +7 -8
- package/dist/esm/{Heading-f71bbfe4.js → Heading-7d30eb95.js} +2 -2
- package/dist/esm/{app-globals-61e0f5bb.js → app-globals-91c967df.js} +2 -2
- package/dist/esm/{array-f3af604a.js → array-0f371fbe.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 +36 -28
- 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 +32 -36
- 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 +23 -27
- package/dist/esm/calcite-input.entry.js +25 -33
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +22 -26
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +14 -17
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +17 -22
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +18 -21
- package/dist/esm/calcite-pick-list_3.entry.js +15 -17
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +5 -7
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-radio-group_2.entry.js +11 -12
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +12 -14
- package/dist/esm/calcite-sortable-list.entry.js +10 -15
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +17 -22
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +26 -34
- package/dist/esm/calcite-tile-select_2.entry.js +6 -7
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -15
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +16 -21
- package/dist/esm/calcite-value-list_2.entry.js +19 -21
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-be35718d.js → conditionalSlot-7375791c.js} +3 -3
- package/dist/esm/{debounce-511eda6a.js → debounce-fa1ba8dd.js} +1 -1
- package/dist/esm/{dom-3d0a39a1.js → dom-f86880a8.js} +13 -13
- package/dist/esm/{filter-275e53f4.js → filter-fe83cf69.js} +3 -3
- package/dist/esm/{floating-ui-fc56a23b.js → floating-ui-06e2aace.js} +7 -8
- package/dist/esm/{focusTrapComponent-2dcf390f.js → focusTrapComponent-725a0cce.js} +4 -6
- package/dist/esm/{form-99c3afb4.js → form-411e884b.js} +5 -7
- package/dist/esm/{guid-b0902c5e.js → guid-8a166774.js} +1 -1
- package/dist/esm/{index-a3e37dea.js → index-d632f7a1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ee12cb1f.js → interactive-3f5bd2e0.js} +1 -1
- package/dist/esm/{interfaces-461b2615.js → interfaces-7ca05385.js} +1 -1
- package/dist/esm/{key-26613542.js → key-d42e35a4.js} +1 -1
- package/dist/esm/{label-b9c0aa89.js → label-39b9caf1.js} +4 -5
- package/dist/esm/{loadable-9a013351.js → loadable-ecb83b69.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-35d09242.js → locale-9cc8d692.js} +7 -8
- package/dist/esm/{math-5fdb35a6.js → math-03369c68.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-928c5ed3.js → nonChromiumPlatformUtils-0dda1ba1.js} +6 -6
- package/dist/esm/{observers-1bc07c7a.js → observers-2b56a317.js} +1 -1
- package/dist/esm/{openCloseComponent-1a0f1e5f.js → openCloseComponent-08e9135e.js} +1 -1
- package/dist/esm/{resources-a1b41b10.js → resources-122bdb3c.js} +1 -1
- package/dist/esm/{resources-fd9aac1d.js → resources-34cf847c.js} +11 -16
- package/dist/esm/{resources-205e1a5e.js → resources-8ab3148f.js} +3 -3
- package/dist/esm/{resources-52b91f29.js → resources-b8533188.js} +1 -1
- package/dist/esm/{resources-9c2b241b.js → resources-c1317324.js} +1 -1
- package/dist/esm/{resources-0440659e.js → resources-cca3a0a9.js} +1 -1
- package/dist/esm/{sortable.esm-a20e5345.js → sortable.esm-baccf0e5.js} +1 -1
- package/dist/esm/{utils-a06ba7b4.js → utils-a76ce9e9.js} +2 -2
- package/dist/extras/docs-json.json +2 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/date-picker-month-header/resources.d.ts +13 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -1
- package/hydrate/index.js +377 -509
- package/package.json +1 -1
- package/dist/calcite/p-01182fb3.entry.js +0 -6
- package/dist/calcite/p-01cdb480.entry.js +0 -6
- package/dist/calcite/p-0bf47b10.entry.js +0 -6
- package/dist/calcite/p-0fe25017.entry.js +0 -6
- package/dist/calcite/p-169a8a94.entry.js +0 -6
- package/dist/calcite/p-25ca3105.entry.js +0 -6
- package/dist/calcite/p-272fc5c7.entry.js +0 -6
- package/dist/calcite/p-2a4269f0.entry.js +0 -6
- package/dist/calcite/p-2d6e9def.entry.js +0 -6
- package/dist/calcite/p-377b89a4.entry.js +0 -6
- package/dist/calcite/p-3e45b099.entry.js +0 -6
- package/dist/calcite/p-4331211c.js +0 -6
- package/dist/calcite/p-47aa3608.entry.js +0 -6
- package/dist/calcite/p-47f53948.js +0 -6
- package/dist/calcite/p-49a74b3e.js +0 -6
- package/dist/calcite/p-4ee5ad79.js +0 -6
- package/dist/calcite/p-50755b97.entry.js +0 -6
- package/dist/calcite/p-5a715918.entry.js +0 -6
- package/dist/calcite/p-5dd53e64.js +0 -6
- package/dist/calcite/p-5fcff767.entry.js +0 -6
- package/dist/calcite/p-60967994.entry.js +0 -6
- package/dist/calcite/p-6653a04c.entry.js +0 -6
- package/dist/calcite/p-6d2cb8f4.entry.js +0 -6
- package/dist/calcite/p-761d2432.entry.js +0 -6
- package/dist/calcite/p-797fd5dd.entry.js +0 -6
- package/dist/calcite/p-798770da.entry.js +0 -6
- package/dist/calcite/p-7de16322.entry.js +0 -6
- package/dist/calcite/p-88a03f41.entry.js +0 -6
- package/dist/calcite/p-8e4e1bf2.entry.js +0 -6
- package/dist/calcite/p-90e5f7d2.entry.js +0 -6
- package/dist/calcite/p-95d84aec.entry.js +0 -6
- package/dist/calcite/p-9be255ca.entry.js +0 -6
- package/dist/calcite/p-9dd2a286.js +0 -6
- package/dist/calcite/p-9e30a932.entry.js +0 -6
- package/dist/calcite/p-9e30d06b.entry.js +0 -6
- package/dist/calcite/p-a3da6c86.entry.js +0 -6
- package/dist/calcite/p-a4a63866.js +0 -6
- package/dist/calcite/p-ae684eb2.entry.js +0 -6
- package/dist/calcite/p-b52accff.entry.js +0 -6
- package/dist/calcite/p-b858d734.entry.js +0 -6
- package/dist/calcite/p-c1792c48.entry.js +0 -6
- package/dist/calcite/p-c56796e6.entry.js +0 -6
- package/dist/calcite/p-c881f4fc.js +0 -6
- package/dist/calcite/p-c8b9c903.entry.js +0 -6
- package/dist/calcite/p-cce9a30d.entry.js +0 -6
- package/dist/calcite/p-cd5323d3.entry.js +0 -6
- package/dist/calcite/p-d16cee95.entry.js +0 -6
- package/dist/calcite/p-df1e5c64.entry.js +0 -6
- package/dist/calcite/p-e86f837e.js +0 -6
- package/dist/calcite/p-f00cdd90.entry.js +0 -6
- package/dist/calcite/p-f7fffa4a.entry.js +0 -6
- package/dist/calcite/p-fafa19e5.entry.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, filterDirectChildren } from "../../utils/dom";
|
|
@@ -24,7 +24,7 @@ export class TabNav {
|
|
|
24
24
|
//
|
|
25
25
|
//--------------------------------------------------------------------------
|
|
26
26
|
this.handleTabFocus = (event, tabTitle) => {
|
|
27
|
-
tabTitle
|
|
27
|
+
tabTitle?.focus();
|
|
28
28
|
event.stopPropagation();
|
|
29
29
|
event.preventDefault();
|
|
30
30
|
};
|
|
@@ -68,13 +68,11 @@ export class TabNav {
|
|
|
68
68
|
//
|
|
69
69
|
//--------------------------------------------------------------------------
|
|
70
70
|
connectedCallback() {
|
|
71
|
-
var _a;
|
|
72
71
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
73
|
-
|
|
72
|
+
this.resizeObserver?.observe(this.el);
|
|
74
73
|
}
|
|
75
74
|
disconnectedCallback() {
|
|
76
|
-
|
|
77
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
75
|
+
this.resizeObserver?.disconnect();
|
|
78
76
|
}
|
|
79
77
|
componentWillLoad() {
|
|
80
78
|
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
|
@@ -85,10 +83,10 @@ export class TabNav {
|
|
|
85
83
|
}
|
|
86
84
|
componentWillRender() {
|
|
87
85
|
const { parentTabsEl } = this;
|
|
88
|
-
this.layout = parentTabsEl
|
|
89
|
-
this.position = parentTabsEl
|
|
90
|
-
this.scale = parentTabsEl
|
|
91
|
-
this.bordered = parentTabsEl
|
|
86
|
+
this.layout = parentTabsEl?.layout;
|
|
87
|
+
this.position = parentTabsEl?.position;
|
|
88
|
+
this.scale = parentTabsEl?.scale;
|
|
89
|
+
this.bordered = parentTabsEl?.bordered;
|
|
92
90
|
// fix issue with active tab-title not lining up with blue indicator
|
|
93
91
|
if (this.selectedTabEl) {
|
|
94
92
|
this.updateOffsetPosition();
|
|
@@ -170,18 +168,16 @@ export class TabNav {
|
|
|
170
168
|
this.updateActiveWidth();
|
|
171
169
|
}
|
|
172
170
|
updateOffsetPosition() {
|
|
173
|
-
var _a, _b, _c, _d, _e;
|
|
174
171
|
const dir = getElementDir(this.el);
|
|
175
|
-
const navWidth =
|
|
176
|
-
const tabLeft =
|
|
177
|
-
const tabWidth =
|
|
172
|
+
const navWidth = this.activeIndicatorContainerEl?.offsetWidth;
|
|
173
|
+
const tabLeft = this.selectedTabEl?.offsetLeft;
|
|
174
|
+
const tabWidth = this.selectedTabEl?.offsetWidth;
|
|
178
175
|
const offsetRight = navWidth - (tabLeft + tabWidth);
|
|
179
176
|
this.indicatorOffset =
|
|
180
|
-
dir !== "rtl" ? tabLeft -
|
|
177
|
+
dir !== "rtl" ? tabLeft - this.tabNavEl?.scrollLeft : offsetRight + this.tabNavEl?.scrollLeft;
|
|
181
178
|
}
|
|
182
179
|
updateActiveWidth() {
|
|
183
|
-
|
|
184
|
-
this.indicatorWidth = (_a = this.selectedTabEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
|
180
|
+
this.indicatorWidth = this.selectedTabEl?.offsetWidth;
|
|
185
181
|
}
|
|
186
182
|
getIndexOfTabTitle(el, tabTitles = this.tabTitles) {
|
|
187
183
|
// 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.655
|
|
5
5
|
*/
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -65,13 +65,12 @@ export class TabTitle {
|
|
|
65
65
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
66
66
|
}
|
|
67
67
|
disconnectedCallback() {
|
|
68
|
-
|
|
69
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
68
|
+
this.mutationObserver?.disconnect();
|
|
70
69
|
// Dispatching to body in order to be listened by other elements that are still connected to the DOM.
|
|
71
|
-
|
|
70
|
+
document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister", {
|
|
72
71
|
detail: this.el
|
|
73
72
|
}));
|
|
74
|
-
|
|
73
|
+
this.resizeObserver?.disconnect();
|
|
75
74
|
}
|
|
76
75
|
componentWillLoad() {
|
|
77
76
|
if (Build.isBrowser) {
|
|
@@ -101,7 +100,7 @@ export class TabTitle {
|
|
|
101
100
|
return (h(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, h("div", { class: {
|
|
102
101
|
container: true,
|
|
103
102
|
"container--has-text": this.hasText
|
|
104
|
-
}, ref: (el) =>
|
|
103
|
+
}, ref: (el) => this.resizeObserver?.observe(el) }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
105
104
|
}
|
|
106
105
|
async componentDidLoad() {
|
|
107
106
|
this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());
|
|
@@ -200,8 +199,7 @@ export class TabTitle {
|
|
|
200
199
|
this.hasText = this.el.textContent.trim().length > 0;
|
|
201
200
|
}
|
|
202
201
|
setupTextContentObserver() {
|
|
203
|
-
|
|
204
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
202
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
205
203
|
}
|
|
206
204
|
emitActiveTab(userTriggered = true) {
|
|
207
205
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
import { h, Fragment } from "@stencil/core";
|
|
7
7
|
import { SLOTS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
contentStart: "content-start",
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { SLOTS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -41,9 +41,8 @@ export class TileSelect {
|
|
|
41
41
|
//--------------------------------------------------------------------------
|
|
42
42
|
/** Sets focus on the component. */
|
|
43
43
|
async setFocus() {
|
|
44
|
-
var _a;
|
|
45
44
|
await componentLoaded(this);
|
|
46
|
-
|
|
45
|
+
this.input?.setFocus();
|
|
47
46
|
}
|
|
48
47
|
//--------------------------------------------------------------------------
|
|
49
48
|
//
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { isActivationKey, numberKeys } from "../../utils/key";
|
|
@@ -303,7 +303,6 @@ export class TimePicker {
|
|
|
303
303
|
}
|
|
304
304
|
};
|
|
305
305
|
this.setValuePart = (key, value, emit = true) => {
|
|
306
|
-
var _a;
|
|
307
306
|
const { effectiveLocale: locale, numberingSystem } = this;
|
|
308
307
|
if (key === "meridiem") {
|
|
309
308
|
this.meridiem = value;
|
|
@@ -346,7 +345,8 @@ export class TimePicker {
|
|
|
346
345
|
this.value = null;
|
|
347
346
|
}
|
|
348
347
|
this.localizedMeridiem = this.value
|
|
349
|
-
?
|
|
348
|
+
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
349
|
+
?.localizedMeridiem || null
|
|
350
350
|
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
351
351
|
if (emit) {
|
|
352
352
|
this.calciteInternalTimePickerChange.emit();
|
|
@@ -475,9 +475,8 @@ export class TimePicker {
|
|
|
475
475
|
* @param target
|
|
476
476
|
*/
|
|
477
477
|
async setFocus(target) {
|
|
478
|
-
var _a;
|
|
479
478
|
await componentLoaded(this);
|
|
480
|
-
|
|
479
|
+
this[`${target || "hour"}El`]?.focus();
|
|
481
480
|
}
|
|
482
481
|
// --------------------------------------------------------------------------
|
|
483
482
|
//
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { h, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS, SLOTS, TEXT } from "./resources";
|
|
@@ -47,9 +47,8 @@ export class Tip {
|
|
|
47
47
|
//
|
|
48
48
|
// --------------------------------------------------------------------------
|
|
49
49
|
renderHeader() {
|
|
50
|
-
var _a;
|
|
51
50
|
const { heading, headingLevel, el } = this;
|
|
52
|
-
const parentLevel =
|
|
51
|
+
const parentLevel = el.closest("calcite-tip-manager")?.headingLevel;
|
|
53
52
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
54
53
|
const level = headingLevel || relativeLevel;
|
|
55
54
|
return heading ? (h("header", { class: CSS.header }, h(Heading, { class: CSS.heading, level: level }, heading))) : null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS, TEXT } from "./resources";
|
|
@@ -76,13 +76,11 @@ export class TipManager {
|
|
|
76
76
|
//
|
|
77
77
|
// --------------------------------------------------------------------------
|
|
78
78
|
connectedCallback() {
|
|
79
|
-
var _a;
|
|
80
79
|
this.setUpTips();
|
|
81
|
-
|
|
80
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
82
81
|
}
|
|
83
82
|
disconnectedCallback() {
|
|
84
|
-
|
|
85
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
83
|
+
this.mutationObserver?.disconnect();
|
|
86
84
|
}
|
|
87
85
|
// --------------------------------------------------------------------------
|
|
88
86
|
//
|
|
@@ -131,7 +129,7 @@ export class TipManager {
|
|
|
131
129
|
updateGroupTitle() {
|
|
132
130
|
const selectedTip = this.tips[this.selectedIndex];
|
|
133
131
|
const tipParent = selectedTip.closest("calcite-tip-group");
|
|
134
|
-
this.groupTitle =
|
|
132
|
+
this.groupTitle = tipParent?.groupTitle || this.intlDefaultTitle || TEXT.defaultGroupTitle;
|
|
135
133
|
}
|
|
136
134
|
// --------------------------------------------------------------------------
|
|
137
135
|
//
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { isPrimaryPointerButton } from "../../utils/dom";
|
|
7
7
|
import { TOOLTIP_DELAY_MS } from "./resources";
|
|
@@ -46,7 +46,7 @@ export default class TooltipManager {
|
|
|
46
46
|
}
|
|
47
47
|
const clickedTooltip = this.queryTooltip(event.composedPath());
|
|
48
48
|
this.clickedTooltip = clickedTooltip;
|
|
49
|
-
if (clickedTooltip
|
|
49
|
+
if (clickedTooltip?.closeOnClick) {
|
|
50
50
|
this.toggleTooltip(clickedTooltip, false);
|
|
51
51
|
this.clearHoverTimeout(clickedTooltip);
|
|
52
52
|
}
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { CSS, ARIA_DESCRIBED_BY } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, getRootNode, nodeListToArray } from "../../utils/dom";
|
|
@@ -22,8 +22,7 @@ export class Tree {
|
|
|
22
22
|
//
|
|
23
23
|
//--------------------------------------------------------------------------
|
|
24
24
|
componentWillRender() {
|
|
25
|
-
|
|
26
|
-
const parent = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
|
|
25
|
+
const parent = this.el.parentElement?.closest("calcite-tree");
|
|
27
26
|
this.lines = parent ? parent.lines : this.lines;
|
|
28
27
|
this.scale = parent ? parent.scale : this.scale;
|
|
29
28
|
this.selectionMode = parent ? parent.selectionMode : this.selectionMode;
|
|
@@ -140,7 +139,6 @@ export class Tree {
|
|
|
140
139
|
event.stopPropagation();
|
|
141
140
|
}
|
|
142
141
|
keyDownHandler(event) {
|
|
143
|
-
var _a;
|
|
144
142
|
const root = this.el.closest("calcite-tree:not([child])");
|
|
145
143
|
const target = event.target;
|
|
146
144
|
if (!(root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target))) {
|
|
@@ -182,7 +180,7 @@ export class Tree {
|
|
|
182
180
|
if (target.hasChildren) {
|
|
183
181
|
if (target.expanded && getRootNode(this.el).activeElement === target) {
|
|
184
182
|
// When focus is on an open node, moves focus to the first child node.
|
|
185
|
-
|
|
183
|
+
getEnabledSiblingItem(target.querySelector("calcite-tree-item"), "down")?.focus();
|
|
186
184
|
event.preventDefault();
|
|
187
185
|
}
|
|
188
186
|
else {
|
|
@@ -1,10 +1,10 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
function isTreeItem(element) {
|
|
7
|
-
return element
|
|
7
|
+
return element?.matches("calcite-tree-item");
|
|
8
8
|
}
|
|
9
9
|
export function getEnabledSiblingItem(el, direction) {
|
|
10
10
|
const directionProp = direction === "down" ? "nextElementSibling" : "previousElementSibling";
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
checkboxLabel: "checkbox-label",
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { nodeListToArray, getElementDir, filterDirectChildren, getSlotted, toAriaBoolean } from "../../utils/dom";
|
|
@@ -33,13 +33,12 @@ export class TreeItem {
|
|
|
33
33
|
items.forEach((item) => (item.parentExpanded = expanded));
|
|
34
34
|
};
|
|
35
35
|
this.updateAncestorTree = () => {
|
|
36
|
-
var _a;
|
|
37
36
|
if (this.selected && this.selectionMode === "ancestors") {
|
|
38
37
|
const ancestors = [];
|
|
39
38
|
let parent = this.parentTreeItem;
|
|
40
39
|
while (parent) {
|
|
41
40
|
ancestors.push(parent);
|
|
42
|
-
parent =
|
|
41
|
+
parent = parent.parentElement?.closest("calcite-tree-item");
|
|
43
42
|
}
|
|
44
43
|
ancestors.forEach((item) => (item.indeterminate = true));
|
|
45
44
|
return;
|
|
@@ -71,8 +70,7 @@ export class TreeItem {
|
|
|
71
70
|
//
|
|
72
71
|
//--------------------------------------------------------------------------
|
|
73
72
|
connectedCallback() {
|
|
74
|
-
|
|
75
|
-
this.parentTreeItem = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
|
73
|
+
this.parentTreeItem = this.el.parentElement?.closest("calcite-tree-item");
|
|
76
74
|
if (this.parentTreeItem) {
|
|
77
75
|
const { expanded } = this.parentTreeItem;
|
|
78
76
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
@@ -83,7 +81,6 @@ export class TreeItem {
|
|
|
83
81
|
disconnectConditionalSlotComponent(this);
|
|
84
82
|
}
|
|
85
83
|
componentWillRender() {
|
|
86
|
-
var _a;
|
|
87
84
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
88
85
|
this.depth = 0;
|
|
89
86
|
let parentTree = this.el.closest("calcite-tree");
|
|
@@ -95,7 +92,7 @@ export class TreeItem {
|
|
|
95
92
|
this.lines = parentTree.lines;
|
|
96
93
|
let nextParentTree;
|
|
97
94
|
while (parentTree) {
|
|
98
|
-
nextParentTree =
|
|
95
|
+
nextParentTree = parentTree.parentElement?.closest("calcite-tree");
|
|
99
96
|
if (nextParentTree === parentTree) {
|
|
100
97
|
break;
|
|
101
98
|
}
|
|
@@ -197,7 +194,7 @@ export class TreeItem {
|
|
|
197
194
|
case "Home":
|
|
198
195
|
root = this.el.closest("calcite-tree:not([child])");
|
|
199
196
|
const firstNode = root.querySelector("calcite-tree-item");
|
|
200
|
-
firstNode
|
|
197
|
+
firstNode?.focus();
|
|
201
198
|
break;
|
|
202
199
|
case "End":
|
|
203
200
|
root = this.el.closest("calcite-tree:not([child])");
|
|
@@ -207,7 +204,7 @@ export class TreeItem {
|
|
|
207
204
|
currentNode = currentTree.children[root.children.length - 1];
|
|
208
205
|
currentTree = nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
|
|
209
206
|
}
|
|
210
|
-
currentNode
|
|
207
|
+
currentNode?.focus();
|
|
211
208
|
break;
|
|
212
209
|
}
|
|
213
210
|
}
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
import { getItemIndex } from "../pick-list/shared-list-logic";
|
|
7
7
|
export function getScreenReaderText(item, status, valueList) {
|
|
@@ -36,10 +36,10 @@ export function getScreenReaderText(item, status, valueList) {
|
|
|
36
36
|
export function getHandleAndItemElement(event) {
|
|
37
37
|
const handle = event
|
|
38
38
|
.composedPath()
|
|
39
|
-
.find((item) =>
|
|
39
|
+
.find((item) => item.dataset?.jsHandle !== undefined);
|
|
40
40
|
const item = event
|
|
41
41
|
.composedPath()
|
|
42
|
-
.find((item) =>
|
|
42
|
+
.find((item) => item.tagName?.toLowerCase() === "calcite-value-list-item");
|
|
43
43
|
return { handle, item };
|
|
44
44
|
}
|
|
45
45
|
export function replacePlaceholders(text, label, position, total) {
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import Sortable from "sortablejs";
|
|
7
7
|
import { h } from "@stencil/core";
|
|
@@ -66,7 +66,7 @@ export class ValueList {
|
|
|
66
66
|
}
|
|
67
67
|
this.items = this.getItems();
|
|
68
68
|
this.calciteListOrderChange.emit(this.items.map(({ value }) => value));
|
|
69
|
-
requestAnimationFrame(() => handle
|
|
69
|
+
requestAnimationFrame(() => handle?.focus());
|
|
70
70
|
item.handleActivated = true;
|
|
71
71
|
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "change", this));
|
|
72
72
|
};
|
|
@@ -75,7 +75,7 @@ export class ValueList {
|
|
|
75
75
|
};
|
|
76
76
|
this.handleFocusIn = (event) => {
|
|
77
77
|
const { handle, item } = getHandleAndItemElement(event);
|
|
78
|
-
if (!
|
|
78
|
+
if (!item?.handleActivated && item && handle) {
|
|
79
79
|
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "idle", this));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
@@ -172,8 +172,7 @@ export class ValueList {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
cleanUpDragAndDrop() {
|
|
175
|
-
|
|
176
|
-
(_a = this.sortable) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
175
|
+
this.sortable?.destroy();
|
|
177
176
|
this.sortable = null;
|
|
178
177
|
}
|
|
179
178
|
handleBlur() {
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { ICON_TYPES } from "../pick-list/resources";
|
|
@@ -86,9 +86,8 @@ export class ValueListItem {
|
|
|
86
86
|
}
|
|
87
87
|
/** Set focus on the component. */
|
|
88
88
|
async setFocus() {
|
|
89
|
-
var _a;
|
|
90
89
|
await componentLoaded(this);
|
|
91
|
-
|
|
90
|
+
this.pickListItem?.setFocus();
|
|
92
91
|
}
|
|
93
92
|
calciteListItemChangeHandler(event) {
|
|
94
93
|
// adjust item payload from wrapped item before bubbling
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
export function getRoundRobinIndex(index, total) {
|
|
7
7
|
return (index + total) % total;
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "./observers";
|
|
@@ -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.655
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
import { numberStringFormatter } from "./locale";
|
|
7
7
|
/**
|