@esri/calcite-components 1.5.0-next.15 → 1.5.0-next.16
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 +2 -2
- package/dist/calcite/{p-7743d522.entry.js → p-02fc251b.entry.js} +2 -2
- package/dist/calcite/{p-2bdfcbb5.js → p-0509f0fb.js} +2 -2
- package/dist/calcite/{p-82a54778.js → p-079047e7.js} +2 -2
- package/dist/calcite/p-09896602.js +6 -0
- package/dist/calcite/{p-504aa264.js → p-0a918855.js} +2 -2
- package/dist/calcite/{p-e67e5247.js → p-0bc84d2f.js} +2 -2
- package/dist/calcite/p-0df867f6.entry.js +6 -0
- package/dist/calcite/{p-3831c0ad.js → p-0e7580f3.js} +1 -1
- package/dist/calcite/{p-339e0895.js → p-0f31c3d5.js} +2 -2
- package/dist/calcite/p-11656d05.entry.js +6 -0
- package/dist/calcite/{p-6a0ad1af.js → p-1334932f.js} +1 -1
- package/dist/calcite/{p-7af7930f.js → p-1851e594.js} +2 -2
- package/dist/calcite/{p-ffe6faf6.js → p-1ca3b66e.js} +2 -2
- package/dist/calcite/{p-0da86f8e.js → p-1d419a07.js} +2 -2
- package/dist/calcite/{p-5b62b3dd.entry.js → p-201c8000.entry.js} +2 -2
- package/dist/calcite/{p-ec365af6.js → p-2254813b.js} +2 -2
- package/dist/calcite/{p-5e55829c.js → p-2350ac1f.js} +1 -1
- package/dist/calcite/{p-83dae2d9.js → p-29bef442.js} +2 -2
- package/dist/calcite/p-2b3b8e29.entry.js +6 -0
- package/dist/calcite/{p-3b3fefe8.js → p-2ba7d608.js} +2 -2
- package/dist/calcite/{p-51088c94.js → p-2be50e66.js} +2 -2
- package/dist/calcite/{p-bb4e2cf3.js → p-2d75c83a.js} +1 -1
- package/dist/calcite/{p-53bf8fc1.entry.js → p-2f097f7e.entry.js} +2 -2
- package/dist/calcite/{p-a5321fa2.entry.js → p-33cedc9c.entry.js} +2 -2
- package/dist/calcite/{p-3bcf37f2.js → p-3421f92f.js} +2 -2
- package/dist/calcite/{p-ea18a32c.entry.js → p-35983334.entry.js} +2 -2
- package/dist/calcite/{p-7ff7a7b4.js → p-3d72cc4f.js} +2 -2
- package/dist/calcite/{p-796ea772.js → p-3fec1ad5.js} +2 -2
- package/dist/calcite/{p-1a205c69.js → p-41fac133.js} +2 -2
- package/dist/calcite/{p-5182966e.entry.js → p-45513788.entry.js} +2 -2
- package/dist/calcite/{p-bcaa0e0e.entry.js → p-4572ca65.entry.js} +2 -2
- package/dist/calcite/{p-61727255.js → p-47ffd16a.js} +2 -2
- package/dist/calcite/{p-e2065c8b.js → p-4938001f.js} +2 -2
- package/dist/calcite/{p-e98ed72b.entry.js → p-49d73ee1.entry.js} +2 -2
- package/dist/calcite/{p-16d98fe1.js → p-4a0adef2.js} +2 -2
- package/dist/calcite/{p-7d87b717.entry.js → p-4c5c2418.entry.js} +2 -2
- package/dist/calcite/{p-eb75a868.js → p-4c8993e1.js} +1 -1
- package/dist/calcite/{p-973bf6dc.js → p-4ff9d39c.js} +2 -2
- package/dist/calcite/{p-78b237c6.entry.js → p-52ebe775.entry.js} +2 -2
- package/dist/calcite/p-5596d71f.entry.js +6 -0
- package/dist/calcite/p-5b7710b4.entry.js +6 -0
- package/dist/calcite/{p-cc8b3326.entry.js → p-5b8df134.entry.js} +2 -2
- package/dist/calcite/{p-74fc4adf.entry.js → p-5ccf0815.entry.js} +2 -2
- package/dist/calcite/p-5e791e90.entry.js +6 -0
- package/dist/calcite/p-5f8342b9.js +6 -0
- package/dist/calcite/{p-3eff8cf9.js → p-620ba3c8.js} +2 -2
- package/dist/calcite/{p-50373b6f.entry.js → p-63249d92.entry.js} +2 -2
- package/dist/calcite/{p-b4794a6b.entry.js → p-646a98e3.entry.js} +2 -2
- package/dist/calcite/{p-bb95aa7c.js → p-687173f6.js} +1 -1
- package/dist/calcite/p-695aa370.js +6 -0
- package/dist/calcite/{p-cabe0db3.entry.js → p-69a175cd.entry.js} +2 -2
- package/dist/calcite/{p-a2302a87.entry.js → p-6a3d2c22.entry.js} +2 -2
- package/dist/calcite/{p-24dbc59d.entry.js → p-6a63273a.entry.js} +2 -2
- package/dist/calcite/{p-89520e04.entry.js → p-6a9ce26f.entry.js} +2 -2
- package/dist/calcite/{p-c6e20443.js → p-6b8eb52e.js} +1 -1
- package/dist/calcite/{p-ca7e2953.entry.js → p-6c5302b7.entry.js} +2 -2
- package/dist/calcite/{p-957d14bc.js → p-6f61dddc.js} +2 -2
- package/dist/calcite/{p-2946dfc3.js → p-6f719316.js} +2 -2
- package/dist/calcite/p-71ca0800.entry.js +6 -0
- package/dist/calcite/{p-2066081d.entry.js → p-75c58476.entry.js} +2 -2
- package/dist/calcite/{p-e79f344a.js → p-75f07d64.js} +1 -1
- package/dist/calcite/{p-1de4ad76.js → p-76a9b8e6.js} +2 -2
- package/dist/calcite/{p-62d906d2.entry.js → p-78071cfd.entry.js} +2 -2
- package/dist/calcite/p-7b2a1fce.entry.js +6 -0
- package/dist/calcite/{p-40e82de4.js → p-7c4936d8.js} +1 -1
- package/dist/calcite/{p-c51415e0.js → p-7dd8b227.js} +2 -2
- package/dist/calcite/{p-c0c6ab36.js → p-7e13b47a.js} +2 -2
- package/dist/calcite/{p-f590e725.entry.js → p-8303e75b.entry.js} +2 -2
- package/dist/calcite/{p-5a9b0a07.entry.js → p-8888f5ff.entry.js} +2 -2
- package/dist/calcite/{p-a83a6a68.entry.js → p-892be5a0.entry.js} +2 -2
- package/dist/calcite/{p-79718851.js → p-8af0156e.js} +1 -1
- package/dist/calcite/{p-29bae5a7.js → p-8c4a6b5c.js} +2 -2
- package/dist/calcite/{p-42679d36.js → p-8d0cb4ae.js} +2 -2
- package/dist/calcite/{p-f23ce6b0.entry.js → p-8d702b53.entry.js} +2 -2
- package/dist/calcite/{p-98f78209.entry.js → p-94c37766.entry.js} +2 -2
- package/dist/calcite/{p-a599e2e6.js → p-980dab56.js} +2 -2
- package/dist/calcite/{p-d25bbb5b.js → p-99a4b27e.js} +2 -2
- package/dist/calcite/{p-2f3593a6.entry.js → p-9b397bba.entry.js} +2 -2
- package/dist/calcite/{p-adfb75f0.entry.js → p-9b40c429.entry.js} +2 -2
- package/dist/calcite/{p-532b3d3d.entry.js → p-9f4a285b.entry.js} +2 -2
- package/dist/calcite/{p-94270daa.entry.js → p-9f544175.entry.js} +2 -2
- package/dist/calcite/{p-ed6fb896.entry.js → p-9fb86730.entry.js} +2 -2
- package/dist/calcite/{p-bfa3bef2.js → p-9fba6304.js} +1 -1
- package/dist/calcite/{p-be35b9de.js → p-a129f125.js} +2 -2
- package/dist/calcite/{p-cdb6721b.js → p-a16a3705.js} +2 -2
- package/dist/calcite/p-a1e98020.entry.js +6 -0
- package/dist/calcite/{p-98b8e5db.js → p-a315f44f.js} +2 -2
- package/dist/calcite/{p-c6e86b1b.entry.js → p-a3510777.entry.js} +2 -2
- package/dist/calcite/{p-3ea89ec8.js → p-a61bf6cb.js} +2 -2
- package/dist/calcite/{p-14822775.js → p-aad721ab.js} +2 -2
- package/dist/calcite/p-ab9a3bc9.entry.js +6 -0
- package/dist/calcite/{p-891031a7.js → p-ac918b12.js} +2 -2
- package/dist/calcite/p-acb5a34b.entry.js +6 -0
- package/dist/calcite/{p-b8f21cae.js → p-acdf6941.js} +2 -2
- package/dist/calcite/{p-28b4fa4d.js → p-ad0e7439.js} +2 -2
- package/dist/calcite/{p-14f4427f.js → p-afc70d84.js} +1 -1
- package/dist/calcite/{p-1329e930.js → p-b0360afa.js} +2 -2
- package/dist/calcite/{p-50ce18aa.js → p-b0624e3c.js} +2 -2
- package/dist/calcite/{p-394e0a3d.entry.js → p-b0d77653.entry.js} +2 -2
- package/dist/calcite/{p-e61308b7.js → p-b106c8b8.js} +2 -2
- package/dist/calcite/{p-67487508.entry.js → p-b1a14074.entry.js} +2 -2
- package/dist/calcite/{p-89380209.js → p-b25b5736.js} +2 -2
- package/dist/calcite/{p-2c28ea63.entry.js → p-b3a57d9b.entry.js} +2 -2
- package/dist/calcite/{p-d3f72264.js → p-b3b64b81.js} +1 -1
- package/dist/calcite/p-b4b9c9d1.js +6 -0
- package/dist/calcite/{p-d9e65708.js → p-b72fb2d7.js} +2 -2
- package/dist/calcite/p-b763e7a9.js +6 -0
- package/dist/calcite/{p-0a156629.js → p-b956fc2c.js} +2 -2
- package/dist/calcite/{p-c84980a0.entry.js → p-b9c4087a.entry.js} +2 -2
- package/dist/calcite/{p-85add404.js → p-ba2e9cd7.js} +2 -2
- package/dist/calcite/{p-ec9bf581.entry.js → p-bada5e06.entry.js} +2 -2
- package/dist/calcite/{p-ab10fc07.js → p-bb857882.js} +2 -2
- package/dist/calcite/{p-98216ab4.js → p-bbce1dce.js} +2 -2
- package/dist/calcite/p-bc1dafd6.js +11 -0
- package/dist/calcite/{p-c23f1d05.entry.js → p-bc8c33fc.entry.js} +2 -2
- package/dist/calcite/{p-aa7f2273.js → p-bd9ab52d.js} +2 -2
- package/dist/calcite/{p-85f44bdb.entry.js → p-bdf8cf73.entry.js} +2 -2
- package/dist/calcite/{p-4aed4fe7.js → p-c1ce8ae1.js} +2 -2
- package/dist/calcite/{p-8727fa0d.js → p-c5052bb3.js} +2 -2
- package/dist/calcite/{p-b99d3eeb.entry.js → p-c600d9d7.entry.js} +2 -2
- package/dist/calcite/{p-cb43528e.js → p-c73ef890.js} +2 -2
- package/dist/calcite/{p-df19e5a6.js → p-cd6fc642.js} +2 -2
- package/dist/calcite/{p-4247586f.js → p-cf03e455.js} +2 -2
- package/dist/calcite/{p-d7568f09.js → p-d062be17.js} +2 -2
- package/dist/calcite/{p-365471bc.js → p-d19fad68.js} +2 -2
- package/dist/calcite/{p-7d9c2de3.entry.js → p-d25a6b97.entry.js} +2 -2
- package/dist/calcite/p-d303b1e6.js +10 -0
- package/dist/calcite/{p-e1ae9b3e.js → p-d473c0c2.js} +2 -2
- package/dist/calcite/{p-8fe8e430.entry.js → p-d4e1a131.entry.js} +2 -2
- package/dist/calcite/{p-f291155a.entry.js → p-d65e6428.entry.js} +2 -2
- package/dist/calcite/{p-6ead7dcf.js → p-d8ec5c80.js} +2 -2
- package/dist/calcite/{p-268fde94.entry.js → p-d9e6884b.entry.js} +2 -2
- package/dist/calcite/{p-a80ba443.entry.js → p-da02f2e1.entry.js} +2 -2
- package/dist/calcite/{p-9d649373.entry.js → p-dce26dc1.entry.js} +2 -2
- package/dist/calcite/{p-ba7b1f50.entry.js → p-dde8a17e.entry.js} +2 -2
- package/dist/calcite/p-e17a6ef4.entry.js +6 -0
- package/dist/calcite/{p-14de5229.js → p-e2326534.js} +2 -2
- package/dist/calcite/{p-9718b2aa.entry.js → p-e632e8c3.entry.js} +2 -2
- package/dist/calcite/{p-8cda9789.js → p-e841e4c2.js} +1 -1
- package/dist/calcite/{p-6c27b7a7.js → p-eb8dcc10.js} +2 -2
- package/dist/calcite/{p-0b9f0545.js → p-ee0d9de6.js} +1 -1
- package/dist/calcite/{p-f10ab425.js → p-f01035f3.js} +2 -2
- package/dist/calcite/{p-e1e7c48d.entry.js → p-f1c2cbc4.entry.js} +2 -2
- package/dist/calcite/{p-7cb529ee.entry.js → p-f448a2a2.entry.js} +2 -2
- package/dist/calcite/{p-bb42e051.entry.js → p-f4aa37b7.entry.js} +2 -2
- package/dist/calcite/{p-8ce1603d.js → p-f5cce1fb.js} +2 -2
- package/dist/calcite/{p-c4a55372.entry.js → p-fc3888f0.entry.js} +2 -2
- package/dist/calcite/{p-4d27a4f8.entry.js → p-fc3ccf00.entry.js} +2 -2
- package/dist/calcite/{p-70c0c997.js → p-fe56417d.js} +2 -2
- package/dist/cjs/{ExpandToggle-6a6ddfda.js → ExpandToggle-893311d7.js} +5 -5
- package/dist/cjs/{FloatingArrow-104a947e.js → FloatingArrow-0b7d630f.js} +2 -2
- package/dist/cjs/{Heading-948797a5.js → Heading-c2838be6.js} +2 -2
- package/dist/cjs/{app-globals-7ff8b9ee.js → app-globals-eafb16a2.js} +2 -2
- package/dist/cjs/{ar-2dacd06d.js → ar-3f2692a0.js} +15 -15
- package/dist/cjs/{array-b5733d6c.js → array-a4188bf5.js} +1 -1
- package/dist/cjs/{bg-a1533fc9.js → bg-6f9dfc42.js} +15 -15
- package/dist/cjs/{bs-cc7275a7.js → bs-9f6bac0e.js} +15 -15
- package/dist/cjs/{ca-7bdb5b5f.js → ca-99fe1962.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- 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 +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-35278340.js → calcite-input-time-picker.calcite-time-picker-7891f074.js} +63 -63
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.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 +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- 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 +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-474bd83c.js → conditionalSlot-cb3b60ae.js} +3 -3
- package/dist/cjs/{cs-1d3217eb.js → cs-7adf17c3.js} +15 -15
- package/dist/cjs/{da-9da86653.js → da-b45ddf52.js} +15 -15
- package/dist/cjs/{de-529ba369.js → de-507eeb61.js} +15 -15
- package/dist/cjs/{de-at-aaa98737.js → de-at-bba14f61.js} +15 -15
- package/dist/cjs/{de-ch-51f12016.js → de-ch-8322f67e.js} +15 -15
- package/dist/cjs/{debounce-307620a2.js → debounce-479c3309.js} +1 -1
- package/dist/cjs/{dom-7b019103.js → dom-96a33fce.js} +51 -18
- package/dist/cjs/{el-dc2f9778.js → el-a33bfcea.js} +15 -15
- package/dist/cjs/{en-au-fff7254c.js → en-au-a5f1b972.js} +15 -15
- package/dist/cjs/{en-ca-5820e694.js → en-ca-63cb676e.js} +15 -15
- package/dist/cjs/{en-gb-0cb93d22.js → en-gb-500d2b04.js} +15 -15
- package/dist/cjs/{es-edae7d56.js → es-b4dccef6.js} +15 -15
- package/dist/cjs/{es-mx-3fa5b7af.js → es-mx-b93efc81.js} +15 -15
- package/dist/cjs/{et-73572bb8.js → et-4394d01a.js} +15 -15
- package/dist/cjs/{fi-dba7f728.js → fi-8ee0d212.js} +15 -15
- package/dist/cjs/{filter-fa7ae151.js → filter-44fbe01f.js} +2 -2
- package/dist/cjs/{floating-ui-c37129b0.js → floating-ui-52ac728b.js} +3 -3
- package/dist/cjs/{focusTrapComponent-1a32592d.js → focusTrapComponent-52303c00.js} +245 -97
- package/dist/cjs/{form-5b9ca83a.js → form-236d547c.js} +3 -3
- package/dist/cjs/{fr-ch-9f133307.js → fr-ch-ec5cea01.js} +15 -15
- package/dist/cjs/{fr-c2719a24.js → fr-ffe7954f.js} +15 -15
- package/dist/cjs/{guid-7ba42060.js → guid-7af76d45.js} +1 -1
- package/dist/cjs/{he-0e5bdbe4.js → he-0146088a.js} +15 -15
- package/dist/cjs/{hi-50ef5e53.js → hi-45cd762d.js} +15 -15
- package/dist/cjs/{hr-48a07109.js → hr-cd1f9d11.js} +15 -15
- package/dist/cjs/{hu-91ee9eee.js → hu-8fb8aeac.js} +15 -15
- package/dist/cjs/{id-f360e981.js → id-6ebdc6ff.js} +15 -15
- package/dist/cjs/{index-283585a6.js → index-21f749fd.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-df232955.js → interactive-dcddc42e.js} +1 -1
- package/dist/cjs/{it-69ac23f8.js → it-b1cbe7d8.js} +15 -15
- package/dist/cjs/{it-ch-8610abec.js → it-ch-13b8a716.js} +15 -15
- package/dist/cjs/{ja-a94f23d6.js → ja-789d8196.js} +15 -15
- package/dist/cjs/{key-89a40014.js → key-3276aa98.js} +1 -1
- package/dist/cjs/{ko-290be2a9.js → ko-09c8ebf6.js} +15 -15
- package/dist/cjs/{label-5480e0de.js → label-753605a6.js} +2 -2
- package/dist/cjs/{loadable-882ce43e.js → loadable-b717110c.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ac402c5e.js → locale-6a6a5c76.js} +4 -4
- package/dist/cjs/{lt-1679697a.js → lt-11f2439b.js} +15 -15
- package/dist/cjs/{lv-42b144ea.js → lv-044f573c.js} +15 -15
- package/dist/cjs/{math-61ca29d2.js → math-108ae6f4.js} +1 -1
- package/dist/cjs/{mk-3a1d6691.js → mk-90b1244f.js} +15 -15
- package/dist/cjs/{nb-b9257fed.js → nb-58d2622d.js} +15 -15
- package/dist/cjs/{nl-30620469.js → nl-f65add43.js} +15 -15
- package/dist/cjs/{observers-116b6993.js → observers-c2258496.js} +1 -1
- package/dist/cjs/{openCloseComponent-6605b47f.js → openCloseComponent-7b6944ad.js} +2 -2
- package/dist/cjs/{pl-d60f4b06.js → pl-2777a92a.js} +15 -15
- package/dist/cjs/{pt-169cfc7f.js → pt-4fcd2428.js} +15 -15
- package/dist/cjs/{pt-br-ea47f2d5.js → pt-br-2202c0f6.js} +15 -15
- package/dist/cjs/{resources-6a435824.js → resources-1030c451.js} +1 -1
- package/dist/cjs/{resources-ba812e9e.js → resources-1febd24d.js} +1 -1
- package/dist/cjs/{resources-42c3efc6.js → resources-235e0d44.js} +1 -1
- package/dist/cjs/{resources-07dac9d2.js → resources-2c88e496.js} +1 -1
- package/dist/cjs/{resources-29367af1.js → resources-422a2275.js} +1 -1
- package/dist/cjs/{resources-de3abe5b.js → resources-cc9baf0c.js} +1 -1
- package/dist/cjs/{resources-e08ae5be.js → resources-e98485cf.js} +5 -5
- package/dist/cjs/{ro-c7a824f4.js → ro-cc538934.js} +15 -15
- package/dist/cjs/{ru-d2f3408f.js → ru-c7e7f000.js} +15 -15
- package/dist/cjs/{sk-cb3bbc85.js → sk-d7f6a67d.js} +15 -15
- package/dist/cjs/{sl-3e38ee11.js → sl-63977035.js} +15 -15
- package/dist/cjs/{sortableComponent-ecece862.js → sortableComponent-da47aa42.js} +2 -2
- package/dist/cjs/{sr-43d84b1d.js → sr-174dc1c4.js} +15 -15
- package/dist/cjs/{sv-1980820b.js → sv-d9fd35e2.js} +15 -15
- package/dist/cjs/{t9n-0e10c026.js → t9n-687b8999.js} +3 -3
- package/dist/cjs/{th-57b6357b.js → th-bd82a0ec.js} +15 -15
- package/dist/cjs/{throttle-ec085c30.js → throttle-5468744d.js} +2 -2
- package/dist/cjs/{tr-cdba7108.js → tr-daa97367.js} +15 -15
- package/dist/cjs/{uk-e8874ddd.js → uk-13a5c047.js} +15 -15
- package/dist/cjs/{utils-58248b27.js → utils-04851a7b.js} +3 -3
- package/dist/cjs/{utils-c0f77697.js → utils-cc585444.js} +1 -1
- package/dist/cjs/{vi-9ef6ab38.js → vi-94041b9a.js} +15 -15
- package/dist/cjs/{zh-cn-eac7fe2b.js → zh-cn-9ee5f5be.js} +15 -15
- package/dist/cjs/{zh-hk-87e5fb51.js → zh-hk-4c06eaa5.js} +15 -15
- package/dist/cjs/{zh-tw-41c7124d.js → zh-tw-96487529.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- 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 +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +3 -3
- 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 +3 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +3 -3
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +3 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- 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 +3 -3
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +3 -3
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +3 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +3 -3
- package/dist/collection/components/color-picker/color-picker.js +3 -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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +3 -3
- 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 +3 -3
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.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 +3 -3
- 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 +3 -3
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
- 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 +3 -3
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +3 -3
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- 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 +3 -3
- package/dist/collection/components/list/list.js +3 -3
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -3
- 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/menu/menu.js +3 -3
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +3 -3
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +3 -3
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +3 -3
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +3 -3
- 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 +3 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -3
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- 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 +3 -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 +5 -5
- 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 +3 -3
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +3 -3
- package/dist/collection/components/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/segmented-control/segmented-control.js +3 -3
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +3 -3
- package/dist/collection/components/switch/switch.js +3 -3
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- 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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +3 -3
- 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 +3 -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 -4
- 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/tooltip/utils.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 +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.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 +1 -1
- package/dist/collection/utils/filter.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 +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +3 -3
- package/dist/components/action.js +2 -2
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +3 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +3 -3
- 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 +3 -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 +3 -3
- 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 +3 -3
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -3
- package/dist/components/calcite-flow.js +2 -2
- 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 +3 -3
- package/dist/components/calcite-input-date-picker.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-input-time-picker.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +3 -3
- package/dist/components/calcite-navigation-logo.js +3 -3
- package/dist/components/calcite-navigation-user.js +3 -3
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +3 -3
- 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 +3 -3
- 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 -3
- package/dist/components/calcite-radio-button.js +3 -3
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +3 -3
- package/dist/components/calcite-select.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +3 -3
- package/dist/components/calcite-stepper.js +1 -1
- 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-text-area.js +3 -3
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -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 +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 +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +3 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +49 -17
- package/dist/components/dropdown.js +3 -3
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +3 -3
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +245 -97
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +3 -3
- package/dist/components/input.js +3 -3
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +3 -3
- package/dist/components/loadable.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +3 -3
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +3 -3
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +5 -5
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.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/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- 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/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +4 -4
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-3ff0b1fd.js → ExpandToggle-4cb59a10.js} +5 -5
- package/dist/esm/{FloatingArrow-e6094134.js → FloatingArrow-2e6e1004.js} +2 -2
- package/dist/esm/{Heading-d94d3591.js → Heading-df0dc598.js} +2 -2
- package/dist/esm/{app-globals-bbcae1f6.js → app-globals-6e11eaa7.js} +2 -2
- package/dist/esm/{ar-84318ed0.js → ar-61e3171e.js} +15 -15
- package/dist/esm/{array-efb6ef28.js → array-ceb334ad.js} +1 -1
- package/dist/esm/{bg-1d290f92.js → bg-e2f25a60.js} +15 -15
- package/dist/esm/{bs-763d9911.js → bs-ada5b549.js} +15 -15
- package/dist/esm/{ca-2c8a9f99.js → ca-dbc1adf8.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +17 -17
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- package/dist/esm/calcite-handle.entry.js +11 -11
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- 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 +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-00b3acb1.js → calcite-input-time-picker.calcite-time-picker-7d0747bd.js} +63 -63
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +12 -12
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +11 -11
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +18 -18
- package/dist/esm/calcite-popover.entry.js +19 -19
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- 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 +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-f5bf133d.js → conditionalSlot-799dbd5d.js} +3 -3
- package/dist/esm/{cs-18a54cb9.js → cs-e6be23da.js} +15 -15
- package/dist/esm/{da-7923e6f4.js → da-afc6e4a0.js} +15 -15
- package/dist/esm/{de-52b8fcce.js → de-9f592636.js} +15 -15
- package/dist/esm/{de-at-90158119.js → de-at-620e8acf.js} +15 -15
- package/dist/esm/{de-ch-bfe8230a.js → de-ch-df2fdfd8.js} +15 -15
- package/dist/esm/{debounce-097b6ab0.js → debounce-3ba0ed84.js} +1 -1
- package/dist/esm/{dom-12f92c1b.js → dom-ee8811da.js} +51 -19
- package/dist/esm/{el-d717ef93.js → el-c2d7cebb.js} +15 -15
- package/dist/esm/{en-au-fbb2670e.js → en-au-42358c82.js} +15 -15
- package/dist/esm/{en-ca-628a8cfb.js → en-ca-9de4a345.js} +15 -15
- package/dist/esm/{en-gb-42b16208.js → en-gb-9f0936c1.js} +15 -15
- package/dist/esm/{es-ef4bd02b.js → es-338df414.js} +15 -15
- package/dist/esm/{es-mx-021bff06.js → es-mx-7befbe51.js} +15 -15
- package/dist/esm/{et-6c6e9494.js → et-a4379377.js} +15 -15
- package/dist/esm/{fi-263235e1.js → fi-d61e1d48.js} +15 -15
- package/dist/esm/{filter-6459faef.js → filter-2bcc010d.js} +2 -2
- package/dist/esm/{floating-ui-6de5518a.js → floating-ui-2df4c157.js} +3 -3
- package/dist/esm/{focusTrapComponent-1186bd8f.js → focusTrapComponent-7ae5fe72.js} +245 -97
- package/dist/esm/{form-b7390098.js → form-80fb38b1.js} +3 -3
- package/dist/esm/{fr-996bc777.js → fr-7b5fdec3.js} +15 -15
- package/dist/esm/{fr-ch-61f55cae.js → fr-ch-345ac098.js} +15 -15
- package/dist/esm/{guid-fbc36c2e.js → guid-5d7fd573.js} +1 -1
- package/dist/esm/{he-8ed41896.js → he-f40f2ca6.js} +15 -15
- package/dist/esm/{hi-5a922e6a.js → hi-d7c4b398.js} +15 -15
- package/dist/esm/{hr-8d093d6b.js → hr-29d6828d.js} +15 -15
- package/dist/esm/{hu-08b07e2c.js → hu-5c3f9efe.js} +15 -15
- package/dist/esm/{id-ba7ea82c.js → id-7a657e4a.js} +15 -15
- package/dist/esm/{index-af054e01.js → index-52de4192.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-a0379cb0.js → interactive-1debc8e7.js} +1 -1
- package/dist/esm/{it-b97970cb.js → it-20240be5.js} +15 -15
- package/dist/esm/{it-ch-632ebbcb.js → it-ch-b315fb5c.js} +15 -15
- package/dist/esm/{ja-f4c01ef0.js → ja-a5103c43.js} +15 -15
- package/dist/esm/{key-b6fa8460.js → key-133b5c26.js} +1 -1
- package/dist/esm/{ko-b4143b2e.js → ko-c9337e4a.js} +15 -15
- package/dist/esm/{label-90eb0bfd.js → label-0f98996e.js} +2 -2
- package/dist/esm/{loadable-3ba3576c.js → loadable-c8fe3997.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-2d1948d7.js → locale-925190f6.js} +4 -4
- package/dist/esm/{lt-597f45f7.js → lt-d547b24b.js} +15 -15
- package/dist/esm/{lv-4d30564d.js → lv-ffeab2bf.js} +15 -15
- package/dist/esm/{math-9a566398.js → math-265835d9.js} +1 -1
- package/dist/esm/{mk-49deac85.js → mk-8ccafa97.js} +15 -15
- package/dist/esm/{nb-bc56949c.js → nb-fb3f6d5a.js} +15 -15
- package/dist/esm/{nl-41a16e40.js → nl-3af48909.js} +15 -15
- package/dist/esm/{observers-dcf3ea91.js → observers-e19797bd.js} +1 -1
- package/dist/esm/{openCloseComponent-e9436aa3.js → openCloseComponent-65b1dc2e.js} +2 -2
- package/dist/esm/{pl-a8df0ed7.js → pl-1c3f4d3f.js} +15 -15
- package/dist/esm/{pt-0df35a24.js → pt-07e91dff.js} +15 -15
- package/dist/esm/{pt-br-306e9f2e.js → pt-br-2343dd23.js} +15 -15
- package/dist/esm/{resources-6df7bb87.js → resources-033387a6.js} +1 -1
- package/dist/esm/{resources-5600c89d.js → resources-169e57b0.js} +1 -1
- package/dist/esm/{resources-f861e29f.js → resources-3dadd60f.js} +1 -1
- package/dist/esm/{resources-985e8dd2.js → resources-50bbb634.js} +5 -5
- package/dist/esm/{resources-9a5c0ba7.js → resources-88bb02a7.js} +1 -1
- package/dist/esm/{resources-d4912473.js → resources-cfaccf3b.js} +1 -1
- package/dist/esm/{resources-9095e5e3.js → resources-e96c4d26.js} +1 -1
- package/dist/esm/{ro-7773d632.js → ro-d67c560f.js} +15 -15
- package/dist/esm/{ru-7fbbf6a6.js → ru-3cac5079.js} +15 -15
- package/dist/esm/{sk-202a22fa.js → sk-9325f85a.js} +15 -15
- package/dist/esm/{sl-d23f2164.js → sl-e129f1b1.js} +15 -15
- package/dist/esm/{sortableComponent-cde30e9a.js → sortableComponent-f09e0713.js} +2 -2
- package/dist/esm/{sr-145b40b4.js → sr-ba8ad6d5.js} +15 -15
- package/dist/esm/{sv-ca5bee7f.js → sv-9d90d032.js} +15 -15
- package/dist/esm/{t9n-26c8e8dd.js → t9n-6ae9574e.js} +3 -3
- package/dist/esm/{th-3f7389e8.js → th-2c476dfc.js} +15 -15
- package/dist/esm/{throttle-91e74241.js → throttle-ad00d0d7.js} +2 -2
- package/dist/esm/{tr-3454b8dc.js → tr-d75900c9.js} +15 -15
- package/dist/esm/{uk-e805fc4f.js → uk-28c55ec9.js} +15 -15
- package/dist/esm/{utils-d71c15ef.js → utils-2cc5492b.js} +3 -3
- package/dist/esm/{utils-784c506d.js → utils-c2ee69a7.js} +1 -1
- package/dist/esm/{vi-e06a1083.js → vi-489fd22e.js} +15 -15
- package/dist/esm/{zh-cn-f25e76df.js → zh-cn-e80a51e4.js} +15 -15
- package/dist/esm/{zh-hk-0a27f640.js → zh-hk-f7d980cd.js} +15 -15
- package/dist/esm/{zh-tw-599d2c74.js → zh-tw-7e88e726.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- 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/card/card.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/hydrate/index.js +351 -171
- package/package.json +3 -3
- package/dist/calcite/p-04371d27.entry.js +0 -6
- package/dist/calcite/p-0ad00493.js +0 -6
- package/dist/calcite/p-15be41e9.js +0 -10
- package/dist/calcite/p-2f101593.entry.js +0 -6
- package/dist/calcite/p-4115b112.js +0 -6
- package/dist/calcite/p-769c7004.entry.js +0 -6
- package/dist/calcite/p-8c91322d.js +0 -6
- package/dist/calcite/p-8f90c603.js +0 -6
- package/dist/calcite/p-9448daca.entry.js +0 -6
- package/dist/calcite/p-9c3316e9.js +0 -6
- package/dist/calcite/p-9cc4a9db.entry.js +0 -6
- package/dist/calcite/p-a1e1a904.entry.js +0 -6
- package/dist/calcite/p-a6593256.entry.js +0 -6
- package/dist/calcite/p-b1b2a95f.js +0 -11
- package/dist/calcite/p-b372ff47.entry.js +0 -6
- package/dist/calcite/p-cec10631.entry.js +0 -6
- package/dist/calcite/p-da8e5b33.entry.js +0 -6
- package/dist/calcite/p-ecd5d069.entry.js +0 -6
- package/dist/calcite/p-f637f6ff.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.16
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5990,7 +5990,7 @@ function processMutations$1(mutations) {
|
|
|
5990
5990
|
}
|
|
5991
5991
|
|
|
5992
5992
|
/*!
|
|
5993
|
-
* tabbable 6.
|
|
5993
|
+
* tabbable 6.2.0
|
|
5994
5994
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5995
5995
|
*/
|
|
5996
5996
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
@@ -6170,7 +6170,27 @@ var getCandidatesIteratively = function getCandidatesIteratively(elements, inclu
|
|
|
6170
6170
|
}
|
|
6171
6171
|
return candidates;
|
|
6172
6172
|
};
|
|
6173
|
-
|
|
6173
|
+
|
|
6174
|
+
/**
|
|
6175
|
+
* @private
|
|
6176
|
+
* Determines if the node has an explicitly specified `tabindex` attribute.
|
|
6177
|
+
* @param {HTMLElement} node
|
|
6178
|
+
* @returns {boolean} True if so; false if not.
|
|
6179
|
+
*/
|
|
6180
|
+
var hasTabIndex = function hasTabIndex(node) {
|
|
6181
|
+
return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
|
|
6182
|
+
};
|
|
6183
|
+
|
|
6184
|
+
/**
|
|
6185
|
+
* Determine the tab index of a given node.
|
|
6186
|
+
* @param {HTMLElement} node
|
|
6187
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
|
6188
|
+
* @throws {Error} If `node` is falsy.
|
|
6189
|
+
*/
|
|
6190
|
+
var getTabIndex = function getTabIndex(node) {
|
|
6191
|
+
if (!node) {
|
|
6192
|
+
throw new Error('No node provided');
|
|
6193
|
+
}
|
|
6174
6194
|
if (node.tabIndex < 0) {
|
|
6175
6195
|
// in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
|
6176
6196
|
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
|
@@ -6179,16 +6199,28 @@ var getTabindex = function getTabindex(node, isScope) {
|
|
|
6179
6199
|
// order, consider their tab index to be 0.
|
|
6180
6200
|
// Also browsers do not return `tabIndex` correctly for contentEditable nodes;
|
|
6181
6201
|
// so if they don't have a tabindex attribute specifically set, assume it's 0.
|
|
6182
|
-
|
|
6183
|
-
// isScope is positive for custom element with shadow root or slot that by default
|
|
6184
|
-
// have tabIndex -1, but need to be sorted by document order in order for their
|
|
6185
|
-
// content to be inserted in the correct position
|
|
6186
|
-
if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {
|
|
6202
|
+
if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
|
|
6187
6203
|
return 0;
|
|
6188
6204
|
}
|
|
6189
6205
|
}
|
|
6190
6206
|
return node.tabIndex;
|
|
6191
6207
|
};
|
|
6208
|
+
|
|
6209
|
+
/**
|
|
6210
|
+
* Determine the tab index of a given node __for sort order purposes__.
|
|
6211
|
+
* @param {HTMLElement} node
|
|
6212
|
+
* @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
|
|
6213
|
+
* has tabIndex -1, but needs to be sorted by document order in order for its content to be
|
|
6214
|
+
* inserted into the correct sort position.
|
|
6215
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
|
6216
|
+
*/
|
|
6217
|
+
var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
|
|
6218
|
+
var tabIndex = getTabIndex(node);
|
|
6219
|
+
if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
|
|
6220
|
+
return 0;
|
|
6221
|
+
}
|
|
6222
|
+
return tabIndex;
|
|
6223
|
+
};
|
|
6192
6224
|
var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
|
|
6193
6225
|
return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
|
|
6194
6226
|
};
|
|
@@ -6431,7 +6463,7 @@ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(o
|
|
|
6431
6463
|
return true;
|
|
6432
6464
|
};
|
|
6433
6465
|
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
|
6434
|
-
if (isNonTabbableRadio(node) ||
|
|
6466
|
+
if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
|
|
6435
6467
|
return false;
|
|
6436
6468
|
}
|
|
6437
6469
|
return true;
|
|
@@ -6456,7 +6488,7 @@ var sortByOrder = function sortByOrder(candidates) {
|
|
|
6456
6488
|
candidates.forEach(function (item, i) {
|
|
6457
6489
|
var isScope = !!item.scopeParent;
|
|
6458
6490
|
var element = isScope ? item.scopeParent : item;
|
|
6459
|
-
var candidateTabindex =
|
|
6491
|
+
var candidateTabindex = getSortOrderTabIndex(element, isScope);
|
|
6460
6492
|
var elements = isScope ? sortByOrder(item.candidates) : element;
|
|
6461
6493
|
if (candidateTabindex === 0) {
|
|
6462
6494
|
isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
|
|
@@ -6475,32 +6507,32 @@ var sortByOrder = function sortByOrder(candidates) {
|
|
|
6475
6507
|
return acc;
|
|
6476
6508
|
}, []).concat(regularTabbables);
|
|
6477
6509
|
};
|
|
6478
|
-
var tabbable = function tabbable(
|
|
6510
|
+
var tabbable = function tabbable(container, options) {
|
|
6479
6511
|
options = options || {};
|
|
6480
6512
|
var candidates;
|
|
6481
6513
|
if (options.getShadowRoot) {
|
|
6482
|
-
candidates = getCandidatesIteratively([
|
|
6514
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
|
6483
6515
|
filter: isNodeMatchingSelectorTabbable.bind(null, options),
|
|
6484
6516
|
flatten: false,
|
|
6485
6517
|
getShadowRoot: options.getShadowRoot,
|
|
6486
6518
|
shadowRootFilter: isValidShadowRootTabbable
|
|
6487
6519
|
});
|
|
6488
6520
|
} else {
|
|
6489
|
-
candidates = getCandidates(
|
|
6521
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
|
6490
6522
|
}
|
|
6491
6523
|
return sortByOrder(candidates);
|
|
6492
6524
|
};
|
|
6493
|
-
var focusable = function focusable(
|
|
6525
|
+
var focusable = function focusable(container, options) {
|
|
6494
6526
|
options = options || {};
|
|
6495
6527
|
var candidates;
|
|
6496
6528
|
if (options.getShadowRoot) {
|
|
6497
|
-
candidates = getCandidatesIteratively([
|
|
6529
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
|
6498
6530
|
filter: isNodeMatchingSelectorFocusable.bind(null, options),
|
|
6499
6531
|
flatten: true,
|
|
6500
6532
|
getShadowRoot: options.getShadowRoot
|
|
6501
6533
|
});
|
|
6502
6534
|
} else {
|
|
6503
|
-
candidates = getCandidates(
|
|
6535
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
|
|
6504
6536
|
}
|
|
6505
6537
|
return candidates;
|
|
6506
6538
|
};
|
|
@@ -9645,7 +9677,7 @@ class ActionBar {
|
|
|
9645
9677
|
* Sets focus on the component's first focusable element.
|
|
9646
9678
|
*/
|
|
9647
9679
|
async setFocus() {
|
|
9648
|
-
await
|
|
9680
|
+
await componentFocusable(this);
|
|
9649
9681
|
this.el?.focus();
|
|
9650
9682
|
}
|
|
9651
9683
|
updateGroups() {
|
|
@@ -9749,7 +9781,7 @@ class ActionGroup {
|
|
|
9749
9781
|
//--------------------------------------------------------------------------
|
|
9750
9782
|
/** Sets focus on the component's first focusable element. */
|
|
9751
9783
|
async setFocus() {
|
|
9752
|
-
await
|
|
9784
|
+
await componentFocusable(this);
|
|
9753
9785
|
this.el.focus();
|
|
9754
9786
|
}
|
|
9755
9787
|
// --------------------------------------------------------------------------
|
|
@@ -10066,7 +10098,7 @@ class ActionMenu {
|
|
|
10066
10098
|
// --------------------------------------------------------------------------
|
|
10067
10099
|
/** Sets focus on the component. */
|
|
10068
10100
|
async setFocus() {
|
|
10069
|
-
await
|
|
10101
|
+
await componentFocusable(this);
|
|
10070
10102
|
focusElement(this.menuButtonEl);
|
|
10071
10103
|
}
|
|
10072
10104
|
renderMenuButton() {
|
|
@@ -10216,7 +10248,7 @@ class ActionPad {
|
|
|
10216
10248
|
* Sets focus on the component's first focusable element.
|
|
10217
10249
|
*/
|
|
10218
10250
|
async setFocus() {
|
|
10219
|
-
await
|
|
10251
|
+
await componentFocusable(this);
|
|
10220
10252
|
this.el?.focus();
|
|
10221
10253
|
}
|
|
10222
10254
|
updateGroups() {
|
|
@@ -10574,7 +10606,7 @@ class Alert {
|
|
|
10574
10606
|
//--------------------------------------------------------------------------
|
|
10575
10607
|
/** Sets focus on the component's "close" button (the first focusable item). */
|
|
10576
10608
|
async setFocus() {
|
|
10577
|
-
await
|
|
10609
|
+
await componentFocusable(this);
|
|
10578
10610
|
const alertLinkEl = getSlotted(this.el, { selector: "calcite-link" });
|
|
10579
10611
|
if (!this.closeButton && !alertLinkEl) {
|
|
10580
10612
|
return;
|
|
@@ -11084,7 +11116,7 @@ class Block {
|
|
|
11084
11116
|
*
|
|
11085
11117
|
*/
|
|
11086
11118
|
async setFocus() {
|
|
11087
|
-
await
|
|
11119
|
+
await componentFocusable(this);
|
|
11088
11120
|
focusFirstTabbable(this.el);
|
|
11089
11121
|
}
|
|
11090
11122
|
effectiveLocaleChange() {
|
|
@@ -11257,7 +11289,7 @@ class BlockSection {
|
|
|
11257
11289
|
*
|
|
11258
11290
|
*/
|
|
11259
11291
|
async setFocus() {
|
|
11260
|
-
await
|
|
11292
|
+
await componentFocusable(this);
|
|
11261
11293
|
focusFirstTabbable(this.el);
|
|
11262
11294
|
}
|
|
11263
11295
|
effectiveLocaleChange() {
|
|
@@ -11877,7 +11909,7 @@ class Button {
|
|
|
11877
11909
|
//--------------------------------------------------------------------------
|
|
11878
11910
|
/** Sets focus on the component. */
|
|
11879
11911
|
async setFocus() {
|
|
11880
|
-
await
|
|
11912
|
+
await componentFocusable(this);
|
|
11881
11913
|
this.childEl?.focus();
|
|
11882
11914
|
}
|
|
11883
11915
|
effectiveLocaleChange() {
|
|
@@ -12072,7 +12104,7 @@ class CalciteMenu {
|
|
|
12072
12104
|
//--------------------------------------------------------------------------
|
|
12073
12105
|
/** Sets focus on the component's first focusable element. */
|
|
12074
12106
|
async setFocus() {
|
|
12075
|
-
await
|
|
12107
|
+
await componentFocusable(this);
|
|
12076
12108
|
this.el.focus();
|
|
12077
12109
|
}
|
|
12078
12110
|
//--------------------------------------------------------------------------
|
|
@@ -12318,7 +12350,7 @@ class CalciteMenuItem {
|
|
|
12318
12350
|
//--------------------------------------------------------------------------
|
|
12319
12351
|
/** Sets focus on the component. */
|
|
12320
12352
|
async setFocus() {
|
|
12321
|
-
await
|
|
12353
|
+
await componentFocusable(this);
|
|
12322
12354
|
this.anchorEl.focus();
|
|
12323
12355
|
}
|
|
12324
12356
|
//--------------------------------------------------------------------------
|
|
@@ -12584,7 +12616,7 @@ class CalciteNavigation {
|
|
|
12584
12616
|
//--------------------------------------------------------------------------
|
|
12585
12617
|
/** When `navigation-action` is `true`, sets focus on the component's action element. */
|
|
12586
12618
|
async setFocus() {
|
|
12587
|
-
await
|
|
12619
|
+
await componentFocusable(this);
|
|
12588
12620
|
await this.navigationActionEl?.setFocus();
|
|
12589
12621
|
}
|
|
12590
12622
|
//--------------------------------------------------------------------------
|
|
@@ -12682,7 +12714,7 @@ class CalciteNavigationLogo {
|
|
|
12682
12714
|
//--------------------------------------------------------------------------
|
|
12683
12715
|
/** Sets focus on the component. */
|
|
12684
12716
|
async setFocus() {
|
|
12685
|
-
await
|
|
12717
|
+
await componentFocusable(this);
|
|
12686
12718
|
if (this.href) {
|
|
12687
12719
|
this.el.focus();
|
|
12688
12720
|
}
|
|
@@ -12760,7 +12792,7 @@ class CalciteNavigationUser {
|
|
|
12760
12792
|
//--------------------------------------------------------------------------
|
|
12761
12793
|
/** Sets focus on the component. */
|
|
12762
12794
|
async setFocus() {
|
|
12763
|
-
await
|
|
12795
|
+
await componentFocusable(this);
|
|
12764
12796
|
this.el.focus();
|
|
12765
12797
|
}
|
|
12766
12798
|
//--------------------------------------------------------------------------
|
|
@@ -12878,7 +12910,7 @@ class Card {
|
|
|
12878
12910
|
connectLocalized(this);
|
|
12879
12911
|
connectMessages(this);
|
|
12880
12912
|
}
|
|
12881
|
-
|
|
12913
|
+
disconnectedCallback() {
|
|
12882
12914
|
disconnectConditionalSlotComponent(this);
|
|
12883
12915
|
disconnectLocalized(this);
|
|
12884
12916
|
disconnectMessages(this);
|
|
@@ -13013,7 +13045,7 @@ class Checkbox {
|
|
|
13013
13045
|
//--------------------------------------------------------------------------
|
|
13014
13046
|
/** Sets focus on the component. */
|
|
13015
13047
|
async setFocus() {
|
|
13016
|
-
await
|
|
13048
|
+
await componentFocusable(this);
|
|
13017
13049
|
this.toggleEl?.focus();
|
|
13018
13050
|
}
|
|
13019
13051
|
//--------------------------------------------------------------------------
|
|
@@ -13235,7 +13267,7 @@ class Chip {
|
|
|
13235
13267
|
//--------------------------------------------------------------------------
|
|
13236
13268
|
/** Sets focus on the component. */
|
|
13237
13269
|
async setFocus() {
|
|
13238
|
-
await
|
|
13270
|
+
await componentFocusable(this);
|
|
13239
13271
|
if (!this.disabled && this.interactive) {
|
|
13240
13272
|
this.containerEl?.focus();
|
|
13241
13273
|
}
|
|
@@ -13485,7 +13517,7 @@ class ChipGroup {
|
|
|
13485
13517
|
* Sets focus on the component's first focusable element.
|
|
13486
13518
|
*/
|
|
13487
13519
|
async setFocus() {
|
|
13488
|
-
await
|
|
13520
|
+
await componentFocusable(this);
|
|
13489
13521
|
if (!this.disabled) {
|
|
13490
13522
|
(this.selectedItems[0] || this.items[0])?.setFocus();
|
|
13491
13523
|
}
|
|
@@ -16184,7 +16216,7 @@ class ColorPicker {
|
|
|
16184
16216
|
//--------------------------------------------------------------------------
|
|
16185
16217
|
/** Sets focus on the component's first focusable element. */
|
|
16186
16218
|
async setFocus() {
|
|
16187
|
-
await
|
|
16219
|
+
await componentFocusable(this);
|
|
16188
16220
|
this.el.focus();
|
|
16189
16221
|
}
|
|
16190
16222
|
//--------------------------------------------------------------------------
|
|
@@ -16799,7 +16831,7 @@ class ColorPickerHexInput {
|
|
|
16799
16831
|
//--------------------------------------------------------------------------
|
|
16800
16832
|
/** Sets focus on the component. */
|
|
16801
16833
|
async setFocus() {
|
|
16802
|
-
await
|
|
16834
|
+
await componentFocusable(this);
|
|
16803
16835
|
focusElement(this.hexInputNode);
|
|
16804
16836
|
}
|
|
16805
16837
|
//--------------------------------------------------------------------------
|
|
@@ -19158,7 +19190,7 @@ class Combobox {
|
|
|
19158
19190
|
}
|
|
19159
19191
|
/** Sets focus on the component. */
|
|
19160
19192
|
async setFocus() {
|
|
19161
|
-
await
|
|
19193
|
+
await componentFocusable(this);
|
|
19162
19194
|
this.textInput?.focus();
|
|
19163
19195
|
this.activeChipIndex = -1;
|
|
19164
19196
|
this.activeItemIndex = -1;
|
|
@@ -20313,7 +20345,7 @@ class DatePicker {
|
|
|
20313
20345
|
//--------------------------------------------------------------------------
|
|
20314
20346
|
/** Sets focus on the component's first focusable element. */
|
|
20315
20347
|
async setFocus() {
|
|
20316
|
-
await
|
|
20348
|
+
await componentFocusable(this);
|
|
20317
20349
|
this.el.focus();
|
|
20318
20350
|
}
|
|
20319
20351
|
/**
|
|
@@ -21370,7 +21402,7 @@ class Dropdown {
|
|
|
21370
21402
|
//--------------------------------------------------------------------------
|
|
21371
21403
|
/** Sets focus on the component's first focusable element. */
|
|
21372
21404
|
async setFocus() {
|
|
21373
|
-
await
|
|
21405
|
+
await componentFocusable(this);
|
|
21374
21406
|
this.el.focus();
|
|
21375
21407
|
}
|
|
21376
21408
|
//--------------------------------------------------------------------------
|
|
@@ -21717,7 +21749,7 @@ class DropdownItem {
|
|
|
21717
21749
|
//--------------------------------------------------------------------------
|
|
21718
21750
|
/** Sets focus on the component. */
|
|
21719
21751
|
async setFocus() {
|
|
21720
|
-
await
|
|
21752
|
+
await componentFocusable(this);
|
|
21721
21753
|
this.el?.focus();
|
|
21722
21754
|
}
|
|
21723
21755
|
//--------------------------------------------------------------------------
|
|
@@ -21923,7 +21955,7 @@ class Fab {
|
|
|
21923
21955
|
// --------------------------------------------------------------------------
|
|
21924
21956
|
/** Sets focus on the component. */
|
|
21925
21957
|
async setFocus() {
|
|
21926
|
-
await
|
|
21958
|
+
await componentFocusable(this);
|
|
21927
21959
|
focusElement(this.buttonEl);
|
|
21928
21960
|
}
|
|
21929
21961
|
// --------------------------------------------------------------------------
|
|
@@ -22076,7 +22108,7 @@ class Filter {
|
|
|
22076
22108
|
}
|
|
22077
22109
|
/** Sets focus on the component. */
|
|
22078
22110
|
async setFocus() {
|
|
22079
|
-
await
|
|
22111
|
+
await componentFocusable(this);
|
|
22080
22112
|
this.el?.focus();
|
|
22081
22113
|
}
|
|
22082
22114
|
updateFiltered(filtered, emit = false, callback) {
|
|
@@ -22421,7 +22453,7 @@ class FlowItem {
|
|
|
22421
22453
|
* Sets focus on the component.
|
|
22422
22454
|
*/
|
|
22423
22455
|
async setFocus() {
|
|
22424
|
-
await
|
|
22456
|
+
await componentFocusable(this);
|
|
22425
22457
|
const { backButtonEl, containerEl } = this;
|
|
22426
22458
|
if (backButtonEl) {
|
|
22427
22459
|
return backButtonEl.setFocus();
|
|
@@ -22810,7 +22842,7 @@ class Handle {
|
|
|
22810
22842
|
// --------------------------------------------------------------------------
|
|
22811
22843
|
/** Sets focus on the component. */
|
|
22812
22844
|
async setFocus() {
|
|
22813
|
-
await
|
|
22845
|
+
await componentFocusable(this);
|
|
22814
22846
|
this.handleButton?.focus();
|
|
22815
22847
|
}
|
|
22816
22848
|
// --------------------------------------------------------------------------
|
|
@@ -23130,7 +23162,7 @@ class InlineEditable {
|
|
|
23130
23162
|
//--------------------------------------------------------------------------
|
|
23131
23163
|
/** Sets focus on the component. */
|
|
23132
23164
|
async setFocus() {
|
|
23133
|
-
await
|
|
23165
|
+
await componentFocusable(this);
|
|
23134
23166
|
this.el?.focus();
|
|
23135
23167
|
}
|
|
23136
23168
|
//--------------------------------------------------------------------------
|
|
@@ -23678,7 +23710,7 @@ class Input {
|
|
|
23678
23710
|
//--------------------------------------------------------------------------
|
|
23679
23711
|
/** Sets focus on the component. */
|
|
23680
23712
|
async setFocus() {
|
|
23681
|
-
await
|
|
23713
|
+
await componentFocusable(this);
|
|
23682
23714
|
if (this.type === "number") {
|
|
23683
23715
|
this.childNumberEl?.focus();
|
|
23684
23716
|
}
|
|
@@ -23900,7 +23932,7 @@ const CSS$A = {
|
|
|
23900
23932
|
};
|
|
23901
23933
|
|
|
23902
23934
|
/*!
|
|
23903
|
-
* focus-trap 7.
|
|
23935
|
+
* focus-trap 7.5.2
|
|
23904
23936
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
23905
23937
|
*/
|
|
23906
23938
|
|
|
@@ -23985,10 +24017,10 @@ var isSelectableInput = function isSelectableInput(node) {
|
|
|
23985
24017
|
return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
|
|
23986
24018
|
};
|
|
23987
24019
|
var isEscapeEvent = function isEscapeEvent(e) {
|
|
23988
|
-
return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;
|
|
24020
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Escape' || (e === null || e === void 0 ? void 0 : e.key) === 'Esc' || (e === null || e === void 0 ? void 0 : e.keyCode) === 27;
|
|
23989
24021
|
};
|
|
23990
24022
|
var isTabEvent = function isTabEvent(e) {
|
|
23991
|
-
return e.key === 'Tab' || e.keyCode === 9;
|
|
24023
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Tab' || (e === null || e === void 0 ? void 0 : e.keyCode) === 9;
|
|
23992
24024
|
};
|
|
23993
24025
|
|
|
23994
24026
|
// checks for TAB by default
|
|
@@ -24072,8 +24104,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24072
24104
|
// container: HTMLElement,
|
|
24073
24105
|
// tabbableNodes: Array<HTMLElement>, // empty if none
|
|
24074
24106
|
// focusableNodes: Array<HTMLElement>, // empty if none
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24107
|
+
// posTabIndexesFound: boolean,
|
|
24108
|
+
// firstTabbableNode: HTMLElement|undefined,
|
|
24109
|
+
// lastTabbableNode: HTMLElement|undefined,
|
|
24110
|
+
// firstDomTabbableNode: HTMLElement|undefined,
|
|
24111
|
+
// lastDomTabbableNode: HTMLElement|undefined,
|
|
24077
24112
|
// nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
|
|
24078
24113
|
// }>}
|
|
24079
24114
|
containerGroups: [],
|
|
@@ -24090,7 +24125,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24090
24125
|
paused: false,
|
|
24091
24126
|
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
|
24092
24127
|
// has been delayed during activation
|
|
24093
|
-
delayInitialFocusTimer: undefined
|
|
24128
|
+
delayInitialFocusTimer: undefined,
|
|
24129
|
+
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
24130
|
+
recentNavEvent: undefined
|
|
24094
24131
|
};
|
|
24095
24132
|
var trap; // eslint-disable-line prefer-const -- some private functions reference it, and its methods reference private functions, so we must declare here and define later
|
|
24096
24133
|
|
|
@@ -24109,7 +24146,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24109
24146
|
/**
|
|
24110
24147
|
* Finds the index of the container that contains the element.
|
|
24111
24148
|
* @param {HTMLElement} element
|
|
24112
|
-
* @param {Event} [event]
|
|
24149
|
+
* @param {Event} [event] If available, and `element` isn't directly found in any container,
|
|
24150
|
+
* the event's composed path is used to see if includes any known trap containers in the
|
|
24151
|
+
* case where the element is inside a Shadow DOM.
|
|
24113
24152
|
* @returns {number} Index of the container in either `state.containers` or
|
|
24114
24153
|
* `state.containerGroups` (the order/length of these lists are the same); -1
|
|
24115
24154
|
* if the element isn't found.
|
|
@@ -24204,14 +24243,41 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24204
24243
|
var tabbableNodes = tabbable(container, config.tabbableOptions);
|
|
24205
24244
|
|
|
24206
24245
|
// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
|
|
24207
|
-
// are a superset of tabbable nodes
|
|
24246
|
+
// are a superset of tabbable nodes since nodes with negative `tabindex` attributes
|
|
24247
|
+
// are focusable but not tabbable
|
|
24208
24248
|
var focusableNodes = focusable(container, config.tabbableOptions);
|
|
24249
|
+
var firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : undefined;
|
|
24250
|
+
var lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : undefined;
|
|
24251
|
+
var firstDomTabbableNode = focusableNodes.find(function (node) {
|
|
24252
|
+
return isTabbable(node);
|
|
24253
|
+
});
|
|
24254
|
+
var lastDomTabbableNode = focusableNodes.slice().reverse().find(function (node) {
|
|
24255
|
+
return isTabbable(node);
|
|
24256
|
+
});
|
|
24257
|
+
var posTabIndexesFound = !!tabbableNodes.find(function (node) {
|
|
24258
|
+
return getTabIndex(node) > 0;
|
|
24259
|
+
});
|
|
24209
24260
|
return {
|
|
24210
24261
|
container: container,
|
|
24211
24262
|
tabbableNodes: tabbableNodes,
|
|
24212
24263
|
focusableNodes: focusableNodes,
|
|
24213
|
-
|
|
24214
|
-
|
|
24264
|
+
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
24265
|
+
posTabIndexesFound: posTabIndexesFound,
|
|
24266
|
+
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
24267
|
+
firstTabbableNode: firstTabbableNode,
|
|
24268
|
+
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
24269
|
+
lastTabbableNode: lastTabbableNode,
|
|
24270
|
+
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
24271
|
+
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
|
24272
|
+
// because that API doesn't work with Shadow DOM as well as it should (@see
|
|
24273
|
+
// https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
|
|
24274
|
+
// to address an edge case related to positive tabindex support, this seems like a much easier,
|
|
24275
|
+
// "close enough most of the time" alternative for positive tabindexes which should generally
|
|
24276
|
+
// be avoided anyway...
|
|
24277
|
+
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
24278
|
+
firstDomTabbableNode: firstDomTabbableNode,
|
|
24279
|
+
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
24280
|
+
lastDomTabbableNode: lastDomTabbableNode,
|
|
24215
24281
|
/**
|
|
24216
24282
|
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
|
24217
24283
|
* in this container, if any.
|
|
@@ -24222,30 +24288,24 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24222
24288
|
*/
|
|
24223
24289
|
nextTabbableNode: function nextTabbableNode(node) {
|
|
24224
24290
|
var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
24225
|
-
|
|
24226
|
-
// from the DOM order), this __will not work__ because the list of focusableNodes,
|
|
24227
|
-
// while it contains tabbable nodes, does not sort its nodes in any order other
|
|
24228
|
-
// than DOM order, because it can't: Where would you place focusable (but not
|
|
24229
|
-
// tabbable) nodes in that order? They have no order, because they aren't tabbale...
|
|
24230
|
-
// Support for positive tabindex is already broken and hard to manage (possibly
|
|
24231
|
-
// not supportable, TBD), so this isn't going to make things worse than they
|
|
24232
|
-
// already are, and at least makes things better for the majority of cases where
|
|
24233
|
-
// tabindex is either 0/unset or negative.
|
|
24234
|
-
// FYI, positive tabindex issue: https://github.com/focus-trap/focus-trap/issues/375
|
|
24235
|
-
var nodeIdx = focusableNodes.findIndex(function (n) {
|
|
24236
|
-
return n === node;
|
|
24237
|
-
});
|
|
24291
|
+
var nodeIdx = tabbableNodes.indexOf(node);
|
|
24238
24292
|
if (nodeIdx < 0) {
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24293
|
+
// either not tabbable nor focusable, or was focused but not tabbable (negative tabindex):
|
|
24294
|
+
// since `node` should at least have been focusable, we assume that's the case and mimic
|
|
24295
|
+
// what browsers do, which is set focus to the next node in __document position order__,
|
|
24296
|
+
// regardless of positive tabindexes, if any -- and for reasons explained in the NOTE
|
|
24297
|
+
// above related to `firstDomTabbable` and `lastDomTabbable` properties, we fall back to
|
|
24298
|
+
// basic DOM order
|
|
24299
|
+
if (forward) {
|
|
24300
|
+
return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find(function (el) {
|
|
24301
|
+
return isTabbable(el);
|
|
24302
|
+
});
|
|
24303
|
+
}
|
|
24304
|
+
return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find(function (el) {
|
|
24305
|
+
return isTabbable(el);
|
|
24244
24306
|
});
|
|
24245
24307
|
}
|
|
24246
|
-
return
|
|
24247
|
-
return isTabbable(n, config.tabbableOptions);
|
|
24248
|
-
});
|
|
24308
|
+
return tabbableNodes[nodeIdx + (forward ? 1 : -1)];
|
|
24249
24309
|
}
|
|
24250
24310
|
};
|
|
24251
24311
|
});
|
|
@@ -24258,6 +24318,19 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24258
24318
|
) {
|
|
24259
24319
|
throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
|
|
24260
24320
|
}
|
|
24321
|
+
|
|
24322
|
+
// NOTE: Positive tabindexes are only properly supported in single-container traps because
|
|
24323
|
+
// doing it across multiple containers where tabindexes could be all over the place
|
|
24324
|
+
// would require Tabbable to support multiple containers, would require additional
|
|
24325
|
+
// specialized Shadow DOM support, and would require Tabbable's multi-container support
|
|
24326
|
+
// to look at those containers in document position order rather than user-provided
|
|
24327
|
+
// order (as they are treated in Focus-trap, for legacy reasons). See discussion on
|
|
24328
|
+
// https://github.com/focus-trap/focus-trap/issues/375 for more details.
|
|
24329
|
+
if (state.containerGroups.find(function (g) {
|
|
24330
|
+
return g.posTabIndexesFound;
|
|
24331
|
+
}) && state.containerGroups.length > 1) {
|
|
24332
|
+
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
24333
|
+
}
|
|
24261
24334
|
};
|
|
24262
24335
|
var tryFocus = function tryFocus(node) {
|
|
24263
24336
|
if (node === false) {
|
|
@@ -24273,6 +24346,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24273
24346
|
node.focus({
|
|
24274
24347
|
preventScroll: !!config.preventScroll
|
|
24275
24348
|
});
|
|
24349
|
+
// NOTE: focus() API does not trigger focusIn event so set MRU node manually
|
|
24276
24350
|
state.mostRecentlyFocusedNode = node;
|
|
24277
24351
|
if (isSelectableInput(node)) {
|
|
24278
24352
|
node.select();
|
|
@@ -24283,64 +24357,23 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24283
24357
|
return node ? node : node === false ? false : previousActiveElement;
|
|
24284
24358
|
};
|
|
24285
24359
|
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24298
|
-
|
|
24299
|
-
|
|
24300
|
-
|
|
24301
|
-
|
|
24302
|
-
|
|
24303
|
-
returnFocus: config.returnFocusOnDeactivate
|
|
24304
|
-
});
|
|
24305
|
-
return;
|
|
24306
|
-
}
|
|
24307
|
-
|
|
24308
|
-
// This is needed for mobile devices.
|
|
24309
|
-
// (If we'll only let `click` events through,
|
|
24310
|
-
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
|
24311
|
-
if (valueOrHandler(config.allowOutsideClick, e)) {
|
|
24312
|
-
// allow the click outside the trap to take place
|
|
24313
|
-
return;
|
|
24314
|
-
}
|
|
24315
|
-
|
|
24316
|
-
// otherwise, prevent the click
|
|
24317
|
-
e.preventDefault();
|
|
24318
|
-
};
|
|
24319
|
-
|
|
24320
|
-
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
24321
|
-
var checkFocusIn = function checkFocusIn(e) {
|
|
24322
|
-
var target = getActualTarget(e);
|
|
24323
|
-
var targetContained = findContainerIndex(target, e) >= 0;
|
|
24324
|
-
|
|
24325
|
-
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
24326
|
-
if (targetContained || target instanceof Document) {
|
|
24327
|
-
if (targetContained) {
|
|
24328
|
-
state.mostRecentlyFocusedNode = target;
|
|
24329
|
-
}
|
|
24330
|
-
} else {
|
|
24331
|
-
// escaped! pull it back in to where it just left
|
|
24332
|
-
e.stopImmediatePropagation();
|
|
24333
|
-
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
|
24334
|
-
}
|
|
24335
|
-
};
|
|
24336
|
-
|
|
24337
|
-
// Hijack key nav events on the first and last focusable nodes of the trap,
|
|
24338
|
-
// in order to prevent focus from escaping. If it escapes for even a
|
|
24339
|
-
// moment it can end up scrolling the page and causing confusion so we
|
|
24340
|
-
// kind of need to capture the action at the keydown phase.
|
|
24341
|
-
var checkKeyNav = function checkKeyNav(event) {
|
|
24342
|
-
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24343
|
-
var target = getActualTarget(event);
|
|
24360
|
+
/**
|
|
24361
|
+
* Finds the next node (in either direction) where focus should move according to a
|
|
24362
|
+
* keyboard focus-in event.
|
|
24363
|
+
* @param {Object} params
|
|
24364
|
+
* @param {Node} [params.target] Known target __from which__ to navigate, if any.
|
|
24365
|
+
* @param {KeyboardEvent|FocusEvent} [params.event] Event to use if `target` isn't known (event
|
|
24366
|
+
* will be used to determine the `target`). Ignored if `target` is specified.
|
|
24367
|
+
* @param {boolean} [params.isBackward] True if focus should move backward.
|
|
24368
|
+
* @returns {Node|undefined} The next node, or `undefined` if a next node couldn't be
|
|
24369
|
+
* determined given the current state of the trap.
|
|
24370
|
+
*/
|
|
24371
|
+
var findNextNavNode = function findNextNavNode(_ref2) {
|
|
24372
|
+
var target = _ref2.target,
|
|
24373
|
+
event = _ref2.event,
|
|
24374
|
+
_ref2$isBackward = _ref2.isBackward,
|
|
24375
|
+
isBackward = _ref2$isBackward === void 0 ? false : _ref2$isBackward;
|
|
24376
|
+
target = target || getActualTarget(event);
|
|
24344
24377
|
updateTabbableNodes();
|
|
24345
24378
|
var destinationNode = null;
|
|
24346
24379
|
if (state.tabbableGroups.length > 0) {
|
|
@@ -24363,8 +24396,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24363
24396
|
// REVERSE
|
|
24364
24397
|
|
|
24365
24398
|
// is the target the first tabbable node in a group?
|
|
24366
|
-
var startOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24367
|
-
var firstTabbableNode =
|
|
24399
|
+
var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
|
|
24400
|
+
var firstTabbableNode = _ref3.firstTabbableNode;
|
|
24368
24401
|
return target === firstTabbableNode;
|
|
24369
24402
|
});
|
|
24370
24403
|
if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
|
|
@@ -24382,7 +24415,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24382
24415
|
// the LAST group if it's the first tabbable node of the FIRST group)
|
|
24383
24416
|
var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
|
|
24384
24417
|
var destinationGroup = state.tabbableGroups[destinationGroupIndex];
|
|
24385
|
-
destinationNode = destinationGroup.lastTabbableNode;
|
|
24418
|
+
destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;
|
|
24386
24419
|
} else if (!isTabEvent(event)) {
|
|
24387
24420
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24388
24421
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24392,8 +24425,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24392
24425
|
// FORWARD
|
|
24393
24426
|
|
|
24394
24427
|
// is the target the last tabbable node in a group?
|
|
24395
|
-
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24396
|
-
var lastTabbableNode =
|
|
24428
|
+
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref4) {
|
|
24429
|
+
var lastTabbableNode = _ref4.lastTabbableNode;
|
|
24397
24430
|
return target === lastTabbableNode;
|
|
24398
24431
|
});
|
|
24399
24432
|
if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
|
|
@@ -24411,7 +24444,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24411
24444
|
// group if it's the last tabbable node of the LAST group)
|
|
24412
24445
|
var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
|
|
24413
24446
|
var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
|
|
24414
|
-
destinationNode = _destinationGroup.firstTabbableNode;
|
|
24447
|
+
destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;
|
|
24415
24448
|
} else if (!isTabEvent(event)) {
|
|
24416
24449
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24417
24450
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24423,6 +24456,153 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24423
24456
|
// NOTE: the fallbackFocus option does not support returning false to opt-out
|
|
24424
24457
|
destinationNode = getNodeForOption('fallbackFocus');
|
|
24425
24458
|
}
|
|
24459
|
+
return destinationNode;
|
|
24460
|
+
};
|
|
24461
|
+
|
|
24462
|
+
// This needs to be done on mousedown and touchstart instead of click
|
|
24463
|
+
// so that it precedes the focus event.
|
|
24464
|
+
var checkPointerDown = function checkPointerDown(e) {
|
|
24465
|
+
var target = getActualTarget(e);
|
|
24466
|
+
if (findContainerIndex(target, e) >= 0) {
|
|
24467
|
+
// allow the click since it ocurred inside the trap
|
|
24468
|
+
return;
|
|
24469
|
+
}
|
|
24470
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
|
24471
|
+
// immediately deactivate the trap
|
|
24472
|
+
trap.deactivate({
|
|
24473
|
+
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
24474
|
+
// which will result in the outside click setting focus to the node
|
|
24475
|
+
// that was clicked (and if not focusable, to "nothing"); by setting
|
|
24476
|
+
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
|
24477
|
+
// on activation (or the configured `setReturnFocus` node), whether the
|
|
24478
|
+
// outside click was on a focusable node or not
|
|
24479
|
+
returnFocus: config.returnFocusOnDeactivate
|
|
24480
|
+
});
|
|
24481
|
+
return;
|
|
24482
|
+
}
|
|
24483
|
+
|
|
24484
|
+
// This is needed for mobile devices.
|
|
24485
|
+
// (If we'll only let `click` events through,
|
|
24486
|
+
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
|
24487
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
|
24488
|
+
// allow the click outside the trap to take place
|
|
24489
|
+
return;
|
|
24490
|
+
}
|
|
24491
|
+
|
|
24492
|
+
// otherwise, prevent the click
|
|
24493
|
+
e.preventDefault();
|
|
24494
|
+
};
|
|
24495
|
+
|
|
24496
|
+
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
24497
|
+
// NOTE: the focusIn event is NOT cancelable, so if focus escapes, it may cause unexpected
|
|
24498
|
+
// scrolling if the node that got focused was out of view; there's nothing we can do to
|
|
24499
|
+
// prevent that from happening by the time we discover that focus escaped
|
|
24500
|
+
var checkFocusIn = function checkFocusIn(event) {
|
|
24501
|
+
var target = getActualTarget(event);
|
|
24502
|
+
var targetContained = findContainerIndex(target, event) >= 0;
|
|
24503
|
+
|
|
24504
|
+
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
24505
|
+
if (targetContained || target instanceof Document) {
|
|
24506
|
+
if (targetContained) {
|
|
24507
|
+
state.mostRecentlyFocusedNode = target;
|
|
24508
|
+
}
|
|
24509
|
+
} else {
|
|
24510
|
+
// escaped! pull it back in to where it just left
|
|
24511
|
+
event.stopImmediatePropagation();
|
|
24512
|
+
|
|
24513
|
+
// focus will escape if the MRU node had a positive tab index and user tried to nav forward;
|
|
24514
|
+
// it will also escape if the MRU node had a 0 tab index and user tried to nav backward
|
|
24515
|
+
// toward a node with a positive tab index
|
|
24516
|
+
var nextNode; // next node to focus, if we find one
|
|
24517
|
+
var navAcrossContainers = true;
|
|
24518
|
+
if (state.mostRecentlyFocusedNode) {
|
|
24519
|
+
if (getTabIndex(state.mostRecentlyFocusedNode) > 0) {
|
|
24520
|
+
// MRU container index must be >=0 otherwise we wouldn't have it as an MRU node...
|
|
24521
|
+
var mruContainerIdx = findContainerIndex(state.mostRecentlyFocusedNode);
|
|
24522
|
+
// there MAY not be any tabbable nodes in the container if there are at least 2 containers
|
|
24523
|
+
// and the MRU node is focusable but not tabbable (focus-trap requires at least 1 container
|
|
24524
|
+
// with at least one tabbable node in order to function, so this could be the other container
|
|
24525
|
+
// with nothing tabbable in it)
|
|
24526
|
+
var tabbableNodes = state.containerGroups[mruContainerIdx].tabbableNodes;
|
|
24527
|
+
if (tabbableNodes.length > 0) {
|
|
24528
|
+
// MRU tab index MAY not be found if the MRU node is focusable but not tabbable
|
|
24529
|
+
var mruTabIdx = tabbableNodes.findIndex(function (node) {
|
|
24530
|
+
return node === state.mostRecentlyFocusedNode;
|
|
24531
|
+
});
|
|
24532
|
+
if (mruTabIdx >= 0) {
|
|
24533
|
+
if (config.isKeyForward(state.recentNavEvent)) {
|
|
24534
|
+
if (mruTabIdx + 1 < tabbableNodes.length) {
|
|
24535
|
+
nextNode = tabbableNodes[mruTabIdx + 1];
|
|
24536
|
+
navAcrossContainers = false;
|
|
24537
|
+
}
|
|
24538
|
+
// else, don't wrap within the container as focus should move to next/previous
|
|
24539
|
+
// container
|
|
24540
|
+
} else {
|
|
24541
|
+
if (mruTabIdx - 1 >= 0) {
|
|
24542
|
+
nextNode = tabbableNodes[mruTabIdx - 1];
|
|
24543
|
+
navAcrossContainers = false;
|
|
24544
|
+
}
|
|
24545
|
+
// else, don't wrap within the container as focus should move to next/previous
|
|
24546
|
+
// container
|
|
24547
|
+
}
|
|
24548
|
+
// else, don't find in container order without considering direction too
|
|
24549
|
+
}
|
|
24550
|
+
}
|
|
24551
|
+
// else, no tabbable nodes in that container (which means we must have at least one other
|
|
24552
|
+
// container with at least one tabbable node in it, otherwise focus-trap would've thrown
|
|
24553
|
+
// an error the last time updateTabbableNodes() was run): find next node among all known
|
|
24554
|
+
// containers
|
|
24555
|
+
} else {
|
|
24556
|
+
// check to see if there's at least one tabbable node with a positive tab index inside
|
|
24557
|
+
// the trap because focus seems to escape when navigating backward from a tabbable node
|
|
24558
|
+
// with tabindex=0 when this is the case (instead of wrapping to the tabbable node with
|
|
24559
|
+
// the greatest positive tab index like it should)
|
|
24560
|
+
if (!state.containerGroups.some(function (g) {
|
|
24561
|
+
return g.tabbableNodes.some(function (n) {
|
|
24562
|
+
return getTabIndex(n) > 0;
|
|
24563
|
+
});
|
|
24564
|
+
})) {
|
|
24565
|
+
// no containers with tabbable nodes with positive tab indexes which means the focus
|
|
24566
|
+
// escaped for some other reason and we should just execute the fallback to the
|
|
24567
|
+
// MRU node or initial focus node, if any
|
|
24568
|
+
navAcrossContainers = false;
|
|
24569
|
+
}
|
|
24570
|
+
}
|
|
24571
|
+
} else {
|
|
24572
|
+
// no MRU node means we're likely in some initial condition when the trap has just
|
|
24573
|
+
// been activated and initial focus hasn't been given yet, in which case we should
|
|
24574
|
+
// fall through to trying to focus the initial focus node, which is what should
|
|
24575
|
+
// happen below at this point in the logic
|
|
24576
|
+
navAcrossContainers = false;
|
|
24577
|
+
}
|
|
24578
|
+
if (navAcrossContainers) {
|
|
24579
|
+
nextNode = findNextNavNode({
|
|
24580
|
+
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
24581
|
+
// outside the trap causing the focus escape we're trying to fix)
|
|
24582
|
+
target: state.mostRecentlyFocusedNode,
|
|
24583
|
+
isBackward: config.isKeyBackward(state.recentNavEvent)
|
|
24584
|
+
});
|
|
24585
|
+
}
|
|
24586
|
+
if (nextNode) {
|
|
24587
|
+
tryFocus(nextNode);
|
|
24588
|
+
} else {
|
|
24589
|
+
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
|
24590
|
+
}
|
|
24591
|
+
}
|
|
24592
|
+
state.recentNavEvent = undefined; // clear
|
|
24593
|
+
};
|
|
24594
|
+
|
|
24595
|
+
// Hijack key nav events on the first and last focusable nodes of the trap,
|
|
24596
|
+
// in order to prevent focus from escaping. If it escapes for even a
|
|
24597
|
+
// moment it can end up scrolling the page and causing confusion so we
|
|
24598
|
+
// kind of need to capture the action at the keydown phase.
|
|
24599
|
+
var checkKeyNav = function checkKeyNav(event) {
|
|
24600
|
+
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24601
|
+
state.recentNavEvent = event;
|
|
24602
|
+
var destinationNode = findNextNavNode({
|
|
24603
|
+
event: event,
|
|
24604
|
+
isBackward: isBackward
|
|
24605
|
+
});
|
|
24426
24606
|
if (destinationNode) {
|
|
24427
24607
|
if (isTabEvent(event)) {
|
|
24428
24608
|
// since tab natively moves focus, we wouldn't have a destination node unless we
|
|
@@ -25075,7 +25255,7 @@ class InputDatePicker {
|
|
|
25075
25255
|
// --------------------------------------------------------------------------
|
|
25076
25256
|
/** Sets focus on the component. */
|
|
25077
25257
|
async setFocus() {
|
|
25078
|
-
await
|
|
25258
|
+
await componentFocusable(this);
|
|
25079
25259
|
this.el.focus();
|
|
25080
25260
|
}
|
|
25081
25261
|
/**
|
|
@@ -25877,7 +26057,7 @@ class InputNumber {
|
|
|
25877
26057
|
//--------------------------------------------------------------------------
|
|
25878
26058
|
/** Sets focus on the component. */
|
|
25879
26059
|
async setFocus() {
|
|
25880
|
-
await
|
|
26060
|
+
await componentFocusable(this);
|
|
25881
26061
|
this.childNumberEl?.focus();
|
|
25882
26062
|
}
|
|
25883
26063
|
/** Selects the text of the component's `value`. */
|
|
@@ -26293,7 +26473,7 @@ class InputText {
|
|
|
26293
26473
|
//--------------------------------------------------------------------------
|
|
26294
26474
|
/** Sets focus on the component. */
|
|
26295
26475
|
async setFocus() {
|
|
26296
|
-
await
|
|
26476
|
+
await componentFocusable(this);
|
|
26297
26477
|
this.childEl?.focus();
|
|
26298
26478
|
}
|
|
26299
26479
|
/** Selects the text of the component's `value`. */
|
|
@@ -28089,7 +28269,7 @@ class InputTimePicker {
|
|
|
28089
28269
|
// --------------------------------------------------------------------------
|
|
28090
28270
|
/** Sets focus on the component. */
|
|
28091
28271
|
async setFocus() {
|
|
28092
|
-
await
|
|
28272
|
+
await componentFocusable(this);
|
|
28093
28273
|
this.el.focus();
|
|
28094
28274
|
}
|
|
28095
28275
|
/**
|
|
@@ -28458,7 +28638,7 @@ class Link {
|
|
|
28458
28638
|
//--------------------------------------------------------------------------
|
|
28459
28639
|
/** Sets focus on the component. */
|
|
28460
28640
|
async setFocus() {
|
|
28461
|
-
await
|
|
28641
|
+
await componentFocusable(this);
|
|
28462
28642
|
focusElement(this.childEl);
|
|
28463
28643
|
}
|
|
28464
28644
|
get el() { return getElement(this); }
|
|
@@ -28811,7 +28991,7 @@ class List$1 {
|
|
|
28811
28991
|
// --------------------------------------------------------------------------
|
|
28812
28992
|
/** Sets focus on the component's first focusable element. */
|
|
28813
28993
|
async setFocus() {
|
|
28814
|
-
await
|
|
28994
|
+
await componentFocusable(this);
|
|
28815
28995
|
this.enabledListItems.find((listItem) => listItem.active)?.setFocus();
|
|
28816
28996
|
}
|
|
28817
28997
|
// --------------------------------------------------------------------------
|
|
@@ -29121,7 +29301,7 @@ class ListItem {
|
|
|
29121
29301
|
// --------------------------------------------------------------------------
|
|
29122
29302
|
/** Sets focus on the component. */
|
|
29123
29303
|
async setFocus() {
|
|
29124
|
-
await
|
|
29304
|
+
await componentFocusable(this);
|
|
29125
29305
|
const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
|
|
29126
29306
|
const focusIndex = focusMap.get(parentListEl);
|
|
29127
29307
|
if (typeof focusIndex === "number") {
|
|
@@ -29684,7 +29864,7 @@ class Modal {
|
|
|
29684
29864
|
*
|
|
29685
29865
|
*/
|
|
29686
29866
|
async setFocus() {
|
|
29687
|
-
await
|
|
29867
|
+
await componentFocusable(this);
|
|
29688
29868
|
focusFirstTabbable(this.el);
|
|
29689
29869
|
}
|
|
29690
29870
|
/**
|
|
@@ -29898,7 +30078,7 @@ class Notice {
|
|
|
29898
30078
|
//--------------------------------------------------------------------------
|
|
29899
30079
|
/** Sets focus on the component's first focusable element. */
|
|
29900
30080
|
async setFocus() {
|
|
29901
|
-
await
|
|
30081
|
+
await componentFocusable(this);
|
|
29902
30082
|
const noticeLinkEl = this.el.querySelector("calcite-link");
|
|
29903
30083
|
if (!this.closeButton && !noticeLinkEl) {
|
|
29904
30084
|
return;
|
|
@@ -30145,7 +30325,7 @@ class Pagination {
|
|
|
30145
30325
|
// --------------------------------------------------------------------------
|
|
30146
30326
|
/** Sets focus on the component's first focusable element. */
|
|
30147
30327
|
async setFocus() {
|
|
30148
|
-
await
|
|
30328
|
+
await componentFocusable(this);
|
|
30149
30329
|
this.el.focus();
|
|
30150
30330
|
}
|
|
30151
30331
|
/** Go to the next page of results. */
|
|
@@ -30459,7 +30639,7 @@ class Panel {
|
|
|
30459
30639
|
* Sets focus on the component's first focusable element.
|
|
30460
30640
|
*/
|
|
30461
30641
|
async setFocus() {
|
|
30462
|
-
await
|
|
30642
|
+
await componentFocusable(this);
|
|
30463
30643
|
focusFirstTabbable(this.containerEl);
|
|
30464
30644
|
}
|
|
30465
30645
|
/**
|
|
@@ -31049,7 +31229,7 @@ class PickList {
|
|
|
31049
31229
|
* @param focusId
|
|
31050
31230
|
*/
|
|
31051
31231
|
async setFocus(focusId) {
|
|
31052
|
-
await
|
|
31232
|
+
await componentFocusable(this);
|
|
31053
31233
|
return setFocus.call(this, focusId);
|
|
31054
31234
|
}
|
|
31055
31235
|
// --------------------------------------------------------------------------
|
|
@@ -31294,7 +31474,7 @@ class PickListItem {
|
|
|
31294
31474
|
}
|
|
31295
31475
|
/** Sets focus on the component. */
|
|
31296
31476
|
async setFocus() {
|
|
31297
|
-
await
|
|
31477
|
+
await componentFocusable(this);
|
|
31298
31478
|
this.focusEl?.focus();
|
|
31299
31479
|
}
|
|
31300
31480
|
// --------------------------------------------------------------------------
|
|
@@ -31616,7 +31796,7 @@ class Popover {
|
|
|
31616
31796
|
this.effectiveReferenceElement = undefined;
|
|
31617
31797
|
this.defaultMessages = undefined;
|
|
31618
31798
|
}
|
|
31619
|
-
|
|
31799
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
31620
31800
|
if (!this.open) {
|
|
31621
31801
|
return;
|
|
31622
31802
|
}
|
|
@@ -31716,7 +31896,7 @@ class Popover {
|
|
|
31716
31896
|
* Sets focus on the component's first focusable element.
|
|
31717
31897
|
*/
|
|
31718
31898
|
async setFocus() {
|
|
31719
|
-
await
|
|
31899
|
+
await componentFocusable(this);
|
|
31720
31900
|
forceUpdate$1(this.el);
|
|
31721
31901
|
focusFirstTabbable(this.el);
|
|
31722
31902
|
}
|
|
@@ -31782,7 +31962,7 @@ class Popover {
|
|
|
31782
31962
|
static get assetsDirs() { return ["assets"]; }
|
|
31783
31963
|
get el() { return getElement(this); }
|
|
31784
31964
|
static get watchers() { return {
|
|
31785
|
-
"focusTrapDisabled": ["
|
|
31965
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
31786
31966
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
31787
31967
|
"messageOverrides": ["onMessagesChange"],
|
|
31788
31968
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
@@ -32006,7 +32186,7 @@ class RadioButton {
|
|
|
32006
32186
|
//--------------------------------------------------------------------------
|
|
32007
32187
|
/** Sets focus on the component. */
|
|
32008
32188
|
async setFocus() {
|
|
32009
|
-
await
|
|
32189
|
+
await componentFocusable(this);
|
|
32010
32190
|
if (!this.disabled) {
|
|
32011
32191
|
focusElement(this.containerEl);
|
|
32012
32192
|
}
|
|
@@ -32266,7 +32446,7 @@ class RadioButtonGroup {
|
|
|
32266
32446
|
//--------------------------------------------------------------------------
|
|
32267
32447
|
/** Sets focus on the fist focusable `calcite-radio-button` element in the component. */
|
|
32268
32448
|
async setFocus() {
|
|
32269
|
-
await
|
|
32449
|
+
await componentFocusable(this);
|
|
32270
32450
|
if (this.selectedItem && !this.selectedItem.disabled) {
|
|
32271
32451
|
this.selectedItem.setFocus();
|
|
32272
32452
|
return;
|
|
@@ -32548,7 +32728,7 @@ class Rating {
|
|
|
32548
32728
|
//--------------------------------------------------------------------------
|
|
32549
32729
|
/** Sets focus on the component. */
|
|
32550
32730
|
async setFocus() {
|
|
32551
|
-
await
|
|
32731
|
+
await componentFocusable(this);
|
|
32552
32732
|
this.inputFocusRef?.focus();
|
|
32553
32733
|
}
|
|
32554
32734
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -32842,7 +33022,7 @@ class SegmentedControl {
|
|
|
32842
33022
|
// --------------------------------------------------------------------------
|
|
32843
33023
|
/** Sets focus on the component. */
|
|
32844
33024
|
async setFocus() {
|
|
32845
|
-
await
|
|
33025
|
+
await componentFocusable(this);
|
|
32846
33026
|
(this.selectedItem || this.getItems()[0])?.focus();
|
|
32847
33027
|
}
|
|
32848
33028
|
//--------------------------------------------------------------------------
|
|
@@ -33061,7 +33241,7 @@ class Select {
|
|
|
33061
33241
|
//--------------------------------------------------------------------------
|
|
33062
33242
|
/** Sets focus on the component. */
|
|
33063
33243
|
async setFocus() {
|
|
33064
|
-
await
|
|
33244
|
+
await componentFocusable(this);
|
|
33065
33245
|
focusElement(this.selectEl);
|
|
33066
33246
|
}
|
|
33067
33247
|
handleOptionOrGroupChange(event) {
|
|
@@ -34275,7 +34455,7 @@ class Slider {
|
|
|
34275
34455
|
//--------------------------------------------------------------------------
|
|
34276
34456
|
/** Sets focus on the component. */
|
|
34277
34457
|
async setFocus() {
|
|
34278
|
-
await
|
|
34458
|
+
await componentFocusable(this);
|
|
34279
34459
|
const handle = this.minHandle ? this.minHandle : this.maxHandle;
|
|
34280
34460
|
handle?.focus();
|
|
34281
34461
|
}
|
|
@@ -37966,7 +38146,7 @@ class SplitButton {
|
|
|
37966
38146
|
//--------------------------------------------------------------------------
|
|
37967
38147
|
/** Sets focus on the component's first focusable element. */
|
|
37968
38148
|
async setFocus() {
|
|
37969
|
-
await
|
|
38149
|
+
await componentFocusable(this);
|
|
37970
38150
|
this.el.focus();
|
|
37971
38151
|
}
|
|
37972
38152
|
//--------------------------------------------------------------------------
|
|
@@ -38482,7 +38662,7 @@ class StepperItem {
|
|
|
38482
38662
|
//--------------------------------------------------------------------------
|
|
38483
38663
|
/** Sets focus on the component. */
|
|
38484
38664
|
async setFocus() {
|
|
38485
|
-
await
|
|
38665
|
+
await componentFocusable(this);
|
|
38486
38666
|
(this.layout === "vertical" ? this.el : this.headerEl)?.focus();
|
|
38487
38667
|
}
|
|
38488
38668
|
renderIcon() {
|
|
@@ -38582,7 +38762,7 @@ class Switch {
|
|
|
38582
38762
|
//--------------------------------------------------------------------------
|
|
38583
38763
|
/** Sets focus on the component. */
|
|
38584
38764
|
async setFocus() {
|
|
38585
|
-
await
|
|
38765
|
+
await componentFocusable(this);
|
|
38586
38766
|
focusElement(this.switchEl);
|
|
38587
38767
|
}
|
|
38588
38768
|
//--------------------------------------------------------------------------
|
|
@@ -39596,7 +39776,7 @@ class TextArea {
|
|
|
39596
39776
|
//--------------------------------------------------------------------------
|
|
39597
39777
|
/** Sets focus on the component. */
|
|
39598
39778
|
async setFocus() {
|
|
39599
|
-
await
|
|
39779
|
+
await componentFocusable(this);
|
|
39600
39780
|
this.textAreaEl.focus();
|
|
39601
39781
|
}
|
|
39602
39782
|
/** Selects the text of the component's `value`. */
|
|
@@ -39833,7 +40013,7 @@ class TileSelect {
|
|
|
39833
40013
|
//--------------------------------------------------------------------------
|
|
39834
40014
|
/** Sets focus on the component. */
|
|
39835
40015
|
async setFocus() {
|
|
39836
|
-
await
|
|
40016
|
+
await componentFocusable(this);
|
|
39837
40017
|
this.input?.setFocus();
|
|
39838
40018
|
}
|
|
39839
40019
|
//--------------------------------------------------------------------------
|
|
@@ -40539,7 +40719,7 @@ class TimePicker {
|
|
|
40539
40719
|
* Sets focus on the component's first focusable element.
|
|
40540
40720
|
*/
|
|
40541
40721
|
async setFocus() {
|
|
40542
|
-
await
|
|
40722
|
+
await componentFocusable(this);
|
|
40543
40723
|
this.el?.focus();
|
|
40544
40724
|
}
|
|
40545
40725
|
// --------------------------------------------------------------------------
|
|
@@ -40551,7 +40731,7 @@ class TimePicker {
|
|
|
40551
40731
|
this.showSecond = this.step < 60;
|
|
40552
40732
|
}
|
|
40553
40733
|
async focusPart(target) {
|
|
40554
|
-
await
|
|
40734
|
+
await componentFocusable(this);
|
|
40555
40735
|
this[`${target || "hour"}El`]?.focus();
|
|
40556
40736
|
}
|
|
40557
40737
|
buttonActivated(event) {
|
|
@@ -42345,7 +42525,7 @@ class ValueList {
|
|
|
42345
42525
|
* @param focusId
|
|
42346
42526
|
*/
|
|
42347
42527
|
async setFocus(focusId) {
|
|
42348
|
-
await
|
|
42528
|
+
await componentFocusable(this);
|
|
42349
42529
|
return setFocus.call(this, focusId);
|
|
42350
42530
|
}
|
|
42351
42531
|
// --------------------------------------------------------------------------
|
|
@@ -42505,7 +42685,7 @@ class ValueListItem {
|
|
|
42505
42685
|
}
|
|
42506
42686
|
/** Set focus on the component. */
|
|
42507
42687
|
async setFocus() {
|
|
42508
|
-
await
|
|
42688
|
+
await componentFocusable(this);
|
|
42509
42689
|
this.pickListItem?.setFocus();
|
|
42510
42690
|
}
|
|
42511
42691
|
calciteListItemChangeHandler(event) {
|