@esri/calcite-components 1.5.0-next.3 → 1.5.0-next.30
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/LICENSE.md +1 -1
- 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/icon/slash16.json +1 -0
- package/dist/calcite/assets/icon/slash24.json +1 -0
- package/dist/calcite/assets/icon/slash32.json +1 -0
- package/dist/calcite/assets/icon/textButton16.json +1 -0
- package/dist/calcite/assets/icon/textButton24.json +1 -0
- package/dist/calcite/assets/icon/textButton32.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline16.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline24.json +1 -0
- package/dist/calcite/assets/icon/textDashedUnderline32.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline16.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline24.json +1 -0
- package/dist/calcite/assets/icon/textSolidUnderline32.json +1 -0
- package/dist/calcite/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_en.json +2 -1
- package/dist/calcite/assets/input-time-zone/t9n/index.d.ts +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ar.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_bg.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_bs.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ca.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_cs.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_da.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_de.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_el.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_en.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_es.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_et.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_fi.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_fr.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_he.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_hr.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_hu.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_id.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_it.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ja.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ko.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_lt.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_lv.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_nl.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_no.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_pl.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_pt-BR.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_pt-PT.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ro.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_ru.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_sk.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_sl.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_sr.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_sv.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_th.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_tr.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_uk.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_vi.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-CN.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-HK.json +433 -0
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-TW.json +433 -0
- 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/rating/t9n/messages.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_en.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/rating/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/text-area/t9n/index.d.ts +0 -1
- package/dist/calcite/assets/text-area/t9n/messages.json +1 -2
- package/dist/calcite/assets/text-area/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_en.json +1 -2
- package/dist/calcite/assets/text-area/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/value-list/t9n/messages.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ar.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_bg.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_bs.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ca.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_cs.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_da.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_de.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_el.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_en.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_es.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_et.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_fi.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_fr.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_he.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_hr.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_hu.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_id.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_it.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ja.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ko.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_lt.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_lv.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_nl.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_no.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_pl.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_pt-BR.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_pt-PT.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ro.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_ru.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_sk.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_sl.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_sr.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_sv.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_th.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_tr.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_uk.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_vi.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_zh-CN.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_zh-HK.json +4 -4
- package/dist/calcite/assets/value-list/t9n/messages_zh-TW.json +4 -4
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +3 -3
- package/dist/calcite/index.esm.js +3 -3
- package/dist/calcite/p-000d29bd.js +6 -0
- package/dist/calcite/p-0037a6ca.js +6 -0
- package/dist/calcite/p-00602d17.entry.js +6 -0
- package/dist/calcite/p-00626f75.js +6 -0
- package/dist/calcite/p-0183faea.entry.js +6 -0
- package/dist/calcite/p-03be9d6c.entry.js +6 -0
- package/dist/calcite/p-08109758.js +6 -0
- package/dist/calcite/p-08c3d5c8.js +6 -0
- package/dist/calcite/p-094ca70e.entry.js +6 -0
- package/dist/calcite/{p-ebb84082.js → p-097bf178.js} +3 -3
- package/dist/calcite/p-0d880812.js +6 -0
- package/dist/calcite/p-0d9414ea.entry.js +6 -0
- package/dist/calcite/p-0dd61b6d.js +6 -0
- package/dist/calcite/p-13af51b7.js +6 -0
- package/dist/calcite/{p-b4860869.js → p-14a9561a.js} +2 -2
- package/dist/calcite/p-14b8a0cd.entry.js +6 -0
- package/dist/calcite/p-18247d27.entry.js +6 -0
- package/dist/calcite/p-1d900c12.entry.js +6 -0
- package/dist/calcite/p-1f941377.js +6 -0
- package/dist/calcite/p-2065e315.entry.js +6 -0
- package/dist/calcite/p-20ed15b1.entry.js +6 -0
- package/dist/calcite/p-21240015.js +6 -0
- package/dist/calcite/p-217fc1b2.entry.js +6 -0
- package/dist/calcite/p-22622a0c.js +6 -0
- package/dist/calcite/p-2398369e.entry.js +6 -0
- package/dist/calcite/p-24942192.entry.js +6 -0
- package/dist/calcite/p-268709fa.entry.js +6 -0
- package/dist/calcite/{p-2c60840f.js → p-26fb102a.js} +2 -2
- package/dist/calcite/p-270e4534.js +6 -0
- package/dist/calcite/{p-f5a5652c.js → p-2819919d.js} +2 -2
- package/dist/calcite/p-284100e7.entry.js +6 -0
- package/dist/calcite/{p-091fd402.js → p-2bc413e3.js} +3 -3
- package/dist/calcite/p-2f1bb715.js +6 -0
- package/dist/calcite/p-2f8b7c3a.js +6 -0
- package/dist/calcite/p-31170b18.js +6 -0
- package/dist/calcite/p-32f8f55d.js +6 -0
- package/dist/calcite/p-35a061bd.entry.js +6 -0
- package/dist/calcite/p-362232eb.js +6 -0
- package/dist/calcite/p-36979ef4.entry.js +6 -0
- package/dist/calcite/p-380effe2.js +6 -0
- package/dist/calcite/p-3afee966.js +6 -0
- package/dist/calcite/p-3b00eed3.entry.js +6 -0
- package/dist/calcite/p-41c8b85e.entry.js +6 -0
- package/dist/calcite/p-42b14663.js +6 -0
- package/dist/calcite/p-449a0493.entry.js +6 -0
- package/dist/calcite/p-4879aedc.entry.js +6 -0
- package/dist/calcite/p-48b83182.entry.js +6 -0
- package/dist/calcite/{p-9466975b.js → p-4921bf2d.js} +3 -3
- package/dist/calcite/p-494cac30.entry.js +6 -0
- package/dist/calcite/p-49b2568e.js +6 -0
- package/dist/calcite/p-4d9e683c.js +10 -0
- package/dist/calcite/p-4e0ed597.entry.js +6 -0
- package/dist/calcite/p-52b6299c.entry.js +6 -0
- package/dist/calcite/p-5426f049.entry.js +6 -0
- package/dist/calcite/p-558e7b02.entry.js +6 -0
- package/dist/calcite/p-58386b03.entry.js +6 -0
- package/dist/calcite/p-584b1d14.js +6 -0
- package/dist/calcite/{p-7850b5bf.js → p-593755af.js} +3 -3
- package/dist/calcite/p-59471611.js +6 -0
- package/dist/calcite/p-5aca4b58.js +6 -0
- package/dist/calcite/p-5b9d09e9.entry.js +6 -0
- package/dist/calcite/p-5f6e0149.entry.js +6 -0
- package/dist/calcite/{p-468ed2b6.js → p-610130b9.js} +2 -2
- package/dist/calcite/p-62215905.entry.js +6 -0
- package/dist/calcite/p-6727a298.entry.js +6 -0
- package/dist/calcite/p-677d964f.js +6 -0
- package/dist/calcite/p-682a5a94.entry.js +6 -0
- package/dist/calcite/p-692782ba.js +6 -0
- package/dist/calcite/p-695f82a0.entry.js +6 -0
- package/dist/calcite/p-6bd778f9.js +6 -0
- package/dist/calcite/p-703a48e9.js +6 -0
- package/dist/calcite/p-73516ea4.js +6 -0
- package/dist/calcite/{p-3ae8a203.js → p-74d34c08.js} +3 -3
- package/dist/calcite/p-75f664a8.js +6 -0
- package/dist/calcite/p-792e5c49.js +6 -0
- package/dist/calcite/{p-eb7d0b42.js → p-79ce001e.js} +2 -2
- package/dist/calcite/p-7a810f89.entry.js +6 -0
- package/dist/calcite/p-7b6181ef.entry.js +6 -0
- package/dist/calcite/p-7e42936f.js +6 -0
- package/dist/calcite/p-80be845b.js +6 -0
- package/dist/calcite/p-81c85fe4.js +6 -0
- package/dist/calcite/p-83f70b7e.entry.js +6 -0
- package/dist/calcite/p-84628821.js +6 -0
- package/dist/calcite/p-8478cf31.js +6 -0
- package/dist/calcite/p-8523520b.entry.js +6 -0
- package/dist/calcite/p-86cd8a1c.entry.js +6 -0
- package/dist/calcite/p-8887aab6.js +6 -0
- package/dist/calcite/p-8be7cccd.entry.js +6 -0
- package/dist/calcite/p-8da6ae5f.js +6 -0
- package/dist/calcite/p-8e25423d.js +6 -0
- package/dist/calcite/p-90fc837f.js +6 -0
- package/dist/calcite/p-9226f1df.entry.js +6 -0
- package/dist/calcite/p-927607f7.entry.js +6 -0
- package/dist/calcite/p-9298b70b.entry.js +6 -0
- package/dist/calcite/p-945bfc39.js +6 -0
- package/dist/calcite/p-947aa6a2.js +6 -0
- package/dist/calcite/p-963018dc.entry.js +6 -0
- package/dist/calcite/p-99fa5d1d.entry.js +6 -0
- package/dist/calcite/{p-e345755c.js → p-9a04dbcb.js} +2 -2
- package/dist/calcite/{p-18dbbb72.js → p-9a3aed00.js} +2 -2
- package/dist/calcite/p-9d2863c1.entry.js +6 -0
- package/dist/calcite/p-9d5e4efd.entry.js +6 -0
- package/dist/calcite/p-a147dba6.entry.js +6 -0
- package/dist/calcite/p-ab57251e.js +6 -0
- package/dist/calcite/p-ac013faf.entry.js +6 -0
- package/dist/calcite/p-ac3e0110.js +6 -0
- package/dist/calcite/p-ad001cad.js +6 -0
- package/dist/calcite/p-adbff7e0.js +6 -0
- package/dist/calcite/{p-22e5b579.js → p-b44d8b94.js} +3 -3
- package/dist/calcite/{p-54396627.js → p-b59221ac.js} +2 -2
- package/dist/calcite/p-b5e6b16a.entry.js +6 -0
- package/dist/calcite/p-b9bf9ea9.entry.js +6 -0
- package/dist/calcite/p-bd2664fc.js +6 -0
- package/dist/calcite/{p-86f7bf8c.js → p-c04efa3a.js} +3 -3
- package/dist/calcite/p-c04f1d04.js +11 -0
- package/dist/calcite/p-c063b3f4.entry.js +6 -0
- package/dist/calcite/p-c0f71e6a.entry.js +6 -0
- package/dist/calcite/p-c2c3f2ed.entry.js +6 -0
- package/dist/calcite/p-c3ec2d3c.entry.js +6 -0
- package/dist/calcite/{p-942cd7f8.js → p-c3ffc21b.js} +2 -2
- package/dist/calcite/p-c432030c.js +6 -0
- package/dist/calcite/p-c47abc10.js +6 -0
- package/dist/calcite/p-c5aa4321.js +6 -0
- package/dist/calcite/p-d0486cd6.entry.js +6 -0
- package/dist/calcite/p-d2a8dd10.entry.js +6 -0
- package/dist/calcite/p-d2aededc.js +6 -0
- package/dist/calcite/p-d4fd2604.js +6 -0
- package/dist/calcite/{p-9cfcd91f.js → p-d9476212.js} +2 -2
- package/dist/calcite/p-df6c1f8c.js +6 -0
- package/dist/calcite/p-e2c524b6.entry.js +6 -0
- package/dist/calcite/p-e3fe3b91.js +6 -0
- package/dist/calcite/p-e64d9835.entry.js +6 -0
- package/dist/calcite/{p-04278e22.js → p-eaf40a9c.js} +2 -2
- package/dist/calcite/p-eb7adb41.js +6 -0
- package/dist/calcite/p-ee6fb186.js +6 -0
- package/dist/calcite/p-eecd08c5.js +6 -0
- package/dist/calcite/p-f03f72fe.entry.js +6 -0
- package/dist/calcite/p-f0fbd107.js +6 -0
- package/dist/calcite/{p-b656fc7b.js → p-f153c053.js} +2 -2
- package/dist/calcite/p-f2bc0cb9.entry.js +6 -0
- package/dist/calcite/p-f2c99d7e.js +6 -0
- package/dist/calcite/p-f2ca96da.entry.js +6 -0
- package/dist/calcite/p-f5b5012e.js +6 -0
- package/dist/calcite/p-f6043ec4.js +6 -0
- package/dist/calcite/p-f941aeec.entry.js +6 -0
- package/dist/calcite/p-f9bbe8ab.js +6 -0
- package/dist/calcite/p-f9c7b40b.js +6 -0
- package/dist/calcite/p-fa4528a1.entry.js +6 -0
- package/dist/calcite/p-ff1b47ff.entry.js +6 -0
- package/dist/calcite/p-fff4fe75.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-8db548f6.js → ExpandToggle-48a15f5f.js} +16 -16
- package/dist/cjs/{FloatingArrow-22c0d1c3.js → FloatingArrow-e6c91542.js} +7 -7
- package/dist/cjs/{Heading-e9633d44.js → Heading-11fd6b53.js} +3 -3
- package/dist/cjs/{app-globals-cb698128.js → app-globals-ab8ba4e0.js} +4 -4
- package/dist/cjs/{ar-1706b8a8.js → ar-6391e970.js} +16 -17
- package/dist/cjs/{array-5b1bfeaf.js → array-73674173.js} +2 -2
- package/dist/cjs/{bg-b63f7be7.js → bg-e22a0ed8.js} +16 -17
- package/dist/cjs/{bs-04f3cd11.js → bs-25e0ab0c.js} +16 -17
- package/dist/cjs/{ca-8f1e2d8a.js → ca-0fbae1db.js} +16 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +52 -64
- package/dist/cjs/calcite-action-bar.cjs.entry.js +29 -25
- package/dist/cjs/calcite-action-group.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action-menu.cjs.entry.js +17 -17
- package/dist/cjs/calcite-action-pad.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action.cjs.entry.js +21 -22
- package/dist/cjs/calcite-alert.cjs.entry.js +25 -26
- package/dist/cjs/calcite-avatar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-block_2.cjs.entry.js +68 -40
- package/dist/cjs/calcite-button.cjs.entry.js +18 -19
- package/dist/cjs/calcite-card.cjs.entry.js +15 -15
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -14
- package/dist/cjs/calcite-chip-group.cjs.entry.js +12 -13
- package/dist/cjs/calcite-chip.cjs.entry.js +20 -21
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +99 -86
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +46 -48
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +53 -54
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -45
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -14
- package/dist/cjs/calcite-filter.cjs.entry.js +41 -27
- package/dist/cjs/calcite-flow-item.cjs.entry.js +23 -23
- package/dist/cjs/calcite-flow.cjs.entry.js +29 -13
- package/dist/cjs/calcite-graph_2.cjs.entry.js +40 -41
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon.cjs.entry.js +11 -11
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +19 -20
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +44 -41
- package/dist/cjs/calcite-input-message.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +48 -44
- package/dist/cjs/calcite-input-text.cjs.entry.js +27 -28
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-535ff529.js → calcite-input-time-picker.calcite-time-picker-e380d138.js} +240 -146
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +198 -0
- package/dist/cjs/calcite-input.cjs.entry.js +51 -59
- package/dist/cjs/calcite-label.cjs.entry.js +10 -10
- package/dist/cjs/calcite-link.cjs.entry.js +10 -11
- package/dist/cjs/calcite-list_3.cjs.entry.js +120 -69
- package/dist/cjs/calcite-loader.cjs.entry.js +8 -8
- package/dist/cjs/calcite-menu_2.cjs.entry.js +28 -24
- package/dist/cjs/calcite-modal.cjs.entry.js +26 -25
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +25 -21
- package/dist/cjs/calcite-notice.cjs.entry.js +18 -18
- package/dist/cjs/calcite-option_3.cjs.entry.js +19 -20
- package/dist/cjs/calcite-pagination.cjs.entry.js +19 -19
- package/dist/cjs/calcite-panel.cjs.entry.js +25 -26
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -26
- package/dist/cjs/calcite-popover.cjs.entry.js +31 -31
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +36 -18
- package/dist/cjs/calcite-rating.cjs.entry.js +21 -22
- package/dist/cjs/calcite-scrim.cjs.entry.js +13 -13
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +16 -17
- package/dist/cjs/calcite-shell_3.cjs.entry.js +29 -29
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +13 -14
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -10
- package/dist/cjs/calcite-stack.cjs.entry.js +14 -28
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +22 -23
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +23 -24
- package/dist/cjs/calcite-text-area.cjs.entry.js +46 -29
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -14
- package/dist/cjs/calcite-tile.cjs.entry.js +12 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-tooltip.cjs.entry.js +20 -20
- package/dist/cjs/calcite-tree_2.cjs.entry.js +25 -62
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +30 -31
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-3d86b720.js → conditionalSlot-0d741a32.js} +4 -4
- package/dist/cjs/{cs-8b285546.js → cs-db4e50cd.js} +16 -17
- package/dist/cjs/{da-46cd75f5.js → da-e64aa0e7.js} +16 -17
- package/dist/cjs/{de-18fbaa5f.js → de-44aac87e.js} +16 -17
- package/dist/cjs/{de-at-df2817ed.js → de-at-285ea79f.js} +16 -17
- package/dist/cjs/{de-ch-bbf88b74.js → de-ch-0e490d89.js} +16 -17
- package/dist/cjs/{debounce-e09471b5.js → debounce-7f3b05f6.js} +2 -2
- package/dist/cjs/{dom-4f7774f5.js → dom-cf6c6918.js} +56 -23
- package/dist/cjs/{el-853e25d3.js → el-4350c85a.js} +16 -17
- package/dist/cjs/{en-au-a03356d0.js → en-au-da840bbe.js} +16 -17
- package/dist/cjs/{en-ca-25a7048a.js → en-ca-8dc150b6.js} +16 -17
- package/dist/cjs/{en-gb-d50b971a.js → en-gb-fc6815d0.js} +16 -17
- package/dist/cjs/{es-d13b5666.js → es-bfd9c570.js} +16 -17
- package/dist/cjs/{es-mx-56cbf823.js → es-mx-2e95f4aa.js} +16 -17
- package/dist/cjs/{et-358e30b3.js → et-68245b1d.js} +16 -17
- package/dist/cjs/{fi-b310fb67.js → fi-680a07dd.js} +16 -17
- package/dist/cjs/{filter-f4c5783a.js → filter-9ecf95ee.js} +3 -3
- package/dist/cjs/{floating-ui-427918f2.js → floating-ui-0cd61b9d.js} +518 -488
- package/dist/cjs/{focusTrapComponent-35b117bd.js → focusTrapComponent-4fa90cf5.js} +253 -100
- package/dist/cjs/{form-ce32cfbf.js → form-aa0ec6ff.js} +6 -6
- package/dist/cjs/{fr-a9841cc7.js → fr-a532c73b.js} +16 -17
- package/dist/cjs/{fr-ch-a7d04a56.js → fr-ch-b76f7f8d.js} +16 -17
- package/dist/cjs/{guid-6463d06f.js → guid-5ff88f0e.js} +2 -2
- package/dist/cjs/{he-c6a4f14b.js → he-0e957b15.js} +16 -17
- package/dist/cjs/{hi-7eb85ede.js → hi-d29bef6a.js} +16 -17
- package/dist/cjs/{hr-af7040b3.js → hr-b6be0145.js} +16 -17
- package/dist/cjs/{hu-c0d32e2d.js → hu-7db595b2.js} +16 -17
- package/dist/cjs/{id-0bdb21c3.js → id-9fb5c6a2.js} +16 -17
- package/dist/cjs/{index-faff3ea7.js → index-02d18cd3.js} +10 -6
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{interactive-274d5a97.js → interactive-452dad34.js} +12 -4
- package/dist/cjs/{it-7b33afef.js → it-2969cfa7.js} +16 -17
- package/dist/cjs/{it-ch-b2e28928.js → it-ch-16f75fd8.js} +16 -17
- package/dist/cjs/{ja-04d8e3ea.js → ja-3b09f13f.js} +16 -17
- package/dist/cjs/{key-b220b977.js → key-a2fd8f37.js} +2 -2
- package/dist/cjs/{ko-4f4f01b5.js → ko-b1bf47cb.js} +16 -17
- package/dist/cjs/{label-e4873c18.js → label-8ad0abfc.js} +3 -3
- package/dist/cjs/{loadable-ef6d5cc8.js → loadable-643c79c8.js} +30 -5
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/{locale-5ac724e1.js → locale-07b8340c.js} +48 -14
- package/dist/cjs/{lt-50a7db08.js → lt-459ef448.js} +16 -17
- package/dist/cjs/{lv-1155f3b9.js → lv-794f5eae.js} +16 -17
- package/dist/cjs/{math-0a4032a3.js → math-833957a7.js} +2 -2
- package/dist/cjs/{mk-baad9b0b.js → mk-a530a3ae.js} +16 -17
- package/dist/cjs/{nb-c83020cb.js → nb-4eac2bcb.js} +16 -17
- package/dist/cjs/{nl-b92cf9ec.js → nl-5983d4a3.js} +16 -17
- package/dist/cjs/{observers-f5516ae9.js → observers-8097c8b8.js} +2 -2
- package/dist/cjs/openCloseComponent-66249e21.js +47 -0
- package/dist/cjs/{pl-5855bec7.js → pl-4d28652c.js} +16 -17
- package/dist/cjs/{pt-br-8ea8a02c.js → pt-br-9ec22485.js} +16 -17
- package/dist/cjs/{pt-e96b9501.js → pt-c6c86d7a.js} +16 -17
- package/dist/cjs/{resources-a3ff1d21.js → resources-58f9ef13.js} +4 -4
- package/dist/cjs/resources-7f0bc571.js +24 -0
- package/dist/cjs/{resources-3a317e26.js → resources-8f4fd904.js} +5 -5
- package/dist/cjs/{resources-0b44176c.js → resources-97a2e34f.js} +15 -15
- package/dist/cjs/{resources-23333a3d.js → resources-d36278f6.js} +3 -3
- package/dist/cjs/{resources-1d5866d0.js → resources-d9746ad5.js} +5 -5
- package/dist/cjs/{resources-be56c993.js → resources-e68f6ba1.js} +2 -2
- package/dist/cjs/{ro-e834f1f2.js → ro-89fad4f8.js} +16 -17
- package/dist/cjs/{ru-7acd763a.js → ru-65c2858f.js} +16 -17
- package/dist/cjs/{sk-607f65c5.js → sk-929a8211.js} +16 -17
- package/dist/cjs/{sl-9d818d00.js → sl-accfedeb.js} +16 -17
- package/dist/cjs/{sortableComponent-54dedb9a.js → sortableComponent-a2d6b760.js} +3 -3
- package/dist/cjs/{sr-0d3e23b9.js → sr-e7ae9e38.js} +16 -17
- package/dist/cjs/{sv-1ce46da3.js → sv-160225c4.js} +16 -17
- package/dist/cjs/{t9n-ad9ef1e8.js → t9n-54f83756.js} +5 -5
- package/dist/cjs/{th-de330447.js → th-09094eb6.js} +16 -17
- package/dist/cjs/{throttle-98d8e92d.js → throttle-e96cd436.js} +3 -3
- package/dist/cjs/{tr-724049d6.js → tr-3f60c19b.js} +16 -17
- package/dist/cjs/{uk-dc518983.js → uk-a3f63618.js} +16 -17
- package/dist/cjs/{utils-d8837cb7.js → utils-21f02515.js} +5 -5
- package/dist/cjs/{utils-a61da72c.js → utils-b105370e.js} +4 -4
- package/dist/cjs/{vi-2c4ded32.js → vi-981ff52c.js} +16 -17
- package/dist/cjs/{zh-cn-0045e3a2.js → zh-cn-19b06cb6.js} +16 -17
- package/dist/cjs/{zh-hk-208ed9df.js → zh-hk-9ffcd775.js} +16 -17
- package/dist/cjs/{zh-tw-3c4476e2.js → zh-tw-4f3c4c1c.js} +16 -17
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.css +8 -110
- package/dist/collection/components/accordion/accordion.js +65 -37
- package/dist/collection/components/accordion-item/accordion-item.css +7 -110
- package/dist/collection/components/accordion-item/accordion-item.js +132 -51
- package/dist/collection/components/accordion-item/resources.js +4 -4
- package/dist/collection/components/action/action.css +8 -110
- package/dist/collection/components/action/action.js +12 -12
- package/dist/collection/components/action/resources.js +4 -4
- package/dist/collection/components/action-bar/action-bar.css +14 -111
- package/dist/collection/components/action-bar/action-bar.js +18 -14
- package/dist/collection/components/action-bar/resources.js +4 -4
- package/dist/collection/components/action-bar/utils.js +6 -6
- package/dist/collection/components/action-group/action-group.css +8 -110
- package/dist/collection/components/action-group/action-group.js +32 -8
- package/dist/collection/components/action-group/resources.js +4 -4
- package/dist/collection/components/action-menu/action-menu.css +14 -116
- package/dist/collection/components/action-menu/action-menu.js +10 -10
- package/dist/collection/components/action-menu/resources.js +5 -5
- package/dist/collection/components/action-pad/action-pad.css +8 -110
- package/dist/collection/components/action-pad/action-pad.js +8 -8
- package/dist/collection/components/action-pad/resources.js +4 -4
- package/dist/collection/components/alert/alert.css +8 -114
- package/dist/collection/components/alert/alert.js +16 -17
- package/dist/collection/components/alert/resources.js +5 -5
- package/dist/collection/components/avatar/avatar.css +33 -135
- package/dist/collection/components/avatar/avatar.js +2 -2
- package/dist/collection/components/avatar/utils.js +2 -2
- package/dist/collection/components/block/block.css +8 -215
- package/dist/collection/components/block/block.js +54 -20
- package/dist/collection/components/block/resources.js +4 -6
- package/dist/collection/components/block-section/block-section.css +8 -110
- package/dist/collection/components/block-section/block-section.js +49 -11
- package/dist/collection/components/block-section/resources.js +5 -5
- package/dist/collection/components/button/button.css +8 -110
- package/dist/collection/components/button/button.js +7 -7
- package/dist/collection/components/button/resources.js +3 -3
- package/dist/collection/components/card/card.css +8 -110
- package/dist/collection/components/card/card.js +6 -6
- package/dist/collection/components/card/resources.js +4 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -110
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/chip/chip.css +8 -110
- package/dist/collection/components/chip/chip.js +10 -10
- package/dist/collection/components/chip/resources.js +5 -5
- package/dist/collection/components/chip-group/chip-group.css +8 -110
- package/dist/collection/components/chip-group/chip-group.js +7 -7
- package/dist/collection/components/color-picker/color-picker.css +14 -111
- package/dist/collection/components/color-picker/color-picker.js +61 -47
- package/dist/collection/components/color-picker/resources.js +20 -19
- package/dist/collection/components/color-picker/utils.js +4 -4
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +8 -110
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +9 -10
- package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +8 -110
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +5 -5
- package/dist/collection/components/color-picker-swatch/resources.js +5 -5
- 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.css +8 -110
- package/dist/collection/components/combobox/combobox.js +24 -25
- package/dist/collection/components/combobox/resources.js +3 -3
- package/dist/collection/components/combobox/utils.js +2 -2
- package/dist/collection/components/combobox-item/combobox-item.css +8 -110
- package/dist/collection/components/combobox-item/combobox-item.js +9 -9
- package/dist/collection/components/combobox-item/resources.js +3 -3
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +0 -110
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +2 -2
- package/dist/collection/components/combobox-item-group/resources.js +3 -3
- package/dist/collection/components/date-picker/date-picker.css +8 -110
- package/dist/collection/components/date-picker/date-picker.js +48 -28
- package/dist/collection/components/date-picker/resources.js +2 -2
- package/dist/collection/components/date-picker/utils.js +2 -2
- package/dist/collection/components/date-picker-day/date-picker-day.css +7 -110
- package/dist/collection/components/date-picker-day/date-picker-day.js +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.css +13 -115
- package/dist/collection/components/date-picker-month/date-picker-month.js +8 -8
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -110
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +10 -10
- package/dist/collection/components/date-picker-month-header/resources.js +4 -4
- package/dist/collection/components/dropdown/dropdown.css +8 -110
- package/dist/collection/components/dropdown/dropdown.js +15 -16
- package/dist/collection/components/dropdown/resources.js +4 -4
- package/dist/collection/components/dropdown-group/dropdown-group.css +8 -110
- package/dist/collection/components/dropdown-group/dropdown-group.js +5 -5
- package/dist/collection/components/dropdown-group/resources.js +3 -3
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -110
- package/dist/collection/components/dropdown-item/dropdown-item.js +20 -19
- package/dist/collection/components/dropdown-item/resources.js +3 -3
- package/dist/collection/components/fab/fab.css +8 -110
- package/dist/collection/components/fab/fab.js +6 -6
- package/dist/collection/components/fab/resources.js +4 -4
- package/dist/collection/components/filter/filter.css +8 -110
- package/dist/collection/components/filter/filter.js +58 -15
- package/dist/collection/components/filter/resources.js +4 -4
- package/dist/collection/components/flow/flow.css +8 -110
- package/dist/collection/components/flow/flow.js +41 -9
- package/dist/collection/components/flow/resources.js +3 -3
- package/dist/collection/components/flow-item/flow-item.css +8 -110
- package/dist/collection/components/flow-item/flow-item.js +12 -11
- package/dist/collection/components/flow-item/resources.js +5 -5
- package/dist/collection/components/functional/ExpandToggle.js +8 -8
- package/dist/collection/components/functional/FloatingArrow.js +6 -6
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/functional/XButton.js +4 -4
- package/dist/collection/components/graph/graph.css +8 -110
- package/dist/collection/components/graph/graph.js +3 -3
- package/dist/collection/components/graph/util.js +3 -3
- 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.css +8 -110
- package/dist/collection/components/handle/handle.js +6 -6
- package/dist/collection/components/handle/resources.js +4 -4
- package/dist/collection/components/icon/assets/icon/slash16.json +1 -0
- package/dist/collection/components/icon/assets/icon/slash24.json +1 -0
- package/dist/collection/components/icon/assets/icon/slash32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textButton32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textDashedUnderline32.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline16.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline24.json +1 -0
- package/dist/collection/components/icon/assets/icon/textSolidUnderline32.json +1 -0
- package/dist/collection/components/icon/icon.css +8 -110
- package/dist/collection/components/icon/icon.js +3 -3
- package/dist/collection/components/icon/resources.js +3 -3
- package/dist/collection/components/icon/utils.js +3 -3
- package/dist/collection/components/inline-editable/inline-editable.css +8 -110
- package/dist/collection/components/inline-editable/inline-editable.js +10 -10
- package/dist/collection/components/inline-editable/resources.js +3 -3
- package/dist/collection/components/input/input.css +8 -110
- package/dist/collection/components/input/input.js +43 -69
- package/dist/collection/components/input/resources.js +5 -5
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_en.json +2 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +20 -110
- package/dist/collection/components/input-date-picker/input-date-picker.js +35 -32
- package/dist/collection/components/input-date-picker/resources.js +4 -3
- package/dist/collection/components/input-message/input-message.css +8 -110
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +2 -2
- package/dist/collection/components/input-number/input-number.css +8 -110
- package/dist/collection/components/input-number/input-number.js +41 -36
- package/dist/collection/components/input-number/resources.js +4 -4
- package/dist/collection/components/input-text/input-text.css +8 -110
- package/dist/collection/components/input-text/input-text.js +17 -17
- package/dist/collection/components/input-text/resources.js +4 -4
- package/dist/collection/components/input-time-picker/input-time-picker.css +8 -110
- package/dist/collection/components/input-time-picker/input-time-picker.js +36 -36
- package/dist/collection/components/input-time-picker/resources.js +3 -3
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/index.d.ts +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ar.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_bg.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_bs.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ca.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_cs.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_da.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_de.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_el.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_en.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_es.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_et.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_fi.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_fr.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_he.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_hr.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_hu.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_id.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_it.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ja.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ko.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_lt.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_lv.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_nl.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_no.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pl.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pt-BR.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pt-PT.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ro.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ru.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sk.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sl.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sr.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sv.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_th.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_tr.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_uk.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_vi.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-CN.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-HK.json +433 -0
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-TW.json +433 -0
- package/dist/collection/components/input-time-zone/input-time-zone.css +46 -0
- package/dist/collection/components/input-time-zone/input-time-zone.js +474 -0
- package/dist/collection/components/input-time-zone/utils.js +38 -0
- package/dist/collection/components/label/label.css +8 -110
- package/dist/collection/components/label/label.js +3 -3
- package/dist/collection/components/label/resources.js +3 -3
- package/dist/collection/components/link/link.css +9 -111
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/list/list.css +12 -112
- package/dist/collection/components/list/list.js +79 -36
- package/dist/collection/components/list/resources.js +8 -3
- package/dist/collection/components/list-item/list-item.css +4 -110
- package/dist/collection/components/list-item/list-item.js +52 -21
- package/dist/collection/components/list-item/resources.js +5 -5
- package/dist/collection/components/list-item/utils.js +2 -2
- package/dist/collection/components/list-item-group/list-item-group.css +4 -110
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +3 -3
- package/dist/collection/components/loader/loader.css +7 -211
- package/dist/collection/components/loader/loader.js +5 -5
- 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.css +16 -118
- package/dist/collection/components/menu/menu.js +8 -8
- package/dist/collection/components/menu-item/menu-item.css +48 -114
- package/dist/collection/components/menu-item/menu-item.js +17 -13
- package/dist/collection/components/menu-item/resources.js +3 -3
- package/dist/collection/components/modal/modal.css +8 -110
- package/dist/collection/components/modal/modal.js +16 -14
- package/dist/collection/components/modal/resources.js +6 -7
- package/dist/collection/components/navigation/navigation.css +8 -110
- package/dist/collection/components/navigation/navigation.js +7 -7
- package/dist/collection/components/navigation/resources.js +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.css +24 -122
- package/dist/collection/components/navigation-logo/navigation-logo.js +8 -5
- package/dist/collection/components/navigation-logo/resources.js +4 -3
- package/dist/collection/components/navigation-user/navigation-user.css +8 -110
- package/dist/collection/components/navigation-user/navigation-user.js +4 -4
- package/dist/collection/components/navigation-user/resources.js +3 -3
- package/dist/collection/components/notice/notice.css +8 -110
- package/dist/collection/components/notice/notice.js +8 -8
- package/dist/collection/components/notice/resources.js +4 -4
- package/dist/collection/components/option/option.css +5 -107
- package/dist/collection/components/option/option.js +4 -4
- package/dist/collection/components/option-group/option-group.css +5 -107
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +8 -110
- package/dist/collection/components/pagination/pagination.js +12 -12
- package/dist/collection/components/pagination/resources.js +3 -3
- package/dist/collection/components/panel/panel.css +4 -110
- package/dist/collection/components/panel/panel.js +15 -15
- package/dist/collection/components/panel/resources.js +5 -5
- package/dist/collection/components/pick-list/pick-list.css +8 -110
- package/dist/collection/components/pick-list/pick-list.js +7 -7
- package/dist/collection/components/pick-list/resources.js +5 -5
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
- package/dist/collection/components/pick-list/shared-list-render.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.css +8 -110
- package/dist/collection/components/pick-list-group/pick-list-group.js +4 -4
- package/dist/collection/components/pick-list-group/resources.js +4 -4
- package/dist/collection/components/pick-list-item/pick-list-item.css +8 -110
- package/dist/collection/components/pick-list-item/pick-list-item.js +11 -11
- package/dist/collection/components/pick-list-item/resources.js +5 -5
- package/dist/collection/components/popover/PopoverManager.js +2 -2
- package/dist/collection/components/popover/popover.css +8 -110
- package/dist/collection/components/popover/popover.js +20 -19
- package/dist/collection/components/popover/resources.js +3 -3
- package/dist/collection/components/progress/progress.css +7 -211
- package/dist/collection/components/progress/progress.js +3 -3
- package/dist/collection/components/radio-button/radio-button.css +8 -110
- package/dist/collection/components/radio-button/radio-button.js +33 -10
- package/dist/collection/components/radio-button/resources.js +3 -3
- package/dist/collection/components/radio-button-group/radio-button-group.css +14 -116
- package/dist/collection/components/radio-button-group/radio-button-group.js +7 -8
- package/dist/collection/components/rating/assets/rating/t9n/messages.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ar.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_bg.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_bs.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ca.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_cs.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_da.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_de.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_el.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_en.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_es.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_et.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_fi.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_fr.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_he.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_hr.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_hu.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_id.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_it.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ja.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ko.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_lt.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_lv.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_nl.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_no.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_pl.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ro.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_ru.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_sk.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_sl.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_sr.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_sv.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_th.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_tr.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_uk.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_vi.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/rating/assets/rating/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/rating/function/star.js +3 -3
- package/dist/collection/components/rating/rating.css +8 -110
- package/dist/collection/components/rating/rating.js +11 -11
- package/dist/collection/components/resources.js +2 -2
- package/dist/collection/components/scrim/resources.js +4 -4
- package/dist/collection/components/scrim/scrim.css +13 -115
- package/dist/collection/components/scrim/scrim.js +3 -3
- package/dist/collection/components/segmented-control/segmented-control.css +8 -110
- package/dist/collection/components/segmented-control/segmented-control.js +7 -7
- package/dist/collection/components/segmented-control-item/resources.js +4 -4
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +8 -110
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +4 -4
- package/dist/collection/components/select/resources.js +3 -3
- package/dist/collection/components/select/select.css +8 -110
- package/dist/collection/components/select/select.js +8 -8
- package/dist/collection/components/shell/resources.js +4 -4
- package/dist/collection/components/shell/shell.css +8 -110
- package/dist/collection/components/shell/shell.js +6 -6
- package/dist/collection/components/shell-center-row/resources.js +4 -4
- package/dist/collection/components/shell-center-row/shell-center-row.css +8 -110
- package/dist/collection/components/shell-center-row/shell-center-row.js +3 -3
- package/dist/collection/components/shell-panel/resources.js +4 -4
- package/dist/collection/components/shell-panel/shell-panel.css +8 -110
- package/dist/collection/components/shell-panel/shell-panel.js +10 -10
- package/dist/collection/components/slider/resources.js +3 -3
- package/dist/collection/components/slider/slider.css +8 -110
- package/dist/collection/components/slider/slider.js +29 -29
- package/dist/collection/components/sortable-list/resources.js +3 -3
- package/dist/collection/components/sortable-list/sortable-list.css +8 -110
- package/dist/collection/components/sortable-list/sortable-list.js +6 -6
- package/dist/collection/components/split-button/resources.js +3 -3
- package/dist/collection/components/split-button/split-button.css +8 -110
- package/dist/collection/components/split-button/split-button.js +7 -7
- package/dist/collection/components/stack/resources.js +4 -4
- package/dist/collection/components/stack/stack.css +16 -122
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/stepper/stepper.css +8 -110
- package/dist/collection/components/stepper/stepper.js +6 -6
- package/dist/collection/components/stepper-item/stepper-item.css +7 -110
- package/dist/collection/components/stepper-item/stepper-item.js +12 -12
- package/dist/collection/components/switch/switch.css +12 -110
- package/dist/collection/components/switch/switch.js +7 -7
- package/dist/collection/components/tab/tab.css +15 -117
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tab-nav/tab-nav.css +7 -110
- package/dist/collection/components/tab-nav/tab-nav.js +6 -6
- package/dist/collection/components/tab-title/resources.js +4 -4
- package/dist/collection/components/tab-title/tab-title.css +11 -110
- package/dist/collection/components/tab-title/tab-title.js +9 -9
- package/dist/collection/components/tabs/resources.js +3 -3
- package/dist/collection/components/tabs/tabs.css +7 -110
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/text-area/assets/text-area/t9n/index.d.ts +0 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages.json +1 -2
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ar.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bg.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bs.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ca.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_cs.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_da.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_de.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_el.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_en.json +1 -2
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_es.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_et.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fi.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fr.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_he.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hr.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hu.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_id.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_it.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ja.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ko.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lt.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lv.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_nl.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_no.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pl.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ro.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ru.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sk.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sl.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sr.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sv.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_th.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_tr.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_uk.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_vi.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/text-area/interfaces.js +1 -0
- package/dist/collection/components/text-area/resources.js +4 -4
- package/dist/collection/components/text-area/text-area.css +8 -110
- package/dist/collection/components/text-area/text-area.js +38 -19
- package/dist/collection/components/tile/resources.js +3 -3
- package/dist/collection/components/tile/tile.css +8 -110
- package/dist/collection/components/tile/tile.js +5 -5
- package/dist/collection/components/tile-select/resources.js +3 -3
- package/dist/collection/components/tile-select/tile-select.css +8 -110
- package/dist/collection/components/tile-select/tile-select.js +9 -9
- package/dist/collection/components/tile-select-group/tile-select-group.css +8 -110
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -3
- package/dist/collection/components/time-picker/resources.js +3 -3
- package/dist/collection/components/time-picker/time-picker.css +8 -110
- package/dist/collection/components/time-picker/time-picker.js +27 -27
- package/dist/collection/components/tip/resources.js +5 -5
- package/dist/collection/components/tip/tip.css +8 -110
- package/dist/collection/components/tip/tip.js +5 -5
- package/dist/collection/components/tip-group/tip-group.css +10 -112
- package/dist/collection/components/tip-group/tip-group.js +2 -2
- package/dist/collection/components/tip-manager/resources.js +5 -5
- package/dist/collection/components/tip-manager/tip-manager.css +7 -110
- package/dist/collection/components/tip-manager/tip-manager.js +5 -5
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +3 -3
- package/dist/collection/components/tooltip/tooltip.css +9 -111
- package/dist/collection/components/tooltip/tooltip.js +18 -14
- package/dist/collection/components/tooltip/utils.js +2 -2
- package/dist/collection/components/tree/tree.css +9 -111
- package/dist/collection/components/tree/tree.js +3 -3
- package/dist/collection/components/tree/utils.js +2 -2
- package/dist/collection/components/tree-item/resources.js +5 -5
- package/dist/collection/components/tree-item/tree-item.css +11 -116
- package/dist/collection/components/tree-item/tree-item.js +17 -53
- package/dist/collection/components/value-list/assets/value-list/t9n/messages.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ar.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_bg.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_bs.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ca.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_cs.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_da.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_de.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_el.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_en.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_es.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_et.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_fi.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_fr.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_he.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_hr.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_hu.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_id.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_it.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ja.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ko.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_lt.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_lv.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_nl.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_no.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_pl.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_pt-BR.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_pt-PT.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ro.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_ru.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_sk.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_sl.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_sr.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_sv.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_th.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_tr.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_uk.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_vi.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_zh-CN.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_zh-HK.json +4 -4
- package/dist/collection/components/value-list/assets/value-list/t9n/messages_zh-TW.json +4 -4
- package/dist/collection/components/value-list/resources.js +4 -4
- package/dist/collection/components/value-list/utils.js +5 -5
- package/dist/collection/components/value-list/value-list.css +8 -110
- package/dist/collection/components/value-list/value-list.js +10 -10
- package/dist/collection/components/value-list-item/resources.js +4 -4
- package/dist/collection/components/value-list-item/value-list-item.css +8 -110
- package/dist/collection/components/value-list-item/value-list-item.js +10 -10
- package/dist/collection/index.js +4 -3
- package/dist/collection/utils/array.js +2 -2
- package/dist/collection/utils/browser.js +3 -3
- package/dist/collection/utils/conditionalSlot.js +2 -2
- package/dist/collection/utils/config.js +5 -17
- package/dist/collection/utils/date.js +3 -3
- package/dist/collection/utils/dom.js +6 -6
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/floating-ui.js +127 -133
- package/dist/collection/utils/focusTrapComponent.js +4 -4
- package/dist/collection/utils/form.js +4 -4
- package/dist/collection/utils/globalAttributes.js +2 -2
- package/dist/collection/utils/globalScript.js +2 -2
- package/dist/collection/utils/guid.js +2 -2
- package/dist/collection/utils/interactive.js +2 -2
- package/dist/collection/utils/key.js +3 -3
- package/dist/collection/utils/label.js +2 -2
- package/dist/collection/utils/loadable.js +31 -5
- package/dist/collection/utils/locale.js +9 -9
- package/dist/collection/utils/math.js +2 -2
- package/dist/collection/utils/mode.js +3 -3
- package/dist/collection/utils/number.js +37 -3
- package/dist/collection/utils/observers.js +2 -2
- package/dist/collection/utils/openCloseComponent.js +3 -3
- package/dist/collection/utils/resources.js +8 -8
- package/dist/collection/utils/sortableComponent.js +2 -2
- package/dist/collection/utils/t9n.js +3 -3
- package/dist/collection/utils/time.js +8 -8
- package/dist/components/ExpandToggle.js +14 -14
- package/dist/components/FloatingArrow.js +7 -7
- package/dist/components/Heading.js +3 -3
- package/dist/components/action-group.js +13 -11
- package/dist/components/action-menu.js +15 -15
- package/dist/components/action.js +13 -13
- package/dist/components/ar.js +2 -2
- package/dist/components/array.js +2 -2
- package/dist/components/avatar.js +5 -5
- package/dist/components/bg.js +2 -2
- package/dist/components/bs.js +2 -2
- package/dist/components/button.js +8 -8
- package/dist/components/ca.js +2 -2
- package/dist/components/calcite-accordion-item.js +20 -32
- package/dist/components/calcite-accordion.js +40 -33
- package/dist/components/calcite-action-bar.js +20 -16
- package/dist/components/calcite-action-group.js +2 -2
- package/dist/components/calcite-action-menu.js +2 -2
- package/dist/components/calcite-action-pad.js +10 -10
- package/dist/components/calcite-action.js +2 -2
- package/dist/components/calcite-alert.js +18 -19
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +34 -15
- package/dist/components/calcite-block.js +35 -22
- package/dist/components/calcite-button.js +2 -2
- package/dist/components/calcite-card.js +8 -8
- package/dist/components/calcite-checkbox.js +2 -2
- package/dist/components/calcite-chip-group.js +8 -8
- package/dist/components/calcite-chip.js +2 -2
- package/dist/components/calcite-color-picker-hex-input.js +2 -2
- package/dist/components/calcite-color-picker-swatch.js +2 -2
- package/dist/components/calcite-color-picker.js +63 -49
- package/dist/components/calcite-combobox-item-group.js +7 -7
- package/dist/components/calcite-combobox-item.js +3 -160
- package/dist/components/calcite-combobox.js +3 -934
- package/dist/components/calcite-date-picker-day.js +2 -2
- package/dist/components/calcite-date-picker-month-header.js +2 -2
- package/dist/components/calcite-date-picker-month.js +2 -2
- package/dist/components/calcite-date-picker.js +2 -2
- package/dist/components/calcite-dropdown-group.js +8 -8
- package/dist/components/calcite-dropdown-item.js +23 -22
- package/dist/components/calcite-dropdown.js +2 -2
- package/dist/components/calcite-fab.js +9 -9
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow-item.js +15 -14
- package/dist/components/calcite-flow.js +30 -13
- package/dist/components/calcite-graph.js +2 -2
- package/dist/components/calcite-handle.js +2 -2
- package/dist/components/calcite-icon.js +2 -2
- package/dist/components/calcite-inline-editable.js +11 -11
- package/dist/components/calcite-input-date-picker.js +30 -26
- package/dist/components/calcite-input-message.js +5 -5
- package/dist/components/calcite-input-number.js +2 -2
- package/dist/components/calcite-input-text.js +3 -395
- package/dist/components/calcite-input-time-picker.js +156 -62
- package/dist/components/calcite-input-time-zone.d.ts +11 -0
- package/dist/components/calcite-input-time-zone.js +246 -0
- package/dist/components/calcite-input.js +2 -2
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +2 -2
- package/dist/components/calcite-list-item-group.js +5 -5
- package/dist/components/calcite-list-item.js +31 -21
- package/dist/components/calcite-list.js +95 -46
- package/dist/components/calcite-loader.js +2 -2
- package/dist/components/calcite-menu-item.js +19 -15
- package/dist/components/calcite-menu.js +2 -2
- package/dist/components/calcite-modal.js +17 -16
- package/dist/components/calcite-navigation-logo.js +12 -8
- package/dist/components/calcite-navigation-user.js +7 -7
- package/dist/components/calcite-navigation.js +12 -12
- package/dist/components/calcite-notice.js +10 -10
- package/dist/components/calcite-option-group.js +4 -4
- package/dist/components/calcite-option.js +6 -6
- package/dist/components/calcite-pagination.js +12 -12
- package/dist/components/calcite-panel.js +2 -2
- package/dist/components/calcite-pick-list-group.js +6 -6
- package/dist/components/calcite-pick-list-item.js +2 -2
- package/dist/components/calcite-pick-list.js +6 -6
- package/dist/components/calcite-popover.js +2 -2
- package/dist/components/calcite-progress.js +2 -2
- package/dist/components/calcite-radio-button-group.js +8 -9
- package/dist/components/calcite-radio-button.js +30 -11
- package/dist/components/calcite-rating.js +11 -11
- package/dist/components/calcite-scrim.js +2 -2
- package/dist/components/calcite-segmented-control-item.js +8 -8
- package/dist/components/calcite-segmented-control.js +7 -7
- package/dist/components/calcite-select.js +8 -8
- package/dist/components/calcite-shell-center-row.js +7 -7
- package/dist/components/calcite-shell-panel.js +12 -12
- package/dist/components/calcite-shell.js +10 -10
- package/dist/components/calcite-slider.js +28 -28
- package/dist/components/calcite-sortable-list.js +7 -7
- package/dist/components/calcite-split-button.js +8 -8
- package/dist/components/calcite-stack.js +3 -99
- package/dist/components/calcite-stepper-item.js +12 -12
- package/dist/components/calcite-stepper.js +8 -8
- package/dist/components/calcite-switch.js +2 -2
- package/dist/components/calcite-tab-nav.js +2 -2
- package/dist/components/calcite-tab-title.js +2 -2
- package/dist/components/calcite-tab.js +2 -2
- package/dist/components/calcite-tabs.js +2 -2
- package/dist/components/calcite-text-area.js +37 -18
- package/dist/components/calcite-tile-select-group.js +4 -4
- package/dist/components/calcite-tile-select.js +10 -10
- package/dist/components/calcite-tile.js +2 -2
- package/dist/components/calcite-time-picker.js +2 -2
- package/dist/components/calcite-tip-group.js +4 -4
- package/dist/components/calcite-tip-manager.js +8 -8
- package/dist/components/calcite-tip.js +8 -8
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +19 -55
- package/dist/components/calcite-tree.js +5 -5
- package/dist/components/calcite-value-list-item.js +11 -11
- package/dist/components/calcite-value-list.js +11 -11
- package/dist/components/checkbox.js +6 -6
- package/dist/components/chip.js +12 -12
- package/dist/components/color-picker-hex-input.js +34 -34
- package/dist/components/color-picker-swatch.js +11 -11
- package/dist/components/combobox-item.js +165 -0
- package/dist/components/combobox.js +938 -0
- package/dist/components/conditionalSlot.js +3 -3
- package/dist/components/cs.js +2 -2
- package/dist/components/da.js +2 -2
- package/dist/components/date-picker-day.js +6 -6
- package/dist/components/date-picker-month-header.js +13 -13
- package/dist/components/date-picker-month.js +9 -9
- package/dist/components/date-picker.js +29 -27
- package/dist/components/date.js +3 -3
- package/dist/components/de-at.js +2 -2
- package/dist/components/de-ch.js +2 -2
- package/dist/components/de.js +2 -2
- package/dist/components/debounce.js +2 -2
- package/dist/components/dom.js +55 -23
- package/dist/components/dropdown.js +15 -16
- package/dist/components/el.js +2 -2
- package/dist/components/en-au.js +2 -2
- package/dist/components/en-ca.js +2 -2
- package/dist/components/en-gb.js +2 -2
- package/dist/components/es-mx.js +2 -2
- package/dist/components/es.js +2 -2
- package/dist/components/et.js +2 -2
- package/dist/components/fi.js +2 -2
- package/dist/components/filter.js +32 -16
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +518 -489
- package/dist/components/focusTrapComponent.js +253 -100
- package/dist/components/form.js +6 -6
- package/dist/components/fr-ch.js +2 -2
- package/dist/components/fr.js +2 -2
- package/dist/components/graph.js +6 -6
- package/dist/components/guid.js +2 -2
- package/dist/components/handle.js +8 -8
- package/dist/components/he.js +2 -2
- package/dist/components/hi.js +2 -2
- package/dist/components/hr.js +2 -2
- package/dist/components/hu.js +2 -2
- package/dist/components/icon.js +8 -8
- package/dist/components/id.js +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +4 -103
- package/dist/components/index2.js +2 -2
- package/dist/components/input-number.js +40 -35
- package/dist/components/input-text.js +400 -0
- package/dist/components/input.js +44 -52
- package/dist/components/interactive.js +11 -3
- package/dist/components/it-ch.js +2 -2
- package/dist/components/it.js +2 -2
- package/dist/components/ja.js +2 -2
- package/dist/components/key.js +2 -2
- package/dist/components/ko.js +2 -2
- package/dist/components/label.js +6 -6
- package/dist/components/label2.js +3 -3
- package/dist/components/link.js +7 -7
- package/dist/components/loadable.js +33 -6
- package/dist/components/loader.js +7 -7
- package/dist/components/locale.js +46 -12
- package/dist/components/lt.js +2 -2
- package/dist/components/lv.js +2 -2
- package/dist/components/math.js +2 -2
- package/dist/components/menu.js +8 -8
- package/dist/components/mk.js +2 -2
- package/dist/components/nb.js +2 -2
- package/dist/components/nl.js +2 -2
- package/dist/components/observers.js +3 -3
- package/dist/components/openCloseComponent.js +4 -50
- package/dist/components/panel.js +18 -18
- package/dist/components/pick-list-item.js +12 -12
- package/dist/components/pl.js +2 -2
- package/dist/components/popover.js +20 -19
- package/dist/components/progress.js +5 -5
- package/dist/components/pt-br.js +2 -2
- package/dist/components/pt.js +2 -2
- package/dist/components/resources.js +2 -2
- package/dist/components/resources2.js +4 -4
- package/dist/components/resources3.js +4 -4
- package/dist/components/ro.js +2 -2
- package/dist/components/ru.js +2 -2
- package/dist/components/scrim.js +6 -6
- package/dist/components/shared-list-render.js +6 -6
- package/dist/components/sk.js +2 -2
- package/dist/components/sl.js +2 -2
- package/dist/components/sortableComponent.js +2 -2
- package/dist/components/sr.js +2 -2
- package/dist/components/stack.js +104 -0
- package/dist/components/sv.js +2 -2
- package/dist/components/switch.js +6 -6
- package/dist/components/t9n.js +4 -4
- package/dist/components/tab-nav.js +7 -7
- package/dist/components/tab-title.js +9 -9
- package/dist/components/tab.js +6 -6
- package/dist/components/tabs.js +5 -5
- package/dist/components/th.js +2 -2
- package/dist/components/throttle.js +2 -2
- package/dist/components/tile.js +7 -7
- package/dist/components/time-picker.js +32 -32
- package/dist/components/tooltip.js +15 -14
- package/dist/components/tr.js +2 -2
- package/dist/components/uk.js +2 -2
- package/dist/components/utils.js +4 -4
- package/dist/components/utils2.js +6 -6
- package/dist/components/utils3.js +6 -6
- package/dist/components/vi.js +2 -2
- package/dist/components/zh-cn.js +2 -2
- package/dist/components/zh-hk.js +2 -2
- package/dist/components/zh-tw.js +2 -2
- package/dist/esm/{ExpandToggle-ce05f4e5.js → ExpandToggle-c7aae632.js} +16 -16
- package/dist/esm/{FloatingArrow-85b77902.js → FloatingArrow-07a1cb99.js} +7 -7
- package/dist/esm/{Heading-b015d907.js → Heading-bf28e844.js} +3 -3
- package/dist/esm/{app-globals-ac11969b.js → app-globals-674cc932.js} +4 -4
- package/dist/esm/{ar-45b68bba.js → ar-fcb22673.js} +16 -17
- package/dist/esm/{array-8e9c3bf7.js → array-a4f47fff.js} +2 -2
- package/dist/esm/{bg-cfd74026.js → bg-494c668d.js} +16 -17
- package/dist/esm/{bs-712b6c51.js → bs-33fa21a3.js} +16 -17
- package/dist/esm/{ca-307a69ed.js → ca-2fb83990.js} +16 -17
- package/dist/esm/calcite-accordion_2.entry.js +52 -64
- package/dist/esm/calcite-action-bar.entry.js +29 -25
- package/dist/esm/calcite-action-group.entry.js +19 -18
- package/dist/esm/calcite-action-menu.entry.js +17 -17
- package/dist/esm/calcite-action-pad.entry.js +20 -20
- package/dist/esm/calcite-action.entry.js +21 -22
- package/dist/esm/calcite-alert.entry.js +25 -26
- package/dist/esm/calcite-avatar.entry.js +8 -8
- package/dist/esm/calcite-block_2.entry.js +68 -40
- package/dist/esm/calcite-button.entry.js +18 -19
- package/dist/esm/calcite-card.entry.js +15 -15
- package/dist/esm/calcite-checkbox.entry.js +13 -14
- package/dist/esm/calcite-chip-group.entry.js +12 -13
- package/dist/esm/calcite-chip.entry.js +20 -21
- package/dist/esm/calcite-color-picker_3.entry.js +99 -86
- package/dist/esm/calcite-combobox_3.entry.js +46 -48
- package/dist/esm/calcite-date-picker_4.entry.js +53 -54
- package/dist/esm/calcite-dropdown_3.entry.js +44 -45
- package/dist/esm/calcite-fab.entry.js +13 -14
- package/dist/esm/calcite-filter.entry.js +41 -27
- package/dist/esm/calcite-flow-item.entry.js +23 -23
- package/dist/esm/calcite-flow.entry.js +29 -13
- package/dist/esm/calcite-graph_2.entry.js +40 -41
- package/dist/esm/calcite-handle.entry.js +15 -15
- package/dist/esm/calcite-icon.entry.js +11 -11
- package/dist/esm/calcite-inline-editable.entry.js +19 -20
- package/dist/esm/calcite-input-date-picker.entry.js +44 -41
- package/dist/esm/calcite-input-message.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +48 -44
- package/dist/esm/calcite-input-text.entry.js +27 -28
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-34b7a5e4.js → calcite-input-time-picker.calcite-time-picker-f9014cd1.js} +240 -146
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -17
- package/dist/esm/calcite-input-time-zone.entry.js +194 -0
- package/dist/esm/calcite-input.entry.js +51 -59
- package/dist/esm/calcite-label.entry.js +10 -10
- package/dist/esm/calcite-link.entry.js +10 -11
- package/dist/esm/calcite-list_3.entry.js +120 -69
- package/dist/esm/calcite-loader.entry.js +8 -8
- package/dist/esm/calcite-menu_2.entry.js +28 -24
- package/dist/esm/calcite-modal.entry.js +26 -25
- package/dist/esm/calcite-navigation_3.entry.js +25 -21
- package/dist/esm/calcite-notice.entry.js +18 -18
- package/dist/esm/calcite-option_3.entry.js +19 -20
- package/dist/esm/calcite-pagination.entry.js +19 -19
- package/dist/esm/calcite-panel.entry.js +25 -26
- package/dist/esm/calcite-pick-list_3.entry.js +25 -26
- package/dist/esm/calcite-popover.entry.js +31 -31
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +9 -10
- package/dist/esm/calcite-radio-button.entry.js +36 -18
- package/dist/esm/calcite-rating.entry.js +21 -22
- package/dist/esm/calcite-scrim.entry.js +13 -13
- package/dist/esm/calcite-segmented-control_2.entry.js +16 -17
- package/dist/esm/calcite-shell_3.entry.js +29 -29
- package/dist/esm/calcite-sortable-list.entry.js +13 -14
- package/dist/esm/calcite-split-button.entry.js +9 -10
- package/dist/esm/calcite-stack.entry.js +8 -22
- package/dist/esm/calcite-stepper_2.entry.js +22 -23
- package/dist/esm/calcite-switch.entry.js +13 -14
- package/dist/esm/calcite-tab_4.entry.js +23 -24
- package/dist/esm/calcite-text-area.entry.js +46 -29
- package/dist/esm/calcite-tile-select_2.entry.js +13 -14
- package/dist/esm/calcite-tile.entry.js +12 -13
- package/dist/esm/calcite-tip_3.entry.js +21 -21
- package/dist/esm/calcite-tooltip.entry.js +20 -20
- package/dist/esm/calcite-tree_2.entry.js +25 -62
- package/dist/esm/calcite-value-list_2.entry.js +30 -31
- package/dist/esm/calcite.js +7 -7
- package/dist/esm/{conditionalSlot-304803d7.js → conditionalSlot-b7a53e5b.js} +4 -4
- package/dist/esm/{cs-f09f3a36.js → cs-2e3334fb.js} +16 -17
- package/dist/esm/{da-4bbdc8a4.js → da-6b332d3b.js} +16 -17
- package/dist/esm/{de-at-5945098f.js → de-at-bb8ca457.js} +16 -17
- package/dist/esm/{de-39b09377.js → de-bf72abe6.js} +16 -17
- package/dist/esm/{de-ch-45402424.js → de-ch-f3c22d93.js} +16 -17
- package/dist/esm/{debounce-6c20945f.js → debounce-2391db30.js} +2 -2
- package/dist/esm/{dom-0ce209ee.js → dom-87294e89.js} +56 -24
- package/dist/esm/{el-65fd3967.js → el-1a3ba6f3.js} +16 -17
- package/dist/esm/{en-au-45ed6e13.js → en-au-6694f856.js} +16 -17
- package/dist/esm/{en-ca-d011b76f.js → en-ca-f526ca03.js} +16 -17
- package/dist/esm/{en-gb-38624e8d.js → en-gb-269e2e1b.js} +16 -17
- package/dist/esm/{es-6cd0ad6a.js → es-11761568.js} +16 -17
- package/dist/esm/{es-mx-c90a1a76.js → es-mx-a62e5bfa.js} +16 -17
- package/dist/esm/{et-9fd05f47.js → et-7a5f47d0.js} +16 -17
- package/dist/esm/{fi-bd690ea1.js → fi-c1c997c4.js} +16 -17
- package/dist/esm/{filter-01913f2b.js → filter-e1154c81.js} +3 -3
- package/dist/esm/{floating-ui-323f9e15.js → floating-ui-7b8f1ac0.js} +518 -488
- package/dist/esm/{focusTrapComponent-cbba6c19.js → focusTrapComponent-b9d5b6f2.js} +253 -100
- package/dist/esm/{form-553e2401.js → form-366d70fc.js} +6 -6
- package/dist/esm/{fr-c3c42b2a.js → fr-75819261.js} +16 -17
- package/dist/esm/{fr-ch-44ec0737.js → fr-ch-3ce9a9ae.js} +16 -17
- package/dist/esm/{guid-eb322ca8.js → guid-ee7b8693.js} +2 -2
- package/dist/esm/{he-82eeee85.js → he-f30729b1.js} +16 -17
- package/dist/esm/{hi-ba6ff07c.js → hi-cc4b55fb.js} +16 -17
- package/dist/esm/{hr-5e37e16a.js → hr-67ef3788.js} +16 -17
- package/dist/esm/{hu-796d9665.js → hu-05a3363f.js} +16 -17
- package/dist/esm/{id-be79b147.js → id-701472d4.js} +16 -17
- package/dist/esm/{index-c380df3d.js → index-b17a9bda.js} +10 -6
- package/dist/esm/index.js +3 -3
- package/dist/esm/{interactive-0abc87c1.js → interactive-e9ec13a7.js} +11 -3
- package/dist/esm/{it-a4761158.js → it-92e73803.js} +16 -17
- package/dist/esm/{it-ch-8d76ac69.js → it-ch-f763c1f1.js} +16 -17
- package/dist/esm/{ja-21ea3b6a.js → ja-c26e94ad.js} +16 -17
- package/dist/esm/{key-c189cfe7.js → key-e09cd9ee.js} +2 -2
- package/dist/esm/{ko-f359afee.js → ko-f2b626d1.js} +16 -17
- package/dist/esm/{label-4c68af4b.js → label-1e51eb5e.js} +3 -3
- package/dist/esm/{loadable-8215a0e9.js → loadable-ed22aebc.js} +30 -6
- package/dist/esm/loader.js +7 -7
- package/dist/esm/{locale-5bb13642.js → locale-3c768385.js} +48 -14
- package/dist/esm/{lt-420506bc.js → lt-3017275b.js} +16 -17
- package/dist/esm/{lv-55e394aa.js → lv-a10b2223.js} +16 -17
- package/dist/esm/{math-65490645.js → math-275545bd.js} +2 -2
- package/dist/esm/{mk-01a633aa.js → mk-45b30a2f.js} +16 -17
- package/dist/esm/{nb-5d7a0447.js → nb-11765cce.js} +16 -17
- package/dist/esm/{nl-45f23786.js → nl-fc0f4de8.js} +16 -17
- package/dist/esm/{observers-d57467d9.js → observers-47cbc395.js} +2 -2
- package/dist/esm/openCloseComponent-49ac48da.js +45 -0
- package/dist/esm/{pl-3b34626d.js → pl-63833f5c.js} +16 -17
- package/dist/esm/{pt-9f986d3e.js → pt-846b5115.js} +16 -17
- package/dist/esm/{pt-br-dce2707b.js → pt-br-cb4a0461.js} +16 -17
- package/dist/esm/{resources-3e606688.js → resources-2d560141.js} +5 -5
- package/dist/esm/{resources-450f79fd.js → resources-4b0718da.js} +3 -3
- package/dist/esm/resources-4de005b0.js +21 -0
- package/dist/esm/{resources-f99f0a95.js → resources-5ff8a8ab.js} +15 -15
- package/dist/esm/{resources-22b3f34e.js → resources-a4510d62.js} +4 -4
- package/dist/esm/{resources-00045b22.js → resources-b624086b.js} +2 -2
- package/dist/esm/{resources-bda9d403.js → resources-cdbdb402.js} +5 -5
- package/dist/esm/{ro-73dac598.js → ro-916f9a8e.js} +16 -17
- package/dist/esm/{ru-d45ccef8.js → ru-da73925d.js} +16 -17
- package/dist/esm/{sk-82dcbe44.js → sk-394735cb.js} +16 -17
- package/dist/esm/{sl-da3f4c6f.js → sl-70d5bf98.js} +16 -17
- package/dist/esm/{sortableComponent-71b24897.js → sortableComponent-1f41e305.js} +3 -3
- package/dist/esm/{sr-9b07a9d4.js → sr-5b734113.js} +16 -17
- package/dist/esm/{sv-f0a9e71e.js → sv-b0f2b7cd.js} +16 -17
- package/dist/esm/{t9n-42b29350.js → t9n-7488c8ad.js} +5 -5
- package/dist/esm/{th-50d50762.js → th-fae7b531.js} +16 -17
- package/dist/esm/{throttle-5b1d09f8.js → throttle-553c7b68.js} +3 -3
- package/dist/esm/{tr-4c871d34.js → tr-47792e2a.js} +16 -17
- package/dist/esm/{uk-5535ee1c.js → uk-a068734d.js} +16 -17
- package/dist/esm/{utils-54e8f716.js → utils-7457baf8.js} +4 -4
- package/dist/esm/{utils-a3f5f080.js → utils-c135049e.js} +5 -5
- package/dist/esm/{vi-b4fde93f.js → vi-6ff31ca2.js} +16 -17
- package/dist/esm/{zh-cn-2d8fecfd.js → zh-cn-370d0fbf.js} +16 -17
- package/dist/esm/{zh-hk-f1ebc46c.js → zh-hk-1ee67b96.js} +16 -17
- package/dist/esm/{zh-tw-36641a05.js → zh-tw-ac68517f.js} +16 -17
- package/dist/extras/docs-json.d.ts +148 -0
- package/dist/extras/docs-json.json +25602 -0
- package/dist/extras/translations-json.json +1 -0
- package/dist/extras/vscode-data.json +6796 -0
- package/dist/loader/cdn.js +2 -2
- package/dist/loader/index.cjs.js +2 -2
- package/dist/loader/index.es2017.js +2 -2
- package/dist/loader/index.js +2 -2
- 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/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-bar/utils.d.ts +2 -2
- package/dist/types/components/action-group/action-group.d.ts +9 -0
- package/dist/types/components/block/block.d.ts +9 -2
- package/dist/types/components/block/resources.d.ts +0 -2
- package/dist/types/components/block-section/block-section.d.ts +9 -2
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +2 -1
- package/dist/types/components/color-picker/resources.d.ts +1 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +6 -4
- package/dist/types/components/filter/filter.d.ts +11 -2
- package/dist/types/components/flow/flow.d.ts +9 -2
- package/dist/types/components/functional/ExpandToggle.d.ts +3 -3
- package/dist/types/components/functional/FloatingArrow.d.ts +1 -1
- package/dist/types/components/functional/XButton.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +0 -2
- package/dist/types/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
- package/dist/types/components/input-date-picker/resources.d.ts +1 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
- package/dist/types/components/input-time-zone/assets/input-time-zone/t9n/index.d.ts +331 -7
- package/dist/types/components/input-time-zone/input-time-zone.d.ts +96 -0
- package/dist/types/components/input-time-zone/interfaces.d.ts +4 -0
- package/dist/types/components/input-time-zone/utils.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +20 -10
- package/dist/types/components/list/resources.d.ts +5 -0
- package/dist/types/components/list-item/list-item.d.ts +9 -1
- package/dist/types/components/menu-item/menu-item.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +1 -0
- package/dist/types/components/modal/resources.d.ts +0 -1
- package/dist/types/components/navigation-logo/resources.d.ts +1 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio-button/radio-button.d.ts +4 -1
- package/dist/types/components/slider/slider.d.ts +1 -1
- package/dist/types/components/tab-title/tab-title.d.ts +2 -2
- package/dist/types/components/text-area/assets/text-area/t9n/index.d.ts +0 -1
- package/dist/types/components/text-area/interfaces.d.ts +4 -0
- package/dist/types/components/text-area/text-area.d.ts +5 -2
- package/dist/types/components/tooltip/tooltip.d.ts +5 -1
- package/dist/types/components/tree-item/tree-item.d.ts +2 -26
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -1
- package/dist/types/components.d.ts +169 -12
- package/dist/types/index.d.ts +1 -0
- package/dist/types/preact.d.ts +453 -0
- package/dist/types/utils/browser.d.ts +0 -10
- package/dist/types/utils/config.d.ts +13 -5
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/floating-ui.d.ts +51 -52
- package/dist/types/utils/loadable.d.ts +23 -5
- package/dist/types/utils/locale.d.ts +2 -2
- package/dist/types/utils/number.d.ts +11 -0
- package/dist/types/utils/time.d.ts +2 -2
- package/hydrate/index.js +2436 -1811
- package/package.json +17 -14
- package/readme.md +5 -5
- package/dist/calcite/p-008d578c.js +0 -6
- package/dist/calcite/p-0a3314f8.js +0 -6
- package/dist/calcite/p-101b234f.js +0 -6
- package/dist/calcite/p-10ac9980.js +0 -6
- package/dist/calcite/p-11e156b7.js +0 -6
- package/dist/calcite/p-121495ce.entry.js +0 -6
- package/dist/calcite/p-121719fb.js +0 -6
- package/dist/calcite/p-12b442a2.js +0 -6
- package/dist/calcite/p-134963cf.entry.js +0 -6
- package/dist/calcite/p-137edb31.js +0 -6
- package/dist/calcite/p-164ef792.entry.js +0 -6
- package/dist/calcite/p-187b9f88.js +0 -6
- package/dist/calcite/p-1880b676.js +0 -6
- package/dist/calcite/p-1e9bf083.js +0 -6
- package/dist/calcite/p-21a7e201.js +0 -6
- package/dist/calcite/p-257d4e73.entry.js +0 -6
- package/dist/calcite/p-27c54e54.entry.js +0 -6
- package/dist/calcite/p-2de1bc72.js +0 -6
- package/dist/calcite/p-2ec1f3ea.entry.js +0 -6
- package/dist/calcite/p-2ecaa811.entry.js +0 -6
- package/dist/calcite/p-3124550d.entry.js +0 -6
- package/dist/calcite/p-32306f3c.entry.js +0 -6
- package/dist/calcite/p-329ee5a1.entry.js +0 -6
- package/dist/calcite/p-33c98b54.entry.js +0 -6
- package/dist/calcite/p-3515e752.entry.js +0 -6
- package/dist/calcite/p-35caddf6.entry.js +0 -6
- package/dist/calcite/p-37ef2c1e.entry.js +0 -6
- package/dist/calcite/p-388d8657.js +0 -6
- package/dist/calcite/p-38f81766.js +0 -6
- package/dist/calcite/p-416b5855.js +0 -6
- package/dist/calcite/p-463767e8.js +0 -6
- package/dist/calcite/p-48b6506e.js +0 -6
- package/dist/calcite/p-49f6cfe8.entry.js +0 -6
- package/dist/calcite/p-4c109220.js +0 -6
- package/dist/calcite/p-4e8345b3.entry.js +0 -6
- package/dist/calcite/p-51f2b056.js +0 -6
- package/dist/calcite/p-5213d3c2.entry.js +0 -6
- package/dist/calcite/p-54b68720.entry.js +0 -6
- package/dist/calcite/p-566ee4fb.entry.js +0 -6
- package/dist/calcite/p-5836bd17.js +0 -6
- package/dist/calcite/p-593adedd.entry.js +0 -6
- package/dist/calcite/p-5a2116d2.entry.js +0 -6
- package/dist/calcite/p-5d129fbc.entry.js +0 -6
- package/dist/calcite/p-5e5cf331.entry.js +0 -6
- package/dist/calcite/p-608cffa9.js +0 -6
- package/dist/calcite/p-67362b05.entry.js +0 -6
- package/dist/calcite/p-6caf8b90.entry.js +0 -6
- package/dist/calcite/p-6dde09f4.js +0 -6
- package/dist/calcite/p-72775fa5.entry.js +0 -6
- package/dist/calcite/p-73639fac.entry.js +0 -6
- package/dist/calcite/p-756da051.js +0 -6
- package/dist/calcite/p-772dc41f.js +0 -6
- package/dist/calcite/p-7873f1a4.entry.js +0 -6
- package/dist/calcite/p-78cbf703.entry.js +0 -6
- package/dist/calcite/p-7d70cba4.js +0 -6
- package/dist/calcite/p-7daac611.js +0 -6
- package/dist/calcite/p-8064cd9c.js +0 -6
- package/dist/calcite/p-80b67c87.js +0 -6
- package/dist/calcite/p-83918ff1.entry.js +0 -6
- package/dist/calcite/p-85af2cc9.js +0 -6
- package/dist/calcite/p-866a1b23.js +0 -6
- package/dist/calcite/p-8a25a2ad.js +0 -6
- package/dist/calcite/p-8c25733e.entry.js +0 -6
- package/dist/calcite/p-933af3c8.entry.js +0 -6
- package/dist/calcite/p-963ee9d6.js +0 -6
- package/dist/calcite/p-97c5fb74.entry.js +0 -6
- package/dist/calcite/p-9a285cfc.js +0 -6
- package/dist/calcite/p-9a29eddd.entry.js +0 -6
- package/dist/calcite/p-9ac1589d.entry.js +0 -6
- package/dist/calcite/p-9aff565b.entry.js +0 -6
- package/dist/calcite/p-9b86fb06.js +0 -6
- package/dist/calcite/p-9c0d7cd4.js +0 -6
- package/dist/calcite/p-9c2cde2b.js +0 -6
- package/dist/calcite/p-9d3a7da7.entry.js +0 -6
- package/dist/calcite/p-9e8f66a9.entry.js +0 -6
- package/dist/calcite/p-9f83c8ec.entry.js +0 -6
- package/dist/calcite/p-a1e17623.entry.js +0 -6
- package/dist/calcite/p-a30b6d39.js +0 -6
- package/dist/calcite/p-a50922d0.entry.js +0 -6
- package/dist/calcite/p-a886e972.js +0 -6
- package/dist/calcite/p-ab57b0ce.js +0 -6
- package/dist/calcite/p-abec95ac.entry.js +0 -6
- package/dist/calcite/p-abeff317.js +0 -6
- package/dist/calcite/p-b0abfc57.js +0 -11
- package/dist/calcite/p-b38ee013.js +0 -6
- package/dist/calcite/p-b448b71e.js +0 -10
- package/dist/calcite/p-b6237f9b.js +0 -6
- package/dist/calcite/p-b9f343ba.entry.js +0 -6
- package/dist/calcite/p-bbc4622f.entry.js +0 -6
- package/dist/calcite/p-bd0ca506.js +0 -6
- package/dist/calcite/p-bd1a6997.js +0 -6
- package/dist/calcite/p-bddc40f7.js +0 -6
- package/dist/calcite/p-c0d4ed5a.entry.js +0 -6
- package/dist/calcite/p-c2b7024f.js +0 -6
- package/dist/calcite/p-c4433d62.entry.js +0 -6
- package/dist/calcite/p-c45c393a.entry.js +0 -6
- package/dist/calcite/p-cb6c8443.js +0 -6
- package/dist/calcite/p-cbce26d9.js +0 -6
- package/dist/calcite/p-cc086648.entry.js +0 -6
- package/dist/calcite/p-cc6d3680.js +0 -6
- package/dist/calcite/p-cd0e0878.js +0 -6
- package/dist/calcite/p-ce90c75b.entry.js +0 -6
- package/dist/calcite/p-cefb9028.js +0 -6
- package/dist/calcite/p-cf377921.js +0 -6
- package/dist/calcite/p-d1496d1c.entry.js +0 -6
- package/dist/calcite/p-d4470fa9.js +0 -6
- package/dist/calcite/p-d44dcbe2.js +0 -6
- package/dist/calcite/p-d4cadd8a.entry.js +0 -6
- package/dist/calcite/p-d4cf5746.entry.js +0 -6
- package/dist/calcite/p-db6d31be.js +0 -6
- package/dist/calcite/p-e47153e7.entry.js +0 -6
- package/dist/calcite/p-e4d2aec5.js +0 -6
- package/dist/calcite/p-e522f7eb.js +0 -6
- package/dist/calcite/p-e5485664.entry.js +0 -6
- package/dist/calcite/p-e649e313.js +0 -6
- package/dist/calcite/p-e6c5231d.entry.js +0 -6
- package/dist/calcite/p-e7016464.entry.js +0 -6
- package/dist/calcite/p-e815cafa.js +0 -6
- package/dist/calcite/p-e8c2f550.js +0 -6
- package/dist/calcite/p-ee2b3bef.entry.js +0 -6
- package/dist/calcite/p-f2c3f053.js +0 -6
- package/dist/calcite/p-f4b6b83d.entry.js +0 -6
- package/dist/calcite/p-f70ea221.entry.js +0 -6
- package/dist/calcite/p-f96d4cd9.js +0 -6
- package/dist/calcite/p-f985221b.entry.js +0 -6
- package/dist/calcite/p-faac1635.entry.js +0 -6
- package/dist/calcite/p-fb930c9f.entry.js +0 -6
- package/dist/calcite/p-fd56f80c.js +0 -6
- package/dist/calcite/p-fd99b31e.entry.js +0 -6
- package/dist/calcite/p-fe84ed6e.entry.js +0 -6
- package/dist/calcite/p-feee09f3.entry.js +0 -6
- package/dist/cjs/browser-64394442.js +0 -19
- package/dist/cjs/composed-offset-position.esm-5eddd255.js +0 -79
- package/dist/cjs/openCloseComponent-baf5c8ce.js +0 -95
- package/dist/components/browser.js +0 -16
- package/dist/components/composed-offset-position.esm.js +0 -75
- package/dist/esm/browser-16f56395.js +0 -16
- package/dist/esm/composed-offset-position.esm-28d2f177.js +0 -75
- package/dist/esm/openCloseComponent-35ce8be2.js +0 -91
|
@@ -1,28 +1,134 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-
|
|
4
|
-
* v1.5.0-next.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.30
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const
|
|
10
|
-
const debounce = require('./debounce-e09471b5.js');
|
|
8
|
+
const dom = require('./dom-cf6c6918.js');
|
|
9
|
+
const debounce = require('./debounce-7f3b05f6.js');
|
|
11
10
|
|
|
11
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
12
|
+
const alignments = ['start', 'end'];
|
|
13
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
14
|
+
const min = Math.min;
|
|
15
|
+
const max = Math.max;
|
|
16
|
+
const round = Math.round;
|
|
17
|
+
const floor = Math.floor;
|
|
18
|
+
const createCoords = v => ({
|
|
19
|
+
x: v,
|
|
20
|
+
y: v
|
|
21
|
+
});
|
|
22
|
+
const oppositeSideMap = {
|
|
23
|
+
left: 'right',
|
|
24
|
+
right: 'left',
|
|
25
|
+
bottom: 'top',
|
|
26
|
+
top: 'bottom'
|
|
27
|
+
};
|
|
28
|
+
const oppositeAlignmentMap = {
|
|
29
|
+
start: 'end',
|
|
30
|
+
end: 'start'
|
|
31
|
+
};
|
|
32
|
+
function clamp(start, value, end) {
|
|
33
|
+
return max(start, min(value, end));
|
|
34
|
+
}
|
|
35
|
+
function evaluate(value, param) {
|
|
36
|
+
return typeof value === 'function' ? value(param) : value;
|
|
37
|
+
}
|
|
38
|
+
function getSide(placement) {
|
|
39
|
+
return placement.split('-')[0];
|
|
40
|
+
}
|
|
12
41
|
function getAlignment(placement) {
|
|
13
42
|
return placement.split('-')[1];
|
|
14
43
|
}
|
|
15
|
-
|
|
16
|
-
|
|
44
|
+
function getOppositeAxis(axis) {
|
|
45
|
+
return axis === 'x' ? 'y' : 'x';
|
|
46
|
+
}
|
|
47
|
+
function getAxisLength(axis) {
|
|
17
48
|
return axis === 'y' ? 'height' : 'width';
|
|
18
49
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return placement.split('-')[0];
|
|
50
|
+
function getSideAxis(placement) {
|
|
51
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
22
52
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
53
|
+
function getAlignmentAxis(placement) {
|
|
54
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
55
|
+
}
|
|
56
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
57
|
+
if (rtl === void 0) {
|
|
58
|
+
rtl = false;
|
|
59
|
+
}
|
|
60
|
+
const alignment = getAlignment(placement);
|
|
61
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
62
|
+
const length = getAxisLength(alignmentAxis);
|
|
63
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
64
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
65
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
66
|
+
}
|
|
67
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
68
|
+
}
|
|
69
|
+
function getExpandedPlacements(placement) {
|
|
70
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
71
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
72
|
+
}
|
|
73
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
74
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
75
|
+
}
|
|
76
|
+
function getSideList(side, isStart, rtl) {
|
|
77
|
+
const lr = ['left', 'right'];
|
|
78
|
+
const rl = ['right', 'left'];
|
|
79
|
+
const tb = ['top', 'bottom'];
|
|
80
|
+
const bt = ['bottom', 'top'];
|
|
81
|
+
switch (side) {
|
|
82
|
+
case 'top':
|
|
83
|
+
case 'bottom':
|
|
84
|
+
if (rtl) return isStart ? rl : lr;
|
|
85
|
+
return isStart ? lr : rl;
|
|
86
|
+
case 'left':
|
|
87
|
+
case 'right':
|
|
88
|
+
return isStart ? tb : bt;
|
|
89
|
+
default:
|
|
90
|
+
return [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
94
|
+
const alignment = getAlignment(placement);
|
|
95
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
96
|
+
if (alignment) {
|
|
97
|
+
list = list.map(side => side + "-" + alignment);
|
|
98
|
+
if (flipAlignment) {
|
|
99
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return list;
|
|
103
|
+
}
|
|
104
|
+
function getOppositePlacement(placement) {
|
|
105
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
106
|
+
}
|
|
107
|
+
function expandPaddingObject(padding) {
|
|
108
|
+
return {
|
|
109
|
+
top: 0,
|
|
110
|
+
right: 0,
|
|
111
|
+
bottom: 0,
|
|
112
|
+
left: 0,
|
|
113
|
+
...padding
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function getPaddingObject(padding) {
|
|
117
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
118
|
+
top: padding,
|
|
119
|
+
right: padding,
|
|
120
|
+
bottom: padding,
|
|
121
|
+
left: padding
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function rectToClientRect(rect) {
|
|
125
|
+
return {
|
|
126
|
+
...rect,
|
|
127
|
+
top: rect.y,
|
|
128
|
+
left: rect.x,
|
|
129
|
+
right: rect.x + rect.width,
|
|
130
|
+
bottom: rect.y + rect.height
|
|
131
|
+
};
|
|
26
132
|
}
|
|
27
133
|
|
|
28
134
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -30,13 +136,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
30
136
|
reference,
|
|
31
137
|
floating
|
|
32
138
|
} = _ref;
|
|
139
|
+
const sideAxis = getSideAxis(placement);
|
|
140
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
141
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
142
|
+
const side = getSide(placement);
|
|
143
|
+
const isVertical = sideAxis === 'y';
|
|
33
144
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
34
145
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
35
|
-
const
|
|
36
|
-
const length = getLengthFromAxis(mainAxis);
|
|
37
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
38
|
-
const side = getSide(placement);
|
|
39
|
-
const isVertical = mainAxis === 'x';
|
|
146
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
40
147
|
let coords;
|
|
41
148
|
switch (side) {
|
|
42
149
|
case 'top':
|
|
@@ -71,10 +178,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
71
178
|
}
|
|
72
179
|
switch (getAlignment(placement)) {
|
|
73
180
|
case 'start':
|
|
74
|
-
coords[
|
|
181
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
75
182
|
break;
|
|
76
183
|
case 'end':
|
|
77
|
-
coords[
|
|
184
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
78
185
|
break;
|
|
79
186
|
}
|
|
80
187
|
return coords;
|
|
@@ -172,39 +279,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
172
279
|
};
|
|
173
280
|
};
|
|
174
281
|
|
|
175
|
-
function evaluate(value, param) {
|
|
176
|
-
return typeof value === 'function' ? value(param) : value;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
function expandPaddingObject(padding) {
|
|
180
|
-
return {
|
|
181
|
-
top: 0,
|
|
182
|
-
right: 0,
|
|
183
|
-
bottom: 0,
|
|
184
|
-
left: 0,
|
|
185
|
-
...padding
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
function getSideObjectFromPadding(padding) {
|
|
190
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
191
|
-
top: padding,
|
|
192
|
-
right: padding,
|
|
193
|
-
bottom: padding,
|
|
194
|
-
left: padding
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
function rectToClientRect(rect) {
|
|
199
|
-
return {
|
|
200
|
-
...rect,
|
|
201
|
-
top: rect.y,
|
|
202
|
-
left: rect.x,
|
|
203
|
-
right: rect.x + rect.width,
|
|
204
|
-
bottom: rect.y + rect.height
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
|
|
208
282
|
/**
|
|
209
283
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
210
284
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -233,7 +307,7 @@ async function detectOverflow(state, options) {
|
|
|
233
307
|
altBoundary = false,
|
|
234
308
|
padding = 0
|
|
235
309
|
} = evaluate(options, state);
|
|
236
|
-
const paddingObject =
|
|
310
|
+
const paddingObject = getPaddingObject(padding);
|
|
237
311
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
238
312
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
239
313
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -268,13 +342,6 @@ async function detectOverflow(state, options) {
|
|
|
268
342
|
};
|
|
269
343
|
}
|
|
270
344
|
|
|
271
|
-
const min$1 = Math.min;
|
|
272
|
-
const max$1 = Math.max;
|
|
273
|
-
|
|
274
|
-
function within(min$1$1, value, max$1$1) {
|
|
275
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
276
|
-
}
|
|
277
|
-
|
|
278
345
|
/**
|
|
279
346
|
* Provides data to position an inner element of the floating element so that it
|
|
280
347
|
* appears centered to the reference element.
|
|
@@ -300,13 +367,13 @@ const arrow = options => ({
|
|
|
300
367
|
if (element == null) {
|
|
301
368
|
return {};
|
|
302
369
|
}
|
|
303
|
-
const paddingObject =
|
|
370
|
+
const paddingObject = getPaddingObject(padding);
|
|
304
371
|
const coords = {
|
|
305
372
|
x,
|
|
306
373
|
y
|
|
307
374
|
};
|
|
308
|
-
const axis =
|
|
309
|
-
const length =
|
|
375
|
+
const axis = getAlignmentAxis(placement);
|
|
376
|
+
const length = getAxisLength(axis);
|
|
310
377
|
const arrowDimensions = await platform.getDimensions(element);
|
|
311
378
|
const isYAxis = axis === 'y';
|
|
312
379
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -326,22 +393,22 @@ const arrow = options => ({
|
|
|
326
393
|
// If the padding is large enough that it causes the arrow to no longer be
|
|
327
394
|
// centered, modify the padding so that it is centered.
|
|
328
395
|
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
329
|
-
const minPadding = min
|
|
330
|
-
const maxPadding = min
|
|
396
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
397
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
331
398
|
|
|
332
399
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
333
400
|
// point is outside the floating element's bounds.
|
|
334
|
-
const min$1
|
|
401
|
+
const min$1 = minPadding;
|
|
335
402
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
336
403
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
337
|
-
const offset =
|
|
404
|
+
const offset = clamp(min$1, center, max);
|
|
338
405
|
|
|
339
406
|
// If the reference is small enough that the arrow's padding causes it to
|
|
340
407
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
341
408
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
342
409
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
343
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1
|
|
344
|
-
const alignmentOffset = shouldAddOffset ? center < min$1
|
|
410
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
411
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
345
412
|
return {
|
|
346
413
|
[axis]: coords[axis] - alignmentOffset,
|
|
347
414
|
data: {
|
|
@@ -352,44 +419,6 @@ const arrow = options => ({
|
|
|
352
419
|
}
|
|
353
420
|
});
|
|
354
421
|
|
|
355
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
356
|
-
const allPlacements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-start", side + "-end"), []);
|
|
357
|
-
|
|
358
|
-
const oppositeSideMap = {
|
|
359
|
-
left: 'right',
|
|
360
|
-
right: 'left',
|
|
361
|
-
bottom: 'top',
|
|
362
|
-
top: 'bottom'
|
|
363
|
-
};
|
|
364
|
-
function getOppositePlacement(placement) {
|
|
365
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
369
|
-
if (rtl === void 0) {
|
|
370
|
-
rtl = false;
|
|
371
|
-
}
|
|
372
|
-
const alignment = getAlignment(placement);
|
|
373
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
374
|
-
const length = getLengthFromAxis(mainAxis);
|
|
375
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
376
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
377
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
378
|
-
}
|
|
379
|
-
return {
|
|
380
|
-
main: mainAlignmentSide,
|
|
381
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const oppositeAlignmentMap = {
|
|
386
|
-
start: 'end',
|
|
387
|
-
end: 'start'
|
|
388
|
-
};
|
|
389
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
390
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
422
|
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
394
423
|
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
395
424
|
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
@@ -424,36 +453,33 @@ const autoPlacement = function (options) {
|
|
|
424
453
|
const {
|
|
425
454
|
crossAxis = false,
|
|
426
455
|
alignment,
|
|
427
|
-
allowedPlacements =
|
|
456
|
+
allowedPlacements = placements,
|
|
428
457
|
autoAlignment = true,
|
|
429
458
|
...detectOverflowOptions
|
|
430
459
|
} = evaluate(options, state);
|
|
431
|
-
const placements = alignment !== undefined || allowedPlacements ===
|
|
460
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
432
461
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
433
462
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
434
|
-
const currentPlacement = placements[currentIndex];
|
|
463
|
+
const currentPlacement = placements$1[currentIndex];
|
|
435
464
|
if (currentPlacement == null) {
|
|
436
465
|
return {};
|
|
437
466
|
}
|
|
438
|
-
const
|
|
439
|
-
main,
|
|
440
|
-
cross
|
|
441
|
-
} = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
467
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
442
468
|
|
|
443
469
|
// Make `computeCoords` start from the right place.
|
|
444
470
|
if (placement !== currentPlacement) {
|
|
445
471
|
return {
|
|
446
472
|
reset: {
|
|
447
|
-
placement: placements[0]
|
|
473
|
+
placement: placements$1[0]
|
|
448
474
|
}
|
|
449
475
|
};
|
|
450
476
|
}
|
|
451
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[
|
|
477
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
452
478
|
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
453
479
|
placement: currentPlacement,
|
|
454
480
|
overflows: currentOverflows
|
|
455
481
|
}];
|
|
456
|
-
const nextPlacement = placements[currentIndex + 1];
|
|
482
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
457
483
|
|
|
458
484
|
// There are more placements to check.
|
|
459
485
|
if (nextPlacement) {
|
|
@@ -496,40 +522,6 @@ const autoPlacement = function (options) {
|
|
|
496
522
|
};
|
|
497
523
|
};
|
|
498
524
|
|
|
499
|
-
function getExpandedPlacements(placement) {
|
|
500
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
501
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
function getSideList(side, isStart, rtl) {
|
|
505
|
-
const lr = ['left', 'right'];
|
|
506
|
-
const rl = ['right', 'left'];
|
|
507
|
-
const tb = ['top', 'bottom'];
|
|
508
|
-
const bt = ['bottom', 'top'];
|
|
509
|
-
switch (side) {
|
|
510
|
-
case 'top':
|
|
511
|
-
case 'bottom':
|
|
512
|
-
if (rtl) return isStart ? rl : lr;
|
|
513
|
-
return isStart ? lr : rl;
|
|
514
|
-
case 'left':
|
|
515
|
-
case 'right':
|
|
516
|
-
return isStart ? tb : bt;
|
|
517
|
-
default:
|
|
518
|
-
return [];
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
522
|
-
const alignment = getAlignment(placement);
|
|
523
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
524
|
-
if (alignment) {
|
|
525
|
-
list = list.map(side => side + "-" + alignment);
|
|
526
|
-
if (flipAlignment) {
|
|
527
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
return list;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
525
|
/**
|
|
534
526
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
535
527
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -577,11 +569,8 @@ const flip = function (options) {
|
|
|
577
569
|
overflows.push(overflow[side]);
|
|
578
570
|
}
|
|
579
571
|
if (checkCrossAxis) {
|
|
580
|
-
const
|
|
581
|
-
|
|
582
|
-
cross
|
|
583
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
584
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
572
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
573
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
585
574
|
}
|
|
586
575
|
overflowsData = [...overflowsData, {
|
|
587
576
|
placement,
|
|
@@ -709,6 +698,8 @@ const hide = function (options) {
|
|
|
709
698
|
};
|
|
710
699
|
};
|
|
711
700
|
|
|
701
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
702
|
+
// Derivable.
|
|
712
703
|
async function convertValueToCoords(state, options) {
|
|
713
704
|
const {
|
|
714
705
|
placement,
|
|
@@ -718,7 +709,7 @@ async function convertValueToCoords(state, options) {
|
|
|
718
709
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
719
710
|
const side = getSide(placement);
|
|
720
711
|
const alignment = getAlignment(placement);
|
|
721
|
-
const isVertical =
|
|
712
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
722
713
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
723
714
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
724
715
|
const rawValue = evaluate(options, state);
|
|
@@ -779,10 +770,6 @@ const offset = function (options) {
|
|
|
779
770
|
};
|
|
780
771
|
};
|
|
781
772
|
|
|
782
|
-
function getCrossAxis(axis) {
|
|
783
|
-
return axis === 'x' ? 'y' : 'x';
|
|
784
|
-
}
|
|
785
|
-
|
|
786
773
|
/**
|
|
787
774
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
788
775
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -823,8 +810,8 @@ const shift = function (options) {
|
|
|
823
810
|
y
|
|
824
811
|
};
|
|
825
812
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
826
|
-
const
|
|
827
|
-
const
|
|
813
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
814
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
828
815
|
let mainAxisCoord = coords[mainAxis];
|
|
829
816
|
let crossAxisCoord = coords[crossAxis];
|
|
830
817
|
if (checkMainAxis) {
|
|
@@ -832,14 +819,14 @@ const shift = function (options) {
|
|
|
832
819
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
833
820
|
const min = mainAxisCoord + overflow[minSide];
|
|
834
821
|
const max = mainAxisCoord - overflow[maxSide];
|
|
835
|
-
mainAxisCoord =
|
|
822
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
836
823
|
}
|
|
837
824
|
if (checkCrossAxis) {
|
|
838
825
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
839
826
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
840
827
|
const min = crossAxisCoord + overflow[minSide];
|
|
841
828
|
const max = crossAxisCoord - overflow[maxSide];
|
|
842
|
-
crossAxisCoord =
|
|
829
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
843
830
|
}
|
|
844
831
|
const limitedCoords = limiter.fn({
|
|
845
832
|
...state,
|
|
@@ -857,18 +844,6 @@ const shift = function (options) {
|
|
|
857
844
|
};
|
|
858
845
|
};
|
|
859
846
|
|
|
860
|
-
function getWindow(node) {
|
|
861
|
-
var _node$ownerDocument;
|
|
862
|
-
return ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
function getComputedStyle$1(element) {
|
|
866
|
-
return getWindow(element).getComputedStyle(element);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
function isNode(value) {
|
|
870
|
-
return value instanceof getWindow(value).Node;
|
|
871
|
-
}
|
|
872
847
|
function getNodeName(node) {
|
|
873
848
|
if (isNode(node)) {
|
|
874
849
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -878,19 +853,29 @@ function getNodeName(node) {
|
|
|
878
853
|
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
879
854
|
return '#document';
|
|
880
855
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
return
|
|
856
|
+
function getWindow(node) {
|
|
857
|
+
var _node$ownerDocument;
|
|
858
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
859
|
+
}
|
|
860
|
+
function getDocumentElement(node) {
|
|
861
|
+
var _ref;
|
|
862
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
863
|
+
}
|
|
864
|
+
function isNode(value) {
|
|
865
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
884
866
|
}
|
|
885
867
|
function isElement(value) {
|
|
886
|
-
return value instanceof getWindow(value).Element;
|
|
868
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
869
|
+
}
|
|
870
|
+
function isHTMLElement(value) {
|
|
871
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
887
872
|
}
|
|
888
|
-
function isShadowRoot(
|
|
873
|
+
function isShadowRoot(value) {
|
|
889
874
|
// Browsers without `ShadowRoot` support.
|
|
890
875
|
if (typeof ShadowRoot === 'undefined') {
|
|
891
876
|
return false;
|
|
892
877
|
}
|
|
893
|
-
return
|
|
878
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
894
879
|
}
|
|
895
880
|
function isOverflowElement(element) {
|
|
896
881
|
const {
|
|
@@ -905,34 +890,89 @@ function isTableElement(element) {
|
|
|
905
890
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
906
891
|
}
|
|
907
892
|
function isContainingBlock(element) {
|
|
908
|
-
const
|
|
893
|
+
const webkit = isWebKit();
|
|
909
894
|
const css = getComputedStyle$1(element);
|
|
910
895
|
|
|
911
896
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
912
|
-
return css.transform !== 'none' || css.perspective !== 'none' || !
|
|
897
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
898
|
+
}
|
|
899
|
+
function getContainingBlock(element) {
|
|
900
|
+
let currentNode = getParentNode(element);
|
|
901
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
902
|
+
if (isContainingBlock(currentNode)) {
|
|
903
|
+
return currentNode;
|
|
904
|
+
} else {
|
|
905
|
+
currentNode = getParentNode(currentNode);
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return null;
|
|
913
909
|
}
|
|
914
|
-
function
|
|
910
|
+
function isWebKit() {
|
|
915
911
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
916
912
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
917
913
|
}
|
|
918
914
|
function isLastTraversableNode(node) {
|
|
919
915
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
920
916
|
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
917
|
+
function getComputedStyle$1(element) {
|
|
918
|
+
return getWindow(element).getComputedStyle(element);
|
|
919
|
+
}
|
|
920
|
+
function getNodeScroll(element) {
|
|
921
|
+
if (isElement(element)) {
|
|
922
|
+
return {
|
|
923
|
+
scrollLeft: element.scrollLeft,
|
|
924
|
+
scrollTop: element.scrollTop
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
return {
|
|
928
|
+
scrollLeft: element.pageXOffset,
|
|
929
|
+
scrollTop: element.pageYOffset
|
|
930
|
+
};
|
|
931
|
+
}
|
|
932
|
+
function getParentNode(node) {
|
|
933
|
+
if (getNodeName(node) === 'html') {
|
|
934
|
+
return node;
|
|
935
|
+
}
|
|
936
|
+
const result =
|
|
937
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
938
|
+
node.assignedSlot ||
|
|
939
|
+
// DOM Element detected.
|
|
940
|
+
node.parentNode ||
|
|
941
|
+
// ShadowRoot detected.
|
|
942
|
+
isShadowRoot(node) && node.host ||
|
|
943
|
+
// Fallback.
|
|
944
|
+
getDocumentElement(node);
|
|
945
|
+
return isShadowRoot(result) ? result.host : result;
|
|
946
|
+
}
|
|
947
|
+
function getNearestOverflowAncestor(node) {
|
|
948
|
+
const parentNode = getParentNode(node);
|
|
949
|
+
if (isLastTraversableNode(parentNode)) {
|
|
950
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
951
|
+
}
|
|
952
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
953
|
+
return parentNode;
|
|
954
|
+
}
|
|
955
|
+
return getNearestOverflowAncestor(parentNode);
|
|
956
|
+
}
|
|
957
|
+
function getOverflowAncestors(node, list) {
|
|
958
|
+
var _node$ownerDocument2;
|
|
959
|
+
if (list === void 0) {
|
|
960
|
+
list = [];
|
|
961
|
+
}
|
|
962
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
963
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
964
|
+
const win = getWindow(scrollableAncestor);
|
|
965
|
+
if (isBody) {
|
|
966
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
967
|
+
}
|
|
968
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
function getCssDimensions(element) {
|
|
972
|
+
const css = getComputedStyle$1(element);
|
|
973
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
974
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
975
|
+
let width = parseFloat(css.width) || 0;
|
|
936
976
|
let height = parseFloat(css.height) || 0;
|
|
937
977
|
const hasOffset = isHTMLElement(element);
|
|
938
978
|
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
@@ -956,7 +996,7 @@ function unwrapElement(element) {
|
|
|
956
996
|
function getScale(element) {
|
|
957
997
|
const domElement = unwrapElement(element);
|
|
958
998
|
if (!isHTMLElement(domElement)) {
|
|
959
|
-
return
|
|
999
|
+
return createCoords(1);
|
|
960
1000
|
}
|
|
961
1001
|
const rect = domElement.getBoundingClientRect();
|
|
962
1002
|
const {
|
|
@@ -981,24 +1021,26 @@ function getScale(element) {
|
|
|
981
1021
|
};
|
|
982
1022
|
}
|
|
983
1023
|
|
|
984
|
-
const noOffsets = /*#__PURE__*/
|
|
985
|
-
function getVisualOffsets(element
|
|
986
|
-
|
|
987
|
-
if (
|
|
988
|
-
isFixed = true;
|
|
989
|
-
}
|
|
990
|
-
if (!isSafari()) {
|
|
991
|
-
return noOffsets;
|
|
992
|
-
}
|
|
993
|
-
const win = element ? getWindow(element) : window;
|
|
994
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== win) {
|
|
1024
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1025
|
+
function getVisualOffsets(element) {
|
|
1026
|
+
const win = getWindow(element);
|
|
1027
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
995
1028
|
return noOffsets;
|
|
996
1029
|
}
|
|
997
1030
|
return {
|
|
998
|
-
x:
|
|
999
|
-
y:
|
|
1031
|
+
x: win.visualViewport.offsetLeft,
|
|
1032
|
+
y: win.visualViewport.offsetTop
|
|
1000
1033
|
};
|
|
1001
1034
|
}
|
|
1035
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1036
|
+
if (isFixed === void 0) {
|
|
1037
|
+
isFixed = false;
|
|
1038
|
+
}
|
|
1039
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1040
|
+
return false;
|
|
1041
|
+
}
|
|
1042
|
+
return isFixed;
|
|
1043
|
+
}
|
|
1002
1044
|
|
|
1003
1045
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1004
1046
|
if (includeScale === void 0) {
|
|
@@ -1009,7 +1051,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1009
1051
|
}
|
|
1010
1052
|
const clientRect = element.getBoundingClientRect();
|
|
1011
1053
|
const domElement = unwrapElement(element);
|
|
1012
|
-
let scale =
|
|
1054
|
+
let scale = createCoords(1);
|
|
1013
1055
|
if (includeScale) {
|
|
1014
1056
|
if (offsetParent) {
|
|
1015
1057
|
if (isElement(offsetParent)) {
|
|
@@ -1019,7 +1061,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1019
1061
|
scale = getScale(element);
|
|
1020
1062
|
}
|
|
1021
1063
|
}
|
|
1022
|
-
const visualOffsets =
|
|
1064
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1023
1065
|
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1024
1066
|
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1025
1067
|
let width = clientRect.width / scale.x;
|
|
@@ -1031,7 +1073,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1031
1073
|
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1032
1074
|
const iframeScale = getScale(currentIFrame);
|
|
1033
1075
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1034
|
-
const css = getComputedStyle(currentIFrame);
|
|
1076
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1035
1077
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1036
1078
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1037
1079
|
x *= iframeScale.x;
|
|
@@ -1051,23 +1093,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1051
1093
|
});
|
|
1052
1094
|
}
|
|
1053
1095
|
|
|
1054
|
-
function getDocumentElement(node) {
|
|
1055
|
-
return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
function getNodeScroll(element) {
|
|
1059
|
-
if (isElement(element)) {
|
|
1060
|
-
return {
|
|
1061
|
-
scrollLeft: element.scrollLeft,
|
|
1062
|
-
scrollTop: element.scrollTop
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
return {
|
|
1066
|
-
scrollLeft: element.pageXOffset,
|
|
1067
|
-
scrollTop: element.pageYOffset
|
|
1068
|
-
};
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
1096
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1072
1097
|
let {
|
|
1073
1098
|
rect,
|
|
@@ -1083,8 +1108,8 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1083
1108
|
scrollLeft: 0,
|
|
1084
1109
|
scrollTop: 0
|
|
1085
1110
|
};
|
|
1086
|
-
let scale =
|
|
1087
|
-
const offsets =
|
|
1111
|
+
let scale = createCoords(1);
|
|
1112
|
+
const offsets = createCoords(0);
|
|
1088
1113
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1089
1114
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1090
1115
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1104,6 +1129,10 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1104
1129
|
};
|
|
1105
1130
|
}
|
|
1106
1131
|
|
|
1132
|
+
function getClientRects(element) {
|
|
1133
|
+
return Array.from(element.getClientRects());
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1107
1136
|
function getWindowScrollBarX(element) {
|
|
1108
1137
|
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1109
1138
|
// incorrect for RTL.
|
|
@@ -1131,47 +1160,6 @@ function getDocumentRect(element) {
|
|
|
1131
1160
|
};
|
|
1132
1161
|
}
|
|
1133
1162
|
|
|
1134
|
-
function getParentNode(node) {
|
|
1135
|
-
if (getNodeName(node) === 'html') {
|
|
1136
|
-
return node;
|
|
1137
|
-
}
|
|
1138
|
-
const result =
|
|
1139
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
1140
|
-
node.assignedSlot ||
|
|
1141
|
-
// DOM Element detected.
|
|
1142
|
-
node.parentNode ||
|
|
1143
|
-
// ShadowRoot detected.
|
|
1144
|
-
isShadowRoot(node) && node.host ||
|
|
1145
|
-
// Fallback.
|
|
1146
|
-
getDocumentElement(node);
|
|
1147
|
-
return isShadowRoot(result) ? result.host : result;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
function getNearestOverflowAncestor(node) {
|
|
1151
|
-
const parentNode = getParentNode(node);
|
|
1152
|
-
if (isLastTraversableNode(parentNode)) {
|
|
1153
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1154
|
-
}
|
|
1155
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1156
|
-
return parentNode;
|
|
1157
|
-
}
|
|
1158
|
-
return getNearestOverflowAncestor(parentNode);
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
function getOverflowAncestors(node, list) {
|
|
1162
|
-
var _node$ownerDocument;
|
|
1163
|
-
if (list === void 0) {
|
|
1164
|
-
list = [];
|
|
1165
|
-
}
|
|
1166
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1167
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
1168
|
-
const win = getWindow(scrollableAncestor);
|
|
1169
|
-
if (isBody) {
|
|
1170
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
1171
|
-
}
|
|
1172
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
1163
|
function getViewportRect(element, strategy) {
|
|
1176
1164
|
const win = getWindow(element);
|
|
1177
1165
|
const html = getDocumentElement(element);
|
|
@@ -1183,7 +1171,7 @@ function getViewportRect(element, strategy) {
|
|
|
1183
1171
|
if (visualViewport) {
|
|
1184
1172
|
width = visualViewport.width;
|
|
1185
1173
|
height = visualViewport.height;
|
|
1186
|
-
const visualViewportBased =
|
|
1174
|
+
const visualViewportBased = isWebKit();
|
|
1187
1175
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1188
1176
|
x = visualViewport.offsetLeft;
|
|
1189
1177
|
y = visualViewport.offsetTop;
|
|
@@ -1202,7 +1190,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1202
1190
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1203
1191
|
const top = clientRect.top + element.clientTop;
|
|
1204
1192
|
const left = clientRect.left + element.clientLeft;
|
|
1205
|
-
const scale = isHTMLElement(element) ? getScale(element) :
|
|
1193
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1206
1194
|
const width = element.clientWidth * scale.x;
|
|
1207
1195
|
const height = element.clientHeight * scale.y;
|
|
1208
1196
|
const x = left * scale.x;
|
|
@@ -1306,6 +1294,36 @@ function getDimensions(element) {
|
|
|
1306
1294
|
return getCssDimensions(element);
|
|
1307
1295
|
}
|
|
1308
1296
|
|
|
1297
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1298
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1299
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1300
|
+
const isFixed = strategy === 'fixed';
|
|
1301
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1302
|
+
let scroll = {
|
|
1303
|
+
scrollLeft: 0,
|
|
1304
|
+
scrollTop: 0
|
|
1305
|
+
};
|
|
1306
|
+
const offsets = createCoords(0);
|
|
1307
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1308
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1309
|
+
scroll = getNodeScroll(offsetParent);
|
|
1310
|
+
}
|
|
1311
|
+
if (isOffsetParentAnElement) {
|
|
1312
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1313
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1314
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1315
|
+
} else if (documentElement) {
|
|
1316
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
return {
|
|
1320
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1321
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1322
|
+
width: rect.width,
|
|
1323
|
+
height: rect.height
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1309
1327
|
function getTrueOffsetParent(element, polyfill) {
|
|
1310
1328
|
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1311
1329
|
return null;
|
|
@@ -1315,17 +1333,6 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1315
1333
|
}
|
|
1316
1334
|
return element.offsetParent;
|
|
1317
1335
|
}
|
|
1318
|
-
function getContainingBlock(element) {
|
|
1319
|
-
let currentNode = getParentNode(element);
|
|
1320
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1321
|
-
if (isContainingBlock(currentNode)) {
|
|
1322
|
-
return currentNode;
|
|
1323
|
-
} else {
|
|
1324
|
-
currentNode = getParentNode(currentNode);
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
return null;
|
|
1328
|
-
}
|
|
1329
1336
|
|
|
1330
1337
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1331
1338
|
// such as table ancestors and cross browser bugs.
|
|
@@ -1344,63 +1351,39 @@ function getOffsetParent(element, polyfill) {
|
|
|
1344
1351
|
return offsetParent || getContainingBlock(element) || window;
|
|
1345
1352
|
}
|
|
1346
1353
|
|
|
1347
|
-
function
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
};
|
|
1356
|
-
const offsets = createEmptyCoords(0);
|
|
1357
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1358
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1359
|
-
scroll = getNodeScroll(offsetParent);
|
|
1360
|
-
}
|
|
1361
|
-
if (isHTMLElement(offsetParent)) {
|
|
1362
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1363
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1364
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1365
|
-
} else if (documentElement) {
|
|
1366
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1354
|
+
const getElementRects = async function (_ref) {
|
|
1355
|
+
let {
|
|
1356
|
+
reference,
|
|
1357
|
+
floating,
|
|
1358
|
+
strategy
|
|
1359
|
+
} = _ref;
|
|
1360
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1361
|
+
const getDimensionsFn = this.getDimensions;
|
|
1369
1362
|
return {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1363
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1364
|
+
floating: {
|
|
1365
|
+
x: 0,
|
|
1366
|
+
y: 0,
|
|
1367
|
+
...(await getDimensionsFn(floating))
|
|
1368
|
+
}
|
|
1374
1369
|
};
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
function isRTL(element) {
|
|
1373
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
const platform = {
|
|
1378
|
-
getClippingRect,
|
|
1379
1377
|
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1380
|
-
isElement,
|
|
1381
|
-
getDimensions,
|
|
1382
|
-
getOffsetParent,
|
|
1383
1378
|
getDocumentElement,
|
|
1379
|
+
getClippingRect,
|
|
1380
|
+
getOffsetParent,
|
|
1381
|
+
getElementRects,
|
|
1382
|
+
getClientRects,
|
|
1383
|
+
getDimensions,
|
|
1384
1384
|
getScale,
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
reference,
|
|
1388
|
-
floating,
|
|
1389
|
-
strategy
|
|
1390
|
-
} = _ref;
|
|
1391
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1392
|
-
const getDimensionsFn = this.getDimensions;
|
|
1393
|
-
return {
|
|
1394
|
-
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1395
|
-
floating: {
|
|
1396
|
-
x: 0,
|
|
1397
|
-
y: 0,
|
|
1398
|
-
...(await getDimensionsFn(floating))
|
|
1399
|
-
}
|
|
1400
|
-
};
|
|
1401
|
-
},
|
|
1402
|
-
getClientRects: element => Array.from(element.getClientRects()),
|
|
1403
|
-
isRTL: element => getComputedStyle$1(element).direction === 'rtl'
|
|
1385
|
+
isElement,
|
|
1386
|
+
isRTL
|
|
1404
1387
|
};
|
|
1405
1388
|
|
|
1406
1389
|
// https://samthor.au/2021/observing-dom/
|
|
@@ -1438,14 +1421,18 @@ function observeMove(element, onMove) {
|
|
|
1438
1421
|
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1439
1422
|
const insetLeft = floor(left);
|
|
1440
1423
|
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1424
|
+
const options = {
|
|
1425
|
+
rootMargin,
|
|
1426
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1427
|
+
};
|
|
1441
1428
|
let isFirstUpdate = true;
|
|
1442
|
-
|
|
1429
|
+
function handleObserve(entries) {
|
|
1443
1430
|
const ratio = entries[0].intersectionRatio;
|
|
1444
1431
|
if (ratio !== threshold) {
|
|
1445
1432
|
if (!isFirstUpdate) {
|
|
1446
1433
|
return refresh();
|
|
1447
1434
|
}
|
|
1448
|
-
if (ratio
|
|
1435
|
+
if (!ratio) {
|
|
1449
1436
|
timeoutId = setTimeout(() => {
|
|
1450
1437
|
refresh(false, 1e-7);
|
|
1451
1438
|
}, 100);
|
|
@@ -1454,10 +1441,19 @@ function observeMove(element, onMove) {
|
|
|
1454
1441
|
}
|
|
1455
1442
|
}
|
|
1456
1443
|
isFirstUpdate = false;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1447
|
+
// error.
|
|
1448
|
+
try {
|
|
1449
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1450
|
+
...options,
|
|
1451
|
+
// Handle <iframe>s
|
|
1452
|
+
root: root.ownerDocument
|
|
1453
|
+
});
|
|
1454
|
+
} catch (e) {
|
|
1455
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1456
|
+
}
|
|
1461
1457
|
io.observe(element);
|
|
1462
1458
|
}
|
|
1463
1459
|
refresh(true);
|
|
@@ -1479,7 +1475,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1479
1475
|
const {
|
|
1480
1476
|
ancestorScroll = true,
|
|
1481
1477
|
ancestorResize = true,
|
|
1482
|
-
elementResize =
|
|
1478
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1483
1479
|
layoutShift = typeof IntersectionObserver === 'function',
|
|
1484
1480
|
animationFrame = false
|
|
1485
1481
|
} = options;
|
|
@@ -1492,9 +1488,22 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1492
1488
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1493
1489
|
});
|
|
1494
1490
|
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1491
|
+
let reobserveFrame = -1;
|
|
1495
1492
|
let resizeObserver = null;
|
|
1496
1493
|
if (elementResize) {
|
|
1497
|
-
resizeObserver = new ResizeObserver(
|
|
1494
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1495
|
+
let [firstEntry] = _ref;
|
|
1496
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1497
|
+
// Prevent update loops when using the `size` middleware.
|
|
1498
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1499
|
+
resizeObserver.unobserve(floating);
|
|
1500
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1501
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1502
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
update();
|
|
1506
|
+
});
|
|
1498
1507
|
if (referenceEl && !animationFrame) {
|
|
1499
1508
|
resizeObserver.observe(referenceEl);
|
|
1500
1509
|
}
|
|
@@ -1552,43 +1561,143 @@ const computePosition = (reference, floating, options) => {
|
|
|
1552
1561
|
});
|
|
1553
1562
|
};
|
|
1554
1563
|
|
|
1564
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1565
|
+
function offsetParent(element) {
|
|
1566
|
+
return offsetParentPolyfill(element);
|
|
1567
|
+
}
|
|
1568
|
+
function flatTreeParent(element) {
|
|
1569
|
+
if (element.assignedSlot) {
|
|
1570
|
+
return element.assignedSlot;
|
|
1571
|
+
}
|
|
1572
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
1573
|
+
return element.parentNode.host;
|
|
1574
|
+
}
|
|
1575
|
+
return element.parentNode;
|
|
1576
|
+
}
|
|
1577
|
+
function offsetParentPolyfill(element) {
|
|
1578
|
+
// Do an initial walk to check for display:none ancestors.
|
|
1579
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1580
|
+
if (!(ancestor instanceof Element)) {
|
|
1581
|
+
continue;
|
|
1582
|
+
}
|
|
1583
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
1584
|
+
return null;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1588
|
+
if (!(ancestor instanceof Element)) {
|
|
1589
|
+
continue;
|
|
1590
|
+
}
|
|
1591
|
+
const style = getComputedStyle(ancestor);
|
|
1592
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1593
|
+
if (style.display === 'contents') {
|
|
1594
|
+
continue;
|
|
1595
|
+
}
|
|
1596
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1597
|
+
return ancestor;
|
|
1598
|
+
}
|
|
1599
|
+
if (ancestor.tagName === 'BODY') {
|
|
1600
|
+
return ancestor;
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
return null;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1607
|
+
{
|
|
1608
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1609
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1610
|
+
}
|
|
1611
|
+
})();
|
|
1555
1612
|
/**
|
|
1556
|
-
*
|
|
1613
|
+
* Positions the floating element relative to the reference element.
|
|
1557
1614
|
*
|
|
1558
|
-
*
|
|
1615
|
+
* **Note:** exported for testing purposes only
|
|
1616
|
+
*
|
|
1617
|
+
* @param root0
|
|
1618
|
+
* @param root0.referenceEl
|
|
1619
|
+
* @param root0.floatingEl
|
|
1620
|
+
* @param root0.overlayPositioning
|
|
1621
|
+
* @param root0.placement
|
|
1622
|
+
* @param root0.flipDisabled
|
|
1623
|
+
* @param root0.flipPlacements
|
|
1624
|
+
* @param root0.offsetDistance
|
|
1625
|
+
* @param root0.offsetSkidding
|
|
1626
|
+
* @param root0.arrowEl
|
|
1627
|
+
* @param root0.type
|
|
1628
|
+
* @param component
|
|
1629
|
+
* @param root0.referenceEl.referenceEl
|
|
1630
|
+
* @param root0.referenceEl.floatingEl
|
|
1631
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1632
|
+
* @param root0.referenceEl.placement
|
|
1633
|
+
* @param root0.referenceEl.flipDisabled
|
|
1634
|
+
* @param root0.referenceEl.flipPlacements
|
|
1635
|
+
* @param root0.referenceEl.offsetDistance
|
|
1636
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1637
|
+
* @param root0.referenceEl.arrowEl
|
|
1638
|
+
* @param root0.referenceEl.type
|
|
1639
|
+
* @param component.referenceEl
|
|
1640
|
+
* @param component.floatingEl
|
|
1641
|
+
* @param component.overlayPositioning
|
|
1642
|
+
* @param component.placement
|
|
1643
|
+
* @param component.flipDisabled
|
|
1644
|
+
* @param component.flipPlacements
|
|
1645
|
+
* @param component.offsetDistance
|
|
1646
|
+
* @param component.offsetSkidding
|
|
1647
|
+
* @param component.arrowEl
|
|
1648
|
+
* @param component.type
|
|
1559
1649
|
*/
|
|
1560
|
-
const
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
return browser === "Chrome" && parseInt(version) >= 109;
|
|
1650
|
+
const positionFloatingUI =
|
|
1651
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1652
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1653
|
+
if (!referenceEl || !floatingEl) {
|
|
1654
|
+
return null;
|
|
1655
|
+
}
|
|
1656
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1657
|
+
strategy: overlayPositioning,
|
|
1658
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1659
|
+
? undefined
|
|
1660
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1661
|
+
middleware: getMiddleware({
|
|
1662
|
+
placement,
|
|
1663
|
+
flipDisabled,
|
|
1664
|
+
flipPlacements,
|
|
1665
|
+
offsetDistance,
|
|
1666
|
+
offsetSkidding,
|
|
1667
|
+
arrowEl,
|
|
1668
|
+
type,
|
|
1669
|
+
}),
|
|
1581
1670
|
});
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
const {
|
|
1588
|
-
|
|
1589
|
-
|
|
1671
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1672
|
+
const { x, y } = middlewareData.arrow;
|
|
1673
|
+
const side = effectivePlacement.split("-")[0];
|
|
1674
|
+
const alignment = x != null ? "left" : "top";
|
|
1675
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1676
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1677
|
+
if ("floatingLayout" in component) {
|
|
1678
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1679
|
+
}
|
|
1680
|
+
Object.assign(arrowEl.style, {
|
|
1681
|
+
...reset,
|
|
1682
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1683
|
+
[side]: "100%",
|
|
1684
|
+
transform,
|
|
1685
|
+
});
|
|
1590
1686
|
}
|
|
1591
|
-
|
|
1687
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1688
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1689
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1690
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1691
|
+
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
1692
|
+
Object.assign(floatingEl.style, {
|
|
1693
|
+
visibility,
|
|
1694
|
+
pointerEvents,
|
|
1695
|
+
position,
|
|
1696
|
+
top: "0",
|
|
1697
|
+
left: "0",
|
|
1698
|
+
transform,
|
|
1699
|
+
});
|
|
1700
|
+
};
|
|
1592
1701
|
/**
|
|
1593
1702
|
* Exported for testing purposes only
|
|
1594
1703
|
*/
|
|
@@ -1609,21 +1718,21 @@ const effectivePlacements = [
|
|
|
1609
1718
|
"right-start",
|
|
1610
1719
|
"right-end",
|
|
1611
1720
|
"left-start",
|
|
1612
|
-
"left-end"
|
|
1721
|
+
"left-end",
|
|
1613
1722
|
];
|
|
1614
1723
|
const defaultMenuPlacement = "bottom-start";
|
|
1615
1724
|
const FloatingCSS = {
|
|
1616
1725
|
animation: "calcite-floating-ui-anim",
|
|
1617
|
-
animationActive: "calcite-floating-ui-anim--active"
|
|
1726
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
1618
1727
|
};
|
|
1619
|
-
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
1728
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1620
1729
|
const defaultMiddleware = [shift(), hide()];
|
|
1621
1730
|
if (type === "menu") {
|
|
1622
1731
|
return [
|
|
1623
1732
|
...defaultMiddleware,
|
|
1624
1733
|
flip({
|
|
1625
|
-
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
|
|
1626
|
-
})
|
|
1734
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1735
|
+
}),
|
|
1627
1736
|
];
|
|
1628
1737
|
}
|
|
1629
1738
|
if (type === "popover" || type === "tooltip") {
|
|
@@ -1631,8 +1740,8 @@ function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance
|
|
|
1631
1740
|
...defaultMiddleware,
|
|
1632
1741
|
offset({
|
|
1633
1742
|
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1634
|
-
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0
|
|
1635
|
-
})
|
|
1743
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1744
|
+
}),
|
|
1636
1745
|
];
|
|
1637
1746
|
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1638
1747
|
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
@@ -1642,7 +1751,7 @@ function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance
|
|
|
1642
1751
|
}
|
|
1643
1752
|
if (arrowEl) {
|
|
1644
1753
|
middleware.push(arrow({
|
|
1645
|
-
element: arrowEl
|
|
1754
|
+
element: arrowEl,
|
|
1646
1755
|
}));
|
|
1647
1756
|
}
|
|
1648
1757
|
return middleware;
|
|
@@ -1689,112 +1798,34 @@ async function reposition(component, options, delayed = false) {
|
|
|
1689
1798
|
if (!component.open) {
|
|
1690
1799
|
return;
|
|
1691
1800
|
}
|
|
1692
|
-
|
|
1801
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1802
|
+
return positionFunction(component, options);
|
|
1803
|
+
}
|
|
1804
|
+
function getDebouncedReposition(component) {
|
|
1805
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1806
|
+
if (debounced) {
|
|
1807
|
+
return debounced;
|
|
1808
|
+
}
|
|
1809
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1810
|
+
leading: true,
|
|
1811
|
+
maxWait: repositionDebounceTimeout,
|
|
1812
|
+
});
|
|
1813
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1814
|
+
return debounced;
|
|
1693
1815
|
}
|
|
1694
|
-
const debouncedReposition = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1695
|
-
leading: true,
|
|
1696
|
-
maxWait: repositionDebounceTimeout
|
|
1697
|
-
});
|
|
1698
1816
|
const ARROW_CSS_TRANSFORM = {
|
|
1699
1817
|
top: "",
|
|
1700
1818
|
left: "rotate(-90deg)",
|
|
1701
1819
|
bottom: "rotate(180deg)",
|
|
1702
|
-
right: "rotate(90deg)"
|
|
1820
|
+
right: "rotate(90deg)",
|
|
1703
1821
|
};
|
|
1704
|
-
/**
|
|
1705
|
-
* Positions the floating element relative to the reference element.
|
|
1706
|
-
*
|
|
1707
|
-
* **Note:** exported for testing purposes only
|
|
1708
|
-
*
|
|
1709
|
-
* @param root0
|
|
1710
|
-
* @param root0.referenceEl
|
|
1711
|
-
* @param root0.floatingEl
|
|
1712
|
-
* @param root0.overlayPositioning
|
|
1713
|
-
* @param root0.placement
|
|
1714
|
-
* @param root0.flipDisabled
|
|
1715
|
-
* @param root0.flipPlacements
|
|
1716
|
-
* @param root0.offsetDistance
|
|
1717
|
-
* @param root0.offsetSkidding
|
|
1718
|
-
* @param root0.arrowEl
|
|
1719
|
-
* @param root0.type
|
|
1720
|
-
* @param component
|
|
1721
|
-
* @param root0.referenceEl.referenceEl
|
|
1722
|
-
* @param root0.referenceEl.floatingEl
|
|
1723
|
-
* @param root0.referenceEl.overlayPositioning
|
|
1724
|
-
* @param root0.referenceEl.placement
|
|
1725
|
-
* @param root0.referenceEl.flipDisabled
|
|
1726
|
-
* @param root0.referenceEl.flipPlacements
|
|
1727
|
-
* @param root0.referenceEl.offsetDistance
|
|
1728
|
-
* @param root0.referenceEl.offsetSkidding
|
|
1729
|
-
* @param root0.referenceEl.arrowEl
|
|
1730
|
-
* @param root0.referenceEl.type
|
|
1731
|
-
* @param component.referenceEl
|
|
1732
|
-
* @param component.floatingEl
|
|
1733
|
-
* @param component.overlayPositioning
|
|
1734
|
-
* @param component.placement
|
|
1735
|
-
* @param component.flipDisabled
|
|
1736
|
-
* @param component.flipPlacements
|
|
1737
|
-
* @param component.offsetDistance
|
|
1738
|
-
* @param component.offsetSkidding
|
|
1739
|
-
* @param component.arrowEl
|
|
1740
|
-
* @param component.type
|
|
1741
|
-
*/
|
|
1742
|
-
async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
1743
|
-
if (!referenceEl || !floatingEl) {
|
|
1744
|
-
return null;
|
|
1745
|
-
}
|
|
1746
|
-
await floatingUIBrowserCheck;
|
|
1747
|
-
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
1748
|
-
strategy: overlayPositioning,
|
|
1749
|
-
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1750
|
-
? undefined
|
|
1751
|
-
: getEffectivePlacement(floatingEl, placement),
|
|
1752
|
-
middleware: getMiddleware({
|
|
1753
|
-
placement,
|
|
1754
|
-
flipDisabled,
|
|
1755
|
-
flipPlacements,
|
|
1756
|
-
offsetDistance,
|
|
1757
|
-
offsetSkidding,
|
|
1758
|
-
arrowEl,
|
|
1759
|
-
type
|
|
1760
|
-
})
|
|
1761
|
-
});
|
|
1762
|
-
if (arrowEl && middlewareData.arrow) {
|
|
1763
|
-
const { x, y } = middlewareData.arrow;
|
|
1764
|
-
const side = effectivePlacement.split("-")[0];
|
|
1765
|
-
const alignment = x != null ? "left" : "top";
|
|
1766
|
-
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1767
|
-
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1768
|
-
if ("floatingLayout" in component) {
|
|
1769
|
-
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1770
|
-
}
|
|
1771
|
-
Object.assign(arrowEl.style, {
|
|
1772
|
-
...reset,
|
|
1773
|
-
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1774
|
-
[side]: "100%",
|
|
1775
|
-
transform
|
|
1776
|
-
});
|
|
1777
|
-
}
|
|
1778
|
-
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1779
|
-
const visibility = referenceHidden ? "hidden" : null;
|
|
1780
|
-
const pointerEvents = visibility ? "none" : null;
|
|
1781
|
-
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1782
|
-
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
1783
|
-
Object.assign(floatingEl.style, {
|
|
1784
|
-
visibility,
|
|
1785
|
-
pointerEvents,
|
|
1786
|
-
position,
|
|
1787
|
-
top: "0",
|
|
1788
|
-
left: "0",
|
|
1789
|
-
transform
|
|
1790
|
-
});
|
|
1791
|
-
}
|
|
1792
1822
|
/**
|
|
1793
1823
|
* Exported for testing purposes only
|
|
1794
1824
|
*
|
|
1795
1825
|
* @internal
|
|
1796
1826
|
*/
|
|
1797
1827
|
const cleanupMap = new WeakMap();
|
|
1828
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1798
1829
|
/**
|
|
1799
1830
|
* Helper to set up floating element interactions on connectedCallback.
|
|
1800
1831
|
*
|
|
@@ -1813,7 +1844,7 @@ function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1813
1844
|
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1814
1845
|
position: component.overlayPositioning,
|
|
1815
1846
|
top: "0",
|
|
1816
|
-
left: "0"
|
|
1847
|
+
left: "0",
|
|
1817
1848
|
});
|
|
1818
1849
|
const runAutoUpdate = autoUpdate
|
|
1819
1850
|
;
|
|
@@ -1830,11 +1861,10 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1830
1861
|
if (!floatingEl || !referenceEl) {
|
|
1831
1862
|
return;
|
|
1832
1863
|
}
|
|
1833
|
-
|
|
1834
|
-
if (cleanup) {
|
|
1835
|
-
cleanup();
|
|
1836
|
-
}
|
|
1864
|
+
cleanupMap.get(component)?.();
|
|
1837
1865
|
cleanupMap.delete(component);
|
|
1866
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1867
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1838
1868
|
}
|
|
1839
1869
|
const visiblePointerSize = 4;
|
|
1840
1870
|
/**
|