@esri/calcite-components 1.6.2-next.0 → 1.7.0-next.1
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/date-picker/nls/zh-CN.json +1 -1
- package/dist/calcite/assets/handle/t9n/messages_lv.json +3 -3
- package/dist/calcite/assets/handle/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ar.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_bg.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_bs.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ca.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_cs.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_da.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_de.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_el.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_es.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_et.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_fi.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_fr.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_he.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_hr.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_hu.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_id.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_it.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ja.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ko.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_lt.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_lv.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_nl.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_no.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pl.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-BR.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_pt-PT.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ro.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_ru.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sk.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sl.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sr.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_sv.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_th.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_tr.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_uk.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_vi.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-CN.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-HK.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-TW.json +2 -1
- package/dist/calcite/assets/input-time-zone/t9n/messages_ar.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_bg.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_bs.json +74 -74
- package/dist/calcite/assets/input-time-zone/t9n/messages_ca.json +125 -125
- package/dist/calcite/assets/input-time-zone/t9n/messages_cs.json +138 -138
- package/dist/calcite/assets/input-time-zone/t9n/messages_da.json +61 -61
- package/dist/calcite/assets/input-time-zone/t9n/messages_de.json +119 -119
- package/dist/calcite/assets/input-time-zone/t9n/messages_el.json +421 -421
- package/dist/calcite/assets/input-time-zone/t9n/messages_es.json +174 -174
- package/dist/calcite/assets/input-time-zone/t9n/messages_et.json +106 -106
- package/dist/calcite/assets/input-time-zone/t9n/messages_fi.json +87 -87
- package/dist/calcite/assets/input-time-zone/t9n/messages_fr.json +145 -145
- package/dist/calcite/assets/input-time-zone/t9n/messages_he.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_hr.json +74 -74
- package/dist/calcite/assets/input-time-zone/t9n/messages_hu.json +125 -125
- package/dist/calcite/assets/input-time-zone/t9n/messages_id.json +37 -37
- package/dist/calcite/assets/input-time-zone/t9n/messages_it.json +76 -76
- package/dist/calcite/assets/input-time-zone/t9n/messages_ja.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_ko.json +431 -431
- package/dist/calcite/assets/input-time-zone/t9n/messages_lt.json +395 -395
- package/dist/calcite/assets/input-time-zone/t9n/messages_lv.json +369 -369
- package/dist/calcite/assets/input-time-zone/t9n/messages_nl.json +66 -66
- package/dist/calcite/assets/input-time-zone/t9n/messages_no.json +46 -46
- package/dist/calcite/assets/input-time-zone/t9n/messages_pl.json +177 -177
- package/dist/calcite/assets/input-time-zone/t9n/messages_pt-BR.json +82 -82
- package/dist/calcite/assets/input-time-zone/t9n/messages_pt-PT.json +102 -102
- package/dist/calcite/assets/input-time-zone/t9n/messages_ro.json +67 -67
- package/dist/calcite/assets/input-time-zone/t9n/messages_ru.json +429 -429
- package/dist/calcite/assets/input-time-zone/t9n/messages_sk.json +168 -168
- package/dist/calcite/assets/input-time-zone/t9n/messages_sl.json +113 -113
- package/dist/calcite/assets/input-time-zone/t9n/messages_sr.json +288 -288
- package/dist/calcite/assets/input-time-zone/t9n/messages_sv.json +77 -77
- package/dist/calcite/assets/input-time-zone/t9n/messages_th.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_tr.json +107 -107
- package/dist/calcite/assets/input-time-zone/t9n/messages_uk.json +427 -427
- package/dist/calcite/assets/input-time-zone/t9n/messages_vi.json +16 -16
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-CN.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-HK.json +430 -430
- package/dist/calcite/assets/input-time-zone/t9n/messages_zh-TW.json +430 -430
- package/dist/calcite/assets/text-area/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/text-area/t9n/messages_fr.json +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-01e18e30.entry.js +6 -0
- package/dist/calcite/{p-893a6887.entry.js → p-027d8d24.entry.js} +2 -2
- package/dist/calcite/p-05bf2762.entry.js +6 -0
- package/dist/calcite/{p-99ed1def.entry.js → p-05f135b6.entry.js} +2 -2
- package/dist/calcite/{p-66579782.js → p-0617ef2e.js} +2 -2
- package/dist/calcite/{p-39f74548.js → p-06dacd86.js} +2 -2
- package/dist/calcite/{p-cf30259f.js → p-08fdfbc3.js} +1 -1
- package/dist/calcite/p-0bf1965e.entry.js +6 -0
- package/dist/calcite/{p-23431ee2.entry.js → p-0cc0ce6c.entry.js} +2 -2
- package/dist/calcite/{p-a1200981.entry.js → p-0f0104ed.entry.js} +2 -2
- package/dist/calcite/{p-b07ea072.entry.js → p-0f0a08cd.entry.js} +2 -2
- package/dist/calcite/{p-591918fd.js → p-0f3d3543.js} +2 -2
- package/dist/calcite/{p-f6b0e456.js → p-0fd24b92.js} +2 -2
- package/dist/calcite/p-10a9ed6f.entry.js +6 -0
- package/dist/calcite/{p-c789f8ca.entry.js → p-11498a8e.entry.js} +2 -2
- package/dist/calcite/p-16c6fee5.entry.js +6 -0
- package/dist/calcite/{p-d201ace0.js → p-19a239f5.js} +2 -2
- package/dist/calcite/{p-90c6a502.entry.js → p-1a501d5a.entry.js} +2 -2
- package/dist/calcite/{p-b448ac5c.entry.js → p-1a829f83.entry.js} +2 -2
- package/dist/calcite/p-1dcce77c.entry.js +6 -0
- package/dist/calcite/{p-d6b916a0.js → p-1e6bccdb.js} +1 -1
- package/dist/calcite/p-1f3eaf93.entry.js +6 -0
- package/dist/calcite/{p-4c59e352.js → p-1fdd975e.js} +1 -1
- package/dist/calcite/{p-b41c68a6.js → p-2363de21.js} +2 -2
- package/dist/calcite/{p-2f0bb278.js → p-25d0d9f0.js} +2 -2
- package/dist/calcite/{p-9e988cbd.js → p-268b6dda.js} +2 -2
- package/dist/calcite/{p-235a5220.js → p-26e614b7.js} +2 -2
- package/dist/calcite/{p-41f207a7.js → p-2935c6e3.js} +2 -2
- package/dist/calcite/{p-eec33184.js → p-2c8fb3c6.js} +2 -2
- package/dist/calcite/{p-e8cfc41b.js → p-2e453e32.js} +1 -1
- package/dist/calcite/{p-6bfb43a2.entry.js → p-2f863c7c.entry.js} +2 -2
- package/dist/calcite/{p-5d2d75bb.entry.js → p-2f974696.entry.js} +2 -2
- package/dist/calcite/{p-9fd5348d.entry.js → p-30ed49c9.entry.js} +2 -2
- package/dist/calcite/{p-7bedb5b8.js → p-318d475b.js} +2 -2
- package/dist/calcite/{p-3803b233.entry.js → p-337aa3da.entry.js} +2 -2
- package/dist/calcite/{p-4031e8e9.entry.js → p-37b4e104.entry.js} +2 -2
- package/dist/calcite/{p-bbcfc7cc.js → p-37f55b39.js} +3 -3
- package/dist/calcite/{p-45f1daa8.entry.js → p-39993eab.entry.js} +2 -2
- package/dist/calcite/{p-9ebebf5d.js → p-39c1239f.js} +2 -2
- package/dist/calcite/{p-d24d1bbc.entry.js → p-3dc10ee3.entry.js} +2 -2
- package/dist/calcite/{p-28657397.js → p-446030be.js} +2 -2
- package/dist/calcite/{p-80bf19e6.js → p-45d64c3a.js} +1 -1
- package/dist/calcite/{p-2caab922.js → p-499ec0e2.js} +2 -2
- package/dist/calcite/{p-91732a07.js → p-4b02e314.js} +2 -2
- package/dist/calcite/{p-d1fe8b1a.js → p-4b6a3d84.js} +2 -2
- package/dist/calcite/{p-7a20ea0d.entry.js → p-4c787639.entry.js} +2 -2
- package/dist/calcite/{p-d803de0c.entry.js → p-4c8ab27d.entry.js} +2 -2
- package/dist/calcite/{p-4d164134.js → p-4d79e4bd.js} +2 -2
- package/dist/calcite/{p-81b29cbb.entry.js → p-4fc22bfe.entry.js} +2 -2
- package/dist/calcite/{p-aa0a6016.js → p-5034fe06.js} +2 -2
- package/dist/calcite/{p-cbae65f6.entry.js → p-52ec78b8.entry.js} +2 -2
- package/dist/calcite/{p-dfeab2c8.entry.js → p-564f52f2.entry.js} +2 -2
- package/dist/calcite/{p-00148236.js → p-57549029.js} +2 -2
- package/dist/calcite/p-5779712d.entry.js +6 -0
- package/dist/calcite/{p-a4a4d78e.js → p-58ba10d4.js} +2 -2
- package/dist/calcite/{p-867bc6af.entry.js → p-5cc00f13.entry.js} +2 -2
- package/dist/calcite/p-5ccaab39.js +6 -0
- package/dist/calcite/{p-df8e68e9.entry.js → p-5eaf5010.entry.js} +2 -2
- package/dist/calcite/{p-2eecb43d.js → p-5ed30681.js} +2 -2
- package/dist/calcite/{p-ce824670.entry.js → p-5f7d9612.entry.js} +2 -2
- package/dist/calcite/p-6a3b9b99.js +6 -0
- package/dist/calcite/{p-30ede885.js → p-6ad6fd05.js} +1 -1
- package/dist/calcite/{p-3767ecb6.entry.js → p-73df0c73.entry.js} +2 -2
- package/dist/calcite/{p-4f97c0c8.entry.js → p-76c68997.entry.js} +2 -2
- package/dist/calcite/{p-8ab087a4.entry.js → p-797299f7.entry.js} +2 -2
- package/dist/calcite/{p-d4335479.js → p-7be96b14.js} +2 -2
- package/dist/calcite/{p-53aa8e4b.js → p-7e1db1e0.js} +2 -2
- package/dist/calcite/p-7e5aebd4.js +6 -0
- package/dist/calcite/{p-42a3d669.js → p-7f725ebc.js} +2 -2
- package/dist/calcite/{p-38afe9eb.js → p-815aba9a.js} +2 -2
- package/dist/calcite/{p-45ae1e4e.js → p-8421e849.js} +2 -2
- package/dist/calcite/{p-7226b3b3.entry.js → p-85c52e32.entry.js} +2 -2
- package/dist/calcite/{p-f3e40279.entry.js → p-864a1151.entry.js} +2 -2
- package/dist/calcite/p-8769fade.js +6 -0
- package/dist/calcite/{p-b582404d.js → p-88d3bfd6.js} +2 -2
- package/dist/calcite/{p-50293bee.js → p-8be53c0a.js} +2 -2
- package/dist/calcite/p-8e1d793e.js +6 -0
- package/dist/calcite/p-8f3f29de.js +6 -0
- package/dist/calcite/{p-bbe1bbb3.js → p-9480fe3f.js} +2 -2
- package/dist/calcite/{p-2aebbda7.js → p-94c29059.js} +2 -2
- package/dist/calcite/p-955131d9.js +6 -0
- package/dist/calcite/{p-04d1017e.js → p-95a5217a.js} +2 -2
- package/dist/calcite/{p-dce6ac44.entry.js → p-968eafc8.entry.js} +2 -2
- package/dist/calcite/{p-027a89a0.entry.js → p-9816964b.entry.js} +2 -2
- package/dist/calcite/{p-8dc11bd6.js → p-98ca783b.js} +2 -2
- package/dist/calcite/{p-eec217d3.js → p-98d74b37.js} +2 -2
- package/dist/calcite/{p-ffde2686.js → p-9bc6e682.js} +1 -1
- package/dist/calcite/{p-0f89443b.entry.js → p-9dc8323d.entry.js} +2 -2
- package/dist/calcite/{p-f0420547.js → p-9e16fdd9.js} +1 -1
- package/dist/calcite/{p-408f7aff.js → p-a22dcd94.js} +2 -2
- package/dist/calcite/{p-f2bd176f.entry.js → p-a2399bc4.entry.js} +2 -2
- package/dist/calcite/{p-7cb34f36.entry.js → p-a4efea69.entry.js} +2 -2
- package/dist/calcite/{p-f8093a0c.js → p-a6cd85bc.js} +2 -2
- package/dist/calcite/{p-d5246a45.js → p-a744c146.js} +2 -2
- package/dist/calcite/p-a9ae3be0.js +6 -0
- package/dist/calcite/{p-847c2d46.js → p-a9f32c9a.js} +2 -2
- package/dist/calcite/{p-9110dfc7.entry.js → p-aa3edd9c.entry.js} +2 -2
- package/dist/calcite/{p-2ced8f13.js → p-aca5edde.js} +2 -2
- package/dist/calcite/{p-af8605fd.entry.js → p-ae344427.entry.js} +2 -2
- package/dist/calcite/p-b3414fbe.entry.js +6 -0
- package/dist/calcite/{p-2548ca2f.js → p-b405d46f.js} +2 -2
- package/dist/calcite/{p-2074383c.js → p-b563c2b7.js} +1 -1
- package/dist/calcite/{p-8340ccc5.entry.js → p-b5dcca75.entry.js} +2 -2
- package/dist/calcite/{p-43c5765c.js → p-b60c9d3c.js} +2 -2
- package/dist/calcite/{p-89f172fc.entry.js → p-b9a6af16.entry.js} +2 -2
- package/dist/calcite/{p-2589ae31.js → p-ba8fdc16.js} +2 -2
- package/dist/calcite/{p-a0bf3b0e.entry.js → p-bad1bed2.entry.js} +2 -2
- package/dist/calcite/{p-84b63196.entry.js → p-bbf680d8.entry.js} +2 -2
- package/dist/calcite/{p-971bd1c3.entry.js → p-bc0c6309.entry.js} +2 -2
- package/dist/calcite/{p-7f4aa843.js → p-bc4d6c19.js} +1 -1
- package/dist/calcite/p-bca1f78c.entry.js +6 -0
- package/dist/calcite/{p-75c0cf2f.entry.js → p-bd6e3e4b.entry.js} +2 -2
- package/dist/calcite/{p-f3c09cb8.entry.js → p-bd8f1cc0.entry.js} +2 -2
- package/dist/calcite/{p-a7c75f80.js → p-beda5a17.js} +1 -1
- package/dist/calcite/p-bf441fe1.js +6 -0
- package/dist/calcite/{p-18adca0d.js → p-c1a2b858.js} +2 -2
- package/dist/calcite/{p-8902e3ea.entry.js → p-c47d99db.entry.js} +2 -2
- package/dist/calcite/{p-1b6be0f6.entry.js → p-c51bfd8b.entry.js} +2 -2
- package/dist/calcite/{p-d1fb0280.js → p-c52afb13.js} +2 -2
- package/dist/calcite/{p-a8dcbd66.js → p-c5483999.js} +2 -2
- package/dist/calcite/{p-45691c1b.js → p-ca99419c.js} +2 -2
- package/dist/calcite/{p-56e84d1b.entry.js → p-caf68581.entry.js} +2 -2
- package/dist/calcite/{p-61320537.entry.js → p-ccc0c441.entry.js} +2 -2
- package/dist/calcite/{p-f97a6630.entry.js → p-d1bbd926.entry.js} +2 -2
- package/dist/calcite/{p-1a3f0934.js → p-d1da5baf.js} +1 -1
- package/dist/calcite/{p-3cba835d.js → p-d387ab78.js} +1 -1
- package/dist/calcite/{p-a9b059a2.entry.js → p-d40a1567.entry.js} +2 -2
- package/dist/calcite/{p-c457d252.js → p-d66da5fc.js} +1 -1
- package/dist/calcite/{p-8fe781a6.js → p-d8af8497.js} +2 -2
- package/dist/calcite/{p-b6993f4f.js → p-da80bc8e.js} +2 -2
- package/dist/calcite/{p-87d4e90f.js → p-dcfb4b4f.js} +2 -2
- package/dist/calcite/{p-c0d0246c.entry.js → p-df87a1ee.entry.js} +2 -2
- package/dist/calcite/{p-eb658004.js → p-e1b781c4.js} +2 -2
- package/dist/calcite/{p-80b8361b.js → p-e295f116.js} +2 -2
- package/dist/calcite/{p-7bd12f15.js → p-e3777deb.js} +2 -2
- package/dist/calcite/{p-9b408bb7.entry.js → p-e79f7624.entry.js} +2 -2
- package/dist/calcite/{p-dcc131f8.js → p-e841b8de.js} +2 -2
- package/dist/calcite/p-e8868ce7.entry.js +6 -0
- package/dist/calcite/{p-f5973d21.js → p-e8a2f2b1.js} +2 -2
- package/dist/calcite/{p-ea863b8b.js → p-e9549c43.js} +1 -1
- package/dist/calcite/p-ef223b87.entry.js +6 -0
- package/dist/calcite/{p-ca18f36a.entry.js → p-ef28f094.entry.js} +2 -2
- package/dist/calcite/{p-d66dd2ba.entry.js → p-f105d1cd.entry.js} +2 -2
- package/dist/calcite/{p-3bbad895.entry.js → p-f26d9ca9.entry.js} +2 -2
- package/dist/calcite/{p-6e5c93ba.js → p-f2ede9d6.js} +2 -2
- package/dist/calcite/{p-9b3a08f1.js → p-f96ca0e0.js} +2 -2
- package/dist/calcite/{p-3c6f360f.js → p-fa369a8d.js} +2 -2
- package/dist/calcite/{p-ac429d3d.js → p-fa531620.js} +2 -2
- package/dist/calcite/{p-46dde12f.js → p-fb4a7d90.js} +2 -2
- package/dist/calcite/{p-ed5dd1da.entry.js → p-fdc98e4c.entry.js} +2 -2
- package/dist/calcite/{p-017991a5.entry.js → p-ffd00167.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-79e7c0f6.js → ExpandToggle-8265a6df.js} +5 -5
- package/dist/cjs/{FloatingArrow-e61a7a9a.js → FloatingArrow-b5ca6077.js} +2 -2
- package/dist/cjs/{Heading-fbcdb762.js → Heading-022a7a25.js} +2 -2
- package/dist/cjs/{app-globals-7446fce5.js → app-globals-33eb529a.js} +2 -2
- package/dist/cjs/{ar-7c096a99.js → ar-49434d95.js} +15 -15
- package/dist/cjs/{array-0503db41.js → array-5848270e.js} +1 -1
- package/dist/cjs/{bg-85dbfbde.js → bg-5d252039.js} +15 -15
- package/dist/cjs/{bs-5433db70.js → bs-9db17f5a.js} +15 -15
- package/dist/cjs/{ca-0e0c4ef4.js → ca-a662d810.js} +15 -15
- 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 +13 -13
- 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 +19 -18
- 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 +4 -4
- 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 +20 -20
- 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.calcite-time-picker-2062d521.js → calcite-input-time-picker.calcite-time-picker-78addba7.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +329 -0
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- 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 +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- 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 +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- 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 +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-033d4cd5.js → conditionalSlot-92ae3728.js} +3 -3
- package/dist/cjs/{cs-47a6ea5b.js → cs-7e9b3c2f.js} +15 -15
- package/dist/cjs/{da-9d9e7c6f.js → da-8335577e.js} +15 -15
- package/dist/cjs/{de-9c0b214f.js → de-425433c1.js} +15 -15
- package/dist/cjs/{de-at-22f35b65.js → de-at-48c4256e.js} +15 -15
- package/dist/cjs/{de-ch-e1027dd8.js → de-ch-41c43781.js} +15 -15
- package/dist/cjs/{debounce-280984bc.js → debounce-7d77cb87.js} +1 -1
- package/dist/cjs/{dom-01dcd7b3.js → dom-7487acd7.js} +3 -3
- package/dist/cjs/{el-bcf3342d.js → el-10c44be5.js} +15 -15
- package/dist/cjs/{en-au-7d917c68.js → en-au-226cb400.js} +15 -15
- package/dist/cjs/{en-ca-84de489f.js → en-ca-1e9edcd9.js} +15 -15
- package/dist/cjs/{en-gb-d886b806.js → en-gb-dffa7b85.js} +15 -15
- package/dist/cjs/{es-0f485832.js → es-aafb79e8.js} +15 -15
- package/dist/cjs/{es-mx-2dcd7d9a.js → es-mx-44e3e2a9.js} +15 -15
- package/dist/cjs/{et-2e335e34.js → et-e0f4c3ca.js} +15 -15
- package/dist/cjs/{fi-49e9a9bb.js → fi-dfbaec2f.js} +15 -15
- package/dist/cjs/{filter-30658380.js → filter-102072d8.js} +2 -2
- package/dist/cjs/{floating-ui-51b8ab14.js → floating-ui-8799f01a.js} +3 -3
- package/dist/cjs/{focusTrapComponent-bdd6620e.js → focusTrapComponent-328576cf.js} +2 -2
- package/dist/cjs/{form-5fdd9b54.js → form-509b1671.js} +3 -3
- package/dist/cjs/{fr-b5a57069.js → fr-a86ec363.js} +15 -15
- package/dist/cjs/{fr-ch-10b18dfc.js → fr-ch-ed4c9432.js} +15 -15
- package/dist/cjs/{guid-b3cfaabb.js → guid-bc4ef7e8.js} +1 -1
- package/dist/cjs/{he-c0b4c49f.js → he-e893a27b.js} +15 -15
- package/dist/cjs/{hi-f2ee1a94.js → hi-ed4d25ca.js} +15 -15
- package/dist/cjs/{hr-544f0c78.js → hr-90d9e1c6.js} +15 -15
- package/dist/cjs/{hu-cfd847bc.js → hu-a6c55f07.js} +15 -15
- package/dist/cjs/{id-5beb11d5.js → id-2c74ab10.js} +15 -15
- package/dist/cjs/{index-1a08e5e7.js → index-142998d3.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-c17fc496.js → interactive-3295de88.js} +1 -1
- package/dist/cjs/{it-5239d991.js → it-33905686.js} +15 -15
- package/dist/cjs/{it-ch-bc615ef3.js → it-ch-a4263ead.js} +15 -15
- package/dist/cjs/{ja-abc68dac.js → ja-f27b3274.js} +15 -15
- package/dist/cjs/{key-72cd2215.js → key-dc499418.js} +1 -1
- package/dist/cjs/{ko-8375a63e.js → ko-3b5b39ca.js} +15 -15
- package/dist/cjs/{label-015a543d.js → label-39f9c585.js} +2 -2
- package/dist/cjs/{loadable-4601b702.js → loadable-cb368fce.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-45d66234.js → locale-99d6b752.js} +4 -4
- package/dist/cjs/{lt-41395ae9.js → lt-8b22e646.js} +15 -15
- package/dist/cjs/{lv-11203ee9.js → lv-9b9b8357.js} +15 -15
- package/dist/cjs/{math-893bc07b.js → math-21614d14.js} +1 -1
- package/dist/cjs/{mk-b9f01b6e.js → mk-ae45b7cb.js} +15 -15
- package/dist/cjs/{nb-a1820879.js → nb-538c6d63.js} +15 -15
- package/dist/cjs/{nl-f30fba94.js → nl-0e7d71bd.js} +15 -15
- package/dist/cjs/{observers-0f5207f9.js → observers-f62a2e0a.js} +1 -1
- package/dist/cjs/{openCloseComponent-80f170a6.js → openCloseComponent-12d9e8d8.js} +2 -2
- package/dist/cjs/{pl-87382176.js → pl-ae3d37d9.js} +15 -15
- package/dist/cjs/{pt-br-3f547afa.js → pt-br-d6483c61.js} +15 -15
- package/dist/cjs/{pt-80d7c7f6.js → pt-e1224383.js} +15 -15
- package/dist/cjs/{resources-6ed778fa.js → resources-118dc727.js} +1 -1
- package/dist/cjs/{resources-2f3ae697.js → resources-5c003e2b.js} +1 -1
- package/dist/cjs/{resources-a4ff1c80.js → resources-73b59433.js} +1 -1
- package/dist/cjs/{resources-3dea30ff.js → resources-932fa5dc.js} +1 -1
- package/dist/cjs/{resources-c13ab169.js → resources-ab8cb2da.js} +1 -1
- package/dist/cjs/{resources-2400bd6b.js → resources-bb31ff4c.js} +5 -5
- package/dist/cjs/{resources-4e410381.js → resources-d7dcc7aa.js} +1 -1
- package/dist/cjs/{ro-59099b01.js → ro-6f49a712.js} +15 -15
- package/dist/cjs/{ru-8199a7f3.js → ru-e535cc78.js} +15 -15
- package/dist/cjs/{sk-ec1d0c22.js → sk-4e280c98.js} +15 -15
- package/dist/cjs/{sl-c6549f85.js → sl-ac107091.js} +15 -15
- package/dist/cjs/{sortableComponent-c95f8cfd.js → sortableComponent-acf1b739.js} +2 -2
- package/dist/cjs/{sr-86dccf68.js → sr-f78dcd56.js} +15 -15
- package/dist/cjs/{sv-e8a6d2c7.js → sv-6b758740.js} +15 -15
- package/dist/cjs/{t9n-cd514c62.js → t9n-42d79fa0.js} +3 -3
- package/dist/cjs/{th-2760db00.js → th-0ee86bbe.js} +15 -15
- package/dist/cjs/{throttle-7d3046fd.js → throttle-792f064c.js} +2 -2
- package/dist/cjs/{tr-042d00f6.js → tr-8bd79461.js} +15 -15
- package/dist/cjs/{uk-d72474ed.js → uk-6d6ea7ab.js} +15 -15
- package/dist/cjs/{utils-8a638196.js → utils-246589f7.js} +3 -3
- package/dist/cjs/{utils-6f2b9b60.js → utils-93f5e22a.js} +1 -1
- package/dist/cjs/{vi-4aec4003.js → vi-1b9e468d.js} +15 -15
- package/dist/cjs/{zh-cn-c842a982.js → zh-cn-b1d6e1ad.js} +15 -15
- package/dist/cjs/{zh-hk-a4a5931e.js → zh-hk-3ac0265c.js} +15 -15
- package/dist/cjs/{zh-tw-c85b21d2.js → zh-tw-323d6eb0.js} +15 -15
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/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/assets/date-picker/nls/zh-CN.json +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 +8 -7
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_lv.json +3 -3
- package/dist/collection/components/handle/assets/handle/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ar.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bg.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_bs.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ca.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_cs.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_da.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_de.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_el.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_es.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_et.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fi.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_fr.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_he.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hr.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_hu.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_id.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_it.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ja.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ko.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lt.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_lv.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_nl.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_no.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pl.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-BR.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_pt-PT.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ro.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ru.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sk.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sl.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sr.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_sv.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_th.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_tr.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_uk.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_vi.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-CN.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-HK.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-TW.json +2 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +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/input-time-picker.js +2 -2
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ar.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_bg.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_bs.json +74 -74
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ca.json +125 -125
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_cs.json +138 -138
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_da.json +61 -61
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_de.json +119 -119
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_el.json +421 -421
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_es.json +174 -174
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_et.json +106 -106
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_fi.json +87 -87
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_fr.json +145 -145
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_he.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_hr.json +74 -74
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_hu.json +125 -125
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_id.json +37 -37
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_it.json +76 -76
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ja.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ko.json +431 -431
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_lt.json +395 -395
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_lv.json +369 -369
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_nl.json +66 -66
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_no.json +46 -46
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pl.json +177 -177
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pt-BR.json +82 -82
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_pt-PT.json +102 -102
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ro.json +67 -67
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_ru.json +429 -429
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sk.json +168 -168
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sl.json +113 -113
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sr.json +288 -288
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_sv.json +77 -77
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_th.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_tr.json +107 -107
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_uk.json +427 -427
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_vi.json +16 -16
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-CN.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-HK.json +430 -430
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_zh-TW.json +430 -430
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.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/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/interfaces.js +1 -0
- package/dist/collection/components/meter/meter.css +162 -0
- package/dist/collection/components/meter/meter.js +710 -0
- package/dist/collection/components/meter/resources.js +20 -0
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.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/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +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/assets/text-area/t9n/messages_bg.json +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fr.json +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/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.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 +3 -3
- 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 +2 -2
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.d.ts +11 -0
- package/dist/components/calcite-meter.js +367 -0
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-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 +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-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/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +8 -7
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +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/th.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/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-46b6a0aa.js → ExpandToggle-fce2a522.js} +5 -5
- package/dist/esm/{FloatingArrow-7b7ef36c.js → FloatingArrow-d22a3d68.js} +2 -2
- package/dist/esm/{Heading-e6d20360.js → Heading-322edf26.js} +2 -2
- package/dist/esm/{app-globals-31ebb1cf.js → app-globals-dd93423e.js} +2 -2
- package/dist/esm/{ar-55fc8525.js → ar-4fb21f4a.js} +15 -15
- package/dist/esm/{array-b5b83782.js → array-e7542aea.js} +1 -1
- package/dist/esm/{bg-838a3c02.js → bg-07ee5c5e.js} +15 -15
- package/dist/esm/{bs-ac19f488.js → bs-906447a4.js} +15 -15
- package/dist/esm/{ca-320a8297.js → ca-9359e6a6.js} +15 -15
- 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 +13 -13
- 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 +19 -18
- 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 +4 -4
- 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 +20 -20
- 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.calcite-time-picker-95fb1612.js → calcite-input-time-picker.calcite-time-picker-69d8a448.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +325 -0
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- 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 +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- 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 +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- 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 +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-ad4b3601.js → conditionalSlot-5cc4cc84.js} +3 -3
- package/dist/esm/{cs-9d3616e7.js → cs-0c66a269.js} +15 -15
- package/dist/esm/{da-e1b9750f.js → da-c29a773f.js} +15 -15
- package/dist/esm/{de-b49f82db.js → de-13162f74.js} +15 -15
- package/dist/esm/{de-at-fbae033b.js → de-at-20abace8.js} +15 -15
- package/dist/esm/{de-ch-20023021.js → de-ch-23dd6b50.js} +15 -15
- package/dist/esm/{debounce-74c01a99.js → debounce-95474f0d.js} +1 -1
- package/dist/esm/{dom-bb448bfb.js → dom-257fb429.js} +4 -4
- package/dist/esm/{el-20ee1fa0.js → el-c4f2dbc9.js} +15 -15
- package/dist/esm/{en-au-e12b9a8a.js → en-au-5de53e98.js} +15 -15
- package/dist/esm/{en-ca-800c5dd0.js → en-ca-dfc67c86.js} +15 -15
- package/dist/esm/{en-gb-a66c35c0.js → en-gb-c6dd41e2.js} +15 -15
- package/dist/esm/{es-50f0027a.js → es-64bf9b9b.js} +15 -15
- package/dist/esm/{es-mx-7b4ff5bc.js → es-mx-a8425199.js} +15 -15
- package/dist/esm/{et-3821fcf6.js → et-ccbdf960.js} +15 -15
- package/dist/esm/{fi-1884f4de.js → fi-34eb9c8c.js} +15 -15
- package/dist/esm/{filter-5cde62d4.js → filter-96875580.js} +2 -2
- package/dist/esm/{floating-ui-711be5e7.js → floating-ui-39a53610.js} +3 -3
- package/dist/esm/{focusTrapComponent-539e47f5.js → focusTrapComponent-9889bfeb.js} +2 -2
- package/dist/esm/{form-d20f0fae.js → form-f849dd0a.js} +3 -3
- package/dist/esm/{fr-ed066fe1.js → fr-cd866644.js} +15 -15
- package/dist/esm/{fr-ch-2bb8c1ab.js → fr-ch-c1e6425a.js} +15 -15
- package/dist/esm/{guid-973b13a1.js → guid-4b604798.js} +1 -1
- package/dist/esm/{he-a0b42ef5.js → he-d5a944c0.js} +15 -15
- package/dist/esm/{hi-2b82ba4e.js → hi-d0c824aa.js} +15 -15
- package/dist/esm/{hr-53b36670.js → hr-9ae17a89.js} +15 -15
- package/dist/esm/{hu-e18a264d.js → hu-9b60c3e2.js} +15 -15
- package/dist/esm/{id-cfe42db7.js → id-93300f8e.js} +15 -15
- package/dist/esm/{index-104569bc.js → index-12f96d86.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-98c33bc7.js → interactive-999431b3.js} +1 -1
- package/dist/esm/{it-7b44da9c.js → it-063dace2.js} +15 -15
- package/dist/esm/{it-ch-82f38f9a.js → it-ch-7a2acdc9.js} +15 -15
- package/dist/esm/{ja-c7515b83.js → ja-180fb96b.js} +15 -15
- package/dist/esm/{key-1fce2600.js → key-c4381172.js} +1 -1
- package/dist/esm/{ko-5a79c999.js → ko-14d3c687.js} +15 -15
- package/dist/esm/{label-a8caa296.js → label-6c5eadac.js} +2 -2
- package/dist/esm/{loadable-614280a6.js → loadable-871af43e.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-0620fd54.js → locale-5cade090.js} +4 -4
- package/dist/esm/{lt-d8cf6cbc.js → lt-e6b3fe40.js} +15 -15
- package/dist/esm/{lv-6de65d3d.js → lv-fc4ec840.js} +15 -15
- package/dist/esm/{math-1289503b.js → math-22a2f19c.js} +1 -1
- package/dist/esm/{mk-196db4a4.js → mk-dd0c48fd.js} +15 -15
- package/dist/esm/{nb-d7a9bc24.js → nb-2e35809b.js} +15 -15
- package/dist/esm/{nl-4fa22cd0.js → nl-e5a1400e.js} +15 -15
- package/dist/esm/{observers-c3f0e455.js → observers-39183e56.js} +1 -1
- package/dist/esm/{openCloseComponent-590dfde3.js → openCloseComponent-3f0f20c5.js} +2 -2
- package/dist/esm/{pl-b93f2127.js → pl-dea1e606.js} +15 -15
- package/dist/esm/{pt-399742bf.js → pt-80735ebf.js} +15 -15
- package/dist/esm/{pt-br-1bb33467.js → pt-br-2df4a571.js} +15 -15
- package/dist/esm/{resources-3684cf86.js → resources-0138967d.js} +1 -1
- package/dist/esm/{resources-cd96b364.js → resources-084474bf.js} +1 -1
- package/dist/esm/{resources-52e20ff4.js → resources-3387c71e.js} +1 -1
- package/dist/esm/{resources-23290045.js → resources-4fafdc57.js} +1 -1
- package/dist/esm/{resources-3118b16d.js → resources-91af063c.js} +1 -1
- package/dist/esm/{resources-fc0770f6.js → resources-a72ddc26.js} +1 -1
- package/dist/esm/{resources-ce0ee144.js → resources-eb94cf37.js} +5 -5
- package/dist/esm/{ro-89c7136f.js → ro-807a4190.js} +15 -15
- package/dist/esm/{ru-0e7f4140.js → ru-548b0f95.js} +15 -15
- package/dist/esm/{sk-2c5510d0.js → sk-8883423d.js} +15 -15
- package/dist/esm/{sl-4d659b70.js → sl-ee0e4fd3.js} +15 -15
- package/dist/esm/{sortableComponent-a2bb432e.js → sortableComponent-971c73fe.js} +2 -2
- package/dist/esm/{sr-7d58407d.js → sr-b530aa38.js} +15 -15
- package/dist/esm/{sv-caa01062.js → sv-417d98fa.js} +15 -15
- package/dist/esm/{t9n-c331c7c0.js → t9n-fda07909.js} +3 -3
- package/dist/esm/{th-e1195da7.js → th-9c8b350c.js} +15 -15
- package/dist/esm/{throttle-da9c9be3.js → throttle-f29720f7.js} +2 -2
- package/dist/esm/{tr-be2d6ba7.js → tr-554bf5c6.js} +15 -15
- package/dist/esm/{uk-f8c63048.js → uk-92fec74c.js} +15 -15
- package/dist/esm/{utils-5e0e9460.js → utils-95483418.js} +1 -1
- package/dist/esm/{utils-d7e4ff05.js → utils-bf7d553a.js} +3 -3
- package/dist/esm/{vi-a96da8db.js → vi-fd5b52e6.js} +15 -15
- package/dist/esm/{zh-cn-a94beed5.js → zh-cn-32301258.js} +15 -15
- package/dist/esm/{zh-hk-fa6dc548.js → zh-hk-ee992b29.js} +15 -15
- package/dist/esm/{zh-tw-e8a936a1.js → zh-tw-a9f0360a.js} +15 -15
- package/dist/extras/docs-json.json +458 -1
- package/dist/extras/translations-json.json +1 -1
- package/dist/extras/vscode-data.json +199 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/meter/interfaces.d.ts +1 -0
- package/dist/types/components/meter/meter.d.ts +98 -0
- package/dist/types/components/meter/resources.d.ts +15 -0
- package/dist/types/components.d.ts +166 -0
- package/dist/types/preact.d.ts +2 -0
- package/hydrate/index.js +641 -296
- package/package.json +2 -2
- package/dist/calcite/p-03813859.entry.js +0 -6
- package/dist/calcite/p-0b7ad7bd.entry.js +0 -6
- package/dist/calcite/p-12f7ea43.js +0 -6
- package/dist/calcite/p-18399275.entry.js +0 -6
- package/dist/calcite/p-22f38561.js +0 -6
- package/dist/calcite/p-246892e6.js +0 -6
- package/dist/calcite/p-2e817f9d.js +0 -6
- package/dist/calcite/p-46b219f1.entry.js +0 -6
- package/dist/calcite/p-539d1e27.entry.js +0 -6
- package/dist/calcite/p-617477e3.entry.js +0 -6
- package/dist/calcite/p-683e7af3.entry.js +0 -6
- package/dist/calcite/p-7bd54330.entry.js +0 -6
- package/dist/calcite/p-8c29b1ed.entry.js +0 -6
- package/dist/calcite/p-a9aa7303.js +0 -6
- package/dist/calcite/p-b1c33a0b.js +0 -6
- package/dist/calcite/p-ba616ad9.entry.js +0 -6
- package/dist/calcite/p-bc4a03fd.js +0 -6
- package/dist/calcite/p-cac3a85e.js +0 -6
- package/dist/calcite/p-cb74bbc9.js +0 -6
- package/dist/calcite/p-fa6cb6ba.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.
|
|
4
|
+
* v1.7.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7022,7 +7022,7 @@ const SLOTS$y = {
|
|
|
7022
7022
|
actionsStart: "actions-start",
|
|
7023
7023
|
actionsEnd: "actions-end",
|
|
7024
7024
|
};
|
|
7025
|
-
const CSS$
|
|
7025
|
+
const CSS$17 = {
|
|
7026
7026
|
icon: "icon",
|
|
7027
7027
|
header: "header",
|
|
7028
7028
|
headerContent: "header-content",
|
|
@@ -7086,28 +7086,28 @@ class AccordionItem {
|
|
|
7086
7086
|
// --------------------------------------------------------------------------
|
|
7087
7087
|
renderActionsStart() {
|
|
7088
7088
|
const { el } = this;
|
|
7089
|
-
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7089
|
+
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$17.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
|
|
7090
7090
|
}
|
|
7091
7091
|
renderActionsEnd() {
|
|
7092
7092
|
const { el } = this;
|
|
7093
|
-
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7093
|
+
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
|
|
7094
7094
|
}
|
|
7095
7095
|
render() {
|
|
7096
7096
|
const { iconFlipRtl } = this;
|
|
7097
7097
|
const dir = getElementDir(this.el);
|
|
7098
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7099
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7098
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$17.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7099
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$17.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7100
7100
|
const { description } = this;
|
|
7101
7101
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7102
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7103
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7104
|
+
} }, hAsync("div", { class: { [CSS$17.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$17.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$17.headerContainer }, iconStartEl, hAsync("div", { class: CSS$17.headerText }, hAsync("span", { class: CSS$17.heading }, this.heading), description ? hAsync("span", { class: CSS$17.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$17.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7105
|
? "chevronDown"
|
|
7106
7106
|
: this.iconType === "caret"
|
|
7107
7107
|
? "caretDown"
|
|
7108
7108
|
: this.expanded
|
|
7109
7109
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7110
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$17.content }, hAsync("slot", null)))));
|
|
7111
7111
|
}
|
|
7112
7112
|
//--------------------------------------------------------------------------
|
|
7113
7113
|
//
|
|
@@ -8027,7 +8027,7 @@ function defaultOnMessagesChange() {
|
|
|
8027
8027
|
mergeMessages(this);
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
const CSS$
|
|
8030
|
+
const CSS$16 = {
|
|
8031
8031
|
button: "button",
|
|
8032
8032
|
buttonTextVisible: "button--text-visible",
|
|
8033
8033
|
buttonCompact: "button--compact",
|
|
@@ -8138,14 +8138,14 @@ class Action {
|
|
|
8138
8138
|
renderTextContainer() {
|
|
8139
8139
|
const { text, textEnabled } = this;
|
|
8140
8140
|
const textContainerClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8141
|
+
[CSS$16.textContainer]: true,
|
|
8142
|
+
[CSS$16.textContainerVisible]: textEnabled,
|
|
8143
8143
|
};
|
|
8144
8144
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8145
8145
|
}
|
|
8146
8146
|
renderIndicatorText() {
|
|
8147
8147
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8148
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8148
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$16.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8149
8149
|
}
|
|
8150
8150
|
renderIconContainer() {
|
|
8151
8151
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8156,18 +8156,18 @@ class Action {
|
|
|
8156
8156
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8157
8157
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8158
8158
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8159
|
-
[CSS$
|
|
8160
|
-
[CSS$
|
|
8159
|
+
[CSS$16.slotContainer]: true,
|
|
8160
|
+
[CSS$16.slotContainerHidden]: loading,
|
|
8161
8161
|
} }, hAsync("slot", null)));
|
|
8162
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8162
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$16.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8163
8163
|
}
|
|
8164
8164
|
render() {
|
|
8165
8165
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8166
8166
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8167
8167
|
const buttonClasses = {
|
|
8168
|
-
[CSS$
|
|
8169
|
-
[CSS$
|
|
8170
|
-
[CSS$
|
|
8168
|
+
[CSS$16.button]: true,
|
|
8169
|
+
[CSS$16.buttonTextVisible]: textEnabled,
|
|
8170
|
+
[CSS$16.buttonCompact]: compact,
|
|
8171
8171
|
};
|
|
8172
8172
|
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,
|
|
8173
8173
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9480,7 +9480,7 @@ const ICONS$j = {
|
|
|
9480
9480
|
menu: "ellipsis",
|
|
9481
9481
|
};
|
|
9482
9482
|
|
|
9483
|
-
const CSS$
|
|
9483
|
+
const CSS$15 = {
|
|
9484
9484
|
menu: "menu",
|
|
9485
9485
|
defaultTrigger: "default-trigger",
|
|
9486
9486
|
};
|
|
@@ -9580,7 +9580,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9580
9580
|
return actionNode;
|
|
9581
9581
|
};
|
|
9582
9582
|
|
|
9583
|
-
const CSS$
|
|
9583
|
+
const CSS$14 = {
|
|
9584
9584
|
actionGroupEnd: "action-group--end",
|
|
9585
9585
|
};
|
|
9586
9586
|
const SLOTS$u = {
|
|
@@ -9782,7 +9782,7 @@ class ActionBar {
|
|
|
9782
9782
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9783
9783
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9784
9784
|
ref: this.setExpandToggleRef })) : null;
|
|
9785
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9785
|
+
return (hAsync("calcite-action-group", { class: CSS$14.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9786
9786
|
}
|
|
9787
9787
|
render() {
|
|
9788
9788
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -10191,7 +10191,7 @@ class ActionMenu {
|
|
|
10191
10191
|
}
|
|
10192
10192
|
renderMenuButton() {
|
|
10193
10193
|
const { label, scale, expanded } = this;
|
|
10194
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10194
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$15.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10195
10195
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10196
10196
|
ref: this.setDefaultMenuButtonEl })));
|
|
10197
10197
|
return menuButtonSlot;
|
|
@@ -10200,7 +10200,7 @@ class ActionMenu {
|
|
|
10200
10200
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10201
10201
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10202
10202
|
const activeDescendantId = activeAction?.id || null;
|
|
10203
|
-
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$
|
|
10203
|
+
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$15.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10204
10204
|
}
|
|
10205
10205
|
render() {
|
|
10206
10206
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10236,7 +10236,7 @@ class ActionMenu {
|
|
|
10236
10236
|
}; }
|
|
10237
10237
|
}
|
|
10238
10238
|
|
|
10239
|
-
const CSS$
|
|
10239
|
+
const CSS$13 = {
|
|
10240
10240
|
actionGroupEnd: "action-group--end",
|
|
10241
10241
|
container: "container",
|
|
10242
10242
|
};
|
|
@@ -10360,10 +10360,10 @@ class ActionPad {
|
|
|
10360
10360
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10361
10361
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10362
10362
|
ref: this.setExpandToggleRef })) : null;
|
|
10363
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10363
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10364
10364
|
}
|
|
10365
10365
|
render() {
|
|
10366
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10366
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$13.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10367
10367
|
}
|
|
10368
10368
|
static get delegatesFocus() { return true; }
|
|
10369
10369
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10491,7 +10491,7 @@ const SLOTS$s = {
|
|
|
10491
10491
|
message: "message",
|
|
10492
10492
|
link: "link",
|
|
10493
10493
|
};
|
|
10494
|
-
const CSS$
|
|
10494
|
+
const CSS$12 = {
|
|
10495
10495
|
actionsEnd: "actions-end",
|
|
10496
10496
|
container: "container",
|
|
10497
10497
|
close: "alert-close",
|
|
@@ -10651,10 +10651,10 @@ class Alert {
|
|
|
10651
10651
|
container: true,
|
|
10652
10652
|
queued,
|
|
10653
10653
|
[placement]: true,
|
|
10654
|
-
[CSS$
|
|
10654
|
+
[CSS$12.slottedInShell]: this.slottedInShell,
|
|
10655
10655
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10656
10656
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10657
|
-
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$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$
|
|
10657
|
+
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$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$12.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10658
10658
|
}
|
|
10659
10659
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10660
10660
|
alertSync(event) {
|
|
@@ -11123,7 +11123,7 @@ const Heading = (props, children) => {
|
|
|
11123
11123
|
return hAsync(HeadingTag, { ...props }, children);
|
|
11124
11124
|
};
|
|
11125
11125
|
|
|
11126
|
-
const CSS$
|
|
11126
|
+
const CSS$11 = {
|
|
11127
11127
|
container: "container",
|
|
11128
11128
|
content: "content",
|
|
11129
11129
|
headerContainer: "header-container",
|
|
@@ -11248,30 +11248,30 @@ class Block {
|
|
|
11248
11248
|
renderIcon() {
|
|
11249
11249
|
const { loading, messages, status } = this;
|
|
11250
11250
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$r.icon);
|
|
11251
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11252
|
-
[CSS$
|
|
11253
|
-
[CSS$
|
|
11254
|
-
[CSS$
|
|
11255
|
-
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11251
|
+
return loading ? (hAsync("div", { class: CSS$11.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$11.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11252
|
+
[CSS$11.statusIcon]: true,
|
|
11253
|
+
[CSS$11.valid]: status == "valid",
|
|
11254
|
+
[CSS$11.invalid]: status == "invalid",
|
|
11255
|
+
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$11.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
|
|
11256
11256
|
}
|
|
11257
11257
|
renderTitle() {
|
|
11258
11258
|
const { heading, headingLevel, description } = this;
|
|
11259
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11259
|
+
return heading || description ? (hAsync("div", { class: CSS$11.title }, hAsync(Heading, { class: CSS$11.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$11.description }, description) : null)) : null;
|
|
11260
11260
|
}
|
|
11261
11261
|
render() {
|
|
11262
11262
|
const { collapsible, el, loading, open, messages } = this;
|
|
11263
11263
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11264
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11264
|
+
const headerContent = (hAsync("header", { class: CSS$11.header }, this.renderIcon(), this.renderTitle()));
|
|
11265
11265
|
const hasControl = !!getSlotted(el, SLOTS$r.control);
|
|
11266
11266
|
const hasMenuActions = !!getSlotted(el, SLOTS$r.headerMenuActions);
|
|
11267
11267
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
11268
11268
|
const { guid } = this;
|
|
11269
11269
|
const regionId = `${guid}-region`;
|
|
11270
11270
|
const buttonId = `${guid}-button`;
|
|
11271
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11271
|
+
const headerNode = (hAsync("div", { class: CSS$11.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$11.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$11.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$11.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
|
|
11272
11272
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11273
|
-
[CSS$
|
|
11274
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11273
|
+
[CSS$11.container]: true,
|
|
11274
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$11.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
11275
11275
|
}
|
|
11276
11276
|
static get assetsDirs() { return ["assets"]; }
|
|
11277
11277
|
get el() { return getElement(this); }
|
|
@@ -11305,7 +11305,7 @@ class Block {
|
|
|
11305
11305
|
}; }
|
|
11306
11306
|
}
|
|
11307
11307
|
|
|
11308
|
-
const CSS
|
|
11308
|
+
const CSS$10 = {
|
|
11309
11309
|
content: "content",
|
|
11310
11310
|
invalid: "invalid",
|
|
11311
11311
|
toggle: "toggle",
|
|
@@ -11408,9 +11408,9 @@ class BlockSection {
|
|
|
11408
11408
|
const { status } = this;
|
|
11409
11409
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11410
11410
|
const statusIconClasses = {
|
|
11411
|
-
[CSS
|
|
11412
|
-
[CSS
|
|
11413
|
-
[CSS
|
|
11411
|
+
[CSS$10.statusIcon]: true,
|
|
11412
|
+
[CSS$10.valid]: status == "valid",
|
|
11413
|
+
[CSS$10.invalid]: status == "invalid",
|
|
11414
11414
|
};
|
|
11415
11415
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11416
11416
|
}
|
|
@@ -11427,13 +11427,13 @@ class BlockSection {
|
|
|
11427
11427
|
const regionId = `${guid}-region`;
|
|
11428
11428
|
const buttonId = `${guid}-button`;
|
|
11429
11429
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11430
|
-
[CSS
|
|
11431
|
-
[CSS
|
|
11432
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS
|
|
11433
|
-
[CSS
|
|
11434
|
-
[CSS
|
|
11435
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS
|
|
11436
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
11430
|
+
[CSS$10.toggle]: true,
|
|
11431
|
+
[CSS$10.toggleSwitch]: true,
|
|
11432
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$10.toggleSwitchContent }, hAsync("span", { class: CSS$10.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11433
|
+
[CSS$10.sectionHeader]: true,
|
|
11434
|
+
[CSS$10.toggle]: true,
|
|
11435
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$10.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11436
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11437
11437
|
}
|
|
11438
11438
|
static get assetsDirs() { return ["assets"]; }
|
|
11439
11439
|
get el() { return getElement(this); }
|
|
@@ -11863,7 +11863,7 @@ function onLabelDisconnected() {
|
|
|
11863
11863
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11864
11864
|
}
|
|
11865
11865
|
|
|
11866
|
-
const CSS
|
|
11866
|
+
const CSS$$ = {
|
|
11867
11867
|
buttonLoader: "calcite-button--loader",
|
|
11868
11868
|
content: "content",
|
|
11869
11869
|
contentSlotted: "content--slotted",
|
|
@@ -11991,17 +11991,17 @@ class Button {
|
|
|
11991
11991
|
render() {
|
|
11992
11992
|
const childElType = this.href ? "a" : "button";
|
|
11993
11993
|
const Tag = childElType;
|
|
11994
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS
|
|
11994
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$$.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$$.loadingIn : CSS$$.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11995
11995
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11996
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS
|
|
11997
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS
|
|
11998
|
-
const contentEl = (hAsync("span", { class: CSS
|
|
11996
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11997
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11998
|
+
const contentEl = (hAsync("span", { class: CSS$$.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11999
11999
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
12000
|
-
[CSS
|
|
12001
|
-
[CSS
|
|
12002
|
-
[CSS
|
|
12003
|
-
[CSS
|
|
12004
|
-
[CSS
|
|
12000
|
+
[CSS$$.buttonPadding]: noStartEndIcons,
|
|
12001
|
+
[CSS$$.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12002
|
+
[CSS$$.contentSlotted]: this.hasContent,
|
|
12003
|
+
[CSS$$.iconStartEmpty]: !this.iconStart,
|
|
12004
|
+
[CSS$$.iconEndEmpty]: !this.iconEnd,
|
|
12005
12005
|
}, 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));
|
|
12006
12006
|
}
|
|
12007
12007
|
//--------------------------------------------------------------------------
|
|
@@ -12316,7 +12316,7 @@ class CalciteMenu {
|
|
|
12316
12316
|
}; }
|
|
12317
12317
|
}
|
|
12318
12318
|
|
|
12319
|
-
const CSS$
|
|
12319
|
+
const CSS$_ = {
|
|
12320
12320
|
container: "container",
|
|
12321
12321
|
content: "content",
|
|
12322
12322
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12520,54 +12520,54 @@ class CalciteMenuItem {
|
|
|
12520
12520
|
//
|
|
12521
12521
|
//--------------------------------------------------------------------------
|
|
12522
12522
|
renderIconStart() {
|
|
12523
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12523
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$_.iconStart, scale: "s" }));
|
|
12524
12524
|
}
|
|
12525
12525
|
renderIconEnd() {
|
|
12526
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12526
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$_.iconEnd, scale: "s" }));
|
|
12527
12527
|
}
|
|
12528
12528
|
renderBreadcrumbIcon(dir) {
|
|
12529
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12529
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$_.iconBreadcrumb, scale: "s" }));
|
|
12530
12530
|
}
|
|
12531
12531
|
renderDropdownIcon(dir) {
|
|
12532
12532
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12533
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12533
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12534
12534
|
? this.open
|
|
12535
12535
|
? "chevron-up"
|
|
12536
12536
|
: "chevron-down"
|
|
12537
|
-
: dirChevron, key: CSS$
|
|
12537
|
+
: dirChevron, key: CSS$_.iconDropdown, scale: "s" }));
|
|
12538
12538
|
}
|
|
12539
12539
|
renderDropdownAction(dir) {
|
|
12540
12540
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12541
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12541
|
+
return (hAsync("calcite-action", { class: CSS$_.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12542
12542
|
? this.open
|
|
12543
12543
|
? "chevron-up"
|
|
12544
12544
|
: "chevron-down"
|
|
12545
|
-
: dirChevron, key: CSS$
|
|
12545
|
+
: dirChevron, key: CSS$_.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12546
12546
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12547
12547
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12548
12548
|
}
|
|
12549
12549
|
renderSubmenuItems(dir) {
|
|
12550
12550
|
return (hAsync("calcite-menu", { class: {
|
|
12551
|
-
[CSS$
|
|
12552
|
-
[CSS$
|
|
12553
|
-
[CSS$
|
|
12551
|
+
[CSS$_.dropdownMenuItems]: true,
|
|
12552
|
+
[CSS$_.open]: this.open,
|
|
12553
|
+
[CSS$_.nested]: !this.isTopLevelItem,
|
|
12554
12554
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12555
|
-
[CSS$
|
|
12555
|
+
[CSS$_.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12556
12556
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12557
12557
|
}
|
|
12558
12558
|
renderHrefIcon(dir) {
|
|
12559
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12559
|
+
return (hAsync("calcite-icon", { class: CSS$_.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$_.hoverHrefIcon, scale: "s" }));
|
|
12560
12560
|
}
|
|
12561
12561
|
renderItemContent(dir) {
|
|
12562
12562
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12563
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12563
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$_.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
|
|
12564
12564
|
}
|
|
12565
12565
|
render() {
|
|
12566
12566
|
const dir = getElementDir(this.el);
|
|
12567
12567
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12568
|
-
[CSS$
|
|
12569
|
-
[CSS$
|
|
12570
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12568
|
+
[CSS$_.container]: true,
|
|
12569
|
+
[CSS$_.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12570
|
+
}, role: "none" }, hAsync("div", { class: CSS$_.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$_.layoutVertical]: this.layout === "vertical", [CSS$_.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12571
12571
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12572
12572
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12573
12573
|
}
|
|
@@ -12610,7 +12610,7 @@ class CalciteMenuItem {
|
|
|
12610
12610
|
}; }
|
|
12611
12611
|
}
|
|
12612
12612
|
|
|
12613
|
-
const CSS$
|
|
12613
|
+
const CSS$Z = {
|
|
12614
12614
|
container: "container",
|
|
12615
12615
|
containerContent: "container-content",
|
|
12616
12616
|
hasProgress: "progress-bar",
|
|
@@ -12759,11 +12759,11 @@ class CalciteNavigation {
|
|
|
12759
12759
|
this.navigationAction;
|
|
12760
12760
|
const slotName = this.el.slot;
|
|
12761
12761
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12762
|
-
[CSS$
|
|
12763
|
-
[CSS$
|
|
12764
|
-
[CSS$
|
|
12765
|
-
[CSS$
|
|
12766
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12762
|
+
[CSS$Z.container]: true,
|
|
12763
|
+
[CSS$Z.secondary]: slotName === SLOTS$q.navSecondary,
|
|
12764
|
+
[CSS$Z.tertiary]: slotName === SLOTS$q.navTertiary,
|
|
12765
|
+
[CSS$Z.primary]: primaryLevelHasElements,
|
|
12766
|
+
} }, hAsync("div", { class: { [CSS$Z.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Z.containerContent]: true, [CSS$Z.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Z.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Z.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12767
12767
|
}
|
|
12768
12768
|
get el() { return getElement(this); }
|
|
12769
12769
|
static get style() { return navigationCss; }
|
|
@@ -12790,7 +12790,7 @@ class CalciteNavigation {
|
|
|
12790
12790
|
}; }
|
|
12791
12791
|
}
|
|
12792
12792
|
|
|
12793
|
-
const CSS$
|
|
12793
|
+
const CSS$Y = {
|
|
12794
12794
|
container: "container",
|
|
12795
12795
|
heading: "heading",
|
|
12796
12796
|
description: "description",
|
|
@@ -12843,10 +12843,10 @@ class CalciteNavigationLogo {
|
|
|
12843
12843
|
// --------------------------------------------------------------------------
|
|
12844
12844
|
render() {
|
|
12845
12845
|
const { heading, description, thumbnail } = this;
|
|
12846
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12847
|
-
[CSS$
|
|
12848
|
-
[CSS$
|
|
12849
|
-
}, key: CSS$
|
|
12846
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$Y.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$Y.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$Y.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12847
|
+
[CSS$Y.heading]: true,
|
|
12848
|
+
[CSS$Y.standalone]: !this.description,
|
|
12849
|
+
}, key: CSS$Y.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$Y.description, key: CSS$Y.description }, description)))))));
|
|
12850
12850
|
}
|
|
12851
12851
|
static get delegatesFocus() { return true; }
|
|
12852
12852
|
get el() { return getElement(this); }
|
|
@@ -12871,7 +12871,7 @@ class CalciteNavigationLogo {
|
|
|
12871
12871
|
}; }
|
|
12872
12872
|
}
|
|
12873
12873
|
|
|
12874
|
-
const CSS$
|
|
12874
|
+
const CSS$X = {
|
|
12875
12875
|
textContainer: "text-container",
|
|
12876
12876
|
fullName: "full-name",
|
|
12877
12877
|
username: "username",
|
|
@@ -12918,7 +12918,7 @@ class CalciteNavigationUser {
|
|
|
12918
12918
|
//
|
|
12919
12919
|
// --------------------------------------------------------------------------
|
|
12920
12920
|
render() {
|
|
12921
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
12921
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$X.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$X.textContainer }, this.fullName && (hAsync("span", { class: CSS$X.fullName, key: CSS$X.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$X.username, key: CSS$X.username }, this.username)))))));
|
|
12922
12922
|
}
|
|
12923
12923
|
static get delegatesFocus() { return true; }
|
|
12924
12924
|
get el() { return getElement(this); }
|
|
@@ -12942,7 +12942,7 @@ class CalciteNavigationUser {
|
|
|
12942
12942
|
}; }
|
|
12943
12943
|
}
|
|
12944
12944
|
|
|
12945
|
-
const CSS$
|
|
12945
|
+
const CSS$W = {
|
|
12946
12946
|
container: "container",
|
|
12947
12947
|
header: "header",
|
|
12948
12948
|
footer: "footer",
|
|
@@ -13027,7 +13027,7 @@ class Card {
|
|
|
13027
13027
|
render() {
|
|
13028
13028
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13029
13029
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13030
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", 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$
|
|
13030
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", 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$W.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13031
13031
|
}
|
|
13032
13032
|
effectiveLocaleChange() {
|
|
13033
13033
|
updateMessages(this);
|
|
@@ -13037,24 +13037,24 @@ class Card {
|
|
|
13037
13037
|
this.calciteCardSelect.emit();
|
|
13038
13038
|
}
|
|
13039
13039
|
renderThumbnail() {
|
|
13040
|
-
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$
|
|
13040
|
+
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$W.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
|
|
13041
13041
|
}
|
|
13042
13042
|
renderCheckbox() {
|
|
13043
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
13043
|
+
return (hAsync("calcite-label", { class: CSS$W.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13044
13044
|
}
|
|
13045
13045
|
renderHeader() {
|
|
13046
13046
|
const { el } = this;
|
|
13047
13047
|
const title = getSlotted(el, SLOTS$p.title);
|
|
13048
13048
|
const subtitle = getSlotted(el, SLOTS$p.subtitle);
|
|
13049
13049
|
const hasHeader = title || subtitle;
|
|
13050
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
13050
|
+
return hasHeader ? (hAsync("header", { class: CSS$W.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
|
|
13051
13051
|
}
|
|
13052
13052
|
renderFooter() {
|
|
13053
13053
|
const { el } = this;
|
|
13054
13054
|
const startFooter = getSlotted(el, SLOTS$p.footerStart);
|
|
13055
13055
|
const endFooter = getSlotted(el, SLOTS$p.footerEnd);
|
|
13056
13056
|
const hasFooter = startFooter || endFooter;
|
|
13057
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
13057
|
+
return hasFooter ? (hAsync("footer", { class: CSS$W.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
|
|
13058
13058
|
}
|
|
13059
13059
|
static get assetsDirs() { return ["assets"]; }
|
|
13060
13060
|
get el() { return getElement(this); }
|
|
@@ -13217,7 +13217,7 @@ class Checkbox {
|
|
|
13217
13217
|
}; }
|
|
13218
13218
|
}
|
|
13219
13219
|
|
|
13220
|
-
const CSS$
|
|
13220
|
+
const CSS$V = {
|
|
13221
13221
|
title: "title",
|
|
13222
13222
|
close: "close",
|
|
13223
13223
|
imageContainer: "image-container",
|
|
@@ -13386,7 +13386,7 @@ class Chip {
|
|
|
13386
13386
|
//
|
|
13387
13387
|
//--------------------------------------------------------------------------
|
|
13388
13388
|
renderChipImage() {
|
|
13389
|
-
return (hAsync("div", { class: CSS$
|
|
13389
|
+
return (hAsync("div", { class: CSS$V.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
|
|
13390
13390
|
}
|
|
13391
13391
|
renderSelectionIcon() {
|
|
13392
13392
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13397,17 +13397,17 @@ class Chip {
|
|
|
13397
13397
|
? ICONS$d.checkedSingle
|
|
13398
13398
|
: undefined;
|
|
13399
13399
|
return (hAsync("div", { class: {
|
|
13400
|
-
[CSS$
|
|
13401
|
-
[CSS$
|
|
13400
|
+
[CSS$V.selectIcon]: true,
|
|
13401
|
+
[CSS$V.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13402
13402
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13403
13403
|
}
|
|
13404
13404
|
renderCloseButton() {
|
|
13405
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13405
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$V.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13406
13406
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13407
13407
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13408
13408
|
}
|
|
13409
13409
|
renderIcon() {
|
|
13410
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13410
|
+
return (hAsync("calcite-icon", { class: CSS$V.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13411
13411
|
}
|
|
13412
13412
|
render() {
|
|
13413
13413
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13421,21 +13421,21 @@ class Chip {
|
|
|
13421
13421
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13422
13422
|
? toAriaBoolean(this.selected)
|
|
13423
13423
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13424
|
-
[CSS$
|
|
13425
|
-
[CSS$
|
|
13426
|
-
[CSS$
|
|
13427
|
-
[CSS$
|
|
13428
|
-
[CSS$
|
|
13429
|
-
[CSS$
|
|
13430
|
-
[CSS$
|
|
13431
|
-
[CSS$
|
|
13424
|
+
[CSS$V.container]: true,
|
|
13425
|
+
[CSS$V.textSlotted]: this.hasText,
|
|
13426
|
+
[CSS$V.imageSlotted]: this.hasImage,
|
|
13427
|
+
[CSS$V.selectable]: this.selectionMode !== "none",
|
|
13428
|
+
[CSS$V.multiple]: this.selectionMode === "multiple",
|
|
13429
|
+
[CSS$V.closable]: this.closable,
|
|
13430
|
+
[CSS$V.nonInteractive]: !this.interactive,
|
|
13431
|
+
[CSS$V.isCircle]: !this.closable &&
|
|
13432
13432
|
!this.hasText &&
|
|
13433
13433
|
(!this.icon || !this.hasImage) &&
|
|
13434
13434
|
(this.selectionMode === "none" ||
|
|
13435
13435
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13436
13436
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13437
13437
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13438
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13438
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$V.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13439
13439
|
}
|
|
13440
13440
|
static get assetsDirs() { return ["assets"]; }
|
|
13441
13441
|
get el() { return getElement(this); }
|
|
@@ -15757,7 +15757,7 @@ function zeroArray(array, length) {
|
|
|
15757
15757
|
|
|
15758
15758
|
var color = Color;
|
|
15759
15759
|
|
|
15760
|
-
const CSS$
|
|
15760
|
+
const CSS$U = {
|
|
15761
15761
|
channel: "channel",
|
|
15762
15762
|
channels: "channels",
|
|
15763
15763
|
colorField: "color-field",
|
|
@@ -16091,7 +16091,7 @@ class ColorPicker {
|
|
|
16091
16091
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16092
16092
|
const selected = channelMode === activeChannelMode;
|
|
16093
16093
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16094
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16094
|
+
return (hAsync("calcite-tab-title", { class: CSS$U.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16095
16095
|
};
|
|
16096
16096
|
this.renderChannelsTab = (channelMode) => {
|
|
16097
16097
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16102,7 +16102,7 @@ class ColorPicker {
|
|
|
16102
16102
|
: [messages.hue, messages.saturation, messages.value];
|
|
16103
16103
|
const direction = getElementDir(this.el);
|
|
16104
16104
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16105
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16105
|
+
return (hAsync("calcite-tab", { class: CSS$U.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$U.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16106
16106
|
const isAlphaChannel = index === 3;
|
|
16107
16107
|
if (isAlphaChannel) {
|
|
16108
16108
|
channelValue =
|
|
@@ -16113,7 +16113,7 @@ class ColorPicker {
|
|
|
16113
16113
|
}))));
|
|
16114
16114
|
};
|
|
16115
16115
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16116
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16116
|
+
return (hAsync("calcite-input-number", { class: CSS$U.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
16117
16117
|
// workaround to ensure input borders overlap as desired
|
|
16118
16118
|
// this is because the build transforms margin-left to its
|
|
16119
16119
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16303,7 +16303,7 @@ class ColorPicker {
|
|
|
16303
16303
|
this.shiftKeyChannelAdjustment = 0;
|
|
16304
16304
|
const { key } = event;
|
|
16305
16305
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16306
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16306
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$U.channel))) {
|
|
16307
16307
|
return;
|
|
16308
16308
|
}
|
|
16309
16309
|
const { shiftKey } = event;
|
|
@@ -16395,35 +16395,35 @@ class ColorPicker {
|
|
|
16395
16395
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16396
16396
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16397
16397
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16398
|
-
return (hAsync("div", { class: CSS$
|
|
16398
|
+
return (hAsync("div", { class: CSS$U.container }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: CSS$U.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16399
16399
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16400
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
16400
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$U.scope]: true, [CSS$U.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16401
16401
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16402
16402
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16403
16403
|
}, tabindex: "0",
|
|
16404
16404
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16405
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16405
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$U.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$U.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$U.sliders }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16406
16406
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16407
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
16407
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$U.scope]: true, [CSS$U.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16408
16408
|
top: `${adjustedHueScopeTop}px`,
|
|
16409
16409
|
left: `${adjustedHueScopeLeft}px`,
|
|
16410
16410
|
}, tabindex: "0",
|
|
16411
16411
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16412
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16412
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16413
16413
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16414
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$
|
|
16414
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$U.scope]: true, [CSS$U.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16415
16415
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16416
16416
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16417
16417
|
}, tabindex: "0",
|
|
16418
16418
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16419
16419
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16420
|
-
[CSS$
|
|
16421
|
-
[CSS$
|
|
16422
|
-
} }, hAsync("div", { class: CSS$
|
|
16423
|
-
[CSS$
|
|
16424
|
-
[CSS$
|
|
16425
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
16426
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16420
|
+
[CSS$U.controlSection]: true,
|
|
16421
|
+
[CSS$U.section]: true,
|
|
16422
|
+
} }, hAsync("div", { class: CSS$U.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$U.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$U.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16423
|
+
[CSS$U.colorModeContainer]: true,
|
|
16424
|
+
[CSS$U.splitSection]: true,
|
|
16425
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$U.savedColorsSection]: true, [CSS$U.section]: true } }, hAsync("div", { class: CSS$U.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$U.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$U.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$U.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$U.savedColors }, [
|
|
16426
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$U.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16427
16427
|
])) : null))));
|
|
16428
16428
|
}
|
|
16429
16429
|
// --------------------------------------------------------------------------
|
|
@@ -16794,7 +16794,7 @@ class ColorPicker {
|
|
|
16794
16794
|
}; }
|
|
16795
16795
|
}
|
|
16796
16796
|
|
|
16797
|
-
const CSS$
|
|
16797
|
+
const CSS$T = {
|
|
16798
16798
|
container: "container",
|
|
16799
16799
|
hexInput: "hex-input",
|
|
16800
16800
|
opacityInput: "opacity-input",
|
|
@@ -16962,9 +16962,9 @@ class ColorPickerHexInput {
|
|
|
16962
16962
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16963
16963
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16964
16964
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16965
|
-
return (hAsync("div", { class: CSS$
|
|
16965
|
+
return (hAsync("div", { class: CSS$T.container }, hAsync("calcite-input-text", { class: CSS$T.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16966
16966
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16967
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16967
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$T.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16968
16968
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16969
16969
|
ref: this.storeOpacityInputRef })) : null));
|
|
16970
16970
|
}
|
|
@@ -17060,7 +17060,7 @@ class ColorPickerHexInput {
|
|
|
17060
17060
|
}; }
|
|
17061
17061
|
}
|
|
17062
17062
|
|
|
17063
|
-
const CSS$
|
|
17063
|
+
const CSS$S = {
|
|
17064
17064
|
swatch: "swatch",
|
|
17065
17065
|
noColorSwatch: "swatch--no-color",
|
|
17066
17066
|
checker: "checker",
|
|
@@ -17098,8 +17098,8 @@ class ColorPickerSwatch {
|
|
|
17098
17098
|
render() {
|
|
17099
17099
|
const isEmpty = !this.internalColor;
|
|
17100
17100
|
const classes = {
|
|
17101
|
-
[CSS$
|
|
17102
|
-
[CSS$
|
|
17101
|
+
[CSS$S.swatch]: true,
|
|
17102
|
+
[CSS$S.noColorSwatch]: isEmpty,
|
|
17103
17103
|
};
|
|
17104
17104
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17105
17105
|
}
|
|
@@ -17125,7 +17125,7 @@ class ColorPickerSwatch {
|
|
|
17125
17125
|
const alpha = internalColor.alpha();
|
|
17126
17126
|
const hex = hexify(internalColor);
|
|
17127
17127
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17128
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
17128
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
17129
17129
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17130
17130
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17131
17131
|
}
|
|
@@ -18854,7 +18854,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18854
18854
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18855
18855
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18856
18856
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18857
|
-
const CSS$
|
|
18857
|
+
const CSS$R = {
|
|
18858
18858
|
listContainer: "list-container",
|
|
18859
18859
|
};
|
|
18860
18860
|
|
|
@@ -18879,11 +18879,11 @@ function getDepth$1(element) {
|
|
|
18879
18879
|
}
|
|
18880
18880
|
}
|
|
18881
18881
|
|
|
18882
|
-
const CSS$
|
|
18882
|
+
const CSS$Q = {
|
|
18883
18883
|
button: "x-button",
|
|
18884
18884
|
};
|
|
18885
18885
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18886
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18886
|
+
return (hAsync("button", { "aria-label": label, class: CSS$Q.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18887
18887
|
// eslint-disable-next-line react/jsx-sort-props
|
|
18888
18888
|
ref: ref },
|
|
18889
18889
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19081,7 +19081,7 @@ class Combobox {
|
|
|
19081
19081
|
event.preventDefault();
|
|
19082
19082
|
return;
|
|
19083
19083
|
}
|
|
19084
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19084
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$Q.button))) {
|
|
19085
19085
|
this.clearValue();
|
|
19086
19086
|
event.preventDefault();
|
|
19087
19087
|
return;
|
|
@@ -19687,7 +19687,7 @@ class Combobox {
|
|
|
19687
19687
|
renderFloatingUIContainer() {
|
|
19688
19688
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19689
19689
|
const classes = {
|
|
19690
|
-
[CSS$
|
|
19690
|
+
[CSS$R.listContainer]: true,
|
|
19691
19691
|
[FloatingCSS.animation]: true,
|
|
19692
19692
|
[FloatingCSS.animationActive]: open,
|
|
19693
19693
|
};
|
|
@@ -19784,7 +19784,7 @@ class Combobox {
|
|
|
19784
19784
|
}; }
|
|
19785
19785
|
}
|
|
19786
19786
|
|
|
19787
|
-
const CSS$
|
|
19787
|
+
const CSS$P = {
|
|
19788
19788
|
icon: "icon",
|
|
19789
19789
|
iconActive: "icon--active",
|
|
19790
19790
|
iconIndent: "icon--indent",
|
|
@@ -19863,20 +19863,20 @@ class ComboboxItem {
|
|
|
19863
19863
|
// --------------------------------------------------------------------------
|
|
19864
19864
|
renderIcon(iconPath) {
|
|
19865
19865
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19866
|
-
[CSS$
|
|
19867
|
-
[CSS$
|
|
19868
|
-
[CSS$
|
|
19866
|
+
[CSS$P.custom]: !!this.icon,
|
|
19867
|
+
[CSS$P.iconActive]: this.icon && this.selected,
|
|
19868
|
+
[CSS$P.iconIndent]: true,
|
|
19869
19869
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19870
19870
|
}
|
|
19871
19871
|
renderSelectIndicator(showDot, iconPath) {
|
|
19872
19872
|
return showDot ? (hAsync("span", { class: {
|
|
19873
|
-
[CSS$
|
|
19874
|
-
[CSS$
|
|
19875
|
-
[CSS$
|
|
19873
|
+
[CSS$P.icon]: true,
|
|
19874
|
+
[CSS$P.dot]: true,
|
|
19875
|
+
[CSS$P.iconIndent]: true,
|
|
19876
19876
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19877
|
-
[CSS$
|
|
19878
|
-
[CSS$
|
|
19879
|
-
[CSS$
|
|
19877
|
+
[CSS$P.icon]: true,
|
|
19878
|
+
[CSS$P.iconActive]: this.selected,
|
|
19879
|
+
[CSS$P.iconIndent]: true,
|
|
19880
19880
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19881
19881
|
}
|
|
19882
19882
|
renderChildren() {
|
|
@@ -19891,10 +19891,10 @@ class ComboboxItem {
|
|
|
19891
19891
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19892
19892
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19893
19893
|
const classes = {
|
|
19894
|
-
[CSS$
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19894
|
+
[CSS$P.label]: true,
|
|
19895
|
+
[CSS$P.selected]: this.selected,
|
|
19896
|
+
[CSS$P.active]: this.active,
|
|
19897
|
+
[CSS$P.single]: isSingleSelect,
|
|
19898
19898
|
};
|
|
19899
19899
|
const depth = getDepth$1();
|
|
19900
19900
|
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())));
|
|
@@ -19925,7 +19925,7 @@ class ComboboxItem {
|
|
|
19925
19925
|
}; }
|
|
19926
19926
|
}
|
|
19927
19927
|
|
|
19928
|
-
const CSS$
|
|
19928
|
+
const CSS$O = {
|
|
19929
19929
|
list: "list",
|
|
19930
19930
|
label: "label",
|
|
19931
19931
|
title: "title",
|
|
@@ -19962,7 +19962,7 @@ class ComboboxItemGroup {
|
|
|
19962
19962
|
render() {
|
|
19963
19963
|
const { el, scale } = this;
|
|
19964
19964
|
const depth = getDepth$1();
|
|
19965
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19965
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$O.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$O.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$O.title }, this.label)), hAsync("slot", null)));
|
|
19966
19966
|
}
|
|
19967
19967
|
get el() { return getElement(this); }
|
|
19968
19968
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21138,7 +21138,7 @@ class DatePickerMonth {
|
|
|
21138
21138
|
}; }
|
|
21139
21139
|
}
|
|
21140
21140
|
|
|
21141
|
-
const CSS$
|
|
21141
|
+
const CSS$N = {
|
|
21142
21142
|
header: "header",
|
|
21143
21143
|
month: "month",
|
|
21144
21144
|
chevron: "chevron",
|
|
@@ -21238,7 +21238,7 @@ class DatePickerMonthHeader {
|
|
|
21238
21238
|
this.setNextPrevMonthDates();
|
|
21239
21239
|
}
|
|
21240
21240
|
render() {
|
|
21241
|
-
return hAsync("div", { class: CSS$
|
|
21241
|
+
return hAsync("div", { class: CSS$N.header }, this.renderContent());
|
|
21242
21242
|
}
|
|
21243
21243
|
renderContent() {
|
|
21244
21244
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21261,12 +21261,12 @@ class DatePickerMonthHeader {
|
|
|
21261
21261
|
const order = getOrder(unitOrder);
|
|
21262
21262
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21263
21263
|
const suffix = localeData.year?.suffix;
|
|
21264
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21264
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$N.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$N.textReverse]: reverse } }, hAsync(Heading, { class: CSS$N.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$N.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21265
21265
|
year: true,
|
|
21266
|
-
[CSS$
|
|
21266
|
+
[CSS$N.yearSuffix]: !!suffix,
|
|
21267
21267
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21268
21268
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21269
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21269
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$N.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$N.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 }))));
|
|
21270
21270
|
}
|
|
21271
21271
|
setNextPrevMonthDates() {
|
|
21272
21272
|
if (!this.activeDate) {
|
|
@@ -21642,12 +21642,8 @@ class Dropdown {
|
|
|
21642
21642
|
const target = keyboardEvent.target;
|
|
21643
21643
|
switch (keyboardEvent.key) {
|
|
21644
21644
|
case "Tab":
|
|
21645
|
-
|
|
21646
|
-
|
|
21647
|
-
}
|
|
21648
|
-
else if (this.items.indexOf(target) === 0 && keyboardEvent.shiftKey) {
|
|
21649
|
-
this.closeCalciteDropdown();
|
|
21650
|
-
}
|
|
21645
|
+
this.open = false;
|
|
21646
|
+
this.updateTabIndexOfItems(target);
|
|
21651
21647
|
break;
|
|
21652
21648
|
case "ArrowDown":
|
|
21653
21649
|
focusElementInGroup(this.items, target, "next");
|
|
@@ -21727,6 +21723,11 @@ class Dropdown {
|
|
|
21727
21723
|
: item;
|
|
21728
21724
|
focusElement(target);
|
|
21729
21725
|
}
|
|
21726
|
+
updateTabIndexOfItems(target) {
|
|
21727
|
+
this.items.forEach((item) => {
|
|
21728
|
+
item.tabIndex = target !== item ? -1 : 0;
|
|
21729
|
+
});
|
|
21730
|
+
}
|
|
21730
21731
|
static get delegatesFocus() { return true; }
|
|
21731
21732
|
get el() { return getElement(this); }
|
|
21732
21733
|
static get watchers() { return {
|
|
@@ -21762,7 +21763,7 @@ class Dropdown {
|
|
|
21762
21763
|
}; }
|
|
21763
21764
|
}
|
|
21764
21765
|
|
|
21765
|
-
const CSS$
|
|
21766
|
+
const CSS$M = {
|
|
21766
21767
|
containerSmall: "container--s",
|
|
21767
21768
|
containerMedium: "container--m",
|
|
21768
21769
|
containerLarge: "container--l",
|
|
@@ -21795,9 +21796,9 @@ class DropdownGroup {
|
|
|
21795
21796
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21796
21797
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21797
21798
|
container: true,
|
|
21798
|
-
[CSS$
|
|
21799
|
-
[CSS$
|
|
21800
|
-
[CSS$
|
|
21799
|
+
[CSS$M.containerSmall]: scale === "s",
|
|
21800
|
+
[CSS$M.containerMedium]: scale === "m",
|
|
21801
|
+
[CSS$M.containerLarge]: scale === "l",
|
|
21801
21802
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21802
21803
|
}
|
|
21803
21804
|
//--------------------------------------------------------------------------
|
|
@@ -21838,7 +21839,7 @@ class DropdownGroup {
|
|
|
21838
21839
|
}; }
|
|
21839
21840
|
}
|
|
21840
21841
|
|
|
21841
|
-
const CSS$
|
|
21842
|
+
const CSS$L = {
|
|
21842
21843
|
containerLink: "container--link",
|
|
21843
21844
|
containerSmall: "container--s",
|
|
21844
21845
|
containerMedium: "container--m",
|
|
@@ -21904,9 +21905,9 @@ class DropdownItem {
|
|
|
21904
21905
|
render() {
|
|
21905
21906
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
21906
21907
|
const { href, selectionMode, label, iconFlipRtl } = this;
|
|
21907
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21908
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21909
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21908
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$L.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21909
|
+
const contentNode = (hAsync("span", { class: CSS$L.itemContent }, hAsync("slot", null)));
|
|
21910
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$L.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21910
21911
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21911
21912
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21912
21913
|
: this.iconStart
|
|
@@ -21914,7 +21915,7 @@ class DropdownItem {
|
|
|
21914
21915
|
: this.iconEnd
|
|
21915
21916
|
? [contentNode, iconEndEl]
|
|
21916
21917
|
: contentNode;
|
|
21917
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
21918
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$L.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21918
21919
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21919
21920
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21920
21921
|
const itemRole = href
|
|
@@ -21927,14 +21928,14 @@ class DropdownItem {
|
|
|
21927
21928
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21928
21929
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21929
21930
|
container: true,
|
|
21930
|
-
[CSS$
|
|
21931
|
-
[CSS$
|
|
21932
|
-
[CSS$
|
|
21933
|
-
[CSS$
|
|
21934
|
-
[CSS$
|
|
21935
|
-
[CSS$
|
|
21936
|
-
[CSS$
|
|
21937
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21931
|
+
[CSS$L.containerLink]: !!href,
|
|
21932
|
+
[CSS$L.containerSmall]: scale === "s",
|
|
21933
|
+
[CSS$L.containerMedium]: scale === "m",
|
|
21934
|
+
[CSS$L.containerLarge]: scale === "l",
|
|
21935
|
+
[CSS$L.containerMulti]: selectionMode === "multiple",
|
|
21936
|
+
[CSS$L.containerSingle]: selectionMode === "single",
|
|
21937
|
+
[CSS$L.containerNone]: selectionMode === "none",
|
|
21938
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$L.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21938
21939
|
}
|
|
21939
21940
|
//--------------------------------------------------------------------------
|
|
21940
21941
|
//
|
|
@@ -22040,7 +22041,7 @@ class DropdownItem {
|
|
|
22040
22041
|
}; }
|
|
22041
22042
|
}
|
|
22042
22043
|
|
|
22043
|
-
const CSS$
|
|
22044
|
+
const CSS$K = {
|
|
22044
22045
|
button: "button",
|
|
22045
22046
|
};
|
|
22046
22047
|
const ICONS$c = {
|
|
@@ -22101,7 +22102,7 @@ class Fab {
|
|
|
22101
22102
|
render() {
|
|
22102
22103
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22103
22104
|
const title = !textEnabled ? label || text || null : null;
|
|
22104
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22105
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$K.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",
|
|
22105
22106
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22106
22107
|
ref: (buttonEl) => {
|
|
22107
22108
|
this.buttonEl = buttonEl;
|
|
@@ -22131,7 +22132,7 @@ class Fab {
|
|
|
22131
22132
|
}; }
|
|
22132
22133
|
}
|
|
22133
22134
|
|
|
22134
|
-
const CSS$
|
|
22135
|
+
const CSS$J = {
|
|
22135
22136
|
container: "container",
|
|
22136
22137
|
searchIcon: "search-icon",
|
|
22137
22138
|
};
|
|
@@ -22260,7 +22261,7 @@ class Filter {
|
|
|
22260
22261
|
// --------------------------------------------------------------------------
|
|
22261
22262
|
render() {
|
|
22262
22263
|
const { disabled, scale } = this;
|
|
22263
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22264
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$J.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22264
22265
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22265
22266
|
ref: (el) => {
|
|
22266
22267
|
this.textInput = el;
|
|
@@ -22299,7 +22300,7 @@ class Filter {
|
|
|
22299
22300
|
}; }
|
|
22300
22301
|
}
|
|
22301
22302
|
|
|
22302
|
-
const CSS$
|
|
22303
|
+
const CSS$I = {
|
|
22303
22304
|
frame: "frame",
|
|
22304
22305
|
frameAdvancing: "frame--advancing",
|
|
22305
22306
|
frameRetreating: "frame--retreating",
|
|
@@ -22414,9 +22415,9 @@ class Flow {
|
|
|
22414
22415
|
render() {
|
|
22415
22416
|
const { flowDirection } = this;
|
|
22416
22417
|
const frameDirectionClasses = {
|
|
22417
|
-
[CSS$
|
|
22418
|
-
[CSS$
|
|
22419
|
-
[CSS$
|
|
22418
|
+
[CSS$I.frame]: true,
|
|
22419
|
+
[CSS$I.frameAdvancing]: flowDirection === "advancing",
|
|
22420
|
+
[CSS$I.frameRetreating]: flowDirection === "retreating",
|
|
22420
22421
|
};
|
|
22421
22422
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22422
22423
|
}
|
|
@@ -22438,7 +22439,7 @@ class Flow {
|
|
|
22438
22439
|
}; }
|
|
22439
22440
|
}
|
|
22440
22441
|
|
|
22441
|
-
const CSS$
|
|
22442
|
+
const CSS$H = {
|
|
22442
22443
|
actionBarContainer: "action-bar-container",
|
|
22443
22444
|
backButton: "back-button",
|
|
22444
22445
|
container: "container",
|
|
@@ -22473,7 +22474,7 @@ const SLOTS$m = {
|
|
|
22473
22474
|
footerActions: "footer-actions",
|
|
22474
22475
|
};
|
|
22475
22476
|
|
|
22476
|
-
const CSS$
|
|
22477
|
+
const CSS$G = {
|
|
22477
22478
|
backButton: "back-button",
|
|
22478
22479
|
};
|
|
22479
22480
|
const ICONS$9 = {
|
|
@@ -22621,7 +22622,7 @@ class FlowItem {
|
|
|
22621
22622
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22622
22623
|
const label = messages.back;
|
|
22623
22624
|
const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
|
|
22624
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22625
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$G.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22625
22626
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22626
22627
|
ref: this.setBackRef })) : null;
|
|
22627
22628
|
}
|
|
@@ -22885,7 +22886,7 @@ class Graph {
|
|
|
22885
22886
|
}; }
|
|
22886
22887
|
}
|
|
22887
22888
|
|
|
22888
|
-
const CSS$
|
|
22889
|
+
const CSS$F = {
|
|
22889
22890
|
handle: "handle",
|
|
22890
22891
|
handleActivated: "handle--activated",
|
|
22891
22892
|
};
|
|
@@ -23008,7 +23009,7 @@ class Handle {
|
|
|
23008
23009
|
render() {
|
|
23009
23010
|
return (
|
|
23010
23011
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23011
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23012
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$F.handle]: true, [CSS$F.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23012
23013
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23013
23014
|
ref: (el) => {
|
|
23014
23015
|
this.handleButton = el;
|
|
@@ -23047,7 +23048,7 @@ class Handle {
|
|
|
23047
23048
|
}; }
|
|
23048
23049
|
}
|
|
23049
23050
|
|
|
23050
|
-
const CSS$
|
|
23051
|
+
const CSS$E = {
|
|
23051
23052
|
icon: "icon",
|
|
23052
23053
|
flipRtl: "flip-rtl",
|
|
23053
23054
|
};
|
|
@@ -23095,7 +23096,7 @@ class Icon {
|
|
|
23095
23096
|
const semantic = !!textLabel;
|
|
23096
23097
|
const paths = [].concat(pathData || "");
|
|
23097
23098
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23098
|
-
[CSS$
|
|
23099
|
+
[CSS$E.flipRtl]: dir === "rtl" && flipRtl,
|
|
23099
23100
|
svg: true,
|
|
23100
23101
|
}, 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 }))))));
|
|
23101
23102
|
}
|
|
@@ -23141,7 +23142,7 @@ class Icon {
|
|
|
23141
23142
|
}; }
|
|
23142
23143
|
}
|
|
23143
23144
|
|
|
23144
|
-
const CSS$
|
|
23145
|
+
const CSS$D = {
|
|
23145
23146
|
wrapper: "wrapper",
|
|
23146
23147
|
confirmChangesButton: "confirm-changes-button",
|
|
23147
23148
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23291,16 +23292,16 @@ class InlineEditable {
|
|
|
23291
23292
|
updateHostInteraction(this);
|
|
23292
23293
|
}
|
|
23293
23294
|
render() {
|
|
23294
|
-
return (hAsync("div", { class: CSS$
|
|
23295
|
+
return (hAsync("div", { class: CSS$D.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$D.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$D.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23295
23296
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23296
23297
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23297
23298
|
}, type: "button",
|
|
23298
23299
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23299
23300
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23300
|
-
hAsync("div", { class: CSS$
|
|
23301
|
+
hAsync("div", { class: CSS$D.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23301
23302
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23302
23303
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23303
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23304
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$D.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23304
23305
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23305
23306
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23306
23307
|
])));
|
|
@@ -23386,7 +23387,7 @@ class InlineEditable {
|
|
|
23386
23387
|
}; }
|
|
23387
23388
|
}
|
|
23388
23389
|
|
|
23389
|
-
const CSS$
|
|
23390
|
+
const CSS$C = {
|
|
23390
23391
|
loader: "loader",
|
|
23391
23392
|
clearButton: "clear-button",
|
|
23392
23393
|
editingEnabled: "editing-enabled",
|
|
@@ -23970,38 +23971,38 @@ class Input {
|
|
|
23970
23971
|
// --------------------------------------------------------------------------
|
|
23971
23972
|
render() {
|
|
23972
23973
|
const dir = getElementDir(this.el);
|
|
23973
|
-
const loader = (hAsync("div", { class: CSS$
|
|
23974
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
23975
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
23974
|
+
const loader = (hAsync("div", { class: CSS$C.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
23975
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$C.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
23976
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$C.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
23976
23977
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
23977
23978
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23978
|
-
[CSS$
|
|
23979
|
-
[CSS$
|
|
23979
|
+
[CSS$C.numberButtonItem]: true,
|
|
23980
|
+
[CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
23980
23981
|
}, "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" })));
|
|
23981
23982
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23982
|
-
[CSS$
|
|
23983
|
-
[CSS$
|
|
23983
|
+
[CSS$C.numberButtonItem]: true,
|
|
23984
|
+
[CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
23984
23985
|
}, "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" })));
|
|
23985
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
23986
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
23987
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
23986
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$C.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
23987
|
+
const prefixText = hAsync("div", { class: CSS$C.prefix }, this.prefixText);
|
|
23988
|
+
const suffixText = hAsync("div", { class: CSS$C.suffix }, this.suffixText);
|
|
23988
23989
|
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,
|
|
23989
23990
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23990
23991
|
ref: this.setChildNumberElRef })) : null;
|
|
23991
23992
|
const childEl = this.type !== "number"
|
|
23992
23993
|
? [
|
|
23993
23994
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
23994
|
-
[CSS$
|
|
23995
|
-
[CSS$
|
|
23995
|
+
[CSS$C.editingEnabled]: this.editingEnabled,
|
|
23996
|
+
[CSS$C.inlineChild]: !!this.inlineEditableEl,
|
|
23996
23997
|
}, 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,
|
|
23997
23998
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23998
23999
|
ref: this.setChildElRef }),
|
|
23999
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24000
|
+
this.isTextarea ? (hAsync("div", { class: CSS$C.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24000
24001
|
]
|
|
24001
24002
|
: null;
|
|
24002
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24003
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$C.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24003
24004
|
? numberButtonsHorizontalDown
|
|
24004
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24005
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$C.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$C.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24005
24006
|
? numberButtonsVertical
|
|
24006
24007
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24007
24008
|
? numberButtonsHorizontalUp
|
|
@@ -24076,7 +24077,7 @@ class Input {
|
|
|
24076
24077
|
}; }
|
|
24077
24078
|
}
|
|
24078
24079
|
|
|
24079
|
-
const CSS$
|
|
24080
|
+
const CSS$B = {
|
|
24080
24081
|
assistiveText: "assistive-text",
|
|
24081
24082
|
menu: "menu-container",
|
|
24082
24083
|
menuActive: "menu-container--active",
|
|
@@ -25511,9 +25512,9 @@ class InputDatePicker {
|
|
|
25511
25512
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25512
25513
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "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",
|
|
25513
25514
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25514
|
-
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25515
|
-
[CSS$
|
|
25516
|
-
[CSS$
|
|
25515
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$B.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
25516
|
+
[CSS$B.menu]: true,
|
|
25517
|
+
[CSS$B.menuActive]: this.open,
|
|
25517
25518
|
}, id: this.dialogId, role: "dialog",
|
|
25518
25519
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25519
25520
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25532,10 +25533,10 @@ class InputDatePicker {
|
|
|
25532
25533
|
"border-top-color-one": this.layout === "vertical" && this.range,
|
|
25533
25534
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25534
25535
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25535
|
-
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25536
|
+
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25536
25537
|
}
|
|
25537
25538
|
renderToggleIcon(open) {
|
|
25538
|
-
return (hAsync("span", { class: CSS$
|
|
25539
|
+
return (hAsync("span", { class: CSS$B.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25539
25540
|
}
|
|
25540
25541
|
setReferenceEl() {
|
|
25541
25542
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25783,7 +25784,7 @@ class InputMessage {
|
|
|
25783
25784
|
}; }
|
|
25784
25785
|
}
|
|
25785
25786
|
|
|
25786
|
-
const CSS$
|
|
25787
|
+
const CSS$A = {
|
|
25787
25788
|
loader: "loader",
|
|
25788
25789
|
clearButton: "clear-button",
|
|
25789
25790
|
editingEnabled: "editing-enabled",
|
|
@@ -26292,27 +26293,27 @@ class InputNumber {
|
|
|
26292
26293
|
// --------------------------------------------------------------------------
|
|
26293
26294
|
render() {
|
|
26294
26295
|
const dir = getElementDir(this.el);
|
|
26295
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26296
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26297
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26296
|
+
const loader = (hAsync("div", { class: CSS$A.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26297
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$A.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26298
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$A.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26298
26299
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26299
26300
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26300
|
-
[CSS$
|
|
26301
|
-
[CSS$
|
|
26301
|
+
[CSS$A.numberButtonItem]: true,
|
|
26302
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26302
26303
|
}, "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" })));
|
|
26303
26304
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26304
|
-
[CSS$
|
|
26305
|
-
[CSS$
|
|
26305
|
+
[CSS$A.numberButtonItem]: true,
|
|
26306
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26306
26307
|
}, "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" })));
|
|
26307
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26308
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26309
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26308
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$A.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26309
|
+
const prefixText = hAsync("div", { class: CSS$A.prefix }, this.prefixText);
|
|
26310
|
+
const suffixText = hAsync("div", { class: CSS$A.suffix }, this.suffixText);
|
|
26310
26311
|
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,
|
|
26311
26312
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26312
26313
|
ref: this.setChildNumberElRef }));
|
|
26313
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26314
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$A.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26314
26315
|
? numberButtonsHorizontalDown
|
|
26315
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26316
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$A.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$A.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26316
26317
|
? numberButtonsHorizontalUp
|
|
26317
26318
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26318
26319
|
}
|
|
@@ -26379,7 +26380,7 @@ class InputNumber {
|
|
|
26379
26380
|
}; }
|
|
26380
26381
|
}
|
|
26381
26382
|
|
|
26382
|
-
const CSS$
|
|
26383
|
+
const CSS$z = {
|
|
26383
26384
|
loader: "loader",
|
|
26384
26385
|
clearButton: "clear-button",
|
|
26385
26386
|
editingEnabled: "editing-enabled",
|
|
@@ -26679,18 +26680,18 @@ class InputText {
|
|
|
26679
26680
|
// --------------------------------------------------------------------------
|
|
26680
26681
|
render() {
|
|
26681
26682
|
const dir = getElementDir(this.el);
|
|
26682
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26683
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26684
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26685
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26686
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26683
|
+
const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26684
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26685
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26686
|
+
const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
|
|
26687
|
+
const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
|
|
26687
26688
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26688
|
-
[CSS$
|
|
26689
|
-
[CSS$
|
|
26689
|
+
[CSS$z.editingEnabled]: this.editingEnabled,
|
|
26690
|
+
[CSS$z.inlineChild]: !!this.inlineEditableEl,
|
|
26690
26691
|
}, 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,
|
|
26691
26692
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26692
26693
|
ref: this.setChildElRef }));
|
|
26693
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26694
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26694
26695
|
}
|
|
26695
26696
|
static get assetsDirs() { return ["assets"]; }
|
|
26696
26697
|
get el() { return getElement(this); }
|
|
@@ -26928,7 +26929,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
26928
26929
|
return isoTimeString;
|
|
26929
26930
|
}
|
|
26930
26931
|
|
|
26931
|
-
const CSS$
|
|
26932
|
+
const CSS$y = {
|
|
26932
26933
|
toggleIcon: "toggle-icon",
|
|
26933
26934
|
};
|
|
26934
26935
|
|
|
@@ -28593,14 +28594,14 @@ class InputTimePicker {
|
|
|
28593
28594
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
28594
28595
|
return (hAsync(Host, { onBlur: this.hostBlurHandler, 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), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
28595
28596
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28596
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28597
|
+
ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28597
28598
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28598
28599
|
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, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
28599
28600
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28600
28601
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28601
28602
|
}
|
|
28602
28603
|
renderToggleIcon(open) {
|
|
28603
|
-
return (hAsync("span", { class: CSS$
|
|
28604
|
+
return (hAsync("span", { class: CSS$y.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28604
28605
|
}
|
|
28605
28606
|
static get delegatesFocus() { return true; }
|
|
28606
28607
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -28844,7 +28845,7 @@ class InputTimeZone {
|
|
|
28844
28845
|
}; }
|
|
28845
28846
|
}
|
|
28846
28847
|
|
|
28847
|
-
const CSS$
|
|
28848
|
+
const CSS$x = {
|
|
28848
28849
|
container: "container",
|
|
28849
28850
|
};
|
|
28850
28851
|
|
|
@@ -28884,7 +28885,7 @@ class Label {
|
|
|
28884
28885
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
28885
28886
|
}
|
|
28886
28887
|
render() {
|
|
28887
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
28888
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$x.container }, hAsync("slot", null))));
|
|
28888
28889
|
}
|
|
28889
28890
|
get el() { return getElement(this); }
|
|
28890
28891
|
static get style() { return labelCss; }
|
|
@@ -29019,7 +29020,7 @@ class Link {
|
|
|
29019
29020
|
}; }
|
|
29020
29021
|
}
|
|
29021
29022
|
|
|
29022
|
-
const CSS$
|
|
29023
|
+
const CSS$w = {
|
|
29023
29024
|
container: "container",
|
|
29024
29025
|
containerBorderSelected: "container--border-selected",
|
|
29025
29026
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29086,7 +29087,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29086
29087
|
}
|
|
29087
29088
|
}
|
|
29088
29089
|
|
|
29089
|
-
const CSS$
|
|
29090
|
+
const CSS$v = {
|
|
29090
29091
|
container: "container",
|
|
29091
29092
|
table: "table",
|
|
29092
29093
|
scrim: "scrim",
|
|
@@ -32197,7 +32198,7 @@ function onSortingEnd(activeComponent) {
|
|
|
32197
32198
|
getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.delete(component));
|
|
32198
32199
|
}
|
|
32199
32200
|
|
|
32200
|
-
const CSS$
|
|
32201
|
+
const CSS$u = {
|
|
32201
32202
|
container: "container",
|
|
32202
32203
|
actionsStart: "actions-start",
|
|
32203
32204
|
contentStart: "content-start",
|
|
@@ -32516,9 +32517,9 @@ class List$1 {
|
|
|
32516
32517
|
// --------------------------------------------------------------------------
|
|
32517
32518
|
render() {
|
|
32518
32519
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32519
|
-
return (hAsync("div", { class: CSS$
|
|
32520
|
+
return (hAsync("div", { class: CSS$v.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$v.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$v.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$v.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$v.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$v.stack }, hAsync("slot", { name: SLOTS$g.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$f.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
32520
32521
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32521
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
32522
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$v.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32522
32523
|
}
|
|
32523
32524
|
// --------------------------------------------------------------------------
|
|
32524
32525
|
//
|
|
@@ -32933,47 +32934,47 @@ class ListItem {
|
|
|
32933
32934
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
32934
32935
|
return null;
|
|
32935
32936
|
}
|
|
32936
|
-
return (hAsync("td", { class: CSS$
|
|
32937
|
+
return (hAsync("td", { class: CSS$w.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
32937
32938
|
? selectionMode === "multiple"
|
|
32938
32939
|
? ICONS$7.selectedMultiple
|
|
32939
32940
|
: ICONS$7.selectedSingle
|
|
32940
32941
|
: ICONS$7.unselected, scale: "s" })));
|
|
32941
32942
|
}
|
|
32942
32943
|
renderDragHandle() {
|
|
32943
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
32944
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$w.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
32944
32945
|
}
|
|
32945
32946
|
renderOpen() {
|
|
32946
32947
|
const { el, open, openable, parentListEl } = this;
|
|
32947
32948
|
const dir = getElementDir(el);
|
|
32948
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
32949
|
+
return openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$7.open : dir === "rtl" ? ICONS$7.closedRTL : ICONS$7.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
|
|
32949
32950
|
}
|
|
32950
32951
|
renderActionsStart() {
|
|
32951
32952
|
const { label, hasActionsStart } = this;
|
|
32952
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
32953
|
+
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
32953
32954
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32954
32955
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$h.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
32955
32956
|
}
|
|
32956
32957
|
renderActionsEnd() {
|
|
32957
32958
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
32958
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
32959
|
+
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
32959
32960
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32960
32961
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$h.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
32961
32962
|
}
|
|
32962
32963
|
renderContentStart() {
|
|
32963
32964
|
const { hasContentStart } = this;
|
|
32964
|
-
return (hAsync("div", { class: CSS$
|
|
32965
|
+
return (hAsync("div", { class: CSS$w.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$h.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
32965
32966
|
}
|
|
32966
32967
|
renderCustomContent() {
|
|
32967
32968
|
const { hasCustomContent } = this;
|
|
32968
|
-
return (hAsync("div", { class: CSS$
|
|
32969
|
+
return (hAsync("div", { class: CSS$w.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$h.content, onSlotchange: this.handleContentSlotChange })));
|
|
32969
32970
|
}
|
|
32970
32971
|
renderContentEnd() {
|
|
32971
32972
|
const { hasContentEnd } = this;
|
|
32972
|
-
return (hAsync("div", { class: CSS$
|
|
32973
|
+
return (hAsync("div", { class: CSS$w.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$h.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
32973
32974
|
}
|
|
32974
32975
|
renderContentProperties() {
|
|
32975
32976
|
const { label, description, hasCustomContent } = this;
|
|
32976
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
32977
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$w.content, key: "content" }, label ? (hAsync("div", { class: CSS$w.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$w.description, key: "description" }, description)) : null)) : null;
|
|
32977
32978
|
}
|
|
32978
32979
|
renderContentContainer() {
|
|
32979
32980
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -32985,9 +32986,9 @@ class ListItem {
|
|
|
32985
32986
|
this.renderContentEnd(),
|
|
32986
32987
|
];
|
|
32987
32988
|
return (hAsync("td", { "aria-label": label, class: {
|
|
32988
|
-
[CSS$
|
|
32989
|
-
[CSS$
|
|
32990
|
-
[CSS$
|
|
32989
|
+
[CSS$w.contentContainer]: true,
|
|
32990
|
+
[CSS$w.contentContainerSelectable]: selectionMode !== "none",
|
|
32991
|
+
[CSS$w.contentContainerHasCenterContent]: hasCenterContent,
|
|
32991
32992
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
32992
32993
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32993
32994
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -32998,14 +32999,14 @@ class ListItem {
|
|
|
32998
32999
|
const borderSelected = showBorder && selected;
|
|
32999
33000
|
const borderUnselected = showBorder && !selected;
|
|
33000
33001
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
33001
|
-
[CSS$
|
|
33002
|
-
[CSS$
|
|
33003
|
-
[CSS$
|
|
33002
|
+
[CSS$w.container]: true,
|
|
33003
|
+
[CSS$w.containerBorderSelected]: borderSelected,
|
|
33004
|
+
[CSS$w.containerBorderUnselected]: borderUnselected,
|
|
33004
33005
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33005
33006
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33006
33007
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33007
|
-
[CSS$
|
|
33008
|
-
[CSS$
|
|
33008
|
+
[CSS$w.nestedContainer]: true,
|
|
33009
|
+
[CSS$w.nestedContainerHidden]: openable && !open,
|
|
33009
33010
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33010
33011
|
}
|
|
33011
33012
|
// --------------------------------------------------------------------------
|
|
@@ -33095,7 +33096,7 @@ class ListItem {
|
|
|
33095
33096
|
}; }
|
|
33096
33097
|
}
|
|
33097
33098
|
|
|
33098
|
-
const CSS$
|
|
33099
|
+
const CSS$t = {
|
|
33099
33100
|
container: "container",
|
|
33100
33101
|
heading: "heading",
|
|
33101
33102
|
};
|
|
@@ -33144,7 +33145,7 @@ class ListItemGroup {
|
|
|
33144
33145
|
// --------------------------------------------------------------------------
|
|
33145
33146
|
render() {
|
|
33146
33147
|
const { heading, visualLevel } = this;
|
|
33147
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33148
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$t.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$t.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
33148
33149
|
}
|
|
33149
33150
|
get el() { return getElement(this); }
|
|
33150
33151
|
static get style() { return listItemGroupCss; }
|
|
@@ -33244,6 +33245,349 @@ class Loader {
|
|
|
33244
33245
|
}; }
|
|
33245
33246
|
}
|
|
33246
33247
|
|
|
33248
|
+
const CSS$s = {
|
|
33249
|
+
container: "container",
|
|
33250
|
+
fill: "fill",
|
|
33251
|
+
stepLine: "step-line",
|
|
33252
|
+
label: "label",
|
|
33253
|
+
labelHidden: "label-hidden",
|
|
33254
|
+
labelRange: "label-range",
|
|
33255
|
+
labelValue: "label-value",
|
|
33256
|
+
unitLabel: "unit-label",
|
|
33257
|
+
stepsVisible: "steps-visible",
|
|
33258
|
+
valueVisible: "value-visible",
|
|
33259
|
+
success: "fill-success",
|
|
33260
|
+
warning: "fill-warning",
|
|
33261
|
+
danger: "fill-danger",
|
|
33262
|
+
};
|
|
33263
|
+
|
|
33264
|
+
const meterCss = "/*!@:host([disabled])*/[disabled].sc-calcite-meter-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-meter-h *.sc-calcite-meter,.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>*{pointer-events:none}/*!@:host([hidden])*/[hidden].sc-calcite-meter-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-meter{display:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>[calcite-hydrated][disabled],[disabled].sc-calcite-meter-h [calcite-hydrated][disabled].sc-calcite-meter{opacity:1}/*!@:host*/.sc-calcite-meter-h{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}/*!@:host([scale=s])*/[scale=s].sc-calcite-meter-h{--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}/*!@:host([scale=l])*/[scale=l].sc-calcite-meter-h{--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}/*!@.container*/.container.sc-calcite-meter{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-ui-foreground-2);border:1px solid var(--calcite-ui-border-3);border-radius:var(--calcite-meter-height-internal)}/*!@.solid*/.solid.sc-calcite-meter{border:1px solid var(--calcite-ui-foreground-3);background-color:var(--calcite-ui-foreground-3)}/*!@.outline*/.outline.sc-calcite-meter{background-color:transparent}/*!@.value-visible*/.value-visible.sc-calcite-meter{margin-block-start:1.5rem}/*!@.steps-visible*/.steps-visible.sc-calcite-meter{margin-block-end:1.5rem}/*!@.step-line*/.step-line.sc-calcite-meter{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-ui-border-3)}/*!@.label*/.label.sc-calcite-meter{position:absolute;font-size:var(--calcite-meter-font-size-internal)}/*!@.label-hidden*/.label-hidden.sc-calcite-meter{visibility:hidden;opacity:0}/*!@.label-value*/.label-value.sc-calcite-meter{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}/*!@.label-range*/.label-range.sc-calcite-meter{color:var(--calcite-ui-text-3);inset-block-start:calc(100% + 0.5em)}/*!@.unit-label*/.unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3)}/*!@.label-value .unit-label*/.label-value.sc-calcite-meter .unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.fill*/.fill.sc-calcite-meter{position:absolute;z-index:var(--calcite-app-z-index);display:block;background-color:var(--calcite-ui-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}/*!@.fill-danger*/.fill-danger.sc-calcite-meter{background-color:var(--calcite-ui-danger)}/*!@.fill-success*/.fill-success.sc-calcite-meter{background-color:var(--calcite-ui-success)}/*!@.fill-warning*/.fill-warning.sc-calcite-meter{background-color:var(--calcite-ui-warning)}/*!@.solid .fill*/.solid.sc-calcite-meter .fill.sc-calcite-meter{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-ui-brand)}/*!@.solid .fill-danger*/.solid.sc-calcite-meter .fill-danger.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-danger)}/*!@.solid .fill-success*/.solid.sc-calcite-meter .fill-success.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-success)}/*!@.solid .fill-warning*/.solid.sc-calcite-meter .fill-warning.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-warning)}";
|
|
33265
|
+
|
|
33266
|
+
class Meter {
|
|
33267
|
+
constructor(hostRef) {
|
|
33268
|
+
registerInstance(this, hostRef);
|
|
33269
|
+
this.labelFlipMax = 0.8;
|
|
33270
|
+
this.labelFlipProximity = 0.15;
|
|
33271
|
+
this.maxPercent = 100;
|
|
33272
|
+
this.minPercent = 0;
|
|
33273
|
+
this.resizeObserver = createObserver();
|
|
33274
|
+
this.formatLabel = (value, labelType) => {
|
|
33275
|
+
if (labelType === "percent") {
|
|
33276
|
+
if (!this.percentFormatting) {
|
|
33277
|
+
const locale = getSupportedLocale(this.effectiveLocale);
|
|
33278
|
+
const formatter = new Intl.NumberFormat(locale, {
|
|
33279
|
+
useGrouping: this.groupSeparator,
|
|
33280
|
+
style: "percent",
|
|
33281
|
+
});
|
|
33282
|
+
this.percentFormatting = { formatter, locale };
|
|
33283
|
+
}
|
|
33284
|
+
return this.percentFormatting.formatter.format(value);
|
|
33285
|
+
}
|
|
33286
|
+
else {
|
|
33287
|
+
numberStringFormatter.numberFormatOptions = {
|
|
33288
|
+
locale: this.effectiveLocale,
|
|
33289
|
+
numberingSystem: this.numberingSystem,
|
|
33290
|
+
useGrouping: this.groupSeparator,
|
|
33291
|
+
};
|
|
33292
|
+
return numberStringFormatter.localize(value.toString());
|
|
33293
|
+
}
|
|
33294
|
+
};
|
|
33295
|
+
this.appearance = "outline-fill";
|
|
33296
|
+
this.disabled = false;
|
|
33297
|
+
this.fillType = "range";
|
|
33298
|
+
this.form = undefined;
|
|
33299
|
+
this.groupSeparator = false;
|
|
33300
|
+
this.high = undefined;
|
|
33301
|
+
this.label = undefined;
|
|
33302
|
+
this.low = undefined;
|
|
33303
|
+
this.max = 100;
|
|
33304
|
+
this.min = 0;
|
|
33305
|
+
this.name = undefined;
|
|
33306
|
+
this.numberingSystem = undefined;
|
|
33307
|
+
this.rangeLabels = false;
|
|
33308
|
+
this.rangeLabelType = "percent";
|
|
33309
|
+
this.scale = "m";
|
|
33310
|
+
this.unitLabel = "";
|
|
33311
|
+
this.value = undefined;
|
|
33312
|
+
this.valueLabel = false;
|
|
33313
|
+
this.valueLabelType = "percent";
|
|
33314
|
+
this.currentPercent = undefined;
|
|
33315
|
+
this.effectiveLocale = undefined;
|
|
33316
|
+
this.highActive = undefined;
|
|
33317
|
+
this.highPercent = undefined;
|
|
33318
|
+
this.lowActive = undefined;
|
|
33319
|
+
this.lowPercent = undefined;
|
|
33320
|
+
}
|
|
33321
|
+
handleRangeChange() {
|
|
33322
|
+
this.calculateValues();
|
|
33323
|
+
this.updateLabels();
|
|
33324
|
+
}
|
|
33325
|
+
handleLabelChange() {
|
|
33326
|
+
this.updateLabels();
|
|
33327
|
+
}
|
|
33328
|
+
//--------------------------------------------------------------------------
|
|
33329
|
+
//
|
|
33330
|
+
// Lifecycle
|
|
33331
|
+
//
|
|
33332
|
+
//--------------------------------------------------------------------------
|
|
33333
|
+
async componentWillLoad() {
|
|
33334
|
+
setUpLoadableComponent(this);
|
|
33335
|
+
this.calculateValues();
|
|
33336
|
+
afterConnectDefaultValueSet(this, this.value);
|
|
33337
|
+
}
|
|
33338
|
+
componentDidLoad() {
|
|
33339
|
+
setComponentLoaded(this);
|
|
33340
|
+
this.updateLabels();
|
|
33341
|
+
}
|
|
33342
|
+
connectedCallback() {
|
|
33343
|
+
connectLocalized(this);
|
|
33344
|
+
connectForm(this);
|
|
33345
|
+
this.resizeObserver?.observe(this.el);
|
|
33346
|
+
}
|
|
33347
|
+
disconnectedCallback() {
|
|
33348
|
+
disconnectLocalized(this);
|
|
33349
|
+
disconnectForm(this);
|
|
33350
|
+
this.resizeObserver?.disconnect();
|
|
33351
|
+
}
|
|
33352
|
+
//--------------------------------------------------------------------------
|
|
33353
|
+
//
|
|
33354
|
+
// Private Methods
|
|
33355
|
+
//
|
|
33356
|
+
//--------------------------------------------------------------------------
|
|
33357
|
+
resizeHandler() {
|
|
33358
|
+
this.updateLabels();
|
|
33359
|
+
}
|
|
33360
|
+
updateLabels() {
|
|
33361
|
+
if (this.valueLabelEl) {
|
|
33362
|
+
this.determineValueLabelPosition();
|
|
33363
|
+
}
|
|
33364
|
+
if (this.rangeLabels) {
|
|
33365
|
+
this.determineVisibleLabels();
|
|
33366
|
+
}
|
|
33367
|
+
}
|
|
33368
|
+
calculateValues() {
|
|
33369
|
+
const { min, max, low, high, value } = this;
|
|
33370
|
+
const lowPercent = (100 * (low - min)) / (max - min);
|
|
33371
|
+
const highPercent = (100 * (high - min)) / (max - min);
|
|
33372
|
+
const currentPercent = (100 * (value - min)) / (max - min);
|
|
33373
|
+
if (!low || low < min || low > high || low > max) {
|
|
33374
|
+
this.low = min;
|
|
33375
|
+
}
|
|
33376
|
+
if (!high || high > max || high < low || high < min) {
|
|
33377
|
+
this.high = max;
|
|
33378
|
+
}
|
|
33379
|
+
if (!value) {
|
|
33380
|
+
this.value = min;
|
|
33381
|
+
}
|
|
33382
|
+
this.lowPercent = lowPercent;
|
|
33383
|
+
this.highPercent = highPercent;
|
|
33384
|
+
this.currentPercent = value ? currentPercent : 0;
|
|
33385
|
+
this.lowActive = !!low && low > min && (!value || low > value) && (!high || low < high);
|
|
33386
|
+
this.highActive =
|
|
33387
|
+
!!high && min <= high && high < max && (!value || high > value) && (!low || high > low);
|
|
33388
|
+
}
|
|
33389
|
+
getMeterKindCssClass() {
|
|
33390
|
+
const { low, high, min, max, value } = this;
|
|
33391
|
+
const lowest = low ? low : min;
|
|
33392
|
+
const highest = high ? high : max;
|
|
33393
|
+
const aboveLowest = value >= lowest;
|
|
33394
|
+
const belowLowest = value < lowest;
|
|
33395
|
+
const aboveHighest = value >= highest;
|
|
33396
|
+
const belowHighest = value < highest;
|
|
33397
|
+
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33398
|
+
return CSS$s.success;
|
|
33399
|
+
}
|
|
33400
|
+
else if (aboveLowest && belowHighest) {
|
|
33401
|
+
return CSS$s.warning;
|
|
33402
|
+
}
|
|
33403
|
+
else if (aboveHighest) {
|
|
33404
|
+
return CSS$s.danger;
|
|
33405
|
+
}
|
|
33406
|
+
else {
|
|
33407
|
+
return CSS$s.success;
|
|
33408
|
+
}
|
|
33409
|
+
}
|
|
33410
|
+
intersects(el1, el2) {
|
|
33411
|
+
return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());
|
|
33412
|
+
}
|
|
33413
|
+
determineVisibleLabels() {
|
|
33414
|
+
const { minLabelEl, lowLabelEl, highLabelEl, maxLabelEl } = this;
|
|
33415
|
+
const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);
|
|
33416
|
+
const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);
|
|
33417
|
+
const lowMaxOverlap = this.intersects(lowLabelEl, maxLabelEl);
|
|
33418
|
+
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33419
|
+
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33420
|
+
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33421
|
+
const hiddenClass = CSS$s.labelHidden;
|
|
33422
|
+
if (lowLabelEl) {
|
|
33423
|
+
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33424
|
+
lowLabelEl.classList.add(hiddenClass);
|
|
33425
|
+
}
|
|
33426
|
+
else {
|
|
33427
|
+
lowLabelEl.classList.remove(hiddenClass);
|
|
33428
|
+
}
|
|
33429
|
+
}
|
|
33430
|
+
if (highLabelEl) {
|
|
33431
|
+
if (minHighOverlap || lowMaxOverlap || highMaxOverlap) {
|
|
33432
|
+
highLabelEl.classList.add(hiddenClass);
|
|
33433
|
+
}
|
|
33434
|
+
else {
|
|
33435
|
+
highLabelEl.classList.remove(hiddenClass);
|
|
33436
|
+
}
|
|
33437
|
+
}
|
|
33438
|
+
if (minLabelEl && maxLabelEl) {
|
|
33439
|
+
if (minMaxOverlap) {
|
|
33440
|
+
maxLabelEl.classList.add(hiddenClass);
|
|
33441
|
+
}
|
|
33442
|
+
else {
|
|
33443
|
+
maxLabelEl.classList.remove(hiddenClass);
|
|
33444
|
+
}
|
|
33445
|
+
}
|
|
33446
|
+
}
|
|
33447
|
+
determineValueLabelPosition() {
|
|
33448
|
+
const { valueLabelEl, meterContainerEl, currentPercent } = this;
|
|
33449
|
+
const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;
|
|
33450
|
+
const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;
|
|
33451
|
+
const containerWidth = meterContainerEl.getBoundingClientRect().width;
|
|
33452
|
+
const labelWidthPercent = (100 * (valueLabelWidth - 0)) / (containerWidth - 0);
|
|
33453
|
+
if (valuePosition + labelWidthPercent >= 100) {
|
|
33454
|
+
valueLabelEl.style.insetInlineEnd = "0%";
|
|
33455
|
+
valueLabelEl.style.removeProperty("inset-inline-start");
|
|
33456
|
+
}
|
|
33457
|
+
else {
|
|
33458
|
+
valueLabelEl.style.insetInlineStart = `${valuePosition}% `;
|
|
33459
|
+
valueLabelEl.style.removeProperty("inset-inline-end");
|
|
33460
|
+
}
|
|
33461
|
+
}
|
|
33462
|
+
//--------------------------------------------------------------------------
|
|
33463
|
+
//
|
|
33464
|
+
// Render Methods
|
|
33465
|
+
//
|
|
33466
|
+
//--------------------------------------------------------------------------
|
|
33467
|
+
renderMeterFill() {
|
|
33468
|
+
const { currentPercent, fillType } = this;
|
|
33469
|
+
const kindClass = this.getMeterKindCssClass();
|
|
33470
|
+
return (hAsync("div", { class: { [CSS$s.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33471
|
+
}
|
|
33472
|
+
renderRangeLine(position) {
|
|
33473
|
+
const style = { insetInlineStart: `${position}%` };
|
|
33474
|
+
return hAsync("div", { class: CSS$s.stepLine, style: style });
|
|
33475
|
+
}
|
|
33476
|
+
renderValueLabel() {
|
|
33477
|
+
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33478
|
+
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33479
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelValue]: true }, key: "low-label-line",
|
|
33480
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33481
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
|
|
33482
|
+
}
|
|
33483
|
+
renderMinLabel() {
|
|
33484
|
+
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33485
|
+
const style = { insetInlineStart: `${minPercent}%` };
|
|
33486
|
+
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33487
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "min-label-line", style: style,
|
|
33488
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33489
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
|
|
33490
|
+
}
|
|
33491
|
+
renderLowLabel() {
|
|
33492
|
+
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
33493
|
+
const label = low
|
|
33494
|
+
? this.formatLabel(rangeLabelType === "percent" ? lowPercent / 100 : low, rangeLabelType)
|
|
33495
|
+
: "";
|
|
33496
|
+
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33497
|
+
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33498
|
+
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33499
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "low-label-line", style: style,
|
|
33500
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33501
|
+
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33502
|
+
}
|
|
33503
|
+
renderHighLabel() {
|
|
33504
|
+
const { rangeLabelType, high, highPercent, labelFlipMax } = this;
|
|
33505
|
+
const label = high
|
|
33506
|
+
? this.formatLabel(rangeLabelType === "percent" ? highPercent / 100 : high, rangeLabelType)
|
|
33507
|
+
: "";
|
|
33508
|
+
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33509
|
+
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33510
|
+
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33511
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "high-label-line", style: style,
|
|
33512
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33513
|
+
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33514
|
+
}
|
|
33515
|
+
renderMaxLabel() {
|
|
33516
|
+
const { rangeLabelType, max, maxPercent } = this;
|
|
33517
|
+
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33518
|
+
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33519
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "max-label-line", style: style,
|
|
33520
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33521
|
+
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33522
|
+
}
|
|
33523
|
+
render() {
|
|
33524
|
+
const { appearance, currentPercent, highActive, highPercent, label, lowActive, lowPercent, max, maxPercent, min, minPercent, rangeLabels, rangeLabelType, unitLabel, value, valueLabel, valueLabelType, } = this;
|
|
33525
|
+
const textPercentLabelWithPercent = this.formatLabel(currentPercent / 100, "percent");
|
|
33526
|
+
const textUnitLabel = `${value} ${unitLabel}`;
|
|
33527
|
+
const valueText = valueLabelType === "percent"
|
|
33528
|
+
? textPercentLabelWithPercent
|
|
33529
|
+
: unitLabel
|
|
33530
|
+
? textUnitLabel
|
|
33531
|
+
: undefined;
|
|
33532
|
+
return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
|
|
33533
|
+
[CSS$s.container]: true,
|
|
33534
|
+
[CSS$s.stepsVisible]: rangeLabels,
|
|
33535
|
+
[CSS$s.valueVisible]: valueLabel,
|
|
33536
|
+
[appearance]: appearance !== "outline-fill",
|
|
33537
|
+
}, role: "meter",
|
|
33538
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33539
|
+
ref: (el) => (this.meterContainerEl = el) }, this.renderMeterFill(), valueLabel && this.renderValueLabel(), lowActive && this.renderRangeLine(lowPercent), highActive && this.renderRangeLine(highPercent), rangeLabels && this.renderMinLabel(), rangeLabels && lowActive && this.renderLowLabel(), rangeLabels && highActive && this.renderHighLabel(), rangeLabels && this.renderMaxLabel())));
|
|
33540
|
+
}
|
|
33541
|
+
get el() { return getElement(this); }
|
|
33542
|
+
static get watchers() { return {
|
|
33543
|
+
"min": ["handleRangeChange"],
|
|
33544
|
+
"max": ["handleRangeChange"],
|
|
33545
|
+
"low": ["handleRangeChange"],
|
|
33546
|
+
"high": ["handleRangeChange"],
|
|
33547
|
+
"value": ["handleRangeChange"],
|
|
33548
|
+
"rangeLabels": ["handleLabelChange"],
|
|
33549
|
+
"rangeLabelType": ["handleLabelChange"],
|
|
33550
|
+
"unitLabel": ["handleLabelChange"],
|
|
33551
|
+
"valueLabel": ["handleLabelChange"],
|
|
33552
|
+
"valueLabelType": ["handleLabelChange"]
|
|
33553
|
+
}; }
|
|
33554
|
+
static get style() { return meterCss; }
|
|
33555
|
+
static get cmpMeta() { return {
|
|
33556
|
+
"$flags$": 9,
|
|
33557
|
+
"$tagName$": "calcite-meter",
|
|
33558
|
+
"$members$": {
|
|
33559
|
+
"appearance": [513],
|
|
33560
|
+
"disabled": [516],
|
|
33561
|
+
"fillType": [513, "fill-type"],
|
|
33562
|
+
"form": [513],
|
|
33563
|
+
"groupSeparator": [516, "group-separator"],
|
|
33564
|
+
"high": [1538],
|
|
33565
|
+
"label": [1],
|
|
33566
|
+
"low": [1538],
|
|
33567
|
+
"max": [514],
|
|
33568
|
+
"min": [514],
|
|
33569
|
+
"name": [513],
|
|
33570
|
+
"numberingSystem": [1, "numbering-system"],
|
|
33571
|
+
"rangeLabels": [516, "range-labels"],
|
|
33572
|
+
"rangeLabelType": [513, "range-label-type"],
|
|
33573
|
+
"scale": [513],
|
|
33574
|
+
"unitLabel": [1, "unit-label"],
|
|
33575
|
+
"value": [1026],
|
|
33576
|
+
"valueLabel": [516, "value-label"],
|
|
33577
|
+
"valueLabelType": [513, "value-label-type"],
|
|
33578
|
+
"currentPercent": [32],
|
|
33579
|
+
"effectiveLocale": [32],
|
|
33580
|
+
"highActive": [32],
|
|
33581
|
+
"highPercent": [32],
|
|
33582
|
+
"lowActive": [32],
|
|
33583
|
+
"lowPercent": [32]
|
|
33584
|
+
},
|
|
33585
|
+
"$listeners$": undefined,
|
|
33586
|
+
"$lazyBundleId$": "-",
|
|
33587
|
+
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["fillType", "fill-type"], ["form", "form"], ["groupSeparator", "group-separator"], ["high", "high"], ["low", "low"], ["max", "max"], ["min", "min"], ["name", "name"], ["rangeLabels", "range-labels"], ["rangeLabelType", "range-label-type"], ["scale", "scale"], ["valueLabel", "value-label"], ["valueLabelType", "value-label-type"]]
|
|
33588
|
+
}; }
|
|
33589
|
+
}
|
|
33590
|
+
|
|
33247
33591
|
const CSS$r = {
|
|
33248
33592
|
modal: "modal",
|
|
33249
33593
|
title: "title",
|
|
@@ -34280,22 +34624,22 @@ class Panel {
|
|
|
34280
34624
|
// --------------------------------------------------------------------------
|
|
34281
34625
|
renderHeaderContent() {
|
|
34282
34626
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
34283
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
34284
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
34285
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
34627
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$H.heading, level: headingLevel }, heading)) : null;
|
|
34628
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$H.description }, description) : null;
|
|
34629
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$H.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
34286
34630
|
}
|
|
34287
34631
|
renderActionBar() {
|
|
34288
|
-
return (hAsync("div", { class: CSS$
|
|
34632
|
+
return (hAsync("div", { class: CSS$H.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$m.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
34289
34633
|
}
|
|
34290
34634
|
/**
|
|
34291
34635
|
* Allows user to override the entire header-content node.
|
|
34292
34636
|
*/
|
|
34293
34637
|
renderHeaderSlottedContent() {
|
|
34294
|
-
return (hAsync("div", { class: CSS$
|
|
34638
|
+
return (hAsync("div", { class: CSS$H.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$m.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
34295
34639
|
}
|
|
34296
34640
|
renderHeaderStartActions() {
|
|
34297
34641
|
const { hasStartActions } = this;
|
|
34298
|
-
return (hAsync("div", { class: { [CSS$
|
|
34642
|
+
return (hAsync("div", { class: { [CSS$H.headerActionsStart]: true, [CSS$H.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$m.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
34299
34643
|
}
|
|
34300
34644
|
renderHeaderActionsEnd() {
|
|
34301
34645
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -34305,7 +34649,7 @@ class Panel {
|
|
|
34305
34649
|
ref: this.setCloseRef })) : null;
|
|
34306
34650
|
const slotNode = (hAsync("slot", { name: SLOTS$m.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
34307
34651
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
34308
|
-
return (hAsync("div", { class: { [CSS$
|
|
34652
|
+
return (hAsync("div", { class: { [CSS$H.headerActionsEnd]: true, [CSS$H.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
34309
34653
|
}
|
|
34310
34654
|
renderMenu() {
|
|
34311
34655
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -34321,24 +34665,24 @@ class Panel {
|
|
|
34321
34665
|
closable ||
|
|
34322
34666
|
hasMenuItems;
|
|
34323
34667
|
this.showHeaderContent = showHeaderContent;
|
|
34324
|
-
return (hAsync("header", { class: CSS$
|
|
34668
|
+
return (hAsync("header", { class: CSS$H.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$H.headerContainer]: true, [CSS$H.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
34325
34669
|
}
|
|
34326
34670
|
renderFooterNode() {
|
|
34327
34671
|
const { hasFooterContent, hasFooterActions } = this;
|
|
34328
34672
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
34329
|
-
return (hAsync("footer", { class: CSS$
|
|
34673
|
+
return (hAsync("footer", { class: CSS$H.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$m.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$m.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
34330
34674
|
}
|
|
34331
34675
|
renderContent() {
|
|
34332
|
-
return (hAsync("div", { class: CSS$
|
|
34676
|
+
return (hAsync("div", { class: CSS$H.contentWrapper, onScroll: this.panelScrollHandler,
|
|
34333
34677
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34334
34678
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
34335
34679
|
}
|
|
34336
34680
|
renderFab() {
|
|
34337
|
-
return (hAsync("div", { class: CSS$
|
|
34681
|
+
return (hAsync("div", { class: CSS$H.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$m.fab, onSlotchange: this.handleFabSlotChange })));
|
|
34338
34682
|
}
|
|
34339
34683
|
render() {
|
|
34340
34684
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
34341
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
34685
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$H.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
34342
34686
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34343
34687
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
34344
34688
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -38813,25 +39157,25 @@ class Stack {
|
|
|
38813
39157
|
// --------------------------------------------------------------------------
|
|
38814
39158
|
renderActionsStart() {
|
|
38815
39159
|
const { hasActionsStart } = this;
|
|
38816
|
-
return (hAsync("div", { class: CSS$
|
|
39160
|
+
return (hAsync("div", { class: CSS$u.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
38817
39161
|
}
|
|
38818
39162
|
renderActionsEnd() {
|
|
38819
39163
|
const { hasActionsEnd } = this;
|
|
38820
|
-
return (hAsync("div", { class: CSS$
|
|
39164
|
+
return (hAsync("div", { class: CSS$u.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
38821
39165
|
}
|
|
38822
39166
|
renderContentStart() {
|
|
38823
39167
|
const { hasContentStart } = this;
|
|
38824
|
-
return (hAsync("div", { class: CSS$
|
|
39168
|
+
return (hAsync("div", { class: CSS$u.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
38825
39169
|
}
|
|
38826
39170
|
renderDefaultContent() {
|
|
38827
|
-
return (hAsync("div", { class: CSS$
|
|
39171
|
+
return (hAsync("div", { class: CSS$u.content }, hAsync("slot", null)));
|
|
38828
39172
|
}
|
|
38829
39173
|
renderContentEnd() {
|
|
38830
39174
|
const { hasContentEnd } = this;
|
|
38831
|
-
return (hAsync("div", { class: CSS$
|
|
39175
|
+
return (hAsync("div", { class: CSS$u.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
38832
39176
|
}
|
|
38833
39177
|
render() {
|
|
38834
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
39178
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$u.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
38835
39179
|
}
|
|
38836
39180
|
static get style() { return stackCss; }
|
|
38837
39181
|
static get cmpMeta() { return {
|
|
@@ -43375,6 +43719,7 @@ registerComponents([
|
|
|
43375
43719
|
ListItem,
|
|
43376
43720
|
ListItemGroup,
|
|
43377
43721
|
Loader,
|
|
43722
|
+
Meter,
|
|
43378
43723
|
Modal,
|
|
43379
43724
|
Notice,
|
|
43380
43725
|
Option,
|