@esri/calcite-components 1.5.0-next.14 → 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-02fc251b.entry.js +6 -0
- package/dist/calcite/{p-08d0845a.js → p-0509f0fb.js} +2 -2
- package/dist/calcite/{p-706decfc.js → p-079047e7.js} +2 -2
- package/dist/calcite/p-09896602.js +6 -0
- package/dist/calcite/{p-3dbaf806.js → p-0a918855.js} +2 -2
- package/dist/calcite/{p-3089add5.js → p-0bc84d2f.js} +2 -2
- package/dist/calcite/p-0df867f6.entry.js +6 -0
- package/dist/calcite/{p-7339778f.js → p-0e7580f3.js} +1 -1
- package/dist/calcite/{p-3acb8903.js → p-0f31c3d5.js} +2 -2
- package/dist/calcite/{p-16c848ae.entry.js → p-11656d05.entry.js} +2 -2
- package/dist/calcite/{p-129d8a52.js → p-1334932f.js} +1 -1
- package/dist/calcite/{p-5d4724b7.js → p-1851e594.js} +2 -2
- package/dist/calcite/{p-65b9af7e.js → p-1ca3b66e.js} +2 -2
- package/dist/calcite/{p-481f2377.js → p-1d419a07.js} +2 -2
- package/dist/calcite/{p-f7597905.entry.js → p-201c8000.entry.js} +2 -2
- package/dist/calcite/{p-baa6a3a6.js → p-2254813b.js} +2 -2
- package/dist/calcite/{p-846f4742.js → p-2350ac1f.js} +1 -1
- package/dist/calcite/{p-1717b9ea.js → p-29bef442.js} +2 -2
- package/dist/calcite/{p-a132bfae.entry.js → p-2b3b8e29.entry.js} +2 -2
- package/dist/calcite/{p-25445fe1.js → p-2ba7d608.js} +2 -2
- package/dist/calcite/{p-787639ae.js → p-2be50e66.js} +2 -2
- package/dist/calcite/{p-5e603ae0.js → p-2d75c83a.js} +1 -1
- package/dist/calcite/{p-4889616e.entry.js → p-2f097f7e.entry.js} +2 -2
- package/dist/calcite/{p-72ad7b60.entry.js → p-33cedc9c.entry.js} +2 -2
- package/dist/calcite/{p-7cb1c7c1.js → p-3421f92f.js} +2 -2
- package/dist/calcite/{p-223728fa.entry.js → p-35983334.entry.js} +2 -2
- package/dist/calcite/{p-57512099.js → p-3d72cc4f.js} +2 -2
- package/dist/calcite/{p-d6670ce8.js → p-3fec1ad5.js} +2 -2
- package/dist/calcite/{p-42d8e780.js → p-41fac133.js} +2 -2
- package/dist/calcite/{p-08e7eb52.entry.js → p-45513788.entry.js} +2 -2
- package/dist/calcite/{p-a062d271.entry.js → p-4572ca65.entry.js} +2 -2
- package/dist/calcite/{p-d252a75c.js → p-47ffd16a.js} +2 -2
- package/dist/calcite/{p-b0f890be.js → p-4938001f.js} +2 -2
- package/dist/calcite/{p-30cfc78f.entry.js → p-49d73ee1.entry.js} +2 -2
- package/dist/calcite/{p-ced63b00.js → p-4a0adef2.js} +2 -2
- package/dist/calcite/{p-0ddbede7.entry.js → p-4c5c2418.entry.js} +2 -2
- package/dist/calcite/{p-5f0af1bf.js → p-4c8993e1.js} +1 -1
- package/dist/calcite/{p-2a9693f6.js → p-4ff9d39c.js} +2 -2
- package/dist/calcite/p-52ebe775.entry.js +6 -0
- package/dist/calcite/p-5596d71f.entry.js +6 -0
- package/dist/calcite/{p-a709ae23.entry.js → p-5b7710b4.entry.js} +2 -2
- package/dist/calcite/{p-28b4fd8a.entry.js → p-5b8df134.entry.js} +2 -2
- package/dist/calcite/{p-5ea1d738.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-82920a78.js → p-620ba3c8.js} +2 -2
- package/dist/calcite/{p-71961f96.entry.js → p-63249d92.entry.js} +2 -2
- package/dist/calcite/{p-0a1db467.entry.js → p-646a98e3.entry.js} +2 -2
- package/dist/calcite/{p-4e2d1599.js → p-687173f6.js} +1 -1
- package/dist/calcite/p-695aa370.js +6 -0
- package/dist/calcite/{p-ee7a606e.entry.js → p-69a175cd.entry.js} +2 -2
- package/dist/calcite/{p-f1952e40.entry.js → p-6a3d2c22.entry.js} +2 -2
- package/dist/calcite/{p-f2f036c9.entry.js → p-6a63273a.entry.js} +2 -2
- package/dist/calcite/{p-4cf4f8a8.entry.js → p-6a9ce26f.entry.js} +2 -2
- package/dist/calcite/{p-9995f15c.js → p-6b8eb52e.js} +1 -1
- package/dist/calcite/{p-2b8b2278.entry.js → p-6c5302b7.entry.js} +2 -2
- package/dist/calcite/{p-96124dc4.js → p-6f61dddc.js} +2 -2
- package/dist/calcite/{p-33e7a872.js → p-6f719316.js} +2 -2
- package/dist/calcite/p-71ca0800.entry.js +6 -0
- package/dist/calcite/{p-9c24cad8.entry.js → p-75c58476.entry.js} +2 -2
- package/dist/calcite/{p-32396757.js → p-75f07d64.js} +1 -1
- package/dist/calcite/{p-cd10455e.js → p-76a9b8e6.js} +2 -2
- package/dist/calcite/{p-b9cc733a.entry.js → p-78071cfd.entry.js} +2 -2
- package/dist/calcite/p-7b2a1fce.entry.js +6 -0
- package/dist/calcite/{p-d436842d.js → p-7c4936d8.js} +1 -1
- package/dist/calcite/{p-abb9d7d1.js → p-7dd8b227.js} +2 -2
- package/dist/calcite/{p-b6f785f1.js → p-7e13b47a.js} +2 -2
- package/dist/calcite/{p-8adcf1fb.entry.js → p-8303e75b.entry.js} +2 -2
- package/dist/calcite/{p-05af8b4e.entry.js → p-8888f5ff.entry.js} +2 -2
- package/dist/calcite/{p-d12c67fd.entry.js → p-892be5a0.entry.js} +2 -2
- package/dist/calcite/{p-519dfb1c.js → p-8af0156e.js} +1 -1
- package/dist/calcite/{p-d11def7f.js → p-8c4a6b5c.js} +2 -2
- package/dist/calcite/{p-52ec02f1.js → p-8d0cb4ae.js} +2 -2
- package/dist/calcite/{p-b13bdf94.entry.js → p-8d702b53.entry.js} +2 -2
- package/dist/calcite/{p-4832c19a.entry.js → p-94c37766.entry.js} +2 -2
- package/dist/calcite/{p-6aafdd11.js → p-980dab56.js} +2 -2
- package/dist/calcite/{p-56c949bc.js → p-99a4b27e.js} +2 -2
- package/dist/calcite/{p-cc9f91bd.entry.js → p-9b397bba.entry.js} +2 -2
- package/dist/calcite/{p-a8d2d349.entry.js → p-9b40c429.entry.js} +2 -2
- package/dist/calcite/p-9f4a285b.entry.js +6 -0
- package/dist/calcite/{p-a8dec358.entry.js → p-9f544175.entry.js} +2 -2
- package/dist/calcite/{p-0a1bce4c.entry.js → p-9fb86730.entry.js} +2 -2
- package/dist/calcite/{p-e5b3a270.js → p-9fba6304.js} +1 -1
- package/dist/calcite/{p-ef9f0c34.js → p-a129f125.js} +2 -2
- package/dist/calcite/{p-03494d7a.js → p-a16a3705.js} +2 -2
- package/dist/calcite/{p-d14e0f92.entry.js → p-a1e98020.entry.js} +2 -2
- package/dist/calcite/p-a315f44f.js +6 -0
- package/dist/calcite/{p-2b316202.entry.js → p-a3510777.entry.js} +2 -2
- package/dist/calcite/{p-85f34c86.js → p-a61bf6cb.js} +2 -2
- package/dist/calcite/{p-27bbf8f6.js → p-aad721ab.js} +2 -2
- package/dist/calcite/p-ab9a3bc9.entry.js +6 -0
- package/dist/calcite/{p-7c5720e2.js → p-ac918b12.js} +2 -2
- package/dist/calcite/p-acb5a34b.entry.js +6 -0
- package/dist/calcite/{p-9b71ae8c.js → p-acdf6941.js} +2 -2
- package/dist/calcite/{p-89382ea8.js → p-ad0e7439.js} +2 -2
- package/dist/calcite/{p-15f750a8.js → p-afc70d84.js} +1 -1
- package/dist/calcite/{p-43cfd086.js → p-b0360afa.js} +2 -2
- package/dist/calcite/{p-32a5f64d.js → p-b0624e3c.js} +2 -2
- package/dist/calcite/{p-f4d02a28.entry.js → p-b0d77653.entry.js} +2 -2
- package/dist/calcite/{p-b2281495.js → p-b106c8b8.js} +2 -2
- package/dist/calcite/{p-2c4dd5db.entry.js → p-b1a14074.entry.js} +2 -2
- package/dist/calcite/{p-c376cb3a.js → p-b25b5736.js} +2 -2
- package/dist/calcite/{p-10e15ee0.entry.js → p-b3a57d9b.entry.js} +2 -2
- package/dist/calcite/{p-02968a04.js → p-b3b64b81.js} +1 -1
- package/dist/calcite/{p-ac371ccf.js → p-b4b9c9d1.js} +2 -2
- package/dist/calcite/{p-2481682a.js → p-b72fb2d7.js} +2 -2
- package/dist/calcite/p-b763e7a9.js +6 -0
- package/dist/calcite/{p-96720df1.js → p-b956fc2c.js} +2 -2
- package/dist/calcite/{p-b248712c.entry.js → p-b9c4087a.entry.js} +2 -2
- package/dist/calcite/{p-b314e36a.js → p-ba2e9cd7.js} +2 -2
- package/dist/calcite/{p-0345be45.entry.js → p-bada5e06.entry.js} +2 -2
- package/dist/calcite/{p-0f168994.js → p-bb857882.js} +2 -2
- package/dist/calcite/{p-1971b016.js → p-bbce1dce.js} +2 -2
- package/dist/calcite/p-bc1dafd6.js +11 -0
- package/dist/calcite/{p-003c5a4d.entry.js → p-bc8c33fc.entry.js} +2 -2
- package/dist/calcite/{p-3e3905b0.js → p-bd9ab52d.js} +2 -2
- package/dist/calcite/{p-8364985a.entry.js → p-bdf8cf73.entry.js} +2 -2
- package/dist/calcite/{p-1ecf6b5f.js → p-c1ce8ae1.js} +2 -2
- package/dist/calcite/{p-2cfd2b41.js → p-c5052bb3.js} +2 -2
- package/dist/calcite/{p-54b3221c.entry.js → p-c600d9d7.entry.js} +2 -2
- package/dist/calcite/{p-a100fdb8.js → p-c73ef890.js} +2 -2
- package/dist/calcite/{p-3aa886b8.js → p-cd6fc642.js} +2 -2
- package/dist/calcite/{p-81c72d6e.js → p-cf03e455.js} +2 -2
- package/dist/calcite/{p-92613c45.js → p-d062be17.js} +2 -2
- package/dist/calcite/{p-97968136.js → p-d19fad68.js} +2 -2
- package/dist/calcite/{p-4bb2ce05.entry.js → p-d25a6b97.entry.js} +2 -2
- package/dist/calcite/p-d303b1e6.js +10 -0
- package/dist/calcite/{p-7670724d.js → p-d473c0c2.js} +2 -2
- package/dist/calcite/{p-d88829bd.entry.js → p-d4e1a131.entry.js} +2 -2
- package/dist/calcite/{p-01f97cfc.entry.js → p-d65e6428.entry.js} +2 -2
- package/dist/calcite/{p-ba2e705e.js → p-d8ec5c80.js} +2 -2
- package/dist/calcite/{p-b8ae456d.entry.js → p-d9e6884b.entry.js} +2 -2
- package/dist/calcite/{p-ec2838ba.entry.js → p-da02f2e1.entry.js} +2 -2
- package/dist/calcite/{p-ff29bad6.entry.js → p-dce26dc1.entry.js} +2 -2
- package/dist/calcite/{p-22779139.entry.js → p-dde8a17e.entry.js} +2 -2
- package/dist/calcite/p-e17a6ef4.entry.js +6 -0
- package/dist/calcite/{p-edd4247d.js → p-e2326534.js} +2 -2
- package/dist/calcite/{p-479cd83c.entry.js → p-e632e8c3.entry.js} +2 -2
- package/dist/calcite/{p-2b108b40.js → p-e841e4c2.js} +1 -1
- package/dist/calcite/{p-ccec9c46.js → p-eb8dcc10.js} +2 -2
- package/dist/calcite/{p-3ca7d773.js → p-ee0d9de6.js} +1 -1
- package/dist/calcite/{p-cd066d1e.js → p-f01035f3.js} +2 -2
- package/dist/calcite/{p-be6763d8.entry.js → p-f1c2cbc4.entry.js} +2 -2
- package/dist/calcite/{p-a3e35ef8.entry.js → p-f448a2a2.entry.js} +2 -2
- package/dist/calcite/{p-68c6b9ff.entry.js → p-f4aa37b7.entry.js} +2 -2
- package/dist/calcite/{p-6eb3ae0c.js → p-f5cce1fb.js} +2 -2
- package/dist/calcite/{p-795b8133.entry.js → p-fc3888f0.entry.js} +2 -2
- package/dist/calcite/{p-8d0bbfb8.entry.js → p-fc3ccf00.entry.js} +2 -2
- package/dist/calcite/{p-ec0b157c.js → p-fe56417d.js} +2 -2
- package/dist/cjs/{ExpandToggle-e1c4af9a.js → ExpandToggle-893311d7.js} +5 -5
- package/dist/cjs/{FloatingArrow-dfb33175.js → FloatingArrow-0b7d630f.js} +2 -2
- package/dist/cjs/{Heading-18247a3d.js → Heading-c2838be6.js} +2 -2
- package/dist/cjs/{app-globals-8a143c0b.js → app-globals-eafb16a2.js} +2 -2
- package/dist/cjs/{ar-4e138310.js → ar-3f2692a0.js} +15 -15
- package/dist/cjs/{array-4b1e278e.js → array-a4188bf5.js} +1 -1
- package/dist/cjs/{bg-f182d95f.js → bg-6f9dfc42.js} +15 -15
- package/dist/cjs/{bs-1fa45ddd.js → bs-9f6bac0e.js} +15 -15
- package/dist/cjs/{ca-49ecec9a.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 +7 -6
- 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-55bd6010.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-82703831.js → conditionalSlot-cb3b60ae.js} +3 -3
- package/dist/cjs/{cs-6fe4fcd8.js → cs-7adf17c3.js} +15 -15
- package/dist/cjs/{da-1e886273.js → da-b45ddf52.js} +15 -15
- package/dist/cjs/{de-6a7fd52d.js → de-507eeb61.js} +15 -15
- package/dist/cjs/{de-at-ddc9e80d.js → de-at-bba14f61.js} +15 -15
- package/dist/cjs/{de-ch-a3f6157b.js → de-ch-8322f67e.js} +15 -15
- package/dist/cjs/{debounce-77dab021.js → debounce-479c3309.js} +1 -1
- package/dist/cjs/{dom-ffd5190f.js → dom-96a33fce.js} +51 -18
- package/dist/cjs/{el-df8b0883.js → el-a33bfcea.js} +15 -15
- package/dist/cjs/{en-au-1bbfe67c.js → en-au-a5f1b972.js} +15 -15
- package/dist/cjs/{en-ca-8eb83ad8.js → en-ca-63cb676e.js} +15 -15
- package/dist/cjs/{en-gb-3df3ac5a.js → en-gb-500d2b04.js} +15 -15
- package/dist/cjs/{es-d7c1cfe5.js → es-b4dccef6.js} +15 -15
- package/dist/cjs/{es-mx-48ce9d0c.js → es-mx-b93efc81.js} +15 -15
- package/dist/cjs/{et-3b4abb6f.js → et-4394d01a.js} +15 -15
- package/dist/cjs/{fi-19877515.js → fi-8ee0d212.js} +15 -15
- package/dist/cjs/{filter-e89d339d.js → filter-44fbe01f.js} +2 -2
- package/dist/cjs/{floating-ui-a924d50e.js → floating-ui-52ac728b.js} +3 -3
- package/dist/cjs/{focusTrapComponent-28f9e78a.js → focusTrapComponent-52303c00.js} +245 -97
- package/dist/cjs/{form-555c478f.js → form-236d547c.js} +3 -3
- package/dist/cjs/{fr-ch-9b1afd56.js → fr-ch-ec5cea01.js} +15 -15
- package/dist/cjs/{fr-3957ed73.js → fr-ffe7954f.js} +15 -15
- package/dist/cjs/{guid-efb14411.js → guid-7af76d45.js} +1 -1
- package/dist/cjs/{he-ddefc04b.js → he-0146088a.js} +15 -15
- package/dist/cjs/{hi-4bb6b853.js → hi-45cd762d.js} +15 -15
- package/dist/cjs/{hr-266f1953.js → hr-cd1f9d11.js} +15 -15
- package/dist/cjs/{hu-6874faa4.js → hu-8fb8aeac.js} +15 -15
- package/dist/cjs/{id-94f6a2a0.js → id-6ebdc6ff.js} +15 -15
- package/dist/cjs/{index-e8ca721f.js → index-21f749fd.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-6587e65e.js → interactive-dcddc42e.js} +1 -1
- package/dist/cjs/{it-052de9dd.js → it-b1cbe7d8.js} +15 -15
- package/dist/cjs/{it-ch-b47fc0f9.js → it-ch-13b8a716.js} +15 -15
- package/dist/cjs/{ja-cc8d4670.js → ja-789d8196.js} +15 -15
- package/dist/cjs/{key-a26cd7e5.js → key-3276aa98.js} +1 -1
- package/dist/cjs/{ko-7a620319.js → ko-09c8ebf6.js} +15 -15
- package/dist/cjs/{label-da0ecc9a.js → label-753605a6.js} +2 -2
- package/dist/cjs/{loadable-076d123f.js → loadable-b717110c.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-e1d449fb.js → locale-6a6a5c76.js} +4 -4
- package/dist/cjs/{lt-0606a447.js → lt-11f2439b.js} +15 -15
- package/dist/cjs/{lv-f52fd5bf.js → lv-044f573c.js} +15 -15
- package/dist/cjs/{math-8446bbe9.js → math-108ae6f4.js} +1 -1
- package/dist/cjs/{mk-50be1bc9.js → mk-90b1244f.js} +15 -15
- package/dist/cjs/{nb-fd900175.js → nb-58d2622d.js} +15 -15
- package/dist/cjs/{nl-1da49232.js → nl-f65add43.js} +15 -15
- package/dist/cjs/{observers-8d597cfc.js → observers-c2258496.js} +1 -1
- package/dist/cjs/{openCloseComponent-02b0f810.js → openCloseComponent-7b6944ad.js} +2 -2
- package/dist/cjs/{pl-a475191c.js → pl-2777a92a.js} +15 -15
- package/dist/cjs/{pt-d7ad60af.js → pt-4fcd2428.js} +15 -15
- package/dist/cjs/{pt-br-e5ea3c38.js → pt-br-2202c0f6.js} +15 -15
- package/dist/cjs/{resources-ba94b9b5.js → resources-1030c451.js} +1 -1
- package/dist/cjs/{resources-358ff63a.js → resources-1febd24d.js} +1 -1
- package/dist/cjs/{resources-eb4a9e91.js → resources-235e0d44.js} +1 -1
- package/dist/cjs/{resources-9d0b59d0.js → resources-2c88e496.js} +1 -1
- package/dist/cjs/{resources-25f19d38.js → resources-422a2275.js} +1 -1
- package/dist/cjs/{resources-357289cc.js → resources-cc9baf0c.js} +1 -1
- package/dist/cjs/{resources-296047d6.js → resources-e98485cf.js} +5 -5
- package/dist/cjs/{ro-24c59ffb.js → ro-cc538934.js} +15 -15
- package/dist/cjs/{ru-413ee3e7.js → ru-c7e7f000.js} +15 -15
- package/dist/cjs/{sk-c997473c.js → sk-d7f6a67d.js} +15 -15
- package/dist/cjs/{sl-629c1a5a.js → sl-63977035.js} +15 -15
- package/dist/cjs/{sortableComponent-9db9a0a7.js → sortableComponent-da47aa42.js} +2 -2
- package/dist/cjs/{sr-9a804f1b.js → sr-174dc1c4.js} +15 -15
- package/dist/cjs/{sv-79f1646c.js → sv-d9fd35e2.js} +15 -15
- package/dist/cjs/{t9n-7b3a1e8f.js → t9n-687b8999.js} +3 -3
- package/dist/cjs/{th-b4a728a7.js → th-bd82a0ec.js} +15 -15
- package/dist/cjs/{throttle-01bdb785.js → throttle-5468744d.js} +2 -2
- package/dist/cjs/{tr-5a4bd603.js → tr-daa97367.js} +15 -15
- package/dist/cjs/{uk-19381d4d.js → uk-13a5c047.js} +15 -15
- package/dist/cjs/{utils-d1597e1a.js → utils-04851a7b.js} +3 -3
- package/dist/cjs/{utils-3eeefc12.js → utils-cc585444.js} +1 -1
- package/dist/cjs/{vi-57a22b4a.js → vi-94041b9a.js} +15 -15
- package/dist/cjs/{zh-cn-140dc4d2.js → zh-cn-9ee5f5be.js} +15 -15
- package/dist/cjs/{zh-hk-2400ed5a.js → zh-hk-4c06eaa5.js} +15 -15
- package/dist/cjs/{zh-tw-19dc79c0.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 +4 -3
- 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 +5 -4
- 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-bb254e4d.js → ExpandToggle-4cb59a10.js} +5 -5
- package/dist/esm/{FloatingArrow-c7d8fb50.js → FloatingArrow-2e6e1004.js} +2 -2
- package/dist/esm/{Heading-2368fc0c.js → Heading-df0dc598.js} +2 -2
- package/dist/esm/{app-globals-88e2756e.js → app-globals-6e11eaa7.js} +2 -2
- package/dist/esm/{ar-fd0baf8c.js → ar-61e3171e.js} +15 -15
- package/dist/esm/{array-ae1b9c5c.js → array-ceb334ad.js} +1 -1
- package/dist/esm/{bg-b69e3c2e.js → bg-e2f25a60.js} +15 -15
- package/dist/esm/{bs-57fa04fa.js → bs-ada5b549.js} +15 -15
- package/dist/esm/{ca-0924f643.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 +7 -6
- 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-010cfd1f.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-dac84903.js → conditionalSlot-799dbd5d.js} +3 -3
- package/dist/esm/{cs-9909e975.js → cs-e6be23da.js} +15 -15
- package/dist/esm/{da-fb646303.js → da-afc6e4a0.js} +15 -15
- package/dist/esm/{de-d7545a3d.js → de-9f592636.js} +15 -15
- package/dist/esm/{de-at-8c98fee8.js → de-at-620e8acf.js} +15 -15
- package/dist/esm/{de-ch-f8010e86.js → de-ch-df2fdfd8.js} +15 -15
- package/dist/esm/{debounce-9bdf43c0.js → debounce-3ba0ed84.js} +1 -1
- package/dist/esm/{dom-475a2614.js → dom-ee8811da.js} +51 -19
- package/dist/esm/{el-9b853677.js → el-c2d7cebb.js} +15 -15
- package/dist/esm/{en-au-33281ae8.js → en-au-42358c82.js} +15 -15
- package/dist/esm/{en-ca-7e50e963.js → en-ca-9de4a345.js} +15 -15
- package/dist/esm/{en-gb-3705c6f0.js → en-gb-9f0936c1.js} +15 -15
- package/dist/esm/{es-44b371ff.js → es-338df414.js} +15 -15
- package/dist/esm/{es-mx-4be28246.js → es-mx-7befbe51.js} +15 -15
- package/dist/esm/{et-3c0cde8a.js → et-a4379377.js} +15 -15
- package/dist/esm/{fi-0124db9d.js → fi-d61e1d48.js} +15 -15
- package/dist/esm/{filter-6622a884.js → filter-2bcc010d.js} +2 -2
- package/dist/esm/{floating-ui-dfba5589.js → floating-ui-2df4c157.js} +3 -3
- package/dist/esm/{focusTrapComponent-6ea00351.js → focusTrapComponent-7ae5fe72.js} +245 -97
- package/dist/esm/{form-7e8beb4f.js → form-80fb38b1.js} +3 -3
- package/dist/esm/{fr-8dbca2a0.js → fr-7b5fdec3.js} +15 -15
- package/dist/esm/{fr-ch-babddf0e.js → fr-ch-345ac098.js} +15 -15
- package/dist/esm/{guid-fbad5108.js → guid-5d7fd573.js} +1 -1
- package/dist/esm/{he-30638826.js → he-f40f2ca6.js} +15 -15
- package/dist/esm/{hi-e6176d6d.js → hi-d7c4b398.js} +15 -15
- package/dist/esm/{hr-1ea6e64b.js → hr-29d6828d.js} +15 -15
- package/dist/esm/{hu-1952611f.js → hu-5c3f9efe.js} +15 -15
- package/dist/esm/{id-69dc8f0f.js → id-7a657e4a.js} +15 -15
- package/dist/esm/{index-c02c051e.js → index-52de4192.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-55970bc6.js → interactive-1debc8e7.js} +1 -1
- package/dist/esm/{it-4e5fcab1.js → it-20240be5.js} +15 -15
- package/dist/esm/{it-ch-f2a2662f.js → it-ch-b315fb5c.js} +15 -15
- package/dist/esm/{ja-6748e1bc.js → ja-a5103c43.js} +15 -15
- package/dist/esm/{key-b1bfe588.js → key-133b5c26.js} +1 -1
- package/dist/esm/{ko-517793e3.js → ko-c9337e4a.js} +15 -15
- package/dist/esm/{label-27c66d02.js → label-0f98996e.js} +2 -2
- package/dist/esm/{loadable-310554bc.js → loadable-c8fe3997.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-bfea1c99.js → locale-925190f6.js} +4 -4
- package/dist/esm/{lt-ac6a96b8.js → lt-d547b24b.js} +15 -15
- package/dist/esm/{lv-fa5c8cd5.js → lv-ffeab2bf.js} +15 -15
- package/dist/esm/{math-38916192.js → math-265835d9.js} +1 -1
- package/dist/esm/{mk-f5005855.js → mk-8ccafa97.js} +15 -15
- package/dist/esm/{nb-83a6932e.js → nb-fb3f6d5a.js} +15 -15
- package/dist/esm/{nl-a554c5fd.js → nl-3af48909.js} +15 -15
- package/dist/esm/{observers-d21d1a7d.js → observers-e19797bd.js} +1 -1
- package/dist/esm/{openCloseComponent-06f8d1ed.js → openCloseComponent-65b1dc2e.js} +2 -2
- package/dist/esm/{pl-8483faca.js → pl-1c3f4d3f.js} +15 -15
- package/dist/esm/{pt-e357ebd5.js → pt-07e91dff.js} +15 -15
- package/dist/esm/{pt-br-9627916d.js → pt-br-2343dd23.js} +15 -15
- package/dist/esm/{resources-0e5b7f36.js → resources-033387a6.js} +1 -1
- package/dist/esm/{resources-a45d8e8b.js → resources-169e57b0.js} +1 -1
- package/dist/esm/{resources-6e941116.js → resources-3dadd60f.js} +1 -1
- package/dist/esm/{resources-6e42e84a.js → resources-50bbb634.js} +5 -5
- package/dist/esm/{resources-a6a86131.js → resources-88bb02a7.js} +1 -1
- package/dist/esm/{resources-9b38e1b2.js → resources-cfaccf3b.js} +1 -1
- package/dist/esm/{resources-17c52e85.js → resources-e96c4d26.js} +1 -1
- package/dist/esm/{ro-aff12dd0.js → ro-d67c560f.js} +15 -15
- package/dist/esm/{ru-baa2c1cc.js → ru-3cac5079.js} +15 -15
- package/dist/esm/{sk-5b106915.js → sk-9325f85a.js} +15 -15
- package/dist/esm/{sl-39c359eb.js → sl-e129f1b1.js} +15 -15
- package/dist/esm/{sortableComponent-190843d0.js → sortableComponent-f09e0713.js} +2 -2
- package/dist/esm/{sr-7adeac93.js → sr-ba8ad6d5.js} +15 -15
- package/dist/esm/{sv-9d1039bd.js → sv-9d90d032.js} +15 -15
- package/dist/esm/{t9n-568136ba.js → t9n-6ae9574e.js} +3 -3
- package/dist/esm/{th-da79d02a.js → th-2c476dfc.js} +15 -15
- package/dist/esm/{throttle-ead56d13.js → throttle-ad00d0d7.js} +2 -2
- package/dist/esm/{tr-7174c8b3.js → tr-d75900c9.js} +15 -15
- package/dist/esm/{uk-1d06a901.js → uk-28c55ec9.js} +15 -15
- package/dist/esm/{utils-0b7ab26f.js → utils-2cc5492b.js} +3 -3
- package/dist/esm/{utils-3862d9ce.js → utils-c2ee69a7.js} +1 -1
- package/dist/esm/{vi-f55b9103.js → vi-489fd22e.js} +15 -15
- package/dist/esm/{zh-cn-d8419942.js → zh-cn-e80a51e4.js} +15 -15
- package/dist/esm/{zh-hk-cf8aef61.js → zh-hk-f7d980cd.js} +15 -15
- package/dist/esm/{zh-tw-fae628d7.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/flow/flow.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/hydrate/index.js +354 -173
- package/package.json +3 -3
- package/dist/calcite/p-1aed1ed4.entry.js +0 -6
- package/dist/calcite/p-26480e92.js +0 -11
- package/dist/calcite/p-2999ee70.entry.js +0 -6
- package/dist/calcite/p-321004a7.js +0 -6
- package/dist/calcite/p-374e14cd.entry.js +0 -6
- package/dist/calcite/p-4e259f47.js +0 -6
- package/dist/calcite/p-5322a242.js +0 -6
- package/dist/calcite/p-57c81a8d.entry.js +0 -6
- package/dist/calcite/p-84f8ecb8.entry.js +0 -6
- package/dist/calcite/p-862b501a.entry.js +0 -6
- package/dist/calcite/p-a3504cf9.entry.js +0 -6
- package/dist/calcite/p-ab8f1aeb.entry.js +0 -6
- package/dist/calcite/p-be903e60.js +0 -6
- package/dist/calcite/p-c1d03f41.js +0 -10
- package/dist/calcite/p-c8d847bd.entry.js +0 -6
- package/dist/calcite/p-d25f8b8e.entry.js +0 -6
- package/dist/calcite/p-da52315c.js +0 -6
- package/dist/calcite/p-e7cfbf88.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) {
|
|
@@ -22235,8 +22267,9 @@ class Flow {
|
|
|
22235
22267
|
// Private Methods
|
|
22236
22268
|
//
|
|
22237
22269
|
// --------------------------------------------------------------------------
|
|
22238
|
-
handleItemBackClick() {
|
|
22239
|
-
this.back();
|
|
22270
|
+
async handleItemBackClick() {
|
|
22271
|
+
await this.back();
|
|
22272
|
+
return this.setFocus();
|
|
22240
22273
|
}
|
|
22241
22274
|
// --------------------------------------------------------------------------
|
|
22242
22275
|
//
|
|
@@ -22420,7 +22453,7 @@ class FlowItem {
|
|
|
22420
22453
|
* Sets focus on the component.
|
|
22421
22454
|
*/
|
|
22422
22455
|
async setFocus() {
|
|
22423
|
-
await
|
|
22456
|
+
await componentFocusable(this);
|
|
22424
22457
|
const { backButtonEl, containerEl } = this;
|
|
22425
22458
|
if (backButtonEl) {
|
|
22426
22459
|
return backButtonEl.setFocus();
|
|
@@ -22809,7 +22842,7 @@ class Handle {
|
|
|
22809
22842
|
// --------------------------------------------------------------------------
|
|
22810
22843
|
/** Sets focus on the component. */
|
|
22811
22844
|
async setFocus() {
|
|
22812
|
-
await
|
|
22845
|
+
await componentFocusable(this);
|
|
22813
22846
|
this.handleButton?.focus();
|
|
22814
22847
|
}
|
|
22815
22848
|
// --------------------------------------------------------------------------
|
|
@@ -23129,7 +23162,7 @@ class InlineEditable {
|
|
|
23129
23162
|
//--------------------------------------------------------------------------
|
|
23130
23163
|
/** Sets focus on the component. */
|
|
23131
23164
|
async setFocus() {
|
|
23132
|
-
await
|
|
23165
|
+
await componentFocusable(this);
|
|
23133
23166
|
this.el?.focus();
|
|
23134
23167
|
}
|
|
23135
23168
|
//--------------------------------------------------------------------------
|
|
@@ -23677,7 +23710,7 @@ class Input {
|
|
|
23677
23710
|
//--------------------------------------------------------------------------
|
|
23678
23711
|
/** Sets focus on the component. */
|
|
23679
23712
|
async setFocus() {
|
|
23680
|
-
await
|
|
23713
|
+
await componentFocusable(this);
|
|
23681
23714
|
if (this.type === "number") {
|
|
23682
23715
|
this.childNumberEl?.focus();
|
|
23683
23716
|
}
|
|
@@ -23899,7 +23932,7 @@ const CSS$A = {
|
|
|
23899
23932
|
};
|
|
23900
23933
|
|
|
23901
23934
|
/*!
|
|
23902
|
-
* focus-trap 7.
|
|
23935
|
+
* focus-trap 7.5.2
|
|
23903
23936
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
23904
23937
|
*/
|
|
23905
23938
|
|
|
@@ -23984,10 +24017,10 @@ var isSelectableInput = function isSelectableInput(node) {
|
|
|
23984
24017
|
return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
|
|
23985
24018
|
};
|
|
23986
24019
|
var isEscapeEvent = function isEscapeEvent(e) {
|
|
23987
|
-
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;
|
|
23988
24021
|
};
|
|
23989
24022
|
var isTabEvent = function isTabEvent(e) {
|
|
23990
|
-
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;
|
|
23991
24024
|
};
|
|
23992
24025
|
|
|
23993
24026
|
// checks for TAB by default
|
|
@@ -24071,8 +24104,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24071
24104
|
// container: HTMLElement,
|
|
24072
24105
|
// tabbableNodes: Array<HTMLElement>, // empty if none
|
|
24073
24106
|
// focusableNodes: Array<HTMLElement>, // empty if none
|
|
24074
|
-
//
|
|
24075
|
-
//
|
|
24107
|
+
// posTabIndexesFound: boolean,
|
|
24108
|
+
// firstTabbableNode: HTMLElement|undefined,
|
|
24109
|
+
// lastTabbableNode: HTMLElement|undefined,
|
|
24110
|
+
// firstDomTabbableNode: HTMLElement|undefined,
|
|
24111
|
+
// lastDomTabbableNode: HTMLElement|undefined,
|
|
24076
24112
|
// nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
|
|
24077
24113
|
// }>}
|
|
24078
24114
|
containerGroups: [],
|
|
@@ -24089,7 +24125,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24089
24125
|
paused: false,
|
|
24090
24126
|
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
|
24091
24127
|
// has been delayed during activation
|
|
24092
|
-
delayInitialFocusTimer: undefined
|
|
24128
|
+
delayInitialFocusTimer: undefined,
|
|
24129
|
+
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
24130
|
+
recentNavEvent: undefined
|
|
24093
24131
|
};
|
|
24094
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
|
|
24095
24133
|
|
|
@@ -24108,7 +24146,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24108
24146
|
/**
|
|
24109
24147
|
* Finds the index of the container that contains the element.
|
|
24110
24148
|
* @param {HTMLElement} element
|
|
24111
|
-
* @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.
|
|
24112
24152
|
* @returns {number} Index of the container in either `state.containers` or
|
|
24113
24153
|
* `state.containerGroups` (the order/length of these lists are the same); -1
|
|
24114
24154
|
* if the element isn't found.
|
|
@@ -24203,14 +24243,41 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24203
24243
|
var tabbableNodes = tabbable(container, config.tabbableOptions);
|
|
24204
24244
|
|
|
24205
24245
|
// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
|
|
24206
|
-
// 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
|
|
24207
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
|
+
});
|
|
24208
24260
|
return {
|
|
24209
24261
|
container: container,
|
|
24210
24262
|
tabbableNodes: tabbableNodes,
|
|
24211
24263
|
focusableNodes: focusableNodes,
|
|
24212
|
-
|
|
24213
|
-
|
|
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,
|
|
24214
24281
|
/**
|
|
24215
24282
|
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
|
24216
24283
|
* in this container, if any.
|
|
@@ -24221,30 +24288,24 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24221
24288
|
*/
|
|
24222
24289
|
nextTabbableNode: function nextTabbableNode(node) {
|
|
24223
24290
|
var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
24224
|
-
|
|
24225
|
-
// from the DOM order), this __will not work__ because the list of focusableNodes,
|
|
24226
|
-
// while it contains tabbable nodes, does not sort its nodes in any order other
|
|
24227
|
-
// than DOM order, because it can't: Where would you place focusable (but not
|
|
24228
|
-
// tabbable) nodes in that order? They have no order, because they aren't tabbale...
|
|
24229
|
-
// Support for positive tabindex is already broken and hard to manage (possibly
|
|
24230
|
-
// not supportable, TBD), so this isn't going to make things worse than they
|
|
24231
|
-
// already are, and at least makes things better for the majority of cases where
|
|
24232
|
-
// tabindex is either 0/unset or negative.
|
|
24233
|
-
// FYI, positive tabindex issue: https://github.com/focus-trap/focus-trap/issues/375
|
|
24234
|
-
var nodeIdx = focusableNodes.findIndex(function (n) {
|
|
24235
|
-
return n === node;
|
|
24236
|
-
});
|
|
24291
|
+
var nodeIdx = tabbableNodes.indexOf(node);
|
|
24237
24292
|
if (nodeIdx < 0) {
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
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);
|
|
24243
24306
|
});
|
|
24244
24307
|
}
|
|
24245
|
-
return
|
|
24246
|
-
return isTabbable(n, config.tabbableOptions);
|
|
24247
|
-
});
|
|
24308
|
+
return tabbableNodes[nodeIdx + (forward ? 1 : -1)];
|
|
24248
24309
|
}
|
|
24249
24310
|
};
|
|
24250
24311
|
});
|
|
@@ -24257,6 +24318,19 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24257
24318
|
) {
|
|
24258
24319
|
throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
|
|
24259
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
|
+
}
|
|
24260
24334
|
};
|
|
24261
24335
|
var tryFocus = function tryFocus(node) {
|
|
24262
24336
|
if (node === false) {
|
|
@@ -24272,6 +24346,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24272
24346
|
node.focus({
|
|
24273
24347
|
preventScroll: !!config.preventScroll
|
|
24274
24348
|
});
|
|
24349
|
+
// NOTE: focus() API does not trigger focusIn event so set MRU node manually
|
|
24275
24350
|
state.mostRecentlyFocusedNode = node;
|
|
24276
24351
|
if (isSelectableInput(node)) {
|
|
24277
24352
|
node.select();
|
|
@@ -24282,64 +24357,23 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24282
24357
|
return node ? node : node === false ? false : previousActiveElement;
|
|
24283
24358
|
};
|
|
24284
24359
|
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24298
|
-
|
|
24299
|
-
|
|
24300
|
-
|
|
24301
|
-
|
|
24302
|
-
returnFocus: config.returnFocusOnDeactivate
|
|
24303
|
-
});
|
|
24304
|
-
return;
|
|
24305
|
-
}
|
|
24306
|
-
|
|
24307
|
-
// This is needed for mobile devices.
|
|
24308
|
-
// (If we'll only let `click` events through,
|
|
24309
|
-
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
|
24310
|
-
if (valueOrHandler(config.allowOutsideClick, e)) {
|
|
24311
|
-
// allow the click outside the trap to take place
|
|
24312
|
-
return;
|
|
24313
|
-
}
|
|
24314
|
-
|
|
24315
|
-
// otherwise, prevent the click
|
|
24316
|
-
e.preventDefault();
|
|
24317
|
-
};
|
|
24318
|
-
|
|
24319
|
-
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
24320
|
-
var checkFocusIn = function checkFocusIn(e) {
|
|
24321
|
-
var target = getActualTarget(e);
|
|
24322
|
-
var targetContained = findContainerIndex(target, e) >= 0;
|
|
24323
|
-
|
|
24324
|
-
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
24325
|
-
if (targetContained || target instanceof Document) {
|
|
24326
|
-
if (targetContained) {
|
|
24327
|
-
state.mostRecentlyFocusedNode = target;
|
|
24328
|
-
}
|
|
24329
|
-
} else {
|
|
24330
|
-
// escaped! pull it back in to where it just left
|
|
24331
|
-
e.stopImmediatePropagation();
|
|
24332
|
-
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
|
24333
|
-
}
|
|
24334
|
-
};
|
|
24335
|
-
|
|
24336
|
-
// Hijack key nav events on the first and last focusable nodes of the trap,
|
|
24337
|
-
// in order to prevent focus from escaping. If it escapes for even a
|
|
24338
|
-
// moment it can end up scrolling the page and causing confusion so we
|
|
24339
|
-
// kind of need to capture the action at the keydown phase.
|
|
24340
|
-
var checkKeyNav = function checkKeyNav(event) {
|
|
24341
|
-
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24342
|
-
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);
|
|
24343
24377
|
updateTabbableNodes();
|
|
24344
24378
|
var destinationNode = null;
|
|
24345
24379
|
if (state.tabbableGroups.length > 0) {
|
|
@@ -24362,8 +24396,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24362
24396
|
// REVERSE
|
|
24363
24397
|
|
|
24364
24398
|
// is the target the first tabbable node in a group?
|
|
24365
|
-
var startOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24366
|
-
var firstTabbableNode =
|
|
24399
|
+
var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
|
|
24400
|
+
var firstTabbableNode = _ref3.firstTabbableNode;
|
|
24367
24401
|
return target === firstTabbableNode;
|
|
24368
24402
|
});
|
|
24369
24403
|
if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
|
|
@@ -24381,7 +24415,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24381
24415
|
// the LAST group if it's the first tabbable node of the FIRST group)
|
|
24382
24416
|
var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
|
|
24383
24417
|
var destinationGroup = state.tabbableGroups[destinationGroupIndex];
|
|
24384
|
-
destinationNode = destinationGroup.lastTabbableNode;
|
|
24418
|
+
destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;
|
|
24385
24419
|
} else if (!isTabEvent(event)) {
|
|
24386
24420
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24387
24421
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24391,8 +24425,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24391
24425
|
// FORWARD
|
|
24392
24426
|
|
|
24393
24427
|
// is the target the last tabbable node in a group?
|
|
24394
|
-
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24395
|
-
var lastTabbableNode =
|
|
24428
|
+
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref4) {
|
|
24429
|
+
var lastTabbableNode = _ref4.lastTabbableNode;
|
|
24396
24430
|
return target === lastTabbableNode;
|
|
24397
24431
|
});
|
|
24398
24432
|
if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
|
|
@@ -24410,7 +24444,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24410
24444
|
// group if it's the last tabbable node of the LAST group)
|
|
24411
24445
|
var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
|
|
24412
24446
|
var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
|
|
24413
|
-
destinationNode = _destinationGroup.firstTabbableNode;
|
|
24447
|
+
destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;
|
|
24414
24448
|
} else if (!isTabEvent(event)) {
|
|
24415
24449
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24416
24450
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24422,6 +24456,153 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24422
24456
|
// NOTE: the fallbackFocus option does not support returning false to opt-out
|
|
24423
24457
|
destinationNode = getNodeForOption('fallbackFocus');
|
|
24424
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
|
+
});
|
|
24425
24606
|
if (destinationNode) {
|
|
24426
24607
|
if (isTabEvent(event)) {
|
|
24427
24608
|
// since tab natively moves focus, we wouldn't have a destination node unless we
|
|
@@ -25074,7 +25255,7 @@ class InputDatePicker {
|
|
|
25074
25255
|
// --------------------------------------------------------------------------
|
|
25075
25256
|
/** Sets focus on the component. */
|
|
25076
25257
|
async setFocus() {
|
|
25077
|
-
await
|
|
25258
|
+
await componentFocusable(this);
|
|
25078
25259
|
this.el.focus();
|
|
25079
25260
|
}
|
|
25080
25261
|
/**
|
|
@@ -25876,7 +26057,7 @@ class InputNumber {
|
|
|
25876
26057
|
//--------------------------------------------------------------------------
|
|
25877
26058
|
/** Sets focus on the component. */
|
|
25878
26059
|
async setFocus() {
|
|
25879
|
-
await
|
|
26060
|
+
await componentFocusable(this);
|
|
25880
26061
|
this.childNumberEl?.focus();
|
|
25881
26062
|
}
|
|
25882
26063
|
/** Selects the text of the component's `value`. */
|
|
@@ -26292,7 +26473,7 @@ class InputText {
|
|
|
26292
26473
|
//--------------------------------------------------------------------------
|
|
26293
26474
|
/** Sets focus on the component. */
|
|
26294
26475
|
async setFocus() {
|
|
26295
|
-
await
|
|
26476
|
+
await componentFocusable(this);
|
|
26296
26477
|
this.childEl?.focus();
|
|
26297
26478
|
}
|
|
26298
26479
|
/** Selects the text of the component's `value`. */
|
|
@@ -28088,7 +28269,7 @@ class InputTimePicker {
|
|
|
28088
28269
|
// --------------------------------------------------------------------------
|
|
28089
28270
|
/** Sets focus on the component. */
|
|
28090
28271
|
async setFocus() {
|
|
28091
|
-
await
|
|
28272
|
+
await componentFocusable(this);
|
|
28092
28273
|
this.el.focus();
|
|
28093
28274
|
}
|
|
28094
28275
|
/**
|
|
@@ -28457,7 +28638,7 @@ class Link {
|
|
|
28457
28638
|
//--------------------------------------------------------------------------
|
|
28458
28639
|
/** Sets focus on the component. */
|
|
28459
28640
|
async setFocus() {
|
|
28460
|
-
await
|
|
28641
|
+
await componentFocusable(this);
|
|
28461
28642
|
focusElement(this.childEl);
|
|
28462
28643
|
}
|
|
28463
28644
|
get el() { return getElement(this); }
|
|
@@ -28810,7 +28991,7 @@ class List$1 {
|
|
|
28810
28991
|
// --------------------------------------------------------------------------
|
|
28811
28992
|
/** Sets focus on the component's first focusable element. */
|
|
28812
28993
|
async setFocus() {
|
|
28813
|
-
await
|
|
28994
|
+
await componentFocusable(this);
|
|
28814
28995
|
this.enabledListItems.find((listItem) => listItem.active)?.setFocus();
|
|
28815
28996
|
}
|
|
28816
28997
|
// --------------------------------------------------------------------------
|
|
@@ -29120,7 +29301,7 @@ class ListItem {
|
|
|
29120
29301
|
// --------------------------------------------------------------------------
|
|
29121
29302
|
/** Sets focus on the component. */
|
|
29122
29303
|
async setFocus() {
|
|
29123
|
-
await
|
|
29304
|
+
await componentFocusable(this);
|
|
29124
29305
|
const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
|
|
29125
29306
|
const focusIndex = focusMap.get(parentListEl);
|
|
29126
29307
|
if (typeof focusIndex === "number") {
|
|
@@ -29683,7 +29864,7 @@ class Modal {
|
|
|
29683
29864
|
*
|
|
29684
29865
|
*/
|
|
29685
29866
|
async setFocus() {
|
|
29686
|
-
await
|
|
29867
|
+
await componentFocusable(this);
|
|
29687
29868
|
focusFirstTabbable(this.el);
|
|
29688
29869
|
}
|
|
29689
29870
|
/**
|
|
@@ -29897,7 +30078,7 @@ class Notice {
|
|
|
29897
30078
|
//--------------------------------------------------------------------------
|
|
29898
30079
|
/** Sets focus on the component's first focusable element. */
|
|
29899
30080
|
async setFocus() {
|
|
29900
|
-
await
|
|
30081
|
+
await componentFocusable(this);
|
|
29901
30082
|
const noticeLinkEl = this.el.querySelector("calcite-link");
|
|
29902
30083
|
if (!this.closeButton && !noticeLinkEl) {
|
|
29903
30084
|
return;
|
|
@@ -30144,7 +30325,7 @@ class Pagination {
|
|
|
30144
30325
|
// --------------------------------------------------------------------------
|
|
30145
30326
|
/** Sets focus on the component's first focusable element. */
|
|
30146
30327
|
async setFocus() {
|
|
30147
|
-
await
|
|
30328
|
+
await componentFocusable(this);
|
|
30148
30329
|
this.el.focus();
|
|
30149
30330
|
}
|
|
30150
30331
|
/** Go to the next page of results. */
|
|
@@ -30458,7 +30639,7 @@ class Panel {
|
|
|
30458
30639
|
* Sets focus on the component's first focusable element.
|
|
30459
30640
|
*/
|
|
30460
30641
|
async setFocus() {
|
|
30461
|
-
await
|
|
30642
|
+
await componentFocusable(this);
|
|
30462
30643
|
focusFirstTabbable(this.containerEl);
|
|
30463
30644
|
}
|
|
30464
30645
|
/**
|
|
@@ -31048,7 +31229,7 @@ class PickList {
|
|
|
31048
31229
|
* @param focusId
|
|
31049
31230
|
*/
|
|
31050
31231
|
async setFocus(focusId) {
|
|
31051
|
-
await
|
|
31232
|
+
await componentFocusable(this);
|
|
31052
31233
|
return setFocus.call(this, focusId);
|
|
31053
31234
|
}
|
|
31054
31235
|
// --------------------------------------------------------------------------
|
|
@@ -31293,7 +31474,7 @@ class PickListItem {
|
|
|
31293
31474
|
}
|
|
31294
31475
|
/** Sets focus on the component. */
|
|
31295
31476
|
async setFocus() {
|
|
31296
|
-
await
|
|
31477
|
+
await componentFocusable(this);
|
|
31297
31478
|
this.focusEl?.focus();
|
|
31298
31479
|
}
|
|
31299
31480
|
// --------------------------------------------------------------------------
|
|
@@ -31615,7 +31796,7 @@ class Popover {
|
|
|
31615
31796
|
this.effectiveReferenceElement = undefined;
|
|
31616
31797
|
this.defaultMessages = undefined;
|
|
31617
31798
|
}
|
|
31618
|
-
|
|
31799
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
31619
31800
|
if (!this.open) {
|
|
31620
31801
|
return;
|
|
31621
31802
|
}
|
|
@@ -31715,7 +31896,7 @@ class Popover {
|
|
|
31715
31896
|
* Sets focus on the component's first focusable element.
|
|
31716
31897
|
*/
|
|
31717
31898
|
async setFocus() {
|
|
31718
|
-
await
|
|
31899
|
+
await componentFocusable(this);
|
|
31719
31900
|
forceUpdate$1(this.el);
|
|
31720
31901
|
focusFirstTabbable(this.el);
|
|
31721
31902
|
}
|
|
@@ -31781,7 +31962,7 @@ class Popover {
|
|
|
31781
31962
|
static get assetsDirs() { return ["assets"]; }
|
|
31782
31963
|
get el() { return getElement(this); }
|
|
31783
31964
|
static get watchers() { return {
|
|
31784
|
-
"focusTrapDisabled": ["
|
|
31965
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
31785
31966
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
31786
31967
|
"messageOverrides": ["onMessagesChange"],
|
|
31787
31968
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
@@ -32005,7 +32186,7 @@ class RadioButton {
|
|
|
32005
32186
|
//--------------------------------------------------------------------------
|
|
32006
32187
|
/** Sets focus on the component. */
|
|
32007
32188
|
async setFocus() {
|
|
32008
|
-
await
|
|
32189
|
+
await componentFocusable(this);
|
|
32009
32190
|
if (!this.disabled) {
|
|
32010
32191
|
focusElement(this.containerEl);
|
|
32011
32192
|
}
|
|
@@ -32265,7 +32446,7 @@ class RadioButtonGroup {
|
|
|
32265
32446
|
//--------------------------------------------------------------------------
|
|
32266
32447
|
/** Sets focus on the fist focusable `calcite-radio-button` element in the component. */
|
|
32267
32448
|
async setFocus() {
|
|
32268
|
-
await
|
|
32449
|
+
await componentFocusable(this);
|
|
32269
32450
|
if (this.selectedItem && !this.selectedItem.disabled) {
|
|
32270
32451
|
this.selectedItem.setFocus();
|
|
32271
32452
|
return;
|
|
@@ -32547,7 +32728,7 @@ class Rating {
|
|
|
32547
32728
|
//--------------------------------------------------------------------------
|
|
32548
32729
|
/** Sets focus on the component. */
|
|
32549
32730
|
async setFocus() {
|
|
32550
|
-
await
|
|
32731
|
+
await componentFocusable(this);
|
|
32551
32732
|
this.inputFocusRef?.focus();
|
|
32552
32733
|
}
|
|
32553
32734
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -32841,7 +33022,7 @@ class SegmentedControl {
|
|
|
32841
33022
|
// --------------------------------------------------------------------------
|
|
32842
33023
|
/** Sets focus on the component. */
|
|
32843
33024
|
async setFocus() {
|
|
32844
|
-
await
|
|
33025
|
+
await componentFocusable(this);
|
|
32845
33026
|
(this.selectedItem || this.getItems()[0])?.focus();
|
|
32846
33027
|
}
|
|
32847
33028
|
//--------------------------------------------------------------------------
|
|
@@ -33060,7 +33241,7 @@ class Select {
|
|
|
33060
33241
|
//--------------------------------------------------------------------------
|
|
33061
33242
|
/** Sets focus on the component. */
|
|
33062
33243
|
async setFocus() {
|
|
33063
|
-
await
|
|
33244
|
+
await componentFocusable(this);
|
|
33064
33245
|
focusElement(this.selectEl);
|
|
33065
33246
|
}
|
|
33066
33247
|
handleOptionOrGroupChange(event) {
|
|
@@ -34274,7 +34455,7 @@ class Slider {
|
|
|
34274
34455
|
//--------------------------------------------------------------------------
|
|
34275
34456
|
/** Sets focus on the component. */
|
|
34276
34457
|
async setFocus() {
|
|
34277
|
-
await
|
|
34458
|
+
await componentFocusable(this);
|
|
34278
34459
|
const handle = this.minHandle ? this.minHandle : this.maxHandle;
|
|
34279
34460
|
handle?.focus();
|
|
34280
34461
|
}
|
|
@@ -37965,7 +38146,7 @@ class SplitButton {
|
|
|
37965
38146
|
//--------------------------------------------------------------------------
|
|
37966
38147
|
/** Sets focus on the component's first focusable element. */
|
|
37967
38148
|
async setFocus() {
|
|
37968
|
-
await
|
|
38149
|
+
await componentFocusable(this);
|
|
37969
38150
|
this.el.focus();
|
|
37970
38151
|
}
|
|
37971
38152
|
//--------------------------------------------------------------------------
|
|
@@ -38481,7 +38662,7 @@ class StepperItem {
|
|
|
38481
38662
|
//--------------------------------------------------------------------------
|
|
38482
38663
|
/** Sets focus on the component. */
|
|
38483
38664
|
async setFocus() {
|
|
38484
|
-
await
|
|
38665
|
+
await componentFocusable(this);
|
|
38485
38666
|
(this.layout === "vertical" ? this.el : this.headerEl)?.focus();
|
|
38486
38667
|
}
|
|
38487
38668
|
renderIcon() {
|
|
@@ -38581,7 +38762,7 @@ class Switch {
|
|
|
38581
38762
|
//--------------------------------------------------------------------------
|
|
38582
38763
|
/** Sets focus on the component. */
|
|
38583
38764
|
async setFocus() {
|
|
38584
|
-
await
|
|
38765
|
+
await componentFocusable(this);
|
|
38585
38766
|
focusElement(this.switchEl);
|
|
38586
38767
|
}
|
|
38587
38768
|
//--------------------------------------------------------------------------
|
|
@@ -39595,7 +39776,7 @@ class TextArea {
|
|
|
39595
39776
|
//--------------------------------------------------------------------------
|
|
39596
39777
|
/** Sets focus on the component. */
|
|
39597
39778
|
async setFocus() {
|
|
39598
|
-
await
|
|
39779
|
+
await componentFocusable(this);
|
|
39599
39780
|
this.textAreaEl.focus();
|
|
39600
39781
|
}
|
|
39601
39782
|
/** Selects the text of the component's `value`. */
|
|
@@ -39832,7 +40013,7 @@ class TileSelect {
|
|
|
39832
40013
|
//--------------------------------------------------------------------------
|
|
39833
40014
|
/** Sets focus on the component. */
|
|
39834
40015
|
async setFocus() {
|
|
39835
|
-
await
|
|
40016
|
+
await componentFocusable(this);
|
|
39836
40017
|
this.input?.setFocus();
|
|
39837
40018
|
}
|
|
39838
40019
|
//--------------------------------------------------------------------------
|
|
@@ -40538,7 +40719,7 @@ class TimePicker {
|
|
|
40538
40719
|
* Sets focus on the component's first focusable element.
|
|
40539
40720
|
*/
|
|
40540
40721
|
async setFocus() {
|
|
40541
|
-
await
|
|
40722
|
+
await componentFocusable(this);
|
|
40542
40723
|
this.el?.focus();
|
|
40543
40724
|
}
|
|
40544
40725
|
// --------------------------------------------------------------------------
|
|
@@ -40550,7 +40731,7 @@ class TimePicker {
|
|
|
40550
40731
|
this.showSecond = this.step < 60;
|
|
40551
40732
|
}
|
|
40552
40733
|
async focusPart(target) {
|
|
40553
|
-
await
|
|
40734
|
+
await componentFocusable(this);
|
|
40554
40735
|
this[`${target || "hour"}El`]?.focus();
|
|
40555
40736
|
}
|
|
40556
40737
|
buttonActivated(event) {
|
|
@@ -42344,7 +42525,7 @@ class ValueList {
|
|
|
42344
42525
|
* @param focusId
|
|
42345
42526
|
*/
|
|
42346
42527
|
async setFocus(focusId) {
|
|
42347
|
-
await
|
|
42528
|
+
await componentFocusable(this);
|
|
42348
42529
|
return setFocus.call(this, focusId);
|
|
42349
42530
|
}
|
|
42350
42531
|
// --------------------------------------------------------------------------
|
|
@@ -42504,7 +42685,7 @@ class ValueListItem {
|
|
|
42504
42685
|
}
|
|
42505
42686
|
/** Set focus on the component. */
|
|
42506
42687
|
async setFocus() {
|
|
42507
|
-
await
|
|
42688
|
+
await componentFocusable(this);
|
|
42508
42689
|
this.pickListItem?.setFocus();
|
|
42509
42690
|
}
|
|
42510
42691
|
calciteListItemChangeHandler(event) {
|