@esri/calcite-components 1.4.0-next.23 → 1.4.0-next.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/card/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages_ar.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_bg.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_bs.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_ca.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_cs.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_da.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_de.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_el.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_es.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_et.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_fi.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_fr.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_he.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_hr.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_hu.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_id.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_it.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_ja.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_ko.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_lt.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_lv.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_nl.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_no.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_pl.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_pt-BR.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_pt-PT.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_ro.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_ru.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_sk.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_sl.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_sr.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_sv.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_th.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_tr.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_uk.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_vi.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_zh-CN.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_zh-HK.json +1 -0
- package/dist/calcite/assets/combobox/t9n/messages_zh-TW.json +1 -0
- 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/arrowCircleDown16.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDown16F.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDown24.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDown24F.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDown32.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDown32F.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDownF16.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDownF24.json +1 -0
- package/dist/calcite/assets/icon/arrowCircleDownF32.json +1 -0
- package/dist/calcite/assets/icon/refreshF16.json +1 -0
- package/dist/calcite/assets/icon/refreshF24.json +1 -0
- package/dist/calcite/assets/icon/refreshF32.json +1 -0
- package/dist/calcite/assets/icon/strikethrough16.json +1 -0
- package/dist/calcite/assets/icon/strikethrough24.json +1 -0
- package/dist/calcite/assets/icon/strikethrough32.json +1 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/list-item/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/menu/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/menu-item/t9n/messages_ar.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_bg.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_bs.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_ca.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_cs.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_da.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_de.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_el.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_es.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_et.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_fi.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_fr.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_he.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_hr.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_hu.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/menu-item/t9n/messages_it.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_ja.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_ko.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_lt.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_lv.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/menu-item/t9n/messages_no.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_pl.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/menu-item/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/menu-item/t9n/messages_ro.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_ru.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_sk.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_sl.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_sr.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_sv.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_th.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_tr.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_uk.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_vi.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_zh-CN.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_zh-HK.json +2 -2
- package/dist/calcite/assets/menu-item/t9n/messages_zh-TW.json +2 -2
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-0097f5dd.js +6 -0
- package/dist/calcite/{p-75c1fc88.entry.js → p-02c191f0.entry.js} +2 -2
- package/dist/calcite/p-0602a00b.entry.js +6 -0
- package/dist/calcite/{p-2dc9a666.entry.js → p-069ad6b3.entry.js} +2 -2
- package/dist/calcite/{p-9a794daf.js → p-0b9ae867.js} +2 -2
- package/dist/calcite/p-0d48099f.js +12 -0
- package/dist/calcite/{p-6b7f0aad.entry.js → p-109325a3.entry.js} +2 -2
- package/dist/calcite/{p-84c65bc7.js → p-15d9706f.js} +1 -1
- package/dist/calcite/p-173b0834.entry.js +6 -0
- package/dist/calcite/{p-7fdb1c72.js → p-1c8c983c.js} +2 -2
- package/dist/calcite/{p-14b32fa0.entry.js → p-2143e94f.entry.js} +2 -2
- package/dist/calcite/{p-9acd9de2.entry.js → p-22bdd686.entry.js} +2 -2
- package/dist/calcite/{p-d8ca0c3d.entry.js → p-22d7831f.entry.js} +2 -2
- package/dist/calcite/{p-4b8c3410.entry.js → p-240927be.entry.js} +2 -2
- package/dist/calcite/{p-2da58e7f.js → p-265e3de0.js} +1 -1
- package/dist/calcite/{p-5c1391e7.entry.js → p-2681342d.entry.js} +2 -2
- package/dist/calcite/{p-6653c29e.entry.js → p-27b5c27b.entry.js} +2 -2
- package/dist/calcite/{p-03e9a2e2.js → p-27caddb4.js} +1 -1
- package/dist/calcite/{p-aa26b81e.js → p-2be24aff.js} +2 -2
- package/dist/calcite/{p-9e05e41c.entry.js → p-2c05259c.entry.js} +2 -2
- package/dist/calcite/{p-1dac51c5.entry.js → p-2cd919e0.entry.js} +2 -2
- package/dist/calcite/{p-4a7b2279.entry.js → p-2f74e834.entry.js} +2 -2
- package/dist/calcite/{p-5af775d7.entry.js → p-32833fa7.entry.js} +2 -2
- package/dist/calcite/p-32c1b240.entry.js +6 -0
- package/dist/calcite/p-372a5fb4.entry.js +6 -0
- package/dist/calcite/{p-58d2c4a2.js → p-386c99d1.js} +2 -2
- package/dist/calcite/{p-2bec2eb5.entry.js → p-3b670542.entry.js} +2 -2
- package/dist/calcite/p-3b9f872a.js +6 -0
- package/dist/calcite/{p-e6f55d5a.entry.js → p-3c206b2f.entry.js} +2 -2
- package/dist/calcite/{p-145e8221.js → p-412ce365.js} +2 -2
- package/dist/calcite/{p-457294dd.entry.js → p-44e5f044.entry.js} +2 -2
- package/dist/calcite/{p-cee2e2dc.entry.js → p-46f0ad31.entry.js} +2 -2
- package/dist/calcite/p-479f826a.entry.js +6 -0
- package/dist/calcite/{p-21b0a6aa.entry.js → p-497da498.entry.js} +2 -2
- package/dist/calcite/{p-a4277fa5.entry.js → p-4c3799aa.entry.js} +2 -2
- package/dist/calcite/{p-f93c85cb.entry.js → p-4da6f480.entry.js} +2 -2
- package/dist/calcite/{p-77897adc.js → p-50620b41.js} +1 -1
- package/dist/calcite/{p-1bfc9f2f.js → p-541f48bc.js} +1 -1
- package/dist/calcite/{p-e7fb37da.entry.js → p-5829877d.entry.js} +2 -2
- package/dist/calcite/{p-f5cbd346.entry.js → p-59487de2.entry.js} +2 -2
- package/dist/calcite/{p-1d43158d.entry.js → p-5a66a03b.entry.js} +2 -2
- package/dist/calcite/{p-4c03eabd.js → p-5c425389.js} +1 -1
- package/dist/calcite/{p-fd726b17.entry.js → p-5e765e7c.entry.js} +2 -2
- package/dist/calcite/{p-a43abc76.entry.js → p-5ec94956.entry.js} +2 -2
- package/dist/calcite/{p-b02addc7.entry.js → p-5fec545e.entry.js} +2 -2
- package/dist/calcite/{p-e89ea847.js → p-623ae53c.js} +2 -2
- package/dist/calcite/{p-3aeb85a5.entry.js → p-6776b327.entry.js} +2 -2
- package/dist/calcite/{p-79ac0239.entry.js → p-6e25ed7c.entry.js} +2 -2
- package/dist/calcite/{p-bf0862f6.js → p-6e696602.js} +1 -1
- package/dist/calcite/{p-f5c91f1f.entry.js → p-71c37955.entry.js} +2 -2
- package/dist/calcite/{p-5f673e9a.js → p-74bc1444.js} +2 -2
- package/dist/calcite/{p-dea24881.entry.js → p-754c2c28.entry.js} +2 -2
- package/dist/calcite/{p-a6d43b0b.entry.js → p-7655fce0.entry.js} +2 -2
- package/dist/calcite/{p-b545af88.js → p-781f6f61.js} +1 -1
- package/dist/calcite/{p-732bba6c.js → p-78cbee72.js} +1 -1
- package/dist/calcite/{p-dbb2ec47.entry.js → p-7e45b326.entry.js} +2 -2
- package/dist/calcite/{p-be95d050.js → p-7eddc43c.js} +2 -2
- package/dist/calcite/{p-0b34e8b4.js → p-7f471b76.js} +1 -1
- package/dist/calcite/{p-b50a7c16.js → p-80df368d.js} +1 -1
- package/dist/calcite/{p-e1fcf2ee.entry.js → p-8103e3c2.entry.js} +2 -2
- package/dist/calcite/{p-3689955e.entry.js → p-8556f3db.entry.js} +2 -2
- package/dist/calcite/{p-83d95150.entry.js → p-85b8c2c4.entry.js} +2 -2
- package/dist/calcite/{p-c455006c.entry.js → p-883c0b3f.entry.js} +2 -2
- package/dist/calcite/p-889e03f6.js +6 -0
- package/dist/calcite/{p-860edd1a.entry.js → p-974f7fde.entry.js} +2 -2
- package/dist/calcite/{p-c973d988.entry.js → p-97ff0167.entry.js} +2 -2
- package/dist/calcite/{p-b783a73c.entry.js → p-9c443f94.entry.js} +2 -2
- package/dist/calcite/{p-f53b2411.entry.js → p-9d864732.entry.js} +2 -2
- package/dist/calcite/{p-47179399.entry.js → p-a236ceeb.entry.js} +2 -2
- package/dist/calcite/{p-ae20a4a0.entry.js → p-a3930912.entry.js} +2 -2
- package/dist/calcite/{p-ca61268f.js → p-a5fed371.js} +1 -1
- package/dist/calcite/{p-07e3aee9.entry.js → p-a94fb8e4.entry.js} +2 -2
- package/dist/calcite/{p-0c1426bb.entry.js → p-a9b0c56a.entry.js} +2 -2
- package/dist/calcite/{p-757a4425.js → p-ac0001cd.js} +1 -1
- package/dist/calcite/{p-945064b7.entry.js → p-b58b55ac.entry.js} +2 -2
- package/dist/calcite/p-b9afe0c9.js +6 -0
- package/dist/calcite/{p-006628e7.entry.js → p-bf510b96.entry.js} +2 -2
- package/dist/calcite/{p-e2709da1.entry.js → p-c21453f9.entry.js} +2 -2
- package/dist/calcite/{p-9be2669a.js → p-c34fd44c.js} +2 -2
- package/dist/calcite/p-cc417a82.entry.js +6 -0
- package/dist/calcite/{p-1203b724.entry.js → p-cd58a1fa.entry.js} +2 -2
- package/dist/calcite/{p-2c27c014.entry.js → p-cd8f0700.entry.js} +2 -2
- package/dist/calcite/p-d3020e43.js +6 -0
- package/dist/calcite/{p-14a8a211.js → p-d5a25bb6.js} +2 -2
- package/dist/calcite/{p-e3b28f3c.js → p-d7a55246.js} +2 -2
- package/dist/calcite/{p-c5775248.entry.js → p-d836cb79.entry.js} +2 -2
- package/dist/calcite/p-dc898639.entry.js +6 -0
- package/dist/calcite/{p-10203b31.entry.js → p-dce0f661.entry.js} +2 -2
- package/dist/calcite/{p-06aa9f18.entry.js → p-e388c477.entry.js} +2 -2
- package/dist/calcite/{p-007e61a6.js → p-e7629023.js} +2 -2
- package/dist/calcite/{p-4b0e4f6e.entry.js → p-e836b26d.entry.js} +2 -2
- package/dist/calcite/{p-02493c1f.entry.js → p-ef9f091e.entry.js} +2 -2
- package/dist/calcite/{p-e9aa9926.js → p-f04a98cb.js} +1 -1
- package/dist/calcite/{p-fb1f32da.entry.js → p-f3e30d31.entry.js} +2 -2
- package/dist/calcite/{p-859cf9cd.js → p-f5765951.js} +1 -1
- package/dist/calcite/{p-050f2b2a.entry.js → p-f872b7f9.entry.js} +2 -2
- package/dist/calcite/{p-6963cad1.js → p-f89f42ce.js} +1 -1
- package/dist/calcite/{p-6d53bf8c.entry.js → p-fd966d40.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-80bc1da7.js → ExpandToggle-544eca41.js} +5 -5
- package/dist/cjs/{FloatingArrow-c0212280.js → FloatingArrow-7dc3b1a7.js} +2 -2
- package/dist/cjs/{Heading-84f9b08c.js → Heading-8550fe4f.js} +2 -2
- package/dist/cjs/{app-globals-39ebabdb.js → app-globals-be1a16f8.js} +2 -2
- package/dist/cjs/{array-5b32c8f7.js → array-a7a2e246.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +18 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +39 -37
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +88 -0
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -8
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +34 -29
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-dc24f64d.js → composed-offset-position.esm-43adde14.js} +1 -1
- package/dist/cjs/{conditionalSlot-ca24888b.js → conditionalSlot-822d26b8.js} +3 -3
- package/dist/cjs/{debounce-4e936681.js → debounce-13784d17.js} +1 -1
- package/dist/cjs/{dom-48a37557.js → dom-9a0e58e7.js} +3 -3
- package/dist/cjs/{filter-c4ae0188.js → filter-225f185b.js} +2 -2
- package/dist/cjs/{floating-ui-0ca2cf74.js → floating-ui-fbf36f7d.js} +4 -4
- package/dist/cjs/{focusTrapComponent-063e97b9.js → focusTrapComponent-b610075f.js} +2 -2
- package/dist/cjs/{form-996de6c3.js → form-05442e6f.js} +3 -3
- package/dist/cjs/{guid-d525e422.js → guid-cc69d958.js} +1 -1
- package/dist/cjs/{index-f5720b6f.js → index-11d95090.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-bb4071c9.js → interactive-961005ad.js} +1 -1
- package/dist/cjs/{key-2b6ce082.js → key-0ebd8653.js} +1 -1
- package/dist/cjs/{label-d875a1aa.js → label-816f0d32.js} +2 -2
- package/dist/cjs/{loadable-685f61eb.js → loadable-8a48d091.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c6f39a09.js → locale-21a3b6a0.js} +4 -4
- package/dist/cjs/{math-d4b9ef8f.js → math-a31506d6.js} +1 -1
- package/dist/cjs/{observers-aa1e2017.js → observers-1bbcb6cc.js} +1 -1
- package/dist/cjs/{openCloseComponent-88a40e2e.js → openCloseComponent-14edcbc9.js} +2 -2
- package/dist/cjs/{resources-63cb69cd.js → resources-40e5f251.js} +1 -1
- package/dist/cjs/{resources-99424ea0.js → resources-6e084a48.js} +1 -1
- package/dist/cjs/{resources-aec86468.js → resources-8a878689.js} +1 -1
- package/dist/cjs/{resources-5989f0ec.js → resources-a90efe3d.js} +1 -1
- package/dist/cjs/{resources-340b5dfa.js → resources-c519d0b9.js} +5 -5
- package/dist/cjs/{resources-80cd526e.js → resources-fe445fa3.js} +1 -1
- package/dist/{esm/sortable.esm-7ec79022.js → cjs/sortableComponent-0cc1bbd9.js} +58 -2
- package/dist/cjs/{t9n-da5e4a58.js → t9n-0b490dac.js} +3 -3
- package/dist/cjs/{throttle-2402ee59.js → throttle-5f690651.js} +2 -2
- package/dist/cjs/{utils-44a32299.js → utils-14f5de5f.js} +3 -3
- package/dist/cjs/{utils-765407a5.js → utils-75ea2abb.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ar.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bg.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ca.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_cs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_da.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_de.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_el.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_es.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_et.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_he.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hu.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_id.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_it.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ja.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ko.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lt.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_nl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_no.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ro.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ru.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_th.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_tr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_uk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_vi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ar.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_bg.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_bs.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ca.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_cs.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_da.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_de.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_el.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_es.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_et.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_fi.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_fr.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_he.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_hr.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_hu.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_id.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_it.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ja.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ko.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_lt.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_lv.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_nl.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_no.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pl.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pt-BR.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_pt-PT.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ro.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_ru.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sk.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sl.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sr.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_sv.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_th.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_tr.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_uk.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_vi.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-CN.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-HK.json +1 -0
- package/dist/collection/components/combobox/assets/combobox/t9n/messages_zh-TW.json +1 -0
- package/dist/collection/components/combobox/combobox.js +3 -3
- package/dist/collection/components/combobox/resources.js +1 -3
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_cs.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_ja.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_ru.json +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_sk.json +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/arrowCircleDown16.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDown16F.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDown24.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDown24F.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDown32.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDown32F.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDownF16.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDownF24.json +1 -0
- package/dist/collection/components/icon/assets/icon/arrowCircleDownF32.json +1 -0
- package/dist/collection/components/icon/assets/icon/refreshF16.json +1 -0
- package/dist/collection/components/icon/assets/icon/refreshF24.json +1 -0
- package/dist/collection/components/icon/assets/icon/refreshF32.json +1 -0
- package/dist/collection/components/icon/assets/icon/strikethrough16.json +1 -0
- package/dist/collection/components/icon/assets/icon/strikethrough24.json +1 -0
- package/dist/collection/components/icon/assets/icon/strikethrough32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ar.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bg.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bs.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ca.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_cs.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_da.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_de.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_el.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_es.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_et.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fi.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fr.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_he.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hr.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hu.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_id.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_it.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ja.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ko.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lt.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lv.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_nl.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_no.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pl.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ro.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ru.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sk.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sl.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sr.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sv.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_th.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_tr.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_uk.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_vi.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ar.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_bg.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_bs.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ca.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_cs.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_da.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_de.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_el.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_es.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_et.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_fi.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_fr.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_he.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_hr.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_hu.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_id.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_it.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ja.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ko.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_lt.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_lv.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_nl.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_no.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pl.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ro.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ru.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sk.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sl.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sr.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sv.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_th.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_tr.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_uk.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_vi.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_vi.json +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ar.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_bg.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_bs.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ca.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_cs.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_da.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_de.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_el.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_es.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_et.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_fi.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_fr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_he.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_hr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_hu.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_id.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_it.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ja.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ko.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_lt.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_lv.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_nl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_no.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ro.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_ru.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sk.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sl.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_sv.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_th.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_tr.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_uk.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_vi.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/menu/assets/menu/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ar.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_bg.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_bs.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ca.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_cs.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_da.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_de.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_el.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_es.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_et.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_fi.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_fr.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_he.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_hr.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_hu.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_id.json +1 -1
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_it.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ja.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ko.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_lt.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_lv.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_nl.json +1 -1
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_no.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pl.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ro.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_ru.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sk.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sl.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sr.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_sv.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_th.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_tr.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_uk.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_vi.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-CN.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-HK.json +2 -2
- package/dist/collection/components/menu-item/assets/menu-item/t9n/messages_zh-TW.json +2 -2
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -4
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +34 -39
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +19 -0
- package/dist/collection/components/stack/stack.css +197 -0
- package/dist/collection/components/stack/stack.js +110 -0
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +3 -2
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +21 -15
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +55 -0
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +3 -3
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +35 -36
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.d.ts +11 -0
- package/dist/components/calcite-stack.js +107 -0
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +21 -15
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +3 -4
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/{sortable.esm.js → sortableComponent.js} +53 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +3 -2
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +5 -2
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-b8d811ca.js → ExpandToggle-e8010e0e.js} +5 -5
- package/dist/esm/{FloatingArrow-ef9c7572.js → FloatingArrow-9bab6fb8.js} +2 -2
- package/dist/esm/{Heading-f5c6977c.js → Heading-3f1b92a5.js} +2 -2
- package/dist/esm/{app-globals-74fddca4.js → app-globals-c4cd411e.js} +2 -2
- package/dist/esm/{array-5b9c19db.js → array-d5a2d954.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +22 -19
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +18 -19
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +39 -37
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +84 -0
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +9 -8
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +34 -29
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-f4a5f741.js → composed-offset-position.esm-e86d1a46.js} +1 -1
- package/dist/esm/{conditionalSlot-e9d5fa27.js → conditionalSlot-845e3c86.js} +3 -3
- package/dist/esm/{debounce-81dca329.js → debounce-bf05b97d.js} +1 -1
- package/dist/esm/{dom-9c1e5147.js → dom-5e8bfa94.js} +3 -3
- package/dist/esm/{filter-f6bc6019.js → filter-0757a6f6.js} +2 -2
- package/dist/esm/{floating-ui-01e37d39.js → floating-ui-3e2a2d03.js} +4 -4
- package/dist/esm/{focusTrapComponent-7ffea98c.js → focusTrapComponent-bd625418.js} +2 -2
- package/dist/esm/{form-b8178452.js → form-1039b35a.js} +3 -3
- package/dist/esm/{guid-fe1ca7fb.js → guid-42926a69.js} +1 -1
- package/dist/esm/{index-a90a5b85.js → index-7715e956.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-e2df9f09.js → interactive-110200da.js} +1 -1
- package/dist/esm/{key-0e0763f0.js → key-3143f1ee.js} +1 -1
- package/dist/esm/{label-2e6930b9.js → label-19699473.js} +2 -2
- package/dist/esm/{loadable-7b88b9df.js → loadable-83edbe00.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-7cb8cafe.js → locale-e07b6c59.js} +4 -4
- package/dist/esm/{math-c30ab685.js → math-5a6e90f9.js} +1 -1
- package/dist/esm/{observers-476d91ab.js → observers-1fc13a7e.js} +1 -1
- package/dist/esm/{openCloseComponent-1856633c.js → openCloseComponent-d52819f9.js} +2 -2
- package/dist/esm/{resources-c3ce8673.js → resources-543b8f95.js} +1 -1
- package/dist/esm/{resources-5f1f575d.js → resources-8fcb11c1.js} +1 -1
- package/dist/esm/{resources-8a2346c7.js → resources-a9ce6912.js} +1 -1
- package/dist/esm/{resources-2b7a7951.js → resources-d2ce276f.js} +1 -1
- package/dist/esm/{resources-dbbcac41.js → resources-e31c6be6.js} +5 -5
- package/dist/esm/{resources-92fc0837.js → resources-ea643e86.js} +1 -1
- package/dist/{cjs/sortable.esm-94eb38f9.js → esm/sortableComponent-cc2c48f1.js} +52 -3
- package/dist/esm/{t9n-51652a0f.js → t9n-e94dff5b.js} +3 -3
- package/dist/esm/{throttle-a813e88d.js → throttle-a41ea18c.js} +2 -2
- package/dist/esm/{utils-8c264033.js → utils-044e8a0b.js} +1 -1
- package/dist/esm/{utils-70fef730.js → utils-148f7444.js} +3 -3
- package/dist/extras/docs-json.json +93 -1
- package/dist/extras/vscode-data.json +13 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/combobox/resources.d.ts +0 -2
- package/dist/types/components/sortable-list/sortable-list.d.ts +4 -4
- package/dist/types/components/stack/resources.d.ts +14 -0
- package/dist/types/components/stack/stack.d.ts +26 -0
- package/dist/types/components/value-list/value-list.d.ts +3 -3
- package/dist/types/components.d.ts +21 -0
- package/dist/types/preact.d.ts +2 -0
- package/dist/types/utils/sortableComponent.d.ts +39 -0
- package/hydrate/index.js +690 -505
- package/package.json +2 -2
- package/dist/calcite/p-04189634.entry.js +0 -6
- package/dist/calcite/p-0a09199f.entry.js +0 -6
- package/dist/calcite/p-2a64571a.js +0 -6
- package/dist/calcite/p-3a9b3b87.js +0 -6
- package/dist/calcite/p-42ad83d4.entry.js +0 -6
- package/dist/calcite/p-4f4d47ab.js +0 -6
- package/dist/calcite/p-9e49c221.entry.js +0 -6
- package/dist/calcite/p-a53ece1b.js +0 -6
- package/dist/calcite/p-c698f4a2.js +0 -12
- package/dist/calcite/p-cc697eac.entry.js +0 -6
- package/dist/calcite/p-d0c7f6d0.js +0 -6
- package/dist/calcite/p-fc83e9c9.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6711,6 +6711,39 @@ function closestElementCrossShadowBoundary(element, selector) {
|
|
|
6711
6711
|
}
|
|
6712
6712
|
return closestFrom(element);
|
|
6713
6713
|
}
|
|
6714
|
+
/**
|
|
6715
|
+
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
|
6716
|
+
*
|
|
6717
|
+
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
|
6718
|
+
*
|
|
6719
|
+
* @param {Element} element An element.
|
|
6720
|
+
* @param {(node: Node) => Element} onVisit The callback.
|
|
6721
|
+
* @returns {Element} The result.
|
|
6722
|
+
*/
|
|
6723
|
+
function walkUpAncestry(element, onVisit) {
|
|
6724
|
+
return visit(element, onVisit);
|
|
6725
|
+
}
|
|
6726
|
+
function visit(node, onVisit) {
|
|
6727
|
+
if (!node) {
|
|
6728
|
+
return;
|
|
6729
|
+
}
|
|
6730
|
+
const result = onVisit(node);
|
|
6731
|
+
if (result !== undefined) {
|
|
6732
|
+
return result;
|
|
6733
|
+
}
|
|
6734
|
+
const { parentNode } = node;
|
|
6735
|
+
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
|
6736
|
+
}
|
|
6737
|
+
/**
|
|
6738
|
+
* This helper returns true when an element has the descendant in question.
|
|
6739
|
+
*
|
|
6740
|
+
* @param {Element} element The starting element.
|
|
6741
|
+
* @param {Element} maybeDescendant The descendant.
|
|
6742
|
+
* @returns {boolean} The result.
|
|
6743
|
+
*/
|
|
6744
|
+
function containsCrossShadowBoundary(element, maybeDescendant) {
|
|
6745
|
+
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
|
6746
|
+
}
|
|
6714
6747
|
/**
|
|
6715
6748
|
* This helper returns true when an element has a setFocus method.
|
|
6716
6749
|
*
|
|
@@ -6907,11 +6940,11 @@ const focusElementInGroup = (elements, currentElement, destination, cycle = true
|
|
|
6907
6940
|
return focusTarget;
|
|
6908
6941
|
};
|
|
6909
6942
|
|
|
6910
|
-
const SLOTS$
|
|
6943
|
+
const SLOTS$w = {
|
|
6911
6944
|
actionsStart: "actions-start",
|
|
6912
6945
|
actionsEnd: "actions-end"
|
|
6913
6946
|
};
|
|
6914
|
-
const CSS$
|
|
6947
|
+
const CSS$12 = {
|
|
6915
6948
|
icon: "icon",
|
|
6916
6949
|
header: "header",
|
|
6917
6950
|
headerContent: "header-content",
|
|
@@ -6982,28 +7015,28 @@ class AccordionItem {
|
|
|
6982
7015
|
// --------------------------------------------------------------------------
|
|
6983
7016
|
renderActionsStart() {
|
|
6984
7017
|
const { el } = this;
|
|
6985
|
-
return getSlotted(el, SLOTS$
|
|
7018
|
+
return getSlotted(el, SLOTS$w.actionsStart) ? (hAsync("div", { class: CSS$12.actionsStart }, hAsync("slot", { name: SLOTS$w.actionsStart }))) : null;
|
|
6986
7019
|
}
|
|
6987
7020
|
renderActionsEnd() {
|
|
6988
7021
|
const { el } = this;
|
|
6989
|
-
return getSlotted(el, SLOTS$
|
|
7022
|
+
return getSlotted(el, SLOTS$w.actionsEnd) ? (hAsync("div", { class: CSS$12.actionsEnd }, hAsync("slot", { name: SLOTS$w.actionsEnd }))) : null;
|
|
6990
7023
|
}
|
|
6991
7024
|
render() {
|
|
6992
7025
|
const { iconFlipRtl } = this;
|
|
6993
7026
|
const dir = getElementDir(this.el);
|
|
6994
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6995
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7027
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$12.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7028
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$12.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6996
7029
|
const { description } = this;
|
|
6997
7030
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6998
7031
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6999
7032
|
[`icon-type--${this.iconType}`]: true
|
|
7000
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7033
|
+
} }, hAsync("div", { class: { [CSS$12.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$12.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$12.headerContainer }, iconStartEl, hAsync("div", { class: CSS$12.headerText }, hAsync("span", { class: CSS$12.heading }, this.heading), description ? hAsync("span", { class: CSS$12.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$12.expandIcon, icon: this.iconType === "chevron"
|
|
7001
7034
|
? "chevronDown"
|
|
7002
7035
|
: this.iconType === "caret"
|
|
7003
7036
|
? "caretDown"
|
|
7004
7037
|
: this.expanded
|
|
7005
7038
|
? "minus"
|
|
7006
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7039
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$12.content }, hAsync("slot", null)))));
|
|
7007
7040
|
}
|
|
7008
7041
|
//--------------------------------------------------------------------------
|
|
7009
7042
|
//
|
|
@@ -7790,7 +7823,7 @@ function defaultOnMessagesChange() {
|
|
|
7790
7823
|
mergeMessages(this);
|
|
7791
7824
|
}
|
|
7792
7825
|
|
|
7793
|
-
const CSS
|
|
7826
|
+
const CSS$11 = {
|
|
7794
7827
|
button: "button",
|
|
7795
7828
|
buttonTextVisible: "button--text-visible",
|
|
7796
7829
|
buttonCompact: "button--compact",
|
|
@@ -7801,7 +7834,7 @@ const CSS$$ = {
|
|
|
7801
7834
|
textContainer: "text-container",
|
|
7802
7835
|
textContainerVisible: "text-container--visible"
|
|
7803
7836
|
};
|
|
7804
|
-
const SLOTS$
|
|
7837
|
+
const SLOTS$v = {
|
|
7805
7838
|
tooltip: "tooltip"
|
|
7806
7839
|
};
|
|
7807
7840
|
|
|
@@ -7899,14 +7932,14 @@ class Action {
|
|
|
7899
7932
|
renderTextContainer() {
|
|
7900
7933
|
const { text, textEnabled } = this;
|
|
7901
7934
|
const textContainerClasses = {
|
|
7902
|
-
[CSS
|
|
7903
|
-
[CSS
|
|
7935
|
+
[CSS$11.textContainer]: true,
|
|
7936
|
+
[CSS$11.textContainerVisible]: textEnabled
|
|
7904
7937
|
};
|
|
7905
7938
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7906
7939
|
}
|
|
7907
7940
|
renderIndicatorText() {
|
|
7908
7941
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7909
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS
|
|
7942
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$11.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7910
7943
|
}
|
|
7911
7944
|
renderIconContainer() {
|
|
7912
7945
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7917,22 +7950,22 @@ class Action {
|
|
|
7917
7950
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7918
7951
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7919
7952
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7920
|
-
[CSS
|
|
7921
|
-
[CSS
|
|
7953
|
+
[CSS$11.slotContainer]: true,
|
|
7954
|
+
[CSS$11.slotContainerHidden]: loading
|
|
7922
7955
|
} }, hAsync("slot", null)));
|
|
7923
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS
|
|
7956
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$11.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7924
7957
|
}
|
|
7925
7958
|
render() {
|
|
7926
7959
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7927
7960
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7928
7961
|
const buttonClasses = {
|
|
7929
|
-
[CSS
|
|
7930
|
-
[CSS
|
|
7931
|
-
[CSS
|
|
7962
|
+
[CSS$11.button]: true,
|
|
7963
|
+
[CSS$11.buttonTextVisible]: textEnabled,
|
|
7964
|
+
[CSS$11.buttonCompact]: compact
|
|
7932
7965
|
};
|
|
7933
7966
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7934
7967
|
// eslint-disable-next-line react/jsx-sort-props
|
|
7935
|
-
ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$
|
|
7968
|
+
ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
|
|
7936
7969
|
}
|
|
7937
7970
|
static get assetsDirs() { return ["assets"]; }
|
|
7938
7971
|
get el() { return getElement(this); }
|
|
@@ -9233,7 +9266,7 @@ function throttle$1(func, wait, options) {
|
|
|
9233
9266
|
});
|
|
9234
9267
|
}
|
|
9235
9268
|
|
|
9236
|
-
const SLOTS$
|
|
9269
|
+
const SLOTS$u = {
|
|
9237
9270
|
menuActions: "menu-actions",
|
|
9238
9271
|
menuTooltip: "menu-tooltip"
|
|
9239
9272
|
};
|
|
@@ -9241,11 +9274,11 @@ const ICONS$h = {
|
|
|
9241
9274
|
menu: "ellipsis"
|
|
9242
9275
|
};
|
|
9243
9276
|
|
|
9244
|
-
const CSS$
|
|
9277
|
+
const CSS$10 = {
|
|
9245
9278
|
menu: "menu",
|
|
9246
9279
|
defaultTrigger: "default-trigger"
|
|
9247
9280
|
};
|
|
9248
|
-
const SLOTS$
|
|
9281
|
+
const SLOTS$t = {
|
|
9249
9282
|
tooltip: "tooltip",
|
|
9250
9283
|
trigger: "trigger"
|
|
9251
9284
|
};
|
|
@@ -9272,7 +9305,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
|
|
|
9272
9305
|
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
9273
9306
|
};
|
|
9274
9307
|
const queryActions = (el) => {
|
|
9275
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$
|
|
9308
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$t.trigger : true);
|
|
9276
9309
|
};
|
|
9277
9310
|
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
9278
9311
|
let needToSlotCount = overflowCount;
|
|
@@ -9280,7 +9313,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
9280
9313
|
let slottedWithinGroupCount = 0;
|
|
9281
9314
|
const groupActions = queryActions(group).reverse();
|
|
9282
9315
|
groupActions.forEach((groupAction) => {
|
|
9283
|
-
if (groupAction.slot === SLOTS$
|
|
9316
|
+
if (groupAction.slot === SLOTS$u.menuActions) {
|
|
9284
9317
|
groupAction.removeAttribute("slot");
|
|
9285
9318
|
groupAction.textEnabled = expanded;
|
|
9286
9319
|
}
|
|
@@ -9290,7 +9323,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
9290
9323
|
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
9291
9324
|
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
9292
9325
|
groupAction.textEnabled = true;
|
|
9293
|
-
groupAction.setAttribute("slot", SLOTS$
|
|
9326
|
+
groupAction.setAttribute("slot", SLOTS$u.menuActions);
|
|
9294
9327
|
slottedWithinGroupCount++;
|
|
9295
9328
|
if (slottedWithinGroupCount > 1) {
|
|
9296
9329
|
needToSlotCount--;
|
|
@@ -9312,7 +9345,7 @@ function getCalcitePosition(position, el) {
|
|
|
9312
9345
|
}
|
|
9313
9346
|
function toggleChildActionText({ parent, expanded }) {
|
|
9314
9347
|
queryActions(parent)
|
|
9315
|
-
.filter((el) => el.slot !== SLOTS$
|
|
9348
|
+
.filter((el) => el.slot !== SLOTS$u.menuActions)
|
|
9316
9349
|
.forEach((action) => (action.textEnabled = expanded));
|
|
9317
9350
|
parent
|
|
9318
9351
|
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
@@ -9343,10 +9376,10 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9343
9376
|
return actionNode;
|
|
9344
9377
|
};
|
|
9345
9378
|
|
|
9346
|
-
const CSS
|
|
9379
|
+
const CSS$$ = {
|
|
9347
9380
|
actionGroupBottom: "action-group--bottom"
|
|
9348
9381
|
};
|
|
9349
|
-
const SLOTS$
|
|
9382
|
+
const SLOTS$s = {
|
|
9350
9383
|
bottomActions: "bottom-actions",
|
|
9351
9384
|
expandTooltip: "expand-tooltip"
|
|
9352
9385
|
};
|
|
@@ -9395,7 +9428,7 @@ class ActionBar {
|
|
|
9395
9428
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
9396
9429
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
9397
9430
|
this.setGroupLayout(actionGroups);
|
|
9398
|
-
const groupCount = getSlotted(el, SLOTS$
|
|
9431
|
+
const groupCount = getSlotted(el, SLOTS$s.bottomActions) || !expandDisabled
|
|
9399
9432
|
? actionGroups.length + 1
|
|
9400
9433
|
: actionGroups.length;
|
|
9401
9434
|
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
@@ -9527,11 +9560,11 @@ class ActionBar {
|
|
|
9527
9560
|
// --------------------------------------------------------------------------
|
|
9528
9561
|
renderBottomActionGroup() {
|
|
9529
9562
|
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
|
9530
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
9563
|
+
const tooltip = getSlotted(el, SLOTS$s.expandTooltip);
|
|
9531
9564
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9532
9565
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9533
9566
|
ref: this.setExpandToggleRef })) : null;
|
|
9534
|
-
return getSlotted(el, SLOTS$
|
|
9567
|
+
return getSlotted(el, SLOTS$s.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$$.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$s.bottomActions }), hAsync("slot", { name: SLOTS$s.expandTooltip }), expandToggleNode)) : null;
|
|
9535
9568
|
}
|
|
9536
9569
|
render() {
|
|
9537
9570
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9647,13 +9680,13 @@ class ActionGroup {
|
|
|
9647
9680
|
// --------------------------------------------------------------------------
|
|
9648
9681
|
renderTooltip() {
|
|
9649
9682
|
const { el } = this;
|
|
9650
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
9651
|
-
return hasTooltip ? hAsync("slot", { name: SLOTS$
|
|
9683
|
+
const hasTooltip = getSlotted(el, SLOTS$u.menuTooltip);
|
|
9684
|
+
return hasTooltip ? hAsync("slot", { name: SLOTS$u.menuTooltip, slot: SLOTS$t.tooltip }) : null;
|
|
9652
9685
|
}
|
|
9653
9686
|
renderMenu() {
|
|
9654
9687
|
const { el, expanded, menuOpen, scale, layout, messages } = this;
|
|
9655
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
9656
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$h.menu, scale: scale, slot: SLOTS$
|
|
9688
|
+
const hasMenuItems = getSlotted(el, SLOTS$u.menuActions);
|
|
9689
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$h.menu, scale: scale, slot: SLOTS$t.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$u.menuActions }), this.renderTooltip())) : null;
|
|
9657
9690
|
}
|
|
9658
9691
|
render() {
|
|
9659
9692
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -9937,7 +9970,7 @@ class ActionMenu {
|
|
|
9937
9970
|
}
|
|
9938
9971
|
renderMenuButton() {
|
|
9939
9972
|
const { label, scale, expanded } = this;
|
|
9940
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$
|
|
9973
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$t.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$10.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9941
9974
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9942
9975
|
ref: this.setDefaultMenuButtonEl })));
|
|
9943
9976
|
return menuButtonSlot;
|
|
@@ -9946,10 +9979,10 @@ class ActionMenu {
|
|
|
9946
9979
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9947
9980
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9948
9981
|
const activeDescendantId = activeAction?.id || null;
|
|
9949
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
9982
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$10.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9950
9983
|
}
|
|
9951
9984
|
render() {
|
|
9952
|
-
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$
|
|
9985
|
+
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$t.tooltip, onSlotchange: this.updateTooltip })));
|
|
9953
9986
|
}
|
|
9954
9987
|
isValidKey(key, supportedKeys) {
|
|
9955
9988
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -9982,11 +10015,11 @@ class ActionMenu {
|
|
|
9982
10015
|
}; }
|
|
9983
10016
|
}
|
|
9984
10017
|
|
|
9985
|
-
const CSS$
|
|
10018
|
+
const CSS$_ = {
|
|
9986
10019
|
actionGroupBottom: "action-group--bottom",
|
|
9987
10020
|
container: "container"
|
|
9988
10021
|
};
|
|
9989
|
-
const SLOTS$
|
|
10022
|
+
const SLOTS$r = {
|
|
9990
10023
|
expandTooltip: "expand-tooltip"
|
|
9991
10024
|
};
|
|
9992
10025
|
|
|
@@ -10098,14 +10131,14 @@ class ActionPad {
|
|
|
10098
10131
|
// --------------------------------------------------------------------------
|
|
10099
10132
|
renderBottomActionGroup() {
|
|
10100
10133
|
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout } = this;
|
|
10101
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
10134
|
+
const tooltip = getSlotted(el, SLOTS$r.expandTooltip);
|
|
10102
10135
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
10103
10136
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10104
10137
|
ref: this.setExpandToggleRef })) : null;
|
|
10105
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10138
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$_.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
10106
10139
|
}
|
|
10107
10140
|
render() {
|
|
10108
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10141
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$_.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10109
10142
|
}
|
|
10110
10143
|
static get delegatesFocus() { return true; }
|
|
10111
10144
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10235,13 +10268,13 @@ const DURATIONS = {
|
|
|
10235
10268
|
medium: 10000,
|
|
10236
10269
|
fast: 6000
|
|
10237
10270
|
};
|
|
10238
|
-
const SLOTS$
|
|
10271
|
+
const SLOTS$q = {
|
|
10239
10272
|
actionsEnd: "actions-end",
|
|
10240
10273
|
title: "title",
|
|
10241
10274
|
message: "message",
|
|
10242
10275
|
link: "link"
|
|
10243
10276
|
};
|
|
10244
|
-
const CSS$
|
|
10277
|
+
const CSS$Z = {
|
|
10245
10278
|
actionsEnd: "actions-end",
|
|
10246
10279
|
container: "container",
|
|
10247
10280
|
close: "alert-close",
|
|
@@ -10394,15 +10427,15 @@ class Alert {
|
|
|
10394
10427
|
const { open, autoClose, label, placement, queued, requestedIcon, iconFlipRtl } = this;
|
|
10395
10428
|
const role = autoClose ? "alert" : "alertdialog";
|
|
10396
10429
|
const hidden = !open;
|
|
10397
|
-
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$
|
|
10430
|
+
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$q.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
|
|
10398
10431
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
10399
10432
|
container: true,
|
|
10400
10433
|
queued,
|
|
10401
10434
|
[placement]: true,
|
|
10402
|
-
[CSS$
|
|
10435
|
+
[CSS$Z.slottedInShell]: this.slottedInShell
|
|
10403
10436
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10404
10437
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10405
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$
|
|
10438
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.message }), hAsync("slot", { name: SLOTS$q.link })), hAsync("div", { class: CSS$Z.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10406
10439
|
}
|
|
10407
10440
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10408
10441
|
alertSync(event) {
|
|
@@ -10860,7 +10893,7 @@ const Heading = (props, children) => {
|
|
|
10860
10893
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10861
10894
|
};
|
|
10862
10895
|
|
|
10863
|
-
const CSS$
|
|
10896
|
+
const CSS$Y = {
|
|
10864
10897
|
container: "container",
|
|
10865
10898
|
content: "content",
|
|
10866
10899
|
headerContainer: "header-container",
|
|
@@ -10879,7 +10912,7 @@ const CSS$W = {
|
|
|
10879
10912
|
invalid: "invalid",
|
|
10880
10913
|
loading: "loading"
|
|
10881
10914
|
};
|
|
10882
|
-
const SLOTS$
|
|
10915
|
+
const SLOTS$p = {
|
|
10883
10916
|
icon: "icon",
|
|
10884
10917
|
control: "control",
|
|
10885
10918
|
headerMenuActions: "header-menu-actions"
|
|
@@ -10969,33 +11002,33 @@ class Block {
|
|
|
10969
11002
|
const { el, status } = this;
|
|
10970
11003
|
const showingLoadingStatus = this.loading && !this.open;
|
|
10971
11004
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10972
|
-
const hasIcon = getSlotted(el, SLOTS$
|
|
10973
|
-
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$
|
|
10974
|
-
[CSS$
|
|
10975
|
-
[CSS$
|
|
10976
|
-
[CSS$
|
|
10977
|
-
[CSS$
|
|
11005
|
+
const hasIcon = getSlotted(el, SLOTS$p.icon) || statusIcon;
|
|
11006
|
+
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$p.icon })) : (hAsync("calcite-icon", { class: {
|
|
11007
|
+
[CSS$Y.statusIcon]: true,
|
|
11008
|
+
[CSS$Y.valid]: status == "valid",
|
|
11009
|
+
[CSS$Y.invalid]: status == "invalid",
|
|
11010
|
+
[CSS$Y.loading]: showingLoadingStatus
|
|
10978
11011
|
}, icon: statusIcon, scale: "m" }));
|
|
10979
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
11012
|
+
return hasIcon ? hAsync("div", { class: CSS$Y.icon }, iconEl) : null;
|
|
10980
11013
|
}
|
|
10981
11014
|
renderTitle() {
|
|
10982
11015
|
const { heading, headingLevel, description } = this;
|
|
10983
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11016
|
+
return heading || description ? (hAsync("div", { class: CSS$Y.title }, hAsync(Heading, { class: CSS$Y.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$Y.description }, description) : null)) : null;
|
|
10984
11017
|
}
|
|
10985
11018
|
render() {
|
|
10986
11019
|
const { collapsible, el, loading, open, messages } = this;
|
|
10987
11020
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10988
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10989
|
-
const hasControl = !!getSlotted(el, SLOTS$
|
|
10990
|
-
const hasMenuActions = !!getSlotted(el, SLOTS$
|
|
11021
|
+
const headerContent = (hAsync("header", { class: CSS$Y.header }, this.renderIcon(), this.renderTitle()));
|
|
11022
|
+
const hasControl = !!getSlotted(el, SLOTS$p.control);
|
|
11023
|
+
const hasMenuActions = !!getSlotted(el, SLOTS$p.headerMenuActions);
|
|
10991
11024
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10992
11025
|
const { guid } = this;
|
|
10993
11026
|
const regionId = `${guid}-region`;
|
|
10994
11027
|
const buttonId = `${guid}-button`;
|
|
10995
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11028
|
+
const headerNode = (hAsync("div", { class: CSS$Y.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$Y.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$Y.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$Y.controlContainer }, hAsync("slot", { name: SLOTS$p.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$p.headerMenuActions }))) : null));
|
|
10996
11029
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10997
|
-
[CSS$
|
|
10998
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11030
|
+
[CSS$Y.container]: true
|
|
11031
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$Y.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10999
11032
|
}
|
|
11000
11033
|
static get assetsDirs() { return ["assets"]; }
|
|
11001
11034
|
get el() { return getElement(this); }
|
|
@@ -11028,7 +11061,7 @@ class Block {
|
|
|
11028
11061
|
}; }
|
|
11029
11062
|
}
|
|
11030
11063
|
|
|
11031
|
-
const CSS$
|
|
11064
|
+
const CSS$X = {
|
|
11032
11065
|
content: "content",
|
|
11033
11066
|
invalid: "invalid",
|
|
11034
11067
|
toggle: "toggle",
|
|
@@ -11114,9 +11147,9 @@ class BlockSection {
|
|
|
11114
11147
|
const { status } = this;
|
|
11115
11148
|
const statusIcon = ICONS$d[status] ?? false;
|
|
11116
11149
|
const statusIconClasses = {
|
|
11117
|
-
[CSS$
|
|
11118
|
-
[CSS$
|
|
11119
|
-
[CSS$
|
|
11150
|
+
[CSS$X.statusIcon]: true,
|
|
11151
|
+
[CSS$X.valid]: status == "valid",
|
|
11152
|
+
[CSS$X.invalid]: status == "invalid"
|
|
11120
11153
|
};
|
|
11121
11154
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11122
11155
|
}
|
|
@@ -11133,13 +11166,13 @@ class BlockSection {
|
|
|
11133
11166
|
const regionId = `${guid}-region`;
|
|
11134
11167
|
const buttonId = `${guid}-button`;
|
|
11135
11168
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11136
|
-
[CSS$
|
|
11137
|
-
[CSS$
|
|
11138
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11139
|
-
[CSS$
|
|
11140
|
-
[CSS$
|
|
11141
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11142
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11169
|
+
[CSS$X.toggle]: true,
|
|
11170
|
+
[CSS$X.toggleSwitch]: true
|
|
11171
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$X.toggleSwitchContent }, hAsync("span", { class: CSS$X.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11172
|
+
[CSS$X.sectionHeader]: true,
|
|
11173
|
+
[CSS$X.toggle]: true
|
|
11174
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$X.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11175
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$X.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11143
11176
|
}
|
|
11144
11177
|
static get assetsDirs() { return ["assets"]; }
|
|
11145
11178
|
get el() { return getElement(this); }
|
|
@@ -11550,7 +11583,7 @@ function onLabelDisconnected() {
|
|
|
11550
11583
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11551
11584
|
}
|
|
11552
11585
|
|
|
11553
|
-
const CSS$
|
|
11586
|
+
const CSS$W = {
|
|
11554
11587
|
buttonLoader: "calcite-button--loader",
|
|
11555
11588
|
content: "content",
|
|
11556
11589
|
contentSlotted: "content--slotted",
|
|
@@ -11676,17 +11709,17 @@ class Button {
|
|
|
11676
11709
|
render() {
|
|
11677
11710
|
const childElType = this.href ? "a" : "button";
|
|
11678
11711
|
const Tag = childElType;
|
|
11679
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11712
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$W.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$W.loadingIn : CSS$W.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11680
11713
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11681
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11682
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11683
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11714
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$W.icon]: true, [CSS$W.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11715
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$W.icon]: true, [CSS$W.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11716
|
+
const contentEl = (hAsync("span", { class: CSS$W.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11684
11717
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11685
|
-
[CSS$
|
|
11686
|
-
[CSS$
|
|
11687
|
-
[CSS$
|
|
11688
|
-
[CSS$
|
|
11689
|
-
[CSS$
|
|
11718
|
+
[CSS$W.buttonPadding]: noStartEndIcons,
|
|
11719
|
+
[CSS$W.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11720
|
+
[CSS$W.contentSlotted]: this.hasContent,
|
|
11721
|
+
[CSS$W.iconStartEmpty]: !this.iconStart,
|
|
11722
|
+
[CSS$W.iconEndEmpty]: !this.iconEnd
|
|
11690
11723
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11691
11724
|
}
|
|
11692
11725
|
//--------------------------------------------------------------------------
|
|
@@ -11936,7 +11969,7 @@ class CalciteMenu {
|
|
|
11936
11969
|
}; }
|
|
11937
11970
|
}
|
|
11938
11971
|
|
|
11939
|
-
const CSS$
|
|
11972
|
+
const CSS$V = {
|
|
11940
11973
|
container: "container",
|
|
11941
11974
|
content: "content",
|
|
11942
11975
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12140,52 +12173,52 @@ class CalciteMenuItem {
|
|
|
12140
12173
|
//
|
|
12141
12174
|
//--------------------------------------------------------------------------
|
|
12142
12175
|
renderIconStart() {
|
|
12143
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12176
|
+
return (hAsync("calcite-icon", { class: `${CSS$V.icon} ${CSS$V.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$V.iconStart, scale: "s" }));
|
|
12144
12177
|
}
|
|
12145
12178
|
renderIconEnd() {
|
|
12146
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12179
|
+
return (hAsync("calcite-icon", { class: `${CSS$V.icon} ${CSS$V.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$V.iconEnd, scale: "s" }));
|
|
12147
12180
|
}
|
|
12148
12181
|
renderBreadcrumbIcon(dir) {
|
|
12149
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12182
|
+
return (hAsync("calcite-icon", { class: `${CSS$V.icon} ${CSS$V.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$V.iconBreadcrumb, scale: "s" }));
|
|
12150
12183
|
}
|
|
12151
12184
|
renderDropdownIcon(dir) {
|
|
12152
12185
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12153
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12186
|
+
return (hAsync("calcite-icon", { class: `${CSS$V.icon} ${CSS$V.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12154
12187
|
? this.open
|
|
12155
12188
|
? "chevron-up"
|
|
12156
12189
|
: "chevron-down"
|
|
12157
|
-
: dirChevron, key: CSS$
|
|
12190
|
+
: dirChevron, key: CSS$V.iconDropdown, scale: "s" }));
|
|
12158
12191
|
}
|
|
12159
12192
|
renderDropdownAction(dir) {
|
|
12160
12193
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12161
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12194
|
+
return (hAsync("calcite-action", { class: CSS$V.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12162
12195
|
? this.open
|
|
12163
12196
|
? "chevron-up"
|
|
12164
12197
|
: "chevron-down"
|
|
12165
|
-
: dirChevron, key: CSS$
|
|
12198
|
+
: dirChevron, key: CSS$V.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12166
12199
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12167
12200
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12168
12201
|
}
|
|
12169
12202
|
renderSubmenuItems(dir) {
|
|
12170
12203
|
return (hAsync("calcite-menu", { class: {
|
|
12171
|
-
[CSS$
|
|
12172
|
-
[CSS$
|
|
12173
|
-
[CSS$
|
|
12204
|
+
[CSS$V.dropdownMenuItems]: true,
|
|
12205
|
+
[CSS$V.open]: this.open,
|
|
12206
|
+
[CSS$V.nested]: !this.isTopLevelItem,
|
|
12174
12207
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12175
|
-
[CSS$
|
|
12208
|
+
[CSS$V.dropdownVertical]: this.topLevelMenuLayout === "vertical"
|
|
12176
12209
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12177
12210
|
}
|
|
12178
12211
|
renderItemContent(dir) {
|
|
12179
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12212
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$V.textContainer }, hAsync("span", null, this.text)), !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null, this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, this.iconEnd && this.renderIconEnd()));
|
|
12180
12213
|
}
|
|
12181
12214
|
render() {
|
|
12182
12215
|
const dir = getElementDir(this.el);
|
|
12183
12216
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12184
|
-
[CSS$
|
|
12185
|
-
[CSS$
|
|
12186
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12217
|
+
[CSS$V.container]: true,
|
|
12218
|
+
[CSS$V.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
12219
|
+
}, role: "none" }, hAsync("div", { class: CSS$V.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$V.layoutVertical]: this.layout === "vertical", [CSS$V.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12187
12220
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12188
|
-
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && this.topLevelMenuLayout === "vertical" ? (hAsync("calcite-icon", { class: CSS$
|
|
12221
|
+
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && this.topLevelMenuLayout === "vertical" ? (hAsync("calcite-icon", { class: CSS$V.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", scale: "s" })) : null), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12189
12222
|
}
|
|
12190
12223
|
static get assetsDirs() { return ["assets"]; }
|
|
12191
12224
|
get el() { return getElement(this); }
|
|
@@ -12226,7 +12259,7 @@ class CalciteMenuItem {
|
|
|
12226
12259
|
}; }
|
|
12227
12260
|
}
|
|
12228
12261
|
|
|
12229
|
-
const CSS$
|
|
12262
|
+
const CSS$U = {
|
|
12230
12263
|
container: "container",
|
|
12231
12264
|
header: "header",
|
|
12232
12265
|
footer: "footer",
|
|
@@ -12235,7 +12268,7 @@ const CSS$S = {
|
|
|
12235
12268
|
checkboxWrapper: "checkbox-wrapper",
|
|
12236
12269
|
thumbnailWrapper: "thumbnail-wrapper"
|
|
12237
12270
|
};
|
|
12238
|
-
const SLOTS$
|
|
12271
|
+
const SLOTS$o = {
|
|
12239
12272
|
thumbnail: "thumbnail",
|
|
12240
12273
|
title: "title",
|
|
12241
12274
|
subtitle: "subtitle",
|
|
@@ -12311,7 +12344,7 @@ class Card {
|
|
|
12311
12344
|
render() {
|
|
12312
12345
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
12313
12346
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
12314
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
12347
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$U.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
12315
12348
|
}
|
|
12316
12349
|
effectiveLocaleChange() {
|
|
12317
12350
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -12321,24 +12354,24 @@ class Card {
|
|
|
12321
12354
|
this.calciteCardSelect.emit();
|
|
12322
12355
|
}
|
|
12323
12356
|
renderThumbnail() {
|
|
12324
|
-
return getSlotted(this.el, SLOTS$
|
|
12357
|
+
return getSlotted(this.el, SLOTS$o.thumbnail) ? (hAsync("section", { class: CSS$U.thumbnailWrapper }, hAsync("slot", { name: SLOTS$o.thumbnail }))) : null;
|
|
12325
12358
|
}
|
|
12326
12359
|
renderCheckbox() {
|
|
12327
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
12360
|
+
return (hAsync("calcite-label", { class: CSS$U.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
12328
12361
|
}
|
|
12329
12362
|
renderHeader() {
|
|
12330
12363
|
const { el } = this;
|
|
12331
|
-
const title = getSlotted(el, SLOTS$
|
|
12332
|
-
const subtitle = getSlotted(el, SLOTS$
|
|
12364
|
+
const title = getSlotted(el, SLOTS$o.title);
|
|
12365
|
+
const subtitle = getSlotted(el, SLOTS$o.subtitle);
|
|
12333
12366
|
const hasHeader = title || subtitle;
|
|
12334
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
12367
|
+
return hasHeader ? (hAsync("header", { class: CSS$U.header }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.subtitle }))) : null;
|
|
12335
12368
|
}
|
|
12336
12369
|
renderFooter() {
|
|
12337
12370
|
const { el } = this;
|
|
12338
|
-
const startFooter = getSlotted(el, SLOTS$
|
|
12339
|
-
const endFooter = getSlotted(el, SLOTS$
|
|
12371
|
+
const startFooter = getSlotted(el, SLOTS$o.footerStart);
|
|
12372
|
+
const endFooter = getSlotted(el, SLOTS$o.footerEnd);
|
|
12340
12373
|
const hasFooter = startFooter || endFooter;
|
|
12341
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
12374
|
+
return hasFooter ? (hAsync("footer", { class: CSS$U.footer }, hAsync("slot", { name: SLOTS$o.footerStart }), hAsync("slot", { name: SLOTS$o.footerEnd }))) : null;
|
|
12342
12375
|
}
|
|
12343
12376
|
static get assetsDirs() { return ["assets"]; }
|
|
12344
12377
|
get el() { return getElement(this); }
|
|
@@ -12504,7 +12537,7 @@ class Checkbox {
|
|
|
12504
12537
|
}; }
|
|
12505
12538
|
}
|
|
12506
12539
|
|
|
12507
|
-
const CSS$
|
|
12540
|
+
const CSS$T = {
|
|
12508
12541
|
title: "title",
|
|
12509
12542
|
close: "close",
|
|
12510
12543
|
imageContainer: "image-container",
|
|
@@ -12520,7 +12553,7 @@ const CSS$R = {
|
|
|
12520
12553
|
nonInteractive: "non-interactive",
|
|
12521
12554
|
isCircle: "is-circle"
|
|
12522
12555
|
};
|
|
12523
|
-
const SLOTS$
|
|
12556
|
+
const SLOTS$n = {
|
|
12524
12557
|
image: "image"
|
|
12525
12558
|
};
|
|
12526
12559
|
const ICONS$c = {
|
|
@@ -12673,7 +12706,7 @@ class Chip {
|
|
|
12673
12706
|
//
|
|
12674
12707
|
//--------------------------------------------------------------------------
|
|
12675
12708
|
renderChipImage() {
|
|
12676
|
-
return (hAsync("div", { class: CSS$
|
|
12709
|
+
return (hAsync("div", { class: CSS$T.imageContainer }, hAsync("slot", { name: SLOTS$n.image, onSlotchange: this.handleSlotImageChange })));
|
|
12677
12710
|
}
|
|
12678
12711
|
renderSelectionIcon() {
|
|
12679
12712
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -12684,17 +12717,17 @@ class Chip {
|
|
|
12684
12717
|
? ICONS$c.checkedSingle
|
|
12685
12718
|
: undefined;
|
|
12686
12719
|
return (hAsync("div", { class: {
|
|
12687
|
-
[CSS$
|
|
12688
|
-
[CSS$
|
|
12720
|
+
[CSS$T.selectIcon]: true,
|
|
12721
|
+
[CSS$T.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
12689
12722
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
12690
12723
|
}
|
|
12691
12724
|
renderCloseButton() {
|
|
12692
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
12725
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$T.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
12693
12726
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12694
12727
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
12695
12728
|
}
|
|
12696
12729
|
renderIcon() {
|
|
12697
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12730
|
+
return (hAsync("calcite-icon", { class: CSS$T.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
12698
12731
|
}
|
|
12699
12732
|
render() {
|
|
12700
12733
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -12708,21 +12741,21 @@ class Chip {
|
|
|
12708
12741
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
12709
12742
|
? toAriaBoolean(this.selected)
|
|
12710
12743
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
12711
|
-
[CSS$
|
|
12712
|
-
[CSS$
|
|
12713
|
-
[CSS$
|
|
12714
|
-
[CSS$
|
|
12715
|
-
[CSS$
|
|
12716
|
-
[CSS$
|
|
12717
|
-
[CSS$
|
|
12718
|
-
[CSS$
|
|
12744
|
+
[CSS$T.container]: true,
|
|
12745
|
+
[CSS$T.textSlotted]: this.hasText,
|
|
12746
|
+
[CSS$T.imageSlotted]: this.hasImage,
|
|
12747
|
+
[CSS$T.selectable]: this.selectionMode !== "none",
|
|
12748
|
+
[CSS$T.multiple]: this.selectionMode === "multiple",
|
|
12749
|
+
[CSS$T.closable]: this.closable,
|
|
12750
|
+
[CSS$T.nonInteractive]: !this.interactive,
|
|
12751
|
+
[CSS$T.isCircle]: !this.closable &&
|
|
12719
12752
|
!this.hasText &&
|
|
12720
12753
|
(!this.icon || !this.hasImage) &&
|
|
12721
12754
|
(this.selectionMode === "none" ||
|
|
12722
12755
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
12723
12756
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
12724
12757
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12725
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
12758
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$T.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
12726
12759
|
}
|
|
12727
12760
|
static get assetsDirs() { return ["assets"]; }
|
|
12728
12761
|
get el() { return getElement(this); }
|
|
@@ -15047,7 +15080,7 @@ function zeroArray(array, length) {
|
|
|
15047
15080
|
|
|
15048
15081
|
var color = Color;
|
|
15049
15082
|
|
|
15050
|
-
const CSS$
|
|
15083
|
+
const CSS$S = {
|
|
15051
15084
|
channel: "channel",
|
|
15052
15085
|
channels: "channels",
|
|
15053
15086
|
colorField: "color-field",
|
|
@@ -15367,7 +15400,7 @@ class ColorPicker {
|
|
|
15367
15400
|
const { channelMode: activeChannelMode, messages } = this;
|
|
15368
15401
|
const selected = channelMode === activeChannelMode;
|
|
15369
15402
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
15370
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
15403
|
+
return (hAsync("calcite-tab-title", { class: CSS$S.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
15371
15404
|
};
|
|
15372
15405
|
this.renderChannelsTab = (channelMode) => {
|
|
15373
15406
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -15378,7 +15411,7 @@ class ColorPicker {
|
|
|
15378
15411
|
: [messages.hue, messages.saturation, messages.value];
|
|
15379
15412
|
const direction = getElementDir(this.el);
|
|
15380
15413
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
15381
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
15414
|
+
return (hAsync("calcite-tab", { class: CSS$S.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$S.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
15382
15415
|
const isAlphaChannel = index === 3;
|
|
15383
15416
|
if (isAlphaChannel) {
|
|
15384
15417
|
channelValue =
|
|
@@ -15389,7 +15422,7 @@ class ColorPicker {
|
|
|
15389
15422
|
}))));
|
|
15390
15423
|
};
|
|
15391
15424
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
15392
|
-
return (hAsync("calcite-input", { class: CSS$
|
|
15425
|
+
return (hAsync("calcite-input", { class: CSS$S.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
15393
15426
|
// workaround to ensure input borders overlap as desired
|
|
15394
15427
|
// this is because the build transforms margin-left to its
|
|
15395
15428
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -15574,7 +15607,7 @@ class ColorPicker {
|
|
|
15574
15607
|
this.shiftKeyChannelAdjustment = 0;
|
|
15575
15608
|
const { key } = event;
|
|
15576
15609
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
15577
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
15610
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$S.channel))) {
|
|
15578
15611
|
return;
|
|
15579
15612
|
}
|
|
15580
15613
|
const { shiftKey } = event;
|
|
@@ -15661,26 +15694,26 @@ class ColorPicker {
|
|
|
15661
15694
|
const noHex = hexDisabled || hideHex;
|
|
15662
15695
|
const noChannels = channelsDisabled || hideChannels;
|
|
15663
15696
|
const noSaved = savedDisabled || hideSaved;
|
|
15664
|
-
return (hAsync("div", { class: CSS$
|
|
15697
|
+
return (hAsync("div", { class: CSS$S.container }, hAsync("div", { class: CSS$S.controlAndScope }, hAsync("canvas", { class: CSS$S.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
15665
15698
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15666
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
15699
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$S.scope]: true, [CSS$S.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
|
|
15667
15700
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15668
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
15701
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$S.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$S.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$S.sliders }, hAsync("div", { class: CSS$S.controlAndScope }, hAsync("canvas", { class: { [CSS$S.slider]: true, [CSS$S.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
15669
15702
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15670
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
15703
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$S.scope]: true, [CSS$S.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
|
|
15671
15704
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15672
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
15705
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$S.controlAndScope }, hAsync("canvas", { class: { [CSS$S.slider]: true, [CSS$S.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
15673
15706
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15674
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$
|
|
15707
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$S.scope]: true, [CSS$S.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: { top: `${opacityTop}px`, left: `${opacityLeft}px` }, tabindex: "0",
|
|
15675
15708
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15676
15709
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
15677
|
-
[CSS$
|
|
15678
|
-
[CSS$
|
|
15679
|
-
} }, hAsync("div", { class: CSS$
|
|
15680
|
-
[CSS$
|
|
15681
|
-
[CSS$
|
|
15682
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
15683
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
15710
|
+
[CSS$S.controlSection]: true,
|
|
15711
|
+
[CSS$S.section]: true
|
|
15712
|
+
} }, hAsync("div", { class: CSS$S.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$S.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$S.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
15713
|
+
[CSS$S.colorModeContainer]: true,
|
|
15714
|
+
[CSS$S.splitSection]: true
|
|
15715
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$S.savedColorsSection]: true, [CSS$S.section]: true } }, hAsync("div", { class: CSS$S.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$S.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$S.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$S.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$S.savedColors }, [
|
|
15716
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$S.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
15684
15717
|
])) : null))));
|
|
15685
15718
|
}
|
|
15686
15719
|
// --------------------------------------------------------------------------
|
|
@@ -16031,7 +16064,7 @@ class ColorPicker {
|
|
|
16031
16064
|
}; }
|
|
16032
16065
|
}
|
|
16033
16066
|
|
|
16034
|
-
const CSS$
|
|
16067
|
+
const CSS$R = {
|
|
16035
16068
|
container: "container",
|
|
16036
16069
|
hexInput: "hex-input",
|
|
16037
16070
|
opacityInput: "opacity-input"
|
|
@@ -16197,9 +16230,9 @@ class ColorPickerHexInput {
|
|
|
16197
16230
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16198
16231
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16199
16232
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16200
|
-
return (hAsync("div", { class: CSS$
|
|
16233
|
+
return (hAsync("div", { class: CSS$R.container }, hAsync("calcite-input", { class: CSS$R.hexInput, label: messages?.hex || hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onHexInputChange, onCalciteInternalInputBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16201
16234
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16202
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16235
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$R.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16203
16236
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16204
16237
|
ref: this.storeOpacityInputRef })) : null));
|
|
16205
16238
|
}
|
|
@@ -16295,7 +16328,7 @@ class ColorPickerHexInput {
|
|
|
16295
16328
|
}; }
|
|
16296
16329
|
}
|
|
16297
16330
|
|
|
16298
|
-
const CSS$
|
|
16331
|
+
const CSS$Q = {
|
|
16299
16332
|
swatch: "swatch",
|
|
16300
16333
|
noColorSwatch: "swatch--no-color",
|
|
16301
16334
|
checker: "checker"
|
|
@@ -16333,8 +16366,8 @@ class ColorPickerSwatch {
|
|
|
16333
16366
|
render() {
|
|
16334
16367
|
const isEmpty = !this.internalColor;
|
|
16335
16368
|
const classes = {
|
|
16336
|
-
[CSS$
|
|
16337
|
-
[CSS$
|
|
16369
|
+
[CSS$Q.swatch]: true,
|
|
16370
|
+
[CSS$Q.noColorSwatch]: isEmpty
|
|
16338
16371
|
};
|
|
16339
16372
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
16340
16373
|
}
|
|
@@ -16360,7 +16393,7 @@ class ColorPickerSwatch {
|
|
|
16360
16393
|
const alpha = internalColor.alpha();
|
|
16361
16394
|
const hex = hexify(internalColor);
|
|
16362
16395
|
const hexa = hexify(internalColor, alpha < 1);
|
|
16363
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
16396
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$Q.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$Q.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
16364
16397
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`
|
|
16365
16398
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
16366
16399
|
}
|
|
@@ -18115,6 +18148,9 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18115
18148
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18116
18149
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18117
18150
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18151
|
+
const CSS$P = {
|
|
18152
|
+
listContainer: "list-container"
|
|
18153
|
+
};
|
|
18118
18154
|
|
|
18119
18155
|
function getAncestors(element) {
|
|
18120
18156
|
const parent = element.parentElement?.closest(ComboboxChildSelector);
|
|
@@ -18137,11 +18173,11 @@ function getDepth$1(element) {
|
|
|
18137
18173
|
}
|
|
18138
18174
|
}
|
|
18139
18175
|
|
|
18140
|
-
const CSS$
|
|
18176
|
+
const CSS$O = {
|
|
18141
18177
|
button: "x-button"
|
|
18142
18178
|
};
|
|
18143
18179
|
function XButton({ disabled, key, label, onClick, ref, scale }) {
|
|
18144
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18180
|
+
return (hAsync("button", { "aria-label": label, class: CSS$O.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18145
18181
|
// eslint-disable-next-line react/jsx-sort-props
|
|
18146
18182
|
ref: ref },
|
|
18147
18183
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -18342,7 +18378,7 @@ class Combobox {
|
|
|
18342
18378
|
event.preventDefault();
|
|
18343
18379
|
return;
|
|
18344
18380
|
}
|
|
18345
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
18381
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$O.button))) {
|
|
18346
18382
|
this.clearValue();
|
|
18347
18383
|
event.preventDefault();
|
|
18348
18384
|
return;
|
|
@@ -18938,7 +18974,7 @@ class Combobox {
|
|
|
18938
18974
|
renderFloatingUIContainer() {
|
|
18939
18975
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
18940
18976
|
const classes = {
|
|
18941
|
-
|
|
18977
|
+
[CSS$P.listContainer]: true,
|
|
18942
18978
|
[FloatingCSS.animation]: true,
|
|
18943
18979
|
[FloatingCSS.animationActive]: open
|
|
18944
18980
|
};
|
|
@@ -19035,7 +19071,7 @@ class Combobox {
|
|
|
19035
19071
|
}; }
|
|
19036
19072
|
}
|
|
19037
19073
|
|
|
19038
|
-
const CSS$
|
|
19074
|
+
const CSS$N = {
|
|
19039
19075
|
icon: "icon",
|
|
19040
19076
|
iconActive: "icon--active",
|
|
19041
19077
|
iconIndent: "icon--indent",
|
|
@@ -19113,20 +19149,20 @@ class ComboboxItem {
|
|
|
19113
19149
|
// --------------------------------------------------------------------------
|
|
19114
19150
|
renderIcon(iconPath) {
|
|
19115
19151
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19116
|
-
[CSS$
|
|
19117
|
-
[CSS$
|
|
19118
|
-
[CSS$
|
|
19152
|
+
[CSS$N.custom]: !!this.icon,
|
|
19153
|
+
[CSS$N.iconActive]: this.icon && this.selected,
|
|
19154
|
+
[CSS$N.iconIndent]: true
|
|
19119
19155
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19120
19156
|
}
|
|
19121
19157
|
renderSelectIndicator(showDot, iconPath) {
|
|
19122
19158
|
return showDot ? (hAsync("span", { class: {
|
|
19123
|
-
[CSS$
|
|
19124
|
-
[CSS$
|
|
19125
|
-
[CSS$
|
|
19159
|
+
[CSS$N.icon]: true,
|
|
19160
|
+
[CSS$N.dot]: true,
|
|
19161
|
+
[CSS$N.iconIndent]: true
|
|
19126
19162
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19127
|
-
[CSS$
|
|
19128
|
-
[CSS$
|
|
19129
|
-
[CSS$
|
|
19163
|
+
[CSS$N.icon]: true,
|
|
19164
|
+
[CSS$N.iconActive]: this.selected,
|
|
19165
|
+
[CSS$N.iconIndent]: true
|
|
19130
19166
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19131
19167
|
}
|
|
19132
19168
|
renderChildren() {
|
|
@@ -19141,10 +19177,10 @@ class ComboboxItem {
|
|
|
19141
19177
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19142
19178
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19143
19179
|
const classes = {
|
|
19144
|
-
[CSS$
|
|
19145
|
-
[CSS$
|
|
19146
|
-
[CSS$
|
|
19147
|
-
[CSS$
|
|
19180
|
+
[CSS$N.label]: true,
|
|
19181
|
+
[CSS$N.selected]: this.selected,
|
|
19182
|
+
[CSS$N.active]: this.active,
|
|
19183
|
+
[CSS$N.single]: isSingleSelect
|
|
19148
19184
|
};
|
|
19149
19185
|
const depth = getDepth$1();
|
|
19150
19186
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -19175,7 +19211,7 @@ class ComboboxItem {
|
|
|
19175
19211
|
}; }
|
|
19176
19212
|
}
|
|
19177
19213
|
|
|
19178
|
-
const CSS$
|
|
19214
|
+
const CSS$M = {
|
|
19179
19215
|
list: "list",
|
|
19180
19216
|
label: "label",
|
|
19181
19217
|
title: "title"
|
|
@@ -19211,7 +19247,7 @@ class ComboboxItemGroup {
|
|
|
19211
19247
|
render() {
|
|
19212
19248
|
const { el, scale } = this;
|
|
19213
19249
|
const depth = getDepth$1();
|
|
19214
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19250
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$M.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$M.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$M.title }, this.label)), hAsync("slot", null)));
|
|
19215
19251
|
}
|
|
19216
19252
|
get el() { return getElement(this); }
|
|
19217
19253
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -20378,7 +20414,7 @@ class DatePickerMonth {
|
|
|
20378
20414
|
}; }
|
|
20379
20415
|
}
|
|
20380
20416
|
|
|
20381
|
-
const CSS$
|
|
20417
|
+
const CSS$L = {
|
|
20382
20418
|
header: "header",
|
|
20383
20419
|
month: "month",
|
|
20384
20420
|
chevron: "chevron",
|
|
@@ -20478,7 +20514,7 @@ class DatePickerMonthHeader {
|
|
|
20478
20514
|
this.setNextPrevMonthDates();
|
|
20479
20515
|
}
|
|
20480
20516
|
render() {
|
|
20481
|
-
return hAsync("div", { class: CSS$
|
|
20517
|
+
return hAsync("div", { class: CSS$L.header }, this.renderContent());
|
|
20482
20518
|
}
|
|
20483
20519
|
renderContent() {
|
|
20484
20520
|
const { messages, localeData, activeDate } = this;
|
|
@@ -20501,12 +20537,12 @@ class DatePickerMonthHeader {
|
|
|
20501
20537
|
const order = getOrder(unitOrder);
|
|
20502
20538
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
20503
20539
|
const suffix = localeData.year?.suffix;
|
|
20504
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
20540
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$L.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$L.textReverse]: reverse } }, hAsync(Heading, { class: CSS$L.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$L.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
20505
20541
|
year: true,
|
|
20506
|
-
[CSS$
|
|
20542
|
+
[CSS$L.yearSuffix]: !!suffix
|
|
20507
20543
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
20508
20544
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20509
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
20545
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$L.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$L.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
20510
20546
|
}
|
|
20511
20547
|
setNextPrevMonthDates() {
|
|
20512
20548
|
if (!this.activeDate) {
|
|
@@ -20582,7 +20618,7 @@ class DatePickerMonthHeader {
|
|
|
20582
20618
|
}; }
|
|
20583
20619
|
}
|
|
20584
20620
|
|
|
20585
|
-
const SLOTS$
|
|
20621
|
+
const SLOTS$m = {
|
|
20586
20622
|
dropdownTrigger: "trigger"
|
|
20587
20623
|
};
|
|
20588
20624
|
|
|
@@ -20814,7 +20850,7 @@ class Dropdown {
|
|
|
20814
20850
|
const { open, guid } = this;
|
|
20815
20851
|
return (hAsync(Host, null, hAsync("div", { class: "calcite-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler,
|
|
20816
20852
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20817
|
-
ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$
|
|
20853
|
+
ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$m.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper",
|
|
20818
20854
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20819
20855
|
ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
20820
20856
|
["calcite-dropdown-content"]: true,
|
|
@@ -21001,7 +21037,7 @@ class Dropdown {
|
|
|
21001
21037
|
}; }
|
|
21002
21038
|
}
|
|
21003
21039
|
|
|
21004
|
-
const CSS$
|
|
21040
|
+
const CSS$K = {
|
|
21005
21041
|
containerSmall: "container--s",
|
|
21006
21042
|
containerMedium: "container--m",
|
|
21007
21043
|
containerLarge: "container--l"
|
|
@@ -21034,9 +21070,9 @@ class DropdownGroup {
|
|
|
21034
21070
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21035
21071
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21036
21072
|
container: true,
|
|
21037
|
-
[CSS$
|
|
21038
|
-
[CSS$
|
|
21039
|
-
[CSS$
|
|
21073
|
+
[CSS$K.containerSmall]: scale === "s",
|
|
21074
|
+
[CSS$K.containerMedium]: scale === "m",
|
|
21075
|
+
[CSS$K.containerLarge]: scale === "l"
|
|
21040
21076
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21041
21077
|
}
|
|
21042
21078
|
//--------------------------------------------------------------------------
|
|
@@ -21077,7 +21113,7 @@ class DropdownGroup {
|
|
|
21077
21113
|
}; }
|
|
21078
21114
|
}
|
|
21079
21115
|
|
|
21080
|
-
const CSS$
|
|
21116
|
+
const CSS$J = {
|
|
21081
21117
|
containerLink: "container--link",
|
|
21082
21118
|
containerSmall: "container--s",
|
|
21083
21119
|
containerMedium: "container--m",
|
|
@@ -21142,9 +21178,9 @@ class DropdownItem {
|
|
|
21142
21178
|
}
|
|
21143
21179
|
render() {
|
|
21144
21180
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
21145
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21146
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21147
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21181
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$J.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21182
|
+
const contentNode = (hAsync("span", { class: CSS$J.itemContent }, hAsync("slot", null)));
|
|
21183
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$J.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21148
21184
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21149
21185
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21150
21186
|
: this.iconStart
|
|
@@ -21152,7 +21188,7 @@ class DropdownItem {
|
|
|
21152
21188
|
: this.iconEnd
|
|
21153
21189
|
? [contentNode, iconEndEl]
|
|
21154
21190
|
: contentNode;
|
|
21155
|
-
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$
|
|
21191
|
+
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$J.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21156
21192
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21157
21193
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21158
21194
|
const itemRole = this.href
|
|
@@ -21165,14 +21201,14 @@ class DropdownItem {
|
|
|
21165
21201
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21166
21202
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21167
21203
|
container: true,
|
|
21168
|
-
[CSS$
|
|
21169
|
-
[CSS$
|
|
21170
|
-
[CSS$
|
|
21171
|
-
[CSS$
|
|
21172
|
-
[CSS$
|
|
21173
|
-
[CSS$
|
|
21174
|
-
[CSS$
|
|
21175
|
-
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21204
|
+
[CSS$J.containerLink]: !!this.href,
|
|
21205
|
+
[CSS$J.containerSmall]: scale === "s",
|
|
21206
|
+
[CSS$J.containerMedium]: scale === "m",
|
|
21207
|
+
[CSS$J.containerLarge]: scale === "l",
|
|
21208
|
+
[CSS$J.containerMulti]: this.selectionMode === "multiple",
|
|
21209
|
+
[CSS$J.containerSingle]: this.selectionMode === "single",
|
|
21210
|
+
[CSS$J.containerNone]: this.selectionMode === "none"
|
|
21211
|
+
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$J.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21176
21212
|
}
|
|
21177
21213
|
//--------------------------------------------------------------------------
|
|
21178
21214
|
//
|
|
@@ -21278,7 +21314,7 @@ class DropdownItem {
|
|
|
21278
21314
|
}; }
|
|
21279
21315
|
}
|
|
21280
21316
|
|
|
21281
|
-
const CSS$
|
|
21317
|
+
const CSS$I = {
|
|
21282
21318
|
button: "button"
|
|
21283
21319
|
};
|
|
21284
21320
|
const ICONS$b = {
|
|
@@ -21333,7 +21369,7 @@ class Fab {
|
|
|
21333
21369
|
render() {
|
|
21334
21370
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
21335
21371
|
const title = !textEnabled ? label || text || null : null;
|
|
21336
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
21372
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$I.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
21337
21373
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21338
21374
|
ref: (buttonEl) => {
|
|
21339
21375
|
this.buttonEl = buttonEl;
|
|
@@ -21363,7 +21399,7 @@ class Fab {
|
|
|
21363
21399
|
}; }
|
|
21364
21400
|
}
|
|
21365
21401
|
|
|
21366
|
-
const CSS$
|
|
21402
|
+
const CSS$H = {
|
|
21367
21403
|
container: "container",
|
|
21368
21404
|
searchIcon: "search-icon"
|
|
21369
21405
|
};
|
|
@@ -21475,7 +21511,7 @@ class Filter {
|
|
|
21475
21511
|
// --------------------------------------------------------------------------
|
|
21476
21512
|
render() {
|
|
21477
21513
|
const { disabled, scale } = this;
|
|
21478
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
21514
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$H.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
21479
21515
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21480
21516
|
ref: (el) => {
|
|
21481
21517
|
this.textInput = el;
|
|
@@ -21513,7 +21549,7 @@ class Filter {
|
|
|
21513
21549
|
}; }
|
|
21514
21550
|
}
|
|
21515
21551
|
|
|
21516
|
-
const CSS$
|
|
21552
|
+
const CSS$G = {
|
|
21517
21553
|
frame: "frame",
|
|
21518
21554
|
frameAdvancing: "frame--advancing",
|
|
21519
21555
|
frameRetreating: "frame--retreating"
|
|
@@ -21613,9 +21649,9 @@ class Flow {
|
|
|
21613
21649
|
render() {
|
|
21614
21650
|
const { flowDirection } = this;
|
|
21615
21651
|
const frameDirectionClasses = {
|
|
21616
|
-
[CSS$
|
|
21617
|
-
[CSS$
|
|
21618
|
-
[CSS$
|
|
21652
|
+
[CSS$G.frame]: true,
|
|
21653
|
+
[CSS$G.frameAdvancing]: flowDirection === "advancing",
|
|
21654
|
+
[CSS$G.frameRetreating]: flowDirection === "retreating"
|
|
21619
21655
|
};
|
|
21620
21656
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
21621
21657
|
}
|
|
@@ -21636,7 +21672,7 @@ class Flow {
|
|
|
21636
21672
|
}; }
|
|
21637
21673
|
}
|
|
21638
21674
|
|
|
21639
|
-
const CSS$
|
|
21675
|
+
const CSS$F = {
|
|
21640
21676
|
actionBarContainer: "action-bar-container",
|
|
21641
21677
|
backButton: "back-button",
|
|
21642
21678
|
container: "container",
|
|
@@ -21660,7 +21696,7 @@ const ICONS$9 = {
|
|
|
21660
21696
|
backLeft: "chevron-left",
|
|
21661
21697
|
backRight: "chevron-right"
|
|
21662
21698
|
};
|
|
21663
|
-
const SLOTS$
|
|
21699
|
+
const SLOTS$l = {
|
|
21664
21700
|
actionBar: "action-bar",
|
|
21665
21701
|
headerActionsStart: "header-actions-start",
|
|
21666
21702
|
headerActionsEnd: "header-actions-end",
|
|
@@ -21671,14 +21707,14 @@ const SLOTS$k = {
|
|
|
21671
21707
|
footerActions: "footer-actions"
|
|
21672
21708
|
};
|
|
21673
21709
|
|
|
21674
|
-
const CSS$
|
|
21710
|
+
const CSS$E = {
|
|
21675
21711
|
backButton: "back-button"
|
|
21676
21712
|
};
|
|
21677
21713
|
const ICONS$8 = {
|
|
21678
21714
|
backLeft: "chevron-left",
|
|
21679
21715
|
backRight: "chevron-right"
|
|
21680
21716
|
};
|
|
21681
|
-
const SLOTS$
|
|
21717
|
+
const SLOTS$k = {
|
|
21682
21718
|
actionBar: "action-bar",
|
|
21683
21719
|
headerActionsStart: "header-actions-start",
|
|
21684
21720
|
headerActionsEnd: "header-actions-end",
|
|
@@ -21817,7 +21853,7 @@ class FlowItem {
|
|
|
21817
21853
|
const { showBackButton, backButtonClick, messages } = this;
|
|
21818
21854
|
const label = messages.back;
|
|
21819
21855
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
21820
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
21856
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$E.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
|
|
21821
21857
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21822
21858
|
ref: this.setBackRef })) : null;
|
|
21823
21859
|
}
|
|
@@ -21826,7 +21862,7 @@ class FlowItem {
|
|
|
21826
21862
|
const label = messages.back;
|
|
21827
21863
|
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll,
|
|
21828
21864
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21829
|
-
ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$
|
|
21865
|
+
ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$k.actionBar, slot: SLOTS$l.actionBar }), hAsync("slot", { name: SLOTS$k.headerActionsStart, slot: SLOTS$l.headerActionsStart }), hAsync("slot", { name: SLOTS$k.headerActionsEnd, slot: SLOTS$l.headerActionsEnd }), hAsync("slot", { name: SLOTS$k.headerContent, slot: SLOTS$l.headerContent }), hAsync("slot", { name: SLOTS$k.headerMenuActions, slot: SLOTS$l.headerMenuActions }), hAsync("slot", { name: SLOTS$k.fab, slot: SLOTS$l.fab }), hAsync("slot", { name: SLOTS$k.footerActions, slot: SLOTS$l.footerActions }), hAsync("slot", { name: SLOTS$k.footer, slot: SLOTS$l.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { closeOnClick: true, label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
|
|
21830
21866
|
}
|
|
21831
21867
|
static get assetsDirs() { return ["assets"]; }
|
|
21832
21868
|
get el() { return getElement(this); }
|
|
@@ -22088,7 +22124,7 @@ class Graph {
|
|
|
22088
22124
|
}; }
|
|
22089
22125
|
}
|
|
22090
22126
|
|
|
22091
|
-
const CSS$
|
|
22127
|
+
const CSS$D = {
|
|
22092
22128
|
handle: "handle",
|
|
22093
22129
|
handleActivated: "handle--activated"
|
|
22094
22130
|
};
|
|
@@ -22183,7 +22219,7 @@ class Handle {
|
|
|
22183
22219
|
render() {
|
|
22184
22220
|
return (
|
|
22185
22221
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
22186
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
22222
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$D.handle]: true, [CSS$D.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
|
|
22187
22223
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22188
22224
|
ref: (el) => {
|
|
22189
22225
|
this.handleButton = el;
|
|
@@ -22214,7 +22250,7 @@ class Handle {
|
|
|
22214
22250
|
}; }
|
|
22215
22251
|
}
|
|
22216
22252
|
|
|
22217
|
-
const CSS$
|
|
22253
|
+
const CSS$C = {
|
|
22218
22254
|
icon: "icon",
|
|
22219
22255
|
flipRtl: "flip-rtl"
|
|
22220
22256
|
};
|
|
@@ -22262,7 +22298,7 @@ class Icon {
|
|
|
22262
22298
|
const semantic = !!textLabel;
|
|
22263
22299
|
const paths = [].concat(pathData || "");
|
|
22264
22300
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
22265
|
-
[CSS$
|
|
22301
|
+
[CSS$C.flipRtl]: dir === "rtl" && flipRtl,
|
|
22266
22302
|
svg: true
|
|
22267
22303
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
22268
22304
|
}
|
|
@@ -22308,7 +22344,7 @@ class Icon {
|
|
|
22308
22344
|
}; }
|
|
22309
22345
|
}
|
|
22310
22346
|
|
|
22311
|
-
const CSS$
|
|
22347
|
+
const CSS$B = {
|
|
22312
22348
|
wrapper: "wrapper",
|
|
22313
22349
|
confirmChangesButton: "confirm-changes-button",
|
|
22314
22350
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -22456,16 +22492,16 @@ class InlineEditable {
|
|
|
22456
22492
|
updateHostInteraction(this);
|
|
22457
22493
|
}
|
|
22458
22494
|
render() {
|
|
22459
|
-
return (hAsync("div", { class: CSS$
|
|
22495
|
+
return (hAsync("div", { class: CSS$B.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$B.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$B.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$B.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
22460
22496
|
opacity: this.editingEnabled ? "0" : "1",
|
|
22461
22497
|
width: this.editingEnabled ? "0" : "inherit"
|
|
22462
22498
|
}, type: "button",
|
|
22463
22499
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22464
22500
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
22465
|
-
hAsync("div", { class: CSS$
|
|
22501
|
+
hAsync("div", { class: CSS$B.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$B.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
22466
22502
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22467
22503
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
22468
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
22504
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$B.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
22469
22505
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22470
22506
|
ref: (el) => (this.confirmEditingButton = el) })
|
|
22471
22507
|
])));
|
|
@@ -22551,7 +22587,7 @@ class InlineEditable {
|
|
|
22551
22587
|
}; }
|
|
22552
22588
|
}
|
|
22553
22589
|
|
|
22554
|
-
const CSS$
|
|
22590
|
+
const CSS$A = {
|
|
22555
22591
|
loader: "loader",
|
|
22556
22592
|
clearButton: "clear-button",
|
|
22557
22593
|
editingEnabled: "editing-enabled",
|
|
@@ -22575,7 +22611,7 @@ const INPUT_TYPE_ICONS = {
|
|
|
22575
22611
|
time: "clock",
|
|
22576
22612
|
search: "search"
|
|
22577
22613
|
};
|
|
22578
|
-
const SLOTS$
|
|
22614
|
+
const SLOTS$j = {
|
|
22579
22615
|
action: "action"
|
|
22580
22616
|
};
|
|
22581
22617
|
|
|
@@ -23140,38 +23176,38 @@ class Input {
|
|
|
23140
23176
|
// --------------------------------------------------------------------------
|
|
23141
23177
|
render() {
|
|
23142
23178
|
const dir = getElementDir(this.el);
|
|
23143
|
-
const loader = (hAsync("div", { class: CSS$
|
|
23144
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
23145
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
23179
|
+
const loader = (hAsync("div", { class: CSS$A.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
23180
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$A.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
23181
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$A.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
23146
23182
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
23147
23183
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23148
|
-
[CSS$
|
|
23149
|
-
[CSS$
|
|
23184
|
+
[CSS$A.numberButtonItem]: true,
|
|
23185
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton
|
|
23150
23186
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
23151
23187
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23152
|
-
[CSS$
|
|
23153
|
-
[CSS$
|
|
23188
|
+
[CSS$A.numberButtonItem]: true,
|
|
23189
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton
|
|
23154
23190
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
23155
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
23156
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
23157
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
23191
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$A.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
23192
|
+
const prefixText = hAsync("div", { class: CSS$A.prefix }, this.prefixText);
|
|
23193
|
+
const suffixText = hAsync("div", { class: CSS$A.suffix }, this.suffixText);
|
|
23158
23194
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
23159
23195
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23160
23196
|
ref: this.setChildNumberElRef })) : null;
|
|
23161
23197
|
const childEl = this.type !== "number"
|
|
23162
23198
|
? [
|
|
23163
23199
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
23164
|
-
[CSS$
|
|
23165
|
-
[CSS$
|
|
23200
|
+
[CSS$A.editingEnabled]: this.editingEnabled,
|
|
23201
|
+
[CSS$A.inlineChild]: !!this.inlineEditableEl
|
|
23166
23202
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
23167
23203
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23168
23204
|
ref: this.setChildElRef }),
|
|
23169
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
23205
|
+
this.isTextarea ? (hAsync("div", { class: CSS$A.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
23170
23206
|
]
|
|
23171
23207
|
: null;
|
|
23172
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
23208
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$A.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23173
23209
|
? numberButtonsHorizontalDown
|
|
23174
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
23210
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$A.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$A.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
23175
23211
|
? numberButtonsVertical
|
|
23176
23212
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23177
23213
|
? numberButtonsHorizontalUp
|
|
@@ -23247,7 +23283,7 @@ class Input {
|
|
|
23247
23283
|
}; }
|
|
23248
23284
|
}
|
|
23249
23285
|
|
|
23250
|
-
const CSS$
|
|
23286
|
+
const CSS$z = {
|
|
23251
23287
|
menu: "menu-container",
|
|
23252
23288
|
menuActive: "menu-container--active",
|
|
23253
23289
|
toggleIcon: "toggle-icon"
|
|
@@ -24483,8 +24519,8 @@ class InputDatePicker {
|
|
|
24483
24519
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
24484
24520
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24485
24521
|
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
24486
|
-
[CSS$
|
|
24487
|
-
[CSS$
|
|
24522
|
+
[CSS$z.menu]: true,
|
|
24523
|
+
[CSS$z.menuActive]: this.open
|
|
24488
24524
|
}, id: this.dialogId, role: "dialog",
|
|
24489
24525
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24490
24526
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -24506,7 +24542,7 @@ class InputDatePicker {
|
|
|
24506
24542
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
24507
24543
|
}
|
|
24508
24544
|
renderToggleIcon(open) {
|
|
24509
|
-
return (hAsync("span", { class: CSS$
|
|
24545
|
+
return (hAsync("span", { class: CSS$z.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
24510
24546
|
}
|
|
24511
24547
|
setReferenceEl() {
|
|
24512
24548
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -24753,7 +24789,7 @@ class InputMessage {
|
|
|
24753
24789
|
}; }
|
|
24754
24790
|
}
|
|
24755
24791
|
|
|
24756
|
-
const CSS$
|
|
24792
|
+
const CSS$y = {
|
|
24757
24793
|
loader: "loader",
|
|
24758
24794
|
clearButton: "clear-button",
|
|
24759
24795
|
editingEnabled: "editing-enabled",
|
|
@@ -24769,7 +24805,7 @@ const CSS$x = {
|
|
|
24769
24805
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
24770
24806
|
numberButtonItem: "number-button-item"
|
|
24771
24807
|
};
|
|
24772
|
-
const SLOTS$
|
|
24808
|
+
const SLOTS$i = {
|
|
24773
24809
|
action: "action"
|
|
24774
24810
|
};
|
|
24775
24811
|
|
|
@@ -25255,27 +25291,27 @@ class InputNumber {
|
|
|
25255
25291
|
// --------------------------------------------------------------------------
|
|
25256
25292
|
render() {
|
|
25257
25293
|
const dir = getElementDir(this.el);
|
|
25258
|
-
const loader = (hAsync("div", { class: CSS$
|
|
25259
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
25260
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
25294
|
+
const loader = (hAsync("div", { class: CSS$y.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
25295
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$y.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
25296
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$y.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
25261
25297
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
25262
25298
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
25263
|
-
[CSS$
|
|
25264
|
-
[CSS$
|
|
25299
|
+
[CSS$y.numberButtonItem]: true,
|
|
25300
|
+
[CSS$y.buttonItemHorizontal]: isHorizontalNumberButton
|
|
25265
25301
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
25266
25302
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
25267
|
-
[CSS$
|
|
25268
|
-
[CSS$
|
|
25303
|
+
[CSS$y.numberButtonItem]: true,
|
|
25304
|
+
[CSS$y.buttonItemHorizontal]: isHorizontalNumberButton
|
|
25269
25305
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
25270
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
25271
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
25272
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
25306
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$y.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
25307
|
+
const prefixText = hAsync("div", { class: CSS$y.prefix }, this.prefixText);
|
|
25308
|
+
const suffixText = hAsync("div", { class: CSS$y.suffix }, this.suffixText);
|
|
25273
25309
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
25274
25310
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25275
25311
|
ref: this.setChildNumberElRef }));
|
|
25276
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
25312
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25277
25313
|
? numberButtonsHorizontalDown
|
|
25278
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
25314
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25279
25315
|
? numberButtonsHorizontalUp
|
|
25280
25316
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
25281
25317
|
}
|
|
@@ -25342,7 +25378,7 @@ class InputNumber {
|
|
|
25342
25378
|
}; }
|
|
25343
25379
|
}
|
|
25344
25380
|
|
|
25345
|
-
const CSS$
|
|
25381
|
+
const CSS$x = {
|
|
25346
25382
|
loader: "loader",
|
|
25347
25383
|
clearButton: "clear-button",
|
|
25348
25384
|
editingEnabled: "editing-enabled",
|
|
@@ -25355,7 +25391,7 @@ const CSS$w = {
|
|
|
25355
25391
|
actionWrapper: "action-wrapper",
|
|
25356
25392
|
resizeIconWrapper: "resize-icon-wrapper"
|
|
25357
25393
|
};
|
|
25358
|
-
const SLOTS$
|
|
25394
|
+
const SLOTS$h = {
|
|
25359
25395
|
action: "action"
|
|
25360
25396
|
};
|
|
25361
25397
|
|
|
@@ -25640,18 +25676,18 @@ class InputText {
|
|
|
25640
25676
|
// --------------------------------------------------------------------------
|
|
25641
25677
|
render() {
|
|
25642
25678
|
const dir = getElementDir(this.el);
|
|
25643
|
-
const loader = (hAsync("div", { class: CSS$
|
|
25644
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
25645
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
25646
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
25647
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
25679
|
+
const loader = (hAsync("div", { class: CSS$x.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
25680
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$x.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
25681
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$x.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
25682
|
+
const prefixText = hAsync("div", { class: CSS$x.prefix }, this.prefixText);
|
|
25683
|
+
const suffixText = hAsync("div", { class: CSS$x.suffix }, this.suffixText);
|
|
25648
25684
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
25649
|
-
[CSS$
|
|
25650
|
-
[CSS$
|
|
25685
|
+
[CSS$x.editingEnabled]: this.editingEnabled,
|
|
25686
|
+
[CSS$x.inlineChild]: !!this.inlineEditableEl
|
|
25651
25687
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
25652
25688
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25653
25689
|
ref: this.setChildElRef }));
|
|
25654
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
25690
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$x.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$x.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$x.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
25655
25691
|
}
|
|
25656
25692
|
static get assetsDirs() { return ["assets"]; }
|
|
25657
25693
|
get el() { return getElement(this); }
|
|
@@ -25889,7 +25925,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
25889
25925
|
return isoTimeString;
|
|
25890
25926
|
}
|
|
25891
25927
|
|
|
25892
|
-
const CSS$
|
|
25928
|
+
const CSS$w = {
|
|
25893
25929
|
toggleIcon: "toggle-icon"
|
|
25894
25930
|
};
|
|
25895
25931
|
|
|
@@ -27422,7 +27458,7 @@ class InputTimePicker {
|
|
|
27422
27458
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
27423
27459
|
}
|
|
27424
27460
|
renderToggleIcon(open) {
|
|
27425
|
-
return (hAsync("span", { class: CSS$
|
|
27461
|
+
return (hAsync("span", { class: CSS$w.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
27426
27462
|
}
|
|
27427
27463
|
static get delegatesFocus() { return true; }
|
|
27428
27464
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -27469,7 +27505,7 @@ class InputTimePicker {
|
|
|
27469
27505
|
}; }
|
|
27470
27506
|
}
|
|
27471
27507
|
|
|
27472
|
-
const CSS$
|
|
27508
|
+
const CSS$v = {
|
|
27473
27509
|
container: "container"
|
|
27474
27510
|
};
|
|
27475
27511
|
|
|
@@ -27509,7 +27545,7 @@ class Label {
|
|
|
27509
27545
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
27510
27546
|
}
|
|
27511
27547
|
render() {
|
|
27512
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
27548
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$v.container }, hAsync("slot", null))));
|
|
27513
27549
|
}
|
|
27514
27550
|
get el() { return getElement(this); }
|
|
27515
27551
|
static get style() { return labelCss; }
|
|
@@ -27638,7 +27674,7 @@ class Link {
|
|
|
27638
27674
|
}; }
|
|
27639
27675
|
}
|
|
27640
27676
|
|
|
27641
|
-
const CSS$
|
|
27677
|
+
const CSS$u = {
|
|
27642
27678
|
container: "container",
|
|
27643
27679
|
containerBorderSelected: "container--border-selected",
|
|
27644
27680
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -27658,7 +27694,7 @@ const CSS$t = {
|
|
|
27658
27694
|
selectionContainer: "selection-container",
|
|
27659
27695
|
openContainer: "open-container"
|
|
27660
27696
|
};
|
|
27661
|
-
const SLOTS$
|
|
27697
|
+
const SLOTS$g = {
|
|
27662
27698
|
actionsStart: "actions-start",
|
|
27663
27699
|
contentStart: "content-start",
|
|
27664
27700
|
content: "content",
|
|
@@ -27699,7 +27735,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
27699
27735
|
}
|
|
27700
27736
|
}
|
|
27701
27737
|
|
|
27702
|
-
const CSS$
|
|
27738
|
+
const CSS$t = {
|
|
27703
27739
|
container: "container",
|
|
27704
27740
|
table: "table",
|
|
27705
27741
|
scrim: "scrim",
|
|
@@ -27959,9 +27995,9 @@ class List$1 {
|
|
|
27959
27995
|
// --------------------------------------------------------------------------
|
|
27960
27996
|
render() {
|
|
27961
27997
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
27962
|
-
return (hAsync("div", { class: CSS$
|
|
27998
|
+
return (hAsync("div", { class: CSS$t.container }, loading ? hAsync("calcite-scrim", { class: CSS$t.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$t.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$t.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
|
27963
27999
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27964
|
-
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$
|
|
28000
|
+
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$t.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
27965
28001
|
}
|
|
27966
28002
|
get el() { return getElement(this); }
|
|
27967
28003
|
static get watchers() { return {
|
|
@@ -28237,7 +28273,7 @@ class ListItem {
|
|
|
28237
28273
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
28238
28274
|
return null;
|
|
28239
28275
|
}
|
|
28240
|
-
return (hAsync("td", { class: CSS$
|
|
28276
|
+
return (hAsync("td", { class: CSS$u.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
28241
28277
|
? selectionMode === "multiple"
|
|
28242
28278
|
? ICONS$6.selectedMultiple
|
|
28243
28279
|
: ICONS$6.selectedSingle
|
|
@@ -28246,35 +28282,35 @@ class ListItem {
|
|
|
28246
28282
|
renderOpen() {
|
|
28247
28283
|
const { el, open, openable, parentListEl } = this;
|
|
28248
28284
|
const dir = getElementDir(el);
|
|
28249
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
28285
|
+
return openable ? (hAsync("td", { class: CSS$u.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$6.open : dir === "rtl" ? ICONS$6.closedRTL : ICONS$6.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$u.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
|
|
28250
28286
|
}
|
|
28251
28287
|
renderActionsStart() {
|
|
28252
28288
|
const { label, hasActionsStart } = this;
|
|
28253
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
28289
|
+
return (hAsync("td", { "aria-label": label, class: CSS$u.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
28254
28290
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28255
|
-
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$
|
|
28291
|
+
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
28256
28292
|
}
|
|
28257
28293
|
renderActionsEnd() {
|
|
28258
28294
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
28259
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
28295
|
+
return (hAsync("td", { "aria-label": label, class: CSS$u.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
28260
28296
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28261
|
-
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$
|
|
28297
|
+
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$6.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
28262
28298
|
}
|
|
28263
28299
|
renderContentStart() {
|
|
28264
28300
|
const { hasContentStart } = this;
|
|
28265
|
-
return (hAsync("div", { class: CSS$
|
|
28301
|
+
return (hAsync("div", { class: CSS$u.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
28266
28302
|
}
|
|
28267
28303
|
renderCustomContent() {
|
|
28268
28304
|
const { hasCustomContent } = this;
|
|
28269
|
-
return (hAsync("div", { class: CSS$
|
|
28305
|
+
return (hAsync("div", { class: CSS$u.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$g.content, onSlotchange: this.handleContentSlotChange })));
|
|
28270
28306
|
}
|
|
28271
28307
|
renderContentEnd() {
|
|
28272
28308
|
const { hasContentEnd } = this;
|
|
28273
|
-
return (hAsync("div", { class: CSS$
|
|
28309
|
+
return (hAsync("div", { class: CSS$u.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
28274
28310
|
}
|
|
28275
28311
|
renderContentProperties() {
|
|
28276
28312
|
const { label, description, hasCustomContent } = this;
|
|
28277
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
28313
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$u.content, key: "content" }, label ? (hAsync("div", { class: CSS$u.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$u.description, key: "description" }, description)) : null)) : null;
|
|
28278
28314
|
}
|
|
28279
28315
|
renderContentContainer() {
|
|
28280
28316
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -28286,9 +28322,9 @@ class ListItem {
|
|
|
28286
28322
|
this.renderContentEnd()
|
|
28287
28323
|
];
|
|
28288
28324
|
return (hAsync("td", { "aria-label": label, class: {
|
|
28289
|
-
[CSS$
|
|
28290
|
-
[CSS$
|
|
28291
|
-
[CSS$
|
|
28325
|
+
[CSS$u.contentContainer]: true,
|
|
28326
|
+
[CSS$u.contentContainerSelectable]: selectionMode !== "none",
|
|
28327
|
+
[CSS$u.contentContainerHasCenterContent]: hasCenterContent
|
|
28292
28328
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
28293
28329
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28294
28330
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -28299,14 +28335,14 @@ class ListItem {
|
|
|
28299
28335
|
const borderSelected = showBorder && selected;
|
|
28300
28336
|
const borderUnselected = showBorder && !selected;
|
|
28301
28337
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
28302
|
-
[CSS$
|
|
28303
|
-
[CSS$
|
|
28304
|
-
[CSS$
|
|
28338
|
+
[CSS$u.container]: true,
|
|
28339
|
+
[CSS$u.containerBorderSelected]: borderSelected,
|
|
28340
|
+
[CSS$u.containerBorderUnselected]: borderUnselected
|
|
28305
28341
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
28306
28342
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28307
28343
|
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
28308
|
-
[CSS$
|
|
28309
|
-
[CSS$
|
|
28344
|
+
[CSS$u.nestedContainer]: true,
|
|
28345
|
+
[CSS$u.nestedContainerHidden]: openable && !open
|
|
28310
28346
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
28311
28347
|
}
|
|
28312
28348
|
setSelectionDefaults() {
|
|
@@ -28369,7 +28405,7 @@ class ListItem {
|
|
|
28369
28405
|
}; }
|
|
28370
28406
|
}
|
|
28371
28407
|
|
|
28372
|
-
const CSS$
|
|
28408
|
+
const CSS$s = {
|
|
28373
28409
|
container: "container",
|
|
28374
28410
|
heading: "heading"
|
|
28375
28411
|
};
|
|
@@ -28405,7 +28441,7 @@ class ListItemGroup {
|
|
|
28405
28441
|
// --------------------------------------------------------------------------
|
|
28406
28442
|
render() {
|
|
28407
28443
|
const { heading, visualLevel } = this;
|
|
28408
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
28444
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$s.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$s.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
|
|
28409
28445
|
}
|
|
28410
28446
|
get el() { return getElement(this); }
|
|
28411
28447
|
static get style() { return listItemGroupCss; }
|
|
@@ -28505,7 +28541,7 @@ class Loader {
|
|
|
28505
28541
|
}; }
|
|
28506
28542
|
}
|
|
28507
28543
|
|
|
28508
|
-
const CSS$
|
|
28544
|
+
const CSS$r = {
|
|
28509
28545
|
modal: "modal",
|
|
28510
28546
|
title: "title",
|
|
28511
28547
|
header: "header",
|
|
@@ -28533,7 +28569,7 @@ const CSS$q = {
|
|
|
28533
28569
|
const ICONS$5 = {
|
|
28534
28570
|
close: "x"
|
|
28535
28571
|
};
|
|
28536
|
-
const SLOTS$
|
|
28572
|
+
const SLOTS$f = {
|
|
28537
28573
|
content: "content",
|
|
28538
28574
|
contentBottom: "content-bottom",
|
|
28539
28575
|
contentTop: "content-top",
|
|
@@ -28595,7 +28631,7 @@ class Modal {
|
|
|
28595
28631
|
this.updateFocusTrapElements();
|
|
28596
28632
|
};
|
|
28597
28633
|
this.updateFooterVisibility = () => {
|
|
28598
|
-
this.hasFooter = !!getSlotted(this.el, [SLOTS$
|
|
28634
|
+
this.hasFooter = !!getSlotted(this.el, [SLOTS$f.back, SLOTS$f.primary, SLOTS$f.secondary]);
|
|
28599
28635
|
};
|
|
28600
28636
|
this.updateSizeCssVars = () => {
|
|
28601
28637
|
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
|
|
@@ -28678,50 +28714,50 @@ class Modal {
|
|
|
28678
28714
|
}
|
|
28679
28715
|
render() {
|
|
28680
28716
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
28681
|
-
[CSS$
|
|
28682
|
-
[CSS$
|
|
28683
|
-
[CSS$
|
|
28684
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
28685
|
-
[CSS$
|
|
28717
|
+
[CSS$r.container]: true,
|
|
28718
|
+
[CSS$r.containerOpen]: this.isOpen,
|
|
28719
|
+
[CSS$r.slottedInShell]: this.slottedInShell
|
|
28720
|
+
} }, hAsync("calcite-scrim", { class: CSS$r.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
28721
|
+
[CSS$r.modal]: true
|
|
28686
28722
|
},
|
|
28687
28723
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28688
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
28689
|
-
[CSS$
|
|
28690
|
-
[CSS$
|
|
28724
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$r.header }, this.renderCloseButton(), hAsync("header", { class: CSS$r.title }, hAsync("slot", { name: CSS$r.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
28725
|
+
[CSS$r.content]: true,
|
|
28726
|
+
[CSS$r.contentNoFooter]: !this.hasFooter
|
|
28691
28727
|
},
|
|
28692
28728
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28693
|
-
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$
|
|
28729
|
+
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
28694
28730
|
}
|
|
28695
28731
|
renderFooter() {
|
|
28696
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
28732
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$r.footer, key: "footer" }, hAsync("span", { class: CSS$r.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$r.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$r.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
28697
28733
|
}
|
|
28698
28734
|
renderContentTop() {
|
|
28699
|
-
return (hAsync("div", { class: CSS$
|
|
28735
|
+
return (hAsync("div", { class: CSS$r.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
28700
28736
|
}
|
|
28701
28737
|
renderContentBottom() {
|
|
28702
|
-
return (hAsync("div", { class: CSS$
|
|
28738
|
+
return (hAsync("div", { class: CSS$r.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
28703
28739
|
}
|
|
28704
28740
|
renderCloseButton() {
|
|
28705
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
28741
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$r.close, key: "button", onClick: this.close, title: this.messages.close,
|
|
28706
28742
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28707
28743
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
28708
28744
|
}
|
|
28709
28745
|
renderStyle() {
|
|
28710
28746
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
28711
|
-
return (hAsync("style", null, `.${CSS$
|
|
28747
|
+
return (hAsync("style", null, `.${CSS$r.container} {
|
|
28712
28748
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
28713
28749
|
}
|
|
28714
|
-
.${CSS$
|
|
28750
|
+
.${CSS$r.modal} {
|
|
28715
28751
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
28716
28752
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
28717
28753
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
28718
28754
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
28719
28755
|
}
|
|
28720
28756
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
28721
|
-
.${CSS$
|
|
28757
|
+
.${CSS$r.container} {
|
|
28722
28758
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
28723
28759
|
}
|
|
28724
|
-
.${CSS$
|
|
28760
|
+
.${CSS$r.modal} {
|
|
28725
28761
|
max-block-size: 100% !important;
|
|
28726
28762
|
inline-size: 100% !important;
|
|
28727
28763
|
max-inline-size: 100% !important;
|
|
@@ -28788,31 +28824,31 @@ class Modal {
|
|
|
28788
28824
|
}
|
|
28789
28825
|
}
|
|
28790
28826
|
onBeforeOpen() {
|
|
28791
|
-
this.transitionEl.classList.add(CSS$
|
|
28827
|
+
this.transitionEl.classList.add(CSS$r.openingActive);
|
|
28792
28828
|
this.calciteModalBeforeOpen.emit();
|
|
28793
28829
|
}
|
|
28794
28830
|
onOpen() {
|
|
28795
|
-
this.transitionEl.classList.remove(CSS$
|
|
28831
|
+
this.transitionEl.classList.remove(CSS$r.openingIdle, CSS$r.openingActive);
|
|
28796
28832
|
this.calciteModalOpen.emit();
|
|
28797
28833
|
activateFocusTrap(this);
|
|
28798
28834
|
}
|
|
28799
28835
|
onBeforeClose() {
|
|
28800
|
-
this.transitionEl.classList.add(CSS$
|
|
28836
|
+
this.transitionEl.classList.add(CSS$r.closingActive);
|
|
28801
28837
|
this.calciteModalBeforeClose.emit();
|
|
28802
28838
|
}
|
|
28803
28839
|
onClose() {
|
|
28804
|
-
this.transitionEl.classList.remove(CSS$
|
|
28840
|
+
this.transitionEl.classList.remove(CSS$r.closingIdle, CSS$r.closingActive);
|
|
28805
28841
|
this.calciteModalClose.emit();
|
|
28806
28842
|
deactivateFocusTrap(this);
|
|
28807
28843
|
}
|
|
28808
28844
|
async toggleModal(value) {
|
|
28809
28845
|
onToggleOpenCloseComponent(this);
|
|
28810
28846
|
if (value) {
|
|
28811
|
-
this.transitionEl?.classList.add(CSS$
|
|
28847
|
+
this.transitionEl?.classList.add(CSS$r.openingIdle);
|
|
28812
28848
|
this.openModal();
|
|
28813
28849
|
}
|
|
28814
28850
|
else {
|
|
28815
|
-
this.transitionEl?.classList.add(CSS$
|
|
28851
|
+
this.transitionEl?.classList.add(CSS$r.closingIdle);
|
|
28816
28852
|
this.close();
|
|
28817
28853
|
}
|
|
28818
28854
|
}
|
|
@@ -28821,16 +28857,16 @@ class Modal {
|
|
|
28821
28857
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
28822
28858
|
this.open = true;
|
|
28823
28859
|
this.isOpen = true;
|
|
28824
|
-
const titleEl = getSlotted(this.el, SLOTS$
|
|
28825
|
-
const contentEl = getSlotted(this.el, SLOTS$
|
|
28860
|
+
const titleEl = getSlotted(this.el, SLOTS$f.header);
|
|
28861
|
+
const contentEl = getSlotted(this.el, SLOTS$f.content);
|
|
28826
28862
|
this.titleId = ensureId(titleEl);
|
|
28827
28863
|
this.contentId = ensureId(contentEl);
|
|
28828
28864
|
if (!this.slottedInShell) {
|
|
28829
|
-
document.documentElement.classList.add(CSS$
|
|
28865
|
+
document.documentElement.classList.add(CSS$r.overflowHidden);
|
|
28830
28866
|
}
|
|
28831
28867
|
}
|
|
28832
28868
|
removeOverflowHiddenClass() {
|
|
28833
|
-
document.documentElement.classList.remove(CSS$
|
|
28869
|
+
document.documentElement.classList.remove(CSS$r.overflowHidden);
|
|
28834
28870
|
}
|
|
28835
28871
|
static get assetsDirs() { return ["assets"]; }
|
|
28836
28872
|
get el() { return getElement(this); }
|
|
@@ -28877,13 +28913,13 @@ class Modal {
|
|
|
28877
28913
|
}; }
|
|
28878
28914
|
}
|
|
28879
28915
|
|
|
28880
|
-
const SLOTS$
|
|
28916
|
+
const SLOTS$e = {
|
|
28881
28917
|
title: "title",
|
|
28882
28918
|
message: "message",
|
|
28883
28919
|
link: "link",
|
|
28884
28920
|
actionsEnd: "actions-end"
|
|
28885
28921
|
};
|
|
28886
|
-
const CSS$
|
|
28922
|
+
const CSS$q = {
|
|
28887
28923
|
actionsEnd: "actions-end",
|
|
28888
28924
|
close: "notice-close",
|
|
28889
28925
|
container: "container",
|
|
@@ -28962,11 +28998,11 @@ class Notice {
|
|
|
28962
28998
|
}
|
|
28963
28999
|
render() {
|
|
28964
29000
|
const { el } = this;
|
|
28965
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
29001
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$q.close, onClick: this.close,
|
|
28966
29002
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28967
29003
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
28968
|
-
const hasActionEnd = getSlotted(el, SLOTS$
|
|
28969
|
-
return (hAsync("div", { class: CSS$
|
|
29004
|
+
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
29005
|
+
return (hAsync("div", { class: CSS$q.container }, this.requestedIcon ? (hAsync("div", { class: CSS$q.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$q.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$q.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
28970
29006
|
}
|
|
28971
29007
|
//--------------------------------------------------------------------------
|
|
28972
29008
|
//
|
|
@@ -29145,7 +29181,7 @@ class OptionGroup {
|
|
|
29145
29181
|
}; }
|
|
29146
29182
|
}
|
|
29147
29183
|
|
|
29148
|
-
const CSS$
|
|
29184
|
+
const CSS$p = {
|
|
29149
29185
|
page: "page",
|
|
29150
29186
|
selected: "is-selected",
|
|
29151
29187
|
previous: "previous",
|
|
@@ -29303,8 +29339,8 @@ class Pagination {
|
|
|
29303
29339
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
29304
29340
|
const selected = start === this.startItem;
|
|
29305
29341
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
29306
|
-
[CSS$
|
|
29307
|
-
[CSS$
|
|
29342
|
+
[CSS$p.page]: true,
|
|
29343
|
+
[CSS$p.selected]: selected
|
|
29308
29344
|
}, onClick: () => {
|
|
29309
29345
|
this.startItem = start;
|
|
29310
29346
|
this.emitUpdate();
|
|
@@ -29312,12 +29348,12 @@ class Pagination {
|
|
|
29312
29348
|
}
|
|
29313
29349
|
renderLeftEllipsis() {
|
|
29314
29350
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
29315
|
-
return hAsync("span", { class: `${CSS$
|
|
29351
|
+
return hAsync("span", { class: `${CSS$p.ellipsis} ${CSS$p.ellipsisStart}` }, "\u2026");
|
|
29316
29352
|
}
|
|
29317
29353
|
}
|
|
29318
29354
|
renderRightEllipsis() {
|
|
29319
29355
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
29320
|
-
return hAsync("span", { class: `${CSS$
|
|
29356
|
+
return hAsync("span", { class: `${CSS$p.ellipsis} ${CSS$p.ellipsisEnd}` }, "\u2026");
|
|
29321
29357
|
}
|
|
29322
29358
|
}
|
|
29323
29359
|
render() {
|
|
@@ -29325,11 +29361,11 @@ class Pagination {
|
|
|
29325
29361
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
29326
29362
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
29327
29363
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
29328
|
-
[CSS$
|
|
29329
|
-
[CSS$
|
|
29364
|
+
[CSS$p.previous]: true,
|
|
29365
|
+
[CSS$p.disabled]: prevDisabled
|
|
29330
29366
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: this.scale === "l" ? "m" : "s" })), totalItems > pageSize ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
|
|
29331
|
-
[CSS$
|
|
29332
|
-
[CSS$
|
|
29367
|
+
[CSS$p.next]: true,
|
|
29368
|
+
[CSS$p.disabled]: nextDisabled
|
|
29333
29369
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
|
|
29334
29370
|
}
|
|
29335
29371
|
static get delegatesFocus() { return true; }
|
|
@@ -29558,22 +29594,22 @@ class Panel {
|
|
|
29558
29594
|
// --------------------------------------------------------------------------
|
|
29559
29595
|
renderHeaderContent() {
|
|
29560
29596
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
29561
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
29562
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
29563
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
29597
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$F.heading, level: headingLevel }, heading)) : null;
|
|
29598
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$F.description }, description) : null;
|
|
29599
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$F.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
29564
29600
|
}
|
|
29565
29601
|
renderActionBar() {
|
|
29566
|
-
return (hAsync("div", { class: CSS$
|
|
29602
|
+
return (hAsync("div", { class: CSS$F.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$l.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
29567
29603
|
}
|
|
29568
29604
|
/**
|
|
29569
29605
|
* Allows user to override the entire header-content node.
|
|
29570
29606
|
*/
|
|
29571
29607
|
renderHeaderSlottedContent() {
|
|
29572
|
-
return (hAsync("div", { class: CSS$
|
|
29608
|
+
return (hAsync("div", { class: CSS$F.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$l.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
29573
29609
|
}
|
|
29574
29610
|
renderHeaderStartActions() {
|
|
29575
29611
|
const { hasStartActions } = this;
|
|
29576
|
-
return (hAsync("div", { class: { [CSS$
|
|
29612
|
+
return (hAsync("div", { class: { [CSS$F.headerActionsStart]: true, [CSS$F.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$l.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
29577
29613
|
}
|
|
29578
29614
|
renderHeaderActionsEnd() {
|
|
29579
29615
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -29581,13 +29617,13 @@ class Panel {
|
|
|
29581
29617
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$9.close, onClick: close, text: text,
|
|
29582
29618
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29583
29619
|
ref: this.setCloseRef })) : null;
|
|
29584
|
-
const slotNode = (hAsync("slot", { name: SLOTS$
|
|
29620
|
+
const slotNode = (hAsync("slot", { name: SLOTS$l.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
29585
29621
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
29586
|
-
return (hAsync("div", { class: { [CSS$
|
|
29622
|
+
return (hAsync("div", { class: { [CSS$F.headerActionsEnd]: true, [CSS$F.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
29587
29623
|
}
|
|
29588
29624
|
renderMenu() {
|
|
29589
29625
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
29590
|
-
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$9.menu, slot: SLOTS$
|
|
29626
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$9.menu, slot: SLOTS$t.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$l.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
29591
29627
|
}
|
|
29592
29628
|
renderHeaderNode() {
|
|
29593
29629
|
const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
@@ -29598,31 +29634,31 @@ class Panel {
|
|
|
29598
29634
|
hasEndActions ||
|
|
29599
29635
|
closable ||
|
|
29600
29636
|
hasMenuItems;
|
|
29601
|
-
return (hAsync("header", { class: CSS$
|
|
29637
|
+
return (hAsync("header", { class: CSS$F.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
29602
29638
|
}
|
|
29603
29639
|
renderFooterNode() {
|
|
29604
29640
|
const { hasFooterContent, hasFooterActions } = this;
|
|
29605
29641
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
29606
|
-
return (hAsync("footer", { class: CSS$
|
|
29642
|
+
return (hAsync("footer", { class: CSS$F.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$l.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$l.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
29607
29643
|
}
|
|
29608
29644
|
renderContent() {
|
|
29609
29645
|
const { hasFab } = this;
|
|
29610
29646
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
29611
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
29647
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$F.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
29612
29648
|
return (hAsync("div", { class: {
|
|
29613
|
-
[CSS$
|
|
29614
|
-
[CSS$
|
|
29615
|
-
[CSS$
|
|
29649
|
+
[CSS$F.contentWrapper]: true,
|
|
29650
|
+
[CSS$F.contentContainer]: !hasFab,
|
|
29651
|
+
[CSS$F.contentHeight]: hasFab
|
|
29616
29652
|
}, onScroll: this.panelScrollHandler,
|
|
29617
29653
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29618
29654
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
29619
29655
|
}
|
|
29620
29656
|
renderFab() {
|
|
29621
|
-
return (hAsync("div", { class: CSS$
|
|
29657
|
+
return (hAsync("div", { class: CSS$F.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$l.fab, onSlotchange: this.handleFabSlotChange })));
|
|
29622
29658
|
}
|
|
29623
29659
|
render() {
|
|
29624
29660
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
29625
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
29661
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$F.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
29626
29662
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29627
29663
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
29628
29664
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -29667,7 +29703,7 @@ class Panel {
|
|
|
29667
29703
|
}; }
|
|
29668
29704
|
}
|
|
29669
29705
|
|
|
29670
|
-
const CSS$
|
|
29706
|
+
const CSS$o = {
|
|
29671
29707
|
sticky: "sticky-pos"
|
|
29672
29708
|
};
|
|
29673
29709
|
var ICON_TYPES$1;
|
|
@@ -29676,16 +29712,16 @@ var ICON_TYPES$1;
|
|
|
29676
29712
|
ICON_TYPES["square"] = "square";
|
|
29677
29713
|
ICON_TYPES["grip"] = "grip";
|
|
29678
29714
|
})(ICON_TYPES$1 || (ICON_TYPES$1 = {}));
|
|
29679
|
-
const SLOTS$
|
|
29715
|
+
const SLOTS$d = {
|
|
29680
29716
|
menuActions: "menu-actions"
|
|
29681
29717
|
};
|
|
29682
29718
|
|
|
29683
|
-
const CSS$
|
|
29719
|
+
const CSS$n = {
|
|
29684
29720
|
heading: "heading",
|
|
29685
29721
|
container: "container",
|
|
29686
29722
|
indented: "container--indented"
|
|
29687
29723
|
};
|
|
29688
|
-
const SLOTS$
|
|
29724
|
+
const SLOTS$c = {
|
|
29689
29725
|
parentItem: "parent-item"
|
|
29690
29726
|
};
|
|
29691
29727
|
|
|
@@ -29830,7 +29866,7 @@ function removeItem(event) {
|
|
|
29830
29866
|
}
|
|
29831
29867
|
const item = event.target;
|
|
29832
29868
|
const selectedValues = this.selectedValues;
|
|
29833
|
-
if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$
|
|
29869
|
+
if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$c.parentItem) {
|
|
29834
29870
|
item.parentElement.remove();
|
|
29835
29871
|
Array.from(item.parentElement.children).forEach((item) => selectedValues.delete(item.value));
|
|
29836
29872
|
}
|
|
@@ -30006,11 +30042,11 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
30006
30042
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
30007
30043
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30008
30044
|
ref: storeAssistiveEl })) : null,
|
|
30009
|
-
hAsync("header", { class: { [CSS$
|
|
30045
|
+
hAsync("header", { class: { [CSS$o.sticky]: true } },
|
|
30010
30046
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
30011
30047
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30012
30048
|
ref: setFilterEl })) : null,
|
|
30013
|
-
hAsync("slot", { name: SLOTS$
|
|
30049
|
+
hAsync("slot", { name: SLOTS$d.menuActions })),
|
|
30014
30050
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
30015
30051
|
defaultSlot)));
|
|
30016
30052
|
};
|
|
@@ -30193,16 +30229,16 @@ class PickListGroup {
|
|
|
30193
30229
|
// --------------------------------------------------------------------------
|
|
30194
30230
|
render() {
|
|
30195
30231
|
const { el, groupTitle, headingLevel } = this;
|
|
30196
|
-
const hasParentItem = getSlotted(el, SLOTS$
|
|
30232
|
+
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
30197
30233
|
const sectionClasses = {
|
|
30198
|
-
[CSS$
|
|
30199
|
-
[CSS$
|
|
30234
|
+
[CSS$n.container]: true,
|
|
30235
|
+
[CSS$n.indented]: hasParentItem
|
|
30200
30236
|
};
|
|
30201
30237
|
const title = groupTitle;
|
|
30202
30238
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
30203
30239
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
30204
30240
|
const level = headingLevel || relativeLevel;
|
|
30205
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
30241
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$n.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
30206
30242
|
}
|
|
30207
30243
|
get el() { return getElement(this); }
|
|
30208
30244
|
static get style() { return pickListGroupCss; }
|
|
@@ -30219,7 +30255,7 @@ class PickListGroup {
|
|
|
30219
30255
|
}; }
|
|
30220
30256
|
}
|
|
30221
30257
|
|
|
30222
|
-
const CSS$
|
|
30258
|
+
const CSS$m = {
|
|
30223
30259
|
actions: "actions",
|
|
30224
30260
|
actionsEnd: "actions--end",
|
|
30225
30261
|
actionsStart: "actions--start",
|
|
@@ -30238,7 +30274,7 @@ const ICONS$4 = {
|
|
|
30238
30274
|
checked: "check",
|
|
30239
30275
|
remove: "x"
|
|
30240
30276
|
};
|
|
30241
|
-
const SLOTS$
|
|
30277
|
+
const SLOTS$b = {
|
|
30242
30278
|
actionsEnd: "actions-end",
|
|
30243
30279
|
actionsStart: "actions-start"
|
|
30244
30280
|
};
|
|
@@ -30379,28 +30415,28 @@ class PickListItem {
|
|
|
30379
30415
|
return null;
|
|
30380
30416
|
}
|
|
30381
30417
|
return (hAsync("span", { class: {
|
|
30382
|
-
[CSS$
|
|
30383
|
-
[CSS$
|
|
30418
|
+
[CSS$m.icon]: true,
|
|
30419
|
+
[CSS$m.iconDot]: icon === ICON_TYPES$1.circle
|
|
30384
30420
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
|
|
30385
30421
|
}
|
|
30386
30422
|
renderRemoveAction() {
|
|
30387
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
30423
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$m.remove, icon: ICONS$4.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
30388
30424
|
}
|
|
30389
30425
|
renderActionsStart() {
|
|
30390
30426
|
const { el } = this;
|
|
30391
|
-
const hasActionsStart = getSlotted(el, SLOTS$
|
|
30392
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
30427
|
+
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
30428
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$m.actions]: true, [CSS$m.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
30393
30429
|
}
|
|
30394
30430
|
renderActionsEnd() {
|
|
30395
30431
|
const { el, removable } = this;
|
|
30396
|
-
const hasActionsEnd = getSlotted(el, SLOTS$
|
|
30397
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
30432
|
+
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
30433
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$m.actions]: true, [CSS$m.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
30398
30434
|
}
|
|
30399
30435
|
render() {
|
|
30400
30436
|
const { description, label } = this;
|
|
30401
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
30437
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$m.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
30402
30438
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30403
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
30439
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$m.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$m.title }, label), description ? hAsync("span", { class: CSS$m.description }, description) : null)), this.renderActionsEnd()));
|
|
30404
30440
|
}
|
|
30405
30441
|
static get assetsDirs() { return ["assets"]; }
|
|
30406
30442
|
get el() { return getElement(this); }
|
|
@@ -30443,7 +30479,7 @@ class PickListItem {
|
|
|
30443
30479
|
}; }
|
|
30444
30480
|
}
|
|
30445
30481
|
|
|
30446
|
-
const CSS$
|
|
30482
|
+
const CSS$l = {
|
|
30447
30483
|
container: "container",
|
|
30448
30484
|
imageContainer: "image-container",
|
|
30449
30485
|
closeButtonContainer: "close-button-container",
|
|
@@ -30528,17 +30564,16 @@ class PopoverManager {
|
|
|
30528
30564
|
Array.from(this.registeredElements.values()).forEach((popover) => (popover.open = false));
|
|
30529
30565
|
}
|
|
30530
30566
|
addListeners() {
|
|
30531
|
-
|
|
30532
|
-
document.addEventListener("pointerup", this.clickHandler, { capture: true });
|
|
30567
|
+
document.addEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
30533
30568
|
document.addEventListener("keydown", this.keyHandler, { capture: true });
|
|
30534
30569
|
}
|
|
30535
30570
|
removeListeners() {
|
|
30536
|
-
document.removeEventListener("
|
|
30571
|
+
document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
30537
30572
|
document.removeEventListener("keydown", this.keyHandler, { capture: true });
|
|
30538
30573
|
}
|
|
30539
30574
|
}
|
|
30540
30575
|
|
|
30541
|
-
const CSS$
|
|
30576
|
+
const CSS$k = {
|
|
30542
30577
|
arrow: "calcite-floating-ui-arrow",
|
|
30543
30578
|
arrowStroke: "calcite-floating-ui-arrow__stroke"
|
|
30544
30579
|
};
|
|
@@ -30568,8 +30603,8 @@ const FloatingArrow = ({ floatingLayout, key, ref }) => {
|
|
|
30568
30603
|
` L${width - svgX},${height}` +
|
|
30569
30604
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
30570
30605
|
" Z";
|
|
30571
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
30572
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
30606
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$k.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
30607
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$k.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
30573
30608
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
30574
30609
|
};
|
|
30575
30610
|
|
|
@@ -30825,14 +30860,14 @@ class Popover {
|
|
|
30825
30860
|
// --------------------------------------------------------------------------
|
|
30826
30861
|
renderCloseButton() {
|
|
30827
30862
|
const { messages, closable } = this;
|
|
30828
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
30863
|
+
return closable ? (hAsync("div", { class: CSS$l.closeButtonContainer, key: CSS$l.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$l.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
30829
30864
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30830
30865
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
30831
30866
|
}
|
|
30832
30867
|
renderHeader() {
|
|
30833
30868
|
const { heading, headingLevel } = this;
|
|
30834
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
30835
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
30869
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$l.heading, level: headingLevel }, heading)) : null;
|
|
30870
|
+
return headingNode ? (hAsync("div", { class: CSS$l.header, key: CSS$l.header }, headingNode, this.renderCloseButton())) : null;
|
|
30836
30871
|
}
|
|
30837
30872
|
render() {
|
|
30838
30873
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -30847,9 +30882,9 @@ class Popover {
|
|
|
30847
30882
|
},
|
|
30848
30883
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30849
30884
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
30850
|
-
[CSS$
|
|
30851
|
-
[CSS$
|
|
30852
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
30885
|
+
[CSS$l.hasHeader]: !!heading,
|
|
30886
|
+
[CSS$l.container]: true
|
|
30887
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$l.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
30853
30888
|
}
|
|
30854
30889
|
static get assetsDirs() { return ["assets"]; }
|
|
30855
30890
|
get el() { return getElement(this); }
|
|
@@ -30941,7 +30976,7 @@ class Progress {
|
|
|
30941
30976
|
}; }
|
|
30942
30977
|
}
|
|
30943
30978
|
|
|
30944
|
-
const CSS$
|
|
30979
|
+
const CSS$j = {
|
|
30945
30980
|
container: "container"
|
|
30946
30981
|
};
|
|
30947
30982
|
|
|
@@ -31191,7 +31226,7 @@ class RadioButton {
|
|
|
31191
31226
|
// --------------------------------------------------------------------------
|
|
31192
31227
|
render() {
|
|
31193
31228
|
const tabIndex = this.getTabIndex();
|
|
31194
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
31229
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$j.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
31195
31230
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31196
31231
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
31197
31232
|
}
|
|
@@ -31601,7 +31636,7 @@ class Rating {
|
|
|
31601
31636
|
}; }
|
|
31602
31637
|
}
|
|
31603
31638
|
|
|
31604
|
-
const CSS$
|
|
31639
|
+
const CSS$i = {
|
|
31605
31640
|
scrim: "scrim",
|
|
31606
31641
|
content: "content"
|
|
31607
31642
|
};
|
|
@@ -31651,8 +31686,8 @@ class Scrim {
|
|
|
31651
31686
|
const { el, loading, messages } = this;
|
|
31652
31687
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
31653
31688
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
31654
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
31655
|
-
return (hAsync("div", { class: CSS$
|
|
31689
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$i.content }, hAsync("slot", null))) : null;
|
|
31690
|
+
return (hAsync("div", { class: CSS$i.scrim }, loaderNode, contentNode));
|
|
31656
31691
|
}
|
|
31657
31692
|
static get assetsDirs() { return ["assets"]; }
|
|
31658
31693
|
get el() { return getElement(this); }
|
|
@@ -31881,10 +31916,10 @@ class SegmentedControl {
|
|
|
31881
31916
|
}; }
|
|
31882
31917
|
}
|
|
31883
31918
|
|
|
31884
|
-
const SLOTS$
|
|
31919
|
+
const SLOTS$a = {
|
|
31885
31920
|
input: "input"
|
|
31886
31921
|
};
|
|
31887
|
-
const CSS$
|
|
31922
|
+
const CSS$h = {
|
|
31888
31923
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
31889
31924
|
};
|
|
31890
31925
|
|
|
@@ -31908,8 +31943,8 @@ class SegmentedControlItem {
|
|
|
31908
31943
|
const scale = getElementProp(this.el, "scale", "m");
|
|
31909
31944
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
31910
31945
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
31911
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
31912
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
31946
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$h.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
31947
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$h.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
31913
31948
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
31914
31949
|
"label--scale-s": scale === "s",
|
|
31915
31950
|
"label--scale-m": scale === "m",
|
|
@@ -31917,7 +31952,7 @@ class SegmentedControlItem {
|
|
|
31917
31952
|
"label--horizontal": layout === "horizontal",
|
|
31918
31953
|
"label--outline": appearance === "outline",
|
|
31919
31954
|
"label--outline-fill": appearance === "outline-fill"
|
|
31920
|
-
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$
|
|
31955
|
+
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$a.input }), this.iconEnd ? iconEndEl : null)));
|
|
31921
31956
|
}
|
|
31922
31957
|
get el() { return getElement(this); }
|
|
31923
31958
|
static get watchers() { return {
|
|
@@ -31940,7 +31975,7 @@ class SegmentedControlItem {
|
|
|
31940
31975
|
}; }
|
|
31941
31976
|
}
|
|
31942
31977
|
|
|
31943
|
-
const CSS$
|
|
31978
|
+
const CSS$g = {
|
|
31944
31979
|
icon: "icon",
|
|
31945
31980
|
iconContainer: "icon-container",
|
|
31946
31981
|
select: "select"
|
|
@@ -32125,10 +32160,10 @@ class Select {
|
|
|
32125
32160
|
//
|
|
32126
32161
|
//--------------------------------------------------------------------------
|
|
32127
32162
|
renderChevron() {
|
|
32128
|
-
return (hAsync("div", { class: CSS$
|
|
32163
|
+
return (hAsync("div", { class: CSS$g.iconContainer }, hAsync("calcite-icon", { class: CSS$g.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
32129
32164
|
}
|
|
32130
32165
|
render() {
|
|
32131
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
32166
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$g.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
32132
32167
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32133
32168
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
32134
32169
|
}
|
|
@@ -32159,7 +32194,7 @@ class Select {
|
|
|
32159
32194
|
}; }
|
|
32160
32195
|
}
|
|
32161
32196
|
|
|
32162
|
-
const CSS$
|
|
32197
|
+
const CSS$f = {
|
|
32163
32198
|
main: "main",
|
|
32164
32199
|
content: "content",
|
|
32165
32200
|
contentBehind: "content--behind",
|
|
@@ -32168,7 +32203,7 @@ const CSS$e = {
|
|
|
32168
32203
|
container: "container",
|
|
32169
32204
|
contentBehindCenterContent: "center-content"
|
|
32170
32205
|
};
|
|
32171
|
-
const SLOTS$
|
|
32206
|
+
const SLOTS$9 = {
|
|
32172
32207
|
centerRow: "center-row",
|
|
32173
32208
|
panelStart: "panel-start",
|
|
32174
32209
|
panelEnd: "panel-end",
|
|
@@ -32247,41 +32282,41 @@ class Shell {
|
|
|
32247
32282
|
//
|
|
32248
32283
|
// --------------------------------------------------------------------------
|
|
32249
32284
|
renderHeader() {
|
|
32250
|
-
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$
|
|
32285
|
+
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
32251
32286
|
}
|
|
32252
32287
|
renderFooter() {
|
|
32253
|
-
return (hAsync("div", { class: CSS$
|
|
32288
|
+
return (hAsync("div", { class: CSS$f.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
32254
32289
|
}
|
|
32255
32290
|
renderAlerts() {
|
|
32256
|
-
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$
|
|
32291
|
+
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
32257
32292
|
}
|
|
32258
32293
|
renderModals() {
|
|
32259
|
-
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$
|
|
32294
|
+
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$9.modals, onSlotchange: this.handleModalsSlotChange })));
|
|
32260
32295
|
}
|
|
32261
32296
|
renderContent() {
|
|
32262
32297
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
32263
|
-
const deprecatedCenterRowSlotNode = (hAsync("slot", { key: "center-row-slot", name: SLOTS$
|
|
32264
|
-
const panelBottomSlotNode = hAsync("slot", { key: "panel-bottom-slot", name: SLOTS$
|
|
32265
|
-
const panelTopSlotNode = hAsync("slot", { key: "panel-top-slot", name: SLOTS$
|
|
32298
|
+
const deprecatedCenterRowSlotNode = (hAsync("slot", { key: "center-row-slot", name: SLOTS$9.centerRow }));
|
|
32299
|
+
const panelBottomSlotNode = hAsync("slot", { key: "panel-bottom-slot", name: SLOTS$9.panelBottom });
|
|
32300
|
+
const panelTopSlotNode = hAsync("slot", { key: "panel-top-slot", name: SLOTS$9.panelTop });
|
|
32266
32301
|
const contentContainerKey = "content-container";
|
|
32267
32302
|
const content = !!this.contentBehind
|
|
32268
32303
|
? [
|
|
32269
32304
|
hAsync("div", { class: {
|
|
32270
|
-
[CSS$
|
|
32271
|
-
[CSS$
|
|
32305
|
+
[CSS$f.content]: true,
|
|
32306
|
+
[CSS$f.contentBehind]: true
|
|
32272
32307
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
32273
|
-
hAsync("div", { class: CSS$
|
|
32308
|
+
hAsync("div", { class: CSS$f.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32274
32309
|
]
|
|
32275
32310
|
: [
|
|
32276
|
-
hAsync("div", { class: CSS$
|
|
32311
|
+
hAsync("div", { class: CSS$f.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32277
32312
|
];
|
|
32278
32313
|
return content;
|
|
32279
32314
|
}
|
|
32280
32315
|
renderMain() {
|
|
32281
|
-
return (hAsync("div", { class: CSS$
|
|
32316
|
+
return (hAsync("div", { class: CSS$f.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
32282
32317
|
}
|
|
32283
32318
|
renderPositionedSlots() {
|
|
32284
|
-
return (hAsync("div", { class: CSS$
|
|
32319
|
+
return (hAsync("div", { class: CSS$f.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
32285
32320
|
}
|
|
32286
32321
|
render() {
|
|
32287
32322
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -32304,11 +32339,11 @@ class Shell {
|
|
|
32304
32339
|
}; }
|
|
32305
32340
|
}
|
|
32306
32341
|
|
|
32307
|
-
const CSS$
|
|
32342
|
+
const CSS$e = {
|
|
32308
32343
|
actionBarContainer: "action-bar-container",
|
|
32309
32344
|
content: "content"
|
|
32310
32345
|
};
|
|
32311
|
-
const SLOTS$
|
|
32346
|
+
const SLOTS$8 = {
|
|
32312
32347
|
actionBar: "action-bar"
|
|
32313
32348
|
};
|
|
32314
32349
|
|
|
@@ -32343,9 +32378,9 @@ class ShellCenterRow {
|
|
|
32343
32378
|
// --------------------------------------------------------------------------
|
|
32344
32379
|
render() {
|
|
32345
32380
|
const { el } = this;
|
|
32346
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
32347
|
-
const actionBar = getSlotted(el, SLOTS$
|
|
32348
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
32381
|
+
const contentNode = (hAsync("div", { class: CSS$e.content }, hAsync("slot", null)));
|
|
32382
|
+
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
32383
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$e.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
32349
32384
|
const children = [actionBarNode, contentNode];
|
|
32350
32385
|
if (actionBar?.position === "end") {
|
|
32351
32386
|
children.reverse();
|
|
@@ -32368,7 +32403,7 @@ class ShellCenterRow {
|
|
|
32368
32403
|
}; }
|
|
32369
32404
|
}
|
|
32370
32405
|
|
|
32371
|
-
const CSS$
|
|
32406
|
+
const CSS$d = {
|
|
32372
32407
|
container: "container",
|
|
32373
32408
|
content: "content",
|
|
32374
32409
|
contentHeader: "content__header",
|
|
@@ -32377,7 +32412,7 @@ const CSS$c = {
|
|
|
32377
32412
|
contentOverlay: "content--overlay",
|
|
32378
32413
|
separator: "separator"
|
|
32379
32414
|
};
|
|
32380
|
-
const SLOTS$
|
|
32415
|
+
const SLOTS$7 = {
|
|
32381
32416
|
actionBar: "action-bar",
|
|
32382
32417
|
header: "header"
|
|
32383
32418
|
};
|
|
@@ -32628,8 +32663,8 @@ class ShellPanel {
|
|
|
32628
32663
|
// --------------------------------------------------------------------------
|
|
32629
32664
|
renderHeader() {
|
|
32630
32665
|
const { el } = this;
|
|
32631
|
-
const hasHeader = getSlotted(el, SLOTS$
|
|
32632
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
32666
|
+
const hasHeader = getSlotted(el, SLOTS$7.header);
|
|
32667
|
+
return hasHeader ? (hAsync("div", { class: CSS$d.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header }))) : null;
|
|
32633
32668
|
}
|
|
32634
32669
|
render() {
|
|
32635
32670
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode } = this;
|
|
@@ -32646,7 +32681,7 @@ class ShellPanel {
|
|
|
32646
32681
|
: null;
|
|
32647
32682
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
32648
32683
|
? contentHeight ?? initialContentHeight
|
|
32649
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
32684
|
+
: contentWidth ?? initialContentWidth, class: CSS$d.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
32650
32685
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32651
32686
|
ref: this.connectSeparator })) : null;
|
|
32652
32687
|
const getAnimationDir = () => {
|
|
@@ -32662,20 +32697,20 @@ class ShellPanel {
|
|
|
32662
32697
|
};
|
|
32663
32698
|
const contentNode = (hAsync("div", { class: {
|
|
32664
32699
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
32665
|
-
[CSS$
|
|
32666
|
-
[CSS$
|
|
32667
|
-
[CSS$
|
|
32700
|
+
[CSS$d.content]: true,
|
|
32701
|
+
[CSS$d.contentOverlay]: displayMode === "overlay",
|
|
32702
|
+
[CSS$d.contentFloat]: displayMode === "float",
|
|
32668
32703
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
32669
32704
|
[getAnimationDir()]: displayMode === "overlay"
|
|
32670
32705
|
}, hidden: collapsed, key: "content", style: style,
|
|
32671
32706
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32672
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
32673
|
-
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$
|
|
32707
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$d.contentBody }, hAsync("slot", null)), separatorNode));
|
|
32708
|
+
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
32674
32709
|
const mainNodes = [actionBarNode, contentNode];
|
|
32675
32710
|
if (position === "end") {
|
|
32676
32711
|
mainNodes.reverse();
|
|
32677
32712
|
}
|
|
32678
|
-
return hAsync("div", { class: { [CSS$
|
|
32713
|
+
return hAsync("div", { class: { [CSS$d.container]: true } }, mainNodes);
|
|
32679
32714
|
}
|
|
32680
32715
|
// --------------------------------------------------------------------------
|
|
32681
32716
|
//
|
|
@@ -32775,7 +32810,7 @@ class ShellPanel {
|
|
|
32775
32810
|
}; }
|
|
32776
32811
|
}
|
|
32777
32812
|
|
|
32778
|
-
const CSS$
|
|
32813
|
+
const CSS$c = {
|
|
32779
32814
|
handleLabel: "handle__label",
|
|
32780
32815
|
handleLabelMinValue: "handle__label--minValue",
|
|
32781
32816
|
handleLabelValue: "handle__label--value",
|
|
@@ -32973,8 +33008,8 @@ class Slider {
|
|
|
32973
33008
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
32974
33009
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
32975
33010
|
const valueIsRange = isRange(this.value);
|
|
32976
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
32977
|
-
const handleLabelValueClasses = `${CSS$
|
|
33011
|
+
const handleLabelMinValueClasses = `${CSS$c.handleLabel} ${CSS$c.handleLabelMinValue}`;
|
|
33012
|
+
const handleLabelValueClasses = `${CSS$c.handleLabel} ${CSS$c.handleLabelValue}`;
|
|
32978
33013
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
32979
33014
|
thumb: true,
|
|
32980
33015
|
"thumb--value": true,
|
|
@@ -33110,8 +33145,8 @@ class Slider {
|
|
|
33110
33145
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
33111
33146
|
const tickLabel = (hAsync("span", { class: {
|
|
33112
33147
|
tick__label: true,
|
|
33113
|
-
[CSS$
|
|
33114
|
-
[CSS$
|
|
33148
|
+
[CSS$c.tickMin]: isMinTickLabel,
|
|
33149
|
+
[CSS$c.tickMax]: isMaxTickLabel
|
|
33115
33150
|
} }, displayedTickValue));
|
|
33116
33151
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
33117
33152
|
return tickLabel;
|
|
@@ -33655,6 +33690,13 @@ class Slider {
|
|
|
33655
33690
|
}; }
|
|
33656
33691
|
}
|
|
33657
33692
|
|
|
33693
|
+
const CSS$b = {
|
|
33694
|
+
sortItem: "sort-item",
|
|
33695
|
+
container: "container",
|
|
33696
|
+
containerHorizontal: "container--horizontal",
|
|
33697
|
+
containerVertical: "container--vertical"
|
|
33698
|
+
};
|
|
33699
|
+
|
|
33658
33700
|
/**!
|
|
33659
33701
|
* Sortable 1.15.0
|
|
33660
33702
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -36675,12 +36717,54 @@ _extends(Remove, {
|
|
|
36675
36717
|
Sortable.mount(new AutoScrollPlugin());
|
|
36676
36718
|
Sortable.mount(Remove, Revert);
|
|
36677
36719
|
|
|
36678
|
-
const
|
|
36679
|
-
|
|
36680
|
-
|
|
36681
|
-
|
|
36682
|
-
|
|
36683
|
-
}
|
|
36720
|
+
const sortableComponentSet = new Set();
|
|
36721
|
+
const inactiveSortableComponentSet = new WeakSet();
|
|
36722
|
+
/**
|
|
36723
|
+
* Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
|
|
36724
|
+
*
|
|
36725
|
+
* @param {SortableComponent} component - The sortable component.
|
|
36726
|
+
* @param {SortableComponent} [options] - Sortable options object.
|
|
36727
|
+
*/
|
|
36728
|
+
function connectSortableComponent(component, options) {
|
|
36729
|
+
disconnectSortableComponent(component);
|
|
36730
|
+
sortableComponentSet.add(component);
|
|
36731
|
+
if (inactiveSortableComponentSet.has(component)) {
|
|
36732
|
+
return;
|
|
36733
|
+
}
|
|
36734
|
+
component.sortable = Sortable.create(component.el, options);
|
|
36735
|
+
}
|
|
36736
|
+
/**
|
|
36737
|
+
* Helper to remove track of a SortableComponent. This should be called in the `disconnectedCallback` lifecycle method.
|
|
36738
|
+
*
|
|
36739
|
+
* @param {SortableComponent} component - The sortable component.
|
|
36740
|
+
*/
|
|
36741
|
+
function disconnectSortableComponent(component) {
|
|
36742
|
+
sortableComponentSet.delete(component);
|
|
36743
|
+
if (inactiveSortableComponentSet.has(component)) {
|
|
36744
|
+
return;
|
|
36745
|
+
}
|
|
36746
|
+
component.sortable?.destroy();
|
|
36747
|
+
component.sortable = null;
|
|
36748
|
+
}
|
|
36749
|
+
function getNestedSortableComponents(activeComponent) {
|
|
36750
|
+
return Array.from(sortableComponentSet).filter((component) => component !== activeComponent && containsCrossShadowBoundary(activeComponent.el, component.el));
|
|
36751
|
+
}
|
|
36752
|
+
/**
|
|
36753
|
+
* Helper to handle nested SortableComponents on `Sortable.onStart`.
|
|
36754
|
+
*
|
|
36755
|
+
* @param {SortableComponent} activeComponent - The active sortable component.
|
|
36756
|
+
*/
|
|
36757
|
+
function onSortingStart(activeComponent) {
|
|
36758
|
+
getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.add(component));
|
|
36759
|
+
}
|
|
36760
|
+
/**
|
|
36761
|
+
* Helper to handle nested SortableComponents on `Sortable.onEnd`.
|
|
36762
|
+
*
|
|
36763
|
+
* @param {SortableComponent} activeComponent - The active sortable component.
|
|
36764
|
+
*/
|
|
36765
|
+
function onSortingEnd(activeComponent) {
|
|
36766
|
+
getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.delete(component));
|
|
36767
|
+
}
|
|
36684
36768
|
|
|
36685
36769
|
const sortableListCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-sortable-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-sortable-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-sortable-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-sortable-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-sortable-list{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-sortable-list{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-sortable-list{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-sortable-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-sortable-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-sortable-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-sortable-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-sortable-list-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-sortable-list-h *.sc-calcite-sortable-list,.sc-calcite-sortable-list-h[disabled] .sc-calcite-sortable-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-sortable-list-h{display:flex}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-sortable-list-h[disabled] .sc-calcite-sortable-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-sortable-list-h [calcite-hydrated][disabled].sc-calcite-sortable-list{opacity:1}/*!@.container*/.container.sc-calcite-sortable-list{display:flex;flex:1 1 auto}/*!@.container--vertical*/.container--vertical.sc-calcite-sortable-list{flex-direction:column}/*!@.container--horizontal*/.container--horizontal.sc-calcite-sortable-list{flex-direction:row}";
|
|
36686
36770
|
|
|
@@ -36699,7 +36783,6 @@ class SortableList {
|
|
|
36699
36783
|
this.layout = "vertical";
|
|
36700
36784
|
this.disabled = false;
|
|
36701
36785
|
this.loading = false;
|
|
36702
|
-
this.handleActivated = false;
|
|
36703
36786
|
}
|
|
36704
36787
|
// --------------------------------------------------------------------------
|
|
36705
36788
|
//
|
|
@@ -36707,13 +36790,12 @@ class SortableList {
|
|
|
36707
36790
|
//
|
|
36708
36791
|
// --------------------------------------------------------------------------
|
|
36709
36792
|
connectedCallback() {
|
|
36710
|
-
this.
|
|
36711
|
-
this.setUpDragAndDrop();
|
|
36793
|
+
this.setUpSorting();
|
|
36712
36794
|
this.beginObserving();
|
|
36713
36795
|
}
|
|
36714
36796
|
disconnectedCallback() {
|
|
36715
|
-
this
|
|
36716
|
-
this.
|
|
36797
|
+
disconnectSortableComponent(this);
|
|
36798
|
+
this.endObserving();
|
|
36717
36799
|
}
|
|
36718
36800
|
componentDidRender() {
|
|
36719
36801
|
updateHostInteraction(this);
|
|
@@ -36728,7 +36810,9 @@ class SortableList {
|
|
|
36728
36810
|
// --------------------------------------------------------------------------
|
|
36729
36811
|
handleNudgeEvent(event) {
|
|
36730
36812
|
const { direction } = event.detail;
|
|
36731
|
-
const handle = event
|
|
36813
|
+
const handle = event
|
|
36814
|
+
.composedPath()
|
|
36815
|
+
.find((el) => el.matches(this.handleSelector));
|
|
36732
36816
|
const sortItem = this.items.find((item) => {
|
|
36733
36817
|
return item.contains(handle) || event.composedPath().includes(item);
|
|
36734
36818
|
});
|
|
@@ -36755,7 +36839,7 @@ class SortableList {
|
|
|
36755
36839
|
buddyIndex = startingIndex + 2;
|
|
36756
36840
|
}
|
|
36757
36841
|
}
|
|
36758
|
-
this.
|
|
36842
|
+
this.endObserving();
|
|
36759
36843
|
if (appendInstead) {
|
|
36760
36844
|
sortItem.parentElement.appendChild(sortItem);
|
|
36761
36845
|
}
|
|
@@ -36763,42 +36847,43 @@ class SortableList {
|
|
|
36763
36847
|
sortItem.parentElement.insertBefore(sortItem, this.items[buddyIndex]);
|
|
36764
36848
|
}
|
|
36765
36849
|
this.items = Array.from(this.el.children);
|
|
36766
|
-
handle.activated = true;
|
|
36767
|
-
handle.setFocus();
|
|
36768
36850
|
this.beginObserving();
|
|
36851
|
+
requestAnimationFrame(() => focusElement(handle));
|
|
36852
|
+
if ("activated" in handle) {
|
|
36853
|
+
handle.activated = true;
|
|
36854
|
+
}
|
|
36769
36855
|
}
|
|
36770
|
-
|
|
36771
|
-
this
|
|
36772
|
-
|
|
36856
|
+
setUpSorting() {
|
|
36857
|
+
const { dragSelector, group, handleSelector } = this;
|
|
36858
|
+
this.items = Array.from(this.el.children);
|
|
36859
|
+
const sortableOptions = {
|
|
36773
36860
|
dataIdAttr: "id",
|
|
36774
|
-
group
|
|
36775
|
-
handle:
|
|
36776
|
-
// Changed sorting within list
|
|
36777
|
-
onUpdate: () => {
|
|
36778
|
-
this.items = Array.from(this.el.children);
|
|
36779
|
-
this.calciteListOrderChange.emit();
|
|
36780
|
-
},
|
|
36781
|
-
// Element dragging started
|
|
36861
|
+
group,
|
|
36862
|
+
handle: handleSelector,
|
|
36782
36863
|
onStart: () => {
|
|
36783
|
-
this.
|
|
36864
|
+
this.endObserving();
|
|
36865
|
+
onSortingStart(this);
|
|
36784
36866
|
},
|
|
36785
|
-
// Element dragging ended
|
|
36786
36867
|
onEnd: () => {
|
|
36868
|
+
onSortingEnd(this);
|
|
36787
36869
|
this.beginObserving();
|
|
36870
|
+
},
|
|
36871
|
+
onUpdate: () => {
|
|
36872
|
+
this.items = Array.from(this.el.children);
|
|
36873
|
+
this.calciteListOrderChange.emit();
|
|
36788
36874
|
}
|
|
36789
36875
|
};
|
|
36790
|
-
if (
|
|
36791
|
-
|
|
36876
|
+
if (dragSelector) {
|
|
36877
|
+
sortableOptions.draggable = dragSelector;
|
|
36792
36878
|
}
|
|
36793
|
-
|
|
36794
|
-
}
|
|
36795
|
-
cleanUpDragAndDrop() {
|
|
36796
|
-
this.sortable?.destroy();
|
|
36797
|
-
this.sortable = null;
|
|
36879
|
+
connectSortableComponent(this, sortableOptions);
|
|
36798
36880
|
}
|
|
36799
36881
|
beginObserving() {
|
|
36800
36882
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
36801
36883
|
}
|
|
36884
|
+
endObserving() {
|
|
36885
|
+
this.mutationObserver?.disconnect();
|
|
36886
|
+
}
|
|
36802
36887
|
// --------------------------------------------------------------------------
|
|
36803
36888
|
//
|
|
36804
36889
|
// Render Methods
|
|
@@ -36808,9 +36893,9 @@ class SortableList {
|
|
|
36808
36893
|
const { layout } = this;
|
|
36809
36894
|
const horizontal = layout === "horizontal" || false;
|
|
36810
36895
|
return (hAsync("div", { class: {
|
|
36811
|
-
[CSS$
|
|
36812
|
-
[CSS$
|
|
36813
|
-
[CSS$
|
|
36896
|
+
[CSS$b.container]: true,
|
|
36897
|
+
[CSS$b.containerVertical]: !horizontal,
|
|
36898
|
+
[CSS$b.containerHorizontal]: horizontal
|
|
36814
36899
|
} }, hAsync("slot", null)));
|
|
36815
36900
|
}
|
|
36816
36901
|
get el() { return getElement(this); }
|
|
@@ -36824,8 +36909,7 @@ class SortableList {
|
|
|
36824
36909
|
"handleSelector": [513, "handle-selector"],
|
|
36825
36910
|
"layout": [513],
|
|
36826
36911
|
"disabled": [516],
|
|
36827
|
-
"loading": [516]
|
|
36828
|
-
"handleActivated": [32]
|
|
36912
|
+
"loading": [516]
|
|
36829
36913
|
},
|
|
36830
36914
|
"$listeners$": [[0, "calciteHandleNudge", "calciteHandleNudgeNextHandler"]],
|
|
36831
36915
|
"$lazyBundleId$": "-",
|
|
@@ -36833,7 +36917,7 @@ class SortableList {
|
|
|
36833
36917
|
}; }
|
|
36834
36918
|
}
|
|
36835
36919
|
|
|
36836
|
-
const CSS$
|
|
36920
|
+
const CSS$a = {
|
|
36837
36921
|
container: "split-button__container",
|
|
36838
36922
|
dividerContainer: "split-button__divider-container",
|
|
36839
36923
|
divider: "split-button__divider",
|
|
@@ -36906,13 +36990,13 @@ class SplitButton {
|
|
|
36906
36990
|
}
|
|
36907
36991
|
render() {
|
|
36908
36992
|
const widthClasses = {
|
|
36909
|
-
[CSS$
|
|
36910
|
-
[CSS$
|
|
36911
|
-
[CSS$
|
|
36912
|
-
[CSS$
|
|
36993
|
+
[CSS$a.container]: true,
|
|
36994
|
+
[CSS$a.widthAuto]: this.width === "auto",
|
|
36995
|
+
[CSS$a.widthHalf]: this.width === "half",
|
|
36996
|
+
[CSS$a.widthFull]: this.width === "full"
|
|
36913
36997
|
};
|
|
36914
36998
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
36915
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
36999
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$a.dividerContainer }, hAsync("div", { class: CSS$a.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
36916
37000
|
}
|
|
36917
37001
|
get dropdownIcon() {
|
|
36918
37002
|
return this.dropdownIconType === "chevron"
|
|
@@ -36957,6 +37041,100 @@ class SplitButton {
|
|
|
36957
37041
|
}; }
|
|
36958
37042
|
}
|
|
36959
37043
|
|
|
37044
|
+
const CSS$9 = {
|
|
37045
|
+
container: "container",
|
|
37046
|
+
actionsStart: "actions-start",
|
|
37047
|
+
contentStart: "content-start",
|
|
37048
|
+
content: "content",
|
|
37049
|
+
contentEnd: "content-end",
|
|
37050
|
+
actionsEnd: "actions-end"
|
|
37051
|
+
};
|
|
37052
|
+
const SLOTS$6 = {
|
|
37053
|
+
actionsStart: "actions-start",
|
|
37054
|
+
contentStart: "content-start",
|
|
37055
|
+
contentEnd: "content-end",
|
|
37056
|
+
actionsEnd: "actions-end"
|
|
37057
|
+
};
|
|
37058
|
+
|
|
37059
|
+
const stackCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-stack:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-stack{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-stack{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stack{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stack{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-stack{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-stack{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stack{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-stack:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-stack:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-stack-h{display:none}/*!@:host([disabled]) .content*/[disabled].sc-calcite-stack-h .content.sc-calcite-stack{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .content *,\n:host([disabled]) .content ::slotted(*)*/[disabled].sc-calcite-stack-h .content.sc-calcite-stack *.sc-calcite-stack,.sc-calcite-stack-h[disabled] .content .sc-calcite-stack-s>*{pointer-events:none}/*!@:host*/.sc-calcite-stack-h{display:flex;flex:1 1 0%;flex-direction:column}/*!@.container*/.container.sc-calcite-stack{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@.content*/.content.sc-calcite-stack{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}/*!@.content-start*/.content-start.sc-calcite-stack{justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-stack{justify-content:flex-end}/*!@.content-start,\n.content-end*/.content-start.sc-calcite-stack,.content-end.sc-calcite-stack{flex:0 1 auto}/*!@.actions-start,\n.actions-end,\n.content-start,\n.content-end*/.actions-start.sc-calcite-stack,.actions-end.sc-calcite-stack,.content-start.sc-calcite-stack,.content-end.sc-calcite-stack{display:flex;align-items:center}/*!@.content-start ::slotted(calcite-icon),\n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-stack-s>calcite-icon,.content-end .sc-calcite-stack-s>calcite-icon{margin-inline:0.75rem;align-self:center}/*!@.actions-start ::slotted(calcite-action),\n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-stack-s>calcite-action,.actions-end .sc-calcite-stack-s>calcite-action{align-self:stretch;color:inherit}/*!@[hidden]*/[hidden].sc-calcite-stack{display:none}";
|
|
37060
|
+
|
|
37061
|
+
/**
|
|
37062
|
+
* @slot - A slot for adding content.
|
|
37063
|
+
* @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the component.
|
|
37064
|
+
* @slot content-start - A slot for adding non-actionable elements before content of the component.
|
|
37065
|
+
* @slot content-end - A slot for adding non-actionable elements after content of the component.
|
|
37066
|
+
* @slot actions-end - A slot for adding actionable `calcite-action` elements after the content of the component.
|
|
37067
|
+
*/
|
|
37068
|
+
class Stack {
|
|
37069
|
+
constructor(hostRef) {
|
|
37070
|
+
registerInstance(this, hostRef);
|
|
37071
|
+
// --------------------------------------------------------------------------
|
|
37072
|
+
//
|
|
37073
|
+
// Private Methods
|
|
37074
|
+
//
|
|
37075
|
+
// --------------------------------------------------------------------------
|
|
37076
|
+
this.handleActionsStartSlotChange = (event) => {
|
|
37077
|
+
this.hasActionsStart = slotChangeHasAssignedElement(event);
|
|
37078
|
+
};
|
|
37079
|
+
this.handleActionsEndSlotChange = (event) => {
|
|
37080
|
+
this.hasActionsEnd = slotChangeHasAssignedElement(event);
|
|
37081
|
+
};
|
|
37082
|
+
this.handleContentStartSlotChange = (event) => {
|
|
37083
|
+
this.hasContentStart = slotChangeHasAssignedElement(event);
|
|
37084
|
+
};
|
|
37085
|
+
this.handleContentEndSlotChange = (event) => {
|
|
37086
|
+
this.hasContentEnd = slotChangeHasAssignedElement(event);
|
|
37087
|
+
};
|
|
37088
|
+
this.disabled = false;
|
|
37089
|
+
this.hasActionsStart = false;
|
|
37090
|
+
this.hasActionsEnd = false;
|
|
37091
|
+
this.hasContentStart = false;
|
|
37092
|
+
this.hasContentEnd = false;
|
|
37093
|
+
}
|
|
37094
|
+
// --------------------------------------------------------------------------
|
|
37095
|
+
//
|
|
37096
|
+
// Render Methods
|
|
37097
|
+
//
|
|
37098
|
+
// --------------------------------------------------------------------------
|
|
37099
|
+
renderActionsStart() {
|
|
37100
|
+
const { hasActionsStart } = this;
|
|
37101
|
+
return (hAsync("div", { class: CSS$9.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$6.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
37102
|
+
}
|
|
37103
|
+
renderActionsEnd() {
|
|
37104
|
+
const { hasActionsEnd } = this;
|
|
37105
|
+
return (hAsync("div", { class: CSS$9.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$6.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
37106
|
+
}
|
|
37107
|
+
renderContentStart() {
|
|
37108
|
+
const { hasContentStart } = this;
|
|
37109
|
+
return (hAsync("div", { class: CSS$9.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$6.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
37110
|
+
}
|
|
37111
|
+
renderDefaultContent() {
|
|
37112
|
+
return (hAsync("div", { class: CSS$9.content }, hAsync("slot", null)));
|
|
37113
|
+
}
|
|
37114
|
+
renderContentEnd() {
|
|
37115
|
+
const { hasContentEnd } = this;
|
|
37116
|
+
return (hAsync("div", { class: CSS$9.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$6.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
37117
|
+
}
|
|
37118
|
+
render() {
|
|
37119
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$9.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
37120
|
+
}
|
|
37121
|
+
static get style() { return stackCss; }
|
|
37122
|
+
static get cmpMeta() { return {
|
|
37123
|
+
"$flags$": 9,
|
|
37124
|
+
"$tagName$": "calcite-stack",
|
|
37125
|
+
"$members$": {
|
|
37126
|
+
"disabled": [516],
|
|
37127
|
+
"hasActionsStart": [32],
|
|
37128
|
+
"hasActionsEnd": [32],
|
|
37129
|
+
"hasContentStart": [32],
|
|
37130
|
+
"hasContentEnd": [32]
|
|
37131
|
+
},
|
|
37132
|
+
"$listeners$": undefined,
|
|
37133
|
+
"$lazyBundleId$": "-",
|
|
37134
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
37135
|
+
}; }
|
|
37136
|
+
}
|
|
37137
|
+
|
|
36960
37138
|
const stepperCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-stepper:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-stepper{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-stepper{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stepper{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stepper{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-stepper{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-stepper{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stepper{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-stepper:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-stepper:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-h{display:none}/*!@:host*/.sc-calcite-stepper-h{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-stepper-h{flex:1 1 auto;flex-direction:column}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-stepper-h{display:grid;grid-template-areas:\"items\" \"content\"}";
|
|
36961
37139
|
|
|
36962
37140
|
/**
|
|
@@ -38023,7 +38201,8 @@ class TabTitle {
|
|
|
38023
38201
|
const payload = { tab: this.tab };
|
|
38024
38202
|
this.calciteInternalTabsActivate.emit(payload);
|
|
38025
38203
|
if (userTriggered) {
|
|
38026
|
-
|
|
38204
|
+
// emit in the next frame to let internal events sync up
|
|
38205
|
+
requestAnimationFrame(() => this.calciteTabsActivate.emit());
|
|
38027
38206
|
}
|
|
38028
38207
|
}
|
|
38029
38208
|
get el() { return getElement(this); }
|
|
@@ -40951,7 +41130,7 @@ class ValueList {
|
|
|
40951
41130
|
}
|
|
40952
41131
|
this.items = this.getItems();
|
|
40953
41132
|
this.calciteListOrderChange.emit(this.items.map(({ value }) => value));
|
|
40954
|
-
requestAnimationFrame(() => handle
|
|
41133
|
+
requestAnimationFrame(() => focusElement(handle));
|
|
40955
41134
|
item.handleActivated = true;
|
|
40956
41135
|
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "change", this));
|
|
40957
41136
|
};
|
|
@@ -40998,6 +41177,7 @@ class ValueList {
|
|
|
40998
41177
|
connectMessages(this);
|
|
40999
41178
|
initialize.call(this);
|
|
41000
41179
|
initializeObserver.call(this);
|
|
41180
|
+
this.setUpSorting();
|
|
41001
41181
|
}
|
|
41002
41182
|
async componentWillLoad() {
|
|
41003
41183
|
setUpLoadableComponent(this);
|
|
@@ -41005,17 +41185,16 @@ class ValueList {
|
|
|
41005
41185
|
}
|
|
41006
41186
|
componentDidLoad() {
|
|
41007
41187
|
setComponentLoaded(this);
|
|
41008
|
-
this.setUpDragAndDrop();
|
|
41009
41188
|
handleInitialFilter.call(this);
|
|
41010
41189
|
}
|
|
41011
41190
|
componentDidRender() {
|
|
41012
41191
|
updateHostInteraction(this);
|
|
41013
41192
|
}
|
|
41014
41193
|
disconnectedCallback() {
|
|
41194
|
+
disconnectSortableComponent(this);
|
|
41015
41195
|
disconnectLocalized(this);
|
|
41016
41196
|
disconnectMessages(this);
|
|
41017
41197
|
cleanUpObserver.call(this);
|
|
41018
|
-
this.cleanUpDragAndDrop();
|
|
41019
41198
|
}
|
|
41020
41199
|
calciteListFocusOutHandler(event) {
|
|
41021
41200
|
calciteListFocusOutHandler.call(this, event);
|
|
@@ -41044,33 +41223,38 @@ class ValueList {
|
|
|
41044
41223
|
}
|
|
41045
41224
|
setUpItems() {
|
|
41046
41225
|
setUpItems.call(this, "calcite-value-list-item");
|
|
41226
|
+
this.setUpSorting();
|
|
41047
41227
|
}
|
|
41048
41228
|
setUpFilter() {
|
|
41049
41229
|
if (this.filterEnabled) {
|
|
41050
41230
|
this.dataForFilter = this.getItemData();
|
|
41051
41231
|
}
|
|
41052
41232
|
}
|
|
41053
|
-
|
|
41054
|
-
this
|
|
41055
|
-
if (!
|
|
41233
|
+
setUpSorting() {
|
|
41234
|
+
const { dragEnabled, group } = this;
|
|
41235
|
+
if (!dragEnabled) {
|
|
41056
41236
|
return;
|
|
41057
41237
|
}
|
|
41058
|
-
|
|
41238
|
+
connectSortableComponent(this, {
|
|
41059
41239
|
dataIdAttr: "id",
|
|
41240
|
+
group,
|
|
41060
41241
|
handle: `.${CSS.handle}`,
|
|
41061
41242
|
draggable: "calcite-value-list-item",
|
|
41062
|
-
|
|
41063
|
-
|
|
41243
|
+
onStart: () => {
|
|
41244
|
+
cleanUpObserver.call(this);
|
|
41245
|
+
onSortingStart(this);
|
|
41246
|
+
},
|
|
41247
|
+
onEnd: () => {
|
|
41248
|
+
onSortingEnd(this);
|
|
41249
|
+
initializeObserver.call(this);
|
|
41250
|
+
},
|
|
41251
|
+
onUpdate: () => {
|
|
41064
41252
|
this.items = Array.from(this.el.querySelectorAll("calcite-value-list-item"));
|
|
41065
41253
|
const values = this.items.map((item) => item.value);
|
|
41066
41254
|
this.calciteListOrderChange.emit(values);
|
|
41067
41255
|
}
|
|
41068
41256
|
});
|
|
41069
41257
|
}
|
|
41070
|
-
cleanUpDragAndDrop() {
|
|
41071
|
-
this.sortable?.destroy();
|
|
41072
|
-
this.sortable = null;
|
|
41073
|
-
}
|
|
41074
41258
|
handleBlur() {
|
|
41075
41259
|
if (this.dragEnabled) {
|
|
41076
41260
|
this.updateScreenReaderText("");
|
|
@@ -41264,19 +41448,19 @@ class ValueListItem {
|
|
|
41264
41448
|
renderActionsEnd() {
|
|
41265
41449
|
const { el } = this;
|
|
41266
41450
|
const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);
|
|
41267
|
-
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$
|
|
41451
|
+
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$b.actionsEnd })) : null;
|
|
41268
41452
|
}
|
|
41269
41453
|
renderActionsStart() {
|
|
41270
41454
|
const { el } = this;
|
|
41271
41455
|
const hasActionsStart = getSlotted(el, SLOTS.actionsStart);
|
|
41272
|
-
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$
|
|
41456
|
+
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$b.actionsStart })) : null;
|
|
41273
41457
|
}
|
|
41274
41458
|
renderHandle() {
|
|
41275
41459
|
const { icon, iconFlipRtl } = this;
|
|
41276
41460
|
if (icon === ICON_TYPES$1.grip) {
|
|
41277
41461
|
return (hAsync("span", { class: {
|
|
41278
|
-
[CSS$
|
|
41279
|
-
[CSS$
|
|
41462
|
+
[CSS$m.handle]: true,
|
|
41463
|
+
[CSS$m.handleActivated]: this.handleActivated
|
|
41280
41464
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
41281
41465
|
}
|
|
41282
41466
|
}
|
|
@@ -41388,6 +41572,7 @@ registerComponents([
|
|
|
41388
41572
|
Slider,
|
|
41389
41573
|
SortableList,
|
|
41390
41574
|
SplitButton,
|
|
41575
|
+
Stack,
|
|
41391
41576
|
Stepper,
|
|
41392
41577
|
StepperItem,
|
|
41393
41578
|
Switch,
|