@esri/calcite-components 1.3.0-next.17 → 1.3.0-next.19
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-group/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_bg.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_bs.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ca.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_cs.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_da.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_de.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_el.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_et.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_fi.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_fr.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_he.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_hr.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_hu.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_id.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_it.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ja.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ko.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_lt.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_lv.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_nl.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_no.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_pl.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ro.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ru.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_sk.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_sl.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_sr.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_sv.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_th.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_tr.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_uk.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_vi.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ar.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_bg.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_bs.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ca.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_cs.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_da.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_de.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_el.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_en.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_es.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_et.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_fi.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_fr.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_he.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_hr.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_hu.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_id.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_it.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ja.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ko.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_lt.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_lv.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_nl.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_no.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_pl.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ro.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_ru.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_sk.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_sl.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_sr.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_sv.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_th.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_tr.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_uk.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_vi.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-0cd1419c.js → p-01049618.js} +1 -1
- package/dist/calcite/{p-948f4c58.entry.js → p-0328cbe4.entry.js} +2 -2
- package/dist/calcite/{p-117cd781.entry.js → p-0898b903.entry.js} +2 -2
- package/dist/calcite/{p-7c9d3716.entry.js → p-1345b669.entry.js} +2 -2
- package/dist/calcite/{p-26d024a0.entry.js → p-14bfbe47.entry.js} +2 -2
- package/dist/calcite/{p-db693438.entry.js → p-17c1bd31.entry.js} +2 -2
- package/dist/calcite/{p-04c9e0eb.js → p-19a583a8.js} +1 -1
- package/dist/calcite/{p-494beb7c.entry.js → p-21e62b20.entry.js} +2 -2
- package/dist/calcite/{p-bb8df0a1.js → p-259187b4.js} +3 -3
- package/dist/calcite/{p-29568038.entry.js → p-270cf3c8.entry.js} +2 -2
- package/dist/calcite/{p-b9d9f0d6.js → p-274481f5.js} +1 -1
- package/dist/calcite/{p-9771fc79.entry.js → p-2c6e317f.entry.js} +2 -2
- package/dist/calcite/{p-a20eeaf9.js → p-30d4b75d.js} +1 -1
- package/dist/calcite/{p-7d9fec1f.entry.js → p-33959150.entry.js} +2 -2
- package/dist/calcite/{p-60cc5e9b.js → p-36c0d6f9.js} +2 -2
- package/dist/calcite/{p-e1f449d0.entry.js → p-37de39ae.entry.js} +2 -2
- package/dist/calcite/{p-a5b9c1a2.entry.js → p-3938196b.entry.js} +2 -2
- package/dist/calcite/{p-65ad8170.entry.js → p-3d617b03.entry.js} +2 -2
- package/dist/calcite/{p-9bc5d131.entry.js → p-3f235f04.entry.js} +2 -2
- package/dist/calcite/{p-a01a4a40.entry.js → p-400706de.entry.js} +2 -2
- package/dist/calcite/{p-2f00f7f8.entry.js → p-411ab486.entry.js} +2 -2
- package/dist/calcite/{p-9566b2f6.js → p-41ea896e.js} +2 -2
- package/dist/calcite/{p-42090d86.js → p-43117229.js} +1 -1
- package/dist/calcite/{p-9068b593.js → p-43af5862.js} +1 -1
- package/dist/calcite/{p-afff593e.js → p-45183982.js} +1 -1
- package/dist/calcite/{p-ab7c469a.js → p-451ce3c7.js} +2 -2
- package/dist/calcite/{p-9f78219d.js → p-4a34b097.js} +1 -1
- package/dist/calcite/{p-51e2851b.entry.js → p-54fd8dd3.entry.js} +2 -2
- package/dist/calcite/{p-eb370eea.entry.js → p-57c94a62.entry.js} +2 -2
- package/dist/calcite/{p-131b5102.entry.js → p-58f4c27a.entry.js} +2 -2
- package/dist/calcite/{p-2e612ccf.js → p-597b9ebd.js} +2 -2
- package/dist/calcite/{p-ddcc354c.entry.js → p-5ad89ad7.entry.js} +2 -2
- package/dist/calcite/{p-9f4141da.js → p-5cc4b709.js} +1 -1
- package/dist/calcite/{p-baafadb0.entry.js → p-650ce99e.entry.js} +2 -2
- package/dist/calcite/{p-c1ae9759.entry.js → p-65e7268b.entry.js} +2 -2
- package/dist/calcite/{p-8f63f666.entry.js → p-66485e09.entry.js} +2 -2
- package/dist/calcite/{p-33d0f81f.entry.js → p-67011d99.entry.js} +2 -2
- package/dist/calcite/{p-7b7663ba.entry.js → p-67134aa4.entry.js} +2 -2
- package/dist/calcite/{p-cc8a718b.entry.js → p-693a9e80.entry.js} +2 -2
- package/dist/calcite/{p-5163c43e.js → p-6d802bd8.js} +2 -2
- package/dist/calcite/{p-4452c426.entry.js → p-6e3c6955.entry.js} +2 -2
- package/dist/calcite/{p-f1c3cf7b.entry.js → p-74cfa180.entry.js} +2 -2
- package/dist/calcite/{p-baa6b897.entry.js → p-76942800.entry.js} +2 -2
- package/dist/calcite/{p-bde22b03.js → p-7f5fdffe.js} +1 -1
- package/dist/calcite/p-81c3e03a.entry.js +6 -0
- package/dist/calcite/{p-a2950450.js → p-836efd1e.js} +2 -2
- package/dist/calcite/{p-898e11f3.entry.js → p-843b02e0.entry.js} +2 -2
- package/dist/calcite/{p-8f946f67.entry.js → p-8677e4d9.entry.js} +2 -2
- package/dist/calcite/{p-67bdb317.js → p-8738a6f6.js} +2 -2
- package/dist/calcite/{p-759423f7.entry.js → p-87525341.entry.js} +2 -2
- package/dist/calcite/{p-2a6fccb3.entry.js → p-87a65853.entry.js} +2 -2
- package/dist/calcite/p-8c517943.entry.js +6 -0
- package/dist/calcite/p-8d73331c.js +6 -0
- package/dist/calcite/p-9071ca9b.js +6 -0
- package/dist/calcite/{p-20d8d95f.entry.js → p-945dc936.entry.js} +2 -2
- package/dist/calcite/{p-5a0ce33e.entry.js → p-9462808f.entry.js} +2 -2
- package/dist/calcite/{p-e234b942.entry.js → p-94f32474.entry.js} +2 -2
- package/dist/calcite/{p-612f62b0.entry.js → p-961b337f.entry.js} +2 -2
- package/dist/calcite/{p-c7f22264.entry.js → p-98c3e578.entry.js} +2 -2
- package/dist/calcite/{p-6ba48ce0.js → p-a074f2b5.js} +2 -2
- package/dist/calcite/{p-6dfc7eb5.js → p-a73323d9.js} +1 -1
- package/dist/calcite/{p-e373771a.js → p-a7375a2d.js} +2 -2
- package/dist/calcite/{p-48b30c69.entry.js → p-a7a92e80.entry.js} +2 -2
- package/dist/calcite/{p-84a6fb6b.entry.js → p-aa5d535f.entry.js} +2 -2
- package/dist/calcite/{p-9153c253.js → p-ae5acf5b.js} +2 -2
- package/dist/calcite/{p-19af04a7.js → p-af8c6e04.js} +1 -1
- package/dist/calcite/{p-35a23a2c.entry.js → p-b23bb66d.entry.js} +2 -2
- package/dist/calcite/{p-9f9db45f.entry.js → p-b3766ad7.entry.js} +2 -2
- package/dist/calcite/{p-f2d8e427.entry.js → p-b5e77e4a.entry.js} +2 -2
- package/dist/calcite/{p-30fc593f.entry.js → p-b6b81e76.entry.js} +2 -2
- package/dist/calcite/{p-69652c40.entry.js → p-b6daee48.entry.js} +2 -2
- package/dist/calcite/{p-cb637c05.entry.js → p-b89bab16.entry.js} +2 -2
- package/dist/calcite/{p-62ac3e38.js → p-ba0ec9b6.js} +2 -2
- package/dist/calcite/{p-26e15168.js → p-bb90f87e.js} +3 -3
- package/dist/calcite/{p-f7a48226.js → p-bcabd5e0.js} +1 -1
- package/dist/calcite/{p-58c2bb7b.entry.js → p-be39e311.entry.js} +2 -2
- package/dist/calcite/{p-3728fc74.entry.js → p-c64a7bbd.entry.js} +2 -2
- package/dist/calcite/{p-315f406b.entry.js → p-cc93214d.entry.js} +2 -2
- package/dist/calcite/{p-8c5080df.entry.js → p-ce8d1d58.entry.js} +2 -2
- package/dist/calcite/{p-ea8cf09d.entry.js → p-d89ffd43.entry.js} +2 -2
- package/dist/calcite/{p-78ff8273.js → p-d911932b.js} +1 -1
- package/dist/calcite/{p-4b4c3ee0.entry.js → p-dc8be41b.entry.js} +2 -2
- package/dist/calcite/{p-3fb85b70.js → p-dec44cd2.js} +2 -2
- package/dist/calcite/{p-76270986.js → p-e8b3a922.js} +1 -1
- package/dist/calcite/{p-3dff1bae.entry.js → p-e90173a6.entry.js} +2 -2
- package/dist/calcite/{p-2cf1a1a9.entry.js → p-e9246e1e.entry.js} +2 -2
- package/dist/calcite/{p-cf9ece1c.entry.js → p-ef65c4ea.entry.js} +2 -2
- package/dist/calcite/{p-7ef327da.entry.js → p-f2848f06.entry.js} +2 -2
- package/dist/calcite/{p-525752f6.js → p-f2b3efc4.js} +1 -1
- package/dist/calcite/{p-e3456685.entry.js → p-f5a33b53.entry.js} +2 -2
- package/dist/calcite/{p-a8ba8cc8.entry.js → p-f61fb345.entry.js} +2 -2
- package/dist/calcite/p-f6aee22d.entry.js +6 -0
- package/dist/calcite/{p-14c9198a.js → p-fc6df774.js} +1 -1
- package/dist/calcite/{p-cf4c4268.entry.js → p-ff6b73fa.entry.js} +2 -2
- package/dist/calcite/{p-75f178c2.entry.js → p-fff6fcac.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-0ad3f33d.js → ExpandToggle-c0918294.js} +5 -5
- package/dist/cjs/{Heading-bcf271df.js → Heading-6a991912.js} +2 -2
- package/dist/cjs/{app-globals-dc874b8c.js → app-globals-88b5556a.js} +2 -2
- package/dist/cjs/{array-b1423ca0.js → array-3ae413b8.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +52 -21
- package/dist/cjs/calcite-input.cjs.entry.js +20 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-9f6b2e97.js → composed-offset-position.esm-db637265.js} +1 -1
- package/dist/cjs/{conditionalSlot-74af7095.js → conditionalSlot-80f7ebb5.js} +3 -3
- package/dist/cjs/{debounce-41e3aa57.js → debounce-b1c8a12c.js} +1 -1
- package/dist/cjs/{dom-9d041f45.js → dom-31a0c50c.js} +3 -3
- package/dist/cjs/{filter-ff21f0b7.js → filter-1a3425b9.js} +2 -2
- package/dist/cjs/{floating-ui-c08b8599.js → floating-ui-03445a1f.js} +4 -4
- package/dist/cjs/{focusTrapComponent-81ec363c.js → focusTrapComponent-b97f3f43.js} +2 -2
- package/dist/cjs/{form-e0c9df82.js → form-49a065eb.js} +3 -3
- package/dist/cjs/{guid-cf30eaf0.js → guid-ac172722.js} +1 -1
- package/dist/cjs/{index-d51f029c.js → index-934d551d.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-a92ab71d.js → interactive-754d50a5.js} +1 -1
- package/dist/cjs/{key-497c2785.js → key-a90f50a2.js} +1 -1
- package/dist/cjs/{label-162aac83.js → label-da70df21.js} +2 -2
- package/dist/cjs/{loadable-fa0663e5.js → loadable-3bdea425.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-7c8a0b41.js → locale-3f773733.js} +4 -4
- package/dist/cjs/{math-dfa11545.js → math-4b08c2a6.js} +1 -1
- package/dist/cjs/{observers-2cb7cc07.js → observers-cbb7e3dc.js} +1 -1
- package/dist/cjs/{openCloseComponent-596cbc4d.js → openCloseComponent-1d52e07b.js} +2 -2
- package/dist/cjs/{resources-7c3e526b.js → resources-120083c8.js} +1 -1
- package/dist/cjs/{resources-9bf60b92.js → resources-2211e44d.js} +5 -5
- package/dist/cjs/{resources-27f1ede7.js → resources-2ebb7903.js} +1 -1
- package/dist/cjs/{resources-712c998a.js → resources-4b975698.js} +1 -1
- package/dist/cjs/{resources-b6ebdf96.js → resources-a477e1ca.js} +1 -1
- package/dist/cjs/{resources-6b4d9d15.js → resources-a4cafa93.js} +1 -1
- package/dist/cjs/{sortable.esm-07099fc2.js → sortable.esm-0212bd4e.js} +1 -1
- package/dist/cjs/{t9n-43c7fa09.js → t9n-440e3f50.js} +3 -3
- package/dist/cjs/{throttle-833ac469.js → throttle-baead588.js} +2 -2
- package/dist/cjs/{utils-ff27f319.js → utils-751df585.js} +3 -3
- package/dist/cjs/{utils-4b10d491.js → utils-eb692fb8.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/assets/action-group/t9n/messages_ja.json +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ar.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bg.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ca.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_cs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_da.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_de.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_el.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_es.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_et.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_he.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hu.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_id.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_it.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ja.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ko.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lt.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_nl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_no.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ro.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ru.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_th.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_tr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_uk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_vi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +30 -2
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bg.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bs.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ca.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_cs.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_da.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_de.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_el.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_et.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fi.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fr.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_he.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hr.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hu.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_id.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_it.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ja.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ko.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lt.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lv.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_nl.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_no.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pl.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ro.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ru.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sk.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sl.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sr.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sv.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_th.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_tr.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_uk.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_vi.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/index.d.ts +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ar.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_bg.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_bs.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ca.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_cs.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_da.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_de.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_el.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_en.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_es.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_et.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_fi.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_fr.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_he.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_hr.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_hu.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_id.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_it.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ja.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ko.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_lt.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_lv.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_nl.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_no.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pl.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ro.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_ru.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sk.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sl.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sr.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_sv.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_th.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_tr.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_uk.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_vi.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/collection/components/input-time-picker/assets/input-time-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/collection/components/input-time-picker/input-time-picker.css +27 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +71 -12
- package/dist/collection/components/input-time-picker/resources.js +8 -0
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +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 +44 -10
- 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-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.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-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +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/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +9 -2
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-f1245b5f.js → ExpandToggle-bb780466.js} +5 -5
- package/dist/esm/{Heading-080b59d7.js → Heading-c7b40210.js} +2 -2
- package/dist/esm/{app-globals-1cbce816.js → app-globals-68e5d333.js} +2 -2
- package/dist/esm/{array-53e59111.js → array-e7cf9b6d.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +52 -21
- package/dist/esm/calcite-input.entry.js +20 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-ac8bbd53.js → composed-offset-position.esm-29ebb91c.js} +1 -1
- package/dist/esm/{conditionalSlot-4142af97.js → conditionalSlot-ad6018ed.js} +3 -3
- package/dist/esm/{debounce-f038c07a.js → debounce-865c3570.js} +1 -1
- package/dist/esm/{dom-cfd560aa.js → dom-37bf8871.js} +3 -3
- package/dist/esm/{filter-ee10dca4.js → filter-30a51cc2.js} +2 -2
- package/dist/esm/{floating-ui-3652ceea.js → floating-ui-e3a9d705.js} +4 -4
- package/dist/esm/{focusTrapComponent-dfb6cc6e.js → focusTrapComponent-eb5ff4e6.js} +2 -2
- package/dist/esm/{form-6c14bcd4.js → form-620ac187.js} +3 -3
- package/dist/esm/{guid-13fc8cfc.js → guid-51ac906b.js} +1 -1
- package/dist/esm/{index-2171fe56.js → index-4f9cce4a.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-d690fbb6.js → interactive-dba9bb05.js} +1 -1
- package/dist/esm/{key-485c3627.js → key-1d97fc5b.js} +1 -1
- package/dist/esm/{label-554564cf.js → label-dff6e570.js} +2 -2
- package/dist/esm/{loadable-1f65c98f.js → loadable-4ae47b74.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-d3572c9f.js → locale-db9a62a8.js} +4 -4
- package/dist/esm/{math-32733880.js → math-b372ba25.js} +1 -1
- package/dist/esm/{observers-cd62ff62.js → observers-190799c1.js} +1 -1
- package/dist/esm/{openCloseComponent-434b5d60.js → openCloseComponent-24ee5816.js} +2 -2
- package/dist/esm/{resources-dcff17d3.js → resources-009165c2.js} +1 -1
- package/dist/esm/{resources-c34cd89f.js → resources-43ac2d3f.js} +1 -1
- package/dist/esm/{resources-d2c07ab5.js → resources-44440c0b.js} +1 -1
- package/dist/esm/{resources-497fc622.js → resources-6c02b7a8.js} +1 -1
- package/dist/esm/{resources-2a67ed7d.js → resources-920403d6.js} +1 -1
- package/dist/esm/{resources-d138be7c.js → resources-964b9173.js} +5 -5
- package/dist/esm/{sortable.esm-498982d6.js → sortable.esm-4d9d35d8.js} +1 -1
- package/dist/esm/{t9n-c25f941c.js → t9n-ea6a32a3.js} +3 -3
- package/dist/esm/{throttle-a4cc109e.js → throttle-44d8577d.js} +2 -2
- package/dist/esm/{utils-b2e8c13a.js → utils-5096c931.js} +3 -3
- package/dist/esm/{utils-358cb9ef.js → utils-d061767e.js} +1 -1
- package/dist/extras/docs-json.json +33 -7
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input/input.d.ts +7 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +21 -6
- package/dist/types/components/input-time-picker/resources.d.ts +3 -0
- package/dist/types/components.d.ts +17 -2
- package/hydrate/index.js +271 -231
- package/package.json +1 -1
- package/dist/calcite/p-3711b5a5.entry.js +0 -6
- package/dist/calcite/p-6bce8447.js +0 -6
- package/dist/calcite/p-6ccc7ed2.entry.js +0 -6
- package/dist/calcite/p-73208606.entry.js +0 -6
- package/dist/calcite/p-e6d11c53.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.0-next.
|
|
4
|
+
* v1.3.0-next.19
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6782,7 +6782,7 @@ const SLOTS$v = {
|
|
|
6782
6782
|
actionsStart: "actions-start",
|
|
6783
6783
|
actionsEnd: "actions-end"
|
|
6784
6784
|
};
|
|
6785
|
-
const CSS$
|
|
6785
|
+
const CSS$Z = {
|
|
6786
6786
|
icon: "icon",
|
|
6787
6787
|
header: "header",
|
|
6788
6788
|
headerContent: "header-content",
|
|
@@ -6853,28 +6853,28 @@ class AccordionItem {
|
|
|
6853
6853
|
// --------------------------------------------------------------------------
|
|
6854
6854
|
renderActionsStart() {
|
|
6855
6855
|
const { el } = this;
|
|
6856
|
-
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6856
|
+
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$Z.actionsStart }, hAsync("slot", { name: SLOTS$v.actionsStart }))) : null;
|
|
6857
6857
|
}
|
|
6858
6858
|
renderActionsEnd() {
|
|
6859
6859
|
const { el } = this;
|
|
6860
|
-
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6860
|
+
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$Z.actionsEnd }, hAsync("slot", { name: SLOTS$v.actionsEnd }))) : null;
|
|
6861
6861
|
}
|
|
6862
6862
|
render() {
|
|
6863
6863
|
const { iconFlipRtl } = this;
|
|
6864
6864
|
const dir = getElementDir(this.el);
|
|
6865
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6866
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
6865
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$Z.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6866
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$Z.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6867
6867
|
const { description } = this;
|
|
6868
6868
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6869
6869
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6870
6870
|
[`icon-type--${this.iconType}`]: true
|
|
6871
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6871
|
+
} }, hAsync("div", { class: { [CSS$Z.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$Z.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$Z.headerContainer }, iconStartEl, hAsync("div", { class: CSS$Z.headerText }, hAsync("span", { class: CSS$Z.heading }, this.heading), description ? hAsync("span", { class: CSS$Z.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$Z.expandIcon, icon: this.iconType === "chevron"
|
|
6872
6872
|
? "chevronDown"
|
|
6873
6873
|
: this.iconType === "caret"
|
|
6874
6874
|
? "caretDown"
|
|
6875
6875
|
: this.expanded
|
|
6876
6876
|
? "minus"
|
|
6877
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6877
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$Z.content }, hAsync("slot", null)))));
|
|
6878
6878
|
}
|
|
6879
6879
|
//--------------------------------------------------------------------------
|
|
6880
6880
|
//
|
|
@@ -7662,7 +7662,7 @@ function defaultOnMessagesChange() {
|
|
|
7662
7662
|
mergeMessages(this);
|
|
7663
7663
|
}
|
|
7664
7664
|
|
|
7665
|
-
const CSS$
|
|
7665
|
+
const CSS$Y = {
|
|
7666
7666
|
button: "button",
|
|
7667
7667
|
buttonTextVisible: "button--text-visible",
|
|
7668
7668
|
buttonCompact: "button--compact",
|
|
@@ -7771,14 +7771,14 @@ class Action {
|
|
|
7771
7771
|
renderTextContainer() {
|
|
7772
7772
|
const { text, textEnabled } = this;
|
|
7773
7773
|
const textContainerClasses = {
|
|
7774
|
-
[CSS$
|
|
7775
|
-
[CSS$
|
|
7774
|
+
[CSS$Y.textContainer]: true,
|
|
7775
|
+
[CSS$Y.textContainerVisible]: textEnabled
|
|
7776
7776
|
};
|
|
7777
7777
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7778
7778
|
}
|
|
7779
7779
|
renderIndicatorText() {
|
|
7780
7780
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7781
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
7781
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$Y.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7782
7782
|
}
|
|
7783
7783
|
renderIconContainer() {
|
|
7784
7784
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7789,18 +7789,18 @@ class Action {
|
|
|
7789
7789
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7790
7790
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7791
7791
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7792
|
-
[CSS$
|
|
7793
|
-
[CSS$
|
|
7792
|
+
[CSS$Y.slotContainer]: true,
|
|
7793
|
+
[CSS$Y.slotContainerHidden]: loading
|
|
7794
7794
|
} }, hAsync("slot", null)));
|
|
7795
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
7795
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$Y.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7796
7796
|
}
|
|
7797
7797
|
render() {
|
|
7798
7798
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7799
7799
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7800
7800
|
const buttonClasses = {
|
|
7801
|
-
[CSS$
|
|
7802
|
-
[CSS$
|
|
7803
|
-
[CSS$
|
|
7801
|
+
[CSS$Y.button]: true,
|
|
7802
|
+
[CSS$Y.buttonTextVisible]: textEnabled,
|
|
7803
|
+
[CSS$Y.buttonCompact]: compact
|
|
7804
7804
|
};
|
|
7805
7805
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7806
7806
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9113,7 +9113,7 @@ const ICONS$h = {
|
|
|
9113
9113
|
menu: "ellipsis"
|
|
9114
9114
|
};
|
|
9115
9115
|
|
|
9116
|
-
const CSS$
|
|
9116
|
+
const CSS$X = {
|
|
9117
9117
|
menu: "menu",
|
|
9118
9118
|
defaultTrigger: "default-trigger"
|
|
9119
9119
|
};
|
|
@@ -9215,7 +9215,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9215
9215
|
return actionNode;
|
|
9216
9216
|
};
|
|
9217
9217
|
|
|
9218
|
-
const CSS$
|
|
9218
|
+
const CSS$W = {
|
|
9219
9219
|
actionGroupBottom: "action-group--bottom"
|
|
9220
9220
|
};
|
|
9221
9221
|
const SLOTS$r = {
|
|
@@ -9403,7 +9403,7 @@ class ActionBar {
|
|
|
9403
9403
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9404
9404
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9405
9405
|
ref: this.setExpandToggleRef })) : null;
|
|
9406
|
-
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9406
|
+
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$W.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
9407
9407
|
}
|
|
9408
9408
|
render() {
|
|
9409
9409
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9809,7 +9809,7 @@ class ActionMenu {
|
|
|
9809
9809
|
}
|
|
9810
9810
|
renderMenuButton() {
|
|
9811
9811
|
const { label, scale, expanded } = this;
|
|
9812
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9812
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$X.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9813
9813
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9814
9814
|
ref: this.setDefaultMenuButtonEl })));
|
|
9815
9815
|
return menuButtonSlot;
|
|
@@ -9818,7 +9818,7 @@ class ActionMenu {
|
|
|
9818
9818
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9819
9819
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9820
9820
|
const activeDescendantId = activeAction?.id || null;
|
|
9821
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
9821
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$X.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9822
9822
|
}
|
|
9823
9823
|
render() {
|
|
9824
9824
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9854,7 +9854,7 @@ class ActionMenu {
|
|
|
9854
9854
|
}; }
|
|
9855
9855
|
}
|
|
9856
9856
|
|
|
9857
|
-
const CSS$
|
|
9857
|
+
const CSS$V = {
|
|
9858
9858
|
actionGroupBottom: "action-group--bottom",
|
|
9859
9859
|
container: "container"
|
|
9860
9860
|
};
|
|
@@ -9974,10 +9974,10 @@ class ActionPad {
|
|
|
9974
9974
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9975
9975
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9976
9976
|
ref: this.setExpandToggleRef })) : null;
|
|
9977
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9977
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$V.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
9978
9978
|
}
|
|
9979
9979
|
render() {
|
|
9980
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
9980
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$V.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
9981
9981
|
}
|
|
9982
9982
|
static get delegatesFocus() { return true; }
|
|
9983
9983
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10113,7 +10113,7 @@ const SLOTS$p = {
|
|
|
10113
10113
|
message: "message",
|
|
10114
10114
|
link: "link"
|
|
10115
10115
|
};
|
|
10116
|
-
const CSS$
|
|
10116
|
+
const CSS$U = {
|
|
10117
10117
|
actionsEnd: "actions-end",
|
|
10118
10118
|
container: "container",
|
|
10119
10119
|
close: "alert-close",
|
|
@@ -10271,10 +10271,10 @@ class Alert {
|
|
|
10271
10271
|
container: true,
|
|
10272
10272
|
queued,
|
|
10273
10273
|
[placement]: true,
|
|
10274
|
-
[CSS$
|
|
10274
|
+
[CSS$U.slottedInShell]: this.slottedInShell
|
|
10275
10275
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10276
10276
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10277
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$
|
|
10277
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$U.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10278
10278
|
}
|
|
10279
10279
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10280
10280
|
alertSync(event) {
|
|
@@ -10649,7 +10649,7 @@ const Heading = (props, children) => {
|
|
|
10649
10649
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10650
10650
|
};
|
|
10651
10651
|
|
|
10652
|
-
const CSS$
|
|
10652
|
+
const CSS$T = {
|
|
10653
10653
|
container: "container",
|
|
10654
10654
|
content: "content",
|
|
10655
10655
|
headerContainer: "header-container",
|
|
@@ -10760,31 +10760,31 @@ class Block {
|
|
|
10760
10760
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10761
10761
|
const hasIcon = getSlotted(el, SLOTS$o.icon) || statusIcon;
|
|
10762
10762
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$o.icon })) : (hAsync("calcite-icon", { class: {
|
|
10763
|
-
[CSS$
|
|
10764
|
-
[CSS$
|
|
10765
|
-
[CSS$
|
|
10766
|
-
[CSS$
|
|
10763
|
+
[CSS$T.statusIcon]: true,
|
|
10764
|
+
[CSS$T.valid]: status == "valid",
|
|
10765
|
+
[CSS$T.invalid]: status == "invalid",
|
|
10766
|
+
[CSS$T.loading]: showingLoadingStatus
|
|
10767
10767
|
}, icon: statusIcon, scale: "m" }));
|
|
10768
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
10768
|
+
return hasIcon ? hAsync("div", { class: CSS$T.icon }, iconEl) : null;
|
|
10769
10769
|
}
|
|
10770
10770
|
renderTitle() {
|
|
10771
10771
|
const { heading, headingLevel, description } = this;
|
|
10772
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
10772
|
+
return heading || description ? (hAsync("div", { class: CSS$T.title }, hAsync(Heading, { class: CSS$T.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$T.description }, description) : null)) : null;
|
|
10773
10773
|
}
|
|
10774
10774
|
render() {
|
|
10775
10775
|
const { collapsible, el, loading, open, messages } = this;
|
|
10776
10776
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10777
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10777
|
+
const headerContent = (hAsync("header", { class: CSS$T.header }, this.renderIcon(), this.renderTitle()));
|
|
10778
10778
|
const hasControl = !!getSlotted(el, SLOTS$o.control);
|
|
10779
10779
|
const hasMenuActions = !!getSlotted(el, SLOTS$o.headerMenuActions);
|
|
10780
10780
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10781
10781
|
const { guid } = this;
|
|
10782
10782
|
const regionId = `${guid}-region`;
|
|
10783
10783
|
const buttonId = `${guid}-button`;
|
|
10784
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
10784
|
+
const headerNode = (hAsync("div", { class: CSS$T.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$T.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$T.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$T.controlContainer }, hAsync("slot", { name: SLOTS$o.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$o.headerMenuActions }))) : null));
|
|
10785
10785
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10786
|
-
[CSS$
|
|
10787
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10786
|
+
[CSS$T.container]: true
|
|
10787
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$T.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10788
10788
|
}
|
|
10789
10789
|
static get assetsDirs() { return ["assets"]; }
|
|
10790
10790
|
get el() { return getElement(this); }
|
|
@@ -10817,7 +10817,7 @@ class Block {
|
|
|
10817
10817
|
}; }
|
|
10818
10818
|
}
|
|
10819
10819
|
|
|
10820
|
-
const CSS$
|
|
10820
|
+
const CSS$S = {
|
|
10821
10821
|
content: "content",
|
|
10822
10822
|
invalid: "invalid",
|
|
10823
10823
|
toggle: "toggle",
|
|
@@ -10903,9 +10903,9 @@ class BlockSection {
|
|
|
10903
10903
|
const { status } = this;
|
|
10904
10904
|
const statusIcon = ICONS$d[status] ?? false;
|
|
10905
10905
|
const statusIconClasses = {
|
|
10906
|
-
[CSS$
|
|
10907
|
-
[CSS$
|
|
10908
|
-
[CSS$
|
|
10906
|
+
[CSS$S.statusIcon]: true,
|
|
10907
|
+
[CSS$S.valid]: status == "valid",
|
|
10908
|
+
[CSS$S.invalid]: status == "invalid"
|
|
10909
10909
|
};
|
|
10910
10910
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
10911
10911
|
}
|
|
@@ -10922,13 +10922,13 @@ class BlockSection {
|
|
|
10922
10922
|
const regionId = `${guid}-region`;
|
|
10923
10923
|
const buttonId = `${guid}-button`;
|
|
10924
10924
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10925
|
-
[CSS$
|
|
10926
|
-
[CSS$
|
|
10927
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
10928
|
-
[CSS$
|
|
10929
|
-
[CSS$
|
|
10930
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
10931
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10925
|
+
[CSS$S.toggle]: true,
|
|
10926
|
+
[CSS$S.toggleSwitch]: true
|
|
10927
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$S.toggleSwitchContent }, hAsync("span", { class: CSS$S.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10928
|
+
[CSS$S.sectionHeader]: true,
|
|
10929
|
+
[CSS$S.toggle]: true
|
|
10930
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$S.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
10931
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$S.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
10932
10932
|
}
|
|
10933
10933
|
static get assetsDirs() { return ["assets"]; }
|
|
10934
10934
|
get el() { return getElement(this); }
|
|
@@ -11339,7 +11339,7 @@ function onLabelDisconnected() {
|
|
|
11339
11339
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11340
11340
|
}
|
|
11341
11341
|
|
|
11342
|
-
const CSS$
|
|
11342
|
+
const CSS$R = {
|
|
11343
11343
|
buttonLoader: "calcite-button--loader",
|
|
11344
11344
|
content: "content",
|
|
11345
11345
|
contentSlotted: "content--slotted",
|
|
@@ -11465,17 +11465,17 @@ class Button {
|
|
|
11465
11465
|
render() {
|
|
11466
11466
|
const childElType = this.href ? "a" : "button";
|
|
11467
11467
|
const Tag = childElType;
|
|
11468
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11468
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$R.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$R.loadingIn : CSS$R.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11469
11469
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11470
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11471
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11472
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11470
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$R.icon]: true, [CSS$R.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11471
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$R.icon]: true, [CSS$R.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11472
|
+
const contentEl = (hAsync("span", { class: CSS$R.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11473
11473
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11474
|
-
[CSS$
|
|
11475
|
-
[CSS$
|
|
11476
|
-
[CSS$
|
|
11477
|
-
[CSS$
|
|
11478
|
-
[CSS$
|
|
11474
|
+
[CSS$R.buttonPadding]: noStartEndIcons,
|
|
11475
|
+
[CSS$R.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11476
|
+
[CSS$R.contentSlotted]: this.hasContent,
|
|
11477
|
+
[CSS$R.iconStartEmpty]: !this.iconStart,
|
|
11478
|
+
[CSS$R.iconEndEmpty]: !this.iconEnd
|
|
11479
11479
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11480
11480
|
}
|
|
11481
11481
|
//--------------------------------------------------------------------------
|
|
@@ -11556,7 +11556,7 @@ class Button {
|
|
|
11556
11556
|
}; }
|
|
11557
11557
|
}
|
|
11558
11558
|
|
|
11559
|
-
const CSS$
|
|
11559
|
+
const CSS$Q = {
|
|
11560
11560
|
container: "container",
|
|
11561
11561
|
header: "header",
|
|
11562
11562
|
footer: "footer",
|
|
@@ -11641,7 +11641,7 @@ class Card {
|
|
|
11641
11641
|
render() {
|
|
11642
11642
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
11643
11643
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
11644
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
11644
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$Q.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
11645
11645
|
}
|
|
11646
11646
|
effectiveLocaleChange() {
|
|
11647
11647
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -11651,24 +11651,24 @@ class Card {
|
|
|
11651
11651
|
this.calciteCardSelect.emit();
|
|
11652
11652
|
}
|
|
11653
11653
|
renderThumbnail() {
|
|
11654
|
-
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$
|
|
11654
|
+
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$Q.thumbnailWrapper }, hAsync("slot", { name: SLOTS$n.thumbnail }))) : null;
|
|
11655
11655
|
}
|
|
11656
11656
|
renderCheckbox() {
|
|
11657
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
11657
|
+
return (hAsync("calcite-label", { class: CSS$Q.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
11658
11658
|
}
|
|
11659
11659
|
renderHeader() {
|
|
11660
11660
|
const { el } = this;
|
|
11661
11661
|
const title = getSlotted(el, SLOTS$n.title);
|
|
11662
11662
|
const subtitle = getSlotted(el, SLOTS$n.subtitle);
|
|
11663
11663
|
const hasHeader = title || subtitle;
|
|
11664
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
11664
|
+
return hasHeader ? (hAsync("header", { class: CSS$Q.header }, hAsync("slot", { name: SLOTS$n.title }), hAsync("slot", { name: SLOTS$n.subtitle }))) : null;
|
|
11665
11665
|
}
|
|
11666
11666
|
renderFooter() {
|
|
11667
11667
|
const { el } = this;
|
|
11668
11668
|
const startFooter = getSlotted(el, SLOTS$n.footerStart);
|
|
11669
11669
|
const endFooter = getSlotted(el, SLOTS$n.footerEnd);
|
|
11670
11670
|
const hasFooter = startFooter || endFooter;
|
|
11671
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
11671
|
+
return hasFooter ? (hAsync("footer", { class: CSS$Q.footer }, hAsync("slot", { name: SLOTS$n.footerStart }), hAsync("slot", { name: SLOTS$n.footerEnd }))) : null;
|
|
11672
11672
|
}
|
|
11673
11673
|
static get assetsDirs() { return ["assets"]; }
|
|
11674
11674
|
get el() { return getElement(this); }
|
|
@@ -11834,7 +11834,7 @@ class Checkbox {
|
|
|
11834
11834
|
}; }
|
|
11835
11835
|
}
|
|
11836
11836
|
|
|
11837
|
-
const CSS$
|
|
11837
|
+
const CSS$P = {
|
|
11838
11838
|
title: "title",
|
|
11839
11839
|
close: "close",
|
|
11840
11840
|
imageContainer: "image-container",
|
|
@@ -12004,7 +12004,7 @@ class Chip {
|
|
|
12004
12004
|
//
|
|
12005
12005
|
//--------------------------------------------------------------------------
|
|
12006
12006
|
renderChipImage() {
|
|
12007
|
-
return (hAsync("div", { class: CSS$
|
|
12007
|
+
return (hAsync("div", { class: CSS$P.imageContainer }, hAsync("slot", { name: SLOTS$m.image, onSlotchange: this.handleSlotImageChange })));
|
|
12008
12008
|
}
|
|
12009
12009
|
renderSelectionIcon() {
|
|
12010
12010
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -12015,29 +12015,29 @@ class Chip {
|
|
|
12015
12015
|
? ICONS$c.checkedSingle
|
|
12016
12016
|
: undefined;
|
|
12017
12017
|
return (hAsync("div", { class: {
|
|
12018
|
-
[CSS$
|
|
12019
|
-
[CSS$
|
|
12018
|
+
[CSS$P.selectIcon]: true,
|
|
12019
|
+
[CSS$P.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
12020
12020
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
12021
12021
|
}
|
|
12022
12022
|
renderCloseButton() {
|
|
12023
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
12023
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$P.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
12024
12024
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12025
12025
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
12026
12026
|
}
|
|
12027
12027
|
renderIcon() {
|
|
12028
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12028
|
+
return (hAsync("calcite-icon", { class: CSS$P.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
12029
12029
|
}
|
|
12030
12030
|
render() {
|
|
12031
12031
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
12032
12032
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.interactive ? toAriaBoolean(this.selected) : undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, "aria-labelledby": this.parentGroupEl.label, class: {
|
|
12033
|
-
[CSS$
|
|
12034
|
-
[CSS$
|
|
12035
|
-
[CSS$
|
|
12036
|
-
[CSS$
|
|
12037
|
-
[CSS$
|
|
12038
|
-
[CSS$
|
|
12039
|
-
[CSS$
|
|
12040
|
-
[CSS$
|
|
12033
|
+
[CSS$P.container]: true,
|
|
12034
|
+
[CSS$P.textSlotted]: this.hasText,
|
|
12035
|
+
[CSS$P.imageSlotted]: this.hasImage,
|
|
12036
|
+
[CSS$P.selectable]: this.selectionMode !== "none",
|
|
12037
|
+
[CSS$P.multiple]: this.selectionMode === "multiple",
|
|
12038
|
+
[CSS$P.closable]: this.closable,
|
|
12039
|
+
[CSS$P.nonInteractive]: !this.interactive,
|
|
12040
|
+
[CSS$P.isCircle]: !this.closable &&
|
|
12041
12041
|
!this.hasText &&
|
|
12042
12042
|
(!this.icon || !this.hasImage) &&
|
|
12043
12043
|
(this.selectionMode === "none" ||
|
|
@@ -12048,7 +12048,7 @@ class Chip {
|
|
|
12048
12048
|
? "radio"
|
|
12049
12049
|
: undefined, tabIndex: disableInteraction ? -1 : 0,
|
|
12050
12050
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12051
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
12051
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$P.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
12052
12052
|
}
|
|
12053
12053
|
static get assetsDirs() { return ["assets"]; }
|
|
12054
12054
|
get el() { return getElement(this); }
|
|
@@ -14373,7 +14373,7 @@ function zeroArray(array, length) {
|
|
|
14373
14373
|
|
|
14374
14374
|
var color = Color;
|
|
14375
14375
|
|
|
14376
|
-
const CSS$
|
|
14376
|
+
const CSS$O = {
|
|
14377
14377
|
container: "container",
|
|
14378
14378
|
controlSection: "control-section",
|
|
14379
14379
|
hexOptions: "color-hex-options",
|
|
@@ -14725,7 +14725,7 @@ class ColorPicker {
|
|
|
14725
14725
|
const { channelMode: activeChannelMode, messages } = this;
|
|
14726
14726
|
const selected = channelMode === activeChannelMode;
|
|
14727
14727
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
14728
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
14728
|
+
return (hAsync("calcite-tab-title", { class: CSS$O.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
14729
14729
|
};
|
|
14730
14730
|
this.renderChannelsTab = (channelMode) => {
|
|
14731
14731
|
const { channelMode: activeChannelMode, channels, messages } = this;
|
|
@@ -14738,11 +14738,11 @@ class ColorPicker {
|
|
|
14738
14738
|
? [messages.red, messages.green, messages.blue]
|
|
14739
14739
|
: [messages.hue, messages.saturation, messages.value];
|
|
14740
14740
|
const direction = getElementDir(this.el);
|
|
14741
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
14741
|
+
return (hAsync("calcite-tab", { class: CSS$O.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$O.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
14742
14742
|
/* the channel container is ltr, so we apply the host's direction */
|
|
14743
14743
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
14744
14744
|
};
|
|
14745
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
14745
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$O.channel, "data-channel-index": index, dir: direction, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
14746
14746
|
this.deleteColor = () => {
|
|
14747
14747
|
const colorToDelete = this.color.hex();
|
|
14748
14748
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -14875,7 +14875,7 @@ class ColorPicker {
|
|
|
14875
14875
|
this.shiftKeyChannelAdjustment = 0;
|
|
14876
14876
|
const { key } = event;
|
|
14877
14877
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
14878
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
14878
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$O.channel))) {
|
|
14879
14879
|
return;
|
|
14880
14880
|
}
|
|
14881
14881
|
const { shiftKey } = event;
|
|
@@ -14958,26 +14958,26 @@ class ColorPicker {
|
|
|
14958
14958
|
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
14959
14959
|
const noColor = color === null;
|
|
14960
14960
|
const vertical = scopeOrientation === "vertical";
|
|
14961
|
-
return (hAsync("div", { class: CSS$
|
|
14962
|
-
[CSS$
|
|
14963
|
-
[CSS$
|
|
14961
|
+
return (hAsync("div", { class: CSS$O.container }, hAsync("div", { class: CSS$O.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
14962
|
+
[CSS$O.colorFieldAndSlider]: true,
|
|
14963
|
+
[CSS$O.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
14964
14964
|
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove,
|
|
14965
14965
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14966
|
-
ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
14966
|
+
ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$O.scope]: true, [CSS$O.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
|
|
14967
14967
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14968
|
-
ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
14968
|
+
ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$O.scope]: true, [CSS$O.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
|
|
14969
14969
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14970
14970
|
ref: this.storeHueScope })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
14971
|
-
[CSS$
|
|
14972
|
-
[CSS$
|
|
14973
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
14974
|
-
[CSS$
|
|
14975
|
-
[CSS$
|
|
14976
|
-
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
14977
|
-
[CSS$
|
|
14978
|
-
[CSS$
|
|
14979
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
14980
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
14971
|
+
[CSS$O.controlSection]: true,
|
|
14972
|
+
[CSS$O.section]: true
|
|
14973
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$O.hexOptions }, hAsync("span", { class: {
|
|
14974
|
+
[CSS$O.header]: true,
|
|
14975
|
+
[CSS$O.headerHex]: true
|
|
14976
|
+
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$O.control, hexLabel: messages.hex, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
14977
|
+
[CSS$O.colorModeContainer]: true,
|
|
14978
|
+
[CSS$O.splitSection]: true
|
|
14979
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$O.savedColorsSection]: true, [CSS$O.section]: true } }, hAsync("div", { class: CSS$O.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$O.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$O.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$O.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$O.savedColors }, [
|
|
14980
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$O.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
14981
14981
|
])) : null))));
|
|
14982
14982
|
}
|
|
14983
14983
|
// --------------------------------------------------------------------------
|
|
@@ -15211,7 +15211,7 @@ class ColorPicker {
|
|
|
15211
15211
|
}; }
|
|
15212
15212
|
}
|
|
15213
15213
|
|
|
15214
|
-
const CSS$
|
|
15214
|
+
const CSS$N = {
|
|
15215
15215
|
container: "container",
|
|
15216
15216
|
preview: "preview",
|
|
15217
15217
|
input: "input"
|
|
@@ -15324,9 +15324,9 @@ class ColorPickerHexInput {
|
|
|
15324
15324
|
render() {
|
|
15325
15325
|
const { value } = this;
|
|
15326
15326
|
const hexInputValue = this.formatForInternalInput(value);
|
|
15327
|
-
return (hAsync("div", { class: CSS$
|
|
15327
|
+
return (hAsync("div", { class: CSS$N.container }, hAsync("calcite-input", { class: CSS$N.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", scale: this.scale, value: hexInputValue,
|
|
15328
15328
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15329
|
-
ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$
|
|
15329
|
+
ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$N.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
15330
15330
|
}
|
|
15331
15331
|
//--------------------------------------------------------------------------
|
|
15332
15332
|
//
|
|
@@ -15402,7 +15402,7 @@ class ColorPickerHexInput {
|
|
|
15402
15402
|
}; }
|
|
15403
15403
|
}
|
|
15404
15404
|
|
|
15405
|
-
const CSS$
|
|
15405
|
+
const CSS$M = {
|
|
15406
15406
|
swatch: "swatch",
|
|
15407
15407
|
noColorIcon: "no-color-icon"
|
|
15408
15408
|
};
|
|
@@ -15437,7 +15437,7 @@ class ColorPickerSwatch {
|
|
|
15437
15437
|
const hex = internalColor.hex();
|
|
15438
15438
|
const theme = getModeName(el);
|
|
15439
15439
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
15440
|
-
return (hAsync("svg", { class: CSS$
|
|
15440
|
+
return (hAsync("svg", { class: CSS$M.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
15441
15441
|
}
|
|
15442
15442
|
get el() { return getElement(this); }
|
|
15443
15443
|
static get watchers() { return {
|
|
@@ -18024,7 +18024,7 @@ class Combobox {
|
|
|
18024
18024
|
}; }
|
|
18025
18025
|
}
|
|
18026
18026
|
|
|
18027
|
-
const CSS$
|
|
18027
|
+
const CSS$L = {
|
|
18028
18028
|
icon: "icon",
|
|
18029
18029
|
iconActive: "icon--active",
|
|
18030
18030
|
iconIndent: "icon--indent",
|
|
@@ -18101,20 +18101,20 @@ class ComboboxItem {
|
|
|
18101
18101
|
// --------------------------------------------------------------------------
|
|
18102
18102
|
renderIcon(iconPath) {
|
|
18103
18103
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
18104
|
-
[CSS$
|
|
18105
|
-
[CSS$
|
|
18106
|
-
[CSS$
|
|
18104
|
+
[CSS$L.custom]: !!this.icon,
|
|
18105
|
+
[CSS$L.iconActive]: this.icon && this.selected,
|
|
18106
|
+
[CSS$L.iconIndent]: true
|
|
18107
18107
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
18108
18108
|
}
|
|
18109
18109
|
renderSelectIndicator(showDot, iconPath) {
|
|
18110
18110
|
return showDot ? (hAsync("span", { class: {
|
|
18111
|
-
[CSS$
|
|
18112
|
-
[CSS$
|
|
18113
|
-
[CSS$
|
|
18111
|
+
[CSS$L.icon]: true,
|
|
18112
|
+
[CSS$L.dot]: true,
|
|
18113
|
+
[CSS$L.iconIndent]: true
|
|
18114
18114
|
} })) : (hAsync("calcite-icon", { class: {
|
|
18115
|
-
[CSS$
|
|
18116
|
-
[CSS$
|
|
18117
|
-
[CSS$
|
|
18115
|
+
[CSS$L.icon]: true,
|
|
18116
|
+
[CSS$L.iconActive]: this.selected,
|
|
18117
|
+
[CSS$L.iconIndent]: true
|
|
18118
18118
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
18119
18119
|
}
|
|
18120
18120
|
renderChildren() {
|
|
@@ -18129,10 +18129,10 @@ class ComboboxItem {
|
|
|
18129
18129
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
18130
18130
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
18131
18131
|
const classes = {
|
|
18132
|
-
[CSS$
|
|
18133
|
-
[CSS$
|
|
18134
|
-
[CSS$
|
|
18135
|
-
[CSS$
|
|
18132
|
+
[CSS$L.label]: true,
|
|
18133
|
+
[CSS$L.selected]: this.selected,
|
|
18134
|
+
[CSS$L.active]: this.active,
|
|
18135
|
+
[CSS$L.single]: isSingleSelect
|
|
18136
18136
|
};
|
|
18137
18137
|
const depth = getDepth$1();
|
|
18138
18138
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -18163,7 +18163,7 @@ class ComboboxItem {
|
|
|
18163
18163
|
}; }
|
|
18164
18164
|
}
|
|
18165
18165
|
|
|
18166
|
-
const CSS$
|
|
18166
|
+
const CSS$K = {
|
|
18167
18167
|
list: "list",
|
|
18168
18168
|
label: "label",
|
|
18169
18169
|
title: "title"
|
|
@@ -18199,7 +18199,7 @@ class ComboboxItemGroup {
|
|
|
18199
18199
|
render() {
|
|
18200
18200
|
const { el, scale } = this;
|
|
18201
18201
|
const depth = getDepth$1();
|
|
18202
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
18202
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$K.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$K.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$K.title }, this.label)), hAsync("slot", null)));
|
|
18203
18203
|
}
|
|
18204
18204
|
get el() { return getElement(this); }
|
|
18205
18205
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -19351,7 +19351,7 @@ class DatePickerMonth {
|
|
|
19351
19351
|
}
|
|
19352
19352
|
|
|
19353
19353
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
19354
|
-
const CSS$
|
|
19354
|
+
const CSS$J = {
|
|
19355
19355
|
header: "header",
|
|
19356
19356
|
month: "month",
|
|
19357
19357
|
chevron: "chevron",
|
|
@@ -19451,7 +19451,7 @@ class DatePickerMonthHeader {
|
|
|
19451
19451
|
this.setNextPrevMonthDates();
|
|
19452
19452
|
}
|
|
19453
19453
|
render() {
|
|
19454
|
-
return hAsync("div", { class: CSS$
|
|
19454
|
+
return hAsync("div", { class: CSS$J.header }, this.renderContent());
|
|
19455
19455
|
}
|
|
19456
19456
|
renderContent() {
|
|
19457
19457
|
const { messages, localeData, activeDate } = this;
|
|
@@ -19474,12 +19474,12 @@ class DatePickerMonthHeader {
|
|
|
19474
19474
|
const order = getOrder(unitOrder);
|
|
19475
19475
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
19476
19476
|
const suffix = localeData.year?.suffix;
|
|
19477
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
19477
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$J.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$J.textReverse]: reverse } }, hAsync(Heading, { class: CSS$J.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$J.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
19478
19478
|
year: true,
|
|
19479
|
-
[CSS$
|
|
19479
|
+
[CSS$J.yearSuffix]: !!suffix
|
|
19480
19480
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
19481
19481
|
// eslint-disable-next-line react/jsx-sort-props
|
|
19482
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
19482
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$J.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$J.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
19483
19483
|
}
|
|
19484
19484
|
setNextPrevMonthDates() {
|
|
19485
19485
|
if (!this.activeDate) {
|
|
@@ -19981,7 +19981,7 @@ class Dropdown {
|
|
|
19981
19981
|
}; }
|
|
19982
19982
|
}
|
|
19983
19983
|
|
|
19984
|
-
const CSS$
|
|
19984
|
+
const CSS$I = {
|
|
19985
19985
|
containerSmall: "container--s",
|
|
19986
19986
|
containerMedium: "container--m",
|
|
19987
19987
|
containerLarge: "container--l"
|
|
@@ -20014,9 +20014,9 @@ class DropdownGroup {
|
|
|
20014
20014
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
20015
20015
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
20016
20016
|
container: true,
|
|
20017
|
-
[CSS$
|
|
20018
|
-
[CSS$
|
|
20019
|
-
[CSS$
|
|
20017
|
+
[CSS$I.containerSmall]: scale === "s",
|
|
20018
|
+
[CSS$I.containerMedium]: scale === "m",
|
|
20019
|
+
[CSS$I.containerLarge]: scale === "l"
|
|
20020
20020
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
20021
20021
|
}
|
|
20022
20022
|
//--------------------------------------------------------------------------
|
|
@@ -20057,7 +20057,7 @@ class DropdownGroup {
|
|
|
20057
20057
|
}; }
|
|
20058
20058
|
}
|
|
20059
20059
|
|
|
20060
|
-
const CSS$
|
|
20060
|
+
const CSS$H = {
|
|
20061
20061
|
containerLink: "container--link",
|
|
20062
20062
|
containerSmall: "container--s",
|
|
20063
20063
|
containerMedium: "container--m",
|
|
@@ -20122,9 +20122,9 @@ class DropdownItem {
|
|
|
20122
20122
|
}
|
|
20123
20123
|
render() {
|
|
20124
20124
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
20125
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
20126
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
20127
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
20125
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$H.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
20126
|
+
const contentNode = (hAsync("span", { class: CSS$H.itemContent }, hAsync("slot", null)));
|
|
20127
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$H.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
20128
20128
|
const slottedContent = this.iconStart && this.iconEnd
|
|
20129
20129
|
? [iconStartEl, contentNode, iconEndEl]
|
|
20130
20130
|
: this.iconStart
|
|
@@ -20132,7 +20132,7 @@ class DropdownItem {
|
|
|
20132
20132
|
: this.iconEnd
|
|
20133
20133
|
? [contentNode, iconEndEl]
|
|
20134
20134
|
: contentNode;
|
|
20135
|
-
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$
|
|
20135
|
+
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$H.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
20136
20136
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20137
20137
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
20138
20138
|
const itemRole = this.href
|
|
@@ -20145,14 +20145,14 @@ class DropdownItem {
|
|
|
20145
20145
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
20146
20146
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
20147
20147
|
container: true,
|
|
20148
|
-
[CSS$
|
|
20149
|
-
[CSS$
|
|
20150
|
-
[CSS$
|
|
20151
|
-
[CSS$
|
|
20152
|
-
[CSS$
|
|
20153
|
-
[CSS$
|
|
20154
|
-
[CSS$
|
|
20155
|
-
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
20148
|
+
[CSS$H.containerLink]: !!this.href,
|
|
20149
|
+
[CSS$H.containerSmall]: scale === "s",
|
|
20150
|
+
[CSS$H.containerMedium]: scale === "m",
|
|
20151
|
+
[CSS$H.containerLarge]: scale === "l",
|
|
20152
|
+
[CSS$H.containerMulti]: this.selectionMode === "multiple",
|
|
20153
|
+
[CSS$H.containerSingle]: this.selectionMode === "single",
|
|
20154
|
+
[CSS$H.containerNone]: this.selectionMode === "none"
|
|
20155
|
+
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$H.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
20156
20156
|
}
|
|
20157
20157
|
//--------------------------------------------------------------------------
|
|
20158
20158
|
//
|
|
@@ -20258,7 +20258,7 @@ class DropdownItem {
|
|
|
20258
20258
|
}; }
|
|
20259
20259
|
}
|
|
20260
20260
|
|
|
20261
|
-
const CSS$
|
|
20261
|
+
const CSS$G = {
|
|
20262
20262
|
button: "button"
|
|
20263
20263
|
};
|
|
20264
20264
|
const ICONS$b = {
|
|
@@ -20313,7 +20313,7 @@ class Fab {
|
|
|
20313
20313
|
render() {
|
|
20314
20314
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
20315
20315
|
const title = !textEnabled ? label || text || null : null;
|
|
20316
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
20316
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$G.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
20317
20317
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20318
20318
|
ref: (buttonEl) => {
|
|
20319
20319
|
this.buttonEl = buttonEl;
|
|
@@ -20343,7 +20343,7 @@ class Fab {
|
|
|
20343
20343
|
}; }
|
|
20344
20344
|
}
|
|
20345
20345
|
|
|
20346
|
-
const CSS$
|
|
20346
|
+
const CSS$F = {
|
|
20347
20347
|
container: "container",
|
|
20348
20348
|
searchIcon: "search-icon"
|
|
20349
20349
|
};
|
|
@@ -20455,7 +20455,7 @@ class Filter {
|
|
|
20455
20455
|
// --------------------------------------------------------------------------
|
|
20456
20456
|
render() {
|
|
20457
20457
|
const { disabled, scale } = this;
|
|
20458
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
20458
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$F.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
20459
20459
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20460
20460
|
ref: (el) => {
|
|
20461
20461
|
this.textInput = el;
|
|
@@ -20493,7 +20493,7 @@ class Filter {
|
|
|
20493
20493
|
}; }
|
|
20494
20494
|
}
|
|
20495
20495
|
|
|
20496
|
-
const CSS$
|
|
20496
|
+
const CSS$E = {
|
|
20497
20497
|
frame: "frame",
|
|
20498
20498
|
frameAdvancing: "frame--advancing",
|
|
20499
20499
|
frameRetreating: "frame--retreating"
|
|
@@ -20593,9 +20593,9 @@ class Flow {
|
|
|
20593
20593
|
render() {
|
|
20594
20594
|
const { flowDirection } = this;
|
|
20595
20595
|
const frameDirectionClasses = {
|
|
20596
|
-
[CSS$
|
|
20597
|
-
[CSS$
|
|
20598
|
-
[CSS$
|
|
20596
|
+
[CSS$E.frame]: true,
|
|
20597
|
+
[CSS$E.frameAdvancing]: flowDirection === "advancing",
|
|
20598
|
+
[CSS$E.frameRetreating]: flowDirection === "retreating"
|
|
20599
20599
|
};
|
|
20600
20600
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
20601
20601
|
}
|
|
@@ -20616,7 +20616,7 @@ class Flow {
|
|
|
20616
20616
|
}; }
|
|
20617
20617
|
}
|
|
20618
20618
|
|
|
20619
|
-
const CSS$
|
|
20619
|
+
const CSS$D = {
|
|
20620
20620
|
actionBarContainer: "action-bar-container",
|
|
20621
20621
|
backButton: "back-button",
|
|
20622
20622
|
container: "container",
|
|
@@ -20651,7 +20651,7 @@ const SLOTS$k = {
|
|
|
20651
20651
|
footerActions: "footer-actions"
|
|
20652
20652
|
};
|
|
20653
20653
|
|
|
20654
|
-
const CSS$
|
|
20654
|
+
const CSS$C = {
|
|
20655
20655
|
backButton: "back-button"
|
|
20656
20656
|
};
|
|
20657
20657
|
const ICONS$8 = {
|
|
@@ -20795,7 +20795,7 @@ class FlowItem {
|
|
|
20795
20795
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20796
20796
|
const label = messages.back;
|
|
20797
20797
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20798
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
20798
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$C.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
|
|
20799
20799
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20800
20800
|
ref: this.setBackRef })) : null;
|
|
20801
20801
|
}
|
|
@@ -21066,7 +21066,7 @@ class Graph {
|
|
|
21066
21066
|
}; }
|
|
21067
21067
|
}
|
|
21068
21068
|
|
|
21069
|
-
const CSS$
|
|
21069
|
+
const CSS$B = {
|
|
21070
21070
|
handle: "handle",
|
|
21071
21071
|
handleActivated: "handle--activated"
|
|
21072
21072
|
};
|
|
@@ -21161,7 +21161,7 @@ class Handle {
|
|
|
21161
21161
|
render() {
|
|
21162
21162
|
return (
|
|
21163
21163
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
21164
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
21164
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$B.handle]: true, [CSS$B.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
|
|
21165
21165
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21166
21166
|
ref: (el) => {
|
|
21167
21167
|
this.handleButton = el;
|
|
@@ -21192,7 +21192,7 @@ class Handle {
|
|
|
21192
21192
|
}; }
|
|
21193
21193
|
}
|
|
21194
21194
|
|
|
21195
|
-
const CSS$
|
|
21195
|
+
const CSS$A = {
|
|
21196
21196
|
icon: "icon",
|
|
21197
21197
|
flipRtl: "flip-rtl"
|
|
21198
21198
|
};
|
|
@@ -21240,7 +21240,7 @@ class Icon {
|
|
|
21240
21240
|
const semantic = !!textLabel;
|
|
21241
21241
|
const paths = [].concat(pathData || "");
|
|
21242
21242
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
21243
|
-
[CSS$
|
|
21243
|
+
[CSS$A.flipRtl]: dir === "rtl" && flipRtl,
|
|
21244
21244
|
svg: true
|
|
21245
21245
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
21246
21246
|
}
|
|
@@ -21286,7 +21286,7 @@ class Icon {
|
|
|
21286
21286
|
}; }
|
|
21287
21287
|
}
|
|
21288
21288
|
|
|
21289
|
-
const CSS$
|
|
21289
|
+
const CSS$z = {
|
|
21290
21290
|
wrapper: "wrapper",
|
|
21291
21291
|
confirmChangesButton: "confirm-changes-button",
|
|
21292
21292
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -21434,16 +21434,16 @@ class InlineEditable {
|
|
|
21434
21434
|
updateHostInteraction(this);
|
|
21435
21435
|
}
|
|
21436
21436
|
render() {
|
|
21437
|
-
return (hAsync("div", { class: CSS$
|
|
21437
|
+
return (hAsync("div", { class: CSS$z.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$z.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$z.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$z.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
21438
21438
|
opacity: this.editingEnabled ? "0" : "1",
|
|
21439
21439
|
width: this.editingEnabled ? "0" : "inherit"
|
|
21440
21440
|
}, type: "button",
|
|
21441
21441
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21442
21442
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
21443
|
-
hAsync("div", { class: CSS$
|
|
21443
|
+
hAsync("div", { class: CSS$z.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$z.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
21444
21444
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21445
21445
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
21446
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
21446
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$z.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
21447
21447
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21448
21448
|
ref: (el) => (this.confirmEditingButton = el) })
|
|
21449
21449
|
])));
|
|
@@ -21529,7 +21529,7 @@ class InlineEditable {
|
|
|
21529
21529
|
}; }
|
|
21530
21530
|
}
|
|
21531
21531
|
|
|
21532
|
-
const CSS$
|
|
21532
|
+
const CSS$y = {
|
|
21533
21533
|
loader: "loader",
|
|
21534
21534
|
clearButton: "clear-button",
|
|
21535
21535
|
editingEnabled: "editing-enabled",
|
|
@@ -21623,6 +21623,11 @@ class Input {
|
|
|
21623
21623
|
this.inputFocusHandler = () => {
|
|
21624
21624
|
this.calciteInternalInputFocus.emit();
|
|
21625
21625
|
};
|
|
21626
|
+
this.inputChangeHandler = () => {
|
|
21627
|
+
if (this.type === "file") {
|
|
21628
|
+
this.files = this.childEl.files;
|
|
21629
|
+
}
|
|
21630
|
+
};
|
|
21626
21631
|
this.inputInputHandler = (nativeEvent) => {
|
|
21627
21632
|
if (this.disabled || this.readOnly) {
|
|
21628
21633
|
return;
|
|
@@ -21888,6 +21893,7 @@ class Input {
|
|
|
21888
21893
|
this.editingEnabled = false;
|
|
21889
21894
|
this.type = "text";
|
|
21890
21895
|
this.value = "";
|
|
21896
|
+
this.files = undefined;
|
|
21891
21897
|
this.messages = undefined;
|
|
21892
21898
|
this.messageOverrides = undefined;
|
|
21893
21899
|
this.defaultMessages = undefined;
|
|
@@ -22112,38 +22118,38 @@ class Input {
|
|
|
22112
22118
|
// --------------------------------------------------------------------------
|
|
22113
22119
|
render() {
|
|
22114
22120
|
const dir = getElementDir(this.el);
|
|
22115
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22116
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
22117
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22121
|
+
const loader = (hAsync("div", { class: CSS$y.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22122
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$y.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
22123
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$y.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22118
22124
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22119
22125
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22120
|
-
[CSS$
|
|
22121
|
-
[CSS$
|
|
22126
|
+
[CSS$y.numberButtonItem]: true,
|
|
22127
|
+
[CSS$y.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22122
22128
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
22123
22129
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22124
|
-
[CSS$
|
|
22125
|
-
[CSS$
|
|
22130
|
+
[CSS$y.numberButtonItem]: true,
|
|
22131
|
+
[CSS$y.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22126
22132
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
22127
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22128
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22129
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22133
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$y.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22134
|
+
const prefixText = hAsync("div", { class: CSS$y.prefix }, this.prefixText);
|
|
22135
|
+
const suffixText = hAsync("div", { class: CSS$y.suffix }, this.suffixText);
|
|
22130
22136
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
22131
22137
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22132
22138
|
ref: this.setChildNumberElRef })) : null;
|
|
22133
22139
|
const childEl = this.type !== "number"
|
|
22134
22140
|
? [
|
|
22135
22141
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
22136
|
-
[CSS$
|
|
22137
|
-
[CSS$
|
|
22138
|
-
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
22142
|
+
[CSS$y.editingEnabled]: this.editingEnabled,
|
|
22143
|
+
[CSS$y.inlineChild]: !!this.inlineEditableEl
|
|
22144
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
22139
22145
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22140
22146
|
ref: this.setChildElRef }),
|
|
22141
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
22147
|
+
this.isTextarea ? (hAsync("div", { class: CSS$y.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
22142
22148
|
]
|
|
22143
22149
|
: null;
|
|
22144
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22150
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
22145
22151
|
? numberButtonsHorizontalDown
|
|
22146
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22152
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
22147
22153
|
? numberButtonsVertical
|
|
22148
22154
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
22149
22155
|
? numberButtonsHorizontalUp
|
|
@@ -22202,6 +22208,7 @@ class Input {
|
|
|
22202
22208
|
"editingEnabled": [1540, "editing-enabled"],
|
|
22203
22209
|
"type": [513],
|
|
22204
22210
|
"value": [1025],
|
|
22211
|
+
"files": [16],
|
|
22205
22212
|
"messages": [1040],
|
|
22206
22213
|
"messageOverrides": [1040],
|
|
22207
22214
|
"defaultMessages": [32],
|
|
@@ -22218,7 +22225,7 @@ class Input {
|
|
|
22218
22225
|
}; }
|
|
22219
22226
|
}
|
|
22220
22227
|
|
|
22221
|
-
const CSS$
|
|
22228
|
+
const CSS$x = {
|
|
22222
22229
|
menu: "menu-container",
|
|
22223
22230
|
menuActive: "menu-container--active",
|
|
22224
22231
|
toggleIcon: "toggle-icon"
|
|
@@ -23453,8 +23460,8 @@ class InputDatePicker {
|
|
|
23453
23460
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
23454
23461
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23455
23462
|
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
23456
|
-
[CSS$
|
|
23457
|
-
[CSS$
|
|
23463
|
+
[CSS$x.menu]: true,
|
|
23464
|
+
[CSS$x.menuActive]: this.open
|
|
23458
23465
|
}, id: this.dialogId, role: "dialog",
|
|
23459
23466
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23460
23467
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -23476,7 +23483,7 @@ class InputDatePicker {
|
|
|
23476
23483
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
23477
23484
|
}
|
|
23478
23485
|
renderToggleIcon(open) {
|
|
23479
|
-
return (hAsync("span", { class: CSS$
|
|
23486
|
+
return (hAsync("span", { class: CSS$x.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
23480
23487
|
}
|
|
23481
23488
|
setReferenceEl() {
|
|
23482
23489
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -23723,7 +23730,7 @@ class InputMessage {
|
|
|
23723
23730
|
}; }
|
|
23724
23731
|
}
|
|
23725
23732
|
|
|
23726
|
-
const CSS$
|
|
23733
|
+
const CSS$w = {
|
|
23727
23734
|
loader: "loader",
|
|
23728
23735
|
clearButton: "clear-button",
|
|
23729
23736
|
editingEnabled: "editing-enabled",
|
|
@@ -24225,27 +24232,27 @@ class InputNumber {
|
|
|
24225
24232
|
// --------------------------------------------------------------------------
|
|
24226
24233
|
render() {
|
|
24227
24234
|
const dir = getElementDir(this.el);
|
|
24228
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24229
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24230
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24235
|
+
const loader = (hAsync("div", { class: CSS$w.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24236
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$w.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24237
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$w.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24231
24238
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24232
24239
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24233
|
-
[CSS$
|
|
24234
|
-
[CSS$
|
|
24240
|
+
[CSS$w.numberButtonItem]: true,
|
|
24241
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24235
24242
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
24236
24243
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24237
|
-
[CSS$
|
|
24238
|
-
[CSS$
|
|
24244
|
+
[CSS$w.numberButtonItem]: true,
|
|
24245
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24239
24246
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
24240
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24241
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24242
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24247
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$w.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24248
|
+
const prefixText = hAsync("div", { class: CSS$w.prefix }, this.prefixText);
|
|
24249
|
+
const suffixText = hAsync("div", { class: CSS$w.suffix }, this.suffixText);
|
|
24243
24250
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
24244
24251
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24245
24252
|
ref: this.setChildNumberElRef }));
|
|
24246
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24253
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$w.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
24247
24254
|
? numberButtonsHorizontalDown
|
|
24248
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24255
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$w.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$w.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
24249
24256
|
? numberButtonsHorizontalUp
|
|
24250
24257
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
24251
24258
|
}
|
|
@@ -24312,7 +24319,7 @@ class InputNumber {
|
|
|
24312
24319
|
}; }
|
|
24313
24320
|
}
|
|
24314
24321
|
|
|
24315
|
-
const CSS$
|
|
24322
|
+
const CSS$v = {
|
|
24316
24323
|
loader: "loader",
|
|
24317
24324
|
clearButton: "clear-button",
|
|
24318
24325
|
editingEnabled: "editing-enabled",
|
|
@@ -24610,18 +24617,18 @@ class InputText {
|
|
|
24610
24617
|
// --------------------------------------------------------------------------
|
|
24611
24618
|
render() {
|
|
24612
24619
|
const dir = getElementDir(this.el);
|
|
24613
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24614
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24615
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24616
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24617
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24620
|
+
const loader = (hAsync("div", { class: CSS$v.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24621
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24622
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24623
|
+
const prefixText = hAsync("div", { class: CSS$v.prefix }, this.prefixText);
|
|
24624
|
+
const suffixText = hAsync("div", { class: CSS$v.suffix }, this.suffixText);
|
|
24618
24625
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24619
|
-
[CSS$
|
|
24620
|
-
[CSS$
|
|
24626
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
24627
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
24621
24628
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
24622
24629
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24623
24630
|
ref: this.setChildElRef }));
|
|
24624
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24631
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$v.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$v.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
24625
24632
|
}
|
|
24626
24633
|
static get assetsDirs() { return ["assets"]; }
|
|
24627
24634
|
get el() { return getElement(this); }
|
|
@@ -24848,12 +24855,17 @@ function parseTimeString(value) {
|
|
|
24848
24855
|
};
|
|
24849
24856
|
}
|
|
24850
24857
|
|
|
24851
|
-
const
|
|
24858
|
+
const CSS$u = {
|
|
24859
|
+
toggleIcon: "toggle-icon"
|
|
24860
|
+
};
|
|
24861
|
+
|
|
24862
|
+
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-time-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-time-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-time-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-time-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-time-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-input-time-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-time-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-time-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-input-time-picker-h *.sc-calcite-input-time-picker,.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-input-time-picker-h{display:inline-block;-webkit-user-select:none;user-select:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-time-picker-h[disabled] .sc-calcite-input-time-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-time-picker-h [calcite-hydrated][disabled].sc-calcite-input-time-picker{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-time-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([scale=s])*/[scale=s].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-input-time-picker-h{--calcite-toggle-spacing:1rem}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-time-picker{position:relative}/*!@.toggle-icon*/.toggle-icon.sc-calcite-input-time-picker{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
|
|
24852
24863
|
|
|
24853
24864
|
class InputTimePicker {
|
|
24854
24865
|
constructor(hostRef) {
|
|
24855
24866
|
registerInstance(this, hostRef);
|
|
24856
24867
|
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
24868
|
+
this.dialogId = `time-picker-dialog--${guid()}`;
|
|
24857
24869
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
24858
24870
|
this.internalValueChange = false;
|
|
24859
24871
|
this.previousValidValue = null;
|
|
@@ -24906,6 +24918,9 @@ class InputTimePicker {
|
|
|
24906
24918
|
.join("");
|
|
24907
24919
|
this.setInputValue(localizedValue);
|
|
24908
24920
|
};
|
|
24921
|
+
this.inputFocus = () => {
|
|
24922
|
+
this.open = false;
|
|
24923
|
+
};
|
|
24909
24924
|
this.timePickerChangeHandler = (event) => {
|
|
24910
24925
|
event.stopPropagation();
|
|
24911
24926
|
const target = event.target;
|
|
@@ -24927,7 +24942,11 @@ class InputTimePicker {
|
|
|
24927
24942
|
event.preventDefault();
|
|
24928
24943
|
}
|
|
24929
24944
|
}
|
|
24930
|
-
if (key === "
|
|
24945
|
+
else if (key === "ArrowDown") {
|
|
24946
|
+
this.open = true;
|
|
24947
|
+
event.preventDefault();
|
|
24948
|
+
}
|
|
24949
|
+
else if (key === "Escape" && this.open) {
|
|
24931
24950
|
this.open = false;
|
|
24932
24951
|
event.preventDefault();
|
|
24933
24952
|
}
|
|
@@ -24991,11 +25010,18 @@ class InputTimePicker {
|
|
|
24991
25010
|
}
|
|
24992
25011
|
}
|
|
24993
25012
|
};
|
|
25013
|
+
this.onInputWrapperClick = () => {
|
|
25014
|
+
this.open = !this.open;
|
|
25015
|
+
};
|
|
25016
|
+
this.deactivate = () => {
|
|
25017
|
+
this.open = false;
|
|
25018
|
+
};
|
|
24994
25019
|
this.open = false;
|
|
24995
25020
|
this.disabled = false;
|
|
24996
25021
|
this.form = undefined;
|
|
24997
25022
|
this.readOnly = false;
|
|
24998
|
-
this.
|
|
25023
|
+
this.messageOverrides = undefined;
|
|
25024
|
+
this.messages = undefined;
|
|
24999
25025
|
this.name = undefined;
|
|
25000
25026
|
this.numberingSystem = undefined;
|
|
25001
25027
|
this.required = false;
|
|
@@ -25004,6 +25030,7 @@ class InputTimePicker {
|
|
|
25004
25030
|
this.placement = "auto";
|
|
25005
25031
|
this.step = 60;
|
|
25006
25032
|
this.value = null;
|
|
25033
|
+
this.defaultMessages = undefined;
|
|
25007
25034
|
this.effectiveLocale = "";
|
|
25008
25035
|
this.localizedValue = undefined;
|
|
25009
25036
|
}
|
|
@@ -25021,6 +25048,9 @@ class InputTimePicker {
|
|
|
25021
25048
|
this.open = false;
|
|
25022
25049
|
}
|
|
25023
25050
|
}
|
|
25051
|
+
onMessagesChange() {
|
|
25052
|
+
/* wired up by t9n util */
|
|
25053
|
+
}
|
|
25024
25054
|
valueWatcher(newValue) {
|
|
25025
25055
|
if (!this.internalValueChange) {
|
|
25026
25056
|
this.setValue({ value: newValue, origin: "external" });
|
|
@@ -25089,9 +25119,11 @@ class InputTimePicker {
|
|
|
25089
25119
|
}
|
|
25090
25120
|
connectLabel(this);
|
|
25091
25121
|
connectForm(this);
|
|
25122
|
+
connectMessages(this);
|
|
25092
25123
|
}
|
|
25093
|
-
componentWillLoad() {
|
|
25124
|
+
async componentWillLoad() {
|
|
25094
25125
|
setUpLoadableComponent(this);
|
|
25126
|
+
await setUpMessages(this);
|
|
25095
25127
|
}
|
|
25096
25128
|
componentDidLoad() {
|
|
25097
25129
|
setComponentLoaded(this);
|
|
@@ -25101,6 +25133,7 @@ class InputTimePicker {
|
|
|
25101
25133
|
disconnectLabel(this);
|
|
25102
25134
|
disconnectForm(this);
|
|
25103
25135
|
disconnectLocalized(this);
|
|
25136
|
+
disconnectMessages(this);
|
|
25104
25137
|
}
|
|
25105
25138
|
componentDidRender() {
|
|
25106
25139
|
updateHostInteraction(this);
|
|
@@ -25111,21 +25144,26 @@ class InputTimePicker {
|
|
|
25111
25144
|
//
|
|
25112
25145
|
// --------------------------------------------------------------------------
|
|
25113
25146
|
render() {
|
|
25114
|
-
const
|
|
25115
|
-
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "
|
|
25147
|
+
const { disabled, messages, readOnly, dialogId } = this;
|
|
25148
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, onFocus: this.inputFocus, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
25116
25149
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25117
|
-
ref: this.setCalciteInputEl })), hAsync("calcite-popover", { focusTrapDisabled: true, id:
|
|
25150
|
+
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
25118
25151
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25119
|
-
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.
|
|
25152
|
+
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, value: this.value,
|
|
25120
25153
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25121
25154
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25122
25155
|
}
|
|
25156
|
+
renderToggleIcon(open) {
|
|
25157
|
+
return (hAsync("span", { class: CSS$u.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25158
|
+
}
|
|
25123
25159
|
static get delegatesFocus() { return true; }
|
|
25160
|
+
static get assetsDirs() { return ["assets"]; }
|
|
25124
25161
|
get el() { return getElement(this); }
|
|
25125
25162
|
static get watchers() { return {
|
|
25126
25163
|
"open": ["openHandler"],
|
|
25127
25164
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
25128
25165
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
25166
|
+
"messageOverrides": ["onMessagesChange"],
|
|
25129
25167
|
"value": ["valueWatcher"],
|
|
25130
25168
|
"effectiveLocale": ["valueRelatedPropChange"],
|
|
25131
25169
|
"step": ["valueRelatedPropChange"]
|
|
@@ -25139,7 +25177,8 @@ class InputTimePicker {
|
|
|
25139
25177
|
"disabled": [516],
|
|
25140
25178
|
"form": [513],
|
|
25141
25179
|
"readOnly": [516, "read-only"],
|
|
25142
|
-
"
|
|
25180
|
+
"messageOverrides": [1040],
|
|
25181
|
+
"messages": [1040],
|
|
25143
25182
|
"name": [1],
|
|
25144
25183
|
"numberingSystem": [1, "numbering-system"],
|
|
25145
25184
|
"required": [516],
|
|
@@ -25148,6 +25187,7 @@ class InputTimePicker {
|
|
|
25148
25187
|
"placement": [513],
|
|
25149
25188
|
"step": [2],
|
|
25150
25189
|
"value": [1025],
|
|
25190
|
+
"defaultMessages": [32],
|
|
25151
25191
|
"effectiveLocale": [32],
|
|
25152
25192
|
"localizedValue": [32],
|
|
25153
25193
|
"setFocus": [64],
|
|
@@ -27235,22 +27275,22 @@ class Panel {
|
|
|
27235
27275
|
// --------------------------------------------------------------------------
|
|
27236
27276
|
renderHeaderContent() {
|
|
27237
27277
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
27238
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
27239
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
27240
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
27278
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$D.heading, level: headingLevel }, heading)) : null;
|
|
27279
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$D.description }, description) : null;
|
|
27280
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$D.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
27241
27281
|
}
|
|
27242
27282
|
renderActionBar() {
|
|
27243
|
-
return (hAsync("div", { class: CSS$
|
|
27283
|
+
return (hAsync("div", { class: CSS$D.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$k.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
27244
27284
|
}
|
|
27245
27285
|
/**
|
|
27246
27286
|
* Allows user to override the entire header-content node.
|
|
27247
27287
|
*/
|
|
27248
27288
|
renderHeaderSlottedContent() {
|
|
27249
|
-
return (hAsync("div", { class: CSS$
|
|
27289
|
+
return (hAsync("div", { class: CSS$D.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$k.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
27250
27290
|
}
|
|
27251
27291
|
renderHeaderStartActions() {
|
|
27252
27292
|
const { hasStartActions } = this;
|
|
27253
|
-
return (hAsync("div", { class: { [CSS$
|
|
27293
|
+
return (hAsync("div", { class: { [CSS$D.headerActionsStart]: true, [CSS$D.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$k.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
27254
27294
|
}
|
|
27255
27295
|
renderHeaderActionsEnd() {
|
|
27256
27296
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -27260,7 +27300,7 @@ class Panel {
|
|
|
27260
27300
|
ref: this.setCloseRef })) : null;
|
|
27261
27301
|
const slotNode = (hAsync("slot", { name: SLOTS$k.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
27262
27302
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
27263
|
-
return (hAsync("div", { class: { [CSS$
|
|
27303
|
+
return (hAsync("div", { class: { [CSS$D.headerActionsEnd]: true, [CSS$D.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
27264
27304
|
}
|
|
27265
27305
|
renderMenu() {
|
|
27266
27306
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -27275,31 +27315,31 @@ class Panel {
|
|
|
27275
27315
|
hasEndActions ||
|
|
27276
27316
|
closable ||
|
|
27277
27317
|
hasMenuItems;
|
|
27278
|
-
return (hAsync("header", { class: CSS$
|
|
27318
|
+
return (hAsync("header", { class: CSS$D.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
27279
27319
|
}
|
|
27280
27320
|
renderFooterNode() {
|
|
27281
27321
|
const { hasFooterContent, hasFooterActions } = this;
|
|
27282
27322
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
27283
|
-
return (hAsync("footer", { class: CSS$
|
|
27323
|
+
return (hAsync("footer", { class: CSS$D.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$k.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$k.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
27284
27324
|
}
|
|
27285
27325
|
renderContent() {
|
|
27286
27326
|
const { hasFab } = this;
|
|
27287
27327
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
27288
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
27328
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$D.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
27289
27329
|
return (hAsync("div", { class: {
|
|
27290
|
-
[CSS$
|
|
27291
|
-
[CSS$
|
|
27292
|
-
[CSS$
|
|
27330
|
+
[CSS$D.contentWrapper]: true,
|
|
27331
|
+
[CSS$D.contentContainer]: !hasFab,
|
|
27332
|
+
[CSS$D.contentHeight]: hasFab
|
|
27293
27333
|
}, onScroll: this.panelScrollHandler,
|
|
27294
27334
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27295
27335
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
27296
27336
|
}
|
|
27297
27337
|
renderFab() {
|
|
27298
|
-
return (hAsync("div", { class: CSS$
|
|
27338
|
+
return (hAsync("div", { class: CSS$D.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$k.fab, onSlotchange: this.handleFabSlotChange })));
|
|
27299
27339
|
}
|
|
27300
27340
|
render() {
|
|
27301
27341
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
27302
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
27342
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$D.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
27303
27343
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27304
27344
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
27305
27345
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|