@esri/calcite-components 1.9.0-next.9 → 1.9.0

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.
Files changed (1122) hide show
  1. package/dist/calcite/assets/panel/t9n/index.d.ts +2 -0
  2. package/dist/calcite/assets/panel/t9n/messages.json +3 -1
  3. package/dist/calcite/assets/panel/t9n/messages_ar.json +3 -1
  4. package/dist/calcite/assets/panel/t9n/messages_bg.json +3 -1
  5. package/dist/calcite/assets/panel/t9n/messages_bs.json +3 -1
  6. package/dist/calcite/assets/panel/t9n/messages_ca.json +3 -1
  7. package/dist/calcite/assets/panel/t9n/messages_cs.json +3 -1
  8. package/dist/calcite/assets/panel/t9n/messages_da.json +3 -1
  9. package/dist/calcite/assets/panel/t9n/messages_de.json +3 -1
  10. package/dist/calcite/assets/panel/t9n/messages_el.json +3 -1
  11. package/dist/calcite/assets/panel/t9n/messages_en.json +3 -1
  12. package/dist/calcite/assets/panel/t9n/messages_es.json +3 -1
  13. package/dist/calcite/assets/panel/t9n/messages_et.json +3 -1
  14. package/dist/calcite/assets/panel/t9n/messages_fi.json +3 -1
  15. package/dist/calcite/assets/panel/t9n/messages_fr.json +3 -1
  16. package/dist/calcite/assets/panel/t9n/messages_he.json +3 -1
  17. package/dist/calcite/assets/panel/t9n/messages_hr.json +3 -1
  18. package/dist/calcite/assets/panel/t9n/messages_hu.json +3 -1
  19. package/dist/calcite/assets/panel/t9n/messages_id.json +3 -1
  20. package/dist/calcite/assets/panel/t9n/messages_it.json +3 -1
  21. package/dist/calcite/assets/panel/t9n/messages_ja.json +3 -1
  22. package/dist/calcite/assets/panel/t9n/messages_ko.json +3 -1
  23. package/dist/calcite/assets/panel/t9n/messages_lt.json +3 -1
  24. package/dist/calcite/assets/panel/t9n/messages_lv.json +3 -1
  25. package/dist/calcite/assets/panel/t9n/messages_nl.json +3 -1
  26. package/dist/calcite/assets/panel/t9n/messages_no.json +3 -1
  27. package/dist/calcite/assets/panel/t9n/messages_pl.json +3 -1
  28. package/dist/calcite/assets/panel/t9n/messages_pt-BR.json +3 -1
  29. package/dist/calcite/assets/panel/t9n/messages_pt-PT.json +3 -1
  30. package/dist/calcite/assets/panel/t9n/messages_ro.json +3 -1
  31. package/dist/calcite/assets/panel/t9n/messages_ru.json +3 -1
  32. package/dist/calcite/assets/panel/t9n/messages_sk.json +3 -1
  33. package/dist/calcite/assets/panel/t9n/messages_sl.json +3 -1
  34. package/dist/calcite/assets/panel/t9n/messages_sr.json +3 -1
  35. package/dist/calcite/assets/panel/t9n/messages_sv.json +3 -1
  36. package/dist/calcite/assets/panel/t9n/messages_th.json +3 -1
  37. package/dist/calcite/assets/panel/t9n/messages_tr.json +3 -1
  38. package/dist/calcite/assets/panel/t9n/messages_uk.json +3 -1
  39. package/dist/calcite/assets/panel/t9n/messages_vi.json +3 -1
  40. package/dist/calcite/assets/panel/t9n/messages_zh-CN.json +3 -1
  41. package/dist/calcite/assets/panel/t9n/messages_zh-HK.json +3 -1
  42. package/dist/calcite/assets/panel/t9n/messages_zh-TW.json +3 -1
  43. package/dist/calcite/calcite.esm.js +2 -2
  44. package/dist/calcite/index.esm.js +2 -2
  45. package/dist/calcite/{p-9f2fb3bc.js → p-006493d1.js} +2 -2
  46. package/dist/calcite/{p-358abd4f.js → p-00db4271.js} +2 -2
  47. package/dist/calcite/p-0101cd35.entry.js +6 -0
  48. package/dist/calcite/{p-80d9546e.js → p-01ff37f8.js} +2 -2
  49. package/dist/calcite/{p-08496db0.js → p-07abef94.js} +2 -2
  50. package/dist/calcite/{p-59036b46.entry.js → p-0e3699d8.entry.js} +2 -2
  51. package/dist/calcite/p-1031f74f.entry.js +6 -0
  52. package/dist/calcite/{p-d63d28f6.entry.js → p-116a271d.entry.js} +2 -2
  53. package/dist/calcite/{p-c3282c2c.js → p-11b4b24c.js} +2 -2
  54. package/dist/calcite/{p-7f3ae107.entry.js → p-1259ee6f.entry.js} +2 -2
  55. package/dist/calcite/p-1269d61d.js +6 -0
  56. package/dist/calcite/{p-d6a16f50.js → p-15102604.js} +2 -2
  57. package/dist/calcite/{p-120d86e8.entry.js → p-158d43f6.entry.js} +2 -2
  58. package/dist/calcite/{p-1b558e25.entry.js → p-163cb486.entry.js} +2 -2
  59. package/dist/calcite/{p-8f641f9e.entry.js → p-1666df3b.entry.js} +2 -2
  60. package/dist/calcite/{p-ff8055b7.js → p-18f8fd26.js} +2 -2
  61. package/dist/calcite/p-19019a98.entry.js +6 -0
  62. package/dist/calcite/p-1a700b74.js +6 -0
  63. package/dist/calcite/{p-f7fdfcc5.js → p-20dabe77.js} +1 -1
  64. package/dist/calcite/{p-61f4a2eb.entry.js → p-22d68bf2.entry.js} +2 -2
  65. package/dist/calcite/{p-86d55cee.entry.js → p-22e3ea15.entry.js} +2 -2
  66. package/dist/calcite/{p-e9fe341d.entry.js → p-2378ba35.entry.js} +2 -2
  67. package/dist/calcite/p-25234921.js +6 -0
  68. package/dist/calcite/p-2867ddf5.js +6 -0
  69. package/dist/calcite/{p-b895f15a.js → p-2b457a58.js} +2 -2
  70. package/dist/calcite/{p-17f15e96.entry.js → p-2c0a1b59.entry.js} +2 -2
  71. package/dist/calcite/p-2cb0fbe8.js +6 -0
  72. package/dist/calcite/{p-e942f664.js → p-2dee74d4.js} +2 -2
  73. package/dist/calcite/{p-6460ec79.js → p-2f8325c6.js} +2 -2
  74. package/dist/calcite/p-3187b284.entry.js +6 -0
  75. package/dist/calcite/p-321e1686.entry.js +6 -0
  76. package/dist/calcite/p-3275be2d.entry.js +6 -0
  77. package/dist/calcite/{p-7291b712.entry.js → p-32f2e6d4.entry.js} +2 -2
  78. package/dist/calcite/{p-fe25df17.js → p-34859850.js} +1 -1
  79. package/dist/calcite/{p-93320a8b.entry.js → p-34ad83b9.entry.js} +2 -2
  80. package/dist/calcite/p-398e73e0.js +6 -0
  81. package/dist/calcite/{p-8fba6104.js → p-3aea85cb.js} +2 -2
  82. package/dist/calcite/{p-79c3894c.js → p-3cb5ef34.js} +2 -2
  83. package/dist/calcite/p-3d110510.entry.js +6 -0
  84. package/dist/calcite/{p-a1994858.js → p-3deeceaa.js} +2 -2
  85. package/dist/calcite/{p-6037aebb.js → p-3f66c26e.js} +1 -1
  86. package/dist/calcite/p-41cf60da.entry.js +6 -0
  87. package/dist/calcite/{p-2a28f623.js → p-4281b9db.js} +2 -2
  88. package/dist/calcite/{p-3c29cede.js → p-45023328.js} +2 -2
  89. package/dist/calcite/{p-ce12f5fa.entry.js → p-49aa2f7c.entry.js} +2 -2
  90. package/dist/calcite/{p-fb2db68b.js → p-49b9bffb.js} +2 -2
  91. package/dist/calcite/p-4e386994.js +6 -0
  92. package/dist/calcite/p-50c45e09.js +6 -0
  93. package/dist/calcite/{p-e6975586.entry.js → p-52a39904.entry.js} +2 -2
  94. package/dist/calcite/{p-e800d8b4.js → p-54a14faf.js} +2 -2
  95. package/dist/calcite/{p-5ee7b2c9.js → p-54dd5d2e.js} +2 -2
  96. package/dist/calcite/{p-d4614c55.js → p-5535b532.js} +2 -2
  97. package/dist/calcite/{p-4f9df292.entry.js → p-55a0c761.entry.js} +2 -2
  98. package/dist/calcite/p-56a11a7e.entry.js +6 -0
  99. package/dist/calcite/{p-84429993.js → p-588bd24a.js} +2 -2
  100. package/dist/calcite/p-5b967356.entry.js +6 -0
  101. package/dist/calcite/{p-e393837d.entry.js → p-5c0dfbbf.entry.js} +2 -2
  102. package/dist/calcite/{p-c39a41e5.entry.js → p-5e0c4856.entry.js} +2 -2
  103. package/dist/calcite/{p-d60688b8.js → p-5e609adf.js} +2 -2
  104. package/dist/calcite/{p-0201b86c.entry.js → p-5f1dc399.entry.js} +2 -2
  105. package/dist/calcite/{p-d0844a40.entry.js → p-601b060c.entry.js} +2 -2
  106. package/dist/calcite/p-6033c73d.js +6 -0
  107. package/dist/calcite/{p-1c051ae4.entry.js → p-60e42cf4.entry.js} +2 -2
  108. package/dist/calcite/{p-fe683a36.js → p-61aff975.js} +2 -2
  109. package/dist/calcite/{p-1dfe7c48.js → p-6332623e.js} +2 -2
  110. package/dist/calcite/{p-f7048061.js → p-6513dadc.js} +2 -2
  111. package/dist/calcite/{p-f09f4a02.entry.js → p-6a1609d4.entry.js} +2 -2
  112. package/dist/calcite/{p-acb1d2ae.js → p-6b7b6bc4.js} +2 -2
  113. package/dist/calcite/p-6cd34197.entry.js +6 -0
  114. package/dist/calcite/{p-9b54e8b6.js → p-6cf98612.js} +1 -1
  115. package/dist/calcite/p-6dc80cc4.entry.js +6 -0
  116. package/dist/calcite/{p-4098b617.js → p-6dcce5a1.js} +2 -2
  117. package/dist/calcite/{p-b0493038.js → p-6f7a11a8.js} +2 -2
  118. package/dist/calcite/p-706b6afe.entry.js +6 -0
  119. package/dist/calcite/{p-595c842a.entry.js → p-712ec32c.entry.js} +2 -2
  120. package/dist/calcite/p-71628cea.entry.js +6 -0
  121. package/dist/calcite/{p-b8f252bd.js → p-720ac378.js} +2 -2
  122. package/dist/calcite/{p-9fdc10e2.entry.js → p-7288ef51.entry.js} +2 -2
  123. package/dist/calcite/{p-69ef1f06.js → p-73e2d17e.js} +2 -2
  124. package/dist/calcite/{p-f86ea993.entry.js → p-74759d11.entry.js} +2 -2
  125. package/dist/calcite/{p-e25d5a0e.entry.js → p-7af82b9c.entry.js} +2 -2
  126. package/dist/calcite/{p-5a32e020.js → p-7e4ede75.js} +2 -2
  127. package/dist/calcite/{p-e43770f3.js → p-7e6b63cc.js} +2 -2
  128. package/dist/calcite/{p-7a0a541e.entry.js → p-8168da61.entry.js} +2 -2
  129. package/dist/calcite/{p-d06fc828.js → p-8189048a.js} +1 -1
  130. package/dist/calcite/{p-fc3af8a8.entry.js → p-81c6ef4d.entry.js} +2 -2
  131. package/dist/calcite/{p-425d818f.entry.js → p-835eea3c.entry.js} +2 -2
  132. package/dist/calcite/{p-acccb7f2.entry.js → p-83a99124.entry.js} +2 -2
  133. package/dist/calcite/{p-c4638e24.entry.js → p-866d16a1.entry.js} +2 -2
  134. package/dist/calcite/{p-ca7b3a91.entry.js → p-86798f7c.entry.js} +2 -2
  135. package/dist/calcite/{p-e641b9b2.entry.js → p-87b88323.entry.js} +2 -2
  136. package/dist/calcite/{p-2284f3b1.entry.js → p-8924f3bf.entry.js} +2 -2
  137. package/dist/calcite/{p-cb4392b8.entry.js → p-8b5db906.entry.js} +2 -2
  138. package/dist/calcite/{p-0b14a215.js → p-8bfe3c12.js} +1 -1
  139. package/dist/calcite/{p-a4ec8c8f.entry.js → p-8e8c7000.entry.js} +2 -2
  140. package/dist/calcite/{p-8a84aa0e.js → p-906967ee.js} +2 -2
  141. package/dist/calcite/{p-916698e1.js → p-931e5fc6.js} +2 -2
  142. package/dist/calcite/{p-9de7be68.entry.js → p-960fc800.entry.js} +2 -2
  143. package/dist/calcite/{p-23ce8b43.js → p-9b1838de.js} +2 -2
  144. package/dist/calcite/{p-0a41d0fc.js → p-9ceb6b2c.js} +1 -1
  145. package/dist/calcite/p-9fb94af5.js +6 -0
  146. package/dist/calcite/{p-6af33771.js → p-a10b862e.js} +2 -2
  147. package/dist/calcite/p-a4403bf5.js +6 -0
  148. package/dist/calcite/p-a59fea1d.entry.js +6 -0
  149. package/dist/calcite/{p-6765a1fc.entry.js → p-a6eca808.entry.js} +2 -2
  150. package/dist/calcite/{p-a2df1508.entry.js → p-a6faecb7.entry.js} +2 -2
  151. package/dist/calcite/{p-5c96226a.entry.js → p-a8d98d24.entry.js} +2 -2
  152. package/dist/calcite/p-aa62a93a.entry.js +6 -0
  153. package/dist/calcite/{p-7b69a139.js → p-ae5dbd81.js} +2 -2
  154. package/dist/calcite/{p-17572236.js → p-b247e623.js} +2 -2
  155. package/dist/calcite/{p-581b89f3.js → p-b529b4b3.js} +2 -2
  156. package/dist/calcite/p-b587a8a2.js +6 -0
  157. package/dist/calcite/{p-2562c1de.js → p-b8ec3128.js} +2 -2
  158. package/dist/calcite/{p-0ef1a5ca.js → p-bee02960.js} +2 -2
  159. package/dist/calcite/{p-9decbac6.js → p-c01d0a90.js} +2 -2
  160. package/dist/calcite/{p-466f1d07.entry.js → p-c1e7de34.entry.js} +2 -2
  161. package/dist/calcite/{p-afc35034.js → p-c500be39.js} +2 -2
  162. package/dist/calcite/{p-c879a7a9.js → p-c5962013.js} +2 -2
  163. package/dist/calcite/{p-040e2959.js → p-c7940102.js} +2 -2
  164. package/dist/calcite/p-c82e2513.entry.js +6 -0
  165. package/dist/calcite/{p-d361da9c.entry.js → p-c8c3e45e.entry.js} +2 -2
  166. package/dist/calcite/{p-f84ac8f3.entry.js → p-c97a25ee.entry.js} +2 -2
  167. package/dist/calcite/p-cb6b6ee4.js +6 -0
  168. package/dist/calcite/{p-c9548d61.js → p-cd6774c0.js} +2 -2
  169. package/dist/calcite/{p-6faed219.js → p-cdc526bf.js} +2 -2
  170. package/dist/calcite/{p-204c5cfb.js → p-ce579770.js} +2 -2
  171. package/dist/calcite/p-ce69e0cb.js +6 -0
  172. package/dist/calcite/{p-f3e04666.js → p-cea7433b.js} +1 -1
  173. package/dist/calcite/{p-b69723ac.js → p-cece2bcf.js} +2 -2
  174. package/dist/calcite/{p-dfec4df1.js → p-cf739571.js} +2 -2
  175. package/dist/calcite/{p-1eda5842.js → p-cf8a9eaa.js} +2 -2
  176. package/dist/calcite/{p-3c3659d0.js → p-d0b52806.js} +2 -2
  177. package/dist/calcite/p-d0e69f29.entry.js +6 -0
  178. package/dist/calcite/{p-618a9164.entry.js → p-d474601e.entry.js} +2 -2
  179. package/dist/calcite/{p-01f663ef.entry.js → p-d56ea275.entry.js} +2 -2
  180. package/dist/calcite/p-d9ec1348.entry.js +6 -0
  181. package/dist/calcite/{p-5f7299ae.js → p-db3b805f.js} +1 -1
  182. package/dist/calcite/{p-de762079.js → p-dda84132.js} +2 -2
  183. package/dist/calcite/{p-44010d45.js → p-dde40474.js} +2 -2
  184. package/dist/calcite/p-df14b543.js +6 -0
  185. package/dist/calcite/{p-a38a4d65.js → p-e02d8f2b.js} +1 -1
  186. package/dist/calcite/{p-005409ed.entry.js → p-e038e3c7.entry.js} +2 -2
  187. package/dist/calcite/{p-8790b17f.js → p-e15524f7.js} +2 -2
  188. package/dist/calcite/{p-67a4fd68.js → p-e4a691ef.js} +1 -1
  189. package/dist/calcite/{p-ddc4bae6.entry.js → p-e4f6960f.entry.js} +2 -2
  190. package/dist/calcite/{p-7070aef5.js → p-e7947b6d.js} +2 -2
  191. package/dist/calcite/p-e84bed3c.entry.js +6 -0
  192. package/dist/calcite/{p-dedcf9fa.js → p-e99c99a4.js} +2 -2
  193. package/dist/calcite/p-ec3b839f.entry.js +6 -0
  194. package/dist/calcite/{p-209068ca.js → p-ec7297dc.js} +2 -2
  195. package/dist/calcite/p-ed247420.entry.js +6 -0
  196. package/dist/calcite/{p-a644020e.entry.js → p-f337c23a.entry.js} +2 -2
  197. package/dist/calcite/{p-63f5faf1.js → p-f4be18ed.js} +1 -1
  198. package/dist/calcite/p-f6379ca2.js +6 -0
  199. package/dist/calcite/{p-1e24a0f4.js → p-f68f20a7.js} +1 -1
  200. package/dist/calcite/p-f78a7771.js +6 -0
  201. package/dist/calcite/p-fb7b4ca1.js +6 -0
  202. package/dist/calcite/p-fcc3a585.entry.js +6 -0
  203. package/dist/calcite/{p-0ed4366a.js → p-fe7f3fcb.js} +3 -3
  204. package/dist/calcite/{p-40ec9e02.entry.js → p-fef570bc.entry.js} +2 -2
  205. package/dist/cjs/{ExpandToggle-737323b7.js → ExpandToggle-421c3f35.js} +5 -5
  206. package/dist/cjs/{FloatingArrow-5de0d3bf.js → FloatingArrow-2c6725c1.js} +2 -2
  207. package/dist/cjs/{Heading-fde48b0f.js → Heading-4c505cc1.js} +2 -2
  208. package/dist/cjs/{app-globals-d340b634.js → app-globals-f082268b.js} +2 -2
  209. package/dist/cjs/{ar-d39c332c.js → ar-fda3fee4.js} +18 -18
  210. package/dist/cjs/{array-57576ba0.js → array-9ec41103.js} +1 -1
  211. package/dist/cjs/{bg-fa068516.js → bg-cc27a481.js} +18 -18
  212. package/dist/cjs/{browser-aecfaa50.js → browser-c574387f.js} +1 -1
  213. package/dist/cjs/{bs-8afc5405.js → bs-2fd715cb.js} +18 -18
  214. package/dist/cjs/{ca-d29b6178.js → ca-0f100473.js} +18 -18
  215. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-action-bar.cjs.entry.js +21 -18
  217. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  218. package/dist/cjs/calcite-action-menu.cjs.entry.js +12 -11
  219. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  220. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  221. package/dist/cjs/calcite-alert.cjs.entry.js +72 -38
  222. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  223. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
  224. package/dist/cjs/calcite-button.cjs.entry.js +21 -15
  225. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  226. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  227. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  229. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  230. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
  231. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
  232. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -13
  233. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  234. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  235. package/dist/cjs/calcite-flow-item.cjs.entry.js +28 -17
  236. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  237. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  238. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  239. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  240. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  241. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +22 -21
  242. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  243. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  244. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  245. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-9ad4ea74.js → calcite-input-time-picker.calcite-time-picker-c7f90b2f.js} +64 -63
  246. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -18
  247. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +140 -49
  248. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  249. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  250. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  251. package/dist/cjs/calcite-list_3.cjs.entry.js +30 -26
  252. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  253. package/dist/cjs/calcite-menu_2.cjs.entry.js +13 -73
  254. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  255. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  256. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  257. package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
  258. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  259. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -42
  260. package/dist/cjs/calcite-panel.cjs.entry.js +39 -35
  261. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  262. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  263. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  264. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  265. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  266. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  267. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  268. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  269. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  270. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  271. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  272. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  273. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  274. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  275. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  276. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  277. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -13
  278. package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
  279. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  280. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  281. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  282. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  283. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  284. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  285. package/dist/cjs/calcite-tree_2.cjs.entry.js +57 -80
  286. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  287. package/dist/cjs/calcite.cjs.js +5 -5
  288. package/dist/cjs/{conditionalSlot-e99584f3.js → conditionalSlot-dcec8557.js} +3 -3
  289. package/dist/cjs/{cs-0a624b3b.js → cs-85ce1c64.js} +18 -18
  290. package/dist/cjs/{da-e9457b64.js → da-7b3e54f5.js} +18 -18
  291. package/dist/cjs/{de-at-be0ef43b.js → de-at-eb83b42b.js} +18 -18
  292. package/dist/cjs/{de-5d240170.js → de-cff2ffd3.js} +18 -18
  293. package/dist/cjs/{de-ch-3333a947.js → de-ch-ca1f76ad.js} +18 -18
  294. package/dist/cjs/{debounce-09603da7.js → debounce-8c2731e5.js} +1 -1
  295. package/dist/cjs/{dom-6eaff76a.js → dom-fcd64918.js} +3 -3
  296. package/dist/cjs/{el-c2c1248e.js → el-cc9b234b.js} +18 -18
  297. package/dist/cjs/{en-au-8de0a066.js → en-au-e02fcb3d.js} +18 -18
  298. package/dist/cjs/{en-ca-89f26c7d.js → en-ca-69f3daa1.js} +18 -18
  299. package/dist/cjs/{en-gb-a57864ca.js → en-gb-f058cf8f.js} +18 -18
  300. package/dist/cjs/{es-697fa315.js → es-4cabd094.js} +18 -18
  301. package/dist/cjs/{es-mx-251491e0.js → es-mx-58eed3f8.js} +18 -18
  302. package/dist/cjs/{et-894fc740.js → et-efa55f7f.js} +18 -18
  303. package/dist/cjs/{fi-33b0fd81.js → fi-269242cf.js} +18 -18
  304. package/dist/cjs/{filter-12b28349.js → filter-52189564.js} +2 -2
  305. package/dist/cjs/{floating-ui-dcf88742.js → floating-ui-5a180b15.js} +3 -3
  306. package/dist/cjs/{focusTrapComponent-edeeff6f.js → focusTrapComponent-9bf70df7.js} +2 -2
  307. package/dist/cjs/{form-7860207b.js → form-f7c07359.js} +3 -3
  308. package/dist/cjs/{fr-d6a64df3.js → fr-4eb18da1.js} +18 -18
  309. package/dist/cjs/{fr-ch-7fdce0f2.js → fr-ch-bf077bcc.js} +18 -18
  310. package/dist/cjs/globalAttributes-094241b0.js +72 -0
  311. package/dist/cjs/{guid-7e5d6670.js → guid-178d1933.js} +1 -1
  312. package/dist/cjs/{he-5f688418.js → he-c46665b9.js} +18 -18
  313. package/dist/cjs/{hi-592fa307.js → hi-8f81b697.js} +18 -18
  314. package/dist/cjs/{hr-9a73c3a7.js → hr-1b66a71e.js} +18 -18
  315. package/dist/cjs/{hu-20be4586.js → hu-d70e2692.js} +18 -18
  316. package/dist/cjs/{id-f118b08f.js → id-cccee840.js} +18 -18
  317. package/dist/cjs/{index-f483e650.js → index-3e3e77c9.js} +1 -1
  318. package/dist/cjs/index-b35fac0a.js +73 -0
  319. package/dist/cjs/index-e3f8a61e.js +172 -0
  320. package/dist/cjs/index.cjs.js +2 -2
  321. package/dist/cjs/{interactive-34d2b4e3.js → interactive-34ebc5a7.js} +2 -2
  322. package/dist/cjs/{it-0a8257a5.js → it-71a9122c.js} +18 -18
  323. package/dist/cjs/{it-ch-ce875a8b.js → it-ch-808c0a4e.js} +18 -18
  324. package/dist/cjs/{ja-48760827.js → ja-5ce4bab7.js} +18 -18
  325. package/dist/cjs/{key-79008f3f.js → key-5f275565.js} +1 -1
  326. package/dist/cjs/{ko-552867c0.js → ko-c7404b9a.js} +18 -18
  327. package/dist/cjs/{label-39e6376a.js → label-6919add5.js} +2 -2
  328. package/dist/cjs/{loadable-fa7a8c47.js → loadable-7158f442.js} +2 -2
  329. package/dist/cjs/loader.cjs.js +5 -5
  330. package/dist/cjs/{locale-a6c9e366.js → locale-5b008ad7.js} +4 -4
  331. package/dist/cjs/{lt-8acad864.js → lt-926f3335.js} +18 -18
  332. package/dist/cjs/{lv-2813d584.js → lv-e8889bf8.js} +18 -18
  333. package/dist/cjs/{math-8e5fb3dc.js → math-fd3bbe93.js} +1 -1
  334. package/dist/cjs/{mk-10f9e9aa.js → mk-8dfd1de2.js} +18 -18
  335. package/dist/cjs/{nb-b0b85ad2.js → nb-e7da4c4e.js} +18 -18
  336. package/dist/cjs/{nl-6725402b.js → nl-a8e7d54f.js} +18 -18
  337. package/dist/cjs/{observers-d153b4ce.js → observers-b427b681.js} +1 -1
  338. package/dist/cjs/{openCloseComponent-3a061ba7.js → openCloseComponent-c0379fd2.js} +2 -2
  339. package/dist/cjs/{pl-4a75d298.js → pl-3379bbe4.js} +18 -18
  340. package/dist/cjs/{pt-25dfc656.js → pt-7f607d7d.js} +18 -18
  341. package/dist/cjs/{pt-br-0a19e353.js → pt-br-824e8694.js} +18 -18
  342. package/dist/cjs/{resources-2805da3f.js → resources-05bc8b3a.js} +1 -1
  343. package/dist/cjs/{resources-f02a1fb1.js → resources-57d27764.js} +3 -1
  344. package/dist/cjs/{resources-efd348a8.js → resources-593be57e.js} +3 -1
  345. package/dist/cjs/{resources-496a1a3c.js → resources-6e262671.js} +1 -1
  346. package/dist/cjs/{resources-abeed673.js → resources-86ac606a.js} +5 -5
  347. package/dist/cjs/{resources-912f5f5c.js → resources-d63dae2f.js} +1 -1
  348. package/dist/cjs/{resources-7109547e.js → resources-ed3ab8ea.js} +1 -1
  349. package/dist/cjs/responsive-c1d30d34.js +39 -0
  350. package/dist/cjs/{ro-b6011987.js → ro-f32f9ef7.js} +18 -18
  351. package/dist/cjs/{ru-a5b7511b.js → ru-be69d621.js} +18 -18
  352. package/dist/cjs/{sk-eec2201d.js → sk-2bf43f80.js} +18 -18
  353. package/dist/cjs/{sl-7b4b47f7.js → sl-f19e0b17.js} +18 -18
  354. package/dist/cjs/{sortableComponent-2940e2c6.js → sortableComponent-07a3e15e.js} +5 -5
  355. package/dist/cjs/{sr-f01e4697.js → sr-708daf24.js} +18 -18
  356. package/dist/cjs/{sv-8645875f.js → sv-95a110a9.js} +18 -18
  357. package/dist/cjs/{t9n-80a40707.js → t9n-54077e95.js} +3 -3
  358. package/dist/cjs/{th-5c562125.js → th-626891cd.js} +18 -18
  359. package/dist/cjs/{throttle-20f27f1b.js → throttle-1b9c3d6d.js} +2 -2
  360. package/dist/cjs/{tr-ba038a97.js → tr-f376b94d.js} +18 -18
  361. package/dist/cjs/{uk-10c63f6d.js → uk-5e0cc688.js} +18 -18
  362. package/dist/cjs/{utils-ecf253e3.js → utils-64be67d8.js} +3 -3
  363. package/dist/cjs/{utils-fbb3167e.js → utils-860351cd.js} +1 -1
  364. package/dist/cjs/{vi-a6bc5688.js → vi-6ea67920.js} +18 -18
  365. package/dist/cjs/{zh-cn-2210de03.js → zh-cn-91a731a1.js} +18 -18
  366. package/dist/cjs/{zh-hk-10998ef4.js → zh-hk-6ddd605b.js} +18 -18
  367. package/dist/cjs/{zh-tw-72ab8ab3.js → zh-tw-cea117d6.js} +18 -18
  368. package/dist/collection/components/accordion/accordion.js +1 -1
  369. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  370. package/dist/collection/components/accordion-item/resources.js +1 -1
  371. package/dist/collection/components/action/action.js +1 -1
  372. package/dist/collection/components/action/resources.js +1 -1
  373. package/dist/collection/components/action-bar/action-bar.js +7 -4
  374. package/dist/collection/components/action-bar/resources.js +1 -1
  375. package/dist/collection/components/action-bar/utils.js +1 -1
  376. package/dist/collection/components/action-group/action-group.js +1 -1
  377. package/dist/collection/components/action-group/resources.js +1 -1
  378. package/dist/collection/components/action-menu/action-menu.css +1 -1
  379. package/dist/collection/components/action-menu/action-menu.js +4 -3
  380. package/dist/collection/components/action-menu/resources.js +2 -1
  381. package/dist/collection/components/action-pad/action-pad.js +1 -1
  382. package/dist/collection/components/action-pad/resources.js +1 -1
  383. package/dist/collection/components/alert/alert.css +252 -212
  384. package/dist/collection/components/alert/alert.js +46 -30
  385. package/dist/collection/components/alert/resources.js +18 -3
  386. package/dist/collection/components/avatar/avatar.js +1 -1
  387. package/dist/collection/components/avatar/utils.js +1 -1
  388. package/dist/collection/components/block/block.js +1 -1
  389. package/dist/collection/components/block/resources.js +1 -1
  390. package/dist/collection/components/block-section/block-section.js +1 -1
  391. package/dist/collection/components/block-section/resources.js +1 -1
  392. package/dist/collection/components/button/button.js +10 -3
  393. package/dist/collection/components/button/resources.js +1 -1
  394. package/dist/collection/components/card/card.js +1 -1
  395. package/dist/collection/components/card/resources.js +1 -1
  396. package/dist/collection/components/checkbox/checkbox.js +1 -1
  397. package/dist/collection/components/chip/chip.js +1 -1
  398. package/dist/collection/components/chip/resources.js +1 -1
  399. package/dist/collection/components/chip-group/chip-group.js +1 -1
  400. package/dist/collection/components/color-picker/color-picker.js +1 -1
  401. package/dist/collection/components/color-picker/resources.js +1 -1
  402. package/dist/collection/components/color-picker/utils.js +1 -1
  403. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  404. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  405. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  406. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  407. package/dist/collection/components/combobox/combobox.js +1 -1
  408. package/dist/collection/components/combobox/resources.js +1 -1
  409. package/dist/collection/components/combobox/utils.js +1 -1
  410. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  411. package/dist/collection/components/combobox-item/resources.js +1 -1
  412. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  413. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  414. package/dist/collection/components/date-picker/date-picker.js +1 -1
  415. package/dist/collection/components/date-picker/resources.js +1 -1
  416. package/dist/collection/components/date-picker/utils.js +1 -1
  417. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  418. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  419. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  420. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  421. package/dist/collection/components/dropdown/dropdown.js +1 -1
  422. package/dist/collection/components/dropdown/resources.js +1 -1
  423. package/dist/collection/components/dropdown-group/dropdown-group.js +5 -1
  424. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  425. package/dist/collection/components/dropdown-item/resources.js +1 -1
  426. package/dist/collection/components/fab/fab.js +1 -1
  427. package/dist/collection/components/fab/resources.js +1 -1
  428. package/dist/collection/components/filter/filter.js +1 -1
  429. package/dist/collection/components/filter/resources.js +1 -1
  430. package/dist/collection/components/flow/flow.js +1 -1
  431. package/dist/collection/components/flow/resources.js +1 -1
  432. package/dist/collection/components/flow-item/flow-item.css +2 -1
  433. package/dist/collection/components/flow-item/flow-item.js +96 -8
  434. package/dist/collection/components/flow-item/resources.js +1 -1
  435. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  436. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  437. package/dist/collection/components/functional/Heading.js +1 -1
  438. package/dist/collection/components/functional/XButton.js +1 -1
  439. package/dist/collection/components/graph/graph.js +1 -1
  440. package/dist/collection/components/graph/util.js +1 -1
  441. package/dist/collection/components/handle/handle.js +1 -1
  442. package/dist/collection/components/handle/resources.js +1 -1
  443. package/dist/collection/components/icon/icon.js +1 -1
  444. package/dist/collection/components/icon/resources.js +1 -1
  445. package/dist/collection/components/icon/utils.js +1 -1
  446. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  447. package/dist/collection/components/inline-editable/resources.js +1 -1
  448. package/dist/collection/components/input/input.js +1 -1
  449. package/dist/collection/components/input/resources.js +1 -1
  450. package/dist/collection/components/input-date-picker/input-date-picker.js +27 -3
  451. package/dist/collection/components/input-date-picker/resources.js +1 -1
  452. package/dist/collection/components/input-date-picker/utils.js +1 -1
  453. package/dist/collection/components/input-message/input-message.js +1 -1
  454. package/dist/collection/components/input-message/interfaces.js +1 -1
  455. package/dist/collection/components/input-number/input-number.js +1 -1
  456. package/dist/collection/components/input-number/resources.js +1 -1
  457. package/dist/collection/components/input-text/input-text.js +1 -1
  458. package/dist/collection/components/input-text/resources.js +1 -1
  459. package/dist/collection/components/input-time-picker/input-time-picker.js +26 -2
  460. package/dist/collection/components/input-time-picker/resources.js +1 -1
  461. package/dist/collection/components/input-time-zone/input-time-zone.js +109 -17
  462. package/dist/collection/components/input-time-zone/utils.js +81 -20
  463. package/dist/collection/components/label/label.js +1 -1
  464. package/dist/collection/components/label/resources.js +1 -1
  465. package/dist/collection/components/link/link.js +1 -1
  466. package/dist/collection/components/list/list.js +16 -12
  467. package/dist/collection/components/list/resources.js +1 -1
  468. package/dist/collection/components/list-item/list-item.js +1 -1
  469. package/dist/collection/components/list-item/resources.js +1 -1
  470. package/dist/collection/components/list-item/utils.js +1 -1
  471. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  472. package/dist/collection/components/list-item-group/resources.js +1 -1
  473. package/dist/collection/components/loader/loader.js +1 -1
  474. package/dist/collection/components/menu/menu.js +1 -1
  475. package/dist/collection/components/menu-item/menu-item.js +1 -1
  476. package/dist/collection/components/menu-item/resources.js +1 -1
  477. package/dist/collection/components/meter/meter.js +1 -1
  478. package/dist/collection/components/meter/resources.js +1 -1
  479. package/dist/collection/components/modal/modal.js +1 -1
  480. package/dist/collection/components/modal/resources.js +1 -1
  481. package/dist/collection/components/navigation/navigation.js +1 -1
  482. package/dist/collection/components/navigation/resources.js +1 -1
  483. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  484. package/dist/collection/components/navigation-logo/resources.js +1 -1
  485. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  486. package/dist/collection/components/navigation-user/resources.js +1 -1
  487. package/dist/collection/components/notice/notice.js +1 -1
  488. package/dist/collection/components/notice/resources.js +1 -1
  489. package/dist/collection/components/option/option.js +1 -1
  490. package/dist/collection/components/option-group/option-group.js +1 -1
  491. package/dist/collection/components/pagination/pagination.js +1 -1
  492. package/dist/collection/components/pagination/resources.js +1 -1
  493. package/dist/collection/components/panel/assets/panel/t9n/index.d.ts +2 -0
  494. package/dist/collection/components/panel/assets/panel/t9n/messages.json +3 -1
  495. package/dist/collection/components/panel/assets/panel/t9n/messages_ar.json +3 -1
  496. package/dist/collection/components/panel/assets/panel/t9n/messages_bg.json +3 -1
  497. package/dist/collection/components/panel/assets/panel/t9n/messages_bs.json +3 -1
  498. package/dist/collection/components/panel/assets/panel/t9n/messages_ca.json +3 -1
  499. package/dist/collection/components/panel/assets/panel/t9n/messages_cs.json +3 -1
  500. package/dist/collection/components/panel/assets/panel/t9n/messages_da.json +3 -1
  501. package/dist/collection/components/panel/assets/panel/t9n/messages_de.json +3 -1
  502. package/dist/collection/components/panel/assets/panel/t9n/messages_el.json +3 -1
  503. package/dist/collection/components/panel/assets/panel/t9n/messages_en.json +3 -1
  504. package/dist/collection/components/panel/assets/panel/t9n/messages_es.json +3 -1
  505. package/dist/collection/components/panel/assets/panel/t9n/messages_et.json +3 -1
  506. package/dist/collection/components/panel/assets/panel/t9n/messages_fi.json +3 -1
  507. package/dist/collection/components/panel/assets/panel/t9n/messages_fr.json +3 -1
  508. package/dist/collection/components/panel/assets/panel/t9n/messages_he.json +3 -1
  509. package/dist/collection/components/panel/assets/panel/t9n/messages_hr.json +3 -1
  510. package/dist/collection/components/panel/assets/panel/t9n/messages_hu.json +3 -1
  511. package/dist/collection/components/panel/assets/panel/t9n/messages_id.json +3 -1
  512. package/dist/collection/components/panel/assets/panel/t9n/messages_it.json +3 -1
  513. package/dist/collection/components/panel/assets/panel/t9n/messages_ja.json +3 -1
  514. package/dist/collection/components/panel/assets/panel/t9n/messages_ko.json +3 -1
  515. package/dist/collection/components/panel/assets/panel/t9n/messages_lt.json +3 -1
  516. package/dist/collection/components/panel/assets/panel/t9n/messages_lv.json +3 -1
  517. package/dist/collection/components/panel/assets/panel/t9n/messages_nl.json +3 -1
  518. package/dist/collection/components/panel/assets/panel/t9n/messages_no.json +3 -1
  519. package/dist/collection/components/panel/assets/panel/t9n/messages_pl.json +3 -1
  520. package/dist/collection/components/panel/assets/panel/t9n/messages_pt-BR.json +3 -1
  521. package/dist/collection/components/panel/assets/panel/t9n/messages_pt-PT.json +3 -1
  522. package/dist/collection/components/panel/assets/panel/t9n/messages_ro.json +3 -1
  523. package/dist/collection/components/panel/assets/panel/t9n/messages_ru.json +3 -1
  524. package/dist/collection/components/panel/assets/panel/t9n/messages_sk.json +3 -1
  525. package/dist/collection/components/panel/assets/panel/t9n/messages_sl.json +3 -1
  526. package/dist/collection/components/panel/assets/panel/t9n/messages_sr.json +3 -1
  527. package/dist/collection/components/panel/assets/panel/t9n/messages_sv.json +3 -1
  528. package/dist/collection/components/panel/assets/panel/t9n/messages_th.json +3 -1
  529. package/dist/collection/components/panel/assets/panel/t9n/messages_tr.json +3 -1
  530. package/dist/collection/components/panel/assets/panel/t9n/messages_uk.json +3 -1
  531. package/dist/collection/components/panel/assets/panel/t9n/messages_vi.json +3 -1
  532. package/dist/collection/components/panel/assets/panel/t9n/messages_zh-CN.json +3 -1
  533. package/dist/collection/components/panel/assets/panel/t9n/messages_zh-HK.json +3 -1
  534. package/dist/collection/components/panel/assets/panel/t9n/messages_zh-TW.json +3 -1
  535. package/dist/collection/components/panel/panel.css +3 -4
  536. package/dist/collection/components/panel/panel.js +103 -25
  537. package/dist/collection/components/panel/resources.js +3 -1
  538. package/dist/collection/components/pick-list/pick-list.js +1 -1
  539. package/dist/collection/components/pick-list/resources.js +1 -1
  540. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  541. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  542. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  543. package/dist/collection/components/pick-list-group/resources.js +1 -1
  544. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  545. package/dist/collection/components/pick-list-item/resources.js +1 -1
  546. package/dist/collection/components/popover/PopoverManager.js +1 -1
  547. package/dist/collection/components/popover/popover.js +1 -1
  548. package/dist/collection/components/popover/resources.js +1 -1
  549. package/dist/collection/components/progress/progress.js +1 -1
  550. package/dist/collection/components/radio-button/radio-button.js +1 -1
  551. package/dist/collection/components/radio-button/resources.js +1 -1
  552. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  553. package/dist/collection/components/rating/function/star.js +1 -1
  554. package/dist/collection/components/rating/rating.js +1 -1
  555. package/dist/collection/components/resources.js +1 -1
  556. package/dist/collection/components/scrim/resources.js +1 -1
  557. package/dist/collection/components/scrim/scrim.js +1 -1
  558. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  559. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  560. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  561. package/dist/collection/components/select/resources.js +1 -1
  562. package/dist/collection/components/select/select.js +1 -1
  563. package/dist/collection/components/sheet/resources.js +1 -1
  564. package/dist/collection/components/sheet/sheet.js +1 -1
  565. package/dist/collection/components/shell/resources.js +1 -1
  566. package/dist/collection/components/shell/shell.js +1 -1
  567. package/dist/collection/components/shell-center-row/resources.js +1 -1
  568. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  569. package/dist/collection/components/shell-panel/resources.js +1 -1
  570. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  571. package/dist/collection/components/slider/resources.js +1 -1
  572. package/dist/collection/components/slider/slider.js +1 -1
  573. package/dist/collection/components/sortable-list/resources.js +1 -1
  574. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  575. package/dist/collection/components/split-button/resources.js +1 -1
  576. package/dist/collection/components/split-button/split-button.js +1 -1
  577. package/dist/collection/components/stack/resources.js +1 -1
  578. package/dist/collection/components/stack/stack.js +1 -1
  579. package/dist/collection/components/stepper/stepper.js +1 -1
  580. package/dist/collection/components/stepper-item/resources.js +1 -1
  581. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  582. package/dist/collection/components/switch/switch.js +1 -1
  583. package/dist/collection/components/tab/tab.js +1 -1
  584. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  585. package/dist/collection/components/tab-title/resources.js +1 -1
  586. package/dist/collection/components/tab-title/tab-title.js +1 -1
  587. package/dist/collection/components/table/resources.js +1 -1
  588. package/dist/collection/components/table/table.js +1 -1
  589. package/dist/collection/components/table-cell/resources.js +1 -1
  590. package/dist/collection/components/table-cell/table-cell.css +4 -0
  591. package/dist/collection/components/table-cell/table-cell.js +5 -1
  592. package/dist/collection/components/table-header/resources.js +1 -1
  593. package/dist/collection/components/table-header/table-header.js +1 -1
  594. package/dist/collection/components/table-row/table-row.js +1 -1
  595. package/dist/collection/components/tabs/resources.js +1 -1
  596. package/dist/collection/components/tabs/tabs.js +1 -1
  597. package/dist/collection/components/text-area/resources.js +1 -1
  598. package/dist/collection/components/text-area/text-area.js +1 -1
  599. package/dist/collection/components/tile/resources.js +1 -1
  600. package/dist/collection/components/tile/tile.js +1 -1
  601. package/dist/collection/components/tile-select/resources.js +1 -1
  602. package/dist/collection/components/tile-select/tile-select.js +1 -1
  603. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  604. package/dist/collection/components/time-picker/resources.js +1 -1
  605. package/dist/collection/components/time-picker/time-picker.js +1 -1
  606. package/dist/collection/components/tip/resources.js +1 -1
  607. package/dist/collection/components/tip/tip.js +1 -1
  608. package/dist/collection/components/tip-group/tip-group.js +1 -1
  609. package/dist/collection/components/tip-manager/resources.js +1 -1
  610. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  611. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  612. package/dist/collection/components/tooltip/resources.js +1 -1
  613. package/dist/collection/components/tooltip/tooltip.js +1 -1
  614. package/dist/collection/components/tooltip/utils.js +1 -1
  615. package/dist/collection/components/tree/tree.js +48 -61
  616. package/dist/collection/components/tree/utils.js +1 -1
  617. package/dist/collection/components/tree-item/resources.js +1 -1
  618. package/dist/collection/components/tree-item/tree-item.css +0 -9
  619. package/dist/collection/components/tree-item/tree-item.js +2 -12
  620. package/dist/collection/components/value-list/resources.js +1 -1
  621. package/dist/collection/components/value-list/utils.js +1 -1
  622. package/dist/collection/components/value-list/value-list.js +1 -1
  623. package/dist/collection/components/value-list-item/resources.js +1 -1
  624. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  625. package/dist/collection/index.js +1 -1
  626. package/dist/collection/utils/array.js +1 -1
  627. package/dist/collection/utils/browser.js +1 -1
  628. package/dist/collection/utils/conditionalSlot.js +1 -1
  629. package/dist/collection/utils/config.js +1 -1
  630. package/dist/collection/utils/date.js +1 -1
  631. package/dist/collection/utils/dom.js +1 -1
  632. package/dist/collection/utils/filter.js +1 -1
  633. package/dist/collection/utils/floating-ui.js +1 -1
  634. package/dist/collection/utils/focusTrapComponent.js +1 -1
  635. package/dist/collection/utils/form.js +1 -1
  636. package/dist/collection/utils/globalAttributes.js +2 -2
  637. package/dist/collection/utils/globalScript.js +1 -1
  638. package/dist/collection/utils/guid.js +1 -1
  639. package/dist/collection/utils/interactive.js +1 -1
  640. package/dist/collection/utils/key.js +1 -1
  641. package/dist/collection/utils/label.js +1 -1
  642. package/dist/collection/utils/loadable.js +1 -1
  643. package/dist/collection/utils/locale.js +1 -1
  644. package/dist/collection/utils/math.js +1 -1
  645. package/dist/collection/utils/mode.js +1 -1
  646. package/dist/collection/utils/number.js +1 -1
  647. package/dist/collection/utils/observers.js +1 -1
  648. package/dist/collection/utils/openCloseComponent.js +1 -1
  649. package/dist/collection/utils/resources.js +1 -1
  650. package/dist/collection/utils/responsive.js +1 -1
  651. package/dist/collection/utils/sortableComponent.js +5 -5
  652. package/dist/collection/utils/t9n.js +1 -1
  653. package/dist/collection/utils/time.js +1 -1
  654. package/dist/components/ExpandToggle.js +1 -1
  655. package/dist/components/FloatingArrow.js +1 -1
  656. package/dist/components/Heading.js +1 -1
  657. package/dist/components/action-group.js +1 -1
  658. package/dist/components/action-menu.js +5 -3
  659. package/dist/components/action.js +1 -1
  660. package/dist/components/ar.js +1 -1
  661. package/dist/components/array.js +1 -1
  662. package/dist/components/avatar.js +1 -1
  663. package/dist/components/bg.js +1 -1
  664. package/dist/components/bs.js +1 -1
  665. package/dist/components/button.js +9 -2
  666. package/dist/components/ca.js +1 -1
  667. package/dist/components/calcite-accordion-item.js +1 -1
  668. package/dist/components/calcite-accordion.js +1 -1
  669. package/dist/components/calcite-action-bar.js +7 -4
  670. package/dist/components/calcite-action-group.js +1 -1
  671. package/dist/components/calcite-action-menu.js +1 -1
  672. package/dist/components/calcite-action-pad.js +1 -1
  673. package/dist/components/calcite-action.js +1 -1
  674. package/dist/components/calcite-alert.js +65 -30
  675. package/dist/components/calcite-avatar.js +1 -1
  676. package/dist/components/calcite-block-section.js +1 -1
  677. package/dist/components/calcite-block.js +1 -1
  678. package/dist/components/calcite-button.js +1 -1
  679. package/dist/components/calcite-card.js +1 -1
  680. package/dist/components/calcite-checkbox.js +1 -1
  681. package/dist/components/calcite-chip-group.js +1 -1
  682. package/dist/components/calcite-chip.js +1 -1
  683. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  684. package/dist/components/calcite-color-picker-swatch.js +1 -1
  685. package/dist/components/calcite-color-picker.js +1 -1
  686. package/dist/components/calcite-combobox-item-group.js +1 -1
  687. package/dist/components/calcite-combobox-item.js +1 -1
  688. package/dist/components/calcite-combobox.js +1 -1
  689. package/dist/components/calcite-date-picker-day.js +1 -1
  690. package/dist/components/calcite-date-picker-month-header.js +1 -1
  691. package/dist/components/calcite-date-picker-month.js +1 -1
  692. package/dist/components/calcite-date-picker.js +1 -1
  693. package/dist/components/calcite-dropdown-group.js +5 -1
  694. package/dist/components/calcite-dropdown-item.js +1 -1
  695. package/dist/components/calcite-dropdown.js +1 -1
  696. package/dist/components/calcite-fab.js +1 -1
  697. package/dist/components/calcite-filter.js +1 -1
  698. package/dist/components/calcite-flow-item.js +19 -5
  699. package/dist/components/calcite-flow.js +1 -1
  700. package/dist/components/calcite-graph.js +1 -1
  701. package/dist/components/calcite-handle.js +1 -1
  702. package/dist/components/calcite-icon.js +1 -1
  703. package/dist/components/calcite-inline-editable.js +1 -1
  704. package/dist/components/calcite-input-date-picker.js +5 -3
  705. package/dist/components/calcite-input-message.js +1 -1
  706. package/dist/components/calcite-input-number.js +1 -1
  707. package/dist/components/calcite-input-text.js +1 -1
  708. package/dist/components/calcite-input-time-picker.js +4 -2
  709. package/dist/components/calcite-input-time-zone.js +130 -37
  710. package/dist/components/calcite-input.js +1 -1
  711. package/dist/components/calcite-label.js +1 -1
  712. package/dist/components/calcite-link.js +1 -1
  713. package/dist/components/calcite-list-item-group.js +1 -1
  714. package/dist/components/calcite-list-item.js +1 -1
  715. package/dist/components/calcite-list.js +16 -12
  716. package/dist/components/calcite-loader.js +1 -1
  717. package/dist/components/calcite-menu-item.js +1 -1
  718. package/dist/components/calcite-menu.js +1 -1
  719. package/dist/components/calcite-meter.js +1 -1
  720. package/dist/components/calcite-modal.js +1 -1
  721. package/dist/components/calcite-navigation-logo.js +1 -1
  722. package/dist/components/calcite-navigation-user.js +1 -1
  723. package/dist/components/calcite-navigation.js +1 -1
  724. package/dist/components/calcite-notice.js +1 -1
  725. package/dist/components/calcite-option-group.js +1 -1
  726. package/dist/components/calcite-option.js +1 -1
  727. package/dist/components/calcite-pagination.js +1 -1
  728. package/dist/components/calcite-panel.js +1 -1
  729. package/dist/components/calcite-pick-list-group.js +1 -1
  730. package/dist/components/calcite-pick-list-item.js +1 -1
  731. package/dist/components/calcite-pick-list.js +1 -1
  732. package/dist/components/calcite-popover.js +1 -1
  733. package/dist/components/calcite-progress.js +1 -1
  734. package/dist/components/calcite-radio-button-group.js +1 -1
  735. package/dist/components/calcite-radio-button.js +1 -1
  736. package/dist/components/calcite-rating.js +1 -1
  737. package/dist/components/calcite-scrim.js +1 -1
  738. package/dist/components/calcite-segmented-control-item.js +1 -1
  739. package/dist/components/calcite-segmented-control.js +1 -1
  740. package/dist/components/calcite-select.js +1 -1
  741. package/dist/components/calcite-sheet.js +1 -1
  742. package/dist/components/calcite-shell-center-row.js +1 -1
  743. package/dist/components/calcite-shell-panel.js +1 -1
  744. package/dist/components/calcite-shell.js +1 -1
  745. package/dist/components/calcite-slider.js +1 -1
  746. package/dist/components/calcite-sortable-list.js +1 -1
  747. package/dist/components/calcite-split-button.js +1 -1
  748. package/dist/components/calcite-stack.js +1 -1
  749. package/dist/components/calcite-stepper-item.js +1 -1
  750. package/dist/components/calcite-stepper.js +1 -1
  751. package/dist/components/calcite-switch.js +1 -1
  752. package/dist/components/calcite-tab-nav.js +1 -1
  753. package/dist/components/calcite-tab-title.js +1 -1
  754. package/dist/components/calcite-tab.js +1 -1
  755. package/dist/components/calcite-table-cell.js +1 -1
  756. package/dist/components/calcite-table-header.js +1 -1
  757. package/dist/components/calcite-table-row.js +1 -1
  758. package/dist/components/calcite-table.js +1 -1
  759. package/dist/components/calcite-tabs.js +1 -1
  760. package/dist/components/calcite-text-area.js +1 -1
  761. package/dist/components/calcite-tile-select-group.js +1 -1
  762. package/dist/components/calcite-tile-select.js +1 -1
  763. package/dist/components/calcite-tile.js +1 -1
  764. package/dist/components/calcite-time-picker.js +1 -1
  765. package/dist/components/calcite-tip-group.js +1 -1
  766. package/dist/components/calcite-tip-manager.js +1 -1
  767. package/dist/components/calcite-tip.js +1 -1
  768. package/dist/components/calcite-tooltip.js +1 -1
  769. package/dist/components/calcite-tree-item.js +3 -13
  770. package/dist/components/calcite-tree.js +48 -61
  771. package/dist/components/calcite-value-list-item.js +1 -1
  772. package/dist/components/calcite-value-list.js +1 -1
  773. package/dist/components/checkbox.js +1 -1
  774. package/dist/components/chip.js +1 -1
  775. package/dist/components/color-picker-hex-input.js +1 -1
  776. package/dist/components/color-picker-swatch.js +1 -1
  777. package/dist/components/combobox-item.js +1 -1
  778. package/dist/components/combobox.js +1 -1
  779. package/dist/components/conditionalSlot.js +1 -1
  780. package/dist/components/cs.js +1 -1
  781. package/dist/components/da.js +1 -1
  782. package/dist/components/date-picker-day.js +1 -1
  783. package/dist/components/date-picker-month-header.js +1 -1
  784. package/dist/components/date-picker-month.js +1 -1
  785. package/dist/components/date-picker.js +1 -1
  786. package/dist/components/date.js +1 -1
  787. package/dist/components/de-at.js +1 -1
  788. package/dist/components/de-ch.js +1 -1
  789. package/dist/components/de.js +1 -1
  790. package/dist/components/debounce.js +1 -1
  791. package/dist/components/dom.js +1 -1
  792. package/dist/components/dropdown.js +1 -1
  793. package/dist/components/el.js +1 -1
  794. package/dist/components/en-au.js +1 -1
  795. package/dist/components/en-ca.js +1 -1
  796. package/dist/components/en-gb.js +1 -1
  797. package/dist/components/es-mx.js +1 -1
  798. package/dist/components/es.js +1 -1
  799. package/dist/components/et.js +1 -1
  800. package/dist/components/fi.js +1 -1
  801. package/dist/components/filter.js +1 -1
  802. package/dist/components/filter2.js +1 -1
  803. package/dist/components/floating-ui.js +1 -1
  804. package/dist/components/focusTrapComponent.js +1 -1
  805. package/dist/components/form.js +1 -1
  806. package/dist/components/fr-ch.js +1 -1
  807. package/dist/components/fr.js +1 -1
  808. package/dist/components/globalAttributes.js +69 -0
  809. package/dist/components/graph.js +1 -1
  810. package/dist/components/guid.js +1 -1
  811. package/dist/components/handle.js +1 -1
  812. package/dist/components/he.js +1 -1
  813. package/dist/components/hi.js +1 -1
  814. package/dist/components/hr.js +1 -1
  815. package/dist/components/hu.js +1 -1
  816. package/dist/components/icon.js +1 -1
  817. package/dist/components/id.js +1 -1
  818. package/dist/components/index.js +1 -1
  819. package/dist/components/index2.js +1 -1
  820. package/dist/components/index3.js +170 -0
  821. package/dist/components/index4.js +71 -0
  822. package/dist/components/input-number.js +1 -1
  823. package/dist/components/input-text.js +1 -1
  824. package/dist/components/input.js +1 -1
  825. package/dist/components/interactive.js +1 -1
  826. package/dist/components/it-ch.js +1 -1
  827. package/dist/components/it.js +1 -1
  828. package/dist/components/ja.js +1 -1
  829. package/dist/components/key.js +1 -1
  830. package/dist/components/ko.js +1 -1
  831. package/dist/components/label.js +1 -1
  832. package/dist/components/label2.js +1 -1
  833. package/dist/components/link.js +1 -1
  834. package/dist/components/loadable.js +1 -1
  835. package/dist/components/loader.js +1 -1
  836. package/dist/components/locale.js +1 -1
  837. package/dist/components/lt.js +1 -1
  838. package/dist/components/lv.js +1 -1
  839. package/dist/components/math.js +1 -1
  840. package/dist/components/menu.js +2 -63
  841. package/dist/components/mk.js +1 -1
  842. package/dist/components/nb.js +1 -1
  843. package/dist/components/nl.js +1 -1
  844. package/dist/components/observers.js +1 -1
  845. package/dist/components/openCloseComponent.js +1 -1
  846. package/dist/components/pagination.js +2 -32
  847. package/dist/components/panel.js +30 -21
  848. package/dist/components/pick-list-item.js +1 -1
  849. package/dist/components/pl.js +1 -1
  850. package/dist/components/popover.js +1 -1
  851. package/dist/components/progress.js +1 -1
  852. package/dist/components/pt-br.js +1 -1
  853. package/dist/components/pt.js +1 -1
  854. package/dist/components/resources.js +1 -1
  855. package/dist/components/resources2.js +1 -1
  856. package/dist/components/resources3.js +1 -1
  857. package/dist/components/resources4.js +1 -1
  858. package/dist/components/responsive.js +37 -0
  859. package/dist/components/ro.js +1 -1
  860. package/dist/components/ru.js +1 -1
  861. package/dist/components/scrim.js +1 -1
  862. package/dist/components/shared-list-render.js +1 -1
  863. package/dist/components/sk.js +1 -1
  864. package/dist/components/sl.js +1 -1
  865. package/dist/components/sortableComponent.js +5 -5
  866. package/dist/components/sr.js +1 -1
  867. package/dist/components/stack.js +1 -1
  868. package/dist/components/sv.js +1 -1
  869. package/dist/components/switch.js +1 -1
  870. package/dist/components/t9n.js +1 -1
  871. package/dist/components/tab-nav.js +1 -1
  872. package/dist/components/tab-title.js +1 -1
  873. package/dist/components/tab.js +1 -1
  874. package/dist/components/table-cell.js +5 -2
  875. package/dist/components/table-header.js +1 -1
  876. package/dist/components/tabs.js +1 -1
  877. package/dist/components/th.js +1 -1
  878. package/dist/components/throttle.js +1 -1
  879. package/dist/components/tile.js +1 -1
  880. package/dist/components/time-picker.js +1 -1
  881. package/dist/components/tr.js +1 -1
  882. package/dist/components/uk.js +1 -1
  883. package/dist/components/utils.js +1 -1
  884. package/dist/components/utils2.js +1 -1
  885. package/dist/components/utils3.js +1 -1
  886. package/dist/components/vi.js +1 -1
  887. package/dist/components/zh-cn.js +1 -1
  888. package/dist/components/zh-hk.js +1 -1
  889. package/dist/components/zh-tw.js +1 -1
  890. package/dist/esm/{ExpandToggle-94063e9a.js → ExpandToggle-9f55eda5.js} +5 -5
  891. package/dist/esm/{FloatingArrow-98297e28.js → FloatingArrow-11f6928d.js} +2 -2
  892. package/dist/esm/{Heading-8509e97b.js → Heading-0280a4db.js} +2 -2
  893. package/dist/esm/{app-globals-46c7af78.js → app-globals-af801588.js} +2 -2
  894. package/dist/esm/{ar-71591d48.js → ar-0c35ff39.js} +18 -18
  895. package/dist/esm/{array-50a0ce74.js → array-416b404b.js} +1 -1
  896. package/dist/esm/{bg-c5e5cd3e.js → bg-f55a7aa9.js} +18 -18
  897. package/dist/esm/{browser-cc389517.js → browser-99f127cb.js} +1 -1
  898. package/dist/esm/{bs-115c62c7.js → bs-81b6c396.js} +18 -18
  899. package/dist/esm/{ca-476de4cb.js → ca-3bf546e1.js} +18 -18
  900. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  901. package/dist/esm/calcite-action-bar.entry.js +21 -18
  902. package/dist/esm/calcite-action-group.entry.js +13 -13
  903. package/dist/esm/calcite-action-menu.entry.js +12 -11
  904. package/dist/esm/calcite-action-pad.entry.js +14 -14
  905. package/dist/esm/calcite-action.entry.js +12 -12
  906. package/dist/esm/calcite-alert.entry.js +72 -38
  907. package/dist/esm/calcite-avatar.entry.js +6 -6
  908. package/dist/esm/calcite-block_2.entry.js +15 -15
  909. package/dist/esm/calcite-button.entry.js +21 -15
  910. package/dist/esm/calcite-card.entry.js +10 -10
  911. package/dist/esm/calcite-checkbox.entry.js +11 -11
  912. package/dist/esm/calcite-chip-group.entry.js +9 -9
  913. package/dist/esm/calcite-chip.entry.js +13 -13
  914. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  915. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  916. package/dist/esm/calcite-date-picker_4.entry.js +14 -14
  917. package/dist/esm/calcite-dropdown_3.entry.js +17 -13
  918. package/dist/esm/calcite-fab.entry.js +8 -8
  919. package/dist/esm/calcite-filter.entry.js +14 -14
  920. package/dist/esm/calcite-flow-item.entry.js +28 -17
  921. package/dist/esm/calcite-flow.entry.js +4 -4
  922. package/dist/esm/calcite-graph_2.entry.js +14 -14
  923. package/dist/esm/calcite-handle.entry.js +10 -10
  924. package/dist/esm/calcite-icon.entry.js +6 -6
  925. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  926. package/dist/esm/calcite-input-date-picker.entry.js +22 -21
  927. package/dist/esm/calcite-input-message.entry.js +5 -5
  928. package/dist/esm/calcite-input-number.entry.js +14 -14
  929. package/dist/esm/calcite-input-text.entry.js +14 -14
  930. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-0b90aa55.js → calcite-input-time-picker.calcite-time-picker-075604ca.js} +64 -63
  931. package/dist/esm/calcite-input-time-picker_2.entry.js +18 -18
  932. package/dist/esm/calcite-input-time-zone.entry.js +140 -49
  933. package/dist/esm/calcite-input.entry.js +14 -14
  934. package/dist/esm/calcite-label.entry.js +6 -6
  935. package/dist/esm/calcite-link.entry.js +8 -8
  936. package/dist/esm/calcite-list_3.entry.js +30 -26
  937. package/dist/esm/calcite-loader.entry.js +3 -3
  938. package/dist/esm/calcite-menu_2.entry.js +11 -71
  939. package/dist/esm/calcite-meter.entry.js +10 -10
  940. package/dist/esm/calcite-modal.entry.js +13 -13
  941. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  942. package/dist/esm/calcite-notice.entry.js +13 -13
  943. package/dist/esm/calcite-option_3.entry.js +11 -11
  944. package/dist/esm/calcite-pagination.entry.js +11 -41
  945. package/dist/esm/calcite-panel.entry.js +39 -35
  946. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  947. package/dist/esm/calcite-popover.entry.js +16 -16
  948. package/dist/esm/calcite-progress.entry.js +5 -5
  949. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  950. package/dist/esm/calcite-radio-button.entry.js +11 -11
  951. package/dist/esm/calcite-rating.entry.js +14 -14
  952. package/dist/esm/calcite-scrim.entry.js +9 -9
  953. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  954. package/dist/esm/calcite-sheet.entry.js +9 -9
  955. package/dist/esm/calcite-shell_3.entry.js +11 -11
  956. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  957. package/dist/esm/calcite-split-button.entry.js +5 -5
  958. package/dist/esm/calcite-stack.entry.js +6 -6
  959. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  960. package/dist/esm/calcite-switch.entry.js +11 -11
  961. package/dist/esm/calcite-tab_4.entry.js +11 -11
  962. package/dist/esm/calcite-table-cell_2.entry.js +15 -13
  963. package/dist/esm/calcite-table-row.entry.js +8 -8
  964. package/dist/esm/calcite-table.entry.js +11 -11
  965. package/dist/esm/calcite-text-area.entry.js +16 -16
  966. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  967. package/dist/esm/calcite-tile.entry.js +9 -9
  968. package/dist/esm/calcite-tip_3.entry.js +11 -11
  969. package/dist/esm/calcite-tooltip.entry.js +9 -9
  970. package/dist/esm/calcite-tree_2.entry.js +57 -80
  971. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  972. package/dist/esm/calcite.js +6 -6
  973. package/dist/esm/{conditionalSlot-d7f043fe.js → conditionalSlot-62e440de.js} +3 -3
  974. package/dist/esm/{cs-aa9ace87.js → cs-8f08e474.js} +18 -18
  975. package/dist/esm/{da-6e1cabc7.js → da-dc50d0a5.js} +18 -18
  976. package/dist/esm/{de-404d1430.js → de-80bc3867.js} +18 -18
  977. package/dist/esm/{de-at-38f207d8.js → de-at-ea5f54a9.js} +18 -18
  978. package/dist/esm/{de-ch-3fa4d8ad.js → de-ch-65facafe.js} +18 -18
  979. package/dist/esm/{debounce-ec7a8504.js → debounce-0b9479f0.js} +1 -1
  980. package/dist/esm/{dom-135c7e08.js → dom-ee293fdc.js} +4 -4
  981. package/dist/esm/{el-89749047.js → el-8d811c93.js} +18 -18
  982. package/dist/esm/{en-au-a9e99071.js → en-au-d8070562.js} +18 -18
  983. package/dist/esm/{en-ca-f810c3cf.js → en-ca-20a978ba.js} +18 -18
  984. package/dist/esm/{en-gb-a6339531.js → en-gb-09be4a4c.js} +18 -18
  985. package/dist/esm/{es-858cc1f4.js → es-659218ed.js} +18 -18
  986. package/dist/esm/{es-mx-53ee186d.js → es-mx-d094036c.js} +18 -18
  987. package/dist/esm/{et-e96126a0.js → et-764c6547.js} +18 -18
  988. package/dist/esm/{fi-5513c52e.js → fi-3d658f30.js} +18 -18
  989. package/dist/esm/{filter-98b77446.js → filter-414fc5af.js} +2 -2
  990. package/dist/esm/{floating-ui-69a36ac8.js → floating-ui-5424beb4.js} +3 -3
  991. package/dist/esm/{focusTrapComponent-2d40d3ec.js → focusTrapComponent-27ace0d6.js} +2 -2
  992. package/dist/esm/{form-767c4174.js → form-42eecf27.js} +3 -3
  993. package/dist/esm/{fr-4d9f9d42.js → fr-740b3ef0.js} +18 -18
  994. package/dist/esm/{fr-ch-a0867e3b.js → fr-ch-4f0941a3.js} +18 -18
  995. package/dist/esm/globalAttributes-abf60b99.js +69 -0
  996. package/dist/esm/{guid-dd510c8a.js → guid-3c2df44d.js} +1 -1
  997. package/dist/esm/{he-fe966c7f.js → he-71df4fe0.js} +18 -18
  998. package/dist/esm/{hi-d759e9db.js → hi-b9f08ece.js} +18 -18
  999. package/dist/esm/{hr-b5d2e729.js → hr-476a9a22.js} +18 -18
  1000. package/dist/esm/{hu-ee21cd01.js → hu-fe1c9ba4.js} +18 -18
  1001. package/dist/esm/{id-ae0f2d62.js → id-daad8393.js} +18 -18
  1002. package/dist/esm/index-1a1993ce.js +71 -0
  1003. package/dist/esm/index-41d07323.js +170 -0
  1004. package/dist/esm/{index-1ae53f0a.js → index-5dd366f5.js} +1 -1
  1005. package/dist/esm/index.js +2 -2
  1006. package/dist/esm/{interactive-b055481d.js → interactive-bfd53620.js} +2 -2
  1007. package/dist/esm/{it-088dc496.js → it-a0272260.js} +18 -18
  1008. package/dist/esm/{it-ch-54b62f02.js → it-ch-8ce8636f.js} +18 -18
  1009. package/dist/esm/{ja-11e8a6ec.js → ja-ae72a76f.js} +18 -18
  1010. package/dist/esm/{key-bfc12e39.js → key-c0734499.js} +1 -1
  1011. package/dist/esm/{ko-7bb0bcdd.js → ko-7b6d185f.js} +18 -18
  1012. package/dist/esm/{label-4441c66d.js → label-d8610ba9.js} +2 -2
  1013. package/dist/esm/{loadable-0f34d04c.js → loadable-45b89522.js} +2 -2
  1014. package/dist/esm/loader.js +6 -6
  1015. package/dist/esm/{locale-a410c07c.js → locale-a217aea8.js} +4 -4
  1016. package/dist/esm/{lt-dc283536.js → lt-a87c2751.js} +18 -18
  1017. package/dist/esm/{lv-f60ea52b.js → lv-522c1ee6.js} +18 -18
  1018. package/dist/esm/{math-a20b08b9.js → math-6a7c36a8.js} +1 -1
  1019. package/dist/esm/{mk-a44af505.js → mk-f1450d29.js} +18 -18
  1020. package/dist/esm/{nb-1694b0fc.js → nb-4967de7d.js} +18 -18
  1021. package/dist/esm/{nl-42482be9.js → nl-de206146.js} +18 -18
  1022. package/dist/esm/{observers-36702211.js → observers-0f877846.js} +1 -1
  1023. package/dist/esm/{openCloseComponent-c2e848c7.js → openCloseComponent-3fee1bff.js} +2 -2
  1024. package/dist/esm/{pl-5b3eb7da.js → pl-0c5e4e82.js} +18 -18
  1025. package/dist/esm/{pt-2c8a2689.js → pt-106018d3.js} +18 -18
  1026. package/dist/esm/{pt-br-b0f0c005.js → pt-br-10b70755.js} +18 -18
  1027. package/dist/esm/{resources-b0b628c0.js → resources-48560b46.js} +3 -2
  1028. package/dist/esm/{resources-197b7362.js → resources-4d6a5b7a.js} +3 -1
  1029. package/dist/esm/{resources-3a144073.js → resources-6b8d47a6.js} +5 -5
  1030. package/dist/esm/{resources-86f01706.js → resources-a6585ea9.js} +1 -1
  1031. package/dist/esm/{resources-1d5be877.js → resources-e7512cb8.js} +1 -1
  1032. package/dist/esm/{resources-b2604576.js → resources-ec297548.js} +1 -1
  1033. package/dist/esm/{resources-8cf44124.js → resources-fe343d4a.js} +1 -1
  1034. package/dist/esm/responsive-2ab5b83c.js +37 -0
  1035. package/dist/esm/{ro-78cead27.js → ro-d7513f90.js} +18 -18
  1036. package/dist/esm/{ru-b47926bb.js → ru-dbc80701.js} +18 -18
  1037. package/dist/esm/{sk-34607107.js → sk-08770b96.js} +18 -18
  1038. package/dist/esm/{sl-e2d86403.js → sl-bd4dc323.js} +18 -18
  1039. package/dist/esm/{sortableComponent-b5dc6582.js → sortableComponent-f552b5bf.js} +5 -5
  1040. package/dist/esm/{sr-66d049dc.js → sr-a1deebe4.js} +18 -18
  1041. package/dist/esm/{sv-b1a8287a.js → sv-b340f6cc.js} +18 -18
  1042. package/dist/esm/{t9n-aa819a51.js → t9n-e28dfe19.js} +3 -3
  1043. package/dist/esm/{th-4bd32d6e.js → th-f6c662cf.js} +18 -18
  1044. package/dist/esm/{throttle-09531193.js → throttle-45bcc255.js} +2 -2
  1045. package/dist/esm/{tr-ed2ba87c.js → tr-6f1e041d.js} +18 -18
  1046. package/dist/esm/{uk-6031bdbc.js → uk-63bd20d6.js} +18 -18
  1047. package/dist/esm/{utils-a52fc42e.js → utils-662f6235.js} +1 -1
  1048. package/dist/esm/{utils-8acc5206.js → utils-8175fe32.js} +3 -3
  1049. package/dist/esm/{vi-88b62601.js → vi-1b185e0c.js} +18 -18
  1050. package/dist/esm/{zh-cn-7f99424b.js → zh-cn-59e72a95.js} +18 -18
  1051. package/dist/esm/{zh-hk-fa670ca9.js → zh-hk-2feb9816.js} +18 -18
  1052. package/dist/esm/{zh-tw-39121db6.js → zh-tw-8960484d.js} +18 -18
  1053. package/dist/extras/docs-json.json +225 -10
  1054. package/dist/extras/translations-json.json +1 -1
  1055. package/dist/extras/vscode-data.json +62 -0
  1056. package/dist/loader/cdn.js +1 -1
  1057. package/dist/loader/index.cjs.js +1 -1
  1058. package/dist/loader/index.es2017.js +1 -1
  1059. package/dist/loader/index.js +1 -1
  1060. package/dist/types/components/action-menu/resources.d.ts +1 -0
  1061. package/dist/types/components/alert/alert.d.ts +10 -7
  1062. package/dist/types/components/alert/resources.d.ts +17 -2
  1063. package/dist/types/components/button/button.d.ts +5 -1
  1064. package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -0
  1065. package/dist/types/components/flow-item/flow-item.d.ts +23 -1
  1066. package/dist/types/components/input-date-picker/input-date-picker.d.ts +3 -0
  1067. package/dist/types/components/input-time-picker/input-time-picker.d.ts +3 -1
  1068. package/dist/types/components/input-time-zone/input-time-zone.d.ts +23 -2
  1069. package/dist/types/components/input-time-zone/interfaces.d.ts +14 -3
  1070. package/dist/types/components/input-time-zone/utils.d.ts +7 -4
  1071. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +2 -0
  1072. package/dist/types/components/panel/panel.d.ts +21 -8
  1073. package/dist/types/components/panel/resources.d.ts +2 -0
  1074. package/dist/types/components/stepper-item/assets/stepper-item/t9n/index.d.ts +2 -0
  1075. package/dist/types/components/tab-nav/assets/tab-nav/t9n/index.d.ts +4 -0
  1076. package/dist/types/components/tree/tree.d.ts +1 -1
  1077. package/dist/types/components/tree-item/interfaces.d.ts +0 -4
  1078. package/dist/types/components/tree-item/tree-item.d.ts +2 -2
  1079. package/dist/types/components.d.ts +90 -2
  1080. package/dist/types/preact.d.ts +4 -2
  1081. package/dist/types/utils/globalAttributes.d.ts +1 -1
  1082. package/dist/types/utils/sortableComponent.d.ts +2 -0
  1083. package/hydrate/index.js +688 -298
  1084. package/package.json +8 -6
  1085. package/readme.md +2 -2
  1086. package/dist/calcite/p-08586b71.js +0 -6
  1087. package/dist/calcite/p-1da3f7a6.entry.js +0 -6
  1088. package/dist/calcite/p-1e64b60b.js +0 -6
  1089. package/dist/calcite/p-26e2e13f.entry.js +0 -6
  1090. package/dist/calcite/p-38cdc4ce.entry.js +0 -6
  1091. package/dist/calcite/p-39a3c447.js +0 -6
  1092. package/dist/calcite/p-3da894ee.entry.js +0 -6
  1093. package/dist/calcite/p-3ff21b52.js +0 -6
  1094. package/dist/calcite/p-4085e6f8.entry.js +0 -6
  1095. package/dist/calcite/p-4eb1faa7.entry.js +0 -6
  1096. package/dist/calcite/p-4fae639c.entry.js +0 -6
  1097. package/dist/calcite/p-53ea5b3d.entry.js +0 -6
  1098. package/dist/calcite/p-5ed61632.entry.js +0 -6
  1099. package/dist/calcite/p-63cbaceb.entry.js +0 -6
  1100. package/dist/calcite/p-663d7601.entry.js +0 -6
  1101. package/dist/calcite/p-6e68eb22.js +0 -6
  1102. package/dist/calcite/p-71ecd488.js +0 -6
  1103. package/dist/calcite/p-762bbe60.entry.js +0 -6
  1104. package/dist/calcite/p-7b1c7f86.js +0 -6
  1105. package/dist/calcite/p-7ed91eee.js +0 -6
  1106. package/dist/calcite/p-7f48675d.js +0 -6
  1107. package/dist/calcite/p-8eaba081.js +0 -6
  1108. package/dist/calcite/p-90b65dac.entry.js +0 -6
  1109. package/dist/calcite/p-95994c94.js +0 -6
  1110. package/dist/calcite/p-96b10da0.entry.js +0 -6
  1111. package/dist/calcite/p-a19f6992.entry.js +0 -6
  1112. package/dist/calcite/p-a699bae4.entry.js +0 -6
  1113. package/dist/calcite/p-ab232b42.entry.js +0 -6
  1114. package/dist/calcite/p-b0a3f081.entry.js +0 -6
  1115. package/dist/calcite/p-c664cec0.entry.js +0 -6
  1116. package/dist/calcite/p-d4f3927a.entry.js +0 -6
  1117. package/dist/calcite/p-dcd1f9c6.js +0 -6
  1118. package/dist/calcite/p-ded7451a.entry.js +0 -6
  1119. package/dist/calcite/p-e54e1f2e.js +0 -6
  1120. package/dist/calcite/p-efba23b2.entry.js +0 -6
  1121. package/dist/calcite/p-f3c40023.entry.js +0 -6
  1122. package/dist/calcite/p-fb9abe03.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.9.0-next.9
