@esri/calcite-components 1.5.0-next.15 → 1.5.0-next.17
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/assets/combobox/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/handle/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/handle/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/handle/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/handle/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ar.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_bg.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_bs.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_ca.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_cs.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_da.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_de.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_el.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_es.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_et.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_fi.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_fr.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_he.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_hr.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_hu.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_id.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_it.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_ja.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_ko.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_lt.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_lv.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_nl.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_no.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_pl.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_pt-BR.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_pt-PT.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_ro.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_ru.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_sk.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_sl.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_sr.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_sv.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_th.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_tr.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_uk.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_vi.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-CN.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-HK.json +2 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-TW.json +2 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-4247586f.js → p-03049b55.js} +2 -2
- package/dist/calcite/p-033f6002.entry.js +6 -0
- package/dist/calcite/{p-f10ab425.js → p-03b11cd1.js} +2 -2
- package/dist/calcite/{p-14de5229.js → p-046b4d97.js} +2 -2
- package/dist/calcite/{p-83dae2d9.js → p-0628a6aa.js} +2 -2
- package/dist/calcite/{p-6ead7dcf.js → p-06c4769c.js} +2 -2
- package/dist/calcite/{p-4d27a4f8.entry.js → p-078750b8.entry.js} +2 -2
- package/dist/calcite/{p-78b237c6.entry.js → p-084b2c93.entry.js} +2 -2
- package/dist/calcite/p-094434a9.entry.js +6 -0
- package/dist/calcite/{p-c51415e0.js → p-09652aad.js} +2 -2
- package/dist/calcite/{p-b8f21cae.js → p-0a03061e.js} +2 -2
- package/dist/calcite/{p-8fe8e430.entry.js → p-0b339ef7.entry.js} +2 -2
- package/dist/calcite/{p-8727fa0d.js → p-0cdedaeb.js} +2 -2
- package/dist/calcite/{p-6c27b7a7.js → p-0d3a67fd.js} +2 -2
- package/dist/calcite/{p-c4a55372.entry.js → p-0e4fbf23.entry.js} +2 -2
- package/dist/calcite/{p-1329e930.js → p-0e80ba07.js} +2 -2
- package/dist/calcite/p-0fc7c47a.entry.js +6 -0
- package/dist/calcite/{p-9d649373.entry.js → p-10c67531.entry.js} +2 -2
- package/dist/calcite/{p-3831c0ad.js → p-121253f2.js} +1 -1
- package/dist/calcite/p-16c04aad.js +6 -0
- package/dist/calcite/{p-365471bc.js → p-1803e66c.js} +2 -2
- package/dist/calcite/{p-c6e86b1b.entry.js → p-1884bfd0.entry.js} +2 -2
- package/dist/calcite/p-1c403466.entry.js +6 -0
- package/dist/calcite/{p-d25bbb5b.js → p-1fc2fd12.js} +2 -2
- package/dist/calcite/p-1fe48867.js +6 -0
- package/dist/calcite/p-204eb87c.js +10 -0
- package/dist/calcite/{p-bb42e051.entry.js → p-2163017d.entry.js} +2 -2
- package/dist/calcite/{p-53bf8fc1.entry.js → p-236b99c7.entry.js} +2 -2
- package/dist/calcite/{p-c6e20443.js → p-24de342e.js} +1 -1
- package/dist/calcite/{p-98f78209.entry.js → p-27548323.entry.js} +2 -2
- package/dist/calcite/p-28d7611a.entry.js +6 -0
- package/dist/calcite/{p-79718851.js → p-291bca2f.js} +1 -1
- package/dist/calcite/{p-85f44bdb.entry.js → p-2b87a967.entry.js} +2 -2
- package/dist/calcite/{p-cdb6721b.js → p-2bd92028.js} +2 -2
- package/dist/calcite/{p-70c0c997.js → p-2dc98c56.js} +2 -2
- package/dist/calcite/{p-0a156629.js → p-2ebd5a5a.js} +2 -2
- package/dist/calcite/{p-9c3316e9.js → p-32529625.js} +2 -2
- package/dist/calcite/{p-ca7e2953.entry.js → p-352c661e.entry.js} +2 -2
- package/dist/calcite/{p-b4794a6b.entry.js → p-361c7504.entry.js} +2 -2
- package/dist/calcite/{p-c84980a0.entry.js → p-36afcfc7.entry.js} +2 -2
- package/dist/calcite/{p-e98ed72b.entry.js → p-37ea7ed4.entry.js} +2 -2
- package/dist/calcite/p-3946cff5.entry.js +6 -0
- package/dist/calcite/{p-bfa3bef2.js → p-396c9281.js} +1 -1
- package/dist/calcite/{p-2bdfcbb5.js → p-39a97ce7.js} +2 -2
- package/dist/calcite/p-3d6d33d8.js +11 -0
- package/dist/calcite/{p-cc8b3326.entry.js → p-3fc46ba0.entry.js} +2 -2
- package/dist/calcite/{p-5a9b0a07.entry.js → p-45a99e02.entry.js} +2 -2
- package/dist/calcite/{p-bb4e2cf3.js → p-45eb7ca2.js} +1 -1
- package/dist/calcite/{p-c0c6ab36.js → p-4a557e4e.js} +2 -2
- package/dist/calcite/p-4b97afc0.entry.js +6 -0
- package/dist/calcite/{p-339e0895.js → p-4bb851f0.js} +2 -2
- package/dist/calcite/{p-51088c94.js → p-4e32834a.js} +2 -2
- package/dist/calcite/{p-aa7f2273.js → p-4f3062e9.js} +2 -2
- package/dist/calcite/{p-62d906d2.entry.js → p-4f5aa1e1.entry.js} +2 -2
- package/dist/calcite/p-5c67fe26.entry.js +6 -0
- package/dist/calcite/{p-89520e04.entry.js → p-5ea521f3.entry.js} +2 -2
- package/dist/calcite/{p-ffe6faf6.js → p-67c3c53e.js} +2 -2
- package/dist/calcite/{p-3ea89ec8.js → p-69906f21.js} +2 -2
- package/dist/calcite/p-6a4f215b.entry.js +6 -0
- package/dist/calcite/{p-b99d3eeb.entry.js → p-6dfe1e62.entry.js} +2 -2
- package/dist/calcite/{p-4aed4fe7.js → p-6ec107c7.js} +2 -2
- package/dist/calcite/{p-82a54778.js → p-6f4a105b.js} +2 -2
- package/dist/calcite/{p-891031a7.js → p-6fb7b863.js} +2 -2
- package/dist/calcite/{p-e1ae9b3e.js → p-71e2ad01.js} +2 -2
- package/dist/calcite/p-737a3973.entry.js +6 -0
- package/dist/calcite/{p-7743d522.entry.js → p-774813bf.entry.js} +2 -2
- package/dist/calcite/{p-796ea772.js → p-77e7cfda.js} +2 -2
- package/dist/calcite/{p-f291155a.entry.js → p-7a384e1d.entry.js} +2 -2
- package/dist/calcite/{p-e1e7c48d.entry.js → p-7eeca958.entry.js} +2 -2
- package/dist/calcite/{p-e79f344a.js → p-8083ecb6.js} +1 -1
- package/dist/calcite/p-81b0991e.js +6 -0
- package/dist/calcite/{p-28b4fa4d.js → p-81eba368.js} +2 -2
- package/dist/calcite/p-82257e1b.entry.js +6 -0
- package/dist/calcite/{p-f590e725.entry.js → p-83744790.entry.js} +2 -2
- package/dist/calcite/{p-d3f72264.js → p-84cafc08.js} +1 -1
- package/dist/calcite/{p-ea18a32c.entry.js → p-84f37d5c.entry.js} +2 -2
- package/dist/calcite/p-888d3521.entry.js +6 -0
- package/dist/calcite/p-8b49b41a.entry.js +6 -0
- package/dist/calcite/{p-e61308b7.js → p-8c81fcb1.js} +2 -2
- package/dist/calcite/{p-a599e2e6.js → p-8dab5d78.js} +2 -2
- package/dist/calcite/{p-74fc4adf.entry.js → p-8f2579c0.entry.js} +2 -2
- package/dist/calcite/{p-e2065c8b.js → p-91a73e88.js} +2 -2
- package/dist/calcite/{p-50ce18aa.js → p-9340f376.js} +2 -2
- package/dist/calcite/{p-ab10fc07.js → p-961ca660.js} +2 -2
- package/dist/calcite/{p-6a0ad1af.js → p-97a5f1cf.js} +1 -1
- package/dist/calcite/{p-a2302a87.entry.js → p-9a5ebf78.entry.js} +2 -2
- package/dist/calcite/{p-67487508.entry.js → p-9b4573c0.entry.js} +2 -2
- package/dist/calcite/p-9d189b1c.js +6 -0
- package/dist/calcite/{p-2c28ea63.entry.js → p-a001337b.entry.js} +2 -2
- package/dist/calcite/{p-1de4ad76.js → p-a3d7b1ad.js} +2 -2
- package/dist/calcite/{p-bb95aa7c.js → p-a60446b6.js} +1 -1
- package/dist/calcite/p-a62f5aae.entry.js +6 -0
- package/dist/calcite/{p-d9e65708.js → p-a6ec2a82.js} +2 -2
- package/dist/calcite/{p-eb75a868.js → p-a9af0218.js} +1 -1
- package/dist/calcite/p-aac8ec6d.entry.js +6 -0
- package/dist/calcite/{p-3eff8cf9.js → p-ab3eb988.js} +2 -2
- package/dist/calcite/p-ab5649ba.entry.js +6 -0
- package/dist/calcite/{p-a83a6a68.entry.js → p-ad5f4729.entry.js} +2 -2
- package/dist/calcite/{p-a80ba443.entry.js → p-b0ab86d1.entry.js} +2 -2
- package/dist/calcite/{p-85add404.js → p-b4184b03.js} +2 -2
- package/dist/calcite/{p-394e0a3d.entry.js → p-b61f7210.entry.js} +2 -2
- package/dist/calcite/{p-ed6fb896.entry.js → p-b6dc3108.entry.js} +2 -2
- package/dist/calcite/{p-f23ce6b0.entry.js → p-b7298d05.entry.js} +2 -2
- package/dist/calcite/{p-98216ab4.js → p-b799401e.js} +2 -2
- package/dist/calcite/{p-16d98fe1.js → p-b824105a.js} +2 -2
- package/dist/calcite/{p-2f3593a6.entry.js → p-bc032034.entry.js} +2 -2
- package/dist/calcite/{p-14822775.js → p-bc9c9df6.js} +2 -2
- package/dist/calcite/{p-973bf6dc.js → p-bd482b43.js} +2 -2
- package/dist/calcite/{p-3bcf37f2.js → p-c042f89f.js} +2 -2
- package/dist/calcite/{p-94270daa.entry.js → p-c0b5e6a5.entry.js} +2 -2
- package/dist/calcite/{p-5e55829c.js → p-c1e6d0c2.js} +1 -1
- package/dist/calcite/p-c2a35230.js +6 -0
- package/dist/calcite/{p-7ff7a7b4.js → p-c356bd39.js} +2 -2
- package/dist/calcite/{p-61727255.js → p-c3934691.js} +2 -2
- package/dist/calcite/{p-0da86f8e.js → p-c42ec56b.js} +2 -2
- package/dist/calcite/{p-ec365af6.js → p-c713badb.js} +2 -2
- package/dist/calcite/{p-40e82de4.js → p-c8e31d43.js} +1 -1
- package/dist/calcite/{p-3b3fefe8.js → p-c97b38d4.js} +2 -2
- package/dist/calcite/{p-957d14bc.js → p-ca519440.js} +2 -2
- package/dist/calcite/{p-42679d36.js → p-cc364275.js} +2 -2
- package/dist/calcite/{p-e67e5247.js → p-ccb977c5.js} +2 -2
- package/dist/calcite/{p-2066081d.entry.js → p-cd38c225.entry.js} +2 -2
- package/dist/calcite/{p-2946dfc3.js → p-cd45dfc0.js} +2 -2
- package/dist/calcite/{p-5b62b3dd.entry.js → p-d0010189.entry.js} +2 -2
- package/dist/calcite/{p-a5321fa2.entry.js → p-d2243c35.entry.js} +2 -2
- package/dist/calcite/{p-be35b9de.js → p-d274365d.js} +2 -2
- package/dist/calcite/{p-8ce1603d.js → p-d29daafe.js} +2 -2
- package/dist/calcite/{p-7cb529ee.entry.js → p-d5624f36.entry.js} +2 -2
- package/dist/calcite/{p-504aa264.js → p-d9871422.js} +2 -2
- package/dist/calcite/{p-ec9bf581.entry.js → p-df72d88f.entry.js} +2 -2
- package/dist/calcite/p-dfd06f03.entry.js +6 -0
- package/dist/calcite/{p-d7568f09.js → p-e02cca88.js} +2 -2
- package/dist/calcite/{p-29bae5a7.js → p-e053f90c.js} +2 -2
- package/dist/calcite/{p-89380209.js → p-e0ff8b01.js} +2 -2
- package/dist/calcite/{p-7af7930f.js → p-e52aba82.js} +2 -2
- package/dist/calcite/{p-ba7b1f50.entry.js → p-e536f28e.entry.js} +2 -2
- package/dist/calcite/{p-8cda9789.js → p-e870681c.js} +1 -1
- package/dist/calcite/{p-cabe0db3.entry.js → p-ea729ed8.entry.js} +2 -2
- package/dist/calcite/{p-0b9f0545.js → p-ece4b037.js} +1 -1
- package/dist/calcite/{p-9718b2aa.entry.js → p-f2349fac.entry.js} +2 -2
- package/dist/calcite/{p-7d9c2de3.entry.js → p-f3b28a73.entry.js} +2 -2
- package/dist/calcite/p-f55cf920.entry.js +6 -0
- package/dist/calcite/{p-df19e5a6.js → p-f5ea8820.js} +2 -2
- package/dist/calcite/{p-9448daca.entry.js → p-f6f721e8.entry.js} +2 -2
- package/dist/calcite/{p-5182966e.entry.js → p-f8cd3cd0.entry.js} +2 -2
- package/dist/calcite/{p-adfb75f0.entry.js → p-fb6a96d2.entry.js} +2 -2
- package/dist/calcite/{p-1a205c69.js → p-fe9d76ec.js} +2 -2
- package/dist/calcite/{p-cb43528e.js → p-feb6c2aa.js} +2 -2
- package/dist/calcite/{p-14f4427f.js → p-fef6023f.js} +1 -1
- package/dist/cjs/{ExpandToggle-6a6ddfda.js → ExpandToggle-8dc494a6.js} +5 -5
- package/dist/cjs/{FloatingArrow-104a947e.js → FloatingArrow-c8df58fd.js} +2 -2
- package/dist/cjs/{Heading-948797a5.js → Heading-a4b63efd.js} +2 -2
- package/dist/cjs/{app-globals-7ff8b9ee.js → app-globals-b34da141.js} +2 -2
- package/dist/cjs/{ar-2dacd06d.js → ar-55313aa9.js} +15 -15
- package/dist/cjs/{array-b5733d6c.js → array-abd9ab0a.js} +1 -1
- package/dist/cjs/{bg-a1533fc9.js → bg-0bada2e0.js} +15 -15
- package/dist/cjs/{bs-cc7275a7.js → bs-104e4198.js} +15 -15
- package/dist/cjs/{ca-7bdb5b5f.js → ca-c2cdc9ee.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +43 -55
- 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 +11 -11
- 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 +14 -14
- 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 +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-35278340.js → calcite-input-time-picker.calcite-time-picker-6f6b56f0.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 +16 -16
- 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 +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- 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 +7 -8
- 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 +7 -7
- 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 +19 -19
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-474bd83c.js → conditionalSlot-a3b47138.js} +3 -3
- package/dist/cjs/{cs-1d3217eb.js → cs-a61c4e2f.js} +15 -15
- package/dist/cjs/{da-9da86653.js → da-456d3a8f.js} +15 -15
- package/dist/cjs/{de-at-aaa98737.js → de-at-8998d1c5.js} +15 -15
- package/dist/cjs/{de-529ba369.js → de-c0bd20be.js} +15 -15
- package/dist/cjs/{de-ch-51f12016.js → de-ch-2674f195.js} +15 -15
- package/dist/cjs/{debounce-307620a2.js → debounce-58a03d82.js} +1 -1
- package/dist/cjs/{dom-7b019103.js → dom-654dd70f.js} +51 -18
- package/dist/cjs/{el-dc2f9778.js → el-5c0ace5e.js} +15 -15
- package/dist/cjs/{en-au-fff7254c.js → en-au-35c83270.js} +15 -15
- package/dist/cjs/{en-ca-5820e694.js → en-ca-74a4ce6c.js} +15 -15
- package/dist/cjs/{en-gb-0cb93d22.js → en-gb-f29e7f23.js} +15 -15
- package/dist/cjs/{es-edae7d56.js → es-0fac044f.js} +15 -15
- package/dist/cjs/{es-mx-3fa5b7af.js → es-mx-b94bbba0.js} +15 -15
- package/dist/cjs/{et-73572bb8.js → et-3ad66e11.js} +15 -15
- package/dist/cjs/{fi-dba7f728.js → fi-4094b530.js} +15 -15
- package/dist/cjs/{filter-fa7ae151.js → filter-d3cc51a6.js} +2 -2
- package/dist/cjs/{floating-ui-c37129b0.js → floating-ui-f6563e2b.js} +3 -3
- package/dist/cjs/{focusTrapComponent-1a32592d.js → focusTrapComponent-82aca224.js} +245 -97
- package/dist/cjs/{form-5b9ca83a.js → form-5c4b64bc.js} +3 -3
- package/dist/cjs/{fr-ch-9f133307.js → fr-ch-f6fa1abf.js} +15 -15
- package/dist/cjs/{fr-c2719a24.js → fr-e7575adf.js} +15 -15
- package/dist/cjs/{guid-7ba42060.js → guid-278c849d.js} +1 -1
- package/dist/cjs/{he-0e5bdbe4.js → he-c9717637.js} +15 -15
- package/dist/cjs/{hi-50ef5e53.js → hi-6e87da2c.js} +15 -15
- package/dist/cjs/{hr-48a07109.js → hr-e60011ba.js} +15 -15
- package/dist/cjs/{hu-91ee9eee.js → hu-8863b2f3.js} +15 -15
- package/dist/cjs/{id-f360e981.js → id-07cd9e86.js} +15 -15
- package/dist/cjs/{index-283585a6.js → index-fb5fa69a.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-df232955.js → interactive-27105bb0.js} +1 -1
- package/dist/cjs/{it-69ac23f8.js → it-3e557d93.js} +15 -15
- package/dist/cjs/{it-ch-8610abec.js → it-ch-92fe2df7.js} +15 -15
- package/dist/cjs/{ja-a94f23d6.js → ja-c1d3291a.js} +15 -15
- package/dist/cjs/{key-89a40014.js → key-909f33ad.js} +1 -1
- package/dist/cjs/{ko-290be2a9.js → ko-cfb05b14.js} +15 -15
- package/dist/cjs/{label-5480e0de.js → label-015ee892.js} +2 -2
- package/dist/cjs/{loadable-882ce43e.js → loadable-69fcc8a9.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-ac402c5e.js → locale-91602154.js} +4 -4
- package/dist/cjs/{lt-1679697a.js → lt-72177862.js} +15 -15
- package/dist/cjs/{lv-42b144ea.js → lv-617d8f50.js} +15 -15
- package/dist/cjs/{math-61ca29d2.js → math-30ab3e29.js} +1 -1
- package/dist/cjs/{mk-3a1d6691.js → mk-e608f58c.js} +15 -15
- package/dist/cjs/{nb-b9257fed.js → nb-0cdf287d.js} +15 -15
- package/dist/cjs/{nl-30620469.js → nl-e5836690.js} +15 -15
- package/dist/cjs/{observers-116b6993.js → observers-afaede51.js} +1 -1
- package/dist/cjs/{openCloseComponent-6605b47f.js → openCloseComponent-755c9222.js} +2 -2
- package/dist/cjs/{pl-d60f4b06.js → pl-6cee77b8.js} +15 -15
- package/dist/cjs/{pt-169cfc7f.js → pt-2454f7ca.js} +15 -15
- package/dist/cjs/{pt-br-ea47f2d5.js → pt-br-df8ed868.js} +15 -15
- package/dist/cjs/{resources-42c3efc6.js → resources-02c3a781.js} +1 -1
- package/dist/cjs/{resources-ba812e9e.js → resources-107a7249.js} +1 -1
- package/dist/cjs/{resources-6a435824.js → resources-2ea7cc0d.js} +1 -1
- package/dist/cjs/{resources-07dac9d2.js → resources-ab4ac472.js} +1 -1
- package/dist/cjs/{resources-29367af1.js → resources-da1d079e.js} +1 -1
- package/dist/cjs/{resources-e08ae5be.js → resources-f352aa27.js} +5 -5
- package/dist/cjs/{resources-de3abe5b.js → resources-f97d8286.js} +1 -1
- package/dist/cjs/{ro-c7a824f4.js → ro-04694c5b.js} +15 -15
- package/dist/cjs/{ru-d2f3408f.js → ru-fe52c291.js} +15 -15
- package/dist/cjs/{sk-cb3bbc85.js → sk-cfad4594.js} +15 -15
- package/dist/cjs/{sl-3e38ee11.js → sl-67a5c9a1.js} +15 -15
- package/dist/cjs/{sortableComponent-ecece862.js → sortableComponent-26f37ca1.js} +2 -2
- package/dist/cjs/{sr-43d84b1d.js → sr-3c8b0dc3.js} +15 -15
- package/dist/cjs/{sv-1980820b.js → sv-4c9b2375.js} +15 -15
- package/dist/cjs/{t9n-0e10c026.js → t9n-5b67ae7a.js} +3 -3
- package/dist/cjs/{th-57b6357b.js → th-49b28afc.js} +15 -15
- package/dist/cjs/{throttle-ec085c30.js → throttle-5c7db3aa.js} +2 -2
- package/dist/cjs/{tr-cdba7108.js → tr-f11724b3.js} +15 -15
- package/dist/cjs/{uk-e8874ddd.js → uk-2021188e.js} +15 -15
- package/dist/cjs/{utils-c0f77697.js → utils-9833a89d.js} +1 -1
- package/dist/cjs/{utils-58248b27.js → utils-d018da37.js} +3 -3
- package/dist/cjs/{vi-9ef6ab38.js → vi-90961b9f.js} +15 -15
- package/dist/cjs/{zh-cn-eac7fe2b.js → zh-cn-32100256.js} +15 -15
- package/dist/cjs/{zh-hk-87e5fb51.js → zh-hk-758dcf01.js} +15 -15
- package/dist/cjs/{zh-tw-41c7124d.js → zh-tw-fc375f79.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +61 -33
- package/dist/collection/components/accordion-item/accordion-item.js +127 -46
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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/assets/combobox/t9n/messages_ar.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_bg.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_bs.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ca.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_cs.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_da.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_de.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_el.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_es.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_et.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_fi.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_fr.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_he.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_hr.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_hu.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_id.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_it.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ja.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ko.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_lt.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_lv.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_nl.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_no.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pl.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ro.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ru.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sk.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sl.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sr.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sv.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_th.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_tr.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_uk.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_vi.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/combobox/combobox.js +3 -3
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +3 -3
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +3 -3
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +3 -3
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_cs.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_ja.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_ru.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_sk.json +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 +4 -4
- 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/assets/menu/t9n/messages_ar.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_bg.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_bs.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ca.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_cs.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_da.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_de.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_el.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_es.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_et.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_fi.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_fr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_he.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_hr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_hu.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_id.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_it.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ja.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ko.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_lt.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_lv.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_nl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_no.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ro.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ru.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sk.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sv.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_th.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_tr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_uk.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_vi.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-TW.json +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 +4 -4
- 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 +4 -4
- 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 +5 -6
- 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/assets/text-area/t9n/messages_ar.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bg.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bs.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ca.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_cs.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_da.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_de.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_el.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_es.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_et.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fi.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fr.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_he.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hr.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hu.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_id.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_it.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ja.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ko.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lt.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lv.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_nl.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_no.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pl.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-BR.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-PT.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ro.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ru.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sk.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sl.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sr.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sv.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_th.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_tr.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_uk.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_vi.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-CN.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-HK.json +2 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-TW.json +2 -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 +4 -4
- 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 +4 -4
- 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 +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +5 -5
- 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 +2 -2
- 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 +13 -25
- package/dist/components/calcite-accordion.js +35 -28
- package/dist/components/calcite-action-bar.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +5 -5
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +4 -4
- package/dist/components/calcite-block.js +4 -4
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +5 -5
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +4 -4
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +4 -4
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +4 -4
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +4 -4
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +4 -4
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +3 -3
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-list.js +5 -5
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +4 -4
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +4 -4
- package/dist/components/calcite-navigation-logo.js +3 -3
- package/dist/components/calcite-navigation-user.js +3 -3
- package/dist/components/calcite-navigation.js +5 -5
- package/dist/components/calcite-notice.js +5 -5
- 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 +2 -2
- 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 +5 -6
- package/dist/components/calcite-radio-button.js +4 -4
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +4 -4
- package/dist/components/calcite-select.js +4 -4
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +4 -4
- package/dist/components/calcite-stepper.js +2 -2
- 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 +4 -4
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +4 -4
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +5 -5
- package/dist/components/calcite-value-list.js +4 -4
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +4 -4
- package/dist/components/color-picker-hex-input.js +5 -5
- package/dist/components/color-picker-swatch.js +2 -2
- 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 +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +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 +4 -4
- 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 +2 -2
- package/dist/components/focusTrapComponent.js +245 -97
- package/dist/components/form.js +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/components/input.js +4 -4
- 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 +2 -2
- package/dist/components/link.js +4 -4
- package/dist/components/loadable.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -2
- 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 +4 -4
- 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 +4 -4
- package/dist/components/pick-list-item.js +4 -4
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +6 -6
- 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 +2 -2
- 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 +2 -2
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +4 -4
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- 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 +2 -2
- package/dist/components/time-picker.js +4 -4
- package/dist/components/tooltip.js +2 -2
- 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 +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-3ff0b1fd.js → ExpandToggle-5030bf2f.js} +5 -5
- package/dist/esm/{FloatingArrow-e6094134.js → FloatingArrow-a81f6a51.js} +2 -2
- package/dist/esm/{Heading-d94d3591.js → Heading-d5376f20.js} +2 -2
- package/dist/esm/{app-globals-bbcae1f6.js → app-globals-3484e518.js} +2 -2
- package/dist/esm/{ar-84318ed0.js → ar-19fc2e09.js} +15 -15
- package/dist/esm/{array-efb6ef28.js → array-8fb4e2e6.js} +1 -1
- package/dist/esm/{bg-1d290f92.js → bg-2a56fef6.js} +15 -15
- package/dist/esm/{bs-763d9911.js → bs-5fcd54ef.js} +15 -15
- package/dist/esm/{ca-2c8a9f99.js → ca-9382279d.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +43 -55
- 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 +11 -11
- 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 +14 -14
- 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 +10 -10
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +18 -18
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- package/dist/esm/calcite-handle.entry.js +11 -11
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-00b3acb1.js → calcite-input-time-picker.calcite-time-picker-9e1e366b.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 +16 -16
- 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 +10 -10
- package/dist/esm/calcite-notice.entry.js +14 -14
- 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 +7 -8
- 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 +7 -7
- 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 +19 -19
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-f5bf133d.js → conditionalSlot-b8adf8c8.js} +3 -3
- package/dist/esm/{cs-18a54cb9.js → cs-fc5e2172.js} +15 -15
- package/dist/esm/{da-7923e6f4.js → da-1fb7264c.js} +15 -15
- package/dist/esm/{de-52b8fcce.js → de-6441b3ab.js} +15 -15
- package/dist/esm/{de-at-90158119.js → de-at-8bc0a808.js} +15 -15
- package/dist/esm/{de-ch-bfe8230a.js → de-ch-ba1ac50f.js} +15 -15
- package/dist/esm/{debounce-097b6ab0.js → debounce-0e2f4d8f.js} +1 -1
- package/dist/esm/{dom-12f92c1b.js → dom-435441e8.js} +51 -19
- package/dist/esm/{el-d717ef93.js → el-6ffe0ca8.js} +15 -15
- package/dist/esm/{en-au-fbb2670e.js → en-au-410b3317.js} +15 -15
- package/dist/esm/{en-ca-628a8cfb.js → en-ca-739313ba.js} +15 -15
- package/dist/esm/{en-gb-42b16208.js → en-gb-3485c2d2.js} +15 -15
- package/dist/esm/{es-ef4bd02b.js → es-717b2adc.js} +15 -15
- package/dist/esm/{es-mx-021bff06.js → es-mx-13272893.js} +15 -15
- package/dist/esm/{et-6c6e9494.js → et-d3e9cf0a.js} +15 -15
- package/dist/esm/{fi-263235e1.js → fi-dade0661.js} +15 -15
- package/dist/esm/{filter-6459faef.js → filter-2ab795d6.js} +2 -2
- package/dist/esm/{floating-ui-6de5518a.js → floating-ui-5810f308.js} +3 -3
- package/dist/esm/{focusTrapComponent-1186bd8f.js → focusTrapComponent-819db4e3.js} +245 -97
- package/dist/esm/{form-b7390098.js → form-04a89fab.js} +3 -3
- package/dist/esm/{fr-996bc777.js → fr-43208c82.js} +15 -15
- package/dist/esm/{fr-ch-61f55cae.js → fr-ch-3b129c80.js} +15 -15
- package/dist/esm/{guid-fbc36c2e.js → guid-ae9ecd15.js} +1 -1
- package/dist/esm/{he-8ed41896.js → he-332f4dd9.js} +15 -15
- package/dist/esm/{hi-5a922e6a.js → hi-847272ca.js} +15 -15
- package/dist/esm/{hr-8d093d6b.js → hr-035f9fe2.js} +15 -15
- package/dist/esm/{hu-08b07e2c.js → hu-3363ed4c.js} +15 -15
- package/dist/esm/{id-ba7ea82c.js → id-ea54728b.js} +15 -15
- package/dist/esm/{index-af054e01.js → index-a77f1a1d.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-a0379cb0.js → interactive-53fbbea9.js} +1 -1
- package/dist/esm/{it-b97970cb.js → it-2eb3c66a.js} +15 -15
- package/dist/esm/{it-ch-632ebbcb.js → it-ch-2ba54eeb.js} +15 -15
- package/dist/esm/{ja-f4c01ef0.js → ja-dba37793.js} +15 -15
- package/dist/esm/{key-b6fa8460.js → key-a6a42211.js} +1 -1
- package/dist/esm/{ko-b4143b2e.js → ko-566656f3.js} +15 -15
- package/dist/esm/{label-90eb0bfd.js → label-9aea2666.js} +2 -2
- package/dist/esm/{loadable-3ba3576c.js → loadable-71824fa8.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-2d1948d7.js → locale-928cbda3.js} +4 -4
- package/dist/esm/{lt-597f45f7.js → lt-19f5300f.js} +15 -15
- package/dist/esm/{lv-4d30564d.js → lv-f71ce721.js} +15 -15
- package/dist/esm/{math-9a566398.js → math-4a667f24.js} +1 -1
- package/dist/esm/{mk-49deac85.js → mk-3e9da771.js} +15 -15
- package/dist/esm/{nb-bc56949c.js → nb-e627d07f.js} +15 -15
- package/dist/esm/{nl-41a16e40.js → nl-cf67e949.js} +15 -15
- package/dist/esm/{observers-dcf3ea91.js → observers-7d49ba49.js} +1 -1
- package/dist/esm/{openCloseComponent-e9436aa3.js → openCloseComponent-bc94820b.js} +2 -2
- package/dist/esm/{pl-a8df0ed7.js → pl-9e8635b9.js} +15 -15
- package/dist/esm/{pt-br-306e9f2e.js → pt-br-98bf7890.js} +15 -15
- package/dist/esm/{pt-0df35a24.js → pt-efb135bb.js} +15 -15
- package/dist/esm/{resources-9a5c0ba7.js → resources-3cbe8c5c.js} +1 -1
- package/dist/esm/{resources-6df7bb87.js → resources-6ab61a1b.js} +1 -1
- package/dist/esm/{resources-985e8dd2.js → resources-6e19534f.js} +5 -5
- package/dist/esm/{resources-d4912473.js → resources-8487c2ba.js} +1 -1
- package/dist/esm/{resources-f861e29f.js → resources-ae83fa86.js} +1 -1
- package/dist/esm/{resources-5600c89d.js → resources-c84ab92e.js} +1 -1
- package/dist/esm/{resources-9095e5e3.js → resources-f3969d37.js} +1 -1
- package/dist/esm/{ro-7773d632.js → ro-0f30854f.js} +15 -15
- package/dist/esm/{ru-7fbbf6a6.js → ru-ac6b7486.js} +15 -15
- package/dist/esm/{sk-202a22fa.js → sk-100c86f0.js} +15 -15
- package/dist/esm/{sl-d23f2164.js → sl-ef2d1423.js} +15 -15
- package/dist/esm/{sortableComponent-cde30e9a.js → sortableComponent-74b6e2b0.js} +2 -2
- package/dist/esm/{sr-145b40b4.js → sr-d8c7edd8.js} +15 -15
- package/dist/esm/{sv-ca5bee7f.js → sv-0a6c4fe8.js} +15 -15
- package/dist/esm/{t9n-26c8e8dd.js → t9n-23e52055.js} +3 -3
- package/dist/esm/{th-3f7389e8.js → th-ae1a7b01.js} +15 -15
- package/dist/esm/{throttle-91e74241.js → throttle-0370927b.js} +2 -2
- package/dist/esm/{tr-3454b8dc.js → tr-530c60b4.js} +15 -15
- package/dist/esm/{uk-e805fc4f.js → uk-196c89b1.js} +15 -15
- package/dist/esm/{utils-d71c15ef.js → utils-8b89a6cf.js} +3 -3
- package/dist/esm/{utils-784c506d.js → utils-a1d003ca.js} +1 -1
- package/dist/esm/{vi-e06a1083.js → vi-40582db6.js} +15 -15
- package/dist/esm/{zh-cn-f25e76df.js → zh-cn-9d78983c.js} +15 -15
- package/dist/esm/{zh-hk-0a27f640.js → zh-hk-2717a77f.js} +15 -15
- package/dist/esm/{zh-tw-599d2c74.js → zh-tw-003d4fa0.js} +15 -15
- package/dist/extras/docs-json.json +16 -6
- package/dist/extras/translations-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/accordion/accordion.d.ts +7 -7
- package/dist/types/components/accordion-item/accordion-item.d.ts +30 -19
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components.d.ts +29 -1
- package/dist/types/preact.d.ts +1 -2
- package/hydrate/index.js +419 -246
- package/package.json +6 -6
- package/dist/calcite/p-04371d27.entry.js +0 -6
- package/dist/calcite/p-0ad00493.js +0 -6
- package/dist/calcite/p-15be41e9.js +0 -10
- package/dist/calcite/p-24dbc59d.entry.js +0 -6
- package/dist/calcite/p-268fde94.entry.js +0 -6
- package/dist/calcite/p-2f101593.entry.js +0 -6
- package/dist/calcite/p-4115b112.js +0 -6
- package/dist/calcite/p-50373b6f.entry.js +0 -6
- package/dist/calcite/p-532b3d3d.entry.js +0 -6
- package/dist/calcite/p-769c7004.entry.js +0 -6
- package/dist/calcite/p-7d87b717.entry.js +0 -6
- package/dist/calcite/p-8c91322d.js +0 -6
- package/dist/calcite/p-8f90c603.js +0 -6
- package/dist/calcite/p-98b8e5db.js +0 -6
- package/dist/calcite/p-9cc4a9db.entry.js +0 -6
- package/dist/calcite/p-a1e1a904.entry.js +0 -6
- package/dist/calcite/p-a6593256.entry.js +0 -6
- package/dist/calcite/p-b1b2a95f.js +0 -11
- package/dist/calcite/p-b372ff47.entry.js +0 -6
- package/dist/calcite/p-bcaa0e0e.entry.js +0 -6
- package/dist/calcite/p-c23f1d05.entry.js +0 -6
- package/dist/calcite/p-cec10631.entry.js +0 -6
- package/dist/calcite/p-da8e5b33.entry.js +0 -6
- package/dist/calcite/p-ecd5d069.entry.js +0 -6
- package/dist/calcite/p-f637f6ff.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.17
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5841,6 +5841,19 @@ const cmpModules = new Map, getModule = e => {
|
|
|
5841
5841
|
e["s-p"] = [], e["s-rc"] = [], addHostEventListeners(e, o, t.$listeners$), hostRefs.set(e, o);
|
|
5842
5842
|
}, styles = new Map;
|
|
5843
5843
|
|
|
5844
|
+
/**
|
|
5845
|
+
* This utility ensures observers are created only for browser contexts.
|
|
5846
|
+
*
|
|
5847
|
+
* @param type - the type of observer to create
|
|
5848
|
+
* @param callback - the observer callback
|
|
5849
|
+
* @param options - the observer options
|
|
5850
|
+
*/
|
|
5851
|
+
function createObserver(type, callback, options) {
|
|
5852
|
+
{
|
|
5853
|
+
return undefined;
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5844
5857
|
const accordionCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-accordion:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-accordion{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-accordion{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-accordion{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-accordion{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-accordion{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-accordion{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-accordion{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-accordion:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-accordion:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-accordion-h{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}/*!@.accordion--transparent*/.accordion--transparent.sc-calcite-accordion{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}/*!@.accordion*/.accordion.sc-calcite-accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
|
|
5845
5858
|
|
|
5846
5859
|
/**
|
|
@@ -5855,32 +5868,28 @@ class Accordion {
|
|
|
5855
5868
|
// Private State/Props
|
|
5856
5869
|
//
|
|
5857
5870
|
//--------------------------------------------------------------------------
|
|
5858
|
-
|
|
5859
|
-
this.
|
|
5860
|
-
/** keep track of whether the items have been sorted so we don't re-sort */
|
|
5861
|
-
this.sorted = false;
|
|
5862
|
-
//--------------------------------------------------------------------------
|
|
5863
|
-
//
|
|
5864
|
-
// Private Methods
|
|
5865
|
-
//
|
|
5866
|
-
//--------------------------------------------------------------------------
|
|
5867
|
-
this.sortItems = (items) => items.sort((a, b) => a.position - b.position).map((a) => a.item);
|
|
5871
|
+
this.mutationObserver = createObserver();
|
|
5872
|
+
this.accordionParent = undefined;
|
|
5868
5873
|
this.appearance = "solid";
|
|
5869
5874
|
this.iconPosition = "end";
|
|
5870
5875
|
this.iconType = "chevron";
|
|
5871
5876
|
this.scale = "m";
|
|
5872
5877
|
this.selectionMode = "multiple";
|
|
5873
5878
|
}
|
|
5879
|
+
handlePropsChange() {
|
|
5880
|
+
this.updateAccordionItems();
|
|
5881
|
+
}
|
|
5874
5882
|
//--------------------------------------------------------------------------
|
|
5875
5883
|
//
|
|
5876
5884
|
// Lifecycle
|
|
5877
5885
|
//
|
|
5878
5886
|
//--------------------------------------------------------------------------
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5887
|
+
connectedCallback() {
|
|
5888
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
5889
|
+
this.updateAccordionItems();
|
|
5890
|
+
}
|
|
5891
|
+
disconnectedCallback() {
|
|
5892
|
+
this.mutationObserver?.disconnect();
|
|
5884
5893
|
}
|
|
5885
5894
|
render() {
|
|
5886
5895
|
const transparent = this.appearance === "transparent";
|
|
@@ -5894,17 +5903,6 @@ class Accordion {
|
|
|
5894
5903
|
// Event Listeners
|
|
5895
5904
|
//
|
|
5896
5905
|
//--------------------------------------------------------------------------
|
|
5897
|
-
registerCalciteAccordionItem(event) {
|
|
5898
|
-
const item = {
|
|
5899
|
-
item: event.target,
|
|
5900
|
-
parent: event.detail.parent,
|
|
5901
|
-
position: event.detail.position
|
|
5902
|
-
};
|
|
5903
|
-
if (this.el === item.parent) {
|
|
5904
|
-
this.items.push(item);
|
|
5905
|
-
}
|
|
5906
|
-
event.stopPropagation();
|
|
5907
|
-
}
|
|
5908
5906
|
updateActiveItemOnChange(event) {
|
|
5909
5907
|
this.requestedAccordionItem = event.detail.requestedAccordionItem;
|
|
5910
5908
|
this.calciteInternalAccordionChange.emit({
|
|
@@ -5912,37 +5910,45 @@ class Accordion {
|
|
|
5912
5910
|
});
|
|
5913
5911
|
event.stopPropagation();
|
|
5914
5912
|
}
|
|
5913
|
+
//--------------------------------------------------------------------------
|
|
5914
|
+
//
|
|
5915
|
+
// Private Methods
|
|
5916
|
+
//
|
|
5917
|
+
//--------------------------------------------------------------------------
|
|
5918
|
+
updateAccordionItems() {
|
|
5919
|
+
this.el.querySelectorAll("calcite-accordion-item").forEach((item) => {
|
|
5920
|
+
item.iconPosition = this.iconPosition;
|
|
5921
|
+
item.iconType = this.iconType;
|
|
5922
|
+
item.selectionMode = this.selectionMode;
|
|
5923
|
+
item.scale = this.scale;
|
|
5924
|
+
item.accordionParent = this.el;
|
|
5925
|
+
});
|
|
5926
|
+
}
|
|
5915
5927
|
get el() { return getElement(this); }
|
|
5928
|
+
static get watchers() { return {
|
|
5929
|
+
"iconPosition": ["handlePropsChange"],
|
|
5930
|
+
"iconType": ["handlePropsChange"],
|
|
5931
|
+
"scale": ["handlePropsChange"],
|
|
5932
|
+
"selectionMode": ["handlePropsChange"]
|
|
5933
|
+
}; }
|
|
5916
5934
|
static get style() { return accordionCss; }
|
|
5917
5935
|
static get cmpMeta() { return {
|
|
5918
5936
|
"$flags$": 9,
|
|
5919
5937
|
"$tagName$": "calcite-accordion",
|
|
5920
5938
|
"$members$": {
|
|
5939
|
+
"accordionParent": [16],
|
|
5921
5940
|
"appearance": [513],
|
|
5922
5941
|
"iconPosition": [513, "icon-position"],
|
|
5923
5942
|
"iconType": [513, "icon-type"],
|
|
5924
5943
|
"scale": [513],
|
|
5925
5944
|
"selectionMode": [513, "selection-mode"]
|
|
5926
5945
|
},
|
|
5927
|
-
"$listeners$": [[0, "
|
|
5946
|
+
"$listeners$": [[0, "calciteInternalAccordionItemSelect", "updateActiveItemOnChange"]],
|
|
5928
5947
|
"$lazyBundleId$": "-",
|
|
5929
5948
|
"$attrsToReflect$": [["appearance", "appearance"], ["iconPosition", "icon-position"], ["iconType", "icon-type"], ["scale", "scale"], ["selectionMode", "selection-mode"]]
|
|
5930
5949
|
}; }
|
|
5931
5950
|
}
|
|
5932
5951
|
|
|
5933
|
-
/**
|
|
5934
|
-
* This utility ensures observers are created only for browser contexts.
|
|
5935
|
-
*
|
|
5936
|
-
* @param type - the type of observer to create
|
|
5937
|
-
* @param callback - the observer callback
|
|
5938
|
-
* @param options - the observer options
|
|
5939
|
-
*/
|
|
5940
|
-
function createObserver(type, callback, options) {
|
|
5941
|
-
{
|
|
5942
|
-
return undefined;
|
|
5943
|
-
}
|
|
5944
|
-
}
|
|
5945
|
-
|
|
5946
5952
|
const observed = new Set();
|
|
5947
5953
|
let mutationObserver$2;
|
|
5948
5954
|
const observerOptions = { childList: true };
|
|
@@ -5990,7 +5996,7 @@ function processMutations$1(mutations) {
|
|
|
5990
5996
|
}
|
|
5991
5997
|
|
|
5992
5998
|
/*!
|
|
5993
|
-
* tabbable 6.
|
|
5999
|
+
* tabbable 6.2.0
|
|
5994
6000
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5995
6001
|
*/
|
|
5996
6002
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
@@ -6170,7 +6176,27 @@ var getCandidatesIteratively = function getCandidatesIteratively(elements, inclu
|
|
|
6170
6176
|
}
|
|
6171
6177
|
return candidates;
|
|
6172
6178
|
};
|
|
6173
|
-
|
|
6179
|
+
|
|
6180
|
+
/**
|
|
6181
|
+
* @private
|
|
6182
|
+
* Determines if the node has an explicitly specified `tabindex` attribute.
|
|
6183
|
+
* @param {HTMLElement} node
|
|
6184
|
+
* @returns {boolean} True if so; false if not.
|
|
6185
|
+
*/
|
|
6186
|
+
var hasTabIndex = function hasTabIndex(node) {
|
|
6187
|
+
return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
|
|
6188
|
+
};
|
|
6189
|
+
|
|
6190
|
+
/**
|
|
6191
|
+
* Determine the tab index of a given node.
|
|
6192
|
+
* @param {HTMLElement} node
|
|
6193
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
|
6194
|
+
* @throws {Error} If `node` is falsy.
|
|
6195
|
+
*/
|
|
6196
|
+
var getTabIndex = function getTabIndex(node) {
|
|
6197
|
+
if (!node) {
|
|
6198
|
+
throw new Error('No node provided');
|
|
6199
|
+
}
|
|
6174
6200
|
if (node.tabIndex < 0) {
|
|
6175
6201
|
// in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
|
6176
6202
|
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
|
@@ -6179,16 +6205,28 @@ var getTabindex = function getTabindex(node, isScope) {
|
|
|
6179
6205
|
// order, consider their tab index to be 0.
|
|
6180
6206
|
// Also browsers do not return `tabIndex` correctly for contentEditable nodes;
|
|
6181
6207
|
// 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))) {
|
|
6208
|
+
if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
|
|
6187
6209
|
return 0;
|
|
6188
6210
|
}
|
|
6189
6211
|
}
|
|
6190
6212
|
return node.tabIndex;
|
|
6191
6213
|
};
|
|
6214
|
+
|
|
6215
|
+
/**
|
|
6216
|
+
* Determine the tab index of a given node __for sort order purposes__.
|
|
6217
|
+
* @param {HTMLElement} node
|
|
6218
|
+
* @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
|
|
6219
|
+
* has tabIndex -1, but needs to be sorted by document order in order for its content to be
|
|
6220
|
+
* inserted into the correct sort position.
|
|
6221
|
+
* @returns {number} Tab order (negative, 0, or positive number).
|
|
6222
|
+
*/
|
|
6223
|
+
var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
|
|
6224
|
+
var tabIndex = getTabIndex(node);
|
|
6225
|
+
if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
|
|
6226
|
+
return 0;
|
|
6227
|
+
}
|
|
6228
|
+
return tabIndex;
|
|
6229
|
+
};
|
|
6192
6230
|
var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
|
|
6193
6231
|
return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
|
|
6194
6232
|
};
|
|
@@ -6431,7 +6469,7 @@ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(o
|
|
|
6431
6469
|
return true;
|
|
6432
6470
|
};
|
|
6433
6471
|
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
|
6434
|
-
if (isNonTabbableRadio(node) ||
|
|
6472
|
+
if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
|
|
6435
6473
|
return false;
|
|
6436
6474
|
}
|
|
6437
6475
|
return true;
|
|
@@ -6456,7 +6494,7 @@ var sortByOrder = function sortByOrder(candidates) {
|
|
|
6456
6494
|
candidates.forEach(function (item, i) {
|
|
6457
6495
|
var isScope = !!item.scopeParent;
|
|
6458
6496
|
var element = isScope ? item.scopeParent : item;
|
|
6459
|
-
var candidateTabindex =
|
|
6497
|
+
var candidateTabindex = getSortOrderTabIndex(element, isScope);
|
|
6460
6498
|
var elements = isScope ? sortByOrder(item.candidates) : element;
|
|
6461
6499
|
if (candidateTabindex === 0) {
|
|
6462
6500
|
isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
|
|
@@ -6475,32 +6513,32 @@ var sortByOrder = function sortByOrder(candidates) {
|
|
|
6475
6513
|
return acc;
|
|
6476
6514
|
}, []).concat(regularTabbables);
|
|
6477
6515
|
};
|
|
6478
|
-
var tabbable = function tabbable(
|
|
6516
|
+
var tabbable = function tabbable(container, options) {
|
|
6479
6517
|
options = options || {};
|
|
6480
6518
|
var candidates;
|
|
6481
6519
|
if (options.getShadowRoot) {
|
|
6482
|
-
candidates = getCandidatesIteratively([
|
|
6520
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
|
6483
6521
|
filter: isNodeMatchingSelectorTabbable.bind(null, options),
|
|
6484
6522
|
flatten: false,
|
|
6485
6523
|
getShadowRoot: options.getShadowRoot,
|
|
6486
6524
|
shadowRootFilter: isValidShadowRootTabbable
|
|
6487
6525
|
});
|
|
6488
6526
|
} else {
|
|
6489
|
-
candidates = getCandidates(
|
|
6527
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
|
6490
6528
|
}
|
|
6491
6529
|
return sortByOrder(candidates);
|
|
6492
6530
|
};
|
|
6493
|
-
var focusable = function focusable(
|
|
6531
|
+
var focusable = function focusable(container, options) {
|
|
6494
6532
|
options = options || {};
|
|
6495
6533
|
var candidates;
|
|
6496
6534
|
if (options.getShadowRoot) {
|
|
6497
|
-
candidates = getCandidatesIteratively([
|
|
6535
|
+
candidates = getCandidatesIteratively([container], options.includeContainer, {
|
|
6498
6536
|
filter: isNodeMatchingSelectorFocusable.bind(null, options),
|
|
6499
6537
|
flatten: true,
|
|
6500
6538
|
getShadowRoot: options.getShadowRoot
|
|
6501
6539
|
});
|
|
6502
6540
|
} else {
|
|
6503
|
-
candidates = getCandidates(
|
|
6541
|
+
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
|
|
6504
6542
|
}
|
|
6505
6543
|
return candidates;
|
|
6506
6544
|
};
|
|
@@ -6947,19 +6985,19 @@ class AccordionItem {
|
|
|
6947
6985
|
registerInstance(this, hostRef);
|
|
6948
6986
|
this.calciteInternalAccordionItemSelect = createEvent(this, "calciteInternalAccordionItemSelect", 6);
|
|
6949
6987
|
this.calciteInternalAccordionItemClose = createEvent(this, "calciteInternalAccordionItemClose", 6);
|
|
6950
|
-
this.calciteInternalAccordionItemRegister = createEvent(this, "calciteInternalAccordionItemRegister", 6);
|
|
6951
|
-
/** what icon position does the parent accordion specify */
|
|
6952
|
-
this.iconPosition = "end";
|
|
6953
6988
|
/** handle clicks on item header */
|
|
6954
6989
|
this.itemHeaderClickHandler = () => this.emitRequestedItem();
|
|
6955
|
-
/** Specifies the scale of the `accordion-item` controlled by the parent, defaults to m */
|
|
6956
|
-
this.scale = "m";
|
|
6957
6990
|
this.expanded = false;
|
|
6958
6991
|
this.heading = undefined;
|
|
6959
6992
|
this.description = undefined;
|
|
6960
6993
|
this.iconStart = undefined;
|
|
6961
6994
|
this.iconEnd = undefined;
|
|
6962
6995
|
this.iconFlipRtl = undefined;
|
|
6996
|
+
this.iconPosition = undefined;
|
|
6997
|
+
this.iconType = undefined;
|
|
6998
|
+
this.accordionParent = undefined;
|
|
6999
|
+
this.selectionMode = undefined;
|
|
7000
|
+
this.scale = undefined;
|
|
6963
7001
|
}
|
|
6964
7002
|
//--------------------------------------------------------------------------
|
|
6965
7003
|
//
|
|
@@ -6967,19 +7005,8 @@ class AccordionItem {
|
|
|
6967
7005
|
//
|
|
6968
7006
|
//--------------------------------------------------------------------------
|
|
6969
7007
|
connectedCallback() {
|
|
6970
|
-
this.parent = this.el.parentElement;
|
|
6971
|
-
this.iconType = getElementProp(this.el, "icon-type", "chevron");
|
|
6972
|
-
this.iconPosition = getElementProp(this.el, "icon-position", this.iconPosition);
|
|
6973
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
6974
7008
|
connectConditionalSlotComponent(this);
|
|
6975
7009
|
}
|
|
6976
|
-
componentDidLoad() {
|
|
6977
|
-
this.itemPosition = this.getItemPosition();
|
|
6978
|
-
this.calciteInternalAccordionItemRegister.emit({
|
|
6979
|
-
parent: this.parent,
|
|
6980
|
-
position: this.itemPosition
|
|
6981
|
-
});
|
|
6982
|
-
}
|
|
6983
7010
|
disconnectedCallback() {
|
|
6984
7011
|
disconnectConditionalSlotComponent(this);
|
|
6985
7012
|
}
|
|
@@ -7044,7 +7071,6 @@ class AccordionItem {
|
|
|
7044
7071
|
//
|
|
7045
7072
|
//--------------------------------------------------------------------------
|
|
7046
7073
|
determineActiveItem() {
|
|
7047
|
-
this.selectionMode = getElementProp(this.el, "selection-mode", "multiple");
|
|
7048
7074
|
switch (this.selectionMode) {
|
|
7049
7075
|
case "multiple":
|
|
7050
7076
|
if (this.el === this.requestedAccordionItem) {
|
|
@@ -7064,11 +7090,6 @@ class AccordionItem {
|
|
|
7064
7090
|
requestedAccordionItem: this.el
|
|
7065
7091
|
});
|
|
7066
7092
|
}
|
|
7067
|
-
getItemPosition() {
|
|
7068
|
-
const { el } = this;
|
|
7069
|
-
const items = closestElementCrossShadowBoundary(el, "calcite-accordion")?.querySelectorAll("calcite-accordion-item");
|
|
7070
|
-
return items ? Array.from(items).indexOf(el) : -1;
|
|
7071
|
-
}
|
|
7072
7093
|
get el() { return getElement(this); }
|
|
7073
7094
|
static get style() { return accordionItemCss; }
|
|
7074
7095
|
static get cmpMeta() { return {
|
|
@@ -7080,7 +7101,12 @@ class AccordionItem {
|
|
|
7080
7101
|
"description": [1],
|
|
7081
7102
|
"iconStart": [513, "icon-start"],
|
|
7082
7103
|
"iconEnd": [513, "icon-end"],
|
|
7083
|
-
"iconFlipRtl": [513, "icon-flip-rtl"]
|
|
7104
|
+
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
7105
|
+
"iconPosition": [1, "icon-position"],
|
|
7106
|
+
"iconType": [1, "icon-type"],
|
|
7107
|
+
"accordionParent": [16],
|
|
7108
|
+
"selectionMode": [1, "selection-mode"],
|
|
7109
|
+
"scale": [1]
|
|
7084
7110
|
},
|
|
7085
7111
|
"$listeners$": [[0, "keydown", "keyDownHandler"], [16, "calciteInternalAccordionChange", "updateActiveItemOnChange"]],
|
|
7086
7112
|
"$lazyBundleId$": "-",
|
|
@@ -9645,7 +9671,7 @@ class ActionBar {
|
|
|
9645
9671
|
* Sets focus on the component's first focusable element.
|
|
9646
9672
|
*/
|
|
9647
9673
|
async setFocus() {
|
|
9648
|
-
await
|
|
9674
|
+
await componentFocusable(this);
|
|
9649
9675
|
this.el?.focus();
|
|
9650
9676
|
}
|
|
9651
9677
|
updateGroups() {
|
|
@@ -9749,7 +9775,7 @@ class ActionGroup {
|
|
|
9749
9775
|
//--------------------------------------------------------------------------
|
|
9750
9776
|
/** Sets focus on the component's first focusable element. */
|
|
9751
9777
|
async setFocus() {
|
|
9752
|
-
await
|
|
9778
|
+
await componentFocusable(this);
|
|
9753
9779
|
this.el.focus();
|
|
9754
9780
|
}
|
|
9755
9781
|
// --------------------------------------------------------------------------
|
|
@@ -10066,8 +10092,8 @@ class ActionMenu {
|
|
|
10066
10092
|
// --------------------------------------------------------------------------
|
|
10067
10093
|
/** Sets focus on the component. */
|
|
10068
10094
|
async setFocus() {
|
|
10069
|
-
await
|
|
10070
|
-
focusElement(this.menuButtonEl);
|
|
10095
|
+
await componentFocusable(this);
|
|
10096
|
+
return focusElement(this.menuButtonEl);
|
|
10071
10097
|
}
|
|
10072
10098
|
renderMenuButton() {
|
|
10073
10099
|
const { label, scale, expanded } = this;
|
|
@@ -10216,7 +10242,7 @@ class ActionPad {
|
|
|
10216
10242
|
* Sets focus on the component's first focusable element.
|
|
10217
10243
|
*/
|
|
10218
10244
|
async setFocus() {
|
|
10219
|
-
await
|
|
10245
|
+
await componentFocusable(this);
|
|
10220
10246
|
this.el?.focus();
|
|
10221
10247
|
}
|
|
10222
10248
|
updateGroups() {
|
|
@@ -10574,13 +10600,13 @@ class Alert {
|
|
|
10574
10600
|
//--------------------------------------------------------------------------
|
|
10575
10601
|
/** Sets focus on the component's "close" button (the first focusable item). */
|
|
10576
10602
|
async setFocus() {
|
|
10577
|
-
await
|
|
10603
|
+
await componentFocusable(this);
|
|
10578
10604
|
const alertLinkEl = getSlotted(this.el, { selector: "calcite-link" });
|
|
10579
10605
|
if (!this.closeButton && !alertLinkEl) {
|
|
10580
10606
|
return;
|
|
10581
10607
|
}
|
|
10582
10608
|
else if (alertLinkEl) {
|
|
10583
|
-
alertLinkEl.setFocus();
|
|
10609
|
+
return alertLinkEl.setFocus();
|
|
10584
10610
|
}
|
|
10585
10611
|
else if (this.closeButton) {
|
|
10586
10612
|
this.closeButton.focus();
|
|
@@ -11084,7 +11110,7 @@ class Block {
|
|
|
11084
11110
|
*
|
|
11085
11111
|
*/
|
|
11086
11112
|
async setFocus() {
|
|
11087
|
-
await
|
|
11113
|
+
await componentFocusable(this);
|
|
11088
11114
|
focusFirstTabbable(this.el);
|
|
11089
11115
|
}
|
|
11090
11116
|
effectiveLocaleChange() {
|
|
@@ -11257,7 +11283,7 @@ class BlockSection {
|
|
|
11257
11283
|
*
|
|
11258
11284
|
*/
|
|
11259
11285
|
async setFocus() {
|
|
11260
|
-
await
|
|
11286
|
+
await componentFocusable(this);
|
|
11261
11287
|
focusFirstTabbable(this.el);
|
|
11262
11288
|
}
|
|
11263
11289
|
effectiveLocaleChange() {
|
|
@@ -11877,7 +11903,7 @@ class Button {
|
|
|
11877
11903
|
//--------------------------------------------------------------------------
|
|
11878
11904
|
/** Sets focus on the component. */
|
|
11879
11905
|
async setFocus() {
|
|
11880
|
-
await
|
|
11906
|
+
await componentFocusable(this);
|
|
11881
11907
|
this.childEl?.focus();
|
|
11882
11908
|
}
|
|
11883
11909
|
effectiveLocaleChange() {
|
|
@@ -12072,7 +12098,7 @@ class CalciteMenu {
|
|
|
12072
12098
|
//--------------------------------------------------------------------------
|
|
12073
12099
|
/** Sets focus on the component's first focusable element. */
|
|
12074
12100
|
async setFocus() {
|
|
12075
|
-
await
|
|
12101
|
+
await componentFocusable(this);
|
|
12076
12102
|
this.el.focus();
|
|
12077
12103
|
}
|
|
12078
12104
|
//--------------------------------------------------------------------------
|
|
@@ -12318,7 +12344,7 @@ class CalciteMenuItem {
|
|
|
12318
12344
|
//--------------------------------------------------------------------------
|
|
12319
12345
|
/** Sets focus on the component. */
|
|
12320
12346
|
async setFocus() {
|
|
12321
|
-
await
|
|
12347
|
+
await componentFocusable(this);
|
|
12322
12348
|
this.anchorEl.focus();
|
|
12323
12349
|
}
|
|
12324
12350
|
//--------------------------------------------------------------------------
|
|
@@ -12584,8 +12610,8 @@ class CalciteNavigation {
|
|
|
12584
12610
|
//--------------------------------------------------------------------------
|
|
12585
12611
|
/** When `navigation-action` is `true`, sets focus on the component's action element. */
|
|
12586
12612
|
async setFocus() {
|
|
12587
|
-
await
|
|
12588
|
-
|
|
12613
|
+
await componentFocusable(this);
|
|
12614
|
+
return this.navigationActionEl?.setFocus();
|
|
12589
12615
|
}
|
|
12590
12616
|
//--------------------------------------------------------------------------
|
|
12591
12617
|
//
|
|
@@ -12682,7 +12708,7 @@ class CalciteNavigationLogo {
|
|
|
12682
12708
|
//--------------------------------------------------------------------------
|
|
12683
12709
|
/** Sets focus on the component. */
|
|
12684
12710
|
async setFocus() {
|
|
12685
|
-
await
|
|
12711
|
+
await componentFocusable(this);
|
|
12686
12712
|
if (this.href) {
|
|
12687
12713
|
this.el.focus();
|
|
12688
12714
|
}
|
|
@@ -12760,7 +12786,7 @@ class CalciteNavigationUser {
|
|
|
12760
12786
|
//--------------------------------------------------------------------------
|
|
12761
12787
|
/** Sets focus on the component. */
|
|
12762
12788
|
async setFocus() {
|
|
12763
|
-
await
|
|
12789
|
+
await componentFocusable(this);
|
|
12764
12790
|
this.el.focus();
|
|
12765
12791
|
}
|
|
12766
12792
|
//--------------------------------------------------------------------------
|
|
@@ -12878,7 +12904,7 @@ class Card {
|
|
|
12878
12904
|
connectLocalized(this);
|
|
12879
12905
|
connectMessages(this);
|
|
12880
12906
|
}
|
|
12881
|
-
|
|
12907
|
+
disconnectedCallback() {
|
|
12882
12908
|
disconnectConditionalSlotComponent(this);
|
|
12883
12909
|
disconnectLocalized(this);
|
|
12884
12910
|
disconnectMessages(this);
|
|
@@ -13013,7 +13039,7 @@ class Checkbox {
|
|
|
13013
13039
|
//--------------------------------------------------------------------------
|
|
13014
13040
|
/** Sets focus on the component. */
|
|
13015
13041
|
async setFocus() {
|
|
13016
|
-
await
|
|
13042
|
+
await componentFocusable(this);
|
|
13017
13043
|
this.toggleEl?.focus();
|
|
13018
13044
|
}
|
|
13019
13045
|
//--------------------------------------------------------------------------
|
|
@@ -13235,7 +13261,7 @@ class Chip {
|
|
|
13235
13261
|
//--------------------------------------------------------------------------
|
|
13236
13262
|
/** Sets focus on the component. */
|
|
13237
13263
|
async setFocus() {
|
|
13238
|
-
await
|
|
13264
|
+
await componentFocusable(this);
|
|
13239
13265
|
if (!this.disabled && this.interactive) {
|
|
13240
13266
|
this.containerEl?.focus();
|
|
13241
13267
|
}
|
|
@@ -13485,9 +13511,9 @@ class ChipGroup {
|
|
|
13485
13511
|
* Sets focus on the component's first focusable element.
|
|
13486
13512
|
*/
|
|
13487
13513
|
async setFocus() {
|
|
13488
|
-
await
|
|
13514
|
+
await componentFocusable(this);
|
|
13489
13515
|
if (!this.disabled) {
|
|
13490
|
-
(this.selectedItems[0] || this.items[0])?.setFocus();
|
|
13516
|
+
return (this.selectedItems[0] || this.items[0])?.setFocus();
|
|
13491
13517
|
}
|
|
13492
13518
|
}
|
|
13493
13519
|
//--------------------------------------------------------------------------
|
|
@@ -16184,7 +16210,7 @@ class ColorPicker {
|
|
|
16184
16210
|
//--------------------------------------------------------------------------
|
|
16185
16211
|
/** Sets focus on the component's first focusable element. */
|
|
16186
16212
|
async setFocus() {
|
|
16187
|
-
await
|
|
16213
|
+
await componentFocusable(this);
|
|
16188
16214
|
this.el.focus();
|
|
16189
16215
|
}
|
|
16190
16216
|
//--------------------------------------------------------------------------
|
|
@@ -16799,8 +16825,8 @@ class ColorPickerHexInput {
|
|
|
16799
16825
|
//--------------------------------------------------------------------------
|
|
16800
16826
|
/** Sets focus on the component. */
|
|
16801
16827
|
async setFocus() {
|
|
16802
|
-
await
|
|
16803
|
-
focusElement(this.hexInputNode);
|
|
16828
|
+
await componentFocusable(this);
|
|
16829
|
+
return focusElement(this.hexInputNode);
|
|
16804
16830
|
}
|
|
16805
16831
|
//--------------------------------------------------------------------------
|
|
16806
16832
|
//
|
|
@@ -19158,7 +19184,7 @@ class Combobox {
|
|
|
19158
19184
|
}
|
|
19159
19185
|
/** Sets focus on the component. */
|
|
19160
19186
|
async setFocus() {
|
|
19161
|
-
await
|
|
19187
|
+
await componentFocusable(this);
|
|
19162
19188
|
this.textInput?.focus();
|
|
19163
19189
|
this.activeChipIndex = -1;
|
|
19164
19190
|
this.activeItemIndex = -1;
|
|
@@ -20313,7 +20339,7 @@ class DatePicker {
|
|
|
20313
20339
|
//--------------------------------------------------------------------------
|
|
20314
20340
|
/** Sets focus on the component's first focusable element. */
|
|
20315
20341
|
async setFocus() {
|
|
20316
|
-
await
|
|
20342
|
+
await componentFocusable(this);
|
|
20317
20343
|
this.el.focus();
|
|
20318
20344
|
}
|
|
20319
20345
|
/**
|
|
@@ -21370,7 +21396,7 @@ class Dropdown {
|
|
|
21370
21396
|
//--------------------------------------------------------------------------
|
|
21371
21397
|
/** Sets focus on the component's first focusable element. */
|
|
21372
21398
|
async setFocus() {
|
|
21373
|
-
await
|
|
21399
|
+
await componentFocusable(this);
|
|
21374
21400
|
this.el.focus();
|
|
21375
21401
|
}
|
|
21376
21402
|
//--------------------------------------------------------------------------
|
|
@@ -21717,7 +21743,7 @@ class DropdownItem {
|
|
|
21717
21743
|
//--------------------------------------------------------------------------
|
|
21718
21744
|
/** Sets focus on the component. */
|
|
21719
21745
|
async setFocus() {
|
|
21720
|
-
await
|
|
21746
|
+
await componentFocusable(this);
|
|
21721
21747
|
this.el?.focus();
|
|
21722
21748
|
}
|
|
21723
21749
|
//--------------------------------------------------------------------------
|
|
@@ -21923,7 +21949,7 @@ class Fab {
|
|
|
21923
21949
|
// --------------------------------------------------------------------------
|
|
21924
21950
|
/** Sets focus on the component. */
|
|
21925
21951
|
async setFocus() {
|
|
21926
|
-
await
|
|
21952
|
+
await componentFocusable(this);
|
|
21927
21953
|
focusElement(this.buttonEl);
|
|
21928
21954
|
}
|
|
21929
21955
|
// --------------------------------------------------------------------------
|
|
@@ -22076,7 +22102,7 @@ class Filter {
|
|
|
22076
22102
|
}
|
|
22077
22103
|
/** Sets focus on the component. */
|
|
22078
22104
|
async setFocus() {
|
|
22079
|
-
await
|
|
22105
|
+
await componentFocusable(this);
|
|
22080
22106
|
this.el?.focus();
|
|
22081
22107
|
}
|
|
22082
22108
|
updateFiltered(filtered, emit = false, callback) {
|
|
@@ -22421,7 +22447,7 @@ class FlowItem {
|
|
|
22421
22447
|
* Sets focus on the component.
|
|
22422
22448
|
*/
|
|
22423
22449
|
async setFocus() {
|
|
22424
|
-
await
|
|
22450
|
+
await componentFocusable(this);
|
|
22425
22451
|
const { backButtonEl, containerEl } = this;
|
|
22426
22452
|
if (backButtonEl) {
|
|
22427
22453
|
return backButtonEl.setFocus();
|
|
@@ -22810,7 +22836,7 @@ class Handle {
|
|
|
22810
22836
|
// --------------------------------------------------------------------------
|
|
22811
22837
|
/** Sets focus on the component. */
|
|
22812
22838
|
async setFocus() {
|
|
22813
|
-
await
|
|
22839
|
+
await componentFocusable(this);
|
|
22814
22840
|
this.handleButton?.focus();
|
|
22815
22841
|
}
|
|
22816
22842
|
// --------------------------------------------------------------------------
|
|
@@ -23130,7 +23156,7 @@ class InlineEditable {
|
|
|
23130
23156
|
//--------------------------------------------------------------------------
|
|
23131
23157
|
/** Sets focus on the component. */
|
|
23132
23158
|
async setFocus() {
|
|
23133
|
-
await
|
|
23159
|
+
await componentFocusable(this);
|
|
23134
23160
|
this.el?.focus();
|
|
23135
23161
|
}
|
|
23136
23162
|
//--------------------------------------------------------------------------
|
|
@@ -23678,7 +23704,7 @@ class Input {
|
|
|
23678
23704
|
//--------------------------------------------------------------------------
|
|
23679
23705
|
/** Sets focus on the component. */
|
|
23680
23706
|
async setFocus() {
|
|
23681
|
-
await
|
|
23707
|
+
await componentFocusable(this);
|
|
23682
23708
|
if (this.type === "number") {
|
|
23683
23709
|
this.childNumberEl?.focus();
|
|
23684
23710
|
}
|
|
@@ -23900,7 +23926,7 @@ const CSS$A = {
|
|
|
23900
23926
|
};
|
|
23901
23927
|
|
|
23902
23928
|
/*!
|
|
23903
|
-
* focus-trap 7.
|
|
23929
|
+
* focus-trap 7.5.2
|
|
23904
23930
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
23905
23931
|
*/
|
|
23906
23932
|
|
|
@@ -23985,10 +24011,10 @@ var isSelectableInput = function isSelectableInput(node) {
|
|
|
23985
24011
|
return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
|
|
23986
24012
|
};
|
|
23987
24013
|
var isEscapeEvent = function isEscapeEvent(e) {
|
|
23988
|
-
return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;
|
|
24014
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Escape' || (e === null || e === void 0 ? void 0 : e.key) === 'Esc' || (e === null || e === void 0 ? void 0 : e.keyCode) === 27;
|
|
23989
24015
|
};
|
|
23990
24016
|
var isTabEvent = function isTabEvent(e) {
|
|
23991
|
-
return e.key === 'Tab' || e.keyCode === 9;
|
|
24017
|
+
return (e === null || e === void 0 ? void 0 : e.key) === 'Tab' || (e === null || e === void 0 ? void 0 : e.keyCode) === 9;
|
|
23992
24018
|
};
|
|
23993
24019
|
|
|
23994
24020
|
// checks for TAB by default
|
|
@@ -24072,8 +24098,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24072
24098
|
// container: HTMLElement,
|
|
24073
24099
|
// tabbableNodes: Array<HTMLElement>, // empty if none
|
|
24074
24100
|
// focusableNodes: Array<HTMLElement>, // empty if none
|
|
24075
|
-
//
|
|
24076
|
-
//
|
|
24101
|
+
// posTabIndexesFound: boolean,
|
|
24102
|
+
// firstTabbableNode: HTMLElement|undefined,
|
|
24103
|
+
// lastTabbableNode: HTMLElement|undefined,
|
|
24104
|
+
// firstDomTabbableNode: HTMLElement|undefined,
|
|
24105
|
+
// lastDomTabbableNode: HTMLElement|undefined,
|
|
24077
24106
|
// nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
|
|
24078
24107
|
// }>}
|
|
24079
24108
|
containerGroups: [],
|
|
@@ -24090,7 +24119,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24090
24119
|
paused: false,
|
|
24091
24120
|
// timer ID for when delayInitialFocus is true and initial focus in this trap
|
|
24092
24121
|
// has been delayed during activation
|
|
24093
|
-
delayInitialFocusTimer: undefined
|
|
24122
|
+
delayInitialFocusTimer: undefined,
|
|
24123
|
+
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
24124
|
+
recentNavEvent: undefined
|
|
24094
24125
|
};
|
|
24095
24126
|
var trap; // eslint-disable-line prefer-const -- some private functions reference it, and its methods reference private functions, so we must declare here and define later
|
|
24096
24127
|
|
|
@@ -24109,7 +24140,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24109
24140
|
/**
|
|
24110
24141
|
* Finds the index of the container that contains the element.
|
|
24111
24142
|
* @param {HTMLElement} element
|
|
24112
|
-
* @param {Event} [event]
|
|
24143
|
+
* @param {Event} [event] If available, and `element` isn't directly found in any container,
|
|
24144
|
+
* the event's composed path is used to see if includes any known trap containers in the
|
|
24145
|
+
* case where the element is inside a Shadow DOM.
|
|
24113
24146
|
* @returns {number} Index of the container in either `state.containers` or
|
|
24114
24147
|
* `state.containerGroups` (the order/length of these lists are the same); -1
|
|
24115
24148
|
* if the element isn't found.
|
|
@@ -24204,14 +24237,41 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24204
24237
|
var tabbableNodes = tabbable(container, config.tabbableOptions);
|
|
24205
24238
|
|
|
24206
24239
|
// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
|
|
24207
|
-
// are a superset of tabbable nodes
|
|
24240
|
+
// are a superset of tabbable nodes since nodes with negative `tabindex` attributes
|
|
24241
|
+
// are focusable but not tabbable
|
|
24208
24242
|
var focusableNodes = focusable(container, config.tabbableOptions);
|
|
24243
|
+
var firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : undefined;
|
|
24244
|
+
var lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : undefined;
|
|
24245
|
+
var firstDomTabbableNode = focusableNodes.find(function (node) {
|
|
24246
|
+
return isTabbable(node);
|
|
24247
|
+
});
|
|
24248
|
+
var lastDomTabbableNode = focusableNodes.slice().reverse().find(function (node) {
|
|
24249
|
+
return isTabbable(node);
|
|
24250
|
+
});
|
|
24251
|
+
var posTabIndexesFound = !!tabbableNodes.find(function (node) {
|
|
24252
|
+
return getTabIndex(node) > 0;
|
|
24253
|
+
});
|
|
24209
24254
|
return {
|
|
24210
24255
|
container: container,
|
|
24211
24256
|
tabbableNodes: tabbableNodes,
|
|
24212
24257
|
focusableNodes: focusableNodes,
|
|
24213
|
-
|
|
24214
|
-
|
|
24258
|
+
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
24259
|
+
posTabIndexesFound: posTabIndexesFound,
|
|
24260
|
+
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
24261
|
+
firstTabbableNode: firstTabbableNode,
|
|
24262
|
+
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
24263
|
+
lastTabbableNode: lastTabbableNode,
|
|
24264
|
+
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
24265
|
+
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
|
24266
|
+
// because that API doesn't work with Shadow DOM as well as it should (@see
|
|
24267
|
+
// https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
|
|
24268
|
+
// to address an edge case related to positive tabindex support, this seems like a much easier,
|
|
24269
|
+
// "close enough most of the time" alternative for positive tabindexes which should generally
|
|
24270
|
+
// be avoided anyway...
|
|
24271
|
+
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
24272
|
+
firstDomTabbableNode: firstDomTabbableNode,
|
|
24273
|
+
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
24274
|
+
lastDomTabbableNode: lastDomTabbableNode,
|
|
24215
24275
|
/**
|
|
24216
24276
|
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
|
24217
24277
|
* in this container, if any.
|
|
@@ -24222,30 +24282,24 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24222
24282
|
*/
|
|
24223
24283
|
nextTabbableNode: function nextTabbableNode(node) {
|
|
24224
24284
|
var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
24225
|
-
|
|
24226
|
-
// from the DOM order), this __will not work__ because the list of focusableNodes,
|
|
24227
|
-
// while it contains tabbable nodes, does not sort its nodes in any order other
|
|
24228
|
-
// than DOM order, because it can't: Where would you place focusable (but not
|
|
24229
|
-
// tabbable) nodes in that order? They have no order, because they aren't tabbale...
|
|
24230
|
-
// Support for positive tabindex is already broken and hard to manage (possibly
|
|
24231
|
-
// not supportable, TBD), so this isn't going to make things worse than they
|
|
24232
|
-
// already are, and at least makes things better for the majority of cases where
|
|
24233
|
-
// tabindex is either 0/unset or negative.
|
|
24234
|
-
// FYI, positive tabindex issue: https://github.com/focus-trap/focus-trap/issues/375
|
|
24235
|
-
var nodeIdx = focusableNodes.findIndex(function (n) {
|
|
24236
|
-
return n === node;
|
|
24237
|
-
});
|
|
24285
|
+
var nodeIdx = tabbableNodes.indexOf(node);
|
|
24238
24286
|
if (nodeIdx < 0) {
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24287
|
+
// either not tabbable nor focusable, or was focused but not tabbable (negative tabindex):
|
|
24288
|
+
// since `node` should at least have been focusable, we assume that's the case and mimic
|
|
24289
|
+
// what browsers do, which is set focus to the next node in __document position order__,
|
|
24290
|
+
// regardless of positive tabindexes, if any -- and for reasons explained in the NOTE
|
|
24291
|
+
// above related to `firstDomTabbable` and `lastDomTabbable` properties, we fall back to
|
|
24292
|
+
// basic DOM order
|
|
24293
|
+
if (forward) {
|
|
24294
|
+
return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find(function (el) {
|
|
24295
|
+
return isTabbable(el);
|
|
24296
|
+
});
|
|
24297
|
+
}
|
|
24298
|
+
return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find(function (el) {
|
|
24299
|
+
return isTabbable(el);
|
|
24244
24300
|
});
|
|
24245
24301
|
}
|
|
24246
|
-
return
|
|
24247
|
-
return isTabbable(n, config.tabbableOptions);
|
|
24248
|
-
});
|
|
24302
|
+
return tabbableNodes[nodeIdx + (forward ? 1 : -1)];
|
|
24249
24303
|
}
|
|
24250
24304
|
};
|
|
24251
24305
|
});
|
|
@@ -24258,6 +24312,19 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24258
24312
|
) {
|
|
24259
24313
|
throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
|
|
24260
24314
|
}
|
|
24315
|
+
|
|
24316
|
+
// NOTE: Positive tabindexes are only properly supported in single-container traps because
|
|
24317
|
+
// doing it across multiple containers where tabindexes could be all over the place
|
|
24318
|
+
// would require Tabbable to support multiple containers, would require additional
|
|
24319
|
+
// specialized Shadow DOM support, and would require Tabbable's multi-container support
|
|
24320
|
+
// to look at those containers in document position order rather than user-provided
|
|
24321
|
+
// order (as they are treated in Focus-trap, for legacy reasons). See discussion on
|
|
24322
|
+
// https://github.com/focus-trap/focus-trap/issues/375 for more details.
|
|
24323
|
+
if (state.containerGroups.find(function (g) {
|
|
24324
|
+
return g.posTabIndexesFound;
|
|
24325
|
+
}) && state.containerGroups.length > 1) {
|
|
24326
|
+
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.");
|
|
24327
|
+
}
|
|
24261
24328
|
};
|
|
24262
24329
|
var tryFocus = function tryFocus(node) {
|
|
24263
24330
|
if (node === false) {
|
|
@@ -24273,6 +24340,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24273
24340
|
node.focus({
|
|
24274
24341
|
preventScroll: !!config.preventScroll
|
|
24275
24342
|
});
|
|
24343
|
+
// NOTE: focus() API does not trigger focusIn event so set MRU node manually
|
|
24276
24344
|
state.mostRecentlyFocusedNode = node;
|
|
24277
24345
|
if (isSelectableInput(node)) {
|
|
24278
24346
|
node.select();
|
|
@@ -24283,64 +24351,23 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24283
24351
|
return node ? node : node === false ? false : previousActiveElement;
|
|
24284
24352
|
};
|
|
24285
24353
|
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24298
|
-
|
|
24299
|
-
|
|
24300
|
-
|
|
24301
|
-
|
|
24302
|
-
|
|
24303
|
-
returnFocus: config.returnFocusOnDeactivate
|
|
24304
|
-
});
|
|
24305
|
-
return;
|
|
24306
|
-
}
|
|
24307
|
-
|
|
24308
|
-
// This is needed for mobile devices.
|
|
24309
|
-
// (If we'll only let `click` events through,
|
|
24310
|
-
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
|
24311
|
-
if (valueOrHandler(config.allowOutsideClick, e)) {
|
|
24312
|
-
// allow the click outside the trap to take place
|
|
24313
|
-
return;
|
|
24314
|
-
}
|
|
24315
|
-
|
|
24316
|
-
// otherwise, prevent the click
|
|
24317
|
-
e.preventDefault();
|
|
24318
|
-
};
|
|
24319
|
-
|
|
24320
|
-
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
24321
|
-
var checkFocusIn = function checkFocusIn(e) {
|
|
24322
|
-
var target = getActualTarget(e);
|
|
24323
|
-
var targetContained = findContainerIndex(target, e) >= 0;
|
|
24324
|
-
|
|
24325
|
-
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
24326
|
-
if (targetContained || target instanceof Document) {
|
|
24327
|
-
if (targetContained) {
|
|
24328
|
-
state.mostRecentlyFocusedNode = target;
|
|
24329
|
-
}
|
|
24330
|
-
} else {
|
|
24331
|
-
// escaped! pull it back in to where it just left
|
|
24332
|
-
e.stopImmediatePropagation();
|
|
24333
|
-
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
|
24334
|
-
}
|
|
24335
|
-
};
|
|
24336
|
-
|
|
24337
|
-
// Hijack key nav events on the first and last focusable nodes of the trap,
|
|
24338
|
-
// in order to prevent focus from escaping. If it escapes for even a
|
|
24339
|
-
// moment it can end up scrolling the page and causing confusion so we
|
|
24340
|
-
// kind of need to capture the action at the keydown phase.
|
|
24341
|
-
var checkKeyNav = function checkKeyNav(event) {
|
|
24342
|
-
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24343
|
-
var target = getActualTarget(event);
|
|
24354
|
+
/**
|
|
24355
|
+
* Finds the next node (in either direction) where focus should move according to a
|
|
24356
|
+
* keyboard focus-in event.
|
|
24357
|
+
* @param {Object} params
|
|
24358
|
+
* @param {Node} [params.target] Known target __from which__ to navigate, if any.
|
|
24359
|
+
* @param {KeyboardEvent|FocusEvent} [params.event] Event to use if `target` isn't known (event
|
|
24360
|
+
* will be used to determine the `target`). Ignored if `target` is specified.
|
|
24361
|
+
* @param {boolean} [params.isBackward] True if focus should move backward.
|
|
24362
|
+
* @returns {Node|undefined} The next node, or `undefined` if a next node couldn't be
|
|
24363
|
+
* determined given the current state of the trap.
|
|
24364
|
+
*/
|
|
24365
|
+
var findNextNavNode = function findNextNavNode(_ref2) {
|
|
24366
|
+
var target = _ref2.target,
|
|
24367
|
+
event = _ref2.event,
|
|
24368
|
+
_ref2$isBackward = _ref2.isBackward,
|
|
24369
|
+
isBackward = _ref2$isBackward === void 0 ? false : _ref2$isBackward;
|
|
24370
|
+
target = target || getActualTarget(event);
|
|
24344
24371
|
updateTabbableNodes();
|
|
24345
24372
|
var destinationNode = null;
|
|
24346
24373
|
if (state.tabbableGroups.length > 0) {
|
|
@@ -24363,8 +24390,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24363
24390
|
// REVERSE
|
|
24364
24391
|
|
|
24365
24392
|
// is the target the first tabbable node in a group?
|
|
24366
|
-
var startOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24367
|
-
var firstTabbableNode =
|
|
24393
|
+
var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
|
|
24394
|
+
var firstTabbableNode = _ref3.firstTabbableNode;
|
|
24368
24395
|
return target === firstTabbableNode;
|
|
24369
24396
|
});
|
|
24370
24397
|
if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
|
|
@@ -24382,7 +24409,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24382
24409
|
// the LAST group if it's the first tabbable node of the FIRST group)
|
|
24383
24410
|
var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
|
|
24384
24411
|
var destinationGroup = state.tabbableGroups[destinationGroupIndex];
|
|
24385
|
-
destinationNode = destinationGroup.lastTabbableNode;
|
|
24412
|
+
destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;
|
|
24386
24413
|
} else if (!isTabEvent(event)) {
|
|
24387
24414
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24388
24415
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24392,8 +24419,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24392
24419
|
// FORWARD
|
|
24393
24420
|
|
|
24394
24421
|
// is the target the last tabbable node in a group?
|
|
24395
|
-
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (
|
|
24396
|
-
var lastTabbableNode =
|
|
24422
|
+
var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref4) {
|
|
24423
|
+
var lastTabbableNode = _ref4.lastTabbableNode;
|
|
24397
24424
|
return target === lastTabbableNode;
|
|
24398
24425
|
});
|
|
24399
24426
|
if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
|
|
@@ -24411,7 +24438,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24411
24438
|
// group if it's the last tabbable node of the LAST group)
|
|
24412
24439
|
var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
|
|
24413
24440
|
var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
|
|
24414
|
-
destinationNode = _destinationGroup.firstTabbableNode;
|
|
24441
|
+
destinationNode = getTabIndex(target) >= 0 ? _destinationGroup.firstTabbableNode : _destinationGroup.firstDomTabbableNode;
|
|
24415
24442
|
} else if (!isTabEvent(event)) {
|
|
24416
24443
|
// user must have customized the nav keys so we have to move focus manually _within_
|
|
24417
24444
|
// the active group: do this based on the order determined by tabbable()
|
|
@@ -24423,6 +24450,153 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24423
24450
|
// NOTE: the fallbackFocus option does not support returning false to opt-out
|
|
24424
24451
|
destinationNode = getNodeForOption('fallbackFocus');
|
|
24425
24452
|
}
|
|
24453
|
+
return destinationNode;
|
|
24454
|
+
};
|
|
24455
|
+
|
|
24456
|
+
// This needs to be done on mousedown and touchstart instead of click
|
|
24457
|
+
// so that it precedes the focus event.
|
|
24458
|
+
var checkPointerDown = function checkPointerDown(e) {
|
|
24459
|
+
var target = getActualTarget(e);
|
|
24460
|
+
if (findContainerIndex(target, e) >= 0) {
|
|
24461
|
+
// allow the click since it ocurred inside the trap
|
|
24462
|
+
return;
|
|
24463
|
+
}
|
|
24464
|
+
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
|
24465
|
+
// immediately deactivate the trap
|
|
24466
|
+
trap.deactivate({
|
|
24467
|
+
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
24468
|
+
// which will result in the outside click setting focus to the node
|
|
24469
|
+
// that was clicked (and if not focusable, to "nothing"); by setting
|
|
24470
|
+
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
|
24471
|
+
// on activation (or the configured `setReturnFocus` node), whether the
|
|
24472
|
+
// outside click was on a focusable node or not
|
|
24473
|
+
returnFocus: config.returnFocusOnDeactivate
|
|
24474
|
+
});
|
|
24475
|
+
return;
|
|
24476
|
+
}
|
|
24477
|
+
|
|
24478
|
+
// This is needed for mobile devices.
|
|
24479
|
+
// (If we'll only let `click` events through,
|
|
24480
|
+
// then on mobile they will be blocked anyways if `touchstart` is blocked.)
|
|
24481
|
+
if (valueOrHandler(config.allowOutsideClick, e)) {
|
|
24482
|
+
// allow the click outside the trap to take place
|
|
24483
|
+
return;
|
|
24484
|
+
}
|
|
24485
|
+
|
|
24486
|
+
// otherwise, prevent the click
|
|
24487
|
+
e.preventDefault();
|
|
24488
|
+
};
|
|
24489
|
+
|
|
24490
|
+
// In case focus escapes the trap for some strange reason, pull it back in.
|
|
24491
|
+
// NOTE: the focusIn event is NOT cancelable, so if focus escapes, it may cause unexpected
|
|
24492
|
+
// scrolling if the node that got focused was out of view; there's nothing we can do to
|
|
24493
|
+
// prevent that from happening by the time we discover that focus escaped
|
|
24494
|
+
var checkFocusIn = function checkFocusIn(event) {
|
|
24495
|
+
var target = getActualTarget(event);
|
|
24496
|
+
var targetContained = findContainerIndex(target, event) >= 0;
|
|
24497
|
+
|
|
24498
|
+
// In Firefox when you Tab out of an iframe the Document is briefly focused.
|
|
24499
|
+
if (targetContained || target instanceof Document) {
|
|
24500
|
+
if (targetContained) {
|
|
24501
|
+
state.mostRecentlyFocusedNode = target;
|
|
24502
|
+
}
|
|
24503
|
+
} else {
|
|
24504
|
+
// escaped! pull it back in to where it just left
|
|
24505
|
+
event.stopImmediatePropagation();
|
|
24506
|
+
|
|
24507
|
+
// focus will escape if the MRU node had a positive tab index and user tried to nav forward;
|
|
24508
|
+
// it will also escape if the MRU node had a 0 tab index and user tried to nav backward
|
|
24509
|
+
// toward a node with a positive tab index
|
|
24510
|
+
var nextNode; // next node to focus, if we find one
|
|
24511
|
+
var navAcrossContainers = true;
|
|
24512
|
+
if (state.mostRecentlyFocusedNode) {
|
|
24513
|
+
if (getTabIndex(state.mostRecentlyFocusedNode) > 0) {
|
|
24514
|
+
// MRU container index must be >=0 otherwise we wouldn't have it as an MRU node...
|
|
24515
|
+
var mruContainerIdx = findContainerIndex(state.mostRecentlyFocusedNode);
|
|
24516
|
+
// there MAY not be any tabbable nodes in the container if there are at least 2 containers
|
|
24517
|
+
// and the MRU node is focusable but not tabbable (focus-trap requires at least 1 container
|
|
24518
|
+
// with at least one tabbable node in order to function, so this could be the other container
|
|
24519
|
+
// with nothing tabbable in it)
|
|
24520
|
+
var tabbableNodes = state.containerGroups[mruContainerIdx].tabbableNodes;
|
|
24521
|
+
if (tabbableNodes.length > 0) {
|
|
24522
|
+
// MRU tab index MAY not be found if the MRU node is focusable but not tabbable
|
|
24523
|
+
var mruTabIdx = tabbableNodes.findIndex(function (node) {
|
|
24524
|
+
return node === state.mostRecentlyFocusedNode;
|
|
24525
|
+
});
|
|
24526
|
+
if (mruTabIdx >= 0) {
|
|
24527
|
+
if (config.isKeyForward(state.recentNavEvent)) {
|
|
24528
|
+
if (mruTabIdx + 1 < tabbableNodes.length) {
|
|
24529
|
+
nextNode = tabbableNodes[mruTabIdx + 1];
|
|
24530
|
+
navAcrossContainers = false;
|
|
24531
|
+
}
|
|
24532
|
+
// else, don't wrap within the container as focus should move to next/previous
|
|
24533
|
+
// container
|
|
24534
|
+
} else {
|
|
24535
|
+
if (mruTabIdx - 1 >= 0) {
|
|
24536
|
+
nextNode = tabbableNodes[mruTabIdx - 1];
|
|
24537
|
+
navAcrossContainers = false;
|
|
24538
|
+
}
|
|
24539
|
+
// else, don't wrap within the container as focus should move to next/previous
|
|
24540
|
+
// container
|
|
24541
|
+
}
|
|
24542
|
+
// else, don't find in container order without considering direction too
|
|
24543
|
+
}
|
|
24544
|
+
}
|
|
24545
|
+
// else, no tabbable nodes in that container (which means we must have at least one other
|
|
24546
|
+
// container with at least one tabbable node in it, otherwise focus-trap would've thrown
|
|
24547
|
+
// an error the last time updateTabbableNodes() was run): find next node among all known
|
|
24548
|
+
// containers
|
|
24549
|
+
} else {
|
|
24550
|
+
// check to see if there's at least one tabbable node with a positive tab index inside
|
|
24551
|
+
// the trap because focus seems to escape when navigating backward from a tabbable node
|
|
24552
|
+
// with tabindex=0 when this is the case (instead of wrapping to the tabbable node with
|
|
24553
|
+
// the greatest positive tab index like it should)
|
|
24554
|
+
if (!state.containerGroups.some(function (g) {
|
|
24555
|
+
return g.tabbableNodes.some(function (n) {
|
|
24556
|
+
return getTabIndex(n) > 0;
|
|
24557
|
+
});
|
|
24558
|
+
})) {
|
|
24559
|
+
// no containers with tabbable nodes with positive tab indexes which means the focus
|
|
24560
|
+
// escaped for some other reason and we should just execute the fallback to the
|
|
24561
|
+
// MRU node or initial focus node, if any
|
|
24562
|
+
navAcrossContainers = false;
|
|
24563
|
+
}
|
|
24564
|
+
}
|
|
24565
|
+
} else {
|
|
24566
|
+
// no MRU node means we're likely in some initial condition when the trap has just
|
|
24567
|
+
// been activated and initial focus hasn't been given yet, in which case we should
|
|
24568
|
+
// fall through to trying to focus the initial focus node, which is what should
|
|
24569
|
+
// happen below at this point in the logic
|
|
24570
|
+
navAcrossContainers = false;
|
|
24571
|
+
}
|
|
24572
|
+
if (navAcrossContainers) {
|
|
24573
|
+
nextNode = findNextNavNode({
|
|
24574
|
+
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
24575
|
+
// outside the trap causing the focus escape we're trying to fix)
|
|
24576
|
+
target: state.mostRecentlyFocusedNode,
|
|
24577
|
+
isBackward: config.isKeyBackward(state.recentNavEvent)
|
|
24578
|
+
});
|
|
24579
|
+
}
|
|
24580
|
+
if (nextNode) {
|
|
24581
|
+
tryFocus(nextNode);
|
|
24582
|
+
} else {
|
|
24583
|
+
tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
|
|
24584
|
+
}
|
|
24585
|
+
}
|
|
24586
|
+
state.recentNavEvent = undefined; // clear
|
|
24587
|
+
};
|
|
24588
|
+
|
|
24589
|
+
// Hijack key nav events on the first and last focusable nodes of the trap,
|
|
24590
|
+
// in order to prevent focus from escaping. If it escapes for even a
|
|
24591
|
+
// moment it can end up scrolling the page and causing confusion so we
|
|
24592
|
+
// kind of need to capture the action at the keydown phase.
|
|
24593
|
+
var checkKeyNav = function checkKeyNav(event) {
|
|
24594
|
+
var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24595
|
+
state.recentNavEvent = event;
|
|
24596
|
+
var destinationNode = findNextNavNode({
|
|
24597
|
+
event: event,
|
|
24598
|
+
isBackward: isBackward
|
|
24599
|
+
});
|
|
24426
24600
|
if (destinationNode) {
|
|
24427
24601
|
if (isTabEvent(event)) {
|
|
24428
24602
|
// since tab natively moves focus, we wouldn't have a destination node unless we
|
|
@@ -25075,7 +25249,7 @@ class InputDatePicker {
|
|
|
25075
25249
|
// --------------------------------------------------------------------------
|
|
25076
25250
|
/** Sets focus on the component. */
|
|
25077
25251
|
async setFocus() {
|
|
25078
|
-
await
|
|
25252
|
+
await componentFocusable(this);
|
|
25079
25253
|
this.el.focus();
|
|
25080
25254
|
}
|
|
25081
25255
|
/**
|
|
@@ -25877,7 +26051,7 @@ class InputNumber {
|
|
|
25877
26051
|
//--------------------------------------------------------------------------
|
|
25878
26052
|
/** Sets focus on the component. */
|
|
25879
26053
|
async setFocus() {
|
|
25880
|
-
await
|
|
26054
|
+
await componentFocusable(this);
|
|
25881
26055
|
this.childNumberEl?.focus();
|
|
25882
26056
|
}
|
|
25883
26057
|
/** Selects the text of the component's `value`. */
|
|
@@ -26293,7 +26467,7 @@ class InputText {
|
|
|
26293
26467
|
//--------------------------------------------------------------------------
|
|
26294
26468
|
/** Sets focus on the component. */
|
|
26295
26469
|
async setFocus() {
|
|
26296
|
-
await
|
|
26470
|
+
await componentFocusable(this);
|
|
26297
26471
|
this.childEl?.focus();
|
|
26298
26472
|
}
|
|
26299
26473
|
/** Selects the text of the component's `value`. */
|
|
@@ -28089,7 +28263,7 @@ class InputTimePicker {
|
|
|
28089
28263
|
// --------------------------------------------------------------------------
|
|
28090
28264
|
/** Sets focus on the component. */
|
|
28091
28265
|
async setFocus() {
|
|
28092
|
-
await
|
|
28266
|
+
await componentFocusable(this);
|
|
28093
28267
|
this.el.focus();
|
|
28094
28268
|
}
|
|
28095
28269
|
/**
|
|
@@ -28458,7 +28632,7 @@ class Link {
|
|
|
28458
28632
|
//--------------------------------------------------------------------------
|
|
28459
28633
|
/** Sets focus on the component. */
|
|
28460
28634
|
async setFocus() {
|
|
28461
|
-
await
|
|
28635
|
+
await componentFocusable(this);
|
|
28462
28636
|
focusElement(this.childEl);
|
|
28463
28637
|
}
|
|
28464
28638
|
get el() { return getElement(this); }
|
|
@@ -28811,8 +28985,8 @@ class List$1 {
|
|
|
28811
28985
|
// --------------------------------------------------------------------------
|
|
28812
28986
|
/** Sets focus on the component's first focusable element. */
|
|
28813
28987
|
async setFocus() {
|
|
28814
|
-
await
|
|
28815
|
-
this.enabledListItems.find((listItem) => listItem.active)?.setFocus();
|
|
28988
|
+
await componentFocusable(this);
|
|
28989
|
+
return this.enabledListItems.find((listItem) => listItem.active)?.setFocus();
|
|
28816
28990
|
}
|
|
28817
28991
|
// --------------------------------------------------------------------------
|
|
28818
28992
|
//
|
|
@@ -29121,7 +29295,7 @@ class ListItem {
|
|
|
29121
29295
|
// --------------------------------------------------------------------------
|
|
29122
29296
|
/** Sets focus on the component. */
|
|
29123
29297
|
async setFocus() {
|
|
29124
|
-
await
|
|
29298
|
+
await componentFocusable(this);
|
|
29125
29299
|
const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
|
|
29126
29300
|
const focusIndex = focusMap.get(parentListEl);
|
|
29127
29301
|
if (typeof focusIndex === "number") {
|
|
@@ -29684,7 +29858,7 @@ class Modal {
|
|
|
29684
29858
|
*
|
|
29685
29859
|
*/
|
|
29686
29860
|
async setFocus() {
|
|
29687
|
-
await
|
|
29861
|
+
await componentFocusable(this);
|
|
29688
29862
|
focusFirstTabbable(this.el);
|
|
29689
29863
|
}
|
|
29690
29864
|
/**
|
|
@@ -29898,13 +30072,13 @@ class Notice {
|
|
|
29898
30072
|
//--------------------------------------------------------------------------
|
|
29899
30073
|
/** Sets focus on the component's first focusable element. */
|
|
29900
30074
|
async setFocus() {
|
|
29901
|
-
await
|
|
30075
|
+
await componentFocusable(this);
|
|
29902
30076
|
const noticeLinkEl = this.el.querySelector("calcite-link");
|
|
29903
30077
|
if (!this.closeButton && !noticeLinkEl) {
|
|
29904
30078
|
return;
|
|
29905
30079
|
}
|
|
29906
30080
|
if (noticeLinkEl) {
|
|
29907
|
-
noticeLinkEl.setFocus();
|
|
30081
|
+
return noticeLinkEl.setFocus();
|
|
29908
30082
|
}
|
|
29909
30083
|
else if (this.closeButton) {
|
|
29910
30084
|
this.closeButton.focus();
|
|
@@ -30145,7 +30319,7 @@ class Pagination {
|
|
|
30145
30319
|
// --------------------------------------------------------------------------
|
|
30146
30320
|
/** Sets focus on the component's first focusable element. */
|
|
30147
30321
|
async setFocus() {
|
|
30148
|
-
await
|
|
30322
|
+
await componentFocusable(this);
|
|
30149
30323
|
this.el.focus();
|
|
30150
30324
|
}
|
|
30151
30325
|
/** Go to the next page of results. */
|
|
@@ -30459,7 +30633,7 @@ class Panel {
|
|
|
30459
30633
|
* Sets focus on the component's first focusable element.
|
|
30460
30634
|
*/
|
|
30461
30635
|
async setFocus() {
|
|
30462
|
-
await
|
|
30636
|
+
await componentFocusable(this);
|
|
30463
30637
|
focusFirstTabbable(this.containerEl);
|
|
30464
30638
|
}
|
|
30465
30639
|
/**
|
|
@@ -31049,7 +31223,7 @@ class PickList {
|
|
|
31049
31223
|
* @param focusId
|
|
31050
31224
|
*/
|
|
31051
31225
|
async setFocus(focusId) {
|
|
31052
|
-
await
|
|
31226
|
+
await componentFocusable(this);
|
|
31053
31227
|
return setFocus.call(this, focusId);
|
|
31054
31228
|
}
|
|
31055
31229
|
// --------------------------------------------------------------------------
|
|
@@ -31294,7 +31468,7 @@ class PickListItem {
|
|
|
31294
31468
|
}
|
|
31295
31469
|
/** Sets focus on the component. */
|
|
31296
31470
|
async setFocus() {
|
|
31297
|
-
await
|
|
31471
|
+
await componentFocusable(this);
|
|
31298
31472
|
this.focusEl?.focus();
|
|
31299
31473
|
}
|
|
31300
31474
|
// --------------------------------------------------------------------------
|
|
@@ -31616,7 +31790,7 @@ class Popover {
|
|
|
31616
31790
|
this.effectiveReferenceElement = undefined;
|
|
31617
31791
|
this.defaultMessages = undefined;
|
|
31618
31792
|
}
|
|
31619
|
-
|
|
31793
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
31620
31794
|
if (!this.open) {
|
|
31621
31795
|
return;
|
|
31622
31796
|
}
|
|
@@ -31716,7 +31890,7 @@ class Popover {
|
|
|
31716
31890
|
* Sets focus on the component's first focusable element.
|
|
31717
31891
|
*/
|
|
31718
31892
|
async setFocus() {
|
|
31719
|
-
await
|
|
31893
|
+
await componentFocusable(this);
|
|
31720
31894
|
forceUpdate$1(this.el);
|
|
31721
31895
|
focusFirstTabbable(this.el);
|
|
31722
31896
|
}
|
|
@@ -31782,7 +31956,7 @@ class Popover {
|
|
|
31782
31956
|
static get assetsDirs() { return ["assets"]; }
|
|
31783
31957
|
get el() { return getElement(this); }
|
|
31784
31958
|
static get watchers() { return {
|
|
31785
|
-
"focusTrapDisabled": ["
|
|
31959
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
31786
31960
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
31787
31961
|
"messageOverrides": ["onMessagesChange"],
|
|
31788
31962
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
@@ -32006,7 +32180,7 @@ class RadioButton {
|
|
|
32006
32180
|
//--------------------------------------------------------------------------
|
|
32007
32181
|
/** Sets focus on the component. */
|
|
32008
32182
|
async setFocus() {
|
|
32009
|
-
await
|
|
32183
|
+
await componentFocusable(this);
|
|
32010
32184
|
if (!this.disabled) {
|
|
32011
32185
|
focusElement(this.containerEl);
|
|
32012
32186
|
}
|
|
@@ -32266,13 +32440,12 @@ class RadioButtonGroup {
|
|
|
32266
32440
|
//--------------------------------------------------------------------------
|
|
32267
32441
|
/** Sets focus on the fist focusable `calcite-radio-button` element in the component. */
|
|
32268
32442
|
async setFocus() {
|
|
32269
|
-
await
|
|
32443
|
+
await componentFocusable(this);
|
|
32270
32444
|
if (this.selectedItem && !this.selectedItem.disabled) {
|
|
32271
|
-
this.selectedItem.setFocus();
|
|
32272
|
-
return;
|
|
32445
|
+
return this.selectedItem.setFocus();
|
|
32273
32446
|
}
|
|
32274
32447
|
if (this.radioButtons.length > 0) {
|
|
32275
|
-
this.getFocusableRadioButton()?.setFocus();
|
|
32448
|
+
return this.getFocusableRadioButton()?.setFocus();
|
|
32276
32449
|
}
|
|
32277
32450
|
}
|
|
32278
32451
|
//--------------------------------------------------------------------------
|
|
@@ -32548,7 +32721,7 @@ class Rating {
|
|
|
32548
32721
|
//--------------------------------------------------------------------------
|
|
32549
32722
|
/** Sets focus on the component. */
|
|
32550
32723
|
async setFocus() {
|
|
32551
|
-
await
|
|
32724
|
+
await componentFocusable(this);
|
|
32552
32725
|
this.inputFocusRef?.focus();
|
|
32553
32726
|
}
|
|
32554
32727
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -32842,7 +33015,7 @@ class SegmentedControl {
|
|
|
32842
33015
|
// --------------------------------------------------------------------------
|
|
32843
33016
|
/** Sets focus on the component. */
|
|
32844
33017
|
async setFocus() {
|
|
32845
|
-
await
|
|
33018
|
+
await componentFocusable(this);
|
|
32846
33019
|
(this.selectedItem || this.getItems()[0])?.focus();
|
|
32847
33020
|
}
|
|
32848
33021
|
//--------------------------------------------------------------------------
|
|
@@ -33061,7 +33234,7 @@ class Select {
|
|
|
33061
33234
|
//--------------------------------------------------------------------------
|
|
33062
33235
|
/** Sets focus on the component. */
|
|
33063
33236
|
async setFocus() {
|
|
33064
|
-
await
|
|
33237
|
+
await componentFocusable(this);
|
|
33065
33238
|
focusElement(this.selectEl);
|
|
33066
33239
|
}
|
|
33067
33240
|
handleOptionOrGroupChange(event) {
|
|
@@ -34275,7 +34448,7 @@ class Slider {
|
|
|
34275
34448
|
//--------------------------------------------------------------------------
|
|
34276
34449
|
/** Sets focus on the component. */
|
|
34277
34450
|
async setFocus() {
|
|
34278
|
-
await
|
|
34451
|
+
await componentFocusable(this);
|
|
34279
34452
|
const handle = this.minHandle ? this.minHandle : this.maxHandle;
|
|
34280
34453
|
handle?.focus();
|
|
34281
34454
|
}
|
|
@@ -37966,7 +38139,7 @@ class SplitButton {
|
|
|
37966
38139
|
//--------------------------------------------------------------------------
|
|
37967
38140
|
/** Sets focus on the component's first focusable element. */
|
|
37968
38141
|
async setFocus() {
|
|
37969
|
-
await
|
|
38142
|
+
await componentFocusable(this);
|
|
37970
38143
|
this.el.focus();
|
|
37971
38144
|
}
|
|
37972
38145
|
//--------------------------------------------------------------------------
|
|
@@ -38482,7 +38655,7 @@ class StepperItem {
|
|
|
38482
38655
|
//--------------------------------------------------------------------------
|
|
38483
38656
|
/** Sets focus on the component. */
|
|
38484
38657
|
async setFocus() {
|
|
38485
|
-
await
|
|
38658
|
+
await componentFocusable(this);
|
|
38486
38659
|
(this.layout === "vertical" ? this.el : this.headerEl)?.focus();
|
|
38487
38660
|
}
|
|
38488
38661
|
renderIcon() {
|
|
@@ -38582,7 +38755,7 @@ class Switch {
|
|
|
38582
38755
|
//--------------------------------------------------------------------------
|
|
38583
38756
|
/** Sets focus on the component. */
|
|
38584
38757
|
async setFocus() {
|
|
38585
|
-
await
|
|
38758
|
+
await componentFocusable(this);
|
|
38586
38759
|
focusElement(this.switchEl);
|
|
38587
38760
|
}
|
|
38588
38761
|
//--------------------------------------------------------------------------
|
|
@@ -39596,7 +39769,7 @@ class TextArea {
|
|
|
39596
39769
|
//--------------------------------------------------------------------------
|
|
39597
39770
|
/** Sets focus on the component. */
|
|
39598
39771
|
async setFocus() {
|
|
39599
|
-
await
|
|
39772
|
+
await componentFocusable(this);
|
|
39600
39773
|
this.textAreaEl.focus();
|
|
39601
39774
|
}
|
|
39602
39775
|
/** Selects the text of the component's `value`. */
|
|
@@ -39833,8 +40006,8 @@ class TileSelect {
|
|
|
39833
40006
|
//--------------------------------------------------------------------------
|
|
39834
40007
|
/** Sets focus on the component. */
|
|
39835
40008
|
async setFocus() {
|
|
39836
|
-
await
|
|
39837
|
-
this.input?.setFocus();
|
|
40009
|
+
await componentFocusable(this);
|
|
40010
|
+
return this.input?.setFocus();
|
|
39838
40011
|
}
|
|
39839
40012
|
//--------------------------------------------------------------------------
|
|
39840
40013
|
//
|
|
@@ -40539,7 +40712,7 @@ class TimePicker {
|
|
|
40539
40712
|
* Sets focus on the component's first focusable element.
|
|
40540
40713
|
*/
|
|
40541
40714
|
async setFocus() {
|
|
40542
|
-
await
|
|
40715
|
+
await componentFocusable(this);
|
|
40543
40716
|
this.el?.focus();
|
|
40544
40717
|
}
|
|
40545
40718
|
// --------------------------------------------------------------------------
|
|
@@ -40551,7 +40724,7 @@ class TimePicker {
|
|
|
40551
40724
|
this.showSecond = this.step < 60;
|
|
40552
40725
|
}
|
|
40553
40726
|
async focusPart(target) {
|
|
40554
|
-
await
|
|
40727
|
+
await componentFocusable(this);
|
|
40555
40728
|
this[`${target || "hour"}El`]?.focus();
|
|
40556
40729
|
}
|
|
40557
40730
|
buttonActivated(event) {
|
|
@@ -42345,7 +42518,7 @@ class ValueList {
|
|
|
42345
42518
|
* @param focusId
|
|
42346
42519
|
*/
|
|
42347
42520
|
async setFocus(focusId) {
|
|
42348
|
-
await
|
|
42521
|
+
await componentFocusable(this);
|
|
42349
42522
|
return setFocus.call(this, focusId);
|
|
42350
42523
|
}
|
|
42351
42524
|
// --------------------------------------------------------------------------
|
|
@@ -42505,8 +42678,8 @@ class ValueListItem {
|
|
|
42505
42678
|
}
|
|
42506
42679
|
/** Set focus on the component. */
|
|
42507
42680
|
async setFocus() {
|
|
42508
|
-
await
|
|
42509
|
-
this.pickListItem?.setFocus();
|
|
42681
|
+
await componentFocusable(this);
|
|
42682
|
+
return this.pickListItem?.setFocus();
|
|
42510
42683
|
}
|
|
42511
42684
|
calciteListItemChangeHandler(event) {
|
|
42512
42685
|
// adjust item payload from wrapped item before bubbling
|