@esri/calcite-components 2.11.0-next.21 → 2.11.0-next.23
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/action-bar/t9n/messages_ar.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_bg.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_bs.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_ca.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_cs.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_da.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_de.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_el.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_es.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_et.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_fi.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_fr.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_he.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_hr.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_hu.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_id.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_it.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_ja.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_ko.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_lt.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_lv.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_nl.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_no.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_pl.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_pt-BR.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_pt-PT.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_ro.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_ru.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_sk.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_sl.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_sr.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_sv.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_th.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_tr.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_uk.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_vi.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_zh-CN.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_zh-HK.json +3 -1
- package/dist/calcite/assets/action-bar/t9n/messages_zh-TW.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ar.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_bg.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_bs.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ca.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_cs.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_da.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_de.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_el.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_es.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_et.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_fi.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_fr.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_he.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_hr.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_hu.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_id.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_it.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ja.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ko.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_lt.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_lv.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_nl.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_no.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_pl.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_pt-BR.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_pt-PT.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ro.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_ru.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_sk.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_sl.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_sr.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_sv.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_th.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_tr.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_uk.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_vi.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_zh-CN.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_zh-HK.json +3 -1
- package/dist/calcite/assets/action-pad/t9n/messages_zh-TW.json +3 -1
- package/dist/calcite/assets/date-picker/t9n/messages_ar.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bg.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bs.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ca.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_cs.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_da.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_de.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_el.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_es.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_et.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fi.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fr.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_he.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hr.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hu.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_id.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_it.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ja.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ko.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lt.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lv.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_nl.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_no.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pl.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ro.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ru.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sk.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sl.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sr.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sv.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_th.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_tr.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_uk.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_vi.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +2 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +2 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-02c10038.entry.js +7 -0
- package/dist/calcite/p-0707d636.js +7 -0
- package/dist/calcite/p-0707d636.js.map +1 -0
- package/dist/calcite/p-072d047f.js +7 -0
- package/dist/calcite/p-09274940.entry.js +7 -0
- package/dist/calcite/p-097123a1.entry.js +7 -0
- package/dist/calcite/p-0c87a514.entry.js +7 -0
- package/dist/calcite/p-0c93d8b1.entry.js +7 -0
- package/dist/calcite/p-0d59d261.entry.js +7 -0
- package/dist/calcite/p-0db2e957.entry.js +7 -0
- package/dist/calcite/p-0f337dab.js +7 -0
- package/dist/calcite/p-10a2d40a.js +7 -0
- package/dist/calcite/p-127e971d.js +7 -0
- package/dist/calcite/p-135cac88.entry.js +7 -0
- package/dist/calcite/p-14f95807.js +7 -0
- package/dist/calcite/p-15f4f2d3.entry.js +7 -0
- package/dist/calcite/p-1925eeb3.js +7 -0
- package/dist/calcite/p-1a67e6b6.js +7 -0
- package/dist/calcite/p-1d7a743d.entry.js +7 -0
- package/dist/calcite/p-2037c1f9.js +7 -0
- package/dist/calcite/p-23a6576f.entry.js +7 -0
- package/dist/calcite/p-248e8536.js +7 -0
- package/dist/calcite/p-26915e82.entry.js +7 -0
- package/dist/calcite/p-2767f613.js +7 -0
- package/dist/calcite/p-29c56958.entry.js +7 -0
- package/dist/calcite/p-2a9fb9e8.entry.js +7 -0
- package/dist/calcite/p-2e39dbd6.entry.js +7 -0
- package/dist/calcite/p-30962efe.js +7 -0
- package/dist/calcite/p-31e39e24.js +7 -0
- package/dist/calcite/p-31fdf7a2.js +7 -0
- package/dist/calcite/p-342f6f9b.js +7 -0
- package/dist/calcite/p-35178985.entry.js +7 -0
- package/dist/calcite/p-3767b7de.entry.js +7 -0
- package/dist/calcite/p-3ad50e06.entry.js +7 -0
- package/dist/calcite/p-3c1868dd.entry.js +7 -0
- package/dist/calcite/p-3c335899.js +7 -0
- package/dist/calcite/p-3dc042f4.js +7 -0
- package/dist/calcite/p-4082a9ea.js +7 -0
- package/dist/calcite/p-42781de1.entry.js +7 -0
- package/dist/calcite/p-435470c9.js +7 -0
- package/dist/calcite/p-440dc3e2.js +7 -0
- package/dist/calcite/p-453e0c30.js +7 -0
- package/dist/calcite/p-459ac278.js +7 -0
- package/dist/calcite/p-46bee713.entry.js +7 -0
- package/dist/calcite/p-48ec8617.js +7 -0
- package/dist/calcite/p-4d88aaa8.js +7 -0
- package/dist/calcite/p-4dfe191d.entry.js +7 -0
- package/dist/calcite/p-4dfe191d.entry.js.map +1 -0
- package/dist/calcite/p-4e6e891e.js +7 -0
- package/dist/calcite/p-4fada18f.entry.js +7 -0
- package/dist/calcite/p-510c4711.entry.js +7 -0
- package/dist/calcite/p-519e1e25.entry.js +7 -0
- package/dist/calcite/p-51a1bedb.entry.js +7 -0
- package/dist/calcite/p-51a57100.entry.js +7 -0
- package/dist/calcite/p-54151a52.js +7 -0
- package/dist/calcite/p-54a55ecc.js +7 -0
- package/dist/calcite/p-551eaa39.entry.js +7 -0
- package/dist/calcite/p-56eba95c.entry.js +7 -0
- package/dist/calcite/p-581201f2.js +7 -0
- package/dist/calcite/p-5881fa17.entry.js +7 -0
- package/dist/calcite/p-5881fa17.entry.js.map +1 -0
- package/dist/calcite/p-58d68b22.entry.js +7 -0
- package/dist/calcite/p-58d9ef7e.js +7 -0
- package/dist/calcite/p-59c099e0.js +12 -0
- package/dist/calcite/p-5dd1fc25.entry.js +7 -0
- package/dist/calcite/p-5def2a4e.js +7 -0
- package/dist/calcite/p-5ed63e40.js +7 -0
- package/dist/calcite/p-61a6479b.js +7 -0
- package/dist/calcite/p-6287e801.entry.js +7 -0
- package/dist/calcite/p-62a322f2.entry.js +7 -0
- package/dist/calcite/p-62d1b195.js +7 -0
- package/dist/calcite/p-637d80d4.entry.js +7 -0
- package/dist/calcite/p-652487bc.entry.js +7 -0
- package/dist/calcite/p-657d551f.js +7 -0
- package/dist/calcite/p-6591444f.entry.js +7 -0
- package/dist/calcite/p-672e9c27.js +7 -0
- package/dist/calcite/p-68b5bfb6.js +7 -0
- package/dist/calcite/p-6a3df3e5.entry.js +7 -0
- package/dist/calcite/p-6b3d7fdb.entry.js +7 -0
- package/dist/calcite/p-6b7a136f.entry.js +7 -0
- package/dist/calcite/p-6d1036ae.js +7 -0
- package/dist/calcite/p-73e12d8e.entry.js +7 -0
- package/dist/calcite/p-77bda5a6.js +7 -0
- package/dist/calcite/p-7b6bbeb3.js +7 -0
- package/dist/calcite/p-7cbeab05.js +7 -0
- package/dist/calcite/p-7e1498a9.entry.js +7 -0
- package/dist/calcite/p-7f305814.js +7 -0
- package/dist/calcite/p-7fe8e32d.entry.js +7 -0
- package/dist/calcite/p-823c589e.js +7 -0
- package/dist/calcite/p-82e06ac3.js +7 -0
- package/dist/calcite/p-85ecf169.entry.js +7 -0
- package/dist/calcite/p-86c25cc2.entry.js +7 -0
- package/dist/calcite/p-872e22a9.js +7 -0
- package/dist/calcite/p-88040ad5.js +7 -0
- package/dist/calcite/p-8833aaa6.entry.js +7 -0
- package/dist/calcite/p-8a31f622.entry.js +7 -0
- package/dist/calcite/p-8a33be1b.js +7 -0
- package/dist/calcite/p-8c31bb39.js +7 -0
- package/dist/calcite/p-8ca5cb4b.js +7 -0
- package/dist/calcite/p-8dde9f61.entry.js +7 -0
- package/dist/calcite/p-8def2166.js +7 -0
- package/dist/calcite/p-8e85901d.js +7 -0
- package/dist/calcite/p-8e8d939e.entry.js +7 -0
- package/dist/calcite/p-90726b1b.js +7 -0
- package/dist/calcite/p-91b0f9e8.js +7 -0
- package/dist/calcite/p-91d14fd0.js +7 -0
- package/dist/calcite/p-93fec454.entry.js +7 -0
- package/dist/calcite/p-97e46d38.entry.js +7 -0
- package/dist/calcite/p-99376704.js +7 -0
- package/dist/calcite/p-9e7773ba.entry.js +7 -0
- package/dist/calcite/p-a7bcc06b.js +7 -0
- package/dist/calcite/p-a7e82efc.js +7 -0
- package/dist/calcite/p-a8e44e26.js +7 -0
- package/dist/calcite/p-a96a9b3a.entry.js +7 -0
- package/dist/calcite/p-a96a9b3a.entry.js.map +1 -0
- package/dist/calcite/p-ae40f50a.entry.js +7 -0
- package/dist/calcite/p-b0abed55.js +7 -0
- package/dist/calcite/p-b0be3940.js +13 -0
- package/dist/calcite/p-b274244f.js +7 -0
- package/dist/calcite/p-b31b39e5.js +7 -0
- package/dist/calcite/p-b438d2f6.js +7 -0
- package/dist/calcite/p-b54b9358.js +7 -0
- package/dist/calcite/p-ba1dcdbd.entry.js +7 -0
- package/dist/calcite/p-ba2496c3.entry.js +7 -0
- package/dist/calcite/p-ba5ade66.js +7 -0
- package/dist/calcite/p-bd906db5.entry.js +7 -0
- package/dist/calcite/p-bfc7081e.js +7 -0
- package/dist/calcite/p-c214936b.js +7 -0
- package/dist/calcite/p-c2508256.entry.js +7 -0
- package/dist/calcite/p-c535820b.entry.js +7 -0
- package/dist/calcite/p-c7f5ad76.js +7 -0
- package/dist/calcite/p-c8098bf0.entry.js +7 -0
- package/dist/calcite/p-c80b30f1.js +7 -0
- package/dist/calcite/p-c9ed2b27.js +7 -0
- package/dist/calcite/p-ca4666f4.entry.js +7 -0
- package/dist/calcite/p-cb0379fa.js +7 -0
- package/dist/calcite/p-cbd30c0e.js +7 -0
- package/dist/calcite/p-cc2b5a32.entry.js +7 -0
- package/dist/calcite/p-cc3b323d.js +7 -0
- package/dist/calcite/p-cdf45b6e.entry.js +7 -0
- package/dist/calcite/p-cf8a0e9b.entry.js +7 -0
- package/dist/calcite/p-d64a323d.js +7 -0
- package/dist/calcite/p-d8995b59.js +7 -0
- package/dist/calcite/p-d9895327.js +7 -0
- package/dist/calcite/p-d9d71fb1.js +7 -0
- package/dist/calcite/p-d9feda84.js +7 -0
- package/dist/calcite/p-db23b635.js +8 -0
- package/dist/calcite/p-dc80eead.entry.js +7 -0
- package/dist/calcite/p-dc80eead.entry.js.map +1 -0
- package/dist/calcite/p-dde35a87.entry.js +7 -0
- package/dist/calcite/p-df427464.js +11 -0
- package/dist/calcite/p-e0df786c.js +7 -0
- package/dist/calcite/p-e2f800a9.entry.js +7 -0
- package/dist/calcite/p-e2f800a9.entry.js.map +1 -0
- package/dist/calcite/p-e3a046ae.js +7 -0
- package/dist/calcite/p-e558740e.js +7 -0
- package/dist/calcite/p-e8286f11.entry.js +7 -0
- package/dist/calcite/p-e9adcf13.js +7 -0
- package/dist/calcite/p-eaed748e.entry.js +7 -0
- package/dist/calcite/p-eb015a1a.js +7 -0
- package/dist/calcite/p-eb015a1a.js.map +1 -0
- package/dist/calcite/p-eb140766.entry.js +7 -0
- package/dist/calcite/p-f04e2c16.entry.js +7 -0
- package/dist/calcite/p-f23cf681.js +7 -0
- package/dist/calcite/p-f2cd9ed3.js +7 -0
- package/dist/calcite/p-f61cb332.js +7 -0
- package/dist/calcite/p-f64741b0.js +7 -0
- package/dist/calcite/p-faa6c364.js +7 -0
- package/dist/calcite/p-fad5e65e.js +7 -0
- package/dist/calcite/p-fbd62e4d.entry.js +7 -0
- package/dist/calcite/p-fbe671fc.js +7 -0
- package/dist/calcite/p-fc69a2c1.entry.js +7 -0
- package/dist/calcite/p-fcd70a76.entry.js +7 -0
- package/dist/calcite/p-fd85ef0c.js +7 -0
- package/dist/cjs/ExpandToggle-77889acd.js +109 -0
- package/dist/cjs/ExpandToggle-77889acd.js.map +1 -0
- package/dist/cjs/FloatingArrow-de1a3420.js +47 -0
- package/dist/cjs/FloatingArrow-de1a3420.js.map +1 -0
- package/dist/cjs/Heading-7becf68b.js +22 -0
- package/dist/cjs/Heading-7becf68b.js.map +1 -0
- package/dist/cjs/Validation-4656a218.js +18 -0
- package/dist/cjs/Validation-4656a218.js.map +1 -0
- package/dist/cjs/app-globals-6688aee5.js +63 -0
- package/dist/cjs/app-globals-6688aee5.js.map +1 -0
- package/dist/cjs/ar-d9c82b87.js +108 -0
- package/dist/cjs/ar-d9c82b87.js.map +1 -0
- package/dist/cjs/array-8306eadb.js +14 -0
- package/dist/cjs/array-8306eadb.js.map +1 -0
- package/dist/cjs/bg-4a440030.js +86 -0
- package/dist/cjs/bg-4a440030.js.map +1 -0
- package/dist/cjs/browser-76cc0a6d.js +22 -0
- package/dist/cjs/browser-76cc0a6d.js.map +1 -0
- package/dist/cjs/bs-c28b70f5.js +55 -0
- package/dist/cjs/bs-c28b70f5.js.map +1 -0
- package/dist/cjs/ca-bef1d679.js +75 -0
- package/dist/cjs/ca-bef1d679.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- 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 +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +12 -12
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +24 -17
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -23
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-07949fb4.js +2919 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-07949fb4.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -22
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-popover.cjs.entry.js +18 -18
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +34 -65
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-table-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-table.cjs.entry.js +14 -14
- package/dist/cjs/calcite-text-area.cjs.entry.js +23 -23
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/component-3e7f3f70.js +30 -0
- package/dist/cjs/component-3e7f3f70.js.map +1 -0
- package/dist/cjs/conditionalSlot-8a4b4c6d.js +51 -0
- package/dist/cjs/conditionalSlot-8a4b4c6d.js.map +1 -0
- package/dist/cjs/config-50f6965f.js +38 -0
- package/dist/cjs/config-50f6965f.js.map +1 -0
- package/dist/cjs/core-64758558.js +22 -0
- package/dist/cjs/core-64758558.js.map +1 -0
- package/dist/cjs/cs-77fd4091.js +151 -0
- package/dist/cjs/cs-77fd4091.js.map +1 -0
- package/dist/cjs/da-870267ce.js +71 -0
- package/dist/cjs/da-870267ce.js.map +1 -0
- package/dist/cjs/de-11d57495.js +95 -0
- package/dist/cjs/de-11d57495.js.map +1 -0
- package/dist/cjs/de-at-dbc4cba3.js +94 -0
- package/dist/cjs/de-at-dbc4cba3.js.map +1 -0
- package/dist/cjs/de-ch-1b358e27.js +94 -0
- package/dist/cjs/de-ch-1b358e27.js.map +1 -0
- package/dist/cjs/debounce-6c7c3e30.js +506 -0
- package/dist/cjs/debounce-6c7c3e30.js.map +1 -0
- package/dist/cjs/dom-ae3d36ea.js +1209 -0
- package/dist/cjs/dom-ae3d36ea.js.map +1 -0
- package/dist/cjs/el-add3667f.js +70 -0
- package/dist/cjs/el-add3667f.js.map +1 -0
- package/dist/cjs/en-au-e65ebb87.js +70 -0
- package/dist/cjs/en-au-e65ebb87.js.map +1 -0
- package/dist/cjs/en-ca-49273936.js +69 -0
- package/dist/cjs/en-ca-49273936.js.map +1 -0
- package/dist/cjs/en-gb-ab0aecfc.js +73 -0
- package/dist/cjs/en-gb-ab0aecfc.js.map +1 -0
- package/dist/cjs/es-ad98fd0b.js +70 -0
- package/dist/cjs/es-ad98fd0b.js.map +1 -0
- package/dist/cjs/es-mx-ff08ae0e.js +69 -0
- package/dist/cjs/es-mx-ff08ae0e.js.map +1 -0
- package/dist/cjs/et-14bc12ce.js +96 -0
- package/dist/cjs/et-14bc12ce.js.map +1 -0
- package/dist/cjs/fi-cc9f94cc.js +119 -0
- package/dist/cjs/fi-cc9f94cc.js.map +1 -0
- package/dist/cjs/filter-2b371dd8.js +775 -0
- package/dist/cjs/filter-2b371dd8.js.map +1 -0
- package/dist/cjs/floating-ui-6b2d0022.js +2361 -0
- package/dist/cjs/floating-ui-6b2d0022.js.map +1 -0
- package/dist/cjs/focusTrapComponent-e9e75915.js +1015 -0
- package/dist/cjs/focusTrapComponent-e9e75915.js.map +1 -0
- package/dist/cjs/form-6c93d236.js +378 -0
- package/dist/cjs/form-6c93d236.js.map +1 -0
- package/dist/cjs/fr-acf33019.js +72 -0
- package/dist/cjs/fr-acf33019.js.map +1 -0
- package/dist/cjs/fr-ch-6f01e84a.js +70 -0
- package/dist/cjs/fr-ch-6f01e84a.js.map +1 -0
- package/dist/cjs/guid-a9cafa62.js +23 -0
- package/dist/cjs/guid-a9cafa62.js.map +1 -0
- package/dist/cjs/he-acdb16d3.js +109 -0
- package/dist/cjs/he-acdb16d3.js.map +1 -0
- package/dist/cjs/hi-033ac741.js +69 -0
- package/dist/cjs/hi-033ac741.js.map +1 -0
- package/dist/cjs/hr-6f068fc2.js +84 -0
- package/dist/cjs/hr-6f068fc2.js.map +1 -0
- package/dist/cjs/hu-c5f8a8f1.js +92 -0
- package/dist/cjs/hu-c5f8a8f1.js.map +1 -0
- package/dist/cjs/id-cc03c965.js +70 -0
- package/dist/cjs/id-cc03c965.js.map +1 -0
- package/dist/cjs/index-3a4a2aee.js +75 -0
- package/dist/cjs/index-3a4a2aee.js.map +1 -0
- package/dist/cjs/index-63eb4e40.js +1974 -0
- package/dist/cjs/index-63eb4e40.js.map +1 -0
- package/dist/cjs/index-97c53ef6.js +208 -0
- package/dist/cjs/index-97c53ef6.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-f72329b8.js +57 -0
- package/dist/cjs/input-f72329b8.js.map +1 -0
- package/dist/cjs/interactive-28d722d2.js +166 -0
- package/dist/cjs/interactive-28d722d2.js.map +1 -0
- package/dist/cjs/it-c09d1b7e.js +70 -0
- package/dist/cjs/it-c09d1b7e.js.map +1 -0
- package/dist/cjs/it-ch-9c6fb682.js +70 -0
- package/dist/cjs/it-ch-9c6fb682.js.map +1 -0
- package/dist/cjs/ja-6cbe2707.js +76 -0
- package/dist/cjs/ja-6cbe2707.js.map +1 -0
- package/dist/cjs/key-f4046bb8.js +16 -0
- package/dist/cjs/key-f4046bb8.js.map +1 -0
- package/dist/cjs/ko-f20c17a9.js +76 -0
- package/dist/cjs/ko-f20c17a9.js.map +1 -0
- package/dist/cjs/label-de08c398.js +183 -0
- package/dist/cjs/label-de08c398.js.map +1 -0
- package/dist/cjs/loadable-73a3723f.js +91 -0
- package/dist/cjs/loadable-73a3723f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-92d2de22.js +576 -0
- package/dist/cjs/locale-92d2de22.js.map +1 -0
- package/dist/cjs/logger-e106b6a5.js +58 -0
- package/dist/cjs/logger-e106b6a5.js.map +1 -0
- package/dist/cjs/lt-716a7c7d.js +101 -0
- package/dist/cjs/lt-716a7c7d.js.map +1 -0
- package/dist/cjs/lv-c5b7f044.js +70 -0
- package/dist/cjs/lv-c5b7f044.js.map +1 -0
- package/dist/cjs/math-65c54eb4.js +57 -0
- package/dist/cjs/math-65c54eb4.js.map +1 -0
- package/dist/cjs/mk-3a2b175b.js +70 -0
- package/dist/cjs/mk-3a2b175b.js.map +1 -0
- package/dist/cjs/nb-86d1a34f.js +71 -0
- package/dist/cjs/nb-86d1a34f.js.map +1 -0
- package/dist/cjs/nl-2b62ef56.js +71 -0
- package/dist/cjs/nl-2b62ef56.js.map +1 -0
- package/dist/cjs/observers-d12dd726.js +52 -0
- package/dist/cjs/observers-d12dd726.js.map +1 -0
- package/dist/cjs/openCloseComponent-daa92d8c.js +62 -0
- package/dist/cjs/openCloseComponent-daa92d8c.js.map +1 -0
- package/dist/cjs/pl-3e9a868f.js +118 -0
- package/dist/cjs/pl-3e9a868f.js.map +1 -0
- package/dist/cjs/pt-0f0f2c4b.js +71 -0
- package/dist/cjs/pt-0f0f2c4b.js.map +1 -0
- package/dist/cjs/pt-br-f8246745.js +69 -0
- package/dist/cjs/pt-br-f8246745.js.map +1 -0
- package/dist/cjs/resources-0df7a071.js +26 -0
- package/dist/cjs/resources-0df7a071.js.map +1 -0
- package/dist/cjs/resources-268eaef9.js +23 -0
- package/dist/cjs/resources-268eaef9.js.map +1 -0
- package/dist/cjs/resources-36f99bcb.js +410 -0
- package/dist/cjs/resources-36f99bcb.js.map +1 -0
- package/dist/cjs/resources-590746f4.js +56 -0
- package/dist/cjs/resources-590746f4.js.map +1 -0
- package/dist/cjs/resources-7a7cc12b.js +29 -0
- package/dist/cjs/resources-7a7cc12b.js.map +1 -0
- package/dist/cjs/resources-7d32d686.js +26 -0
- package/dist/cjs/resources-7d32d686.js.map +1 -0
- package/dist/cjs/resources-9cba283a.js +18 -0
- package/dist/cjs/resources-9cba283a.js.map +1 -0
- package/dist/cjs/ro-eb072771.js +70 -0
- package/dist/cjs/ro-eb072771.js.map +1 -0
- package/dist/cjs/ru-15bc92bb.js +130 -0
- package/dist/cjs/ru-15bc92bb.js.map +1 -0
- package/dist/cjs/sk-a060a7c1.js +152 -0
- package/dist/cjs/sk-a060a7c1.js.map +1 -0
- package/dist/cjs/sl-6a40cc85.js +172 -0
- package/dist/cjs/sl-6a40cc85.js.map +1 -0
- package/dist/cjs/sortableComponent-fd05309f.js +2745 -0
- package/dist/cjs/sortableComponent-fd05309f.js.map +1 -0
- package/dist/cjs/sr-165e2265.js +105 -0
- package/dist/cjs/sr-165e2265.js.map +1 -0
- package/dist/cjs/sv-2fdcb3e6.js +75 -0
- package/dist/cjs/sv-2fdcb3e6.js.map +1 -0
- package/dist/cjs/t9n-bf1c2220.js +101 -0
- package/dist/cjs/t9n-bf1c2220.js.map +1 -0
- package/dist/cjs/th-8b350eaa.js +69 -0
- package/dist/cjs/th-8b350eaa.js.map +1 -0
- package/dist/cjs/throttle-ba3c0648.js +77 -0
- package/dist/cjs/throttle-ba3c0648.js.map +1 -0
- package/dist/cjs/tr-d1f00f27.js +70 -0
- package/dist/cjs/tr-d1f00f27.js.map +1 -0
- package/dist/cjs/uk-74deb94d.js +108 -0
- package/dist/cjs/uk-74deb94d.js.map +1 -0
- package/dist/cjs/utils-2c1f6e78.js +2296 -0
- package/dist/cjs/utils-2c1f6e78.js.map +1 -0
- package/dist/cjs/utils-fb7494e9.js +310 -0
- package/dist/cjs/utils-fb7494e9.js.map +1 -0
- package/dist/cjs/vi-1c568f2d.js +74 -0
- package/dist/cjs/vi-1c568f2d.js.map +1 -0
- package/dist/cjs/zh-cn-3fc6a64a.js +98 -0
- package/dist/cjs/zh-cn-3fc6a64a.js.map +1 -0
- package/dist/cjs/zh-hk-8696e58e.js +96 -0
- package/dist/cjs/zh-hk-8696e58e.js.map +1 -0
- package/dist/cjs/zh-tw-979b097b.js +96 -0
- package/dist/cjs/zh-tw-979b097b.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ar.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_bg.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_bs.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ca.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_cs.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_da.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_de.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_el.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_es.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_et.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_fi.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_fr.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_he.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_hr.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_hu.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_id.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_it.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ja.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ko.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_lt.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_lv.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_nl.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_no.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_pl.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_pt-BR.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_pt-PT.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ro.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_ru.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_sk.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_sl.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_sr.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_sv.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_th.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_tr.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_uk.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_vi.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_zh-CN.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_zh-HK.json +3 -1
- package/dist/collection/components/action-bar/assets/action-bar/t9n/messages_zh-TW.json +3 -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.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ar.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_bg.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_bs.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ca.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_cs.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_da.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_de.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_el.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_es.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_et.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_fi.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_fr.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_he.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_hr.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_hu.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_id.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_it.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ja.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ko.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_lt.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_lv.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_nl.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_no.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_pl.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_pt-BR.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_pt-PT.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ro.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_ru.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_sk.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_sl.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_sr.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_sv.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_th.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_tr.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_uk.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_vi.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_zh-CN.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_zh-HK.json +3 -1
- package/dist/collection/components/action-pad/assets/action-pad/t9n/messages_zh-TW.json +3 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.js +12 -5
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/resources.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- 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.css +5 -5
- 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/assets/date-picker/t9n/messages_ar.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +2 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +2 -0
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- 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.css +5 -5
- 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/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- 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.css +5 -5
- 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/common/input.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- 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/input-date-picker.css +5 -5
- 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-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- 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/input-time-picker.css +5 -5
- 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/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/loader/resources.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- 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/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- 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.css +5 -5
- 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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- 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.css +5 -5
- 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 +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +7 -10
- 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.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/resources.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -2
- package/dist/collection/components/tab-nav/resources.js.map +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -53
- package/dist/collection/components/tab-nav/tab-nav.js +9 -89
- package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
- package/dist/collection/components/tab-title/resources.js +4 -1
- package/dist/collection/components/tab-title/resources.js.map +1 -1
- package/dist/collection/components/tab-title/tab-title.css +111 -46
- package/dist/collection/components/tab-title/tab-title.js +8 -7
- package/dist/collection/components/tab-title/tab-title.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.js +4 -4
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +3 -3
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +3 -3
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +2 -2
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.js +5 -5
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.js +2 -2
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.js +2 -2
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.js +3 -3
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.js +2 -2
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.js +19 -19
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.js +2 -2
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.js +3 -3
- 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.css +5 -5
- package/dist/collection/components/tree-item/tree-item.js +5 -5
- 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.css +5 -5
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.js +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.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/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/logger.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/responsive.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.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/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +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-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +12 -5
- package/dist/components/calcite-carousel.js.map +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 +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- 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-time-zone.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-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.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-sheet.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 +2 -2
- package/dist/components/calcite-shell.js.map +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- 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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +2 -2
- package/dist/components/calcite-table.js +4 -4
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +5 -5
- package/dist/components/calcite-tile-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile.js +2 -2
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +5 -5
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +1 -1
- 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/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +4 -4
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +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/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +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/logger.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.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/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +11 -48
- package/dist/components/tab-nav.js.map +1 -1
- package/dist/components/tab-title.js +12 -8
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +3 -3
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +19 -19
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-65d6db5e.js +101 -0
- package/dist/esm/ExpandToggle-65d6db5e.js.map +1 -0
- package/dist/esm/FloatingArrow-abc377ee.js +45 -0
- package/dist/esm/FloatingArrow-abc377ee.js.map +1 -0
- package/dist/esm/Heading-9e626b82.js +19 -0
- package/dist/esm/Heading-9e626b82.js.map +1 -0
- package/dist/esm/Validation-4fd5a4a0.js +16 -0
- package/dist/esm/Validation-4fd5a4a0.js.map +1 -0
- package/dist/esm/app-globals-999cfef0.js +61 -0
- package/dist/esm/app-globals-999cfef0.js.map +1 -0
- package/dist/esm/ar-6408e903.js +106 -0
- package/dist/esm/ar-6408e903.js.map +1 -0
- package/dist/esm/array-a935d3d9.js +12 -0
- package/dist/esm/array-a935d3d9.js.map +1 -0
- package/dist/esm/bg-e9890b78.js +84 -0
- package/dist/esm/bg-e9890b78.js.map +1 -0
- package/dist/esm/browser-6f75eff7.js +20 -0
- package/dist/esm/browser-6f75eff7.js.map +1 -0
- package/dist/esm/bs-925ccdfe.js +53 -0
- package/dist/esm/bs-925ccdfe.js.map +1 -0
- package/dist/esm/ca-0f6b0563.js +73 -0
- package/dist/esm/ca-0f6b0563.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- 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 +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +12 -12
- package/dist/esm/calcite-carousel_2.entry.js +24 -17
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +23 -23
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-7993bfe6.js +2915 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-7993bfe6.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +22 -22
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +15 -15
- package/dist/esm/calcite-navigation_3.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +19 -19
- package/dist/esm/calcite-popover.entry.js +18 -18
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +34 -65
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +17 -17
- package/dist/esm/calcite-table-row.entry.js +10 -10
- package/dist/esm/calcite-table.entry.js +14 -14
- package/dist/esm/calcite-text-area.entry.js +23 -23
- package/dist/esm/calcite-tile-group.entry.js +9 -9
- package/dist/esm/calcite-tile-select_2.entry.js +11 -11
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +15 -15
- package/dist/esm/calcite-tooltip.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js +16 -16
- package/dist/esm/calcite-value-list_2.entry.js +20 -20
- package/dist/esm/calcite.js +7 -7
- package/dist/esm/component-61aff13f.js +27 -0
- package/dist/esm/component-61aff13f.js.map +1 -0
- package/dist/esm/conditionalSlot-46c74473.js +48 -0
- package/dist/esm/conditionalSlot-46c74473.js.map +1 -0
- package/dist/esm/config-1f377427.js +34 -0
- package/dist/esm/config-1f377427.js.map +1 -0
- package/dist/esm/core-bd267931.js +17 -0
- package/dist/esm/core-bd267931.js.map +1 -0
- package/dist/esm/cs-8da72dd7.js +149 -0
- package/dist/esm/cs-8da72dd7.js.map +1 -0
- package/dist/esm/da-d786f7bc.js +69 -0
- package/dist/esm/da-d786f7bc.js.map +1 -0
- package/dist/esm/de-236bd35c.js +93 -0
- package/dist/esm/de-236bd35c.js.map +1 -0
- package/dist/esm/de-at-6b67fac6.js +92 -0
- package/dist/esm/de-at-6b67fac6.js.map +1 -0
- package/dist/esm/de-ch-31e519b2.js +92 -0
- package/dist/esm/de-ch-31e519b2.js.map +1 -0
- package/dist/esm/debounce-a2ff7b92.js +497 -0
- package/dist/esm/debounce-a2ff7b92.js.map +1 -0
- package/dist/esm/dom-c331e7c7.js +1174 -0
- package/dist/esm/dom-c331e7c7.js.map +1 -0
- package/dist/esm/el-5c328fc5.js +68 -0
- package/dist/esm/el-5c328fc5.js.map +1 -0
- package/dist/esm/en-au-5e4acbf7.js +68 -0
- package/dist/esm/en-au-5e4acbf7.js.map +1 -0
- package/dist/esm/en-ca-14e0ef36.js +67 -0
- package/dist/esm/en-ca-14e0ef36.js.map +1 -0
- package/dist/esm/en-gb-12e11a93.js +71 -0
- package/dist/esm/en-gb-12e11a93.js.map +1 -0
- package/dist/esm/es-32e12833.js +68 -0
- package/dist/esm/es-32e12833.js.map +1 -0
- package/dist/esm/es-mx-228a7ad0.js +67 -0
- package/dist/esm/es-mx-228a7ad0.js.map +1 -0
- package/dist/esm/et-d068d1d5.js +94 -0
- package/dist/esm/et-d068d1d5.js.map +1 -0
- package/dist/esm/fi-1d126811.js +117 -0
- package/dist/esm/fi-1d126811.js.map +1 -0
- package/dist/esm/filter-3979719b.js +772 -0
- package/dist/esm/filter-3979719b.js.map +1 -0
- package/dist/esm/floating-ui-b560a0a8.js +2353 -0
- package/dist/esm/floating-ui-b560a0a8.js.map +1 -0
- package/dist/esm/focusTrapComponent-74aa96a6.js +1010 -0
- package/dist/esm/focusTrapComponent-74aa96a6.js.map +1 -0
- package/dist/esm/form-96395f6a.js +369 -0
- package/dist/esm/form-96395f6a.js.map +1 -0
- package/dist/esm/fr-1625bb09.js +70 -0
- package/dist/esm/fr-1625bb09.js.map +1 -0
- package/dist/esm/fr-ch-a93ddeaf.js +68 -0
- package/dist/esm/fr-ch-a93ddeaf.js.map +1 -0
- package/dist/esm/guid-37534361.js +21 -0
- package/dist/esm/guid-37534361.js.map +1 -0
- package/dist/esm/he-dcb597c5.js +107 -0
- package/dist/esm/he-dcb597c5.js.map +1 -0
- package/dist/esm/hi-ea3b4bfb.js +67 -0
- package/dist/esm/hi-ea3b4bfb.js.map +1 -0
- package/dist/esm/hr-6ea49b3f.js +82 -0
- package/dist/esm/hr-6ea49b3f.js.map +1 -0
- package/dist/esm/hu-8dba75ca.js +90 -0
- package/dist/esm/hu-8dba75ca.js.map +1 -0
- package/dist/esm/id-e670c050.js +68 -0
- package/dist/esm/id-e670c050.js.map +1 -0
- package/dist/esm/index-3dd0aab3.js +206 -0
- package/dist/esm/index-3dd0aab3.js.map +1 -0
- package/dist/esm/index-4d54fef5.js +1939 -0
- package/dist/esm/index-4d54fef5.js.map +1 -0
- package/dist/esm/index-a1e53e38.js +73 -0
- package/dist/esm/index-a1e53e38.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-b3ef899c.js +55 -0
- package/dist/esm/input-b3ef899c.js.map +1 -0
- package/dist/esm/interactive-83e10cb3.js +161 -0
- package/dist/esm/interactive-83e10cb3.js.map +1 -0
- package/dist/esm/it-3d157830.js +68 -0
- package/dist/esm/it-3d157830.js.map +1 -0
- package/dist/esm/it-ch-a75a3888.js +68 -0
- package/dist/esm/it-ch-a75a3888.js.map +1 -0
- package/dist/esm/ja-f31c0fd5.js +74 -0
- package/dist/esm/ja-f31c0fd5.js.map +1 -0
- package/dist/esm/key-39ba37fe.js +13 -0
- package/dist/esm/key-39ba37fe.js.map +1 -0
- package/dist/esm/ko-0a60b196.js +74 -0
- package/dist/esm/ko-0a60b196.js.map +1 -0
- package/dist/esm/label-41e13e7b.js +176 -0
- package/dist/esm/label-41e13e7b.js.map +1 -0
- package/dist/esm/loadable-8e4847d0.js +86 -0
- package/dist/esm/loadable-8e4847d0.js.map +1 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-c2bd261a.js +563 -0
- package/dist/esm/locale-c2bd261a.js.map +1 -0
- package/dist/esm/logger-a2422462.js +56 -0
- package/dist/esm/logger-a2422462.js.map +1 -0
- package/dist/esm/lt-7dd92d37.js +99 -0
- package/dist/esm/lt-7dd92d37.js.map +1 -0
- package/dist/esm/lv-e4d29cad.js +68 -0
- package/dist/esm/lv-e4d29cad.js.map +1 -0
- package/dist/esm/math-5e173147.js +51 -0
- package/dist/esm/math-5e173147.js.map +1 -0
- package/dist/esm/mk-4907cd9a.js +68 -0
- package/dist/esm/mk-4907cd9a.js.map +1 -0
- package/dist/esm/nb-262d7360.js +69 -0
- package/dist/esm/nb-262d7360.js.map +1 -0
- package/dist/esm/nl-ad75fc0f.js +69 -0
- package/dist/esm/nl-ad75fc0f.js.map +1 -0
- package/dist/esm/observers-86fdf3c6.js +50 -0
- package/dist/esm/observers-86fdf3c6.js.map +1 -0
- package/dist/esm/openCloseComponent-4fd86c8f.js +60 -0
- package/dist/esm/openCloseComponent-4fd86c8f.js.map +1 -0
- package/dist/esm/pl-b65bb4c9.js +116 -0
- package/dist/esm/pl-b65bb4c9.js.map +1 -0
- package/dist/esm/pt-8dfbb769.js +69 -0
- package/dist/esm/pt-8dfbb769.js.map +1 -0
- package/dist/esm/pt-br-3c98a921.js +67 -0
- package/dist/esm/pt-br-3c98a921.js.map +1 -0
- package/dist/esm/resources-5f53326f.js +25 -0
- package/dist/esm/resources-5f53326f.js.map +1 -0
- package/dist/esm/resources-67a22e07.js +16 -0
- package/dist/esm/resources-67a22e07.js.map +1 -0
- package/dist/esm/resources-8f0c789f.js +23 -0
- package/dist/esm/resources-8f0c789f.js.map +1 -0
- package/dist/esm/resources-a27c8ae9.js +52 -0
- package/dist/esm/resources-a27c8ae9.js.map +1 -0
- package/dist/esm/resources-bdcfa5a6.js +382 -0
- package/dist/esm/resources-bdcfa5a6.js.map +1 -0
- package/dist/esm/resources-be19d29d.js +19 -0
- package/dist/esm/resources-be19d29d.js.map +1 -0
- package/dist/esm/resources-f279e227.js +21 -0
- package/dist/esm/resources-f279e227.js.map +1 -0
- package/dist/esm/ro-7263528a.js +68 -0
- package/dist/esm/ro-7263528a.js.map +1 -0
- package/dist/esm/ru-0de4e8e4.js +128 -0
- package/dist/esm/ru-0de4e8e4.js.map +1 -0
- package/dist/esm/sk-193e96ef.js +150 -0
- package/dist/esm/sk-193e96ef.js.map +1 -0
- package/dist/esm/sl-3e141114.js +170 -0
- package/dist/esm/sl-3e141114.js.map +1 -0
- package/dist/esm/sortableComponent-b649a568.js +2742 -0
- package/dist/esm/sortableComponent-b649a568.js.map +1 -0
- package/dist/esm/sr-6c059067.js +103 -0
- package/dist/esm/sr-6c059067.js.map +1 -0
- package/dist/esm/sv-e57d00a1.js +73 -0
- package/dist/esm/sv-e57d00a1.js.map +1 -0
- package/dist/esm/t9n-af8dd5bd.js +96 -0
- package/dist/esm/t9n-af8dd5bd.js.map +1 -0
- package/dist/esm/th-9b960877.js +67 -0
- package/dist/esm/th-9b960877.js.map +1 -0
- package/dist/esm/throttle-9a3a0d08.js +75 -0
- package/dist/esm/throttle-9a3a0d08.js.map +1 -0
- package/dist/esm/tr-c57a5bd2.js +68 -0
- package/dist/esm/tr-c57a5bd2.js.map +1 -0
- package/dist/esm/uk-507f0f7d.js +106 -0
- package/dist/esm/uk-507f0f7d.js.map +1 -0
- package/dist/esm/utils-765d3558.js +2266 -0
- package/dist/esm/utils-765d3558.js.map +1 -0
- package/dist/esm/utils-ee0691d5.js +292 -0
- package/dist/esm/utils-ee0691d5.js.map +1 -0
- package/dist/esm/vi-742024a1.js +72 -0
- package/dist/esm/vi-742024a1.js.map +1 -0
- package/dist/esm/zh-cn-a81e2823.js +96 -0
- package/dist/esm/zh-cn-a81e2823.js.map +1 -0
- package/dist/esm/zh-hk-1c465c1e.js +94 -0
- package/dist/esm/zh-hk-1c465c1e.js.map +1 -0
- package/dist/esm/zh-tw-c04f4d6a.js +94 -0
- package/dist/esm/zh-tw-c04f4d6a.js.map +1 -0
- package/dist/extras/docs-json.json +1 -6
- package/dist/extras/translations-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/types/components/tab-nav/resources.d.ts +0 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +0 -14
- package/dist/types/components/tab-title/resources.d.ts +4 -0
- package/dist/types/components.d.ts +0 -2
- package/hydrate/index.js +83 -105
- package/hydrate/index.mjs +83 -105
- package/package.json +2 -2
- package/dist/calcite/p-0052767e.js +0 -7
- package/dist/calcite/p-06781719.entry.js +0 -7
- package/dist/calcite/p-075ebe78.js +0 -7
- package/dist/calcite/p-0a07905e.entry.js +0 -7
- package/dist/calcite/p-0c211515.js +0 -7
- package/dist/calcite/p-0c5a6fb1.js +0 -7
- package/dist/calcite/p-0cea1bfc.entry.js +0 -7
- package/dist/calcite/p-0f24a9de.entry.js +0 -7
- package/dist/calcite/p-0fa8ada7.entry.js +0 -7
- package/dist/calcite/p-1146c327.js +0 -7
- package/dist/calcite/p-115c4c37.entry.js +0 -7
- package/dist/calcite/p-12d00e4f.js +0 -7
- package/dist/calcite/p-17ce5a69.js +0 -7
- package/dist/calcite/p-1941e5f1.entry.js +0 -7
- package/dist/calcite/p-19c16491.js +0 -7
- package/dist/calcite/p-1ac5aff6.entry.js +0 -7
- package/dist/calcite/p-1f47e1dd.js +0 -7
- package/dist/calcite/p-1f47e1dd.js.map +0 -1
- package/dist/calcite/p-20affe2e.js +0 -7
- package/dist/calcite/p-21b7c952.entry.js +0 -7
- package/dist/calcite/p-2211aea3.js +0 -7
- package/dist/calcite/p-23f5e7e2.js +0 -7
- package/dist/calcite/p-255e8545.entry.js +0 -7
- package/dist/calcite/p-29f1871d.js +0 -7
- package/dist/calcite/p-2acd28b1.entry.js +0 -7
- package/dist/calcite/p-2acd28b1.entry.js.map +0 -1
- package/dist/calcite/p-2b7f6a9c.js +0 -11
- package/dist/calcite/p-2f13496b.js +0 -7
- package/dist/calcite/p-2fbf254b.entry.js +0 -7
- package/dist/calcite/p-3078d66a.js +0 -7
- package/dist/calcite/p-34b0826a.js +0 -7
- package/dist/calcite/p-358821c4.entry.js +0 -7
- package/dist/calcite/p-36bc7bb4.js +0 -7
- package/dist/calcite/p-374da73b.entry.js +0 -7
- package/dist/calcite/p-39b688ba.js +0 -7
- package/dist/calcite/p-39bd9859.js +0 -13
- package/dist/calcite/p-3a85631b.js +0 -7
- package/dist/calcite/p-3c1b2fae.js +0 -7
- package/dist/calcite/p-3c9fc934.js +0 -12
- package/dist/calcite/p-3cb58911.js +0 -7
- package/dist/calcite/p-432742a7.js +0 -7
- package/dist/calcite/p-4534037d.js +0 -7
- package/dist/calcite/p-47f35db4.entry.js +0 -7
- package/dist/calcite/p-49e7feca.js +0 -7
- package/dist/calcite/p-4a31495e.entry.js +0 -7
- package/dist/calcite/p-4c25c8bc.js +0 -7
- package/dist/calcite/p-4c6fe4b4.js +0 -7
- package/dist/calcite/p-4c89f16f.js +0 -7
- package/dist/calcite/p-4ce0137b.entry.js +0 -7
- package/dist/calcite/p-4d6f0bc7.js +0 -7
- package/dist/calcite/p-4e1d67eb.js +0 -7
- package/dist/calcite/p-4e4180bd.js +0 -7
- package/dist/calcite/p-4e4180bd.js.map +0 -1
- package/dist/calcite/p-4ef177d1.js +0 -8
- package/dist/calcite/p-5043f9e5.entry.js +0 -7
- package/dist/calcite/p-520ffb28.js +0 -7
- package/dist/calcite/p-52261f93.js +0 -7
- package/dist/calcite/p-527178bf.js +0 -7
- package/dist/calcite/p-534603ad.js +0 -7
- package/dist/calcite/p-5397cb10.entry.js +0 -7
- package/dist/calcite/p-5a90ed56.js +0 -7
- package/dist/calcite/p-5a971fb2.js +0 -7
- package/dist/calcite/p-5adf881a.js +0 -7
- package/dist/calcite/p-5bcff908.entry.js +0 -7
- package/dist/calcite/p-5c64259c.js +0 -7
- package/dist/calcite/p-5d331ae2.entry.js +0 -7
- package/dist/calcite/p-5ee2f055.entry.js +0 -7
- package/dist/calcite/p-627da767.entry.js +0 -7
- package/dist/calcite/p-629e05f3.entry.js +0 -7
- package/dist/calcite/p-630d12b8.js +0 -7
- package/dist/calcite/p-63af3fda.js +0 -7
- package/dist/calcite/p-6445e9bc.entry.js +0 -7
- package/dist/calcite/p-660b7de5.js +0 -7
- package/dist/calcite/p-663cfe52.js +0 -7
- package/dist/calcite/p-672e2b25.entry.js +0 -7
- package/dist/calcite/p-67e4877e.js +0 -7
- package/dist/calcite/p-6c3235b5.js +0 -7
- package/dist/calcite/p-6e08a6d4.js +0 -7
- package/dist/calcite/p-6e58ea12.js +0 -7
- package/dist/calcite/p-6f249f72.entry.js +0 -7
- package/dist/calcite/p-70b7e4d9.entry.js +0 -7
- package/dist/calcite/p-73138b78.entry.js +0 -7
- package/dist/calcite/p-73214fd4.entry.js +0 -7
- package/dist/calcite/p-734fcfd8.js +0 -7
- package/dist/calcite/p-74413f4c.entry.js +0 -7
- package/dist/calcite/p-75c27f42.entry.js +0 -7
- package/dist/calcite/p-76dd2caf.entry.js +0 -7
- package/dist/calcite/p-7b664b79.entry.js +0 -7
- package/dist/calcite/p-7ca19e7e.entry.js +0 -7
- package/dist/calcite/p-7cca3a5d.entry.js +0 -7
- package/dist/calcite/p-7d91ad23.js +0 -7
- package/dist/calcite/p-7fd7cf78.js +0 -7
- package/dist/calcite/p-812f7c8d.js +0 -7
- package/dist/calcite/p-82994865.entry.js +0 -7
- package/dist/calcite/p-838e7e5d.entry.js +0 -7
- package/dist/calcite/p-852decf6.entry.js +0 -7
- package/dist/calcite/p-8a241b8e.entry.js +0 -7
- package/dist/calcite/p-8b9f1f5f.entry.js +0 -7
- package/dist/calcite/p-8be3e924.js +0 -7
- package/dist/calcite/p-8c231340.js +0 -7
- package/dist/calcite/p-8d1483e7.entry.js +0 -7
- package/dist/calcite/p-8d5a70dd.js +0 -7
- package/dist/calcite/p-8db76647.entry.js +0 -7
- package/dist/calcite/p-8fb58acb.js +0 -7
- package/dist/calcite/p-90134007.js +0 -7
- package/dist/calcite/p-917e29a6.js +0 -7
- package/dist/calcite/p-91c386d2.entry.js +0 -7
- package/dist/calcite/p-92dfaaeb.js +0 -7
- package/dist/calcite/p-947877d4.entry.js +0 -7
- package/dist/calcite/p-963a2727.js +0 -7
- package/dist/calcite/p-9aa380e1.entry.js +0 -7
- package/dist/calcite/p-9cb673f4.entry.js +0 -7
- package/dist/calcite/p-9dd820a6.js +0 -7
- package/dist/calcite/p-9fdfc92d.js +0 -7
- package/dist/calcite/p-a2f1bb67.js +0 -7
- package/dist/calcite/p-a300c503.js +0 -7
- package/dist/calcite/p-a782ca4f.js +0 -7
- package/dist/calcite/p-a8d91331.js +0 -7
- package/dist/calcite/p-aaab70ae.js +0 -7
- package/dist/calcite/p-abcd88df.entry.js +0 -7
- package/dist/calcite/p-ac9ba0cb.js +0 -7
- package/dist/calcite/p-b0aa4b77.entry.js +0 -7
- package/dist/calcite/p-b38788d3.js +0 -7
- package/dist/calcite/p-b3b665d4.js +0 -7
- package/dist/calcite/p-b4d9832d.entry.js +0 -7
- package/dist/calcite/p-b4ed1e12.entry.js +0 -7
- package/dist/calcite/p-b51290e2.entry.js +0 -7
- package/dist/calcite/p-b5feac8c.js +0 -7
- package/dist/calcite/p-b71e0723.js +0 -7
- package/dist/calcite/p-b751a1c3.js +0 -7
- package/dist/calcite/p-ba1cdf7a.js +0 -7
- package/dist/calcite/p-bd04c5ae.js +0 -7
- package/dist/calcite/p-bfcb6474.js +0 -7
- package/dist/calcite/p-c0ffd2d9.entry.js +0 -7
- package/dist/calcite/p-c11f43b4.js +0 -7
- package/dist/calcite/p-c27e6e8d.entry.js +0 -7
- package/dist/calcite/p-c27e6e8d.entry.js.map +0 -1
- package/dist/calcite/p-c2cef928.entry.js +0 -7
- package/dist/calcite/p-c3baafe0.entry.js +0 -7
- package/dist/calcite/p-c6ba3d39.js +0 -7
- package/dist/calcite/p-c7c09db0.js +0 -7
- package/dist/calcite/p-c9cb54d9.entry.js +0 -7
- package/dist/calcite/p-c9e45e58.entry.js +0 -7
- package/dist/calcite/p-c9f2791f.entry.js +0 -7
- package/dist/calcite/p-cc83b8d2.entry.js +0 -7
- package/dist/calcite/p-cf852d91.js +0 -7
- package/dist/calcite/p-d06efbe2.entry.js +0 -7
- package/dist/calcite/p-d07048b0.js +0 -7
- package/dist/calcite/p-d17dfcac.entry.js +0 -7
- package/dist/calcite/p-d533742a.entry.js +0 -7
- package/dist/calcite/p-d59e6ea7.js +0 -7
- package/dist/calcite/p-d60754be.entry.js +0 -7
- package/dist/calcite/p-d8ce1e4c.js +0 -7
- package/dist/calcite/p-d9785247.js +0 -7
- package/dist/calcite/p-d987db79.js +0 -7
- package/dist/calcite/p-db219a9b.js +0 -7
- package/dist/calcite/p-dbdcad13.js +0 -7
- package/dist/calcite/p-dcefd931.entry.js +0 -7
- package/dist/calcite/p-dd6e2c70.entry.js +0 -7
- package/dist/calcite/p-df82267a.entry.js +0 -7
- package/dist/calcite/p-df82267a.entry.js.map +0 -1
- package/dist/calcite/p-e014fb92.entry.js +0 -7
- package/dist/calcite/p-e259e82b.entry.js +0 -7
- package/dist/calcite/p-e666811b.js +0 -7
- package/dist/calcite/p-e87f0b8c.entry.js +0 -7
- package/dist/calcite/p-e9dedbcd.js +0 -7
- package/dist/calcite/p-ec708e2f.entry.js +0 -7
- package/dist/calcite/p-ec708e2f.entry.js.map +0 -1
- package/dist/calcite/p-ecd4e418.entry.js +0 -7
- package/dist/calcite/p-ecd4e418.entry.js.map +0 -1
- package/dist/calcite/p-f0faeb4a.js +0 -7
- package/dist/calcite/p-f5254936.entry.js +0 -7
- package/dist/calcite/p-f5fc73ad.js +0 -7
- package/dist/calcite/p-f7bb6a78.entry.js +0 -7
- package/dist/cjs/ExpandToggle-a57170ab.js +0 -109
- package/dist/cjs/ExpandToggle-a57170ab.js.map +0 -1
- package/dist/cjs/FloatingArrow-0b2ca135.js +0 -47
- package/dist/cjs/FloatingArrow-0b2ca135.js.map +0 -1
- package/dist/cjs/Heading-23eb42d0.js +0 -22
- package/dist/cjs/Heading-23eb42d0.js.map +0 -1
- package/dist/cjs/Validation-a11efd5d.js +0 -18
- package/dist/cjs/Validation-a11efd5d.js.map +0 -1
- package/dist/cjs/app-globals-063d2fb8.js +0 -63
- package/dist/cjs/app-globals-063d2fb8.js.map +0 -1
- package/dist/cjs/ar-293f789e.js +0 -108
- package/dist/cjs/ar-293f789e.js.map +0 -1
- package/dist/cjs/array-793ff077.js +0 -14
- package/dist/cjs/array-793ff077.js.map +0 -1
- package/dist/cjs/bg-6b6ea92c.js +0 -86
- package/dist/cjs/bg-6b6ea92c.js.map +0 -1
- package/dist/cjs/browser-7ec188d4.js +0 -22
- package/dist/cjs/browser-7ec188d4.js.map +0 -1
- package/dist/cjs/bs-50fa257d.js +0 -55
- package/dist/cjs/bs-50fa257d.js.map +0 -1
- package/dist/cjs/ca-1205e332.js +0 -75
- package/dist/cjs/ca-1205e332.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-502e500c.js +0 -2919
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-502e500c.js.map +0 -1
- package/dist/cjs/component-9c9c1ea2.js +0 -30
- package/dist/cjs/component-9c9c1ea2.js.map +0 -1
- package/dist/cjs/conditionalSlot-ff18970d.js +0 -51
- package/dist/cjs/conditionalSlot-ff18970d.js.map +0 -1
- package/dist/cjs/config-bf6fe1c7.js +0 -38
- package/dist/cjs/config-bf6fe1c7.js.map +0 -1
- package/dist/cjs/core-0a7d04d2.js +0 -22
- package/dist/cjs/core-0a7d04d2.js.map +0 -1
- package/dist/cjs/cs-86079c45.js +0 -151
- package/dist/cjs/cs-86079c45.js.map +0 -1
- package/dist/cjs/da-56827620.js +0 -71
- package/dist/cjs/da-56827620.js.map +0 -1
- package/dist/cjs/de-74cd5085.js +0 -95
- package/dist/cjs/de-74cd5085.js.map +0 -1
- package/dist/cjs/de-at-72cf2c84.js +0 -94
- package/dist/cjs/de-at-72cf2c84.js.map +0 -1
- package/dist/cjs/de-ch-78e3bd21.js +0 -94
- package/dist/cjs/de-ch-78e3bd21.js.map +0 -1
- package/dist/cjs/debounce-7e3d4e5d.js +0 -506
- package/dist/cjs/debounce-7e3d4e5d.js.map +0 -1
- package/dist/cjs/dom-8e8a80d2.js +0 -1209
- package/dist/cjs/dom-8e8a80d2.js.map +0 -1
- package/dist/cjs/el-f40e13f0.js +0 -70
- package/dist/cjs/el-f40e13f0.js.map +0 -1
- package/dist/cjs/en-au-d691d814.js +0 -70
- package/dist/cjs/en-au-d691d814.js.map +0 -1
- package/dist/cjs/en-ca-332ebc3d.js +0 -69
- package/dist/cjs/en-ca-332ebc3d.js.map +0 -1
- package/dist/cjs/en-gb-22f3b612.js +0 -73
- package/dist/cjs/en-gb-22f3b612.js.map +0 -1
- package/dist/cjs/es-cb428755.js +0 -70
- package/dist/cjs/es-cb428755.js.map +0 -1
- package/dist/cjs/es-mx-cc4be698.js +0 -69
- package/dist/cjs/es-mx-cc4be698.js.map +0 -1
- package/dist/cjs/et-14d00126.js +0 -96
- package/dist/cjs/et-14d00126.js.map +0 -1
- package/dist/cjs/fi-2b6d7dd4.js +0 -119
- package/dist/cjs/fi-2b6d7dd4.js.map +0 -1
- package/dist/cjs/filter-e007e445.js +0 -775
- package/dist/cjs/filter-e007e445.js.map +0 -1
- package/dist/cjs/floating-ui-adcb7627.js +0 -2361
- package/dist/cjs/floating-ui-adcb7627.js.map +0 -1
- package/dist/cjs/focusTrapComponent-a356cd8f.js +0 -1015
- package/dist/cjs/focusTrapComponent-a356cd8f.js.map +0 -1
- package/dist/cjs/form-61d9e89e.js +0 -378
- package/dist/cjs/form-61d9e89e.js.map +0 -1
- package/dist/cjs/fr-0bf55ec6.js +0 -72
- package/dist/cjs/fr-0bf55ec6.js.map +0 -1
- package/dist/cjs/fr-ch-6f4c2151.js +0 -70
- package/dist/cjs/fr-ch-6f4c2151.js.map +0 -1
- package/dist/cjs/guid-8dd8769a.js +0 -23
- package/dist/cjs/guid-8dd8769a.js.map +0 -1
- package/dist/cjs/he-d390b7ce.js +0 -109
- package/dist/cjs/he-d390b7ce.js.map +0 -1
- package/dist/cjs/hi-48071a23.js +0 -69
- package/dist/cjs/hi-48071a23.js.map +0 -1
- package/dist/cjs/hr-fbb41702.js +0 -84
- package/dist/cjs/hr-fbb41702.js.map +0 -1
- package/dist/cjs/hu-40fe7adf.js +0 -92
- package/dist/cjs/hu-40fe7adf.js.map +0 -1
- package/dist/cjs/id-48a28137.js +0 -70
- package/dist/cjs/id-48a28137.js.map +0 -1
- package/dist/cjs/index-0e932e71.js +0 -75
- package/dist/cjs/index-0e932e71.js.map +0 -1
- package/dist/cjs/index-28ae5829.js +0 -1974
- package/dist/cjs/index-28ae5829.js.map +0 -1
- package/dist/cjs/index-c668a21a.js +0 -208
- package/dist/cjs/index-c668a21a.js.map +0 -1
- package/dist/cjs/input-8ecb0ab9.js +0 -57
- package/dist/cjs/input-8ecb0ab9.js.map +0 -1
- package/dist/cjs/interactive-6aa45dac.js +0 -166
- package/dist/cjs/interactive-6aa45dac.js.map +0 -1
- package/dist/cjs/it-65993fa1.js +0 -70
- package/dist/cjs/it-65993fa1.js.map +0 -1
- package/dist/cjs/it-ch-faef4ece.js +0 -70
- package/dist/cjs/it-ch-faef4ece.js.map +0 -1
- package/dist/cjs/ja-3c60e7d5.js +0 -76
- package/dist/cjs/ja-3c60e7d5.js.map +0 -1
- package/dist/cjs/key-44d4398c.js +0 -16
- package/dist/cjs/key-44d4398c.js.map +0 -1
- package/dist/cjs/ko-3f00fcc4.js +0 -76
- package/dist/cjs/ko-3f00fcc4.js.map +0 -1
- package/dist/cjs/label-454680f5.js +0 -183
- package/dist/cjs/label-454680f5.js.map +0 -1
- package/dist/cjs/loadable-bfb332f6.js +0 -91
- package/dist/cjs/loadable-bfb332f6.js.map +0 -1
- package/dist/cjs/locale-e0615fe4.js +0 -576
- package/dist/cjs/locale-e0615fe4.js.map +0 -1
- package/dist/cjs/logger-4f070b97.js +0 -58
- package/dist/cjs/logger-4f070b97.js.map +0 -1
- package/dist/cjs/lt-2d5a315f.js +0 -101
- package/dist/cjs/lt-2d5a315f.js.map +0 -1
- package/dist/cjs/lv-b5f2f325.js +0 -70
- package/dist/cjs/lv-b5f2f325.js.map +0 -1
- package/dist/cjs/math-0f91c293.js +0 -57
- package/dist/cjs/math-0f91c293.js.map +0 -1
- package/dist/cjs/mk-f2f05708.js +0 -70
- package/dist/cjs/mk-f2f05708.js.map +0 -1
- package/dist/cjs/nb-e93b6c8c.js +0 -71
- package/dist/cjs/nb-e93b6c8c.js.map +0 -1
- package/dist/cjs/nl-fdd1bdc2.js +0 -71
- package/dist/cjs/nl-fdd1bdc2.js.map +0 -1
- package/dist/cjs/observers-d40206cb.js +0 -52
- package/dist/cjs/observers-d40206cb.js.map +0 -1
- package/dist/cjs/openCloseComponent-83345b3c.js +0 -62
- package/dist/cjs/openCloseComponent-83345b3c.js.map +0 -1
- package/dist/cjs/pl-56a58422.js +0 -118
- package/dist/cjs/pl-56a58422.js.map +0 -1
- package/dist/cjs/pt-50726f50.js +0 -71
- package/dist/cjs/pt-50726f50.js.map +0 -1
- package/dist/cjs/pt-br-cb9174c9.js +0 -69
- package/dist/cjs/pt-br-cb9174c9.js.map +0 -1
- package/dist/cjs/resources-27171ea5.js +0 -410
- package/dist/cjs/resources-27171ea5.js.map +0 -1
- package/dist/cjs/resources-48e73367.js +0 -29
- package/dist/cjs/resources-48e73367.js.map +0 -1
- package/dist/cjs/resources-8ca7d072.js +0 -26
- package/dist/cjs/resources-8ca7d072.js.map +0 -1
- package/dist/cjs/resources-b58ac9ae.js +0 -18
- package/dist/cjs/resources-b58ac9ae.js.map +0 -1
- package/dist/cjs/resources-eb650730.js +0 -56
- package/dist/cjs/resources-eb650730.js.map +0 -1
- package/dist/cjs/resources-ed181215.js +0 -26
- package/dist/cjs/resources-ed181215.js.map +0 -1
- package/dist/cjs/resources-f4d2db8e.js +0 -23
- package/dist/cjs/resources-f4d2db8e.js.map +0 -1
- package/dist/cjs/ro-d641358d.js +0 -70
- package/dist/cjs/ro-d641358d.js.map +0 -1
- package/dist/cjs/ru-e74b1a4b.js +0 -130
- package/dist/cjs/ru-e74b1a4b.js.map +0 -1
- package/dist/cjs/sk-43b85c45.js +0 -152
- package/dist/cjs/sk-43b85c45.js.map +0 -1
- package/dist/cjs/sl-fe777b20.js +0 -172
- package/dist/cjs/sl-fe777b20.js.map +0 -1
- package/dist/cjs/sortableComponent-e0f08c80.js +0 -2745
- package/dist/cjs/sortableComponent-e0f08c80.js.map +0 -1
- package/dist/cjs/sr-47f09110.js +0 -105
- package/dist/cjs/sr-47f09110.js.map +0 -1
- package/dist/cjs/sv-5b99a334.js +0 -75
- package/dist/cjs/sv-5b99a334.js.map +0 -1
- package/dist/cjs/t9n-757faaa7.js +0 -101
- package/dist/cjs/t9n-757faaa7.js.map +0 -1
- package/dist/cjs/th-2f957999.js +0 -69
- package/dist/cjs/th-2f957999.js.map +0 -1
- package/dist/cjs/throttle-a8375e68.js +0 -77
- package/dist/cjs/throttle-a8375e68.js.map +0 -1
- package/dist/cjs/tr-9e24c8be.js +0 -70
- package/dist/cjs/tr-9e24c8be.js.map +0 -1
- package/dist/cjs/uk-8ad5732e.js +0 -108
- package/dist/cjs/uk-8ad5732e.js.map +0 -1
- package/dist/cjs/utils-2df69f82.js +0 -310
- package/dist/cjs/utils-2df69f82.js.map +0 -1
- package/dist/cjs/utils-9d896d74.js +0 -2296
- package/dist/cjs/utils-9d896d74.js.map +0 -1
- package/dist/cjs/vi-acb4353d.js +0 -74
- package/dist/cjs/vi-acb4353d.js.map +0 -1
- package/dist/cjs/zh-cn-212c89ee.js +0 -98
- package/dist/cjs/zh-cn-212c89ee.js.map +0 -1
- package/dist/cjs/zh-hk-6236824d.js +0 -96
- package/dist/cjs/zh-hk-6236824d.js.map +0 -1
- package/dist/cjs/zh-tw-20749f71.js +0 -96
- package/dist/cjs/zh-tw-20749f71.js.map +0 -1
- package/dist/esm/ExpandToggle-500703f8.js +0 -101
- package/dist/esm/ExpandToggle-500703f8.js.map +0 -1
- package/dist/esm/FloatingArrow-000cc48a.js +0 -45
- package/dist/esm/FloatingArrow-000cc48a.js.map +0 -1
- package/dist/esm/Heading-7f00a7e4.js +0 -19
- package/dist/esm/Heading-7f00a7e4.js.map +0 -1
- package/dist/esm/Validation-d2c36b33.js +0 -16
- package/dist/esm/Validation-d2c36b33.js.map +0 -1
- package/dist/esm/app-globals-4b895d64.js +0 -61
- package/dist/esm/app-globals-4b895d64.js.map +0 -1
- package/dist/esm/ar-1bf4e0d4.js +0 -106
- package/dist/esm/ar-1bf4e0d4.js.map +0 -1
- package/dist/esm/array-cd24344f.js +0 -12
- package/dist/esm/array-cd24344f.js.map +0 -1
- package/dist/esm/bg-c41b54e3.js +0 -84
- package/dist/esm/bg-c41b54e3.js.map +0 -1
- package/dist/esm/browser-51968afa.js +0 -20
- package/dist/esm/browser-51968afa.js.map +0 -1
- package/dist/esm/bs-de9291ab.js +0 -53
- package/dist/esm/bs-de9291ab.js.map +0 -1
- package/dist/esm/ca-2814ece8.js +0 -73
- package/dist/esm/ca-2814ece8.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-c6c88571.js +0 -2915
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-c6c88571.js.map +0 -1
- package/dist/esm/component-953123ef.js +0 -27
- package/dist/esm/component-953123ef.js.map +0 -1
- package/dist/esm/conditionalSlot-b83bd9ee.js +0 -48
- package/dist/esm/conditionalSlot-b83bd9ee.js.map +0 -1
- package/dist/esm/config-5d0285dd.js +0 -34
- package/dist/esm/config-5d0285dd.js.map +0 -1
- package/dist/esm/core-a0d0b5a8.js +0 -17
- package/dist/esm/core-a0d0b5a8.js.map +0 -1
- package/dist/esm/cs-ad9fcf4b.js +0 -149
- package/dist/esm/cs-ad9fcf4b.js.map +0 -1
- package/dist/esm/da-f253c417.js +0 -69
- package/dist/esm/da-f253c417.js.map +0 -1
- package/dist/esm/de-at-e5ae1978.js +0 -92
- package/dist/esm/de-at-e5ae1978.js.map +0 -1
- package/dist/esm/de-c542e63a.js +0 -93
- package/dist/esm/de-c542e63a.js.map +0 -1
- package/dist/esm/de-ch-81a9268e.js +0 -92
- package/dist/esm/de-ch-81a9268e.js.map +0 -1
- package/dist/esm/debounce-7340365c.js +0 -497
- package/dist/esm/debounce-7340365c.js.map +0 -1
- package/dist/esm/dom-f039b73f.js +0 -1174
- package/dist/esm/dom-f039b73f.js.map +0 -1
- package/dist/esm/el-414fe848.js +0 -68
- package/dist/esm/el-414fe848.js.map +0 -1
- package/dist/esm/en-au-3cc75948.js +0 -68
- package/dist/esm/en-au-3cc75948.js.map +0 -1
- package/dist/esm/en-ca-86a09f41.js +0 -67
- package/dist/esm/en-ca-86a09f41.js.map +0 -1
- package/dist/esm/en-gb-28edd79d.js +0 -71
- package/dist/esm/en-gb-28edd79d.js.map +0 -1
- package/dist/esm/es-427dc979.js +0 -68
- package/dist/esm/es-427dc979.js.map +0 -1
- package/dist/esm/es-mx-225dceff.js +0 -67
- package/dist/esm/es-mx-225dceff.js.map +0 -1
- package/dist/esm/et-1ccb7a3c.js +0 -94
- package/dist/esm/et-1ccb7a3c.js.map +0 -1
- package/dist/esm/fi-8cfab479.js +0 -117
- package/dist/esm/fi-8cfab479.js.map +0 -1
- package/dist/esm/filter-f30fc2a2.js +0 -772
- package/dist/esm/filter-f30fc2a2.js.map +0 -1
- package/dist/esm/floating-ui-3f60bc0c.js +0 -2353
- package/dist/esm/floating-ui-3f60bc0c.js.map +0 -1
- package/dist/esm/focusTrapComponent-7e6a5fb7.js +0 -1010
- package/dist/esm/focusTrapComponent-7e6a5fb7.js.map +0 -1
- package/dist/esm/form-217d6e2f.js +0 -369
- package/dist/esm/form-217d6e2f.js.map +0 -1
- package/dist/esm/fr-ch-964c5ec2.js +0 -68
- package/dist/esm/fr-ch-964c5ec2.js.map +0 -1
- package/dist/esm/fr-d8c85d02.js +0 -70
- package/dist/esm/fr-d8c85d02.js.map +0 -1
- package/dist/esm/guid-69d00190.js +0 -21
- package/dist/esm/guid-69d00190.js.map +0 -1
- package/dist/esm/he-06408aba.js +0 -107
- package/dist/esm/he-06408aba.js.map +0 -1
- package/dist/esm/hi-be07cb20.js +0 -67
- package/dist/esm/hi-be07cb20.js.map +0 -1
- package/dist/esm/hr-9614796c.js +0 -82
- package/dist/esm/hr-9614796c.js.map +0 -1
- package/dist/esm/hu-1f54e753.js +0 -90
- package/dist/esm/hu-1f54e753.js.map +0 -1
- package/dist/esm/id-9581993e.js +0 -68
- package/dist/esm/id-9581993e.js.map +0 -1
- package/dist/esm/index-41c47a1a.js +0 -206
- package/dist/esm/index-41c47a1a.js.map +0 -1
- package/dist/esm/index-6a370b8b.js +0 -73
- package/dist/esm/index-6a370b8b.js.map +0 -1
- package/dist/esm/index-fb64d7c1.js +0 -1939
- package/dist/esm/index-fb64d7c1.js.map +0 -1
- package/dist/esm/input-8f9edb1b.js +0 -55
- package/dist/esm/input-8f9edb1b.js.map +0 -1
- package/dist/esm/interactive-afffda99.js +0 -161
- package/dist/esm/interactive-afffda99.js.map +0 -1
- package/dist/esm/it-8740420a.js +0 -68
- package/dist/esm/it-8740420a.js.map +0 -1
- package/dist/esm/it-ch-883c8299.js +0 -68
- package/dist/esm/it-ch-883c8299.js.map +0 -1
- package/dist/esm/ja-eade2a4d.js +0 -74
- package/dist/esm/ja-eade2a4d.js.map +0 -1
- package/dist/esm/key-e74ae323.js +0 -13
- package/dist/esm/key-e74ae323.js.map +0 -1
- package/dist/esm/ko-636c6a02.js +0 -74
- package/dist/esm/ko-636c6a02.js.map +0 -1
- package/dist/esm/label-000afdd5.js +0 -176
- package/dist/esm/label-000afdd5.js.map +0 -1
- package/dist/esm/loadable-43e2a219.js +0 -86
- package/dist/esm/loadable-43e2a219.js.map +0 -1
- package/dist/esm/locale-c3c787f4.js +0 -563
- package/dist/esm/locale-c3c787f4.js.map +0 -1
- package/dist/esm/logger-1a7470e1.js +0 -56
- package/dist/esm/logger-1a7470e1.js.map +0 -1
- package/dist/esm/lt-3d7e23da.js +0 -99
- package/dist/esm/lt-3d7e23da.js.map +0 -1
- package/dist/esm/lv-d1ca0567.js +0 -68
- package/dist/esm/lv-d1ca0567.js.map +0 -1
- package/dist/esm/math-586c5be0.js +0 -51
- package/dist/esm/math-586c5be0.js.map +0 -1
- package/dist/esm/mk-ba2eaf85.js +0 -68
- package/dist/esm/mk-ba2eaf85.js.map +0 -1
- package/dist/esm/nb-b793846d.js +0 -69
- package/dist/esm/nb-b793846d.js.map +0 -1
- package/dist/esm/nl-746aca35.js +0 -69
- package/dist/esm/nl-746aca35.js.map +0 -1
- package/dist/esm/observers-8a8197b5.js +0 -50
- package/dist/esm/observers-8a8197b5.js.map +0 -1
- package/dist/esm/openCloseComponent-5071adb5.js +0 -60
- package/dist/esm/openCloseComponent-5071adb5.js.map +0 -1
- package/dist/esm/pl-1c81efd8.js +0 -116
- package/dist/esm/pl-1c81efd8.js.map +0 -1
- package/dist/esm/pt-8c27ff2a.js +0 -69
- package/dist/esm/pt-8c27ff2a.js.map +0 -1
- package/dist/esm/pt-br-1b01f752.js +0 -67
- package/dist/esm/pt-br-1b01f752.js.map +0 -1
- package/dist/esm/resources-36e1748e.js +0 -19
- package/dist/esm/resources-36e1748e.js.map +0 -1
- package/dist/esm/resources-4c9654be.js +0 -23
- package/dist/esm/resources-4c9654be.js.map +0 -1
- package/dist/esm/resources-61ac269f.js +0 -382
- package/dist/esm/resources-61ac269f.js.map +0 -1
- package/dist/esm/resources-88e386d4.js +0 -21
- package/dist/esm/resources-88e386d4.js.map +0 -1
- package/dist/esm/resources-a435e267.js +0 -16
- package/dist/esm/resources-a435e267.js.map +0 -1
- package/dist/esm/resources-cdcddcef.js +0 -52
- package/dist/esm/resources-cdcddcef.js.map +0 -1
- package/dist/esm/resources-f67d8c3c.js +0 -25
- package/dist/esm/resources-f67d8c3c.js.map +0 -1
- package/dist/esm/ro-4962b40d.js +0 -68
- package/dist/esm/ro-4962b40d.js.map +0 -1
- package/dist/esm/ru-ea93135a.js +0 -128
- package/dist/esm/ru-ea93135a.js.map +0 -1
- package/dist/esm/sk-bf842912.js +0 -150
- package/dist/esm/sk-bf842912.js.map +0 -1
- package/dist/esm/sl-b9d1e859.js +0 -170
- package/dist/esm/sl-b9d1e859.js.map +0 -1
- package/dist/esm/sortableComponent-20796144.js +0 -2742
- package/dist/esm/sortableComponent-20796144.js.map +0 -1
- package/dist/esm/sr-59278880.js +0 -103
- package/dist/esm/sr-59278880.js.map +0 -1
- package/dist/esm/sv-c818da2c.js +0 -73
- package/dist/esm/sv-c818da2c.js.map +0 -1
- package/dist/esm/t9n-b28db99e.js +0 -96
- package/dist/esm/t9n-b28db99e.js.map +0 -1
- package/dist/esm/th-7032185d.js +0 -67
- package/dist/esm/th-7032185d.js.map +0 -1
- package/dist/esm/throttle-6b364a7c.js +0 -75
- package/dist/esm/throttle-6b364a7c.js.map +0 -1
- package/dist/esm/tr-a48468b3.js +0 -68
- package/dist/esm/tr-a48468b3.js.map +0 -1
- package/dist/esm/uk-4b0280cc.js +0 -106
- package/dist/esm/uk-4b0280cc.js.map +0 -1
- package/dist/esm/utils-15fb5cf1.js +0 -2266
- package/dist/esm/utils-15fb5cf1.js.map +0 -1
- package/dist/esm/utils-ded91ac8.js +0 -292
- package/dist/esm/utils-ded91ac8.js.map +0 -1
- package/dist/esm/vi-33ce8eda.js +0 -72
- package/dist/esm/vi-33ce8eda.js.map +0 -1
- package/dist/esm/zh-cn-e92e31c4.js +0 -96
- package/dist/esm/zh-cn-e92e31c4.js.map +0 -1
- package/dist/esm/zh-hk-17993203.js +0 -94
- package/dist/esm/zh-hk-17993203.js.map +0 -1
- package/dist/esm/zh-tw-a1646d22.js +0 -94
- package/dist/esm/zh-tw-a1646d22.js.map +0 -1
- /package/dist/calcite/{p-0f24a9de.entry.js.map → p-02c10038.entry.js.map} +0 -0
- /package/dist/calcite/{p-19c16491.js.map → p-072d047f.js.map} +0 -0
- /package/dist/calcite/{p-f7bb6a78.entry.js.map → p-09274940.entry.js.map} +0 -0
- /package/dist/calcite/{p-abcd88df.entry.js.map → p-097123a1.entry.js.map} +0 -0
- /package/dist/calcite/{p-8b9f1f5f.entry.js.map → p-0c87a514.entry.js.map} +0 -0
- /package/dist/calcite/{p-e259e82b.entry.js.map → p-0c93d8b1.entry.js.map} +0 -0
- /package/dist/calcite/{p-0a07905e.entry.js.map → p-0d59d261.entry.js.map} +0 -0
- /package/dist/calcite/{p-7b664b79.entry.js.map → p-0db2e957.entry.js.map} +0 -0
- /package/dist/calcite/{p-b751a1c3.js.map → p-0f337dab.js.map} +0 -0
- /package/dist/calcite/{p-5c64259c.js.map → p-10a2d40a.js.map} +0 -0
- /package/dist/calcite/{p-3cb58911.js.map → p-127e971d.js.map} +0 -0
- /package/dist/calcite/{p-76dd2caf.entry.js.map → p-135cac88.entry.js.map} +0 -0
- /package/dist/calcite/{p-9dd820a6.js.map → p-14f95807.js.map} +0 -0
- /package/dist/calcite/{p-74413f4c.entry.js.map → p-15f4f2d3.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c1b2fae.js.map → p-1925eeb3.js.map} +0 -0
- /package/dist/calcite/{p-5a90ed56.js.map → p-1a67e6b6.js.map} +0 -0
- /package/dist/calcite/{p-dcefd931.entry.js.map → p-1d7a743d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b38788d3.js.map → p-2037c1f9.js.map} +0 -0
- /package/dist/calcite/{p-73214fd4.entry.js.map → p-23a6576f.entry.js.map} +0 -0
- /package/dist/calcite/{p-29f1871d.js.map → p-248e8536.js.map} +0 -0
- /package/dist/calcite/{p-cc83b8d2.entry.js.map → p-26915e82.entry.js.map} +0 -0
- /package/dist/calcite/{p-8be3e924.js.map → p-2767f613.js.map} +0 -0
- /package/dist/calcite/{p-f5254936.entry.js.map → p-29c56958.entry.js.map} +0 -0
- /package/dist/calcite/{p-852decf6.entry.js.map → p-2a9fb9e8.entry.js.map} +0 -0
- /package/dist/calcite/{p-358821c4.entry.js.map → p-2e39dbd6.entry.js.map} +0 -0
- /package/dist/calcite/{p-e666811b.js.map → p-30962efe.js.map} +0 -0
- /package/dist/calcite/{p-ac9ba0cb.js.map → p-31e39e24.js.map} +0 -0
- /package/dist/calcite/{p-cf852d91.js.map → p-31fdf7a2.js.map} +0 -0
- /package/dist/calcite/{p-6c3235b5.js.map → p-342f6f9b.js.map} +0 -0
- /package/dist/calcite/{p-4ce0137b.entry.js.map → p-35178985.entry.js.map} +0 -0
- /package/dist/calcite/{p-b0aa4b77.entry.js.map → p-3767b7de.entry.js.map} +0 -0
- /package/dist/calcite/{p-70b7e4d9.entry.js.map → p-3ad50e06.entry.js.map} +0 -0
- /package/dist/calcite/{p-6f249f72.entry.js.map → p-3c1868dd.entry.js.map} +0 -0
- /package/dist/calcite/{p-075ebe78.js.map → p-3c335899.js.map} +0 -0
- /package/dist/calcite/{p-db219a9b.js.map → p-3dc042f4.js.map} +0 -0
- /package/dist/calcite/{p-520ffb28.js.map → p-4082a9ea.js.map} +0 -0
- /package/dist/calcite/{p-4a31495e.entry.js.map → p-42781de1.entry.js.map} +0 -0
- /package/dist/calcite/{p-d9785247.js.map → p-435470c9.js.map} +0 -0
- /package/dist/calcite/{p-6e08a6d4.js.map → p-440dc3e2.js.map} +0 -0
- /package/dist/calcite/{p-6e58ea12.js.map → p-453e0c30.js.map} +0 -0
- /package/dist/calcite/{p-812f7c8d.js.map → p-459ac278.js.map} +0 -0
- /package/dist/calcite/{p-e87f0b8c.entry.js.map → p-46bee713.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5feac8c.js.map → p-48ec8617.js.map} +0 -0
- /package/dist/calcite/{p-17ce5a69.js.map → p-4d88aaa8.js.map} +0 -0
- /package/dist/calcite/{p-dbdcad13.js.map → p-4e6e891e.js.map} +0 -0
- /package/dist/calcite/{p-0cea1bfc.entry.js.map → p-4fada18f.entry.js.map} +0 -0
- /package/dist/calcite/{p-7cca3a5d.entry.js.map → p-510c4711.entry.js.map} +0 -0
- /package/dist/calcite/{p-8a241b8e.entry.js.map → p-519e1e25.entry.js.map} +0 -0
- /package/dist/calcite/{p-e014fb92.entry.js.map → p-51a1bedb.entry.js.map} +0 -0
- /package/dist/calcite/{p-6445e9bc.entry.js.map → p-51a57100.entry.js.map} +0 -0
- /package/dist/calcite/{p-963a2727.js.map → p-54151a52.js.map} +0 -0
- /package/dist/calcite/{p-52261f93.js.map → p-54a55ecc.js.map} +0 -0
- /package/dist/calcite/{p-b4ed1e12.entry.js.map → p-551eaa39.entry.js.map} +0 -0
- /package/dist/calcite/{p-9aa380e1.entry.js.map → p-56eba95c.entry.js.map} +0 -0
- /package/dist/calcite/{p-23f5e7e2.js.map → p-581201f2.js.map} +0 -0
- /package/dist/calcite/{p-627da767.entry.js.map → p-58d68b22.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a971fb2.js.map → p-58d9ef7e.js.map} +0 -0
- /package/dist/calcite/{p-3c9fc934.js.map → p-59c099e0.js.map} +0 -0
- /package/dist/calcite/{p-5ee2f055.entry.js.map → p-5dd1fc25.entry.js.map} +0 -0
- /package/dist/calcite/{p-4534037d.js.map → p-5def2a4e.js.map} +0 -0
- /package/dist/calcite/{p-7fd7cf78.js.map → p-5ed63e40.js.map} +0 -0
- /package/dist/calcite/{p-a8d91331.js.map → p-61a6479b.js.map} +0 -0
- /package/dist/calcite/{p-c2cef928.entry.js.map → p-6287e801.entry.js.map} +0 -0
- /package/dist/calcite/{p-8d1483e7.entry.js.map → p-62a322f2.entry.js.map} +0 -0
- /package/dist/calcite/{p-9fdfc92d.js.map → p-62d1b195.js.map} +0 -0
- /package/dist/calcite/{p-d06efbe2.entry.js.map → p-637d80d4.entry.js.map} +0 -0
- /package/dist/calcite/{p-2fbf254b.entry.js.map → p-652487bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d6f0bc7.js.map → p-657d551f.js.map} +0 -0
- /package/dist/calcite/{p-75c27f42.entry.js.map → p-6591444f.entry.js.map} +0 -0
- /package/dist/calcite/{p-ba1cdf7a.js.map → p-672e9c27.js.map} +0 -0
- /package/dist/calcite/{p-d07048b0.js.map → p-68b5bfb6.js.map} +0 -0
- /package/dist/calcite/{p-838e7e5d.entry.js.map → p-6a3df3e5.entry.js.map} +0 -0
- /package/dist/calcite/{p-9cb673f4.entry.js.map → p-6b3d7fdb.entry.js.map} +0 -0
- /package/dist/calcite/{p-c9e45e58.entry.js.map → p-6b7a136f.entry.js.map} +0 -0
- /package/dist/calcite/{p-49e7feca.js.map → p-6d1036ae.js.map} +0 -0
- /package/dist/calcite/{p-d533742a.entry.js.map → p-73e12d8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-90134007.js.map → p-77bda5a6.js.map} +0 -0
- /package/dist/calcite/{p-12d00e4f.js.map → p-7b6bbeb3.js.map} +0 -0
- /package/dist/calcite/{p-2211aea3.js.map → p-7cbeab05.js.map} +0 -0
- /package/dist/calcite/{p-5d331ae2.entry.js.map → p-7e1498a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-3078d66a.js.map → p-7f305814.js.map} +0 -0
- /package/dist/calcite/{p-c0ffd2d9.entry.js.map → p-7fe8e32d.entry.js.map} +0 -0
- /package/dist/calcite/{p-e9dedbcd.js.map → p-823c589e.js.map} +0 -0
- /package/dist/calcite/{p-8d5a70dd.js.map → p-82e06ac3.js.map} +0 -0
- /package/dist/calcite/{p-0fa8ada7.entry.js.map → p-85ecf169.entry.js.map} +0 -0
- /package/dist/calcite/{p-91c386d2.entry.js.map → p-86c25cc2.entry.js.map} +0 -0
- /package/dist/calcite/{p-8c231340.js.map → p-872e22a9.js.map} +0 -0
- /package/dist/calcite/{p-d59e6ea7.js.map → p-88040ad5.js.map} +0 -0
- /package/dist/calcite/{p-06781719.entry.js.map → p-8833aaa6.entry.js.map} +0 -0
- /package/dist/calcite/{p-47f35db4.entry.js.map → p-8a31f622.entry.js.map} +0 -0
- /package/dist/calcite/{p-0c5a6fb1.js.map → p-8a33be1b.js.map} +0 -0
- /package/dist/calcite/{p-bd04c5ae.js.map → p-8c31bb39.js.map} +0 -0
- /package/dist/calcite/{p-c6ba3d39.js.map → p-8ca5cb4b.js.map} +0 -0
- /package/dist/calcite/{p-7ca19e7e.entry.js.map → p-8dde9f61.entry.js.map} +0 -0
- /package/dist/calcite/{p-663cfe52.js.map → p-8def2166.js.map} +0 -0
- /package/dist/calcite/{p-917e29a6.js.map → p-8e85901d.js.map} +0 -0
- /package/dist/calcite/{p-255e8545.entry.js.map → p-8e8d939e.entry.js.map} +0 -0
- /package/dist/calcite/{p-d987db79.js.map → p-90726b1b.js.map} +0 -0
- /package/dist/calcite/{p-c11f43b4.js.map → p-91b0f9e8.js.map} +0 -0
- /package/dist/calcite/{p-432742a7.js.map → p-91d14fd0.js.map} +0 -0
- /package/dist/calcite/{p-c9f2791f.entry.js.map → p-93fec454.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd6e2c70.entry.js.map → p-97e46d38.entry.js.map} +0 -0
- /package/dist/calcite/{p-660b7de5.js.map → p-99376704.js.map} +0 -0
- /package/dist/calcite/{p-73138b78.entry.js.map → p-9e7773ba.entry.js.map} +0 -0
- /package/dist/calcite/{p-bfcb6474.js.map → p-a7bcc06b.js.map} +0 -0
- /package/dist/calcite/{p-20affe2e.js.map → p-a7e82efc.js.map} +0 -0
- /package/dist/calcite/{p-2f13496b.js.map → p-a8e44e26.js.map} +0 -0
- /package/dist/calcite/{p-d17dfcac.entry.js.map → p-ae40f50a.entry.js.map} +0 -0
- /package/dist/calcite/{p-0052767e.js.map → p-b0abed55.js.map} +0 -0
- /package/dist/calcite/{p-39bd9859.js.map → p-b0be3940.js.map} +0 -0
- /package/dist/calcite/{p-36bc7bb4.js.map → p-b274244f.js.map} +0 -0
- /package/dist/calcite/{p-c7c09db0.js.map → p-b31b39e5.js.map} +0 -0
- /package/dist/calcite/{p-a782ca4f.js.map → p-b438d2f6.js.map} +0 -0
- /package/dist/calcite/{p-4e1d67eb.js.map → p-b54b9358.js.map} +0 -0
- /package/dist/calcite/{p-947877d4.entry.js.map → p-ba1dcdbd.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bcff908.entry.js.map → p-ba2496c3.entry.js.map} +0 -0
- /package/dist/calcite/{p-f5fc73ad.js.map → p-ba5ade66.js.map} +0 -0
- /package/dist/calcite/{p-b4d9832d.entry.js.map → p-bd906db5.entry.js.map} +0 -0
- /package/dist/calcite/{p-39b688ba.js.map → p-bfc7081e.js.map} +0 -0
- /package/dist/calcite/{p-527178bf.js.map → p-c214936b.js.map} +0 -0
- /package/dist/calcite/{p-b51290e2.entry.js.map → p-c2508256.entry.js.map} +0 -0
- /package/dist/calcite/{p-d60754be.entry.js.map → p-c535820b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8fb58acb.js.map → p-c7f5ad76.js.map} +0 -0
- /package/dist/calcite/{p-5397cb10.entry.js.map → p-c8098bf0.entry.js.map} +0 -0
- /package/dist/calcite/{p-63af3fda.js.map → p-c80b30f1.js.map} +0 -0
- /package/dist/calcite/{p-92dfaaeb.js.map → p-c9ed2b27.js.map} +0 -0
- /package/dist/calcite/{p-629e05f3.entry.js.map → p-ca4666f4.entry.js.map} +0 -0
- /package/dist/calcite/{p-7d91ad23.js.map → p-cb0379fa.js.map} +0 -0
- /package/dist/calcite/{p-734fcfd8.js.map → p-cbd30c0e.js.map} +0 -0
- /package/dist/calcite/{p-c9cb54d9.entry.js.map → p-cc2b5a32.entry.js.map} +0 -0
- /package/dist/calcite/{p-4c89f16f.js.map → p-cc3b323d.js.map} +0 -0
- /package/dist/calcite/{p-374da73b.entry.js.map → p-cdf45b6e.entry.js.map} +0 -0
- /package/dist/calcite/{p-5043f9e5.entry.js.map → p-cf8a0e9b.entry.js.map} +0 -0
- /package/dist/calcite/{p-534603ad.js.map → p-d64a323d.js.map} +0 -0
- /package/dist/calcite/{p-a2f1bb67.js.map → p-d8995b59.js.map} +0 -0
- /package/dist/calcite/{p-d8ce1e4c.js.map → p-d9895327.js.map} +0 -0
- /package/dist/calcite/{p-3a85631b.js.map → p-d9d71fb1.js.map} +0 -0
- /package/dist/calcite/{p-a300c503.js.map → p-d9feda84.js.map} +0 -0
- /package/dist/calcite/{p-4ef177d1.js.map → p-db23b635.js.map} +0 -0
- /package/dist/calcite/{p-82994865.entry.js.map → p-dde35a87.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b7f6a9c.js.map → p-df427464.js.map} +0 -0
- /package/dist/calcite/{p-4c6fe4b4.js.map → p-e0df786c.js.map} +0 -0
- /package/dist/calcite/{p-4c25c8bc.js.map → p-e3a046ae.js.map} +0 -0
- /package/dist/calcite/{p-5adf881a.js.map → p-e558740e.js.map} +0 -0
- /package/dist/calcite/{p-8db76647.entry.js.map → p-e8286f11.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3b665d4.js.map → p-e9adcf13.js.map} +0 -0
- /package/dist/calcite/{p-c3baafe0.entry.js.map → p-eaed748e.entry.js.map} +0 -0
- /package/dist/calcite/{p-21b7c952.entry.js.map → p-eb140766.entry.js.map} +0 -0
- /package/dist/calcite/{p-672e2b25.entry.js.map → p-f04e2c16.entry.js.map} +0 -0
- /package/dist/calcite/{p-aaab70ae.js.map → p-f23cf681.js.map} +0 -0
- /package/dist/calcite/{p-67e4877e.js.map → p-f2cd9ed3.js.map} +0 -0
- /package/dist/calcite/{p-0c211515.js.map → p-f61cb332.js.map} +0 -0
- /package/dist/calcite/{p-630d12b8.js.map → p-f64741b0.js.map} +0 -0
- /package/dist/calcite/{p-f0faeb4a.js.map → p-faa6c364.js.map} +0 -0
- /package/dist/calcite/{p-1146c327.js.map → p-fad5e65e.js.map} +0 -0
- /package/dist/calcite/{p-1941e5f1.entry.js.map → p-fbd62e4d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b71e0723.js.map → p-fbe671fc.js.map} +0 -0
- /package/dist/calcite/{p-115c4c37.entry.js.map → p-fc69a2c1.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ac5aff6.entry.js.map → p-fcd70a76.entry.js.map} +0 -0
- /package/dist/calcite/{p-34b0826a.js.map → p-fd85ef0c.js.map} +0 -0
|
@@ -0,0 +1,2296 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
+
* v2.11.0-next.23
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
var colorString$1 = {exports: {}};
|
|
9
|
+
|
|
10
|
+
var colorName = {
|
|
11
|
+
"aliceblue": [240, 248, 255],
|
|
12
|
+
"antiquewhite": [250, 235, 215],
|
|
13
|
+
"aqua": [0, 255, 255],
|
|
14
|
+
"aquamarine": [127, 255, 212],
|
|
15
|
+
"azure": [240, 255, 255],
|
|
16
|
+
"beige": [245, 245, 220],
|
|
17
|
+
"bisque": [255, 228, 196],
|
|
18
|
+
"black": [0, 0, 0],
|
|
19
|
+
"blanchedalmond": [255, 235, 205],
|
|
20
|
+
"blue": [0, 0, 255],
|
|
21
|
+
"blueviolet": [138, 43, 226],
|
|
22
|
+
"brown": [165, 42, 42],
|
|
23
|
+
"burlywood": [222, 184, 135],
|
|
24
|
+
"cadetblue": [95, 158, 160],
|
|
25
|
+
"chartreuse": [127, 255, 0],
|
|
26
|
+
"chocolate": [210, 105, 30],
|
|
27
|
+
"coral": [255, 127, 80],
|
|
28
|
+
"cornflowerblue": [100, 149, 237],
|
|
29
|
+
"cornsilk": [255, 248, 220],
|
|
30
|
+
"crimson": [220, 20, 60],
|
|
31
|
+
"cyan": [0, 255, 255],
|
|
32
|
+
"darkblue": [0, 0, 139],
|
|
33
|
+
"darkcyan": [0, 139, 139],
|
|
34
|
+
"darkgoldenrod": [184, 134, 11],
|
|
35
|
+
"darkgray": [169, 169, 169],
|
|
36
|
+
"darkgreen": [0, 100, 0],
|
|
37
|
+
"darkgrey": [169, 169, 169],
|
|
38
|
+
"darkkhaki": [189, 183, 107],
|
|
39
|
+
"darkmagenta": [139, 0, 139],
|
|
40
|
+
"darkolivegreen": [85, 107, 47],
|
|
41
|
+
"darkorange": [255, 140, 0],
|
|
42
|
+
"darkorchid": [153, 50, 204],
|
|
43
|
+
"darkred": [139, 0, 0],
|
|
44
|
+
"darksalmon": [233, 150, 122],
|
|
45
|
+
"darkseagreen": [143, 188, 143],
|
|
46
|
+
"darkslateblue": [72, 61, 139],
|
|
47
|
+
"darkslategray": [47, 79, 79],
|
|
48
|
+
"darkslategrey": [47, 79, 79],
|
|
49
|
+
"darkturquoise": [0, 206, 209],
|
|
50
|
+
"darkviolet": [148, 0, 211],
|
|
51
|
+
"deeppink": [255, 20, 147],
|
|
52
|
+
"deepskyblue": [0, 191, 255],
|
|
53
|
+
"dimgray": [105, 105, 105],
|
|
54
|
+
"dimgrey": [105, 105, 105],
|
|
55
|
+
"dodgerblue": [30, 144, 255],
|
|
56
|
+
"firebrick": [178, 34, 34],
|
|
57
|
+
"floralwhite": [255, 250, 240],
|
|
58
|
+
"forestgreen": [34, 139, 34],
|
|
59
|
+
"fuchsia": [255, 0, 255],
|
|
60
|
+
"gainsboro": [220, 220, 220],
|
|
61
|
+
"ghostwhite": [248, 248, 255],
|
|
62
|
+
"gold": [255, 215, 0],
|
|
63
|
+
"goldenrod": [218, 165, 32],
|
|
64
|
+
"gray": [128, 128, 128],
|
|
65
|
+
"green": [0, 128, 0],
|
|
66
|
+
"greenyellow": [173, 255, 47],
|
|
67
|
+
"grey": [128, 128, 128],
|
|
68
|
+
"honeydew": [240, 255, 240],
|
|
69
|
+
"hotpink": [255, 105, 180],
|
|
70
|
+
"indianred": [205, 92, 92],
|
|
71
|
+
"indigo": [75, 0, 130],
|
|
72
|
+
"ivory": [255, 255, 240],
|
|
73
|
+
"khaki": [240, 230, 140],
|
|
74
|
+
"lavender": [230, 230, 250],
|
|
75
|
+
"lavenderblush": [255, 240, 245],
|
|
76
|
+
"lawngreen": [124, 252, 0],
|
|
77
|
+
"lemonchiffon": [255, 250, 205],
|
|
78
|
+
"lightblue": [173, 216, 230],
|
|
79
|
+
"lightcoral": [240, 128, 128],
|
|
80
|
+
"lightcyan": [224, 255, 255],
|
|
81
|
+
"lightgoldenrodyellow": [250, 250, 210],
|
|
82
|
+
"lightgray": [211, 211, 211],
|
|
83
|
+
"lightgreen": [144, 238, 144],
|
|
84
|
+
"lightgrey": [211, 211, 211],
|
|
85
|
+
"lightpink": [255, 182, 193],
|
|
86
|
+
"lightsalmon": [255, 160, 122],
|
|
87
|
+
"lightseagreen": [32, 178, 170],
|
|
88
|
+
"lightskyblue": [135, 206, 250],
|
|
89
|
+
"lightslategray": [119, 136, 153],
|
|
90
|
+
"lightslategrey": [119, 136, 153],
|
|
91
|
+
"lightsteelblue": [176, 196, 222],
|
|
92
|
+
"lightyellow": [255, 255, 224],
|
|
93
|
+
"lime": [0, 255, 0],
|
|
94
|
+
"limegreen": [50, 205, 50],
|
|
95
|
+
"linen": [250, 240, 230],
|
|
96
|
+
"magenta": [255, 0, 255],
|
|
97
|
+
"maroon": [128, 0, 0],
|
|
98
|
+
"mediumaquamarine": [102, 205, 170],
|
|
99
|
+
"mediumblue": [0, 0, 205],
|
|
100
|
+
"mediumorchid": [186, 85, 211],
|
|
101
|
+
"mediumpurple": [147, 112, 219],
|
|
102
|
+
"mediumseagreen": [60, 179, 113],
|
|
103
|
+
"mediumslateblue": [123, 104, 238],
|
|
104
|
+
"mediumspringgreen": [0, 250, 154],
|
|
105
|
+
"mediumturquoise": [72, 209, 204],
|
|
106
|
+
"mediumvioletred": [199, 21, 133],
|
|
107
|
+
"midnightblue": [25, 25, 112],
|
|
108
|
+
"mintcream": [245, 255, 250],
|
|
109
|
+
"mistyrose": [255, 228, 225],
|
|
110
|
+
"moccasin": [255, 228, 181],
|
|
111
|
+
"navajowhite": [255, 222, 173],
|
|
112
|
+
"navy": [0, 0, 128],
|
|
113
|
+
"oldlace": [253, 245, 230],
|
|
114
|
+
"olive": [128, 128, 0],
|
|
115
|
+
"olivedrab": [107, 142, 35],
|
|
116
|
+
"orange": [255, 165, 0],
|
|
117
|
+
"orangered": [255, 69, 0],
|
|
118
|
+
"orchid": [218, 112, 214],
|
|
119
|
+
"palegoldenrod": [238, 232, 170],
|
|
120
|
+
"palegreen": [152, 251, 152],
|
|
121
|
+
"paleturquoise": [175, 238, 238],
|
|
122
|
+
"palevioletred": [219, 112, 147],
|
|
123
|
+
"papayawhip": [255, 239, 213],
|
|
124
|
+
"peachpuff": [255, 218, 185],
|
|
125
|
+
"peru": [205, 133, 63],
|
|
126
|
+
"pink": [255, 192, 203],
|
|
127
|
+
"plum": [221, 160, 221],
|
|
128
|
+
"powderblue": [176, 224, 230],
|
|
129
|
+
"purple": [128, 0, 128],
|
|
130
|
+
"rebeccapurple": [102, 51, 153],
|
|
131
|
+
"red": [255, 0, 0],
|
|
132
|
+
"rosybrown": [188, 143, 143],
|
|
133
|
+
"royalblue": [65, 105, 225],
|
|
134
|
+
"saddlebrown": [139, 69, 19],
|
|
135
|
+
"salmon": [250, 128, 114],
|
|
136
|
+
"sandybrown": [244, 164, 96],
|
|
137
|
+
"seagreen": [46, 139, 87],
|
|
138
|
+
"seashell": [255, 245, 238],
|
|
139
|
+
"sienna": [160, 82, 45],
|
|
140
|
+
"silver": [192, 192, 192],
|
|
141
|
+
"skyblue": [135, 206, 235],
|
|
142
|
+
"slateblue": [106, 90, 205],
|
|
143
|
+
"slategray": [112, 128, 144],
|
|
144
|
+
"slategrey": [112, 128, 144],
|
|
145
|
+
"snow": [255, 250, 250],
|
|
146
|
+
"springgreen": [0, 255, 127],
|
|
147
|
+
"steelblue": [70, 130, 180],
|
|
148
|
+
"tan": [210, 180, 140],
|
|
149
|
+
"teal": [0, 128, 128],
|
|
150
|
+
"thistle": [216, 191, 216],
|
|
151
|
+
"tomato": [255, 99, 71],
|
|
152
|
+
"turquoise": [64, 224, 208],
|
|
153
|
+
"violet": [238, 130, 238],
|
|
154
|
+
"wheat": [245, 222, 179],
|
|
155
|
+
"white": [255, 255, 255],
|
|
156
|
+
"whitesmoke": [245, 245, 245],
|
|
157
|
+
"yellow": [255, 255, 0],
|
|
158
|
+
"yellowgreen": [154, 205, 50]
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
var simpleSwizzle = {exports: {}};
|
|
162
|
+
|
|
163
|
+
var isArrayish$1 = function isArrayish(obj) {
|
|
164
|
+
if (!obj || typeof obj === 'string') {
|
|
165
|
+
return false;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
return obj instanceof Array || Array.isArray(obj) ||
|
|
169
|
+
(obj.length >= 0 && (obj.splice instanceof Function ||
|
|
170
|
+
(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
var isArrayish = isArrayish$1;
|
|
174
|
+
|
|
175
|
+
var concat = Array.prototype.concat;
|
|
176
|
+
var slice = Array.prototype.slice;
|
|
177
|
+
|
|
178
|
+
var swizzle$1 = simpleSwizzle.exports = function swizzle(args) {
|
|
179
|
+
var results = [];
|
|
180
|
+
|
|
181
|
+
for (var i = 0, len = args.length; i < len; i++) {
|
|
182
|
+
var arg = args[i];
|
|
183
|
+
|
|
184
|
+
if (isArrayish(arg)) {
|
|
185
|
+
// http://jsperf.com/javascript-array-concat-vs-push/98
|
|
186
|
+
results = concat.call(results, slice.call(arg));
|
|
187
|
+
} else {
|
|
188
|
+
results.push(arg);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
return results;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
swizzle$1.wrap = function (fn) {
|
|
196
|
+
return function () {
|
|
197
|
+
return fn(swizzle$1(arguments));
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
/* MIT license */
|
|
202
|
+
|
|
203
|
+
var colorNames = colorName;
|
|
204
|
+
var swizzle = simpleSwizzle.exports;
|
|
205
|
+
var hasOwnProperty = Object.hasOwnProperty;
|
|
206
|
+
|
|
207
|
+
var reverseNames = Object.create(null);
|
|
208
|
+
|
|
209
|
+
// create a list of reverse color names
|
|
210
|
+
for (var name in colorNames) {
|
|
211
|
+
if (hasOwnProperty.call(colorNames, name)) {
|
|
212
|
+
reverseNames[colorNames[name]] = name;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
var cs = colorString$1.exports = {
|
|
217
|
+
to: {},
|
|
218
|
+
get: {}
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
cs.get = function (string) {
|
|
222
|
+
var prefix = string.substring(0, 3).toLowerCase();
|
|
223
|
+
var val;
|
|
224
|
+
var model;
|
|
225
|
+
switch (prefix) {
|
|
226
|
+
case 'hsl':
|
|
227
|
+
val = cs.get.hsl(string);
|
|
228
|
+
model = 'hsl';
|
|
229
|
+
break;
|
|
230
|
+
case 'hwb':
|
|
231
|
+
val = cs.get.hwb(string);
|
|
232
|
+
model = 'hwb';
|
|
233
|
+
break;
|
|
234
|
+
default:
|
|
235
|
+
val = cs.get.rgb(string);
|
|
236
|
+
model = 'rgb';
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (!val) {
|
|
241
|
+
return null;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return {model: model, value: val};
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
cs.get.rgb = function (string) {
|
|
248
|
+
if (!string) {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
var abbr = /^#([a-f0-9]{3,4})$/i;
|
|
253
|
+
var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
|
|
254
|
+
var rgba = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
255
|
+
var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
256
|
+
var keyword = /^(\w+)$/;
|
|
257
|
+
|
|
258
|
+
var rgb = [0, 0, 0, 1];
|
|
259
|
+
var match;
|
|
260
|
+
var i;
|
|
261
|
+
var hexAlpha;
|
|
262
|
+
|
|
263
|
+
if (match = string.match(hex)) {
|
|
264
|
+
hexAlpha = match[2];
|
|
265
|
+
match = match[1];
|
|
266
|
+
|
|
267
|
+
for (i = 0; i < 3; i++) {
|
|
268
|
+
// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19
|
|
269
|
+
var i2 = i * 2;
|
|
270
|
+
rgb[i] = parseInt(match.slice(i2, i2 + 2), 16);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (hexAlpha) {
|
|
274
|
+
rgb[3] = parseInt(hexAlpha, 16) / 255;
|
|
275
|
+
}
|
|
276
|
+
} else if (match = string.match(abbr)) {
|
|
277
|
+
match = match[1];
|
|
278
|
+
hexAlpha = match[3];
|
|
279
|
+
|
|
280
|
+
for (i = 0; i < 3; i++) {
|
|
281
|
+
rgb[i] = parseInt(match[i] + match[i], 16);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
if (hexAlpha) {
|
|
285
|
+
rgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;
|
|
286
|
+
}
|
|
287
|
+
} else if (match = string.match(rgba)) {
|
|
288
|
+
for (i = 0; i < 3; i++) {
|
|
289
|
+
rgb[i] = parseInt(match[i + 1], 0);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
if (match[4]) {
|
|
293
|
+
if (match[5]) {
|
|
294
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
295
|
+
} else {
|
|
296
|
+
rgb[3] = parseFloat(match[4]);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
} else if (match = string.match(per)) {
|
|
300
|
+
for (i = 0; i < 3; i++) {
|
|
301
|
+
rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (match[4]) {
|
|
305
|
+
if (match[5]) {
|
|
306
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
307
|
+
} else {
|
|
308
|
+
rgb[3] = parseFloat(match[4]);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
} else if (match = string.match(keyword)) {
|
|
312
|
+
if (match[1] === 'transparent') {
|
|
313
|
+
return [0, 0, 0, 0];
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (!hasOwnProperty.call(colorNames, match[1])) {
|
|
317
|
+
return null;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
rgb = colorNames[match[1]];
|
|
321
|
+
rgb[3] = 1;
|
|
322
|
+
|
|
323
|
+
return rgb;
|
|
324
|
+
} else {
|
|
325
|
+
return null;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
for (i = 0; i < 3; i++) {
|
|
329
|
+
rgb[i] = clamp(rgb[i], 0, 255);
|
|
330
|
+
}
|
|
331
|
+
rgb[3] = clamp(rgb[3], 0, 1);
|
|
332
|
+
|
|
333
|
+
return rgb;
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
cs.get.hsl = function (string) {
|
|
337
|
+
if (!string) {
|
|
338
|
+
return null;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
|
|
342
|
+
var match = string.match(hsl);
|
|
343
|
+
|
|
344
|
+
if (match) {
|
|
345
|
+
var alpha = parseFloat(match[4]);
|
|
346
|
+
var h = ((parseFloat(match[1]) % 360) + 360) % 360;
|
|
347
|
+
var s = clamp(parseFloat(match[2]), 0, 100);
|
|
348
|
+
var l = clamp(parseFloat(match[3]), 0, 100);
|
|
349
|
+
var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
|
|
350
|
+
|
|
351
|
+
return [h, s, l, a];
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
return null;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
cs.get.hwb = function (string) {
|
|
358
|
+
if (!string) {
|
|
359
|
+
return null;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
|
|
363
|
+
var match = string.match(hwb);
|
|
364
|
+
|
|
365
|
+
if (match) {
|
|
366
|
+
var alpha = parseFloat(match[4]);
|
|
367
|
+
var h = ((parseFloat(match[1]) % 360) + 360) % 360;
|
|
368
|
+
var w = clamp(parseFloat(match[2]), 0, 100);
|
|
369
|
+
var b = clamp(parseFloat(match[3]), 0, 100);
|
|
370
|
+
var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
|
|
371
|
+
return [h, w, b, a];
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
return null;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
cs.to.hex = function () {
|
|
378
|
+
var rgba = swizzle(arguments);
|
|
379
|
+
|
|
380
|
+
return (
|
|
381
|
+
'#' +
|
|
382
|
+
hexDouble(rgba[0]) +
|
|
383
|
+
hexDouble(rgba[1]) +
|
|
384
|
+
hexDouble(rgba[2]) +
|
|
385
|
+
(rgba[3] < 1
|
|
386
|
+
? (hexDouble(Math.round(rgba[3] * 255)))
|
|
387
|
+
: '')
|
|
388
|
+
);
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
cs.to.rgb = function () {
|
|
392
|
+
var rgba = swizzle(arguments);
|
|
393
|
+
|
|
394
|
+
return rgba.length < 4 || rgba[3] === 1
|
|
395
|
+
? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'
|
|
396
|
+
: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
cs.to.rgb.percent = function () {
|
|
400
|
+
var rgba = swizzle(arguments);
|
|
401
|
+
|
|
402
|
+
var r = Math.round(rgba[0] / 255 * 100);
|
|
403
|
+
var g = Math.round(rgba[1] / 255 * 100);
|
|
404
|
+
var b = Math.round(rgba[2] / 255 * 100);
|
|
405
|
+
|
|
406
|
+
return rgba.length < 4 || rgba[3] === 1
|
|
407
|
+
? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'
|
|
408
|
+
: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
cs.to.hsl = function () {
|
|
412
|
+
var hsla = swizzle(arguments);
|
|
413
|
+
return hsla.length < 4 || hsla[3] === 1
|
|
414
|
+
? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'
|
|
415
|
+
: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax
|
|
419
|
+
// (hwb have alpha optional & 1 is default value)
|
|
420
|
+
cs.to.hwb = function () {
|
|
421
|
+
var hwba = swizzle(arguments);
|
|
422
|
+
|
|
423
|
+
var a = '';
|
|
424
|
+
if (hwba.length >= 4 && hwba[3] !== 1) {
|
|
425
|
+
a = ', ' + hwba[3];
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
return 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
cs.to.keyword = function (rgb) {
|
|
432
|
+
return reverseNames[rgb.slice(0, 3)];
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
// helpers
|
|
436
|
+
function clamp(num, min, max) {
|
|
437
|
+
return Math.min(Math.max(min, num), max);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
function hexDouble(num) {
|
|
441
|
+
var str = Math.round(num).toString(16).toUpperCase();
|
|
442
|
+
return (str.length < 2) ? '0' + str : str;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* MIT license */
|
|
446
|
+
|
|
447
|
+
/* eslint-disable no-mixed-operators */
|
|
448
|
+
const cssKeywords = colorName;
|
|
449
|
+
|
|
450
|
+
// NOTE: conversions should only return primitive values (i.e. arrays, or
|
|
451
|
+
// values that give correct `typeof` results).
|
|
452
|
+
// do not use box values types (i.e. Number(), String(), etc.)
|
|
453
|
+
|
|
454
|
+
const reverseKeywords = {};
|
|
455
|
+
for (const key of Object.keys(cssKeywords)) {
|
|
456
|
+
reverseKeywords[cssKeywords[key]] = key;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
const convert$2 = {
|
|
460
|
+
rgb: {channels: 3, labels: 'rgb'},
|
|
461
|
+
hsl: {channels: 3, labels: 'hsl'},
|
|
462
|
+
hsv: {channels: 3, labels: 'hsv'},
|
|
463
|
+
hwb: {channels: 3, labels: 'hwb'},
|
|
464
|
+
cmyk: {channels: 4, labels: 'cmyk'},
|
|
465
|
+
xyz: {channels: 3, labels: 'xyz'},
|
|
466
|
+
lab: {channels: 3, labels: 'lab'},
|
|
467
|
+
lch: {channels: 3, labels: 'lch'},
|
|
468
|
+
hex: {channels: 1, labels: ['hex']},
|
|
469
|
+
keyword: {channels: 1, labels: ['keyword']},
|
|
470
|
+
ansi16: {channels: 1, labels: ['ansi16']},
|
|
471
|
+
ansi256: {channels: 1, labels: ['ansi256']},
|
|
472
|
+
hcg: {channels: 3, labels: ['h', 'c', 'g']},
|
|
473
|
+
apple: {channels: 3, labels: ['r16', 'g16', 'b16']},
|
|
474
|
+
gray: {channels: 1, labels: ['gray']}
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
var conversions$2 = convert$2;
|
|
478
|
+
|
|
479
|
+
// Hide .channels and .labels properties
|
|
480
|
+
for (const model of Object.keys(convert$2)) {
|
|
481
|
+
if (!('channels' in convert$2[model])) {
|
|
482
|
+
throw new Error('missing channels property: ' + model);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
if (!('labels' in convert$2[model])) {
|
|
486
|
+
throw new Error('missing channel labels property: ' + model);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
if (convert$2[model].labels.length !== convert$2[model].channels) {
|
|
490
|
+
throw new Error('channel and label counts mismatch: ' + model);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
const {channels, labels} = convert$2[model];
|
|
494
|
+
delete convert$2[model].channels;
|
|
495
|
+
delete convert$2[model].labels;
|
|
496
|
+
Object.defineProperty(convert$2[model], 'channels', {value: channels});
|
|
497
|
+
Object.defineProperty(convert$2[model], 'labels', {value: labels});
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
convert$2.rgb.hsl = function (rgb) {
|
|
501
|
+
const r = rgb[0] / 255;
|
|
502
|
+
const g = rgb[1] / 255;
|
|
503
|
+
const b = rgb[2] / 255;
|
|
504
|
+
const min = Math.min(r, g, b);
|
|
505
|
+
const max = Math.max(r, g, b);
|
|
506
|
+
const delta = max - min;
|
|
507
|
+
let h;
|
|
508
|
+
let s;
|
|
509
|
+
|
|
510
|
+
if (max === min) {
|
|
511
|
+
h = 0;
|
|
512
|
+
} else if (r === max) {
|
|
513
|
+
h = (g - b) / delta;
|
|
514
|
+
} else if (g === max) {
|
|
515
|
+
h = 2 + (b - r) / delta;
|
|
516
|
+
} else if (b === max) {
|
|
517
|
+
h = 4 + (r - g) / delta;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
h = Math.min(h * 60, 360);
|
|
521
|
+
|
|
522
|
+
if (h < 0) {
|
|
523
|
+
h += 360;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
const l = (min + max) / 2;
|
|
527
|
+
|
|
528
|
+
if (max === min) {
|
|
529
|
+
s = 0;
|
|
530
|
+
} else if (l <= 0.5) {
|
|
531
|
+
s = delta / (max + min);
|
|
532
|
+
} else {
|
|
533
|
+
s = delta / (2 - max - min);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
return [h, s * 100, l * 100];
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
convert$2.rgb.hsv = function (rgb) {
|
|
540
|
+
let rdif;
|
|
541
|
+
let gdif;
|
|
542
|
+
let bdif;
|
|
543
|
+
let h;
|
|
544
|
+
let s;
|
|
545
|
+
|
|
546
|
+
const r = rgb[0] / 255;
|
|
547
|
+
const g = rgb[1] / 255;
|
|
548
|
+
const b = rgb[2] / 255;
|
|
549
|
+
const v = Math.max(r, g, b);
|
|
550
|
+
const diff = v - Math.min(r, g, b);
|
|
551
|
+
const diffc = function (c) {
|
|
552
|
+
return (v - c) / 6 / diff + 1 / 2;
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
if (diff === 0) {
|
|
556
|
+
h = 0;
|
|
557
|
+
s = 0;
|
|
558
|
+
} else {
|
|
559
|
+
s = diff / v;
|
|
560
|
+
rdif = diffc(r);
|
|
561
|
+
gdif = diffc(g);
|
|
562
|
+
bdif = diffc(b);
|
|
563
|
+
|
|
564
|
+
if (r === v) {
|
|
565
|
+
h = bdif - gdif;
|
|
566
|
+
} else if (g === v) {
|
|
567
|
+
h = (1 / 3) + rdif - bdif;
|
|
568
|
+
} else if (b === v) {
|
|
569
|
+
h = (2 / 3) + gdif - rdif;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
if (h < 0) {
|
|
573
|
+
h += 1;
|
|
574
|
+
} else if (h > 1) {
|
|
575
|
+
h -= 1;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
return [
|
|
580
|
+
h * 360,
|
|
581
|
+
s * 100,
|
|
582
|
+
v * 100
|
|
583
|
+
];
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
convert$2.rgb.hwb = function (rgb) {
|
|
587
|
+
const r = rgb[0];
|
|
588
|
+
const g = rgb[1];
|
|
589
|
+
let b = rgb[2];
|
|
590
|
+
const h = convert$2.rgb.hsl(rgb)[0];
|
|
591
|
+
const w = 1 / 255 * Math.min(r, Math.min(g, b));
|
|
592
|
+
|
|
593
|
+
b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
|
|
594
|
+
|
|
595
|
+
return [h, w * 100, b * 100];
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
convert$2.rgb.cmyk = function (rgb) {
|
|
599
|
+
const r = rgb[0] / 255;
|
|
600
|
+
const g = rgb[1] / 255;
|
|
601
|
+
const b = rgb[2] / 255;
|
|
602
|
+
|
|
603
|
+
const k = Math.min(1 - r, 1 - g, 1 - b);
|
|
604
|
+
const c = (1 - r - k) / (1 - k) || 0;
|
|
605
|
+
const m = (1 - g - k) / (1 - k) || 0;
|
|
606
|
+
const y = (1 - b - k) / (1 - k) || 0;
|
|
607
|
+
|
|
608
|
+
return [c * 100, m * 100, y * 100, k * 100];
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
function comparativeDistance(x, y) {
|
|
612
|
+
/*
|
|
613
|
+
See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance
|
|
614
|
+
*/
|
|
615
|
+
return (
|
|
616
|
+
((x[0] - y[0]) ** 2) +
|
|
617
|
+
((x[1] - y[1]) ** 2) +
|
|
618
|
+
((x[2] - y[2]) ** 2)
|
|
619
|
+
);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
convert$2.rgb.keyword = function (rgb) {
|
|
623
|
+
const reversed = reverseKeywords[rgb];
|
|
624
|
+
if (reversed) {
|
|
625
|
+
return reversed;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
let currentClosestDistance = Infinity;
|
|
629
|
+
let currentClosestKeyword;
|
|
630
|
+
|
|
631
|
+
for (const keyword of Object.keys(cssKeywords)) {
|
|
632
|
+
const value = cssKeywords[keyword];
|
|
633
|
+
|
|
634
|
+
// Compute comparative distance
|
|
635
|
+
const distance = comparativeDistance(rgb, value);
|
|
636
|
+
|
|
637
|
+
// Check if its less, if so set as closest
|
|
638
|
+
if (distance < currentClosestDistance) {
|
|
639
|
+
currentClosestDistance = distance;
|
|
640
|
+
currentClosestKeyword = keyword;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
return currentClosestKeyword;
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
convert$2.keyword.rgb = function (keyword) {
|
|
648
|
+
return cssKeywords[keyword];
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
convert$2.rgb.xyz = function (rgb) {
|
|
652
|
+
let r = rgb[0] / 255;
|
|
653
|
+
let g = rgb[1] / 255;
|
|
654
|
+
let b = rgb[2] / 255;
|
|
655
|
+
|
|
656
|
+
// Assume sRGB
|
|
657
|
+
r = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);
|
|
658
|
+
g = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);
|
|
659
|
+
b = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);
|
|
660
|
+
|
|
661
|
+
const x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
|
|
662
|
+
const y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
|
|
663
|
+
const z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);
|
|
664
|
+
|
|
665
|
+
return [x * 100, y * 100, z * 100];
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
convert$2.rgb.lab = function (rgb) {
|
|
669
|
+
const xyz = convert$2.rgb.xyz(rgb);
|
|
670
|
+
let x = xyz[0];
|
|
671
|
+
let y = xyz[1];
|
|
672
|
+
let z = xyz[2];
|
|
673
|
+
|
|
674
|
+
x /= 95.047;
|
|
675
|
+
y /= 100;
|
|
676
|
+
z /= 108.883;
|
|
677
|
+
|
|
678
|
+
x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);
|
|
679
|
+
y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);
|
|
680
|
+
z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);
|
|
681
|
+
|
|
682
|
+
const l = (116 * y) - 16;
|
|
683
|
+
const a = 500 * (x - y);
|
|
684
|
+
const b = 200 * (y - z);
|
|
685
|
+
|
|
686
|
+
return [l, a, b];
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
convert$2.hsl.rgb = function (hsl) {
|
|
690
|
+
const h = hsl[0] / 360;
|
|
691
|
+
const s = hsl[1] / 100;
|
|
692
|
+
const l = hsl[2] / 100;
|
|
693
|
+
let t2;
|
|
694
|
+
let t3;
|
|
695
|
+
let val;
|
|
696
|
+
|
|
697
|
+
if (s === 0) {
|
|
698
|
+
val = l * 255;
|
|
699
|
+
return [val, val, val];
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
if (l < 0.5) {
|
|
703
|
+
t2 = l * (1 + s);
|
|
704
|
+
} else {
|
|
705
|
+
t2 = l + s - l * s;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
const t1 = 2 * l - t2;
|
|
709
|
+
|
|
710
|
+
const rgb = [0, 0, 0];
|
|
711
|
+
for (let i = 0; i < 3; i++) {
|
|
712
|
+
t3 = h + 1 / 3 * -(i - 1);
|
|
713
|
+
if (t3 < 0) {
|
|
714
|
+
t3++;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
if (t3 > 1) {
|
|
718
|
+
t3--;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
if (6 * t3 < 1) {
|
|
722
|
+
val = t1 + (t2 - t1) * 6 * t3;
|
|
723
|
+
} else if (2 * t3 < 1) {
|
|
724
|
+
val = t2;
|
|
725
|
+
} else if (3 * t3 < 2) {
|
|
726
|
+
val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
|
|
727
|
+
} else {
|
|
728
|
+
val = t1;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
rgb[i] = val * 255;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
return rgb;
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
convert$2.hsl.hsv = function (hsl) {
|
|
738
|
+
const h = hsl[0];
|
|
739
|
+
let s = hsl[1] / 100;
|
|
740
|
+
let l = hsl[2] / 100;
|
|
741
|
+
let smin = s;
|
|
742
|
+
const lmin = Math.max(l, 0.01);
|
|
743
|
+
|
|
744
|
+
l *= 2;
|
|
745
|
+
s *= (l <= 1) ? l : 2 - l;
|
|
746
|
+
smin *= lmin <= 1 ? lmin : 2 - lmin;
|
|
747
|
+
const v = (l + s) / 2;
|
|
748
|
+
const sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);
|
|
749
|
+
|
|
750
|
+
return [h, sv * 100, v * 100];
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
convert$2.hsv.rgb = function (hsv) {
|
|
754
|
+
const h = hsv[0] / 60;
|
|
755
|
+
const s = hsv[1] / 100;
|
|
756
|
+
let v = hsv[2] / 100;
|
|
757
|
+
const hi = Math.floor(h) % 6;
|
|
758
|
+
|
|
759
|
+
const f = h - Math.floor(h);
|
|
760
|
+
const p = 255 * v * (1 - s);
|
|
761
|
+
const q = 255 * v * (1 - (s * f));
|
|
762
|
+
const t = 255 * v * (1 - (s * (1 - f)));
|
|
763
|
+
v *= 255;
|
|
764
|
+
|
|
765
|
+
switch (hi) {
|
|
766
|
+
case 0:
|
|
767
|
+
return [v, t, p];
|
|
768
|
+
case 1:
|
|
769
|
+
return [q, v, p];
|
|
770
|
+
case 2:
|
|
771
|
+
return [p, v, t];
|
|
772
|
+
case 3:
|
|
773
|
+
return [p, q, v];
|
|
774
|
+
case 4:
|
|
775
|
+
return [t, p, v];
|
|
776
|
+
case 5:
|
|
777
|
+
return [v, p, q];
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
convert$2.hsv.hsl = function (hsv) {
|
|
782
|
+
const h = hsv[0];
|
|
783
|
+
const s = hsv[1] / 100;
|
|
784
|
+
const v = hsv[2] / 100;
|
|
785
|
+
const vmin = Math.max(v, 0.01);
|
|
786
|
+
let sl;
|
|
787
|
+
let l;
|
|
788
|
+
|
|
789
|
+
l = (2 - s) * v;
|
|
790
|
+
const lmin = (2 - s) * vmin;
|
|
791
|
+
sl = s * vmin;
|
|
792
|
+
sl /= (lmin <= 1) ? lmin : 2 - lmin;
|
|
793
|
+
sl = sl || 0;
|
|
794
|
+
l /= 2;
|
|
795
|
+
|
|
796
|
+
return [h, sl * 100, l * 100];
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
|
|
800
|
+
convert$2.hwb.rgb = function (hwb) {
|
|
801
|
+
const h = hwb[0] / 360;
|
|
802
|
+
let wh = hwb[1] / 100;
|
|
803
|
+
let bl = hwb[2] / 100;
|
|
804
|
+
const ratio = wh + bl;
|
|
805
|
+
let f;
|
|
806
|
+
|
|
807
|
+
// Wh + bl cant be > 1
|
|
808
|
+
if (ratio > 1) {
|
|
809
|
+
wh /= ratio;
|
|
810
|
+
bl /= ratio;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
const i = Math.floor(6 * h);
|
|
814
|
+
const v = 1 - bl;
|
|
815
|
+
f = 6 * h - i;
|
|
816
|
+
|
|
817
|
+
if ((i & 0x01) !== 0) {
|
|
818
|
+
f = 1 - f;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
const n = wh + f * (v - wh); // Linear interpolation
|
|
822
|
+
|
|
823
|
+
let r;
|
|
824
|
+
let g;
|
|
825
|
+
let b;
|
|
826
|
+
/* eslint-disable max-statements-per-line,no-multi-spaces */
|
|
827
|
+
switch (i) {
|
|
828
|
+
default:
|
|
829
|
+
case 6:
|
|
830
|
+
case 0: r = v; g = n; b = wh; break;
|
|
831
|
+
case 1: r = n; g = v; b = wh; break;
|
|
832
|
+
case 2: r = wh; g = v; b = n; break;
|
|
833
|
+
case 3: r = wh; g = n; b = v; break;
|
|
834
|
+
case 4: r = n; g = wh; b = v; break;
|
|
835
|
+
case 5: r = v; g = wh; b = n; break;
|
|
836
|
+
}
|
|
837
|
+
/* eslint-enable max-statements-per-line,no-multi-spaces */
|
|
838
|
+
|
|
839
|
+
return [r * 255, g * 255, b * 255];
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
convert$2.cmyk.rgb = function (cmyk) {
|
|
843
|
+
const c = cmyk[0] / 100;
|
|
844
|
+
const m = cmyk[1] / 100;
|
|
845
|
+
const y = cmyk[2] / 100;
|
|
846
|
+
const k = cmyk[3] / 100;
|
|
847
|
+
|
|
848
|
+
const r = 1 - Math.min(1, c * (1 - k) + k);
|
|
849
|
+
const g = 1 - Math.min(1, m * (1 - k) + k);
|
|
850
|
+
const b = 1 - Math.min(1, y * (1 - k) + k);
|
|
851
|
+
|
|
852
|
+
return [r * 255, g * 255, b * 255];
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
convert$2.xyz.rgb = function (xyz) {
|
|
856
|
+
const x = xyz[0] / 100;
|
|
857
|
+
const y = xyz[1] / 100;
|
|
858
|
+
const z = xyz[2] / 100;
|
|
859
|
+
let r;
|
|
860
|
+
let g;
|
|
861
|
+
let b;
|
|
862
|
+
|
|
863
|
+
r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
|
|
864
|
+
g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
|
|
865
|
+
b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);
|
|
866
|
+
|
|
867
|
+
// Assume sRGB
|
|
868
|
+
r = r > 0.0031308
|
|
869
|
+
? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)
|
|
870
|
+
: r * 12.92;
|
|
871
|
+
|
|
872
|
+
g = g > 0.0031308
|
|
873
|
+
? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)
|
|
874
|
+
: g * 12.92;
|
|
875
|
+
|
|
876
|
+
b = b > 0.0031308
|
|
877
|
+
? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)
|
|
878
|
+
: b * 12.92;
|
|
879
|
+
|
|
880
|
+
r = Math.min(Math.max(0, r), 1);
|
|
881
|
+
g = Math.min(Math.max(0, g), 1);
|
|
882
|
+
b = Math.min(Math.max(0, b), 1);
|
|
883
|
+
|
|
884
|
+
return [r * 255, g * 255, b * 255];
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
convert$2.xyz.lab = function (xyz) {
|
|
888
|
+
let x = xyz[0];
|
|
889
|
+
let y = xyz[1];
|
|
890
|
+
let z = xyz[2];
|
|
891
|
+
|
|
892
|
+
x /= 95.047;
|
|
893
|
+
y /= 100;
|
|
894
|
+
z /= 108.883;
|
|
895
|
+
|
|
896
|
+
x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);
|
|
897
|
+
y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);
|
|
898
|
+
z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);
|
|
899
|
+
|
|
900
|
+
const l = (116 * y) - 16;
|
|
901
|
+
const a = 500 * (x - y);
|
|
902
|
+
const b = 200 * (y - z);
|
|
903
|
+
|
|
904
|
+
return [l, a, b];
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
convert$2.lab.xyz = function (lab) {
|
|
908
|
+
const l = lab[0];
|
|
909
|
+
const a = lab[1];
|
|
910
|
+
const b = lab[2];
|
|
911
|
+
let x;
|
|
912
|
+
let y;
|
|
913
|
+
let z;
|
|
914
|
+
|
|
915
|
+
y = (l + 16) / 116;
|
|
916
|
+
x = a / 500 + y;
|
|
917
|
+
z = y - b / 200;
|
|
918
|
+
|
|
919
|
+
const y2 = y ** 3;
|
|
920
|
+
const x2 = x ** 3;
|
|
921
|
+
const z2 = z ** 3;
|
|
922
|
+
y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;
|
|
923
|
+
x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;
|
|
924
|
+
z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;
|
|
925
|
+
|
|
926
|
+
x *= 95.047;
|
|
927
|
+
y *= 100;
|
|
928
|
+
z *= 108.883;
|
|
929
|
+
|
|
930
|
+
return [x, y, z];
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
convert$2.lab.lch = function (lab) {
|
|
934
|
+
const l = lab[0];
|
|
935
|
+
const a = lab[1];
|
|
936
|
+
const b = lab[2];
|
|
937
|
+
let h;
|
|
938
|
+
|
|
939
|
+
const hr = Math.atan2(b, a);
|
|
940
|
+
h = hr * 360 / 2 / Math.PI;
|
|
941
|
+
|
|
942
|
+
if (h < 0) {
|
|
943
|
+
h += 360;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
const c = Math.sqrt(a * a + b * b);
|
|
947
|
+
|
|
948
|
+
return [l, c, h];
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
convert$2.lch.lab = function (lch) {
|
|
952
|
+
const l = lch[0];
|
|
953
|
+
const c = lch[1];
|
|
954
|
+
const h = lch[2];
|
|
955
|
+
|
|
956
|
+
const hr = h / 360 * 2 * Math.PI;
|
|
957
|
+
const a = c * Math.cos(hr);
|
|
958
|
+
const b = c * Math.sin(hr);
|
|
959
|
+
|
|
960
|
+
return [l, a, b];
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
convert$2.rgb.ansi16 = function (args, saturation = null) {
|
|
964
|
+
const [r, g, b] = args;
|
|
965
|
+
let value = saturation === null ? convert$2.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization
|
|
966
|
+
|
|
967
|
+
value = Math.round(value / 50);
|
|
968
|
+
|
|
969
|
+
if (value === 0) {
|
|
970
|
+
return 30;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
let ansi = 30
|
|
974
|
+
+ ((Math.round(b / 255) << 2)
|
|
975
|
+
| (Math.round(g / 255) << 1)
|
|
976
|
+
| Math.round(r / 255));
|
|
977
|
+
|
|
978
|
+
if (value === 2) {
|
|
979
|
+
ansi += 60;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
return ansi;
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
convert$2.hsv.ansi16 = function (args) {
|
|
986
|
+
// Optimization here; we already know the value and don't need to get
|
|
987
|
+
// it converted for us.
|
|
988
|
+
return convert$2.rgb.ansi16(convert$2.hsv.rgb(args), args[2]);
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
convert$2.rgb.ansi256 = function (args) {
|
|
992
|
+
const r = args[0];
|
|
993
|
+
const g = args[1];
|
|
994
|
+
const b = args[2];
|
|
995
|
+
|
|
996
|
+
// We use the extended greyscale palette here, with the exception of
|
|
997
|
+
// black and white. normal palette only has 4 greyscale shades.
|
|
998
|
+
if (r === g && g === b) {
|
|
999
|
+
if (r < 8) {
|
|
1000
|
+
return 16;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
if (r > 248) {
|
|
1004
|
+
return 231;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
return Math.round(((r - 8) / 247) * 24) + 232;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
const ansi = 16
|
|
1011
|
+
+ (36 * Math.round(r / 255 * 5))
|
|
1012
|
+
+ (6 * Math.round(g / 255 * 5))
|
|
1013
|
+
+ Math.round(b / 255 * 5);
|
|
1014
|
+
|
|
1015
|
+
return ansi;
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
convert$2.ansi16.rgb = function (args) {
|
|
1019
|
+
let color = args % 10;
|
|
1020
|
+
|
|
1021
|
+
// Handle greyscale
|
|
1022
|
+
if (color === 0 || color === 7) {
|
|
1023
|
+
if (args > 50) {
|
|
1024
|
+
color += 3.5;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
color = color / 10.5 * 255;
|
|
1028
|
+
|
|
1029
|
+
return [color, color, color];
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
const mult = (~~(args > 50) + 1) * 0.5;
|
|
1033
|
+
const r = ((color & 1) * mult) * 255;
|
|
1034
|
+
const g = (((color >> 1) & 1) * mult) * 255;
|
|
1035
|
+
const b = (((color >> 2) & 1) * mult) * 255;
|
|
1036
|
+
|
|
1037
|
+
return [r, g, b];
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
convert$2.ansi256.rgb = function (args) {
|
|
1041
|
+
// Handle greyscale
|
|
1042
|
+
if (args >= 232) {
|
|
1043
|
+
const c = (args - 232) * 10 + 8;
|
|
1044
|
+
return [c, c, c];
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
args -= 16;
|
|
1048
|
+
|
|
1049
|
+
let rem;
|
|
1050
|
+
const r = Math.floor(args / 36) / 5 * 255;
|
|
1051
|
+
const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
|
|
1052
|
+
const b = (rem % 6) / 5 * 255;
|
|
1053
|
+
|
|
1054
|
+
return [r, g, b];
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
convert$2.rgb.hex = function (args) {
|
|
1058
|
+
const integer = ((Math.round(args[0]) & 0xFF) << 16)
|
|
1059
|
+
+ ((Math.round(args[1]) & 0xFF) << 8)
|
|
1060
|
+
+ (Math.round(args[2]) & 0xFF);
|
|
1061
|
+
|
|
1062
|
+
const string = integer.toString(16).toUpperCase();
|
|
1063
|
+
return '000000'.substring(string.length) + string;
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
convert$2.hex.rgb = function (args) {
|
|
1067
|
+
const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
|
|
1068
|
+
if (!match) {
|
|
1069
|
+
return [0, 0, 0];
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
let colorString = match[0];
|
|
1073
|
+
|
|
1074
|
+
if (match[0].length === 3) {
|
|
1075
|
+
colorString = colorString.split('').map(char => {
|
|
1076
|
+
return char + char;
|
|
1077
|
+
}).join('');
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
const integer = parseInt(colorString, 16);
|
|
1081
|
+
const r = (integer >> 16) & 0xFF;
|
|
1082
|
+
const g = (integer >> 8) & 0xFF;
|
|
1083
|
+
const b = integer & 0xFF;
|
|
1084
|
+
|
|
1085
|
+
return [r, g, b];
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
convert$2.rgb.hcg = function (rgb) {
|
|
1089
|
+
const r = rgb[0] / 255;
|
|
1090
|
+
const g = rgb[1] / 255;
|
|
1091
|
+
const b = rgb[2] / 255;
|
|
1092
|
+
const max = Math.max(Math.max(r, g), b);
|
|
1093
|
+
const min = Math.min(Math.min(r, g), b);
|
|
1094
|
+
const chroma = (max - min);
|
|
1095
|
+
let grayscale;
|
|
1096
|
+
let hue;
|
|
1097
|
+
|
|
1098
|
+
if (chroma < 1) {
|
|
1099
|
+
grayscale = min / (1 - chroma);
|
|
1100
|
+
} else {
|
|
1101
|
+
grayscale = 0;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
if (chroma <= 0) {
|
|
1105
|
+
hue = 0;
|
|
1106
|
+
} else
|
|
1107
|
+
if (max === r) {
|
|
1108
|
+
hue = ((g - b) / chroma) % 6;
|
|
1109
|
+
} else
|
|
1110
|
+
if (max === g) {
|
|
1111
|
+
hue = 2 + (b - r) / chroma;
|
|
1112
|
+
} else {
|
|
1113
|
+
hue = 4 + (r - g) / chroma;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
hue /= 6;
|
|
1117
|
+
hue %= 1;
|
|
1118
|
+
|
|
1119
|
+
return [hue * 360, chroma * 100, grayscale * 100];
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
convert$2.hsl.hcg = function (hsl) {
|
|
1123
|
+
const s = hsl[1] / 100;
|
|
1124
|
+
const l = hsl[2] / 100;
|
|
1125
|
+
|
|
1126
|
+
const c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));
|
|
1127
|
+
|
|
1128
|
+
let f = 0;
|
|
1129
|
+
if (c < 1.0) {
|
|
1130
|
+
f = (l - 0.5 * c) / (1.0 - c);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
return [hsl[0], c * 100, f * 100];
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
convert$2.hsv.hcg = function (hsv) {
|
|
1137
|
+
const s = hsv[1] / 100;
|
|
1138
|
+
const v = hsv[2] / 100;
|
|
1139
|
+
|
|
1140
|
+
const c = s * v;
|
|
1141
|
+
let f = 0;
|
|
1142
|
+
|
|
1143
|
+
if (c < 1.0) {
|
|
1144
|
+
f = (v - c) / (1 - c);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
return [hsv[0], c * 100, f * 100];
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
convert$2.hcg.rgb = function (hcg) {
|
|
1151
|
+
const h = hcg[0] / 360;
|
|
1152
|
+
const c = hcg[1] / 100;
|
|
1153
|
+
const g = hcg[2] / 100;
|
|
1154
|
+
|
|
1155
|
+
if (c === 0.0) {
|
|
1156
|
+
return [g * 255, g * 255, g * 255];
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
const pure = [0, 0, 0];
|
|
1160
|
+
const hi = (h % 1) * 6;
|
|
1161
|
+
const v = hi % 1;
|
|
1162
|
+
const w = 1 - v;
|
|
1163
|
+
let mg = 0;
|
|
1164
|
+
|
|
1165
|
+
/* eslint-disable max-statements-per-line */
|
|
1166
|
+
switch (Math.floor(hi)) {
|
|
1167
|
+
case 0:
|
|
1168
|
+
pure[0] = 1; pure[1] = v; pure[2] = 0; break;
|
|
1169
|
+
case 1:
|
|
1170
|
+
pure[0] = w; pure[1] = 1; pure[2] = 0; break;
|
|
1171
|
+
case 2:
|
|
1172
|
+
pure[0] = 0; pure[1] = 1; pure[2] = v; break;
|
|
1173
|
+
case 3:
|
|
1174
|
+
pure[0] = 0; pure[1] = w; pure[2] = 1; break;
|
|
1175
|
+
case 4:
|
|
1176
|
+
pure[0] = v; pure[1] = 0; pure[2] = 1; break;
|
|
1177
|
+
default:
|
|
1178
|
+
pure[0] = 1; pure[1] = 0; pure[2] = w;
|
|
1179
|
+
}
|
|
1180
|
+
/* eslint-enable max-statements-per-line */
|
|
1181
|
+
|
|
1182
|
+
mg = (1.0 - c) * g;
|
|
1183
|
+
|
|
1184
|
+
return [
|
|
1185
|
+
(c * pure[0] + mg) * 255,
|
|
1186
|
+
(c * pure[1] + mg) * 255,
|
|
1187
|
+
(c * pure[2] + mg) * 255
|
|
1188
|
+
];
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
convert$2.hcg.hsv = function (hcg) {
|
|
1192
|
+
const c = hcg[1] / 100;
|
|
1193
|
+
const g = hcg[2] / 100;
|
|
1194
|
+
|
|
1195
|
+
const v = c + g * (1.0 - c);
|
|
1196
|
+
let f = 0;
|
|
1197
|
+
|
|
1198
|
+
if (v > 0.0) {
|
|
1199
|
+
f = c / v;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
return [hcg[0], f * 100, v * 100];
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
convert$2.hcg.hsl = function (hcg) {
|
|
1206
|
+
const c = hcg[1] / 100;
|
|
1207
|
+
const g = hcg[2] / 100;
|
|
1208
|
+
|
|
1209
|
+
const l = g * (1.0 - c) + 0.5 * c;
|
|
1210
|
+
let s = 0;
|
|
1211
|
+
|
|
1212
|
+
if (l > 0.0 && l < 0.5) {
|
|
1213
|
+
s = c / (2 * l);
|
|
1214
|
+
} else
|
|
1215
|
+
if (l >= 0.5 && l < 1.0) {
|
|
1216
|
+
s = c / (2 * (1 - l));
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
return [hcg[0], s * 100, l * 100];
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
convert$2.hcg.hwb = function (hcg) {
|
|
1223
|
+
const c = hcg[1] / 100;
|
|
1224
|
+
const g = hcg[2] / 100;
|
|
1225
|
+
const v = c + g * (1.0 - c);
|
|
1226
|
+
return [hcg[0], (v - c) * 100, (1 - v) * 100];
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
convert$2.hwb.hcg = function (hwb) {
|
|
1230
|
+
const w = hwb[1] / 100;
|
|
1231
|
+
const b = hwb[2] / 100;
|
|
1232
|
+
const v = 1 - b;
|
|
1233
|
+
const c = v - w;
|
|
1234
|
+
let g = 0;
|
|
1235
|
+
|
|
1236
|
+
if (c < 1) {
|
|
1237
|
+
g = (v - c) / (1 - c);
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
return [hwb[0], c * 100, g * 100];
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
convert$2.apple.rgb = function (apple) {
|
|
1244
|
+
return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
convert$2.rgb.apple = function (rgb) {
|
|
1248
|
+
return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
convert$2.gray.rgb = function (args) {
|
|
1252
|
+
return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
convert$2.gray.hsl = function (args) {
|
|
1256
|
+
return [0, 0, args[0]];
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
convert$2.gray.hsv = convert$2.gray.hsl;
|
|
1260
|
+
|
|
1261
|
+
convert$2.gray.hwb = function (gray) {
|
|
1262
|
+
return [0, 100, gray[0]];
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
convert$2.gray.cmyk = function (gray) {
|
|
1266
|
+
return [0, 0, 0, gray[0]];
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
convert$2.gray.lab = function (gray) {
|
|
1270
|
+
return [gray[0], 0, 0];
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
convert$2.gray.hex = function (gray) {
|
|
1274
|
+
const val = Math.round(gray[0] / 100 * 255) & 0xFF;
|
|
1275
|
+
const integer = (val << 16) + (val << 8) + val;
|
|
1276
|
+
|
|
1277
|
+
const string = integer.toString(16).toUpperCase();
|
|
1278
|
+
return '000000'.substring(string.length) + string;
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
convert$2.rgb.gray = function (rgb) {
|
|
1282
|
+
const val = (rgb[0] + rgb[1] + rgb[2]) / 3;
|
|
1283
|
+
return [val / 255 * 100];
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
const conversions$1 = conversions$2;
|
|
1287
|
+
|
|
1288
|
+
/*
|
|
1289
|
+
This function routes a model to all other models.
|
|
1290
|
+
|
|
1291
|
+
all functions that are routed have a property `.conversion` attached
|
|
1292
|
+
to the returned synthetic function. This property is an array
|
|
1293
|
+
of strings, each with the steps in between the 'from' and 'to'
|
|
1294
|
+
color models (inclusive).
|
|
1295
|
+
|
|
1296
|
+
conversions that are not possible simply are not included.
|
|
1297
|
+
*/
|
|
1298
|
+
|
|
1299
|
+
function buildGraph() {
|
|
1300
|
+
const graph = {};
|
|
1301
|
+
// https://jsperf.com/object-keys-vs-for-in-with-closure/3
|
|
1302
|
+
const models = Object.keys(conversions$1);
|
|
1303
|
+
|
|
1304
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
|
1305
|
+
graph[models[i]] = {
|
|
1306
|
+
// http://jsperf.com/1-vs-infinity
|
|
1307
|
+
// micro-opt, but this is simple.
|
|
1308
|
+
distance: -1,
|
|
1309
|
+
parent: null
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
return graph;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
// https://en.wikipedia.org/wiki/Breadth-first_search
|
|
1317
|
+
function deriveBFS(fromModel) {
|
|
1318
|
+
const graph = buildGraph();
|
|
1319
|
+
const queue = [fromModel]; // Unshift -> queue -> pop
|
|
1320
|
+
|
|
1321
|
+
graph[fromModel].distance = 0;
|
|
1322
|
+
|
|
1323
|
+
while (queue.length) {
|
|
1324
|
+
const current = queue.pop();
|
|
1325
|
+
const adjacents = Object.keys(conversions$1[current]);
|
|
1326
|
+
|
|
1327
|
+
for (let len = adjacents.length, i = 0; i < len; i++) {
|
|
1328
|
+
const adjacent = adjacents[i];
|
|
1329
|
+
const node = graph[adjacent];
|
|
1330
|
+
|
|
1331
|
+
if (node.distance === -1) {
|
|
1332
|
+
node.distance = graph[current].distance + 1;
|
|
1333
|
+
node.parent = current;
|
|
1334
|
+
queue.unshift(adjacent);
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
return graph;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
function link(from, to) {
|
|
1343
|
+
return function (args) {
|
|
1344
|
+
return to(from(args));
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
function wrapConversion(toModel, graph) {
|
|
1349
|
+
const path = [graph[toModel].parent, toModel];
|
|
1350
|
+
let fn = conversions$1[graph[toModel].parent][toModel];
|
|
1351
|
+
|
|
1352
|
+
let cur = graph[toModel].parent;
|
|
1353
|
+
while (graph[cur].parent) {
|
|
1354
|
+
path.unshift(graph[cur].parent);
|
|
1355
|
+
fn = link(conversions$1[graph[cur].parent][cur], fn);
|
|
1356
|
+
cur = graph[cur].parent;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
fn.conversion = path;
|
|
1360
|
+
return fn;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
var route$1 = function (fromModel) {
|
|
1364
|
+
const graph = deriveBFS(fromModel);
|
|
1365
|
+
const conversion = {};
|
|
1366
|
+
|
|
1367
|
+
const models = Object.keys(graph);
|
|
1368
|
+
for (let len = models.length, i = 0; i < len; i++) {
|
|
1369
|
+
const toModel = models[i];
|
|
1370
|
+
const node = graph[toModel];
|
|
1371
|
+
|
|
1372
|
+
if (node.parent === null) {
|
|
1373
|
+
// No possible conversion, or this node is the source model.
|
|
1374
|
+
continue;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
conversion[toModel] = wrapConversion(toModel, graph);
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
return conversion;
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
const conversions = conversions$2;
|
|
1384
|
+
const route = route$1;
|
|
1385
|
+
|
|
1386
|
+
const convert$1 = {};
|
|
1387
|
+
|
|
1388
|
+
const models = Object.keys(conversions);
|
|
1389
|
+
|
|
1390
|
+
function wrapRaw(fn) {
|
|
1391
|
+
const wrappedFn = function (...args) {
|
|
1392
|
+
const arg0 = args[0];
|
|
1393
|
+
if (arg0 === undefined || arg0 === null) {
|
|
1394
|
+
return arg0;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
if (arg0.length > 1) {
|
|
1398
|
+
args = arg0;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
return fn(args);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
// Preserve .conversion property if there is one
|
|
1405
|
+
if ('conversion' in fn) {
|
|
1406
|
+
wrappedFn.conversion = fn.conversion;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
return wrappedFn;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
function wrapRounded(fn) {
|
|
1413
|
+
const wrappedFn = function (...args) {
|
|
1414
|
+
const arg0 = args[0];
|
|
1415
|
+
|
|
1416
|
+
if (arg0 === undefined || arg0 === null) {
|
|
1417
|
+
return arg0;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
if (arg0.length > 1) {
|
|
1421
|
+
args = arg0;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
const result = fn(args);
|
|
1425
|
+
|
|
1426
|
+
// We're assuming the result is an array here.
|
|
1427
|
+
// see notice in conversions.js; don't use box types
|
|
1428
|
+
// in conversion functions.
|
|
1429
|
+
if (typeof result === 'object') {
|
|
1430
|
+
for (let len = result.length, i = 0; i < len; i++) {
|
|
1431
|
+
result[i] = Math.round(result[i]);
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
return result;
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
// Preserve .conversion property if there is one
|
|
1439
|
+
if ('conversion' in fn) {
|
|
1440
|
+
wrappedFn.conversion = fn.conversion;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
return wrappedFn;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
models.forEach(fromModel => {
|
|
1447
|
+
convert$1[fromModel] = {};
|
|
1448
|
+
|
|
1449
|
+
Object.defineProperty(convert$1[fromModel], 'channels', {value: conversions[fromModel].channels});
|
|
1450
|
+
Object.defineProperty(convert$1[fromModel], 'labels', {value: conversions[fromModel].labels});
|
|
1451
|
+
|
|
1452
|
+
const routes = route(fromModel);
|
|
1453
|
+
const routeModels = Object.keys(routes);
|
|
1454
|
+
|
|
1455
|
+
routeModels.forEach(toModel => {
|
|
1456
|
+
const fn = routes[toModel];
|
|
1457
|
+
|
|
1458
|
+
convert$1[fromModel][toModel] = wrapRounded(fn);
|
|
1459
|
+
convert$1[fromModel][toModel].raw = wrapRaw(fn);
|
|
1460
|
+
});
|
|
1461
|
+
});
|
|
1462
|
+
|
|
1463
|
+
var colorConvert = convert$1;
|
|
1464
|
+
|
|
1465
|
+
const colorString = colorString$1.exports;
|
|
1466
|
+
const convert = colorConvert;
|
|
1467
|
+
|
|
1468
|
+
const skippedModels = [
|
|
1469
|
+
// To be honest, I don't really feel like keyword belongs in color convert, but eh.
|
|
1470
|
+
'keyword',
|
|
1471
|
+
|
|
1472
|
+
// Gray conflicts with some method names, and has its own method defined.
|
|
1473
|
+
'gray',
|
|
1474
|
+
|
|
1475
|
+
// Shouldn't really be in color-convert either...
|
|
1476
|
+
'hex',
|
|
1477
|
+
];
|
|
1478
|
+
|
|
1479
|
+
const hashedModelKeys = {};
|
|
1480
|
+
for (const model of Object.keys(convert)) {
|
|
1481
|
+
hashedModelKeys[[...convert[model].labels].sort().join('')] = model;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
const limiters = {};
|
|
1485
|
+
|
|
1486
|
+
function Color(object, model) {
|
|
1487
|
+
if (!(this instanceof Color)) {
|
|
1488
|
+
return new Color(object, model);
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
if (model && model in skippedModels) {
|
|
1492
|
+
model = null;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
if (model && !(model in convert)) {
|
|
1496
|
+
throw new Error('Unknown model: ' + model);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
let i;
|
|
1500
|
+
let channels;
|
|
1501
|
+
|
|
1502
|
+
if (object == null) { // eslint-disable-line no-eq-null,eqeqeq
|
|
1503
|
+
this.model = 'rgb';
|
|
1504
|
+
this.color = [0, 0, 0];
|
|
1505
|
+
this.valpha = 1;
|
|
1506
|
+
} else if (object instanceof Color) {
|
|
1507
|
+
this.model = object.model;
|
|
1508
|
+
this.color = [...object.color];
|
|
1509
|
+
this.valpha = object.valpha;
|
|
1510
|
+
} else if (typeof object === 'string') {
|
|
1511
|
+
const result = colorString.get(object);
|
|
1512
|
+
if (result === null) {
|
|
1513
|
+
throw new Error('Unable to parse color from string: ' + object);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
this.model = result.model;
|
|
1517
|
+
channels = convert[this.model].channels;
|
|
1518
|
+
this.color = result.value.slice(0, channels);
|
|
1519
|
+
this.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;
|
|
1520
|
+
} else if (object.length > 0) {
|
|
1521
|
+
this.model = model || 'rgb';
|
|
1522
|
+
channels = convert[this.model].channels;
|
|
1523
|
+
const newArray = Array.prototype.slice.call(object, 0, channels);
|
|
1524
|
+
this.color = zeroArray(newArray, channels);
|
|
1525
|
+
this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
|
|
1526
|
+
} else if (typeof object === 'number') {
|
|
1527
|
+
// This is always RGB - can be converted later on.
|
|
1528
|
+
this.model = 'rgb';
|
|
1529
|
+
this.color = [
|
|
1530
|
+
(object >> 16) & 0xFF,
|
|
1531
|
+
(object >> 8) & 0xFF,
|
|
1532
|
+
object & 0xFF,
|
|
1533
|
+
];
|
|
1534
|
+
this.valpha = 1;
|
|
1535
|
+
} else {
|
|
1536
|
+
this.valpha = 1;
|
|
1537
|
+
|
|
1538
|
+
const keys = Object.keys(object);
|
|
1539
|
+
if ('alpha' in object) {
|
|
1540
|
+
keys.splice(keys.indexOf('alpha'), 1);
|
|
1541
|
+
this.valpha = typeof object.alpha === 'number' ? object.alpha : 0;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
const hashedKeys = keys.sort().join('');
|
|
1545
|
+
if (!(hashedKeys in hashedModelKeys)) {
|
|
1546
|
+
throw new Error('Unable to parse color from object: ' + JSON.stringify(object));
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
this.model = hashedModelKeys[hashedKeys];
|
|
1550
|
+
|
|
1551
|
+
const {labels} = convert[this.model];
|
|
1552
|
+
const color = [];
|
|
1553
|
+
for (i = 0; i < labels.length; i++) {
|
|
1554
|
+
color.push(object[labels[i]]);
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
this.color = zeroArray(color);
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
// Perform limitations (clamping, etc.)
|
|
1561
|
+
if (limiters[this.model]) {
|
|
1562
|
+
channels = convert[this.model].channels;
|
|
1563
|
+
for (i = 0; i < channels; i++) {
|
|
1564
|
+
const limit = limiters[this.model][i];
|
|
1565
|
+
if (limit) {
|
|
1566
|
+
this.color[i] = limit(this.color[i]);
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
this.valpha = Math.max(0, Math.min(1, this.valpha));
|
|
1572
|
+
|
|
1573
|
+
if (Object.freeze) {
|
|
1574
|
+
Object.freeze(this);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
Color.prototype = {
|
|
1579
|
+
toString() {
|
|
1580
|
+
return this.string();
|
|
1581
|
+
},
|
|
1582
|
+
|
|
1583
|
+
toJSON() {
|
|
1584
|
+
return this[this.model]();
|
|
1585
|
+
},
|
|
1586
|
+
|
|
1587
|
+
string(places) {
|
|
1588
|
+
let self = this.model in colorString.to ? this : this.rgb();
|
|
1589
|
+
self = self.round(typeof places === 'number' ? places : 1);
|
|
1590
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
1591
|
+
return colorString.to[self.model](args);
|
|
1592
|
+
},
|
|
1593
|
+
|
|
1594
|
+
percentString(places) {
|
|
1595
|
+
const self = this.rgb().round(typeof places === 'number' ? places : 1);
|
|
1596
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
1597
|
+
return colorString.to.rgb.percent(args);
|
|
1598
|
+
},
|
|
1599
|
+
|
|
1600
|
+
array() {
|
|
1601
|
+
return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
|
|
1602
|
+
},
|
|
1603
|
+
|
|
1604
|
+
object() {
|
|
1605
|
+
const result = {};
|
|
1606
|
+
const {channels} = convert[this.model];
|
|
1607
|
+
const {labels} = convert[this.model];
|
|
1608
|
+
|
|
1609
|
+
for (let i = 0; i < channels; i++) {
|
|
1610
|
+
result[labels[i]] = this.color[i];
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
if (this.valpha !== 1) {
|
|
1614
|
+
result.alpha = this.valpha;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
return result;
|
|
1618
|
+
},
|
|
1619
|
+
|
|
1620
|
+
unitArray() {
|
|
1621
|
+
const rgb = this.rgb().color;
|
|
1622
|
+
rgb[0] /= 255;
|
|
1623
|
+
rgb[1] /= 255;
|
|
1624
|
+
rgb[2] /= 255;
|
|
1625
|
+
|
|
1626
|
+
if (this.valpha !== 1) {
|
|
1627
|
+
rgb.push(this.valpha);
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
return rgb;
|
|
1631
|
+
},
|
|
1632
|
+
|
|
1633
|
+
unitObject() {
|
|
1634
|
+
const rgb = this.rgb().object();
|
|
1635
|
+
rgb.r /= 255;
|
|
1636
|
+
rgb.g /= 255;
|
|
1637
|
+
rgb.b /= 255;
|
|
1638
|
+
|
|
1639
|
+
if (this.valpha !== 1) {
|
|
1640
|
+
rgb.alpha = this.valpha;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
return rgb;
|
|
1644
|
+
},
|
|
1645
|
+
|
|
1646
|
+
round(places) {
|
|
1647
|
+
places = Math.max(places || 0, 0);
|
|
1648
|
+
return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
|
|
1649
|
+
},
|
|
1650
|
+
|
|
1651
|
+
alpha(value) {
|
|
1652
|
+
if (value !== undefined) {
|
|
1653
|
+
return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
return this.valpha;
|
|
1657
|
+
},
|
|
1658
|
+
|
|
1659
|
+
// Rgb
|
|
1660
|
+
red: getset('rgb', 0, maxfn(255)),
|
|
1661
|
+
green: getset('rgb', 1, maxfn(255)),
|
|
1662
|
+
blue: getset('rgb', 2, maxfn(255)),
|
|
1663
|
+
|
|
1664
|
+
hue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360),
|
|
1665
|
+
|
|
1666
|
+
saturationl: getset('hsl', 1, maxfn(100)),
|
|
1667
|
+
lightness: getset('hsl', 2, maxfn(100)),
|
|
1668
|
+
|
|
1669
|
+
saturationv: getset('hsv', 1, maxfn(100)),
|
|
1670
|
+
value: getset('hsv', 2, maxfn(100)),
|
|
1671
|
+
|
|
1672
|
+
chroma: getset('hcg', 1, maxfn(100)),
|
|
1673
|
+
gray: getset('hcg', 2, maxfn(100)),
|
|
1674
|
+
|
|
1675
|
+
white: getset('hwb', 1, maxfn(100)),
|
|
1676
|
+
wblack: getset('hwb', 2, maxfn(100)),
|
|
1677
|
+
|
|
1678
|
+
cyan: getset('cmyk', 0, maxfn(100)),
|
|
1679
|
+
magenta: getset('cmyk', 1, maxfn(100)),
|
|
1680
|
+
yellow: getset('cmyk', 2, maxfn(100)),
|
|
1681
|
+
black: getset('cmyk', 3, maxfn(100)),
|
|
1682
|
+
|
|
1683
|
+
x: getset('xyz', 0, maxfn(95.047)),
|
|
1684
|
+
y: getset('xyz', 1, maxfn(100)),
|
|
1685
|
+
z: getset('xyz', 2, maxfn(108.833)),
|
|
1686
|
+
|
|
1687
|
+
l: getset('lab', 0, maxfn(100)),
|
|
1688
|
+
a: getset('lab', 1),
|
|
1689
|
+
b: getset('lab', 2),
|
|
1690
|
+
|
|
1691
|
+
keyword(value) {
|
|
1692
|
+
if (value !== undefined) {
|
|
1693
|
+
return new Color(value);
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
return convert[this.model].keyword(this.color);
|
|
1697
|
+
},
|
|
1698
|
+
|
|
1699
|
+
hex(value) {
|
|
1700
|
+
if (value !== undefined) {
|
|
1701
|
+
return new Color(value);
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
return colorString.to.hex(this.rgb().round().color);
|
|
1705
|
+
},
|
|
1706
|
+
|
|
1707
|
+
hexa(value) {
|
|
1708
|
+
if (value !== undefined) {
|
|
1709
|
+
return new Color(value);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
const rgbArray = this.rgb().round().color;
|
|
1713
|
+
|
|
1714
|
+
let alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();
|
|
1715
|
+
if (alphaHex.length === 1) {
|
|
1716
|
+
alphaHex = '0' + alphaHex;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
return colorString.to.hex(rgbArray) + alphaHex;
|
|
1720
|
+
},
|
|
1721
|
+
|
|
1722
|
+
rgbNumber() {
|
|
1723
|
+
const rgb = this.rgb().color;
|
|
1724
|
+
return ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);
|
|
1725
|
+
},
|
|
1726
|
+
|
|
1727
|
+
luminosity() {
|
|
1728
|
+
// http://www.w3.org/TR/WCAG20/#relativeluminancedef
|
|
1729
|
+
const rgb = this.rgb().color;
|
|
1730
|
+
|
|
1731
|
+
const lum = [];
|
|
1732
|
+
for (const [i, element] of rgb.entries()) {
|
|
1733
|
+
const chan = element / 255;
|
|
1734
|
+
lum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
|
|
1738
|
+
},
|
|
1739
|
+
|
|
1740
|
+
contrast(color2) {
|
|
1741
|
+
// http://www.w3.org/TR/WCAG20/#contrast-ratiodef
|
|
1742
|
+
const lum1 = this.luminosity();
|
|
1743
|
+
const lum2 = color2.luminosity();
|
|
1744
|
+
|
|
1745
|
+
if (lum1 > lum2) {
|
|
1746
|
+
return (lum1 + 0.05) / (lum2 + 0.05);
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
return (lum2 + 0.05) / (lum1 + 0.05);
|
|
1750
|
+
},
|
|
1751
|
+
|
|
1752
|
+
level(color2) {
|
|
1753
|
+
// https://www.w3.org/TR/WCAG/#contrast-enhanced
|
|
1754
|
+
const contrastRatio = this.contrast(color2);
|
|
1755
|
+
if (contrastRatio >= 7) {
|
|
1756
|
+
return 'AAA';
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
return (contrastRatio >= 4.5) ? 'AA' : '';
|
|
1760
|
+
},
|
|
1761
|
+
|
|
1762
|
+
isDark() {
|
|
1763
|
+
// YIQ equation from http://24ways.org/2010/calculating-color-contrast
|
|
1764
|
+
const rgb = this.rgb().color;
|
|
1765
|
+
const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
|
|
1766
|
+
return yiq < 128;
|
|
1767
|
+
},
|
|
1768
|
+
|
|
1769
|
+
isLight() {
|
|
1770
|
+
return !this.isDark();
|
|
1771
|
+
},
|
|
1772
|
+
|
|
1773
|
+
negate() {
|
|
1774
|
+
const rgb = this.rgb();
|
|
1775
|
+
for (let i = 0; i < 3; i++) {
|
|
1776
|
+
rgb.color[i] = 255 - rgb.color[i];
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
return rgb;
|
|
1780
|
+
},
|
|
1781
|
+
|
|
1782
|
+
lighten(ratio) {
|
|
1783
|
+
const hsl = this.hsl();
|
|
1784
|
+
hsl.color[2] += hsl.color[2] * ratio;
|
|
1785
|
+
return hsl;
|
|
1786
|
+
},
|
|
1787
|
+
|
|
1788
|
+
darken(ratio) {
|
|
1789
|
+
const hsl = this.hsl();
|
|
1790
|
+
hsl.color[2] -= hsl.color[2] * ratio;
|
|
1791
|
+
return hsl;
|
|
1792
|
+
},
|
|
1793
|
+
|
|
1794
|
+
saturate(ratio) {
|
|
1795
|
+
const hsl = this.hsl();
|
|
1796
|
+
hsl.color[1] += hsl.color[1] * ratio;
|
|
1797
|
+
return hsl;
|
|
1798
|
+
},
|
|
1799
|
+
|
|
1800
|
+
desaturate(ratio) {
|
|
1801
|
+
const hsl = this.hsl();
|
|
1802
|
+
hsl.color[1] -= hsl.color[1] * ratio;
|
|
1803
|
+
return hsl;
|
|
1804
|
+
},
|
|
1805
|
+
|
|
1806
|
+
whiten(ratio) {
|
|
1807
|
+
const hwb = this.hwb();
|
|
1808
|
+
hwb.color[1] += hwb.color[1] * ratio;
|
|
1809
|
+
return hwb;
|
|
1810
|
+
},
|
|
1811
|
+
|
|
1812
|
+
blacken(ratio) {
|
|
1813
|
+
const hwb = this.hwb();
|
|
1814
|
+
hwb.color[2] += hwb.color[2] * ratio;
|
|
1815
|
+
return hwb;
|
|
1816
|
+
},
|
|
1817
|
+
|
|
1818
|
+
grayscale() {
|
|
1819
|
+
// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale
|
|
1820
|
+
const rgb = this.rgb().color;
|
|
1821
|
+
const value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;
|
|
1822
|
+
return Color.rgb(value, value, value);
|
|
1823
|
+
},
|
|
1824
|
+
|
|
1825
|
+
fade(ratio) {
|
|
1826
|
+
return this.alpha(this.valpha - (this.valpha * ratio));
|
|
1827
|
+
},
|
|
1828
|
+
|
|
1829
|
+
opaquer(ratio) {
|
|
1830
|
+
return this.alpha(this.valpha + (this.valpha * ratio));
|
|
1831
|
+
},
|
|
1832
|
+
|
|
1833
|
+
rotate(degrees) {
|
|
1834
|
+
const hsl = this.hsl();
|
|
1835
|
+
let hue = hsl.color[0];
|
|
1836
|
+
hue = (hue + degrees) % 360;
|
|
1837
|
+
hue = hue < 0 ? 360 + hue : hue;
|
|
1838
|
+
hsl.color[0] = hue;
|
|
1839
|
+
return hsl;
|
|
1840
|
+
},
|
|
1841
|
+
|
|
1842
|
+
mix(mixinColor, weight) {
|
|
1843
|
+
// Ported from sass implementation in C
|
|
1844
|
+
// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
|
|
1845
|
+
if (!mixinColor || !mixinColor.rgb) {
|
|
1846
|
+
throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof mixinColor);
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
const color1 = mixinColor.rgb();
|
|
1850
|
+
const color2 = this.rgb();
|
|
1851
|
+
const p = weight === undefined ? 0.5 : weight;
|
|
1852
|
+
|
|
1853
|
+
const w = 2 * p - 1;
|
|
1854
|
+
const a = color1.alpha() - color2.alpha();
|
|
1855
|
+
|
|
1856
|
+
const w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2;
|
|
1857
|
+
const w2 = 1 - w1;
|
|
1858
|
+
|
|
1859
|
+
return Color.rgb(
|
|
1860
|
+
w1 * color1.red() + w2 * color2.red(),
|
|
1861
|
+
w1 * color1.green() + w2 * color2.green(),
|
|
1862
|
+
w1 * color1.blue() + w2 * color2.blue(),
|
|
1863
|
+
color1.alpha() * p + color2.alpha() * (1 - p));
|
|
1864
|
+
},
|
|
1865
|
+
};
|
|
1866
|
+
|
|
1867
|
+
// Model conversion methods and static constructors
|
|
1868
|
+
for (const model of Object.keys(convert)) {
|
|
1869
|
+
if (skippedModels.includes(model)) {
|
|
1870
|
+
continue;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
const {channels} = convert[model];
|
|
1874
|
+
|
|
1875
|
+
// Conversion methods
|
|
1876
|
+
Color.prototype[model] = function (...args) {
|
|
1877
|
+
if (this.model === model) {
|
|
1878
|
+
return new Color(this);
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
if (args.length > 0) {
|
|
1882
|
+
return new Color(args, model);
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
return new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model);
|
|
1886
|
+
};
|
|
1887
|
+
|
|
1888
|
+
// 'static' construction methods
|
|
1889
|
+
Color[model] = function (...args) {
|
|
1890
|
+
let color = args[0];
|
|
1891
|
+
if (typeof color === 'number') {
|
|
1892
|
+
color = zeroArray(args, channels);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
return new Color(color, model);
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
function roundTo(number, places) {
|
|
1900
|
+
return Number(number.toFixed(places));
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
function roundToPlace(places) {
|
|
1904
|
+
return function (number) {
|
|
1905
|
+
return roundTo(number, places);
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
function getset(model, channel, modifier) {
|
|
1910
|
+
model = Array.isArray(model) ? model : [model];
|
|
1911
|
+
|
|
1912
|
+
for (const m of model) {
|
|
1913
|
+
(limiters[m] || (limiters[m] = []))[channel] = modifier;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
model = model[0];
|
|
1917
|
+
|
|
1918
|
+
return function (value) {
|
|
1919
|
+
let result;
|
|
1920
|
+
|
|
1921
|
+
if (value !== undefined) {
|
|
1922
|
+
if (modifier) {
|
|
1923
|
+
value = modifier(value);
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
result = this[model]();
|
|
1927
|
+
result.color[channel] = value;
|
|
1928
|
+
return result;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
result = this[model]().color[channel];
|
|
1932
|
+
if (modifier) {
|
|
1933
|
+
result = modifier(result);
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
return result;
|
|
1937
|
+
};
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
function maxfn(max) {
|
|
1941
|
+
return function (v) {
|
|
1942
|
+
return Math.max(0, Math.min(max, v));
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
function assertArray(value) {
|
|
1947
|
+
return Array.isArray(value) ? value : [value];
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
function zeroArray(array, length) {
|
|
1951
|
+
for (let i = 0; i < length; i++) {
|
|
1952
|
+
if (typeof array[i] !== 'number') {
|
|
1953
|
+
array[i] = 0;
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
return array;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
var color = Color;
|
|
1961
|
+
|
|
1962
|
+
const Color$1 = color;
|
|
1963
|
+
|
|
1964
|
+
const CSS = {
|
|
1965
|
+
channel: "channel",
|
|
1966
|
+
channels: "channels",
|
|
1967
|
+
colorField: "color-field",
|
|
1968
|
+
colorFieldScope: "scope--color-field",
|
|
1969
|
+
colorMode: "color-mode",
|
|
1970
|
+
colorModeContainer: "color-mode-container",
|
|
1971
|
+
container: "container",
|
|
1972
|
+
control: "control",
|
|
1973
|
+
controlAndScope: "control-and-scope",
|
|
1974
|
+
controlSection: "control-section",
|
|
1975
|
+
deleteColor: "delete-color",
|
|
1976
|
+
header: "header",
|
|
1977
|
+
hexAndChannelsGroup: "hex-and-channels-group",
|
|
1978
|
+
hexOptions: "color-hex-options",
|
|
1979
|
+
hueScope: "scope--hue",
|
|
1980
|
+
hueSlider: "hue-slider",
|
|
1981
|
+
opacityScope: "scope--opacity",
|
|
1982
|
+
opacitySlider: "opacity-slider",
|
|
1983
|
+
preview: "preview",
|
|
1984
|
+
previewAndSliders: "preview-and-sliders",
|
|
1985
|
+
saveColor: "save-color",
|
|
1986
|
+
savedColor: "saved-color",
|
|
1987
|
+
savedColors: "saved-colors",
|
|
1988
|
+
savedColorsButtons: "saved-colors-buttons",
|
|
1989
|
+
savedColorsSection: "saved-colors-section",
|
|
1990
|
+
scope: "scope",
|
|
1991
|
+
section: "section",
|
|
1992
|
+
slider: "slider",
|
|
1993
|
+
sliders: "sliders",
|
|
1994
|
+
splitSection: "section--split",
|
|
1995
|
+
};
|
|
1996
|
+
const DEFAULT_COLOR = Color$1("#007AC2");
|
|
1997
|
+
const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
1998
|
+
const RGB_LIMITS = {
|
|
1999
|
+
r: 255,
|
|
2000
|
+
g: 255,
|
|
2001
|
+
b: 255,
|
|
2002
|
+
};
|
|
2003
|
+
const HSV_LIMITS = {
|
|
2004
|
+
h: 360,
|
|
2005
|
+
s: 100,
|
|
2006
|
+
v: 100,
|
|
2007
|
+
};
|
|
2008
|
+
// 0 and 360 represent the same value, so we limit the hue to 359
|
|
2009
|
+
const HUE_LIMIT_CONSTRAINED = HSV_LIMITS.h - 1;
|
|
2010
|
+
const OPACITY_LIMITS = {
|
|
2011
|
+
min: 0,
|
|
2012
|
+
max: 100,
|
|
2013
|
+
};
|
|
2014
|
+
const DIMENSIONS = {
|
|
2015
|
+
s: {
|
|
2016
|
+
slider: {
|
|
2017
|
+
height: 12,
|
|
2018
|
+
width: 104,
|
|
2019
|
+
},
|
|
2020
|
+
colorField: {
|
|
2021
|
+
height: 80,
|
|
2022
|
+
width: 160,
|
|
2023
|
+
},
|
|
2024
|
+
thumb: {
|
|
2025
|
+
radius: 7,
|
|
2026
|
+
},
|
|
2027
|
+
preview: {
|
|
2028
|
+
size: 20,
|
|
2029
|
+
},
|
|
2030
|
+
},
|
|
2031
|
+
m: {
|
|
2032
|
+
slider: {
|
|
2033
|
+
height: 12,
|
|
2034
|
+
width: 204,
|
|
2035
|
+
},
|
|
2036
|
+
colorField: {
|
|
2037
|
+
height: 150,
|
|
2038
|
+
width: 272,
|
|
2039
|
+
},
|
|
2040
|
+
thumb: {
|
|
2041
|
+
radius: 7,
|
|
2042
|
+
},
|
|
2043
|
+
preview: {
|
|
2044
|
+
size: 24,
|
|
2045
|
+
},
|
|
2046
|
+
},
|
|
2047
|
+
l: {
|
|
2048
|
+
slider: {
|
|
2049
|
+
height: 12,
|
|
2050
|
+
width: 384,
|
|
2051
|
+
},
|
|
2052
|
+
colorField: {
|
|
2053
|
+
height: 200,
|
|
2054
|
+
width: 464,
|
|
2055
|
+
},
|
|
2056
|
+
thumb: {
|
|
2057
|
+
radius: 7,
|
|
2058
|
+
},
|
|
2059
|
+
preview: {
|
|
2060
|
+
size: 32,
|
|
2061
|
+
},
|
|
2062
|
+
},
|
|
2063
|
+
};
|
|
2064
|
+
const SCOPE_SIZE = 1;
|
|
2065
|
+
|
|
2066
|
+
const hexChar = /^[0-9A-F]$/i;
|
|
2067
|
+
const shorthandHex = /^#[0-9A-F]{3}$/i;
|
|
2068
|
+
const longhandHex = /^#[0-9A-F]{6}$/i;
|
|
2069
|
+
const shorthandHexWithAlpha = /^#[0-9A-F]{4}$/i;
|
|
2070
|
+
const longhandHexWithAlpha = /^#[0-9A-F]{8}$/i;
|
|
2071
|
+
const alphaToOpacity = (alpha) => Number((alpha * 100).toFixed());
|
|
2072
|
+
const opacityToAlpha = (opacity) => Number((opacity / 100).toFixed(2));
|
|
2073
|
+
function isValidHex(hex, hasAlpha = false) {
|
|
2074
|
+
return isShorthandHex(hex, hasAlpha) || isLonghandHex(hex, hasAlpha);
|
|
2075
|
+
}
|
|
2076
|
+
function evaluateHex(hex, length, pattern) {
|
|
2077
|
+
if (!hex) {
|
|
2078
|
+
return false;
|
|
2079
|
+
}
|
|
2080
|
+
return hex.length === length && pattern.test(hex);
|
|
2081
|
+
}
|
|
2082
|
+
function isShorthandHex(hex, hasAlpha = false) {
|
|
2083
|
+
const hexLength = hasAlpha ? 5 : 4;
|
|
2084
|
+
const hexPattern = hasAlpha ? shorthandHexWithAlpha : shorthandHex;
|
|
2085
|
+
return evaluateHex(hex, hexLength, hexPattern);
|
|
2086
|
+
}
|
|
2087
|
+
function isLonghandHex(hex, hasAlpha = false) {
|
|
2088
|
+
const hexLength = hasAlpha ? 9 : 7;
|
|
2089
|
+
const hexPattern = hasAlpha ? longhandHexWithAlpha : longhandHex;
|
|
2090
|
+
return evaluateHex(hex, hexLength, hexPattern);
|
|
2091
|
+
}
|
|
2092
|
+
function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
2093
|
+
hex = hex.toLowerCase();
|
|
2094
|
+
if (!hex.startsWith("#")) {
|
|
2095
|
+
hex = `#${hex}`;
|
|
2096
|
+
}
|
|
2097
|
+
if (isShorthandHex(hex, hasAlpha)) {
|
|
2098
|
+
return rgbToHex(hexToRGB(hex, hasAlpha));
|
|
2099
|
+
}
|
|
2100
|
+
if (hasAlpha && convertFromHexToHexa && isValidHex(hex, false /* we only care about RGB hex for conversion */)) {
|
|
2101
|
+
const isShorthand = isShorthandHex(hex, false);
|
|
2102
|
+
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}`, true));
|
|
2103
|
+
}
|
|
2104
|
+
return hex;
|
|
2105
|
+
}
|
|
2106
|
+
function hexify(color, hasAlpha = false) {
|
|
2107
|
+
return hasAlpha ? color.hexa() : color.hex();
|
|
2108
|
+
}
|
|
2109
|
+
function rgbToHex(color) {
|
|
2110
|
+
const { r, g, b } = color;
|
|
2111
|
+
const rChars = numToHex(r);
|
|
2112
|
+
const gChars = numToHex(g);
|
|
2113
|
+
const bChars = numToHex(b);
|
|
2114
|
+
const alphaChars = "a" in color ? numToHex(color.a * 255) : "";
|
|
2115
|
+
return `#${rChars}${gChars}${bChars}${alphaChars}`.toLowerCase();
|
|
2116
|
+
}
|
|
2117
|
+
function numToHex(num) {
|
|
2118
|
+
return num.toString(16).padStart(2, "0");
|
|
2119
|
+
}
|
|
2120
|
+
function normalizeAlpha(colorObject) {
|
|
2121
|
+
const normalized = { ...colorObject, a: colorObject.alpha ?? 1 /* Color() will omit alpha if 1 */ };
|
|
2122
|
+
delete normalized.alpha;
|
|
2123
|
+
return normalized;
|
|
2124
|
+
}
|
|
2125
|
+
function normalizeColor(alphaColorObject) {
|
|
2126
|
+
const normalized = { ...alphaColorObject, alpha: alphaColorObject.a ?? 1 };
|
|
2127
|
+
delete normalized.a;
|
|
2128
|
+
return normalized;
|
|
2129
|
+
}
|
|
2130
|
+
function hexToRGB(hex, hasAlpha = false) {
|
|
2131
|
+
if (!isValidHex(hex, hasAlpha)) {
|
|
2132
|
+
return null;
|
|
2133
|
+
}
|
|
2134
|
+
hex = hex.replace("#", "");
|
|
2135
|
+
let r;
|
|
2136
|
+
let g;
|
|
2137
|
+
let b;
|
|
2138
|
+
let a;
|
|
2139
|
+
const isShorthand = hex.length === 3 || hex.length === 4;
|
|
2140
|
+
if (isShorthand) {
|
|
2141
|
+
const [first, second, third, fourth] = hex.split("");
|
|
2142
|
+
r = parseInt(`${first}${first}`, 16);
|
|
2143
|
+
g = parseInt(`${second}${second}`, 16);
|
|
2144
|
+
b = parseInt(`${third}${third}`, 16);
|
|
2145
|
+
a = parseInt(`${fourth}${fourth}`, 16) / 255;
|
|
2146
|
+
}
|
|
2147
|
+
else {
|
|
2148
|
+
r = parseInt(hex.slice(0, 2), 16);
|
|
2149
|
+
g = parseInt(hex.slice(2, 4), 16);
|
|
2150
|
+
b = parseInt(hex.slice(4, 6), 16);
|
|
2151
|
+
a = parseInt(hex.slice(6, 8), 16) / 255;
|
|
2152
|
+
}
|
|
2153
|
+
return isNaN(a) ? { r, g, b } : { r, g, b, a };
|
|
2154
|
+
}
|
|
2155
|
+
// these utils allow users to pass enum values as strings without having to access the enum
|
|
2156
|
+
// based on the approach suggested by https://github.com/microsoft/TypeScript/issues/17690#issuecomment-321365759,
|
|
2157
|
+
const enumify = (x) => x;
|
|
2158
|
+
const CSSColorMode = enumify({
|
|
2159
|
+
HEX: "hex",
|
|
2160
|
+
HEXA: "hexa",
|
|
2161
|
+
RGB_CSS: "rgb-css",
|
|
2162
|
+
RGBA_CSS: "rgba-css",
|
|
2163
|
+
HSL_CSS: "hsl-css",
|
|
2164
|
+
HSLA_CSS: "hsla-css",
|
|
2165
|
+
});
|
|
2166
|
+
const ObjectColorMode = enumify({
|
|
2167
|
+
RGB: "rgb",
|
|
2168
|
+
RGBA: "rgba",
|
|
2169
|
+
HSL: "hsl",
|
|
2170
|
+
HSLA: "hsla",
|
|
2171
|
+
HSV: "hsv",
|
|
2172
|
+
HSVA: "hsva",
|
|
2173
|
+
});
|
|
2174
|
+
function parseMode(colorValue) {
|
|
2175
|
+
if (typeof colorValue === "string") {
|
|
2176
|
+
if (colorValue.startsWith("#")) {
|
|
2177
|
+
const { length } = colorValue;
|
|
2178
|
+
if (length === 4 || length === 7) {
|
|
2179
|
+
return CSSColorMode.HEX;
|
|
2180
|
+
}
|
|
2181
|
+
if (length === 5 || length === 9) {
|
|
2182
|
+
return CSSColorMode.HEXA;
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
if (colorValue.startsWith("rgba(")) {
|
|
2186
|
+
return CSSColorMode.RGBA_CSS;
|
|
2187
|
+
}
|
|
2188
|
+
if (colorValue.startsWith("rgb(")) {
|
|
2189
|
+
return CSSColorMode.RGB_CSS;
|
|
2190
|
+
}
|
|
2191
|
+
if (colorValue.startsWith("hsl(")) {
|
|
2192
|
+
return CSSColorMode.HSL_CSS;
|
|
2193
|
+
}
|
|
2194
|
+
if (colorValue.startsWith("hsla(")) {
|
|
2195
|
+
return CSSColorMode.HSLA_CSS;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
if (typeof colorValue === "object") {
|
|
2199
|
+
if (hasChannels(colorValue, "r", "g", "b")) {
|
|
2200
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.RGBA : ObjectColorMode.RGB;
|
|
2201
|
+
}
|
|
2202
|
+
if (hasChannels(colorValue, "h", "s", "l")) {
|
|
2203
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.HSLA : ObjectColorMode.HSL;
|
|
2204
|
+
}
|
|
2205
|
+
if (hasChannels(colorValue, "h", "s", "v")) {
|
|
2206
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.HSVA : ObjectColorMode.HSV;
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
return null;
|
|
2210
|
+
}
|
|
2211
|
+
function hasChannels(colorObject, ...channels) {
|
|
2212
|
+
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
|
2213
|
+
}
|
|
2214
|
+
function colorEqual(value1, value2) {
|
|
2215
|
+
return value1?.rgb().array().toString() === value2?.rgb().array().toString();
|
|
2216
|
+
}
|
|
2217
|
+
function alphaCompatible(mode) {
|
|
2218
|
+
return (mode === CSSColorMode.HEXA ||
|
|
2219
|
+
mode === CSSColorMode.RGBA_CSS ||
|
|
2220
|
+
mode === CSSColorMode.HSLA_CSS ||
|
|
2221
|
+
mode === ObjectColorMode.RGBA ||
|
|
2222
|
+
mode === ObjectColorMode.HSLA ||
|
|
2223
|
+
mode === ObjectColorMode.HSVA);
|
|
2224
|
+
}
|
|
2225
|
+
function toAlphaMode(mode) {
|
|
2226
|
+
const alphaMode = mode === CSSColorMode.HEX
|
|
2227
|
+
? CSSColorMode.HEXA
|
|
2228
|
+
: mode === CSSColorMode.RGB_CSS
|
|
2229
|
+
? CSSColorMode.RGBA_CSS
|
|
2230
|
+
: mode === CSSColorMode.HSL_CSS
|
|
2231
|
+
? CSSColorMode.HSLA_CSS
|
|
2232
|
+
: mode === ObjectColorMode.RGB
|
|
2233
|
+
? ObjectColorMode.RGBA
|
|
2234
|
+
: mode === ObjectColorMode.HSL
|
|
2235
|
+
? ObjectColorMode.HSLA
|
|
2236
|
+
: mode === ObjectColorMode.HSV
|
|
2237
|
+
? ObjectColorMode.HSVA
|
|
2238
|
+
: mode;
|
|
2239
|
+
return alphaMode;
|
|
2240
|
+
}
|
|
2241
|
+
function toNonAlphaMode(mode) {
|
|
2242
|
+
const nonAlphaMode = mode === CSSColorMode.HEXA
|
|
2243
|
+
? CSSColorMode.HEX
|
|
2244
|
+
: mode === CSSColorMode.RGBA_CSS
|
|
2245
|
+
? CSSColorMode.RGB_CSS
|
|
2246
|
+
: mode === CSSColorMode.HSLA_CSS
|
|
2247
|
+
? CSSColorMode.HSL_CSS
|
|
2248
|
+
: mode === ObjectColorMode.RGBA
|
|
2249
|
+
? ObjectColorMode.RGB
|
|
2250
|
+
: mode === ObjectColorMode.HSLA
|
|
2251
|
+
? ObjectColorMode.HSL
|
|
2252
|
+
: mode === ObjectColorMode.HSVA
|
|
2253
|
+
? ObjectColorMode.HSV
|
|
2254
|
+
: mode;
|
|
2255
|
+
return nonAlphaMode;
|
|
2256
|
+
}
|
|
2257
|
+
function getSliderWidth(activeDimensions, hasAlpha) {
|
|
2258
|
+
const { slider: { width }, preview, } = activeDimensions;
|
|
2259
|
+
if (hasAlpha) {
|
|
2260
|
+
return width;
|
|
2261
|
+
}
|
|
2262
|
+
const previewWidthOffset = DIMENSIONS["l"].preview.size - preview.size;
|
|
2263
|
+
return width + previewWidthOffset;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
exports.CSS = CSS;
|
|
2267
|
+
exports.CSSColorMode = CSSColorMode;
|
|
2268
|
+
exports.Color = Color$1;
|
|
2269
|
+
exports.DEFAULT_COLOR = DEFAULT_COLOR;
|
|
2270
|
+
exports.DEFAULT_STORAGE_KEY_PREFIX = DEFAULT_STORAGE_KEY_PREFIX;
|
|
2271
|
+
exports.DIMENSIONS = DIMENSIONS;
|
|
2272
|
+
exports.HSV_LIMITS = HSV_LIMITS;
|
|
2273
|
+
exports.HUE_LIMIT_CONSTRAINED = HUE_LIMIT_CONSTRAINED;
|
|
2274
|
+
exports.OPACITY_LIMITS = OPACITY_LIMITS;
|
|
2275
|
+
exports.RGB_LIMITS = RGB_LIMITS;
|
|
2276
|
+
exports.SCOPE_SIZE = SCOPE_SIZE;
|
|
2277
|
+
exports.alphaCompatible = alphaCompatible;
|
|
2278
|
+
exports.alphaToOpacity = alphaToOpacity;
|
|
2279
|
+
exports.colorEqual = colorEqual;
|
|
2280
|
+
exports.getSliderWidth = getSliderWidth;
|
|
2281
|
+
exports.hexChar = hexChar;
|
|
2282
|
+
exports.hexToRGB = hexToRGB;
|
|
2283
|
+
exports.hexify = hexify;
|
|
2284
|
+
exports.isLonghandHex = isLonghandHex;
|
|
2285
|
+
exports.isShorthandHex = isShorthandHex;
|
|
2286
|
+
exports.isValidHex = isValidHex;
|
|
2287
|
+
exports.normalizeAlpha = normalizeAlpha;
|
|
2288
|
+
exports.normalizeColor = normalizeColor;
|
|
2289
|
+
exports.normalizeHex = normalizeHex;
|
|
2290
|
+
exports.opacityToAlpha = opacityToAlpha;
|
|
2291
|
+
exports.parseMode = parseMode;
|
|
2292
|
+
exports.rgbToHex = rgbToHex;
|
|
2293
|
+
exports.toAlphaMode = toAlphaMode;
|
|
2294
|
+
exports.toNonAlphaMode = toNonAlphaMode;
|
|
2295
|
+
|
|
2296
|
+
//# sourceMappingURL=utils-2c1f6e78.js.map
|