4
+ * v1.9.0
5
5
  */
6
6
  'use strict';
7
7
 
@@ -9117,7 +9117,7 @@ var baseFor = createBaseFor();
9117
9117
  * }, _.now());
9118
9118
  * // => Logs the number of milliseconds it took for the deferred invocation.
9119
9119
  */
9120
- var now = function() {
9120
+ var now$1 = function() {
9121
9121
  return root.Date.now();
9122
9122
  };
9123
9123
 
@@ -9246,7 +9246,7 @@ function debounce(func, wait, options) {
9246
9246
  }
9247
9247
 
9248
9248
  function timerExpired() {
9249
- var time = now();
9249
+ var time = now$1();
9250
9250
  if (shouldInvoke(time)) {
9251
9251
  return trailingEdge(time);
9252
9252
  }
@@ -9275,11 +9275,11 @@ function debounce(func, wait, options) {
9275
9275
  }
9276
9276
 
9277
9277
  function flush() {
9278
- return timerId === undefined ? result : trailingEdge(now());
9278
+ return timerId === undefined ? result : trailingEdge(now$1());
9279
9279
  }
9280
9280
 
9281
9281
  function debounced() {
9282
- var time = now(),
9282
+ var time = now$1(),
9283
9283
  isInvoking = shouldInvoke(time);
9284
9284
 
9285
9285
  lastArgs = arguments;
@@ -9468,6 +9468,7 @@ const SLOTS$w = {
9468
9468
  const ICONS$j = {
9469
9469
  menu: "ellipsis",
9470
9470
  };
9471
+ const activeAttr = "data-active";
9471
9472
 
9472
9473
  const overflowActionsDebounceInMs = 150;
9473
9474
  const groupBufferPx = 2;
@@ -9681,9 +9682,12 @@ class ActionBar {
9681
9682
  this.updateGroups();
9682
9683
  }
9683
9684
  overflowDisabledHandler(overflowActionsDisabled) {
9684
- overflowActionsDisabled
9685
- ? this.resizeObserver.disconnect()
9686
- : this.resizeObserver.observe(this.el);
9685
+ if (overflowActionsDisabled) {
9686
+ this.resizeObserver?.disconnect();
9687
+ return;
9688
+ }
9689
+ this.resizeObserver?.observe(this.el);
9690
+ this.overflowActions();
9687
9691
  }
9688
9692
  onMessagesChange() {
9689
9693
  /* wired up by t9n util */
@@ -9928,7 +9932,7 @@ function getRoundRobinIndex(index, total) {
9928
9932
  return (index + total) % total;
9929
9933
  }
9930
9934
 
9931
- const actionMenuCss = "/*!@:host*/.sc-calcite-action-menu-h{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}/*!@.menu ::slotted(calcite-action)*/.menu .sc-calcite-action-menu-s>calcite-action{margin:0.125rem;display:flex;outline-color:transparent}/*!@.menu ::slotted(calcite-action[active])*/.menu .sc-calcite-action-menu-s>calcite-action[active]{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}/*!@.default-trigger*/.default-trigger.sc-calcite-action-menu{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@slot[name=trigger]::slotted(calcite-action),\ncalcite-action::slotted([slot=trigger])*/slot[name=trigger].sc-calcite-action-menu-s>calcite-action,calcite-action.sc-calcite-action-menu-s>[slot=trigger]{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@.menu*/.menu.sc-calcite-action-menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}/*!@:host([hidden])*/[hidden].sc-calcite-action-menu-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-menu{display:none}";
9935
+ const actionMenuCss = "/*!@:host*/.sc-calcite-action-menu-h{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}/*!@.menu ::slotted(calcite-action)*/.menu .sc-calcite-action-menu-s>calcite-action{margin:0.125rem;display:flex;outline-color:transparent}/*!@.menu ::slotted(calcite-action[data-active])*/.menu .sc-calcite-action-menu-s>calcite-action[data-active]{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}/*!@.default-trigger*/.default-trigger.sc-calcite-action-menu{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@slot[name=trigger]::slotted(calcite-action),\ncalcite-action::slotted([slot=trigger])*/slot[name=trigger].sc-calcite-action-menu-s>calcite-action,calcite-action.sc-calcite-action-menu-s>[slot=trigger]{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}/*!@.menu*/.menu.sc-calcite-action-menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}/*!@:host([hidden])*/[hidden].sc-calcite-action-menu-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-menu{display:none}";
9932
9936
 
9933
9937
  const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
9934
9938
  /**
@@ -10036,7 +10040,8 @@ class ActionMenu {
10036
10040
  if (!action.id) {
10037
10041
  action.id = id;
10038
10042
  }
10039
- action.active = index === activeMenuItemIndex;
10043
+ // data attribute is used to style the "activeMenuItemIndex" action using token focus styling.
10044
+ action.toggleAttribute(activeAttr, index === activeMenuItemIndex);
10040
10045
  };
10041
10046
  this.updateActions = (actions) => {
10042
10047
  actions?.forEach(this.updateAction);
@@ -10482,12 +10487,58 @@ const SLOTS$t = {
10482
10487
  };
10483
10488
  const CSS$17 = {
10484
10489
  actionsEnd: "actions-end",
10490
+ close: "close",
10485
10491
  container: "container",
10486
- close: "alert-close",
10487
- slottedInShell: "slotted-in-shell",
10492
+ containerBottom: "container--bottom",
10493
+ containerBottomEnd: "container--bottom-end",
10494
+ containerBottomStart: "container--bottom-start",
10495
+ containerQueued: "container--queued",
10496
+ containerTop: "container--top",
10497
+ containerTopEnd: "container--top-end",
10498
+ containerTopStart: "container--top-start",
10499
+ content: "content",
10500
+ contentContainer: "content-container",
10501
+ dismissProgress: "dismiss-progress",
10502
+ footer: "footer",
10503
+ icon: "icon",
10504
+ containerSlottedInShell: "container--slotted-in-shell",
10505
+ queueCount: "queue-count",
10506
+ queueCountActive: "queue-count--active",
10507
+ textContainer: "text-container",
10488
10508
  };
10489
10509
 
10490
- const alertCss = "/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;z-index:var(--calcite-app-z-index-toast);margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@.container*/.container.sc-calcite-alert{display:flex;inline-size:100%;align-items:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host([open]) .container:not(.queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([open]) .container:not(.queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([open]) .container:not(.queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*),\n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*),\n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*),\n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px;border-start-start-radius:var(--calcite-border-radius);border-end-start-radius:var(--calcite-border-radius)}/*!@.alert-close*/.alert-close.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius);border-start-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:open*/.alert-close.sc-calcite-alert:open{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-close]) > .alert-queue-count*/[auto-close].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}/*!@.actions-end*/.actions-end.sc-calcite-alert{display:flex;align-self:stretch}/*!@:host([kind=brand]) .container*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([kind=brand]) .container .alert-icon*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-brand)}/*!@:host([kind=info]) .container*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([kind=info]) .container .alert-icon*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([kind=danger]) .container*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([kind=danger]) .container .alert-icon*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([kind=success]) .container*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([kind=success]) .container .alert-icon*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .container*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([kind=warning]) .container .alert-icon*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([auto-close-duration=fast]) .alert-dismiss-progress:after*/[auto-close-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 6000ms ease-out}/*!@:host(:hover[auto-close-duration=fast]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=fast] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}/*!@:host([auto-close-duration=medium]) .alert-dismiss-progress:after*/[auto-close-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 10000ms ease-out}/*!@:host(:hover[auto-close-duration=medium]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=medium] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}/*!@:host([auto-close-duration=slow]) .alert-dismiss-progress:after*/[auto-close-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 14000ms ease-out}/*!@:host(:hover[auto-close-duration=slow]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=slow] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-alert{position:absolute}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-alert{display:none}";
10510
+ let getBreakpointsPromise;
10511
+ function breakpointTokenToNumericalValue(style, tokenName) {
10512
+ return parseInt(style.getPropertyValue(tokenName));
10513
+ }
10514
+ /**
10515
+ * This util will return a breakpoints lookup object.
10516
+ *
10517
+ * Note that the breakpoints will be evaluated at the root and cached for reuse.
10518
+ *
10519
+ * @returns {Promise<Breakpoints>} The Breakpoints object.
10520
+ */
10521
+ async function getBreakpoints() {
10522
+ if (getBreakpointsPromise) {
10523
+ return getBreakpointsPromise;
10524
+ }
10525
+ getBreakpointsPromise = new Promise((resolve) => {
10526
+ requestAnimationFrame(() => {
10527
+ const rootStyles = getComputedStyle(document.body);
10528
+ resolve({
10529
+ width: {
10530
+ large: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-lg"),
10531
+ medium: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-md"),
10532
+ small: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-sm"),
10533
+ xsmall: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-xs"),
10534
+ },
10535
+ });
10536
+ });
10537
+ });
10538
+ return getBreakpointsPromise;
10539
+ }
10540
+
10541
+ const alertCss = "/*!@:host*/.sc-calcite-alert-h {\n --calcite-alert-edge-distance: 2rem;\n display: block;\n}\n\n/*!@.container*/.container.sc-calcite-alert {\n pointer-events: none;\n position: fixed;\n z-index: var(--calcite-app-z-index-toast);\n margin-inline: auto;\n margin-block: 0px;\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n background-color: var(--calcite-ui-foreground-1);\n text-align: start;\n opacity: 0;\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n container: responsive-container/inline-size;\n border-radius: var(--calcite-border-radius);\n border-block-start: 0 solid transparent;\n border-inline: 1px solid var(--calcite-ui-border-3);\n border-block-end: 1px solid var(--calcite-ui-border-3);\n inline-size: var(--calcite-alert-width);\n max-inline-size: calc(100% - var(--calcite-alert-edge-distance) * 2);\n transition: var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;\n}\n/*!@.container--bottom, .container--top*/.container--bottom.sc-calcite-alert, .container--top.sc-calcite-alert {\n inset-inline-end: 0;\n inset-inline-start: 0;\n}\n/*!@.container[class*=bottom]*/.container[class*=bottom].sc-calcite-alert {\n transform: translate3d(0, var(--calcite-alert-edge-distance), 0);\n inset-block-end: var(--calcite-alert-edge-distance);\n}\n/*!@.container[class*=top]*/.container[class*=top].sc-calcite-alert {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);\n inset-block-start: var(--calcite-alert-edge-distance);\n}\n/*!@.container[class*=start]*/.container[class*=start].sc-calcite-alert {\n inset-inline-start: var(--calcite-alert-edge-distance);\n inset-inline-end: auto;\n}\n/*!@.container[class*=end]*/.container[class*=end].sc-calcite-alert {\n inset-inline-end: var(--calcite-alert-edge-distance);\n inset-inline-start: auto;\n}\n\n/*!@.content*/.content.sc-calcite-alert {\n box-sizing: border-box;\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-block: var(--calcite-alert-spacing-token-small);\n padding-inline: var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small);\n}\n\n/*!@.icon*/.icon.sc-calcite-alert {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding: 0px;\n margin-block-end: var(--calcite-alert-spacing-token-large);\n margin-inline-end: auto;\n}\n\n/*!@.close*/.close.sc-calcite-alert {\n display: flex;\n cursor: pointer;\n align-items: flex-start;\n justify-content: flex-end;\n align-self: flex-start;\n border-style: none;\n background-color: transparent;\n color: var(--calcite-ui-text-3);\n outline: 2px solid transparent;\n outline-offset: 2px;\n -webkit-appearance: none;\n padding: var(--calcite-alert-spacing-token-large);\n outline-color: transparent;\n}\n/*!@.close:focus*/.close.sc-calcite-alert:focus {\n outline: 2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));\n outline-offset: calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );\n}\n/*!@.close:hover, .close:focus*/.close.sc-calcite-alert:hover, .close.sc-calcite-alert:focus {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n/*!@.close:active*/.close.sc-calcite-alert:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n/*!@.queue-count*/.queue-count.sc-calcite-alert {\n visibility: hidden;\n display: flex;\n cursor: default;\n align-items: center;\n justify-content: space-around;\n align-self: stretch;\n overflow: hidden;\n background-color: var(--calcite-ui-foreground-1);\n text-align: center;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-2);\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n border-inline: 0 solid transparent;\n border-start-end-radius: 0;\n}\n/*!@.queue-count--active*/.queue-count--active.sc-calcite-alert {\n visibility: visible;\n opacity: 1;\n}\n\n/*!@.dismiss-progress*/.dismiss-progress.sc-calcite-alert {\n position: absolute;\n display: block;\n inline-size: 100%;\n overflow: hidden;\n inset-inline: 0;\n inset-block-start: -2px;\n block-size: 2px;\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n}\n/*!@.dismiss-progress:after*/.dismiss-progress.sc-calcite-alert:after {\n position: absolute;\n inset-block-start: 0px;\n display: block;\n block-size: 2px;\n content: \"\";\n background-color: var(--calcite-alert-dismiss-progress-background);\n inset-inline-end: 0;\n}\n\n/*!@.actions-end*/.actions-end.sc-calcite-alert {\n display: flex;\n align-self: stretch;\n}\n\n/*!@.text-container*/.text-container.sc-calcite-alert {\n display: flex;\n min-inline-size: 0px;\n flex: 1 1 0%;\n flex-direction: column;\n overflow-wrap: break-word;\n}\n\n/*!@.content-container*/.content-container.sc-calcite-alert {\n display: flex;\n flex: 1 1 0%;\n}\n\n/*!@.footer*/.footer.sc-calcite-alert {\n position: relative;\n order: 1;\n display: flex;\n inline-size: 100%;\n justify-content: flex-end;\n padding-block-start: 1px;\n block-size: var(--calcite-alert-footer-height);\n}\n/*!@.footer:before*/.footer.sc-calcite-alert:before {\n content: \"\";\n position: absolute;\n inset-block-start: 0px;\n inset-inline: var(--calcite-alert-footer-divider-gap);\n border-block-start: 1px solid var(--calcite-ui-border-3);\n}\n\n/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h {\n --calcite-alert-width: 40em;\n --calcite-alert-spacing-token-small: 0.5rem;\n --calcite-alert-spacing-token-large: 0.75rem;\n --calcite-alert-footer-height: 2rem;\n --calcite-alert-footer-divider-gap: 0.125rem;\n}\n/*!@:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s > [slot=title] {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n/*!@:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s > [slot=message] {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n/*!@:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s > [slot=link] {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n/*!@:host([scale=s]) .queue-count*/[scale=s].sc-calcite-alert-h .queue-count.sc-calcite-alert {\n margin-inline: 0.5rem;\n}\n/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert {\n --calcite-alert-min-height: 3.5rem;\n}\n\n/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h {\n --calcite-alert-width: 50em;\n --calcite-alert-spacing-token-small: 0.75rem;\n --calcite-alert-spacing-token-large: 1rem;\n --calcite-alert-footer-height: 3rem;\n --calcite-alert-footer-divider-gap: 0.25rem;\n}\n/*!@:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s > [slot=title] {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n/*!@:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s > [slot=message] {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n/*!@:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s > [slot=link] {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n/*!@:host([scale=m]) .queue-count*/[scale=m].sc-calcite-alert-h .queue-count.sc-calcite-alert {\n margin-inline: 0.75rem;\n}\n/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert {\n --calcite-alert-min-height: 4.1875rem;\n}\n\n/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h {\n --calcite-alert-width: 60em;\n --calcite-alert-spacing-token-small: 1rem;\n --calcite-alert-spacing-token-large: 1.25rem;\n --calcite-alert-footer-height: 4rem;\n --calcite-alert-footer-divider-gap: 0.5rem;\n}\n/*!@:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s > [slot=title] {\n margin-block-end: 0.25rem;\n font-size: var(--calcite-font-size-1);\n line-height: 1.375;\n}\n/*!@:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s > [slot=message] {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n/*!@:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s > *, .sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s > [slot=link] {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n/*!@:host([scale=l]) .queue-count*/[scale=l].sc-calcite-alert-h .queue-count.sc-calcite-alert {\n margin-inline: 1rem;\n}\n/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert {\n --calcite-alert-min-height: 5.625rem;\n}\n\n/*!@:host([open]) .container:not(.container--queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.container--queued) {\n border-block-start-width: 2px;\n opacity: 1;\n pointer-events: initial;\n}\n/*!@:host([open]) .container:not(.container--queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.container--queued)[class*=bottom] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);\n}\n/*!@:host([open]) .container:not(.container--queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.container--queued)[class*=top] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), inherit);\n}\n\n/*!@:host([auto-close]) > .queue-count*/[auto-close].sc-calcite-alert-h > .queue-count.sc-calcite-alert {\n border-inline-end: 0 solid transparent;\n}\n\n/*!@slot[name=title]::slotted(*),\n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s > *, *.sc-calcite-alert-s > [slot=title] {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n\n/*!@slot[name=message]::slotted(*),\n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s > *, *.sc-calcite-alert-s > [slot=message] {\n margin: 0px;\n display: inline;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-2);\n margin-inline-end: 0.5rem;\n}\n\n/*!@slot[name=link]::slotted(*),\n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s > *, *.sc-calcite-alert-s > [slot=link] {\n display: inline-flex;\n color: var(--calcite-ui-text-link);\n}\n\n/*!@:host([kind=brand]) .container*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert {\n border-block-start-color: var(--calcite-ui-brand);\n}\n/*!@:host([kind=brand]) .container .icon*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert .icon.sc-calcite-alert {\n color: var(--calcite-ui-brand);\n}\n\n/*!@:host([kind=info]) .container*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert {\n border-block-start-color: var(--calcite-ui-info);\n}\n/*!@:host([kind=info]) .container .icon*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert .icon.sc-calcite-alert {\n color: var(--calcite-ui-info);\n}\n\n/*!@:host([kind=danger]) .container*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert {\n border-block-start-color: var(--calcite-ui-danger);\n}\n/*!@:host([kind=danger]) .container .icon*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert .icon.sc-calcite-alert {\n color: var(--calcite-ui-danger);\n}\n\n/*!@:host([kind=success]) .container*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert {\n border-block-start-color: var(--calcite-ui-success);\n}\n/*!@:host([kind=success]) .container .icon*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert .icon.sc-calcite-alert {\n color: var(--calcite-ui-success);\n}\n\n/*!@:host([kind=warning]) .container*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert {\n border-block-start-color: var(--calcite-ui-warning);\n}\n/*!@:host([kind=warning]) .container .icon*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert .icon.sc-calcite-alert {\n color: var(--calcite-ui-warning);\n}\n\n/*!@:host([auto-close-duration=fast]) .dismiss-progress:after*/[auto-close-duration=fast].sc-calcite-alert-h .dismiss-progress.sc-calcite-alert:after {\n animation: dismissProgress 6000ms ease-out;\n}\n\n/*!@:host(:hover[auto-close-duration=fast]) .dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=fast] .dismiss-progress.sc-calcite-alert:after {\n animation-play-state: paused;\n}\n\n/*!@:host([auto-close-duration=medium]) .dismiss-progress:after*/[auto-close-duration=medium].sc-calcite-alert-h .dismiss-progress.sc-calcite-alert:after {\n animation: dismissProgress 10000ms ease-out;\n}\n\n/*!@:host(:hover[auto-close-duration=medium]) .dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=medium] .dismiss-progress.sc-calcite-alert:after {\n animation-play-state: paused;\n}\n\n/*!@:host([auto-close-duration=slow]) .dismiss-progress:after*/[auto-close-duration=slow].sc-calcite-alert-h .dismiss-progress.sc-calcite-alert:after {\n animation: dismissProgress 14000ms ease-out;\n}\n\n/*!@:host(:hover[auto-close-duration=slow]) .dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=slow] .dismiss-progress.sc-calcite-alert:after {\n animation-play-state: paused;\n}\n\n@keyframes dismissProgress {\n 0% {\n inline-size: 0px;\n opacity: 0.75;\n }\n 100% {\n inline-size: 100%;\n opacity: 1;\n }\n}\n\n/*!@.container--slotted-in-shell*/.container--slotted-in-shell.sc-calcite-alert {\n position: absolute;\n}\n\n@container responsive-container (min-width: 476px) {\n .content {\n flex-direction: row;\n }\n .close {\n align-items: center;\n align-self: stretch;\n }\n .icon {\n justify-content: center;\n margin-inline-end: 0;\n margin-block: 0;\n padding-inline-end: var(--calcite-alert-spacing-token-large);\n }\n}\n@container responsive-container (min-width: 768px) {\n .close {\n align-self: stretch;\n }\n .footer {\n inline-size: auto;\n align-self: stretch;\n order: initial;\n block-size: inherit;\n }\n .footer:before {\n content: none;\n }\n .icon {\n padding-inline: var(--calcite-alert-spacing-token-large) 0;\n }\n}\n/*!@:host([hidden])*/[hidden].sc-calcite-alert-h {\n display: none;\n}\n\n/*!@[hidden]*/[hidden].sc-calcite-alert {\n display: none;\n}\n\n/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h {\n visibility: hidden !important;\n pointer-events: none;\n}";
10491
10542
 
10492
10543
  /**
10493
10544
  * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
@@ -10509,6 +10560,7 @@ class Alert {
10509
10560
  this.calciteInternalAlertSync = createEvent(this, "calciteInternalAlertSync", 6);
10510
10561
  this.calciteInternalAlertRegister = createEvent(this, "calciteInternalAlertRegister", 6);
10511
10562
  this.autoCloseTimeoutId = null;
10563
+ this.resizeObserver = createObserver();
10512
10564
  this.totalOpenTime = 0;
10513
10565
  this.totalHoverTime = 0;
10514
10566
  this.openTransitionProp = "opacity";
@@ -10556,13 +10608,13 @@ class Alert {
10556
10608
  this.messages = undefined;
10557
10609
  this.messageOverrides = undefined;
10558
10610
  this.slottedInShell = undefined;
10559
- this.effectiveLocale = "";
10560
10611
  this.defaultMessages = undefined;
10612
+ this.effectiveLocale = "";
10561
10613
  this.hasEndActions = false;
10562
10614
  this.queue = [];
10563
10615
  this.queueLength = 0;
10564
10616
  this.queued = false;
10565
- this.requestedIcon = undefined;
10617
+ this.responsiveContainerWidth = undefined;
10566
10618
  }
10567
10619
  openHandler() {
10568
10620
  onToggleOpenCloseComponent(this);
@@ -10577,9 +10629,6 @@ class Alert {
10577
10629
  onMessagesChange() {
10578
10630
  /* wired up by t9n util */
10579
10631
  }
10580
- updateRequestedIcon() {
10581
- this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
10582
- }
10583
10632
  updateDuration() {
10584
10633
  if (this.autoClose && this.autoCloseTimeoutId) {
10585
10634
  window.clearTimeout(this.autoCloseTimeoutId);
@@ -10598,17 +10647,21 @@ class Alert {
10598
10647
  if (open && !this.queued) {
10599
10648
  this.calciteInternalAlertRegister.emit();
10600
10649
  }
10650
+ if (this.transitionEl) {
10651
+ this.resizeObserver?.observe(this.transitionEl);
10652
+ }
10601
10653
  }
10602
10654
  async componentWillLoad() {
10603
10655
  setUpLoadableComponent(this);
10604
- this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
10605
- await setUpMessages(this);
10656
+ const [, breakpoints] = await Promise.all([setUpMessages(this), getBreakpoints()]);
10657
+ this.breakpoints = breakpoints;
10606
10658
  if (this.open) {
10607
10659
  onToggleOpenCloseComponent(this);
10608
10660
  }
10609
10661
  }
10610
10662
  componentDidLoad() {
10611
10663
  setComponentLoaded(this);
10664
+ this.resizeObserver?.observe(this.transitionEl);
10612
10665
  }
10613
10666
  disconnectedCallback() {
10614
10667
  window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister", {
@@ -10619,32 +10672,50 @@ class Alert {
10619
10672
  disconnectLocalized(this);
10620
10673
  disconnectMessages(this);
10621
10674
  this.slottedInShell = false;
10675
+ this.resizeObserver?.disconnect();
10622
10676
  }
10623
10677
  render() {
10624
- const { hasEndActions } = this;
10625
- const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: "alert-close", onClick: this.closeAlert, type: "button",
10626
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
10627
- ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
10628
10678
  numberStringFormatter.numberFormatOptions = {
10629
10679
  locale: this.effectiveLocale,
10630
10680
  numberingSystem: this.numberingSystem,
10631
10681
  signDisplay: "always",
10632
10682
  };
10633
- const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;
10634
- const queueText = numberStringFormatter.numberFormatter.format(queueNumber);
10635
- const queueCount = (hAsync("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
10636
- const { open, autoClose, label, placement, queued, requestedIcon, iconFlipRtl } = this;
10683
+ const { hasEndActions } = this;
10684
+ const { open, autoClose, responsiveContainerWidth, label, placement, queued } = this;
10637
10685
  const role = autoClose ? "alert" : "alertdialog";
10686
+ const widthBreakpoints = this.breakpoints.width;
10687
+ const lessThanSmall = responsiveContainerWidth < widthBreakpoints.small;
10688
+ const greaterOrEqualThanSmall = responsiveContainerWidth >= widthBreakpoints.small;
10638
10689
  const hidden = !open;
10639
- const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$t.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
10690
+ const effectiveIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
10691
+ const hasQueuedAlerts = this.queueLength > 1;
10640
10692
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
10641
- container: true,
10642
- queued,
10643
- [placement]: true,
10644
- [CSS$17.slottedInShell]: this.slottedInShell,
10693
+ [CSS$17.container]: true,
10694
+ [CSS$17.containerQueued]: queued,
10695
+ [`${CSS$17.container}--${placement}`]: true,
10696
+ [CSS$17.containerSlottedInShell]: this.slottedInShell,
10645
10697
  }, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
10646
10698
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
10647
- 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$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })), hAsync("div", { class: CSS$17.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
10699
+ ref: this.setTransitionEl }, hAsync("div", { class: CSS$17.contentContainer }, effectiveIcon && greaterOrEqualThanSmall ? this.renderIcon(effectiveIcon) : null, hAsync("div", { class: CSS$17.content }, effectiveIcon && lessThanSmall ? this.renderIcon(effectiveIcon) : null, hAsync("div", { class: CSS$17.textContainer }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })))), lessThanSmall ? this.renderCloseButton() : null, hAsync("div", { class: CSS$17.footer, hidden: !hasEndActions && !hasQueuedAlerts }, this.renderActionsEnd(), hasQueuedAlerts ? this.renderQueueCount() : null), greaterOrEqualThanSmall ? this.renderCloseButton() : null, open && !queued && autoClose ? hAsync("div", { class: CSS$17.dismissProgress }) : null)));
10700
+ }
10701
+ renderCloseButton() {
10702
+ return (hAsync("button", { "aria-label": this.messages.close, class: CSS$17.close, key: "close", onClick: this.closeAlert, type: "button",
10703
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
10704
+ ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
10705
+ }
10706
+ renderQueueCount() {
10707
+ const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;
10708
+ const queueText = numberStringFormatter.numberFormatter.format(queueNumber);
10709
+ return (hAsync("div", { class: {
10710
+ [CSS$17.queueCount]: true,
10711
+ [CSS$17.queueCountActive]: this.queueLength > 1,
10712
+ }, key: "queue-count" }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
10713
+ }
10714
+ renderActionsEnd() {
10715
+ return (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$t.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler })));
10716
+ }
10717
+ renderIcon(icon) {
10718
+ return (hAsync("div", { class: CSS$17.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: icon, scale: this.scale === "l" ? "m" : "s" })));
10648
10719
  }
10649
10720
  // when an alert is opened or closed, update queue and determine active alert
10650
10721
  alertSync(event) {
@@ -10729,8 +10800,6 @@ class Alert {
10729
10800
  static get watchers() { return {
10730
10801
  "open": ["openHandler"],
10731
10802
  "messageOverrides": ["onMessagesChange"],
10732
- "icon": ["updateRequestedIcon"],
10733
- "kind": ["updateRequestedIcon"],
10734
10803
  "autoCloseDuration": ["updateDuration"],
10735
10804
  "effectiveLocale": ["effectiveLocaleChange"]
10736
10805
  }; }
@@ -10752,13 +10821,13 @@ class Alert {
10752
10821
  "messages": [1040],
10753
10822
  "messageOverrides": [1040],
10754
10823
  "slottedInShell": [1028, "slotted-in-shell"],
10755
- "effectiveLocale": [32],
10756
10824
  "defaultMessages": [32],
10825
+ "effectiveLocale": [32],
10757
10826
  "hasEndActions": [32],
10758
10827
  "queue": [32],
10759
10828
  "queueLength": [32],
10760
10829
  "queued": [32],
10761
- "requestedIcon": [32],
10830
+ "responsiveContainerWidth": [32],
10762
10831
  "setFocus": [64]
10763
10832
  },
10764
10833
  "$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"], [8, "calciteInternalAlertUnregister", "alertUnregister"]],
@@ -11902,6 +11971,67 @@ const CSS$14 = {
11902
11971
  buttonPaddingShrunk: "button-padding--shrunk",
11903
11972
  };
11904
11973
 
11974
+ const allowedGlobalAttributes = ["lang", "role", "aria-expanded"];
11975
+ const elementToComponentAndObserverOptionsMap = new Map();
11976
+ let mutationObserver;
11977
+ function updateGlobalAttributes(component, attributeFilter, reuseAttributes = false) {
11978
+ const { el } = component;
11979
+ const updatedAttributes = reuseAttributes ? component.globalAttributes : {};
11980
+ attributeFilter
11981
+ .filter((attr) => !!allowedGlobalAttributes.includes(attr) && !!el.hasAttribute(attr))
11982
+ .forEach((attr) => {
11983
+ const value = el.getAttribute(attr);
11984
+ if (value !== null) {
11985
+ updatedAttributes[attr] = value;
11986
+ }
11987
+ });
11988
+ component.globalAttributes = updatedAttributes;
11989
+ }
11990
+ function processMutations(mutations) {
11991
+ mutations.forEach(({ target }) => {
11992
+ const [component, options] = elementToComponentAndObserverOptionsMap.get(target);
11993
+ updateGlobalAttributes(component, options.attributeFilter);
11994
+ });
11995
+ }
11996
+ /**
11997
+ * Helper to set up listening for changes to global attributes.
11998
+ *
11999
+ * render(): VNode {
12000
+ * return (<Host>
12001
+ * <ul {...this.globalAttributes}></div>
12002
+ * </Host>);
12003
+ * }
12004
+ *
12005
+ * @param component
12006
+ * @param attributeFilter
12007
+ */
12008
+ function watchGlobalAttributes(component, attributeFilter) {
12009
+ const { el } = component;
12010
+ const observerOptions = { attributeFilter };
12011
+ elementToComponentAndObserverOptionsMap.set(el, [component, observerOptions]);
12012
+ updateGlobalAttributes(component, attributeFilter, true);
12013
+ if (!mutationObserver) {
12014
+ mutationObserver = createObserver();
12015
+ }
12016
+ mutationObserver.observe(el, observerOptions);
12017
+ }
12018
+ /**
12019
+ * Helper remove listening for changes to inherited attributes.
12020
+ *
12021
+ * @param component
12022
+ */
12023
+ function unwatchGlobalAttributes(component) {
12024
+ elementToComponentAndObserverOptionsMap.delete(component.el);
12025
+ // we explicitly process queued mutations and disconnect and reconnect
12026
+ // the observer until MutationObserver gets an `unobserve` method
12027
+ // see https://github.com/whatwg/dom/issues/126
12028
+ processMutations(mutationObserver.takeRecords());
12029
+ mutationObserver.disconnect();
12030
+ for (const [element, [, observerOptions]] of elementToComponentAndObserverOptionsMap.entries()) {
12031
+ mutationObserver.observe(element, observerOptions);
12032
+ }
12033
+ }
12034
+
11905
12035
  const buttonCss = "/*!@:host([disabled])*/[disabled].sc-calcite-button-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) *, :host([disabled]) *,\n:host([loading]) ::slotted(*),\n:host([disabled]) ::slotted(*)*/[loading].sc-calcite-button-h *.sc-calcite-button,[disabled].sc-calcite-button-h *.sc-calcite-button,.sc-calcite-button-h[loading] .sc-calcite-button-s>*,.sc-calcite-button-h[disabled] .sc-calcite-button-s>*{pointer-events:none}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus,\n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@:host button:hover,\n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{text-decoration-line:none}/*!@:host button span,\n:host a span*/.sc-calcite-button-h button.sc-calcite-button span.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button span.sc-calcite-button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@.content*/.content.sc-calcite-button{margin-inline:var(--calcite-button-content-margin-internal)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a,\n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a,\n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a,\n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a,\n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:var(--calcite-button-content-margin-internal)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading]) button,\n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{opacity:var(--calcite-ui-opacity-disabled)}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin-inline-end:var(--calcite-button-content-margin-internal)}/*!@:host([loading]) button:not(.content--slotted) .icon--start,\n:host([loading]) button:not(.content--slotted) .icon--end,\n:host([loading]) a:not(.content--slotted) .icon--start,\n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance]) button,\n:host([appearance]) a*/[appearance].sc-calcite-button-h button.sc-calcite-button,[appearance].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([kind=brand]) button,\n:host([kind=brand]) a*/[kind=brand].sc-calcite-button-h button.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=brand]) button:hover, :host([kind=brand]) button:focus,\n:host([kind=brand]) a:hover,\n:host([kind=brand]) a:focus*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[kind=brand].sc-calcite-button-h a.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([kind=brand]) button:active,\n:host([kind=brand]) a:active*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[kind=brand].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([kind=brand]) button calcite-loader,\n:host([kind=brand]) a calcite-loader*/[kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button,\n:host([kind=danger]) a*/[kind=danger].sc-calcite-button-h button.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button:hover, :host([kind=danger]) button:focus,\n:host([kind=danger]) a:hover,\n:host([kind=danger]) a:focus*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[kind=danger].sc-calcite-button-h a.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([kind=danger]) button:active,\n:host([kind=danger]) a:active*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[kind=danger].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([kind=danger]) button calcite-loader,\n:host([kind=danger]) a calcite-loader*/[kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=neutral]) button,\n:host([kind=neutral]) a*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([kind=neutral]) button:hover, :host([kind=neutral]) button:focus,\n:host([kind=neutral]) a:hover,\n:host([kind=neutral]) a:focus*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([kind=neutral]) button:active,\n:host([kind=neutral]) a:active*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([kind=neutral]) button calcite-loader,\n:host([kind=neutral]) a calcite-loader*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([kind=inverse]) button,\n:host([kind=inverse]) a*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([kind=inverse]) button:hover, :host([kind=inverse]) button:focus,\n:host([kind=inverse]) a:hover,\n:host([kind=inverse]) a:focus*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([kind=inverse]) button:active,\n:host([kind=inverse]) a:active*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([kind=inverse]) button calcite-loader,\n:host([kind=inverse]) a calcite-loader*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline-fill]) button,\n:host([appearance=outline-fill]) a*/[appearance=outline-fill].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline-fill][kind=brand]) button,\n:host([appearance=outline-fill][kind=brand]) a*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:hover,\n:host([appearance=outline-fill][kind=brand]) a:hover*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline-fill][kind=brand]) button:focus,\n:host([appearance=outline-fill][kind=brand]) a:focus*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:active,\n:host([appearance=outline-fill][kind=brand]) a:active*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline-fill][kind=brand]) button calcite-loader,\n:host([appearance=outline-fill][kind=brand]) a calcite-loader*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=danger]) button,\n:host([appearance=outline-fill][kind=danger]) a*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:hover,\n:host([appearance=outline-fill][kind=danger]) a:hover*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline-fill][kind=danger]) button:focus,\n:host([appearance=outline-fill][kind=danger]) a:focus*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:active,\n:host([appearance=outline-fill][kind=danger]) a:active*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline-fill][kind=danger]) button calcite-loader,\n:host([appearance=outline-fill][kind=danger]) a calcite-loader*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=neutral]) button,\n:host([appearance=outline-fill][kind=neutral]) a*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-1)}/*!@:host([appearance=outline-fill][kind=neutral]) button:hover,\n:host([appearance=outline-fill][kind=neutral]) a:hover*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:focus,\n:host([appearance=outline-fill][kind=neutral]) a:focus*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:active,\n:host([appearance=outline-fill][kind=neutral]) a:active*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button calcite-loader,\n:host([appearance=outline-fill][kind=neutral]) a calcite-loader*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][kind=inverse]) button,\n:host([appearance=outline-fill][kind=inverse]) a*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:hover,\n:host([appearance=outline-fill][kind=inverse]) a:hover*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline-fill][kind=inverse]) button:focus,\n:host([appearance=outline-fill][kind=inverse]) a:focus*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:active,\n:host([appearance=outline-fill][kind=inverse]) a:active*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline-fill][kind=inverse]) button calcite-loader,\n:host([appearance=outline-fill][kind=inverse]) a calcite-loader*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline]) button,\n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][kind=brand]) button,\n:host([appearance=outline][kind=brand]) a*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:hover,\n:host([appearance=outline][kind=brand]) a:hover*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][kind=brand]) button:focus,\n:host([appearance=outline][kind=brand]) a:focus*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:active,\n:host([appearance=outline][kind=brand]) a:active*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][kind=brand]) button calcite-loader,\n:host([appearance=outline][kind=brand]) a calcite-loader*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=danger]) button,\n:host([appearance=outline][kind=danger]) a*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:hover,\n:host([appearance=outline][kind=danger]) a:hover*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][kind=danger]) button:focus,\n:host([appearance=outline][kind=danger]) a:focus*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:active,\n:host([appearance=outline][kind=danger]) a:active*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][kind=danger]) button calcite-loader,\n:host([appearance=outline][kind=danger]) a calcite-loader*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=neutral]) button,\n:host([appearance=outline][kind=neutral]) a*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-1)}/*!@:host([appearance=outline][kind=neutral]) button:hover,\n:host([appearance=outline][kind=neutral]) a:hover*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:focus,\n:host([appearance=outline][kind=neutral]) a:focus*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:active,\n:host([appearance=outline][kind=neutral]) a:active*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button calcite-loader,\n:host([appearance=outline][kind=neutral]) a calcite-loader*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][kind=inverse]) button,\n:host([appearance=outline][kind=inverse]) a*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:hover,\n:host([appearance=outline][kind=inverse]) a:hover*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][kind=inverse]) button:focus,\n:host([appearance=outline][kind=inverse]) a:focus*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:active,\n:host([appearance=outline][kind=inverse]) a:active*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][kind=inverse]) button calcite-loader,\n:host([appearance=outline][kind=inverse]) a calcite-loader*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][split-child=primary]) button,\n:host([appearance=outline][split-child=primary]) button*/[appearance=outline-fill][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline-fill][split-child=secondary]) button,\n:host([appearance=outline][split-child=secondary]) button*/[appearance=outline-fill][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button,\n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][kind=brand]) button,\n:host([appearance=transparent][kind=brand]) a*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:hover,\n:host([appearance=transparent][kind=brand]) a:hover*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][kind=brand]) button:focus,\n:host([appearance=transparent][kind=brand]) a:focus*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:active,\n:host([appearance=transparent][kind=brand]) a:active*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][kind=brand]) button calcite-loader,\n:host([appearance=transparent][kind=brand]) a calcite-loader*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=danger]) button,\n:host([appearance=transparent][kind=danger]) a*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:hover,\n:host([appearance=transparent][kind=danger]) a:hover*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][kind=danger]) button:focus,\n:host([appearance=transparent][kind=danger]) a:focus*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:active,\n:host([appearance=transparent][kind=danger]) a:active*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][kind=danger]) button calcite-loader,\n:host([appearance=transparent][kind=danger]) a calcite-loader*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].enable-editing-button) button*/[appearance=transparent][kind=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][kind=inverse]) button,\n:host([appearance=transparent][kind=inverse]) a,\n:host([appearance=transparent][kind=inverse]) calcite-loader*/[appearance=transparent][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted,\n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.5rem}/*!@:host([scale=s]) button,\n:host([scale=s]) a*/[scale=s].sc-calcite-button-h button.sc-calcite-button,[scale=s].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:3px}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.75rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .button-padding*/[scale=l].sc-calcite-button-h .button-padding.sc-calcite-button{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}/*!@:host([scale=l]) .button-padding--shrunk*/[scale=l].sc-calcite-button-h .button-padding--shrunk.sc-calcite-button{--calcite-button-padding-y-internal:9px}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-button{display:none}";
11906
12036
 
11907
12037
  /** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
@@ -11965,6 +12095,9 @@ class Button {
11965
12095
  this.effectiveLocale = "";
11966
12096
  this.defaultMessages = undefined;
11967
12097
  this.tooltipText = undefined;
12098
+ this.globalAttributes = {
12099
+ ariaExpanded: undefined,
12100
+ };
11968
12101
  }
11969
12102
  loadingChanged(newValue, oldValue) {
11970
12103
  if (!!newValue && !oldValue) {
@@ -11988,6 +12121,7 @@ class Button {
11988
12121
  connectInteractive(this);
11989
12122
  connectLocalized(this);
11990
12123
  connectMessages(this);
12124
+ watchGlobalAttributes(this, ["aria-expanded"]);
11991
12125
  this.hasLoader = this.loading;
11992
12126
  this.setupTextContentObserver();
11993
12127
  connectLabel(this);
@@ -12001,6 +12135,7 @@ class Button {
12001
12135
  disconnectMessages(this);
12002
12136
  this.resizeObserver?.disconnect();
12003
12137
  this.formEl = null;
12138
+ unwatchGlobalAttributes(this);
12004
12139
  }
12005
12140
  async componentWillLoad() {
12006
12141
  setUpLoadableComponent(this);
@@ -12026,7 +12161,7 @@ class Button {
12026
12161
  [CSS$14.contentSlotted]: this.hasContent,
12027
12162
  [CSS$14.iconStartEmpty]: !this.iconStart,
12028
12163
  [CSS$14.iconEndEmpty]: !this.iconEnd,
12029
- }, 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));
12164
+ }, 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, ...this.globalAttributes }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
12030
12165
  }
12031
12166
  //--------------------------------------------------------------------------
12032
12167
  //
@@ -12098,6 +12233,7 @@ class Button {
12098
12233
  "effectiveLocale": [32],
12099
12234
  "defaultMessages": [32],
12100
12235
  "tooltipText": [32],
12236
+ "globalAttributes": [32],
12101
12237
  "setFocus": [64]
12102
12238
  },
12103
12239
  "$listeners$": undefined,
@@ -12106,67 +12242,6 @@ class Button {
12106
12242
  }; }
12107
12243
  }
12108
12244
 
12109
- const allowedGlobalAttributes = ["lang", "role"];
12110
- const elementToComponentAndObserverOptionsMap = new Map();
12111
- let mutationObserver;
12112
- function updateGlobalAttributes(component, attributeFilter, reuseAttributes = false) {
12113
- const { el } = component;
12114
- const updatedAttributes = reuseAttributes ? component.globalAttributes : {};
12115
- attributeFilter
12116
- .filter((attr) => !!allowedGlobalAttributes.includes(attr) && !!el.hasAttribute(attr))
12117
- .forEach((attr) => {
12118
- const value = el.getAttribute(attr);
12119
- if (value !== null) {
12120
- updatedAttributes[attr] = value;
12121
- }
12122
- });
12123
- component.globalAttributes = updatedAttributes;
12124
- }
12125
- function processMutations(mutations) {
12126
- mutations.forEach(({ target }) => {
12127
- const [component, options] = elementToComponentAndObserverOptionsMap.get(target);
12128
- updateGlobalAttributes(component, options.attributeFilter);
12129
- });
12130
- }
12131
- /**
12132
- * Helper to set up listening for changes to global attributes.
12133
- *
12134
- * render(): VNode {
12135
- * return (<Host>
12136
- * <ul {...this.globalAttributes}></div>
12137
- * </Host>);
12138
- * }
12139
- *
12140
- * @param component
12141
- * @param attributeFilter
12142
- */
12143
- function watchGlobalAttributes(component, attributeFilter) {
12144
- const { el } = component;
12145
- const observerOptions = { attributeFilter };
12146
- elementToComponentAndObserverOptionsMap.set(el, [component, observerOptions]);
12147
- updateGlobalAttributes(component, attributeFilter, true);
12148
- if (!mutationObserver) {
12149
- mutationObserver = createObserver();
12150
- }
12151
- mutationObserver.observe(el, observerOptions);
12152
- }
12153
- /**
12154
- * Helper remove listening for changes to inherited attributes.
12155
- *
12156
- * @param component
12157
- */
12158
- function unwatchGlobalAttributes(component) {
12159
- elementToComponentAndObserverOptionsMap.delete(component.el);
12160
- // we explicitly process queued mutations and disconnect and reconnect
12161
- // the observer until MutationObserver gets an `unobserve` method
12162
- // see https://github.com/whatwg/dom/issues/126
12163
- processMutations(mutationObserver.takeRecords());
12164
- mutationObserver.disconnect();
12165
- for (const [element, [, observerOptions]] of elementToComponentAndObserverOptionsMap.entries()) {
12166
- mutationObserver.observe(element, observerOptions);
12167
- }
12168
- }
12169
-
12170
12245
  const menuCss = "/*!@:host*/.sc-calcite-menu-h{display:flex}/*!@ul*/ul.sc-calcite-menu{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}/*!@:host([layout=vertical]) ul*/[layout=vertical].sc-calcite-menu-h ul.sc-calcite-menu{display:flex;inline-size:100%;flex-direction:column}/*!@:host([hidden])*/[hidden].sc-calcite-menu-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-menu{display:none}";
12171
12246
 
12172
12247
  class CalciteMenu {
@@ -21882,10 +21957,14 @@ class DropdownGroup {
21882
21957
  //--------------------------------------------------------------------------
21883
21958
  connectedCallback() {
21884
21959
  this.updateItems();
21960
+ this.mutationObserver?.observe(this.el, { childList: true });
21885
21961
  }
21886
21962
  componentWillLoad() {
21887
21963
  this.groupPosition = this.getGroupPosition();
21888
21964
  }
21965
+ disconnectedCallback() {
21966
+ this.mutationObserver?.disconnect();
21967
+ }
21889
21968
  render() {
21890
21969
  const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
21891
21970
  const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
@@ -22552,6 +22631,8 @@ const ICONS$b = {
22552
22631
  menu: "ellipsis",
22553
22632
  backLeft: "chevron-left",
22554
22633
  backRight: "chevron-right",
22634
+ expand: "chevron-up",
22635
+ collapse: "chevron-down",
22555
22636
  };
22556
22637
  const SLOTS$n = {
22557
22638
  actionBar: "action-bar",
@@ -22582,7 +22663,7 @@ const SLOTS$m = {
22582
22663
  footerActions: "footer-actions",
22583
22664
  };
22584
22665
 
22585
- const flowItemCss = "/*!@:host*/.sc-calcite-flow-item-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-item-h *.sc-calcite-flow-item{box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-flow-item-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-flow-item-h *.sc-calcite-flow-item,.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-flow-item-h{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-flow-item-h [calcite-hydrated][disabled].sc-calcite-flow-item{opacity:1}/*!@.back-button*/.back-button.sc-calcite-flow-item{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@calcite-panel*/calcite-panel.sc-calcite-flow-item{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-flow-item{display:none}";
22666
+ const flowItemCss = "/*!@:host*/.sc-calcite-flow-item-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-item-h *.sc-calcite-flow-item{box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-flow-item-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-flow-item-h *.sc-calcite-flow-item,.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-flow-item-h{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-flow-item-h [calcite-hydrated][disabled].sc-calcite-flow-item{opacity:1}/*!@.back-button*/.back-button.sc-calcite-flow-item{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@calcite-panel*/calcite-panel.sc-calcite-flow-item{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-flow-item{display:none}";
22586
22667
 
22587
22668
  /**
22588
22669
  * @slot - A slot for adding custom content.
@@ -22601,6 +22682,7 @@ class FlowItem {
22601
22682
  this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 7);
22602
22683
  this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
22603
22684
  this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
22685
+ this.calciteFlowItemToggle = createEvent(this, "calciteFlowItemToggle", 6);
22604
22686
  // --------------------------------------------------------------------------
22605
22687
  //
22606
22688
  // Private Methods
@@ -22614,6 +22696,10 @@ class FlowItem {
22614
22696
  event.stopPropagation();
22615
22697
  this.calciteFlowItemClose.emit();
22616
22698
  };
22699
+ this.handlePanelToggle = (event) => {
22700
+ event.stopPropagation();
22701
+ this.calciteFlowItemToggle.emit();
22702
+ };
22617
22703
  this.backButtonClick = () => {
22618
22704
  this.calciteFlowItemBack.emit();
22619
22705
  };
@@ -22625,6 +22711,9 @@ class FlowItem {
22625
22711
  };
22626
22712
  this.closable = false;
22627
22713
  this.closed = false;
22714
+ this.collapsed = false;
22715
+ this.collapseDirection = "down";
22716
+ this.collapsible = false;
22628
22717
  this.beforeBack = undefined;
22629
22718
  this.description = undefined;
22630
22719
  this.disabled = false;
@@ -22676,6 +22765,8 @@ class FlowItem {
22676
22765
  // --------------------------------------------------------------------------
22677
22766
  /**
22678
22767
  * Sets focus on the component.
22768
+ *
22769
+ * @returns promise.
22679
22770
  */
22680
22771
  async setFocus() {
22681
22772
  await componentFocusable(this);
@@ -22696,7 +22787,8 @@ class FlowItem {
22696
22787
  * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
22697
22788
  * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
22698
22789
  * });
22699
- * @param options
22790
+ * @param options - allows specific coordinates to be defined.
22791
+ * @returns - promise that resolves once the content is scrolled to.
22700
22792
  */
22701
22793
  async scrollContentTo(options) {
22702
22794
  await this.containerEl?.scrollContentTo(options);
@@ -22717,8 +22809,8 @@ class FlowItem {
22717
22809
  ref: this.setBackRef })) : null;
22718
22810
  }
22719
22811
  render() {
22720
- const { closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, } = this;
22721
- return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll,
22812
+ const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, } = this;
22813
+ return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, collapseDirection: collapseDirection, collapsed: collapsed, collapsible: collapsible, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll, onCalcitePanelToggle: this.handlePanelToggle,
22722
22814
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
22723
22815
  ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$m.actionBar, slot: SLOTS$n.actionBar }), hAsync("slot", { name: SLOTS$m.headerActionsStart, slot: SLOTS$n.headerActionsStart }), hAsync("slot", { name: SLOTS$m.headerActionsEnd, slot: SLOTS$n.headerActionsEnd }), hAsync("slot", { name: SLOTS$m.headerContent, slot: SLOTS$n.headerContent }), hAsync("slot", { name: SLOTS$m.headerMenuActions, slot: SLOTS$n.headerMenuActions }), hAsync("slot", { name: SLOTS$m.fab, slot: SLOTS$n.fab }), hAsync("slot", { name: SLOTS$m.footerActions, slot: SLOTS$n.footerActions }), hAsync("slot", { name: SLOTS$m.footer, slot: SLOTS$n.footer }), hAsync("slot", null))));
