@esri/calcite-components 1.0.0-next.700 → 1.0.0-next.701
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.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0739e426.entry.js +6 -0
- package/dist/calcite/{p-5a07de28.entry.js → p-0984428e.entry.js} +2 -2
- package/dist/calcite/{p-0b9bd511.js → p-0cd456e2.js} +2 -2
- package/dist/calcite/p-0edd106a.entry.js +6 -0
- package/dist/calcite/{p-9593ab09.entry.js → p-10529174.entry.js} +2 -2
- package/dist/calcite/p-138c1a94.entry.js +6 -0
- package/dist/calcite/{p-7854abcf.entry.js → p-15e97405.entry.js} +2 -2
- package/dist/calcite/{p-44b0bb64.js → p-1948ac0c.js} +1 -1
- package/dist/calcite/{p-184555c9.entry.js → p-1cc60df2.entry.js} +2 -2
- package/dist/calcite/{p-88bba4dc.entry.js → p-1e1aaff1.entry.js} +2 -2
- package/dist/calcite/{p-fd48175a.entry.js → p-1f61900c.entry.js} +2 -2
- package/dist/calcite/{p-5d12a0da.entry.js → p-20b4e05c.entry.js} +2 -2
- package/dist/calcite/p-21d72cf3.entry.js +6 -0
- package/dist/calcite/p-248a17c5.entry.js +6 -0
- package/dist/calcite/{p-3471d942.entry.js → p-2d05f043.entry.js} +2 -2
- package/dist/calcite/{p-3513b999.js → p-3046e2c0.js} +1 -1
- package/dist/calcite/p-3104babd.js +6 -0
- package/dist/calcite/{p-c3874313.js → p-368e5ab1.js} +1 -1
- package/dist/calcite/p-3a33a597.entry.js +6 -0
- package/dist/calcite/{p-35f7e093.js → p-3aa00c44.js} +2 -2
- package/dist/calcite/{p-f3a7ff18.entry.js → p-3af1f2f0.entry.js} +2 -2
- package/dist/calcite/p-3c206ce2.entry.js +6 -0
- package/dist/calcite/{p-a2d031a2.entry.js → p-3fd30f57.entry.js} +2 -2
- package/dist/calcite/{p-98ba69ba.js → p-482fb0cd.js} +2 -2
- package/dist/calcite/{p-c6475572.entry.js → p-49dc220c.entry.js} +2 -2
- package/dist/calcite/p-4e0be07f.entry.js +6 -0
- package/dist/calcite/{p-2e185a01.js → p-55c42a43.js} +1 -1
- package/dist/calcite/{p-23a77859.entry.js → p-56c5e3f8.entry.js} +2 -2
- package/dist/calcite/{p-84b9123c.js → p-56d947c2.js} +1 -1
- package/dist/calcite/{p-5c01b321.js → p-57f000df.js} +1 -1
- package/dist/calcite/{p-9be0db9f.js → p-586d40cc.js} +2 -2
- package/dist/calcite/{p-6a500ee9.entry.js → p-5a629711.entry.js} +2 -2
- package/dist/calcite/{p-2dee5810.entry.js → p-5b429198.entry.js} +2 -2
- package/dist/calcite/{p-5e762bba.entry.js → p-5f181692.entry.js} +2 -2
- package/dist/calcite/{p-61719b15.entry.js → p-62b8d1a3.entry.js} +2 -2
- package/dist/calcite/{p-62f63b3f.entry.js → p-6797f20d.entry.js} +2 -2
- package/dist/calcite/{p-764ff786.js → p-67cca07c.js} +1 -1
- package/dist/calcite/{p-a809ac0f.js → p-68c9c41c.js} +2 -2
- package/dist/calcite/{p-68eea027.entry.js → p-6ab801eb.entry.js} +2 -2
- package/dist/calcite/{p-95bb2cc0.js → p-6ac5de4e.js} +1 -1
- package/dist/calcite/p-6cc0acdc.js +6 -0
- package/dist/calcite/{p-f38b67fe.js → p-6d2284bd.js} +2 -2
- package/dist/calcite/{p-1feb6b63.js → p-6dcd2ac7.js} +1 -1
- package/dist/calcite/{p-82239162.entry.js → p-6de8e004.entry.js} +2 -2
- package/dist/calcite/{p-00554fa2.entry.js → p-70c32dff.entry.js} +2 -2
- package/dist/calcite/{p-8fc8fcb0.js → p-71bcff0b.js} +1 -1
- package/dist/calcite/{p-7b653ebc.entry.js → p-75fe119e.entry.js} +2 -2
- package/dist/calcite/{p-90803425.js → p-774102da.js} +1 -1
- package/dist/calcite/{p-979e3b78.entry.js → p-7a3f078e.entry.js} +2 -2
- package/dist/calcite/{p-59913aea.entry.js → p-83a0d09c.entry.js} +2 -2
- package/dist/calcite/{p-0d0abebf.entry.js → p-853b3b0d.entry.js} +2 -2
- package/dist/calcite/{p-f04ea445.js → p-87193101.js} +1 -1
- package/dist/calcite/{p-063dd405.js → p-87947f0c.js} +1 -1
- package/dist/calcite/{p-01f8d890.js → p-8f299b72.js} +1 -1
- package/dist/calcite/{p-6a9bae82.entry.js → p-8f5765a1.entry.js} +2 -2
- package/dist/calcite/{p-c8b9be80.entry.js → p-9146d4e6.entry.js} +2 -2
- package/dist/calcite/{p-4f98651f.entry.js → p-94050649.entry.js} +2 -2
- package/dist/calcite/{p-67d23f58.entry.js → p-975ca3db.entry.js} +2 -2
- package/dist/calcite/{p-45d890bf.js → p-98dbe204.js} +1 -1
- package/dist/calcite/{p-54b45b44.js → p-99fd9703.js} +2 -2
- package/dist/calcite/{p-96990293.entry.js → p-9ab984c7.entry.js} +2 -2
- package/dist/calcite/{p-d3daf6a0.entry.js → p-9f011f8d.entry.js} +2 -2
- package/dist/calcite/{p-57fae8f1.entry.js → p-a0db68d4.entry.js} +2 -2
- package/dist/calcite/{p-dfa43a0a.js → p-b3520919.js} +2 -2
- package/dist/calcite/p-b5de51c7.entry.js +6 -0
- package/dist/calcite/{p-aa17c241.entry.js → p-b71ea362.entry.js} +2 -2
- package/dist/calcite/{p-c580762a.js → p-c09d08aa.js} +2 -2
- package/dist/calcite/{p-f7b11605.entry.js → p-c194138d.entry.js} +2 -2
- package/dist/calcite/{p-e0376587.entry.js → p-c3543e27.entry.js} +2 -2
- package/dist/calcite/{p-a9206350.entry.js → p-c677c640.entry.js} +2 -2
- package/dist/calcite/{p-73ed777d.js → p-c93dd3a2.js} +2 -2
- package/dist/calcite/{p-22990135.entry.js → p-caafbe1b.entry.js} +2 -2
- package/dist/calcite/{p-6a6ec016.entry.js → p-cc125a64.entry.js} +2 -2
- package/dist/calcite/{p-09b7347c.entry.js → p-cd6a9b25.entry.js} +2 -2
- package/dist/calcite/p-ceae5275.entry.js +6 -0
- package/dist/calcite/{p-37cc959f.entry.js → p-cec32082.entry.js} +2 -2
- package/dist/calcite/{p-1eddf823.js → p-d0ca460e.js} +2 -2
- package/dist/calcite/{p-2b847ed3.js → p-d1b98714.js} +1 -1
- package/dist/calcite/{p-0502fb73.js → p-d3282521.js} +2 -2
- package/dist/calcite/{p-a64af1f4.entry.js → p-d564e315.entry.js} +2 -2
- package/dist/calcite/p-dd9244b7.entry.js +6 -0
- package/dist/calcite/p-e3354663.entry.js +6 -0
- package/dist/calcite/{p-855905b6.js → p-e4178928.js} +2 -2
- package/dist/calcite/{p-0063da60.entry.js → p-e430c444.entry.js} +2 -2
- package/dist/calcite/{p-cb08ee81.entry.js → p-e5fb489e.entry.js} +2 -2
- package/dist/calcite/{p-923a5d36.entry.js → p-e68f2855.entry.js} +2 -2
- package/dist/calcite/{p-78f87c3a.entry.js → p-eaeeab40.entry.js} +2 -2
- package/dist/calcite/{p-7a3f8875.js → p-f0b71dd5.js} +2 -2
- package/dist/calcite/{p-8b060e4a.entry.js → p-f354c74f.entry.js} +2 -2
- package/dist/calcite/p-f3bbe371.entry.js +6 -0
- package/dist/calcite/{p-90cee097.entry.js → p-fa90d662.entry.js} +2 -2
- package/dist/calcite/{p-a984763a.entry.js → p-fda323fc.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-0a81b0ec.js → ExpandToggle-2174c31a.js} +5 -5
- package/dist/cjs/{Heading-15eba34c.js → Heading-ef45fd1e.js} +2 -2
- package/dist/cjs/{app-globals-f7b7b2f5.js → app-globals-886d9991.js} +2 -2
- package/dist/cjs/{array-cc2c1893.js → array-44b74ef2.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +12 -83
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -50
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -24
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +27 -30
- package/dist/cjs/calcite-input.cjs.entry.js +26 -17
- 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 +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -47
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-e44a757c.js → conditionalSlot-bd6d1eb6.js} +3 -3
- package/dist/cjs/{debounce-2b39062b.js → debounce-daacada5.js} +1 -1
- package/dist/cjs/{dom-5d015a9c.js → dom-a6b0f30a.js} +35 -3
- package/dist/cjs/{filter-3c59b195.js → filter-5b8698dc.js} +2 -2
- package/dist/cjs/{floating-ui-595d654e.js → floating-ui-094c2905.js} +4 -4
- package/dist/cjs/{focusTrapComponent-cda46d74.js → focusTrapComponent-105ae550.js} +2 -2
- package/dist/cjs/{form-1a47a4d6.js → form-f27f0746.js} +3 -3
- package/dist/cjs/{guid-1ebd6c55.js → guid-63b5a6df.js} +1 -1
- package/dist/cjs/{index-718cae43.js → index-2aa5e19f.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-65f0e091.js → interactive-59b09e54.js} +1 -1
- package/dist/cjs/{key-a780a4ee.js → key-25010560.js} +1 -1
- package/dist/cjs/{label-b8d819fa.js → label-baa2d551.js} +2 -2
- package/dist/cjs/{loadable-c899cd0d.js → loadable-bc6e08ff.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-d6e5fc6f.js → locale-0c2e5fb1.js} +5 -8
- package/dist/cjs/{math-9d5cd884.js → math-d0744b62.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-52ba2081.js → nonChromiumPlatformUtils-3d308192.js} +6 -6
- package/dist/cjs/{observers-3102a548.js → observers-3f290051.js} +1 -1
- package/dist/cjs/{openCloseComponent-bc0d4ee3.js → openCloseComponent-b90c9172.js} +2 -2
- package/dist/cjs/{resources-8467b0f9.js → resources-0e877a28.js} +1 -1
- package/dist/cjs/{resources-a83f1536.js → resources-4d292fc5.js} +1 -1
- package/dist/cjs/{resources-3220d2d4.js → resources-563a3607.js} +1 -1
- package/dist/cjs/{resources-4131524f.js → resources-621f255c.js} +1 -1
- package/dist/cjs/{resources-7b1799c5.js → resources-696cc17a.js} +1 -1
- package/dist/cjs/{resources-150eadc4.js → resources-a3fa83d6.js} +5 -5
- package/dist/cjs/{sortable.esm-798e4fd5.js → sortable.esm-0f47ac04.js} +1 -1
- package/dist/cjs/{t9n-553429a7.js → t9n-4fad8a6d.js} +3 -3
- package/dist/cjs/{utils-268460b9.js → utils-01dcca7b.js} +1 -1
- package/dist/cjs/{utils-116283e5.js → utils-efd85690.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +6 -72
- package/dist/collection/components/accordion-item/accordion-item.js +1 -34
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- 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 +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.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.css +7 -0
- 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 +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +33 -33
- package/dist/collection/components/button/button.js +1 -1
- 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 +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +4 -3
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- 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 +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- 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 -47
- 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 +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -39
- 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 -2
- 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 +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- 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 +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +36 -13
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +3 -35
- 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 +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +2 -35
- 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 +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- 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 +4 -3
- package/dist/collection/components/modal/modal.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- 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 +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +3 -3
- package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
- 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/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +8 -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 +1 -1
- 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 +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- 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 +6 -39
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +8 -11
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- 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 +1 -1
- 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 +18 -29
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- 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 +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- 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 +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- 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 +32 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- 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 +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +2 -4
- 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 +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +1 -12
- package/dist/components/calcite-accordion.js +7 -67
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- 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 +4 -3
- 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 +1 -1
- 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 -2
- 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 +1 -1
- package/dist/components/calcite-flow.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-input-date-picker.js +3 -10
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -8
- 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 +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +6 -39
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- 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 +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +5 -5
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +33 -2
- package/dist/components/dropdown.js +8 -39
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +15 -5
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- 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 -6
- 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 +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +8 -11
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +15 -13
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-79bacd45.js → ExpandToggle-36a402be.js} +5 -5
- package/dist/esm/{Heading-734fd2cb.js → Heading-bd79826a.js} +2 -2
- package/dist/esm/{app-globals-486e6cdf.js → app-globals-f90b96c0.js} +2 -2
- package/dist/esm/{array-29a535c8.js → array-d999bef1.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +12 -83
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +17 -16
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +19 -50
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +17 -24
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +27 -30
- package/dist/esm/calcite-input.entry.js +26 -17
- 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 +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +14 -47
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +13 -16
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-8120f844.js → conditionalSlot-efc4e5ed.js} +3 -3
- package/dist/esm/{debounce-db3e6e25.js → debounce-762a0b86.js} +1 -1
- package/dist/esm/{dom-d81f281d.js → dom-b76f7307.js} +35 -4
- package/dist/esm/{filter-19306767.js → filter-ab981ded.js} +2 -2
- package/dist/esm/{floating-ui-fd3de0de.js → floating-ui-6264eee6.js} +4 -4
- package/dist/esm/{focusTrapComponent-cbf7d39b.js → focusTrapComponent-46ea55eb.js} +2 -2
- package/dist/esm/{form-99a439d5.js → form-79b320dc.js} +3 -3
- package/dist/esm/{guid-80faa95b.js → guid-7da38bae.js} +1 -1
- package/dist/esm/{index-6fb4995e.js → index-0f87f5e6.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-9633f054.js → interactive-27fb7df1.js} +1 -1
- package/dist/esm/{key-64151c13.js → key-0786ea89.js} +1 -1
- package/dist/esm/{label-ceaf1f29.js → label-a2b5a988.js} +2 -2
- package/dist/esm/{loadable-96824d80.js → loadable-e74d33ce.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-80bf431b.js → locale-bf90c06c.js} +6 -8
- package/dist/esm/{math-e5572340.js → math-5a31686f.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-70139e5d.js → nonChromiumPlatformUtils-57d08a7e.js} +6 -6
- package/dist/esm/{observers-39819372.js → observers-ebdba542.js} +1 -1
- package/dist/esm/{openCloseComponent-78db9c6d.js → openCloseComponent-4c33d83d.js} +2 -2
- package/dist/esm/{resources-68cb3b89.js → resources-56f34f72.js} +1 -1
- package/dist/esm/{resources-60b01b2a.js → resources-5cc0ab7e.js} +1 -1
- package/dist/esm/{resources-466c9643.js → resources-a23c60b2.js} +1 -1
- package/dist/esm/{resources-5cac710b.js → resources-a7399c5f.js} +1 -1
- package/dist/esm/{resources-60c67943.js → resources-dbb93b2c.js} +5 -5
- package/dist/esm/{resources-5b92fd3c.js → resources-e17f52dd.js} +1 -1
- package/dist/esm/{sortable.esm-82f7cd9c.js → sortable.esm-f6fb370b.js} +1 -1
- package/dist/esm/{t9n-74bf3415.js → t9n-5f2fd373.js} +3 -3
- package/dist/esm/{utils-8ca801d4.js → utils-596bdfea.js} +3 -3
- package/dist/esm/{utils-09544bdb.js → utils-75876bc1.js} +1 -1
- package/dist/extras/docs-json.json +23 -82
- 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/accordion/accordion.d.ts +0 -7
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -5
- package/dist/types/components/accordion-item/interfaces.d.ts +0 -4
- package/dist/types/components/date-picker/date-picker.d.ts +2 -12
- package/dist/types/components/dropdown/dropdown.d.ts +0 -5
- package/dist/types/components/input/input.d.ts +4 -3
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -8
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +0 -9
- package/dist/types/components/interfaces.d.ts +0 -1
- package/dist/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/types/components/stepper/stepper.d.ts +0 -5
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -1
- package/dist/types/components/time-picker/time-picker.d.ts +3 -4
- package/dist/types/components.d.ts +8 -42
- package/dist/types/preact.d.ts +2 -4
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/locale.d.ts +0 -9
- package/hydrate/index.js +95 -203
- package/package.json +1 -1
- package/dist/calcite/p-132d8e3d.entry.js +0 -6
- package/dist/calcite/p-16fcee16.entry.js +0 -6
- package/dist/calcite/p-22f8b990.entry.js +0 -6
- package/dist/calcite/p-29c81106.entry.js +0 -6
- package/dist/calcite/p-35984fdb.entry.js +0 -6
- package/dist/calcite/p-3da83c6f.js +0 -6
- package/dist/calcite/p-5f5423c3.entry.js +0 -6
- package/dist/calcite/p-65515a43.entry.js +0 -6
- package/dist/calcite/p-6ecef560.entry.js +0 -6
- package/dist/calcite/p-7bc30687.entry.js +0 -6
- package/dist/calcite/p-a3295ff5.js +0 -6
- package/dist/calcite/p-b043eb76.entry.js +0 -6
- package/dist/calcite/p-c39288b5.entry.js +0 -6
- package/dist/calcite/p-dc9d873f.entry.js +0 -6
- package/dist/calcite/p-eadfeba7.entry.js +0 -6
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
|
-
import {
|
|
7
|
+
import { focusElementInGroup } from "../../utils/dom";
|
|
8
8
|
/**
|
|
9
9
|
* @slot - A slot for adding `calcite-stepper-item`s.
|
|
10
10
|
*/
|
|
@@ -57,32 +57,20 @@ export class Stepper {
|
|
|
57
57
|
calciteInternalStepperItemKeyEvent(event) {
|
|
58
58
|
const item = event.detail.item;
|
|
59
59
|
const itemToFocus = event.target;
|
|
60
|
-
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
61
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
62
60
|
switch (item.key) {
|
|
63
61
|
case "ArrowDown":
|
|
64
62
|
case "ArrowRight":
|
|
65
|
-
|
|
66
|
-
this.focusFirstItem();
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
this.focusNextItem(itemToFocus);
|
|
70
|
-
}
|
|
63
|
+
focusElementInGroup(this.enabledItems, itemToFocus, "next");
|
|
71
64
|
break;
|
|
72
65
|
case "ArrowUp":
|
|
73
66
|
case "ArrowLeft":
|
|
74
|
-
|
|
75
|
-
this.focusLastItem();
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
this.focusPrevItem(itemToFocus);
|
|
79
|
-
}
|
|
67
|
+
focusElementInGroup(this.enabledItems, itemToFocus, "previous");
|
|
80
68
|
break;
|
|
81
69
|
case "Home":
|
|
82
|
-
this.
|
|
70
|
+
focusElementInGroup(this.enabledItems, itemToFocus, "first");
|
|
83
71
|
break;
|
|
84
72
|
case "End":
|
|
85
|
-
this.
|
|
73
|
+
focusElementInGroup(this.enabledItems, itemToFocus, "last");
|
|
86
74
|
break;
|
|
87
75
|
}
|
|
88
76
|
event.stopPropagation();
|
|
@@ -179,27 +167,6 @@ export class Stepper {
|
|
|
179
167
|
position
|
|
180
168
|
});
|
|
181
169
|
}
|
|
182
|
-
focusFirstItem() {
|
|
183
|
-
const firstItem = this.enabledItems[0];
|
|
184
|
-
focusElement(firstItem);
|
|
185
|
-
}
|
|
186
|
-
focusLastItem() {
|
|
187
|
-
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
188
|
-
focusElement(lastItem);
|
|
189
|
-
}
|
|
190
|
-
focusNextItem(el) {
|
|
191
|
-
const index = this.itemIndex(el);
|
|
192
|
-
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
193
|
-
focusElement(nextItem);
|
|
194
|
-
}
|
|
195
|
-
focusPrevItem(el) {
|
|
196
|
-
const index = this.itemIndex(el);
|
|
197
|
-
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
198
|
-
focusElement(prevItem);
|
|
199
|
-
}
|
|
200
|
-
itemIndex(el) {
|
|
201
|
-
return this.enabledItems.indexOf(el);
|
|
202
|
-
}
|
|
203
170
|
sortItems() {
|
|
204
171
|
const { itemMap } = this;
|
|
205
172
|
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a).position - itemMap.get(b).position);
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
|
-
import { getElementDir, filterDirectChildren } from "../../utils/dom";
|
|
7
|
+
import { getElementDir, filterDirectChildren, focusElementInGroup } from "../../utils/dom";
|
|
8
8
|
import { createObserver } from "../../utils/observers";
|
|
9
9
|
/**
|
|
10
10
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -23,8 +23,8 @@ export class TabNav {
|
|
|
23
23
|
// Private Methods
|
|
24
24
|
//
|
|
25
25
|
//--------------------------------------------------------------------------
|
|
26
|
-
this.handleTabFocus = (event,
|
|
27
|
-
|
|
26
|
+
this.handleTabFocus = (event, el, destination) => {
|
|
27
|
+
focusElementInGroup(this.enabledTabTitles, el, destination);
|
|
28
28
|
event.stopPropagation();
|
|
29
29
|
event.preventDefault();
|
|
30
30
|
};
|
|
@@ -117,19 +117,16 @@ export class TabNav {
|
|
|
117
117
|
//
|
|
118
118
|
//--------------------------------------------------------------------------
|
|
119
119
|
focusPreviousTabHandler(event) {
|
|
120
|
-
|
|
121
|
-
this.handleTabFocus(event, this.enabledTabTitles[currentIndex - 1] ||
|
|
122
|
-
this.enabledTabTitles[this.enabledTabTitles.length - 1]);
|
|
120
|
+
this.handleTabFocus(event, event.target, "previous");
|
|
123
121
|
}
|
|
124
122
|
focusNextTabHandler(event) {
|
|
125
|
-
|
|
126
|
-
this.handleTabFocus(event, this.enabledTabTitles[currentIndex + 1] || this.enabledTabTitles[0]);
|
|
123
|
+
this.handleTabFocus(event, event.target, "next");
|
|
127
124
|
}
|
|
128
125
|
focusFirstTabHandler(event) {
|
|
129
|
-
this.handleTabFocus(event,
|
|
126
|
+
this.handleTabFocus(event, event.target, "first");
|
|
130
127
|
}
|
|
131
128
|
focusLastTabHandler(event) {
|
|
132
|
-
this.handleTabFocus(event,
|
|
129
|
+
this.handleTabFocus(event, event.target, "last");
|
|
133
130
|
}
|
|
134
131
|
internalActivateTabHandler(event) {
|
|
135
132
|
this.selectedTab = event.detail.tab
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
titleGroup: "title-group"
|
|
@@ -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.701
|
|
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.701
|
|
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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { isActivationKey, numberKeys } from "../../utils/key";
|
|
@@ -403,23 +403,23 @@ export class TimePicker {
|
|
|
403
403
|
switch (this.activeEl) {
|
|
404
404
|
case this.hourEl:
|
|
405
405
|
if (key === "ArrowRight") {
|
|
406
|
-
this.
|
|
406
|
+
this.focusPart("minute");
|
|
407
407
|
event.preventDefault();
|
|
408
408
|
}
|
|
409
409
|
break;
|
|
410
410
|
case this.minuteEl:
|
|
411
411
|
switch (key) {
|
|
412
412
|
case "ArrowLeft":
|
|
413
|
-
this.
|
|
413
|
+
this.focusPart("hour");
|
|
414
414
|
event.preventDefault();
|
|
415
415
|
break;
|
|
416
416
|
case "ArrowRight":
|
|
417
417
|
if (this.step !== 60) {
|
|
418
|
-
this.
|
|
418
|
+
this.focusPart("second");
|
|
419
419
|
event.preventDefault();
|
|
420
420
|
}
|
|
421
421
|
else if (this.hourCycle === "12") {
|
|
422
|
-
this.
|
|
422
|
+
this.focusPart("meridiem");
|
|
423
423
|
event.preventDefault();
|
|
424
424
|
}
|
|
425
425
|
break;
|
|
@@ -428,12 +428,12 @@ export class TimePicker {
|
|
|
428
428
|
case this.secondEl:
|
|
429
429
|
switch (key) {
|
|
430
430
|
case "ArrowLeft":
|
|
431
|
-
this.
|
|
431
|
+
this.focusPart("minute");
|
|
432
432
|
event.preventDefault();
|
|
433
433
|
break;
|
|
434
434
|
case "ArrowRight":
|
|
435
435
|
if (this.hourCycle === "12") {
|
|
436
|
-
this.
|
|
436
|
+
this.focusPart("meridiem");
|
|
437
437
|
event.preventDefault();
|
|
438
438
|
}
|
|
439
439
|
break;
|
|
@@ -443,11 +443,11 @@ export class TimePicker {
|
|
|
443
443
|
switch (key) {
|
|
444
444
|
case "ArrowLeft":
|
|
445
445
|
if (this.step !== 60) {
|
|
446
|
-
this.
|
|
446
|
+
this.focusPart("second");
|
|
447
447
|
event.preventDefault();
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
450
|
-
this.
|
|
450
|
+
this.focusPart("minute");
|
|
451
451
|
event.preventDefault();
|
|
452
452
|
}
|
|
453
453
|
break;
|
|
@@ -462,18 +462,20 @@ export class TimePicker {
|
|
|
462
462
|
//--------------------------------------------------------------------------
|
|
463
463
|
/**
|
|
464
464
|
* Sets focus on the component.
|
|
465
|
-
*
|
|
466
|
-
* @param target
|
|
467
465
|
*/
|
|
468
|
-
async setFocus(
|
|
466
|
+
async setFocus() {
|
|
469
467
|
await componentLoaded(this);
|
|
470
|
-
this
|
|
468
|
+
this.el?.focus();
|
|
471
469
|
}
|
|
472
470
|
// --------------------------------------------------------------------------
|
|
473
471
|
//
|
|
474
472
|
// Private Methods
|
|
475
473
|
//
|
|
476
474
|
// --------------------------------------------------------------------------
|
|
475
|
+
async focusPart(target) {
|
|
476
|
+
await componentLoaded(this);
|
|
477
|
+
this[`${target || "hour"}El`]?.focus();
|
|
478
|
+
}
|
|
477
479
|
buttonActivated(event) {
|
|
478
480
|
const { key } = event;
|
|
479
481
|
if (key === " ") {
|
|
@@ -809,31 +811,18 @@ export class TimePicker {
|
|
|
809
811
|
return {
|
|
810
812
|
"setFocus": {
|
|
811
813
|
"complexType": {
|
|
812
|
-
"signature": "(
|
|
813
|
-
"parameters": [
|
|
814
|
-
"tags": [{
|
|
815
|
-
"name": "param",
|
|
816
|
-
"text": "target"
|
|
817
|
-
}],
|
|
818
|
-
"text": ""
|
|
819
|
-
}],
|
|
814
|
+
"signature": "() => Promise<void>",
|
|
815
|
+
"parameters": [],
|
|
820
816
|
"references": {
|
|
821
817
|
"Promise": {
|
|
822
818
|
"location": "global"
|
|
823
|
-
},
|
|
824
|
-
"TimePart": {
|
|
825
|
-
"location": "import",
|
|
826
|
-
"path": "../../utils/time"
|
|
827
819
|
}
|
|
828
820
|
},
|
|
829
821
|
"return": "Promise<void>"
|
|
830
822
|
},
|
|
831
823
|
"docs": {
|
|
832
824
|
"text": "Sets focus on the component.",
|
|
833
|
-
"tags": [
|
|
834
|
-
"name": "param",
|
|
835
|
-
"text": "target"
|
|
836
|
-
}]
|
|
825
|
+
"tags": []
|
|
837
826
|
}
|
|
838
827
|
}
|
|
839
828
|
};
|
|
@@ -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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS, 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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS } 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.701
|
|
5
5
|
*/
|
|
6
6
|
import { isPrimaryPointerButton } from "../../utils/dom";
|
|
7
7
|
import { TOOLTIP_DELAY_MS } 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.701
|
|
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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, getRootNode, nodeListToArray } from "../../utils/dom";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
function isTreeItem(element) {
|
|
7
7
|
return element?.matches("calcite-tree-item");
|
|
@@ -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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { nodeListToArray, getElementDir, filterDirectChildren, getSlotted, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { getItemIndex } from "../pick-list/shared-list-logic";
|
|
7
7
|
export function getScreenReaderText(item, status, valueList) {
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import Sortable from "sortablejs";
|
|
7
7
|
import { h } from "@stencil/core";
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { ICON_TYPES } from "../pick-list/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.701
|
|
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.701
|
|
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.701
|
|
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.701
|
|
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.701
|
|
5
5
|
*/
|
|
6
6
|
import { CSS_UTILITY } from "./resources";
|
|
7
7
|
import { guid } from "./guid";
|
|
@@ -232,3 +232,34 @@ export function slotChangeGetAssignedElements(event) {
|
|
|
232
232
|
export function isPrimaryPointerButton(event) {
|
|
233
233
|
return !!(event.isPrimary && event.button === 0);
|
|
234
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
Focus helpers for keyboard navigation
|
|
237
|
+
*
|
|
238
|
+
* @param elements : An array of elements
|
|
239
|
+
* @param currentElement : The current element
|
|
240
|
+
* @param destination : "first" | "last" |"next" | "previous"
|
|
241
|
+
*/
|
|
242
|
+
export const focusElementInGroup = (elements, currentElement, destination) => {
|
|
243
|
+
const currentIndex = elements.indexOf(currentElement);
|
|
244
|
+
const isFirstItem = currentIndex === 0;
|
|
245
|
+
const isLastItem = currentIndex === elements.length - 1;
|
|
246
|
+
destination =
|
|
247
|
+
destination === "previous" && isFirstItem ? "last" : destination === "next" && isLastItem ? "first" : destination;
|
|
248
|
+
let focusTarget;
|
|
249
|
+
switch (destination) {
|
|
250
|
+
case "first":
|
|
251
|
+
focusTarget = elements[0];
|
|
252
|
+
break;
|
|
253
|
+
case "last":
|
|
254
|
+
focusTarget = elements[elements.length - 1];
|
|
255
|
+
break;
|
|
256
|
+
case "next":
|
|
257
|
+
focusTarget = elements[currentIndex + 1] || elements[0];
|
|
258
|
+
break;
|
|
259
|
+
case "previous":
|
|
260
|
+
focusTarget = elements[currentIndex - 1] || elements[elements.length - 1];
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
focusElement(focusTarget);
|
|
264
|
+
return focusTarget;
|
|
265
|
+
};
|
|
@@ -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.701
|
|
5
5
|
*/
|
|
6
6
|
import { escapeRegExp, forIn } from "lodash-es";
|
|
7
7
|
export const filter = (data, 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.701
|
|
5
5
|
*/
|
|
6
6
|
import { rectToClientRect } from "@floating-ui/core";
|
|
7
7
|
/**
|