22724
22816
  }
@@ -22735,6 +22827,9 @@ class FlowItem {
22735
22827
  "$members$": {
22736
22828
  "closable": [516],
22737
22829
  "closed": [516],
22830
+ "collapsed": [516],
22831
+ "collapseDirection": [1, "collapse-direction"],
22832
+ "collapsible": [516],
22738
22833
  "beforeBack": [16],
22739
22834
  "description": [1],
22740
22835
  "disabled": [516],
@@ -22752,7 +22847,7 @@ class FlowItem {
22752
22847
  },
22753
22848
  "$listeners$": undefined,
22754
22849
  "$lazyBundleId$": "-",
22755
- "$attrsToReflect$": [["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["headingLevel", "heading-level"], ["loading", "loading"], ["menuOpen", "menu-open"]]
22850
+ "$attrsToReflect$": [["closable", "closable"], ["closed", "closed"], ["collapsed", "collapsed"], ["collapsible", "collapsible"], ["disabled", "disabled"], ["headingLevel", "heading-level"], ["loading", "loading"], ["menuOpen", "menu-open"]]
22756
22851
  }; }
22757
22852
  }
22758
22853
 
@@ -25435,6 +25530,7 @@ class InputDatePicker {
25435
25530
  this.name = undefined;
25436
25531
  this.numberingSystem = undefined;
25437
25532
  this.scale = "m";
25533
+ this.status = "idle";
25438
25534
  this.placement = defaultMenuPlacement;
25439
25535
  this.range = false;
25440
25536
  this.required = false;
@@ -25632,7 +25728,7 @@ class InputDatePicker {
25632
25728
  };
25633
25729
  return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler }, this.localeData && (hAsync("div", { class: "input-container" }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
25634
25730
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
25635
- 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",
25731
+ 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, status: this.status, type: "text",
25636
25732
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
25637
25733
  ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$H.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: {
25638
25734
  [CSS$H.menu]: true,
@@ -25653,7 +25749,7 @@ class InputDatePicker {
25653
25749
  ref: this.setEndWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
25654
25750
  input: true,
25655
25751
  "border-top-color-one": this.layout === "vertical" && this.range,
25656
- }, 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",
25752
+ }, 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, status: this.status, type: "text",
25657
25753
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
25658
25754
  ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
25659
25755
  }
@@ -25837,6 +25933,7 @@ class InputDatePicker {
25837
25933
  "name": [513],
25838
25934
  "numberingSystem": [513, "numbering-system"],
25839
25935
  "scale": [513],
25936
+ "status": [513],
25840
25937
  "placement": [513],
25841
25938
  "range": [516],
25842
25939
  "required": [516],
@@ -25853,7 +25950,7 @@ class InputDatePicker {
25853
25950
  },
25854
25951
  "$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
25855
25952
  "$lazyBundleId$": "-",
25856
- "$attrsToReflect$": [["disabled", "disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["form", "form"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
25953
+ "$attrsToReflect$": [["disabled", "disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["form", "form"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["status", "status"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
25857
25954
  }; }
25858
25955
  }
25859
25956
 
@@ -28603,6 +28700,7 @@ class InputTimePicker {
28603
28700
  this.numberingSystem = undefined;
28604
28701
  this.required = false;
28605
28702
  this.scale = "m";
28703
+ this.status = "idle";
28606
28704
  this.overlayPositioning = "absolute";
28607
28705
  this.placement = "auto";
28608
28706
  this.step = 60;
@@ -28942,7 +29040,7 @@ class InputTimePicker {
28942
29040
  // --------------------------------------------------------------------------
28943
29041
  render() {
28944
29042
  const { disabled, messages, readOnly, dialogId } = this;
28945
- 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,
29043
+ 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, status: this.status, step: this.step,
28946
29044
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
28947
29045
  ref: this.setInputAndTransitionEl }), !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,
28948
29046
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
@@ -28983,6 +29081,7 @@ class InputTimePicker {
28983
29081
  "numberingSystem": [1, "numbering-system"],
28984
29082
  "required": [516],
28985
29083
  "scale": [513],
29084
+ "status": [513],
28986
29085
  "overlayPositioning": [1, "overlay-positioning"],
28987
29086
  "placement": [513],
28988
29087
  "step": [2],
@@ -28994,42 +29093,102 @@ class InputTimePicker {
28994
29093
  },
28995
29094
  "$listeners$": undefined,
28996
29095
  "$lazyBundleId$": "-",
28997
- "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["form", "form"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
29096
+ "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["form", "form"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["placement", "placement"]]
28998
29097
  }; }
28999
29098
  }
29000
29099
 
29001
29100
  const hourToMinutes = 60;
29101
+ function timeZoneOffsetToDecimal(shortOffsetTimeZoneName) {
29102
+ const minusSign = "−";
29103
+ const hyphen = "-";
29104
+ return (shortOffsetTimeZoneName
29105
+ .replace(":15", ".25")
29106
+ .replace(":30", ".5")
29107
+ .replace(":45", ".75")
29108
+ // ensures decimal string representation is parseable
29109
+ .replace(minusSign, hyphen));
29110
+ }
29111
+ function toOffsetValue(timeZoneName, referenceDateInMs) {
29112
+ // we use "en-US" to allow us to reliably remove the standard time token
29113
+ const offset = getTimeZoneShortOffset(timeZoneName, "en-US", referenceDateInMs).replace("GMT", "");
29114
+ if (offset === "") {
29115
+ return 0;
29116
+ }
29117
+ return Number(timeZoneOffsetToDecimal(offset)) * hourToMinutes;
29118
+ }
29002
29119
  function getUserTimeZoneOffset() {
29003
29120
  const localDate = new Date();
29004
29121
  return localDate.getTimezoneOffset() * -1;
29005
29122
  }
29006
- function getFallbackTimeZoneGroups() {
29007
- const timeZoneOffsets = [
29008
- -11, -10, -9.5, -9, -8, -7, -6, -5, -4, -3, -2.5, -2, -1, 0, 1, 2, 3, 3.5, 4, 4.5, 5, 6, 6.5, 7, 8, 8.75, 9, 9.5,
29009
- 10, 10.5, 11, 12, 12.75, 13, 14,
29010
- ];
29011
- return timeZoneOffsets.map((offset) => {
29123
+ function getUserTimeZoneName() {
29124
+ const dateFormatter = new Intl.DateTimeFormat();
29125
+ return dateFormatter.resolvedOptions().timeZone;
29126
+ }
29127
+ /**
29128
+ * The lazy-loaded timezone-groups lib to be used across instances.
29129
+ */
29130
+ let timeZoneGroups;
29131
+ async function createTimeZoneItems(locale, messages, mode, referenceDate) {
29132
+ const referenceDateInMs = referenceDate.getTime();
29133
+ const timeZoneNames = Intl.supportedValuesOf("timeZone");
29134
+ if (mode === "offset") {
29135
+ if (!timeZoneGroups) {
29136
+ timeZoneGroups = Promise.all([
29137
+ Promise.resolve().then(function () { return index$1; }),
29138
+ Promise.resolve().then(function () { return index; }),
29139
+ ]);
29140
+ }
29141
+ return timeZoneGroups.then(async ([{ groupTimeZones }, { DateEngine }]) => {
29142
+ const timeZoneGroups = await groupTimeZones({
29143
+ dateEngine: new DateEngine(),
29144
+ groupDateRange: 1,
29145
+ startDate: new Date(referenceDateInMs).toISOString(),
29146
+ });
29147
+ const listFormatter = new Intl.ListFormat(locale, { style: "long", type: "conjunction" });
29148
+ return timeZoneGroups
29149
+ .map(({ labelTzIndices, tzs }) => {
29150
+ const groupRepTz = tzs[0];
29151
+ const decimalOffset = timeZoneOffsetToDecimal(getTimeZoneShortOffset(groupRepTz, locale, referenceDateInMs));
29152
+ const value = toOffsetValue(groupRepTz, referenceDateInMs);
29153
+ const label = createTimeZoneOffsetLabel(messages, decimalOffset, listFormatter.format(labelTzIndices.map((index) => messages[tzs[index]])));
29154
+ return {
29155
+ label,
29156
+ value,
29157
+ filterValue: tzs.map((tz) => toUserFriendlyName(tz)),
29158
+ };
29159
+ })
29160
+ .filter((group) => !!group)
29161
+ .sort((groupA, groupB) => groupA.value - groupB.value);
29162
+ });
29163
+ }
29164
+ return timeZoneNames
29165
+ .map((timeZone) => {
29166
+ const label = toUserFriendlyName(timeZone);
29167
+ const value = timeZone;
29012
29168
  return {
29013
- offsetValue: offset * hourToMinutes,
29014
- offsetLabel: toGMTLabel(offset),
29169
+ label,
29170
+ value,
29171
+ filterValue: timeZone,
29015
29172
  };
29016
- });
29173
+ })
29174
+ .filter((group) => !!group)
29175
+ .sort();
29017
29176
  }
29018
29177
  /**
29019
- * Exported for testing-purposes only
29178
+ * Exported for testing purposes only
29020
29179
  *
29021
29180
  * @internal
29022
29181
  */
29023
- function toGMTLabel(offsetInHours) {
29024
- return `GMT${offsetInHours === 0 ? "" : offsetInHours.toLocaleString("en", { signDisplay: "always" })}`;
29182
+ function toUserFriendlyName(timeZoneName) {
29183
+ return timeZoneName.replace(/_/g, " ");
29025
29184
  }
29026
- let timeZoneGeneration;
29027
- async function generateTimeZoneGroups() {
29028
- if (timeZoneGeneration) {
29029
- return timeZoneGeneration;
29030
- }
29031
- timeZoneGeneration = Promise.resolve(getFallbackTimeZoneGroups());
29032
- return timeZoneGeneration;
29185
+ function createTimeZoneOffsetLabel(messages, offsetLabel, groupLabel) {
29186
+ return messages.timeZoneLabel.replace("{offset}", offsetLabel).replace("{cities}", groupLabel);
29187
+ }
29188
+ function getTimeZoneShortOffset(timeZone, locale, referenceDateInMs = Date.now()) {
29189
+ const dateTimeFormat = getDateTimeFormat(locale, { timeZone, timeZoneName: "shortOffset" });
29190
+ const parts = dateTimeFormat.formatToParts(referenceDateInMs);
29191
+ return parts.find(({ type }) => type === "timeZoneName").value;
29033
29192
  }
29034
29193
 
29035
29194
  const inputTimeZoneCss = "/*!@:host([disabled])*/[disabled].sc-calcite-input-time-zone-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-input-time-zone-h *.sc-calcite-input-time-zone,.sc-calcite-input-time-zone-h[disabled] .sc-calcite-input-time-zone-s>*{pointer-events:none}/*!@:host*/.sc-calcite-input-time-zone-h{display:block}/*!@:host([hidden])*/[hidden].sc-calcite-input-time-zone-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-input-time-zone{display:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-time-zone-h[disabled] .sc-calcite-input-time-zone-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-time-zone-h [calcite-hydrated][disabled].sc-calcite-input-time-zone{opacity:1}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-time-zone-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
@@ -29056,13 +29215,13 @@ class InputTimeZone {
29056
29215
  this.onComboboxChange = (event) => {
29057
29216
  event.stopPropagation();
29058
29217
  const combobox = event.target;
29059
- const selected = this.timeZoneGroups.find(({ offsetValue }) => combobox.value === `${offsetValue}`);
29060
- const selectedValue = `${selected.offsetValue}`;
29218
+ const selected = this.findTimeZoneItem(combobox.selectedItems[0].getAttribute("data-value"));
29219
+ const selectedValue = `${selected.value}`;
29061
29220
  if (this.value === selectedValue) {
29062
29221
  return;
29063
29222
  }
29064
29223
  this.value = selectedValue;
29065
- this.selectedTimeZoneGroup = selected;
29224
+ this.selectedTimeZoneItem = selected;
29066
29225
  this.calciteInputTimeZoneChange.emit();
29067
29226
  };
29068
29227
  this.onComboboxClose = (event) => {
@@ -29080,9 +29239,11 @@ class InputTimeZone {
29080
29239
  this.maxItems = 0;
29081
29240
  this.messages = undefined;
29082
29241
  this.messageOverrides = undefined;
29242
+ this.mode = "offset";
29083
29243
  this.name = undefined;
29084
29244
  this.open = false;
29085
29245
  this.overlayPositioning = "absolute";
29246
+ this.referenceDate = undefined;
29086
29247
  this.required = false;
29087
29248
  this.scale = "m";
29088
29249
  this.value = undefined;
@@ -29092,6 +29253,17 @@ class InputTimeZone {
29092
29253
  onMessagesChange() {
29093
29254
  /* wired up by t9n util */
29094
29255
  }
29256
+ handleTimeZoneItemPropsChange() {
29257
+ this.createTimeZoneItems();
29258
+ }
29259
+ handleValueChange(value, oldValue) {
29260
+ const timeZoneItem = this.findTimeZoneItem(value);
29261
+ if (!timeZoneItem) {
29262
+ this.value = oldValue;
29263
+ return;
29264
+ }
29265
+ this.selectedTimeZoneItem = timeZoneItem;
29266
+ }
29095
29267
  //--------------------------------------------------------------------------
29096
29268
  //
29097
29269
  // Public Methods
@@ -29112,6 +29284,20 @@ class InputTimeZone {
29112
29284
  onLabelClick() {
29113
29285
  this.setFocus();
29114
29286
  }
29287
+ findTimeZoneItem(value) {
29288
+ const valueToMatch = value;
29289
+ return this.timeZoneItems.find(({ value }) =>
29290
+ // intentional == to match string to number
29291
+ value == valueToMatch);
29292
+ }
29293
+ async createTimeZoneItems() {
29294
+ if (!this.effectiveLocale || !this.messages) {
29295
+ return [];
29296
+ }
29297
+ return createTimeZoneItems(this.effectiveLocale, this.messages, this.mode, this.referenceDate instanceof Date
29298
+ ? this.referenceDate
29299
+ : new Date(this.referenceDate ?? Date.now()));
29300
+ }
29115
29301
  // --------------------------------------------------------------------------
29116
29302
  //
29117
29303
  // Lifecycle
@@ -29132,13 +29318,14 @@ class InputTimeZone {
29132
29318
  async componentWillLoad() {
29133
29319
  setUpLoadableComponent(this);
29134
29320
  await setUpMessages(this);
29135
- const timeZoneGroups = await generateTimeZoneGroups();
29136
- this.timeZoneGroups = timeZoneGroups;
29137
- const offsetToMatch = this.value ?? getUserTimeZoneOffset();
29138
- this.selectedTimeZoneGroup = timeZoneGroups.find(({ offsetValue }) =>
29139
- // intentional == to match string to number
29140
- offsetValue == offsetToMatch);
29141
- const selectedValue = `${this.selectedTimeZoneGroup.offsetValue}`;
29321
+ this.timeZoneItems = await this.createTimeZoneItems();
29322
+ const fallbackValue = this.mode === "offset" ? getUserTimeZoneOffset() : getUserTimeZoneName();
29323
+ const valueToMatch = this.value ?? fallbackValue;
29324
+ this.selectedTimeZoneItem = this.findTimeZoneItem(valueToMatch);
29325
+ if (!this.selectedTimeZoneItem) {
29326
+ this.selectedTimeZoneItem = this.findTimeZoneItem(fallbackValue);
29327
+ }
29328
+ const selectedValue = `${this.selectedTimeZoneItem.value}`;
29142
29329
  afterConnectDefaultValueSet(this, selectedValue);
29143
29330
  this.value = selectedValue;
29144
29331
  }
@@ -29151,11 +29338,10 @@ class InputTimeZone {
29151
29338
  render() {
29152
29339
  return (hAsync(Host, null, hAsync("calcite-combobox", { clearDisabled: true, disabled: this.disabled, label: this.messages.chooseTimeZone, lang: this.effectiveLocale, maxItems: this.maxItems, onCalciteComboboxBeforeClose: this.onComboboxBeforeClose, onCalciteComboboxBeforeOpen: this.onComboboxBeforeOpen, onCalciteComboboxChange: this.onComboboxChange, onCalciteComboboxClose: this.onComboboxClose, onCalciteComboboxOpen: this.onComboboxOpen, open: this.open, overlayPositioning: this.overlayPositioning, scale: this.scale, selectionMode: "single-persist",
29153
29340
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
29154
- ref: this.setComboboxRef }, this.timeZoneGroups.map((group) => {
29155
- const selected = this.selectedTimeZoneGroup === group;
29156
- const label = group.offsetLabel;
29157
- const value = group.offsetValue;
29158
- return (hAsync("calcite-combobox-item", { key: label, selected: selected, textLabel: label, value: `${value}` }));
29341
+ ref: this.setComboboxRef }, this.timeZoneItems.map((group) => {
29342
+ const selected = this.selectedTimeZoneItem === group;
29343
+ const { label, value } = group;
29344
+ return (hAsync("calcite-combobox-item", { "data-value": value, key: label, selected: selected, textLabel: label, value: `${group.filterValue}` }));
29159
29345
  })), hAsync(HiddenFormInputSlot, { component: this })));
29160
29346
  }
29161
29347
  static get delegatesFocus() { return true; }
@@ -29163,7 +29349,11 @@ class InputTimeZone {
29163
29349
  get el() { return getElement(this); }
29164
29350
  static get watchers() { return {
29165
29351
  "messageOverrides": ["onMessagesChange"],
29166
- "effectiveLocale": ["effectiveLocaleWatcher"]
29352
+ "effectiveLocale": ["handleTimeZoneItemPropsChange", "effectiveLocaleWatcher"],
29353
+ "messages": ["handleTimeZoneItemPropsChange"],
29354
+ "mode": ["handleTimeZoneItemPropsChange"],
29355
+ "referenceDate": ["handleTimeZoneItemPropsChange"],
29356
+ "value": ["handleValueChange"]
29167
29357
  }; }
29168
29358
  static get style() { return inputTimeZoneCss; }
29169
29359
  static get cmpMeta() { return {
@@ -29175,9 +29365,11 @@ class InputTimeZone {
29175
29365
  "maxItems": [514, "max-items"],
29176
29366
  "messages": [1040],
29177
29367
  "messageOverrides": [1040],
29368
+ "mode": [513],
29178
29369
  "name": [513],
29179
29370
  "open": [1540],
29180
29371
  "overlayPositioning": [513, "overlay-positioning"],
29372
+ "referenceDate": [1, "reference-date"],
29181
29373
  "required": [516],
29182
29374
  "scale": [513],
29183
29375
  "value": [1025],
@@ -29187,7 +29379,7 @@ class InputTimeZone {
29187
29379
  },
29188
29380
  "$listeners$": undefined,
29189
29381
  "$lazyBundleId$": "-",
29190
- "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["maxItems", "max-items"], ["name", "name"], ["open", "open"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["scale", "scale"]]
29382
+ "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["maxItems", "max-items"], ["mode", "mode"], ["name", "name"], ["open", "open"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["scale", "scale"]]
29191
29383
  }; }
29192
29384
  }
29193
29385
 
@@ -29907,7 +30099,7 @@ function lastChild(el, selector) {
29907
30099
  */
29908
30100
 
29909
30101
 
29910
- function index(el, selector) {
30102
+ function index$2(el, selector) {
29911
30103
  var index = 0;
29912
30104
 
29913
30105
  if (!el || !el.parentNode) {
@@ -30775,8 +30967,8 @@ Sortable.prototype =
30775
30967
  } // Get the index of the dragged element within its parent
30776
30968
 
30777
30969
 
30778
- oldIndex = index(target);
30779
- oldDraggableIndex = index(target, options.draggable); // Check filter
30970
+ oldIndex = index$2(target);
30971
+ oldDraggableIndex = index$2(target, options.draggable); // Check filter
30780
30972
 
30781
30973
  if (typeof filter === 'function') {
30782
30974
  if (filter.call(this, evt, target, this)) {
@@ -31355,8 +31547,8 @@ Sortable.prototype =
31355
31547
 
31356
31548
 
31357
31549
  function changed() {
31358
- newIndex = index(dragEl);
31359
- newDraggableIndex = index(dragEl, options.draggable);
31550
+ newIndex = index$2(dragEl);
31551
+ newDraggableIndex = index$2(dragEl, options.draggable);
31360
31552
 
31361
31553
  _dispatchEvent({
31362
31554
  sortable: _this,
@@ -31482,7 +31674,7 @@ Sortable.prototype =
31482
31674
 
31483
31675
  if (direction !== 0) {
31484
31676
  // Check if target is beside dragEl in respective direction (ignoring hidden elements)
31485
- var dragIndex = index(dragEl);
31677
+ var dragIndex = index$2(dragEl);
31486
31678
 
31487
31679
  do {
31488
31680
  dragIndex -= direction;
@@ -31565,15 +31757,15 @@ Sortable.prototype =
31565
31757
  var el = this.el,
31566
31758
  options = this.options; // Get the index of the dragged element within its parent
31567
31759
 
31568
- newIndex = index(dragEl);
31569
- newDraggableIndex = index(dragEl, options.draggable);
31760
+ newIndex = index$2(dragEl);
31761
+ newDraggableIndex = index$2(dragEl, options.draggable);
31570
31762
  pluginEvent('drop', this, {
31571
31763
  evt: evt
31572
31764
  });
31573
31765
  parentEl = dragEl && dragEl.parentNode; // Get again after plugin event
31574
31766
 
31575
- newIndex = index(dragEl);
31576
- newDraggableIndex = index(dragEl, options.draggable);
31767
+ newIndex = index$2(dragEl);
31768
+ newDraggableIndex = index$2(dragEl, options.draggable);
31577
31769
 
31578
31770
  if (Sortable.eventCanceled) {
31579
31771
  this._nulling();
@@ -32037,7 +32229,7 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
32037
32229
 
32038
32230
 
32039
32231
  function _getInsertDirection(target) {
32040
- if (index(dragEl) < index(target)) {
32232
+ if (index$2(dragEl) < index$2(target)) {
32041
32233
  return 1;
32042
32234
  } else {
32043
32235
  return -1;
@@ -32105,7 +32297,7 @@ Sortable.utils = {
32105
32297
  closest: closest,
32106
32298
  toggleClass: toggleClass,
32107
32299
  clone: clone,
32108
- index: index,
32300
+ index: index$2,
32109
32301
  nextTick: _nextTick,
32110
32302
  cancelNextTick: _cancelNextTick,
32111
32303
  detectDirection: _detectDirection,
@@ -32492,10 +32684,10 @@ function connectSortableComponent(component) {
32492
32684
  group: {
32493
32685
  name: group,
32494
32686
  ...(!!component.canPull && {
32495
- pull: (to, from, dragEl) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl }),
32687
+ pull: (to, from, dragEl, { newIndex, oldIndex }) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
32496
32688
  }),
32497
32689
  ...(!!component.canPut && {
32498
- put: (to, from, dragEl) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl }),
32690
+ put: (to, from, dragEl, { newIndex, oldIndex }) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
32499
32691
  }),
32500
32692
  },
32501
32693
  }),
@@ -32508,8 +32700,8 @@ function connectSortableComponent(component) {
32508
32700
  dragState.active = false;
32509
32701
  onDragEnd();
32510
32702
  },
32511
- onSort: ({ from: fromEl, item: dragEl, to: toEl }) => {
32512
- component.onDragSort({ fromEl, dragEl, toEl });
32703
+ onSort: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
32704
+ component.onDragSort({ fromEl, dragEl, toEl, newIndex, oldIndex });
32513
32705
  },
32514
32706
  });
32515
32707
  }
@@ -32952,26 +33144,28 @@ class List$1 {
32952
33144
  const { enabledListItems } = this;
32953
33145
  const sameParentItems = enabledListItems.filter((item) => item.parentElement === parentEl);
32954
33146
  const lastIndex = sameParentItems.length - 1;
32955
- const startingIndex = sameParentItems.indexOf(sortItem);
33147
+ const oldIndex = sameParentItems.indexOf(sortItem);
32956
33148
  let appendInstead = false;
32957
- let buddyIndex;
33149
+ let newIndex;
32958
33150
  if (direction === "up") {
32959
- if (startingIndex === 0) {
33151
+ if (oldIndex === 0) {
32960
33152
  appendInstead = true;
33153
+ newIndex = lastIndex;
32961
33154
  }
32962
33155
  else {
32963
- buddyIndex = startingIndex - 1;
33156
+ newIndex = oldIndex - 1;
32964
33157
  }
32965
33158
  }
32966
33159
  else {
32967
- if (startingIndex === lastIndex) {
32968
- buddyIndex = 0;
33160
+ if (oldIndex === lastIndex) {
33161
+ newIndex = 0;
32969
33162
  }
32970
- else if (startingIndex === lastIndex - 1) {
33163
+ else if (oldIndex === lastIndex - 1) {
32971
33164
  appendInstead = true;
33165
+ newIndex = lastIndex;
32972
33166
  }
32973
33167
  else {
32974
- buddyIndex = startingIndex + 2;
33168
+ newIndex = oldIndex + 2;
32975
33169
  }
32976
33170
  }
32977
33171
  this.disconnectObserver();
@@ -32979,14 +33173,16 @@ class List$1 {
32979
33173
  parentEl.appendChild(sortItem);
32980
33174
  }
32981
33175
  else {
32982
- parentEl.insertBefore(sortItem, sameParentItems[buddyIndex]);
33176
+ parentEl.insertBefore(sortItem, sameParentItems[newIndex]);
32983
33177
  }
32984
33178
  this.updateListItems();
32985
33179
  this.connectObserver();
32986
33180
  this.calciteListOrderChange.emit({
32987
33181
  dragEl: sortItem,
32988
- fromEl: null,
32989
- toEl: null,
33182
+ fromEl: parentEl,
33183
+ toEl: parentEl,
33184
+ newIndex,
33185
+ oldIndex,
32990
33186
  });
32991
33187
  handle.setFocus().then(() => {
32992
33188
  handle.activated = true;
@@ -34650,37 +34846,6 @@ const ICONS$6 = {
34650
34846
  previous: "chevronLeft",
34651
34847
  };
34652
34848
 
34653
- let getBreakpointsPromise;
34654
- function breakpointTokenToNumericalValue(style, tokenName) {
34655
- return parseInt(style.getPropertyValue(tokenName));
34656
- }
34657
- /**
34658
- * This util will return a breakpoints lookup object.
34659
- *
34660
- * Note that the breakpoints will be evaluated at the root and cached for reuse.
34661
- *
34662
- * @returns {Promise<Breakpoints>} The Breakpoints object.
34663
- */
34664
- async function getBreakpoints() {
34665
- if (getBreakpointsPromise) {
34666
- return getBreakpointsPromise;
34667
- }
34668
- getBreakpointsPromise = new Promise((resolve) => {
34669
- requestAnimationFrame(() => {
34670
- const rootStyles = getComputedStyle(document.body);
34671
- resolve({
34672
- width: {
34673
- large: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-lg"),
34674
- medium: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-md"),
34675
- small: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-sm"),
34676
- xsmall: breakpointTokenToNumericalValue(rootStyles, "--calcite-app-breakpoint-width-xs"),
34677
- },
34678
- });
34679
- });
34680
- });
34681
- return getBreakpointsPromise;
34682
- }
34683
-
34684
34849
  const paginationCss = "/*!@:host*/.sc-calcite-pagination-h{display:flex;writing-mode:horizontal-tb}/*!@:host([scale=s]) .previous, :host([scale=s]) .next, :host([scale=s]) .page, :host([scale=s]) .ellipsis*/[scale=s].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=s].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:1.5rem;padding-inline:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}/*!@:host([scale=m]) .previous, :host([scale=m]) .next, :host([scale=m]) .page, :host([scale=m]) .ellipsis*/[scale=m].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=m].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:2rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}/*!@:host([scale=l]) .previous, :host([scale=l]) .next, :host([scale=l]) .page, :host([scale=l]) .ellipsis*/[scale=l].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .next.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}/*!@:host([scale=l]) .previous, :host([scale=l]) .next*/[scale=l].sc-calcite-pagination-h .previous.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .next.sc-calcite-pagination{padding-inline:0.625rem}/*!@:host([scale=l]) .page, :host([scale=l]) .ellipsis*/[scale=l].sc-calcite-pagination-h .page.sc-calcite-pagination,[scale=l].sc-calcite-pagination-h .ellipsis.sc-calcite-pagination{padding-inline:0.75rem}/*!@:host button*/.sc-calcite-pagination-h button.sc-calcite-pagination{outline-color:transparent}/*!@:host button:focus*/.sc-calcite-pagination-h button.sc-calcite-pagination:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.previous,\n.next,\n.page,\n.ellipsis*/.previous.sc-calcite-pagination,.next.sc-calcite-pagination,.page.sc-calcite-pagination,.ellipsis.sc-calcite-pagination{margin:0px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity:0;background-color:transparent;padding:0px;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3)}/*!@.previous,\n.next,\n.page*/.previous.sc-calcite-pagination,.next.sc-calcite-pagination,.page.sc-calcite-pagination{cursor:pointer;border-block:2px solid transparent}/*!@.previous:hover,\n.next:hover,\n.page:hover*/.previous.sc-calcite-pagination:hover,.next.sc-calcite-pagination:hover,.page.sc-calcite-pagination:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.page:hover*/.page.sc-calcite-pagination:hover{border-block-end-color:var(--calcite-ui-border-2)}/*!@.page.is-selected*/.page.is-selected.sc-calcite-pagination{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}/*!@.previous:hover,\n.next:hover*/.previous.sc-calcite-pagination:hover,.next.sc-calcite-pagination:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}/*!@.previous:active,\n.next:active*/.previous.sc-calcite-pagination:active,.next.sc-calcite-pagination:active{background-color:var(--calcite-ui-foreground-3)}/*!@.previous.is-disabled,\n.next.is-disabled*/.previous.is-disabled.sc-calcite-pagination,.next.is-disabled.sc-calcite-pagination{pointer-events:none;background-color:transparent}/*!@.previous.is-disabled > calcite-icon,\n.next.is-disabled > calcite-icon*/.previous.is-disabled.sc-calcite-pagination>calcite-icon.sc-calcite-pagination,.next.is-disabled.sc-calcite-pagination>calcite-icon.sc-calcite-pagination{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([hidden])*/[hidden].sc-calcite-pagination-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-pagination{display:none}";
34685
34850
 
34686
34851
  const firstAndLastPageCount = 2;
@@ -34953,7 +35118,7 @@ class Pagination {
34953
35118
  }; }
34954
35119
  }
34955
35120
 
34956
- const panelCss = "/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-panel-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-panel-h *.sc-calcite-panel,.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>*{pointer-events:none}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem;--calcite-internal-panel-header-border-block-end:1px solid var(--calcite-ui-border-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-internal-panel-header-border-block-end)}/*!@.header-container*/.header-container.sc-calcite-panel{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}/*!@.header-container--border-end*/.header-container--border-end.sc-calcite-panel{border-block-end:1px solid var(--calcite-ui-border-3)}/*!@.action-bar-container*/.action-bar-container.sc-calcite-panel{inline-size:100%}/*!@.action-bar-container ::slotted(calcite-action-bar)*/.action-bar-container .sc-calcite-panel-s>calcite-action-bar{inline-size:100%}/*!@.header-content*/.header-content.sc-calcite-panel{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}/*!@.header-content .heading,\n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
35121
+ const panelCss = "/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-panel-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-panel-h *.sc-calcite-panel,.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>*{pointer-events:none}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-ui-border-3))}/*!@.header-container*/.header-container.sc-calcite-panel{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}/*!@.header-container--border-end*/.header-container--border-end.sc-calcite-panel{border-block-end:1px solid var(--calcite-ui-border-3)}/*!@.action-bar-container*/.action-bar-container.sc-calcite-panel{inline-size:100%}/*!@.action-bar-container ::slotted(calcite-action-bar)*/.action-bar-container .sc-calcite-panel-s>calcite-action-bar{inline-size:100%}/*!@.header-content*/.header-content.sc-calcite-panel{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}/*!@.header-content .heading,\n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding, 0.5rem);border-block-start:1px solid var(--calcite-ui-border-3)}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
34957
35122
 
34958
35123
  /**
34959
35124
  * @slot - A slot for adding custom content.
@@ -34970,6 +35135,7 @@ class Panel {
34970
35135
  constructor(hostRef) {
34971
35136
  registerInstance(this, hostRef);
34972
35137
  this.calcitePanelClose = createEvent(this, "calcitePanelClose", 6);
35138
+ this.calcitePanelToggle = createEvent(this, "calcitePanelToggle", 6);
34973
35139
  this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 6);
34974
35140
  this.resizeObserver = createObserver();
34975
35141
  // --------------------------------------------------------------------------
@@ -34989,12 +35155,6 @@ class Panel {
34989
35155
  this.setContainerRef = (node) => {
34990
35156
  this.containerEl = node;
34991
35157
  };
34992
- this.setCloseRef = (node) => {
34993
- this.closeButtonEl = node;
34994
- };
34995
- this.setBackRef = (node) => {
34996
- this.backButtonEl = node;
34997
- };
34998
35158
  this.panelKeyDownHandler = (event) => {
34999
35159
  if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
35000
35160
  this.close();
@@ -35005,6 +35165,10 @@ class Panel {
35005
35165
  this.closed = true;
35006
35166
  this.calcitePanelClose.emit();
35007
35167
  };
35168
+ this.collapse = () => {
35169
+ this.collapsed = !this.collapsed;
35170
+ this.calcitePanelToggle.emit();
35171
+ };
35008
35172
  this.panelScrollHandler = () => {
35009
35173
  this.calcitePanelScroll.emit();
35010
35174
  };
@@ -35045,6 +35209,9 @@ class Panel {
35045
35209
  this.closed = false;
35046
35210
  this.disabled = false;
35047
35211
  this.closable = false;
35212
+ this.collapsed = false;
35213
+ this.collapseDirection = "down";
35214
+ this.collapsible = false;
35048
35215
  this.headingLevel = undefined;
35049
35216
  this.loading = false;
35050
35217
  this.heading = undefined;
@@ -35117,7 +35284,8 @@ class Panel {
35117
35284
  * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
35118
35285
  * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
35119
35286
  * });
35120
- * @param options
35287
+ * @param options - allows specific coordinates to be defined.
35288
+ * @returns - promise that resolves once the content is scrolled to.
35121
35289
  */
35122
35290
  async scrollContentTo(options) {
35123
35291
  this.panelScrollEl?.scrollTo(options);
@@ -35136,9 +35304,6 @@ class Panel {
35136
35304
  renderActionBar() {
35137
35305
  return (hAsync("div", { class: CSS$N.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
35138
35306
  }
35139
- /**
35140
- * Allows user to override the entire header-content node.
35141
- */
35142
35307
  renderHeaderSlottedContent() {
35143
35308
  return (hAsync("div", { class: CSS$N.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
35144
35309
  }
@@ -35147,26 +35312,30 @@ class Panel {
35147
35312
  return (hAsync("div", { class: { [CSS$N.headerActionsStart]: true, [CSS$N.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$n.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
35148
35313
  }
35149
35314
  renderHeaderActionsEnd() {
35150
- const { close, hasEndActions, messages, closable, hasMenuItems } = this;
35151
- const text = messages.close;
35152
- const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$b.close, onClick: close, text: text, title: text,
35153
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
35154
- ref: this.setCloseRef })) : null;
35315
+ const { hasEndActions, messages, closable, collapsed, collapseDirection, collapsible, hasMenuItems, } = this;
35316
+ const { collapse, expand, close } = messages;
35317
+ const icons = [ICONS$b.expand, ICONS$b.collapse];
35318
+ if (collapseDirection === "up") {
35319
+ icons.reverse();
35320
+ }
35321
+ const collapseNode = collapsible ? (hAsync("calcite-action", { "aria-expanded": toAriaBoolean(!collapsed), "aria-label": collapse, "data-test": "collapse", icon: collapsed ? icons[0] : icons[1], onClick: this.collapse, text: collapse, title: !collapsed ? expand : collapse })) : null;
35322
+ const closeNode = closable ? (hAsync("calcite-action", { "aria-label": close, "data-test": "close", icon: ICONS$b.close, onClick: this.close, text: close, title: close })) : null;
35155
35323
  const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
35156
- const showContainer = hasEndActions || closableNode || hasMenuItems;
35157
- return (hAsync("div", { class: { [CSS$N.headerActionsEnd]: true, [CSS$N.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
35324
+ const showContainer = hasEndActions || collapseNode || closeNode || hasMenuItems;
35325
+ return (hAsync("div", { class: { [CSS$N.headerActionsEnd]: true, [CSS$N.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), collapseNode, closeNode));
35158
35326
  }
35159
35327
  renderMenu() {
35160
35328
  const { hasMenuItems, messages, menuOpen } = this;
35161
35329
  return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$b.menu, slot: SLOTS$w.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$n.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
35162
35330
  }
35163
35331
  renderHeaderNode() {
35164
- const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems, hasActionBar, } = this;
35332
+ const { hasHeaderContent, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, } = this;
35165
35333
  const headerContentNode = this.renderHeaderContent();
35166
35334
  const showHeaderContent = hasHeaderContent ||
35167
35335
  !!headerContentNode ||
35168
35336
  hasStartActions ||
35169
35337
  hasEndActions ||
35338
+ collapsible ||
35170
35339
  closable ||
35171
35340
  hasMenuItems;
35172
35341
  this.showHeaderContent = showHeaderContent;
@@ -35178,7 +35347,7 @@ class Panel {
35178
35347
  return (hAsync("footer", { class: CSS$N.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$n.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$n.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
35179
35348
  }
35180
35349
  renderContent() {
35181
- return (hAsync("div", { class: CSS$N.contentWrapper, onScroll: this.panelScrollHandler,
35350
+ return (hAsync("div", { class: CSS$N.contentWrapper, hidden: this.collapsible && this.collapsed, onScroll: this.panelScrollHandler,
35182
35351
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
35183
35352
  ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
35184
35353
  }
@@ -35206,6 +35375,9 @@ class Panel {
35206
35375
  "closed": [1540],
35207
35376
  "disabled": [516],
35208
35377
  "closable": [516],
35378
+ "collapsed": [516],
35379
+ "collapseDirection": [1, "collapse-direction"],
35380
+ "collapsible": [516],
35209
35381
  "headingLevel": [514, "heading-level"],
35210
35382
  "loading": [516],
35211
35383
  "heading": [1],
@@ -35229,7 +35401,7 @@ class Panel {
35229
35401
  },
35230
35402
  "$listeners$": undefined,
35231
35403
  "$lazyBundleId$": "-",
35232
- "$attrsToReflect$": [["closed", "closed"], ["disabled", "disabled"], ["closable", "closable"], ["headingLevel", "heading-level"], ["loading", "loading"], ["menuOpen", "menu-open"]]
35404
+ "$attrsToReflect$": [["closed", "closed"], ["disabled", "disabled"], ["closable", "closable"], ["collapsed", "collapsed"], ["collapsible", "collapsible"], ["headingLevel", "heading-level"], ["loading", "loading"], ["menuOpen", "menu-open"]]
35233
35405
  }; }
35234
35406
  }
35235
35407
 
@@ -41489,7 +41661,7 @@ const CSS$a = {
41489
41661
  assistiveText: "assistive-text",
41490
41662
  };
41491
41663
 
41492
- const tableCellCss = "/*!@:host*/.sc-calcite-table-cell-h{--calcite-internal-table-cell-background-internal:var(--calcite-table-cell-background, transparent);--calcite-internal-table-cell-border-color-internal:var(--calcite-table-cell-border-color, transparent);display:contents}/*!@:host([alignment=center]) td*/[alignment=center].sc-calcite-table-cell-h td.sc-calcite-table-cell{text-align:center}/*!@:host([alignment=end]) td*/[alignment=end].sc-calcite-table-cell-h td.sc-calcite-table-cell{text-align:end}/*!@.assistive-text*/.assistive-text.sc-calcite-table-cell{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@td*/td.sc-calcite-table-cell{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-ui-text-1);outline-color:transparent;background:var(--calcite-internal-table-cell-background);border-inline-end:1px solid var(--calcite-ui-border-3);font-size:var(--calcite-internal-table-cell-font-size);padding:var(--calcite-internal-table-cell-padding)}/*!@td:focus*/td.sc-calcite-table-cell:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.number-cell*/.number-cell.sc-calcite-table-cell{background-color:var(--calcite-ui-foreground-2)}/*!@.footer-cell*/.footer-cell.sc-calcite-table-cell{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-start:1px solid var(--calcite-ui-border-3)}/*!@.number-cell,\n.selection-cell*/.number-cell.sc-calcite-table-cell,.selection-cell.sc-calcite-table-cell{border-inline-end:1px solid var(--calcite-ui-border-3);inline-size:2rem;min-inline-size:2rem}/*!@.selection-cell*/.selection-cell.sc-calcite-table-cell{cursor:pointer;color:var(--calcite-ui-text-3);inset-inline-start:2rem}/*!@.selected-cell:not(.number-cell):not(.footer-cell)*/.selected-cell.sc-calcite-table-cell:not(.number-cell):not(.footer-cell){--calcite-table-cell-background:var(--calcite-ui-foreground-current);background:var(--calcite-ui-foreground-current)}/*!@.selection-cell.selected-cell*/.selection-cell.selected-cell.sc-calcite-table-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@.selection-cell.selected-cell calcite-icon*/.selection-cell.selected-cell.sc-calcite-table-cell calcite-icon.sc-calcite-table-cell{color:var(--calcite-ui-brand)}/*!@.selection-cell*/.selection-cell.sc-calcite-table-cell{vertical-align:middle}/*!@.selection-cell ::slotted(calcite-icon)*/.selection-cell .sc-calcite-table-cell-s>calcite-icon{pointer-events:none;margin-block-start:0.25rem}";
41664
+ const tableCellCss = "/*!@:host*/.sc-calcite-table-cell-h{--calcite-internal-table-cell-background-internal:var(--calcite-table-cell-background, transparent);--calcite-internal-table-cell-border-color-internal:var(--calcite-table-cell-border-color, transparent);display:contents}/*!@:host([alignment=center]) td*/[alignment=center].sc-calcite-table-cell-h td.sc-calcite-table-cell{text-align:center}/*!@:host([alignment=end]) td*/[alignment=end].sc-calcite-table-cell-h td.sc-calcite-table-cell{text-align:end}/*!@.assistive-text*/.assistive-text.sc-calcite-table-cell{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@td*/td.sc-calcite-table-cell{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-ui-text-1);outline-color:transparent;background:var(--calcite-internal-table-cell-background);border-inline-end:1px solid var(--calcite-ui-border-3);font-size:var(--calcite-internal-table-cell-font-size);padding:var(--calcite-internal-table-cell-padding)}/*!@td:focus*/td.sc-calcite-table-cell:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.number-cell*/.number-cell.sc-calcite-table-cell{background-color:var(--calcite-ui-foreground-2)}/*!@.footer-cell*/.footer-cell.sc-calcite-table-cell{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-start:1px solid var(--calcite-ui-border-3)}/*!@.number-cell,\n.selection-cell*/.number-cell.sc-calcite-table-cell,.selection-cell.sc-calcite-table-cell{border-inline-end:1px solid var(--calcite-ui-border-3);inline-size:2rem;min-inline-size:2rem}/*!@.selection-cell*/.selection-cell.sc-calcite-table-cell{cursor:pointer;color:var(--calcite-ui-text-3);inset-inline-start:2rem}/*!@.selected-cell:not(.number-cell):not(.footer-cell)*/.selected-cell.sc-calcite-table-cell:not(.number-cell):not(.footer-cell){--calcite-table-cell-background:var(--calcite-ui-foreground-current);background:var(--calcite-ui-foreground-current)}/*!@.selection-cell.selected-cell*/.selection-cell.selected-cell.sc-calcite-table-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@.selection-cell.selected-cell calcite-icon*/.selection-cell.selected-cell.sc-calcite-table-cell calcite-icon.sc-calcite-table-cell{color:var(--calcite-ui-brand)}/*!@.calcite--rtl.selection-cell.selected-cell*/.calcite--rtl.selection-cell.selected-cell.sc-calcite-table-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-ui-brand)}/*!@.selection-cell*/.selection-cell.sc-calcite-table-cell{vertical-align:middle}/*!@.selection-cell ::slotted(calcite-icon)*/.selection-cell .sc-calcite-table-cell-s>calcite-icon{pointer-events:none;margin-block-start:0.25rem}";
41493
41665
 
41494
41666
  /**
41495
41667
  * @slot - A slot for adding content, usually text content.
@@ -41588,11 +41760,13 @@ class TableCell {
41588
41760
  //
41589
41761
  //--------------------------------------------------------------------------
41590
41762
  render() {
41763
+ const dir = getElementDir(this.el);
41591
41764
  return (hAsync(Host, null, hAsync("td", { "aria-disabled": this.disabled, class: {
41592
41765
  [CSS$a.footerCell]: this.parentRowType === "foot",
41593
41766
  [CSS$a.numberCell]: this.numberCell,
41594
41767
  [CSS$a.selectionCell]: this.selectionCell,
41595
41768
  [CSS$a.selectedCell]: this.parentRowIsSelected,
41769
+ [CSS_UTILITY.rtl]: dir === "rtl",
41596
41770
  }, colSpan: this.colSpan, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "gridcell", rowSpan: this.rowSpan, tabIndex: this.disabled ? -1 : 0,
41597
41771
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
41598
41772
  ref: (el) => (this.containerEl = el) }, (this.selectionCell || this.readCellContentsToAT) && this.focused && (hAsync("span", { "aria-hidden": true, "aria-live": "polite", class: CSS$a.assistiveText }, this.selectionCell && this.selectionText, this.readCellContentsToAT && !this.selectionCell && this.contentsText)), hAsync("slot", { onSlotchange: this.updateScreenReaderContentsText }))));
@@ -44603,17 +44777,15 @@ class Tree {
44603
44777
  this.el.tabIndex = this.getRootTabIndex();
44604
44778
  }
44605
44779
  }
44606
- onClick(event) {
44607
- const target = event.target;
44608
- const childItems = nodeListToArray(target.querySelectorAll("calcite-tree-item"));
44780
+ onInternalTreeItemSelect(event) {
44609
44781
  if (this.child) {
44610
44782
  return;
44611
44783
  }
44612
- if (!this.child) {
44613
- event.preventDefault();
44614
- event.stopPropagation();
44615
- }
44616
- if (this.selectionMode === "ancestors" && !this.child) {
44784
+ const target = event.target;
44785
+ const childItems = nodeListToArray(target.querySelectorAll("calcite-tree-item"));
44786
+ event.preventDefault();
44787
+ event.stopPropagation();
44788
+ if (this.selectionMode === "ancestors") {
44617
44789
  this.updateAncestorTree(event);
44618
44790
  return;
44619
44791
  }
@@ -44631,62 +44803,51 @@ class Tree {
44631
44803
  childItems.length <= 0) ||
44632
44804
  this.selectionMode === "children" ||
44633
44805
  this.selectionMode === "multichildren");
44634
- const shouldUpdateExpand = ["children", "multichildren"].includes(this.selectionMode) ||
44635
- (["single", "multiple"].includes(this.selectionMode) &&
44636
- target.hasChildren &&
44637
- !event.detail.forceToggle);
44638
- if (!this.child) {
44639
- const targetItems = [];
44640
- if (shouldSelect) {
44641
- targetItems.push(target);
44642
- }
44643
- if (shouldClearCurrentSelection) {
44644
- const selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item[selected]"));
44645
- selectedItems.forEach((treeItem) => {
44646
- if (!targetItems.includes(treeItem)) {
44647
- treeItem.selected = false;
44648
- }
44649
- });
44650
- }
44651
- if (shouldUpdateExpand) {
44652
- if (["single", "multiple"].includes(this.selectionMode)) {
44653
- target.expanded = !target.expanded;
44806
+ const shouldUpdateExpand = ["multiple", "none", "single", "single-persist"].includes(this.selectionMode) &&
44807
+ target.hasChildren;
44808
+ const targetItems = [];
44809
+ if (shouldSelect) {
44810
+ targetItems.push(target);
44811
+ }
44812
+ if (shouldClearCurrentSelection) {
44813
+ const selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item[selected]"));
44814
+ selectedItems.forEach((treeItem) => {
44815
+ if (!targetItems.includes(treeItem)) {
44816
+ treeItem.selected = false;
44654
44817
  }
44655
- else if (this.selectionMode === "multichildren") {
44656
- target.expanded = !target.selected;
44818
+ });
44819
+ }
44820
+ if (shouldUpdateExpand &&
44821
+ ["multiple", "none", "single", "single-persist"].includes(this.selectionMode)) {
44822
+ target.expanded = !target.expanded;
44823
+ }
44824
+ if (shouldDeselectAllChildren) {
44825
+ childItems.forEach((item) => {
44826
+ item.selected = false;
44827
+ if (item.hasChildren) {
44828
+ item.expanded = false;
44657
44829
  }
44658
- else if (this.selectionMode === "children") {
44659
- target.expanded = target.selected ? !target.expanded : true;
44830
+ });
44831
+ }
44832
+ if (shouldModifyToCurrentSelection) {
44833
+ window.getSelection().removeAllRanges();
44834
+ }
44835
+ if (shouldModifyToCurrentSelection && target.selected) {
44836
+ targetItems.forEach((treeItem) => {
44837
+ if (!treeItem.disabled) {
44838
+ treeItem.selected = false;
44660
44839
  }
44661
- }
44662
- if (shouldDeselectAllChildren) {
44663
- childItems.forEach((item) => {
44664
- item.selected = false;
44665
- if (item.hasChildren) {
44666
- item.expanded = false;
44667
- }
44668
- });
44669
- }
44670
- if (shouldModifyToCurrentSelection) {
44671
- window.getSelection().removeAllRanges();
44672
- }
44673
- if ((shouldModifyToCurrentSelection && target.selected) || event.detail.forceToggle) {
44674
- targetItems.forEach((treeItem) => {
44675
- if (!treeItem.disabled) {
44676
- treeItem.selected = false;
44677
- }
44678
- });
44679
- }
44680
- else if (!isNoneSelectionMode) {
44681
- targetItems.forEach((treeItem) => {
44682
- if (!treeItem.disabled) {
44683
- treeItem.selected = true;
44684
- }
44685
- });
44686
- }
44840
+ });
44841
+ }
44842
+ else if (!isNoneSelectionMode) {
44843
+ targetItems.forEach((treeItem) => {
44844
+ if (!treeItem.disabled) {
44845
+ treeItem.selected = true;
44846
+ }
44847
+ });
44687
44848
  }
44688
44849
  this.selectedItems = isNoneSelectionMode
44689
- ? [target]
44850
+ ? []
44690
44851
  : nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected);
44691
44852
  this.calciteTreeSelect.emit();
44692
44853
  event.stopPropagation();
@@ -44773,7 +44934,7 @@ class Tree {
44773
44934
  "selectionMode": [1537, "selection-mode"],
44774
44935
  "selectedItems": [1040]
44775
44936
  },
44776
- "$listeners$": [[0, "focus", "onFocus"], [0, "focusin", "onFocusIn"], [0, "focusout", "onFocusOut"], [0, "calciteInternalTreeItemSelect", "onClick"]],
44937
+ "$listeners$": [[0, "focus", "onFocus"], [0, "focusin", "onFocusIn"], [0, "focusout", "onFocusOut"], [0, "calciteInternalTreeItemSelect", "onInternalTreeItemSelect"]],
44777
44938
  "$lazyBundleId$": "-",
44778
44939
  "$attrsToReflect$": [["lines", "lines"], ["child", "child"], ["scale", "scale"], ["selectionMode", "selection-mode"]]
44779
44940
  }; }
@@ -44803,7 +44964,7 @@ const ICONS$1 = {
44803
44964
  blank: "blank",
44804
44965
  };
44805
44966
 
44806
- const treeItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-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-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline:2px solid transparent;outline-offset:2px}/*!@:host .node-container*/.sc-calcite-tree-item-h .node-container.sc-calcite-tree-item{outline-color:transparent}/*!@:host:focus .node-container, :host:active .node-container*/.sc-calcite-tree-item-h:focus .node-container.sc-calcite-tree-item,.sc-calcite-tree-item-h:active .node-container.sc-calcite-tree-item{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled])) .node-container*/.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;transform:none;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*)*/.sc-calcite-tree-item-h[has-children][expanded]:not([selected]):not([selection-mode=none]) .node-container .sc-calcite-tree-item-s>*{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([has-children][selected]) .node-container[data-selection-mode=children], :host([has-children][selected]) .node-container[data-selection-mode=multichildren]*/[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=children].sc-calcite-tree-item,[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=multichildren].sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}";
44967
+ const treeItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-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-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline:2px solid transparent;outline-offset:2px}/*!@:host .node-container*/.sc-calcite-tree-item-h .node-container.sc-calcite-tree-item{outline-color:transparent}/*!@:host:focus .node-container, :host:active .node-container*/.sc-calcite-tree-item-h:focus .node-container.sc-calcite-tree-item,.sc-calcite-tree-item-h:active .node-container.sc-calcite-tree-item{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled])) .node-container*/.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;transform:none;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}";
44807
44968
 
44808
44969
  /**
44809
44970
  * @slot - A slot for adding text.
@@ -44855,7 +45016,6 @@ class TreeItem {
44855
45016
  }
44856
45017
  this.calciteInternalTreeItemSelect.emit({
44857
45018
  modifyCurrentSelection: true,
44858
- forceToggle: false,
44859
45019
  updateItem: false,
44860
45020
  });
44861
45021
  }
@@ -44970,32 +45130,24 @@ class TreeItem {
44970
45130
  }
44971
45131
  this.calciteInternalTreeItemSelect.emit({
44972
45132
  modifyCurrentSelection: this.selectionMode === "ancestors" || this.isSelectionMultiLike,
44973
- forceToggle: false,
44974
45133
  updateItem: true,
44975
45134
  });
44976
45135
  this.userChangedValue = true;
44977
45136
  }
44978
45137
  keyDownHandler(event) {
44979
- if (this.isActionEndEvent(event)) {
45138
+ if (this.isActionEndEvent(event) || event.defaultPrevented) {
44980
45139
  return;
44981
45140
  }
44982
45141
  switch (event.key) {
44983
45142
  case " ":
44984
- if (this.selectionMode === "none") {
44985
- return;
44986
- }
44987
45143
  this.userChangedValue = true;
44988
45144
  this.calciteInternalTreeItemSelect.emit({
44989
45145
  modifyCurrentSelection: this.isSelectionMultiLike,
44990
- forceToggle: false,
44991
45146
  updateItem: true,
44992
45147
  });
44993
45148
  event.preventDefault();
44994
45149
  break;
44995
45150
  case "Enter":
44996
- if (this.selectionMode === "none") {
44997
- return;
44998
- }
44999
45151
  // activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
45000
45152
  const link = Array.from(this.el.children).find((el) => el.matches("a"));
45001
45153
  this.userChangedValue = true;
@@ -45006,7 +45158,6 @@ class TreeItem {
45006
45158
  else {
45007
45159
  this.calciteInternalTreeItemSelect.emit({
45008
45160
  modifyCurrentSelection: this.isSelectionMultiLike,
45009
- forceToggle: false,
45010
45161
  updateItem: true,
45011
45162
  });
45012
45163
  }
@@ -48603,6 +48754,245 @@ var zhTw = /*#__PURE__*/Object.freeze({
48603
48754
  'default': locale
48604
48755
  });
48605
48756
 
48757
+ const supportedTimeZones = Intl.supportedValuesOf('timeZone');
48758
+
48759
+ const now = new Date();
48760
+ const startDate = now.toISOString();
48761
+ const daysInYear = 365;
48762
+ const groupDateRange = daysInYear;
48763
+ const defaultGroupingOptions = {
48764
+ startDate,
48765
+ groupDateRange,
48766
+ debug: false,
48767
+ };
48768
+
48769
+ /* eslint-disable @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
48770
+ const continentAllowList = new Set([
48771
+ 'Europe',
48772
+ 'Asia',
48773
+ 'America',
48774
+ 'America/Argentina',
48775
+ 'Africa',
48776
+ 'Australia',
48777
+ 'Pacific',
48778
+ 'Atlantic',
48779
+ 'Antarctica',
48780
+ 'Arctic',
48781
+ 'Indian',
48782
+ ]);
48783
+ const _getDates = (startDate, numberDays, dateEngine) => {
48784
+ const dateArray = [];
48785
+ let date = dateEngine.create(startDate);
48786
+ for (let i = 0; i <= numberDays; i++) {
48787
+ date = dateEngine.increase(date);
48788
+ dateArray.push(dateEngine.formatToIsoDateString(date));
48789
+ }
48790
+ return dateArray;
48791
+ };
48792
+ const _extractContinent = (label) => {
48793
+ if (label.includes('Istanbul')) {
48794
+ return 'Europe';
48795
+ }
48796
+ const lastIndex = label.lastIndexOf('/');
48797
+ return lastIndex === -1 ? label : label.slice(0, lastIndex);
48798
+ };
48799
+ const _isRegularContinent = (continent) => continentAllowList.has(continent);
48800
+ const generateTimeZoneMetadata = (timeZoneItems, startDate, numberDays, dateEngine, debug = false) => {
48801
+ const processedDates = new Map();
48802
+ if (debug) {
48803
+ console.log(`Initializing data starting ${startDate} with ${numberDays} days in the future, comparing ${timeZoneItems.length} timezones`);
48804
+ }
48805
+ const theDates = _getDates(startDate, numberDays, dateEngine);
48806
+ return timeZoneItems.map((tzItem) => {
48807
+ const label = tzItem.label;
48808
+ const continent = _extractContinent(label);
48809
+ const dates = theDates.map((date) => {
48810
+ const key = `${date}-${label}`;
48811
+ let utc = processedDates.get(key);
48812
+ if (utc) {
48813
+ return utc;
48814
+ }
48815
+ utc = dateEngine.isoToTimeZone(date, label);
48816
+ processedDates.set(key, utc);
48817
+ return utc;
48818
+ });
48819
+ return {
48820
+ ...tzItem,
48821
+ continent,
48822
+ isRegularContinent: _isRegularContinent(continent),
48823
+ dates,
48824
+ };
48825
+ });
48826
+ };
48827
+ const compareDateArrs = (array1, array2, dateEngine) => array1.length === array2.length &&
48828
+ array1.every((value, index) => dateEngine.same(value, array2[index]));
48829
+ const getGroupLabelTimeZoneIndices = (rawTZs, max = 5) => {
48830
+ const shrinkedTzs = rawTZs.filter(({ label }) => _isRegularContinent(_extractContinent(label)));
48831
+ rawTZs = shrinkedTzs.length === 0 ? [rawTZs[0]] : shrinkedTzs;
48832
+ const uniqueLabels = [...new Set(rawTZs.map((_tz, index) => index))];
48833
+ return equallyDistributedSampling(uniqueLabels, max);
48834
+ };
48835
+ function equallyDistributedSampling(items, maxItems = 5) {
48836
+ const totalItems = items.length;
48837
+ if (totalItems <= maxItems) {
48838
+ return items;
48839
+ }
48840
+ const numberItemsToSelect = Math.min(totalItems - 2, maxItems - 2);
48841
+ const stepSize = (totalItems - 1) / (numberItemsToSelect + 1);
48842
+ return [
48843
+ items[0],
48844
+ ...Array.from({ length: numberItemsToSelect }, (_, i) => items[Math.round((i + 1) * stepSize)]),
48845
+ items[totalItems - 1],
48846
+ ];
48847
+ }
48848
+
48849
+ async function groupTimeZones(options) {
48850
+ const { debug, groupDateRange, hooks, startDate, dateEngine } = {
48851
+ ...defaultGroupingOptions,
48852
+ ...options,
48853
+ };
48854
+ const grouping = [];
48855
+ if (!dateEngine) {
48856
+ throw new Error('dateEngine is required');
48857
+ }
48858
+ const timeZoneItems = supportedTimeZones.map((tz) => ({ label: tz }));
48859
+ hooks?.onBeforeTimeZoneMetadataCreate?.(timeZoneItems);
48860
+ const timeZoneMetadata = generateTimeZoneMetadata(timeZoneItems, startDate, groupDateRange, dateEngine, debug);
48861
+ hooks?.onTimeZoneMetadataCreate?.(timeZoneMetadata);
48862
+ // We traverse the mappedDB and see if we find matches by comparing each set
48863
+ // of transformed date for that specific TZ.
48864
+ for (const tzMetadatumI of timeZoneMetadata) {
48865
+ const { label, continent, dates } = tzMetadatumI;
48866
+ // ignore if we visited this element already
48867
+ if (tzMetadatumI.visited) {
48868
+ continue;
48869
+ }
48870
+ // Mark element as already visited
48871
+ tzMetadatumI.visited = true;
48872
+ // The grouped timezone that we want as a result
48873
+ const newGroup = {
48874
+ labelTzIndices: undefined,
48875
+ tzs: [{ label }],
48876
+ };
48877
+ hooks?.onGroupCreate?.(newGroup, tzMetadatumI);
48878
+ for (const tzMetadatumJ of timeZoneMetadata.filter((_) => !_.visited)) {
48879
+ const { label: labelJ, continent: continentJ, isRegularContinent: isRegularContinentJ, dates: datesJ, } = tzMetadatumJ;
48880
+ // We define a matching TZ by:
48881
+ // 1) if both continents match (avoid grouping Antarctica with anything else)
48882
+ // 2) if the transformed dates match in both TZs
48883
+ if ((continent === continentJ || !isRegularContinentJ) &&
48884
+ compareDateArrs(dates, datesJ, dateEngine)) {
48885
+ const tzItem = { label: labelJ };
48886
+ newGroup.tzs.push(tzItem);
48887
+ hooks?.onGroupTimeZoneAdd?.(newGroup, tzItem, tzMetadatumJ);
48888
+ // Mark element as already visited
48889
+ tzMetadatumJ.visited = true;
48890
+ }
48891
+ }
48892
+ grouping.push(newGroup);
48893
+ hooks?.onGroupAdd?.(newGroup);
48894
+ }
48895
+ // Now that we have a group, we want an easy way to find a fitting label for the group
48896
+ // which is defined as the list of the most-common 7 cities, shown in alphabetical order
48897
+ const finalGrouping = grouping
48898
+ .map((group) => {
48899
+ hooks?.onBeforeFinalGroupCreate?.(group);
48900
+ const finalGrouping = {
48901
+ labelTzIndices: getGroupLabelTimeZoneIndices(group.tzs, 7),
48902
+ tzs: group.tzs.map((_) => _.label).sort(),
48903
+ };
48904
+ hooks?.onFinalGroupCreate?.(finalGrouping, group);
48905
+ return finalGrouping;
48906
+ })
48907
+ .sort((a, b) => b.tzs.length - a.tzs.length);
48908
+ if (debug) {
48909
+ const missingTzs = supportedTimeZones
48910
+ .map((tz) => (finalGrouping.some((y) => y.tzs.includes(tz)) ? null : tz))
48911
+ .filter(Boolean);
48912
+ if (missingTzs.length > 0) {
48913
+ throw new Error(`There are ${missingTzs.length} missing timezones: ${missingTzs.toString()}`);
48914
+ }
48915
+ }
48916
+ return hooks?.onFinalGroupingCreate
48917
+ ? hooks.onFinalGroupingCreate(finalGrouping)
48918
+ : finalGrouping;
48919
+ }
48920
+
48921
+ var index$1 = /*#__PURE__*/Object.freeze({
48922
+ __proto__: null,
48923
+ groupTimeZones: groupTimeZones
48924
+ });
48925
+
48926
+ class NativeDateEngine {
48927
+ _formatterCache = new Map();
48928
+ _commonDateTimeFormatterOptions = {
48929
+ year: 'numeric',
48930
+ month: '2-digit',
48931
+ day: '2-digit',
48932
+ timeZoneName: 'shortOffset',
48933
+ };
48934
+ get name() {
48935
+ return 'native';
48936
+ }
48937
+ create(date) {
48938
+ return new Date(date);
48939
+ }
48940
+ increase(date) {
48941
+ const oneDayInMs = 86400000;
48942
+ return new Date(date.getTime() + oneDayInMs);
48943
+ }
48944
+ formatToIsoDateString(date) {
48945
+ const year = date.getFullYear();
48946
+ const month = date.getMonth() + 1;
48947
+ const day = date.getDate();
48948
+ return `${year}-${month.toString().padStart(2, '0')}-${day
48949
+ .toString()
48950
+ .padStart(2, '0')}`;
48951
+ }
48952
+ isoToTimeZone(isoDate, tz) {
48953
+ const date = this._toDate(isoDate);
48954
+ const formatter = this._getFormatter(tz);
48955
+ const parts = formatter.formatToParts(date);
48956
+ const [month, day, year, offset] = parts
48957
+ .filter(({ type }) => type !== 'literal')
48958
+ .map(({ value }) => value);
48959
+ const tzOffset = this._getTimeZoneOffsetInMins(offset);
48960
+ return new Date(Date.UTC(Number(year), Number(month) - 1, Number(day), 0, -tzOffset));
48961
+ }
48962
+ same(date1, date2) {
48963
+ return date1.getTime() === date2.getTime();
48964
+ }
48965
+ _toDate(isoDate) {
48966
+ const dateParts = isoDate.split('-');
48967
+ const year = Number(dateParts[0]);
48968
+ const month = Number(dateParts[1]) - 1;
48969
+ const day = Number(dateParts[2]);
48970
+ return new Date(year, month, day);
48971
+ }
48972
+ _getFormatter(tz) {
48973
+ let formatter = this._formatterCache.get(tz);
48974
+ if (!formatter) {
48975
+ formatter = new Intl.DateTimeFormat('en-US', {
48976
+ timeZone: tz,
48977
+ ...this._commonDateTimeFormatterOptions,
48978
+ });
48979
+ this._formatterCache.set(tz, formatter);
48980
+ }
48981
+ return formatter;
48982
+ }
48983
+ _getTimeZoneOffsetInMins(gmtTimeZone) {
48984
+ const [sign, ...hoursMinutes] = gmtTimeZone.slice(3);
48985
+ const [hours, minutes] = hoursMinutes.join('').split(':');
48986
+ const signMultiplier = sign === '+' ? 1 : -1;
48987
+ return signMultiplier * (Number(hours) * 60 + Number(minutes || 0));
48988
+ }
48989
+ }
48990
+
48991
+ var index = /*#__PURE__*/Object.freeze({
48992
+ __proto__: null,
48993
+ DateEngine: NativeDateEngine
48994
+ });
48995
+
48606
48996
  exports.hydrateApp = hydrateApp;
48607
48997
 
48608
48998