@esri/calcite-components 1.0.0-next.700 → 1.0.0-next.702

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 (1073) hide show
  1. package/dist/calcite/assets/action/t9n/index.d.ts +1 -1
  2. package/dist/calcite/assets/action/t9n/messages_ar.json +2 -1
  3. package/dist/calcite/assets/action/t9n/messages_bg.json +2 -1
  4. package/dist/calcite/assets/action/t9n/messages_bs.json +2 -1
  5. package/dist/calcite/assets/action/t9n/messages_ca.json +2 -1
  6. package/dist/calcite/assets/action/t9n/messages_cs.json +2 -1
  7. package/dist/calcite/assets/action/t9n/messages_da.json +2 -1
  8. package/dist/calcite/assets/action/t9n/messages_de.json +2 -1
  9. package/dist/calcite/assets/action/t9n/messages_el.json +2 -1
  10. package/dist/calcite/assets/action/t9n/messages_es.json +2 -1
  11. package/dist/calcite/assets/action/t9n/messages_et.json +2 -1
  12. package/dist/calcite/assets/action/t9n/messages_fi.json +2 -1
  13. package/dist/calcite/assets/action/t9n/messages_fr.json +2 -1
  14. package/dist/calcite/assets/action/t9n/messages_he.json +2 -1
  15. package/dist/calcite/assets/action/t9n/messages_hr.json +2 -1
  16. package/dist/calcite/assets/action/t9n/messages_hu.json +2 -1
  17. package/dist/calcite/assets/action/t9n/messages_id.json +2 -1
  18. package/dist/calcite/assets/action/t9n/messages_it.json +2 -1
  19. package/dist/calcite/assets/action/t9n/messages_ja.json +2 -1
  20. package/dist/calcite/assets/action/t9n/messages_ko.json +2 -1
  21. package/dist/calcite/assets/action/t9n/messages_lt.json +2 -1
  22. package/dist/calcite/assets/action/t9n/messages_lv.json +2 -1
  23. package/dist/calcite/assets/action/t9n/messages_nl.json +2 -1
  24. package/dist/calcite/assets/action/t9n/messages_no.json +2 -1
  25. package/dist/calcite/assets/action/t9n/messages_pl.json +2 -1
  26. package/dist/calcite/assets/action/t9n/messages_pt-BR.json +2 -1
  27. package/dist/calcite/assets/action/t9n/messages_pt-PT.json +2 -1
  28. package/dist/calcite/assets/action/t9n/messages_ro.json +2 -1
  29. package/dist/calcite/assets/action/t9n/messages_ru.json +2 -1
  30. package/dist/calcite/assets/action/t9n/messages_sk.json +2 -1
  31. package/dist/calcite/assets/action/t9n/messages_sl.json +2 -1
  32. package/dist/calcite/assets/action/t9n/messages_sr.json +2 -1
  33. package/dist/calcite/assets/action/t9n/messages_sv.json +2 -1
  34. package/dist/calcite/assets/action/t9n/messages_th.json +2 -1
  35. package/dist/calcite/assets/action/t9n/messages_tr.json +2 -1
  36. package/dist/calcite/assets/action/t9n/messages_uk.json +2 -1
  37. package/dist/calcite/assets/action/t9n/messages_vi.json +2 -1
  38. package/dist/calcite/assets/action/t9n/messages_zh-CN.json +2 -1
  39. package/dist/calcite/assets/action/t9n/messages_zh-HK.json +2 -1
  40. package/dist/calcite/assets/action/t9n/messages_zh-TW.json +2 -1
  41. package/dist/calcite/assets/action-bar/t9n/index.d.ts +1 -1
  42. package/dist/calcite/assets/action-group/t9n/index.d.ts +1 -1
  43. package/dist/calcite/assets/action-pad/t9n/index.d.ts +1 -1
  44. package/dist/calcite/assets/alert/t9n/index.d.ts +1 -1
  45. package/dist/calcite/assets/block/t9n/index.d.ts +1 -1
  46. package/dist/calcite/assets/block-section/t9n/index.d.ts +1 -1
  47. package/dist/calcite/assets/button/t9n/index.d.ts +1 -1
  48. package/dist/calcite/assets/card/t9n/index.d.ts +1 -1
  49. package/dist/calcite/assets/chip/t9n/index.d.ts +1 -1
  50. package/dist/calcite/assets/color-picker/t9n/index.d.ts +1 -1
  51. package/dist/calcite/assets/color-picker/t9n/messages_ar.json +1 -0
  52. package/dist/calcite/assets/color-picker/t9n/messages_bg.json +1 -0
  53. package/dist/calcite/assets/color-picker/t9n/messages_bs.json +1 -0
  54. package/dist/calcite/assets/color-picker/t9n/messages_ca.json +1 -0
  55. package/dist/calcite/assets/color-picker/t9n/messages_cs.json +1 -0
  56. package/dist/calcite/assets/color-picker/t9n/messages_da.json +1 -0
  57. package/dist/calcite/assets/color-picker/t9n/messages_de.json +1 -0
  58. package/dist/calcite/assets/color-picker/t9n/messages_el.json +1 -0
  59. package/dist/calcite/assets/color-picker/t9n/messages_en.json +1 -0
  60. package/dist/calcite/assets/color-picker/t9n/messages_es.json +1 -0
  61. package/dist/calcite/assets/color-picker/t9n/messages_et.json +1 -0
  62. package/dist/calcite/assets/color-picker/t9n/messages_fi.json +1 -0
  63. package/dist/calcite/assets/color-picker/t9n/messages_fr.json +1 -0
  64. package/dist/calcite/assets/color-picker/t9n/messages_he.json +1 -0
  65. package/dist/calcite/assets/color-picker/t9n/messages_hr.json +1 -0
  66. package/dist/calcite/assets/color-picker/t9n/messages_hu.json +1 -0
  67. package/dist/calcite/assets/color-picker/t9n/messages_id.json +1 -0
  68. package/dist/calcite/assets/color-picker/t9n/messages_it.json +1 -0
  69. package/dist/calcite/assets/color-picker/t9n/messages_ja.json +1 -0
  70. package/dist/calcite/assets/color-picker/t9n/messages_ko.json +1 -0
  71. package/dist/calcite/assets/color-picker/t9n/messages_lt.json +1 -0
  72. package/dist/calcite/assets/color-picker/t9n/messages_lv.json +1 -0
  73. package/dist/calcite/assets/color-picker/t9n/messages_nl.json +1 -0
  74. package/dist/calcite/assets/color-picker/t9n/messages_no.json +1 -0
  75. package/dist/calcite/assets/color-picker/t9n/messages_pl.json +1 -0
  76. package/dist/calcite/assets/color-picker/t9n/messages_pt-BR.json +1 -0
  77. package/dist/calcite/assets/color-picker/t9n/messages_pt-PT.json +1 -0
  78. package/dist/calcite/assets/color-picker/t9n/messages_ro.json +1 -0
  79. package/dist/calcite/assets/color-picker/t9n/messages_ru.json +1 -0
  80. package/dist/calcite/assets/color-picker/t9n/messages_sk.json +1 -0
  81. package/dist/calcite/assets/color-picker/t9n/messages_sl.json +1 -0
  82. package/dist/calcite/assets/color-picker/t9n/messages_sr.json +1 -0
  83. package/dist/calcite/assets/color-picker/t9n/messages_sv.json +1 -0
  84. package/dist/calcite/assets/color-picker/t9n/messages_th.json +1 -0
  85. package/dist/calcite/assets/color-picker/t9n/messages_tr.json +1 -0
  86. package/dist/calcite/assets/color-picker/t9n/messages_uk.json +1 -0
  87. package/dist/calcite/assets/color-picker/t9n/messages_vi.json +1 -0
  88. package/dist/calcite/assets/color-picker/t9n/messages_zh-CN.json +1 -0
  89. package/dist/calcite/assets/color-picker/t9n/messages_zh-HK.json +1 -0
  90. package/dist/calcite/assets/color-picker/t9n/messages_zh-TW.json +1 -0
  91. package/dist/calcite/assets/combobox/t9n/index.d.ts +1 -1
  92. package/dist/calcite/assets/date-picker/nls/ar.json +1 -1
  93. package/dist/calcite/assets/date-picker/t9n/index.d.ts +1 -1
  94. package/dist/calcite/assets/filter/t9n/index.d.ts +1 -1
  95. package/dist/calcite/assets/flow-item/t9n/index.d.ts +1 -1
  96. package/dist/calcite/assets/flow-item/t9n/messages_ar.json +3 -3
  97. package/dist/calcite/assets/flow-item/t9n/messages_bg.json +3 -3
  98. package/dist/calcite/assets/flow-item/t9n/messages_bs.json +3 -3
  99. package/dist/calcite/assets/flow-item/t9n/messages_ca.json +3 -3
  100. package/dist/calcite/assets/flow-item/t9n/messages_cs.json +3 -3
  101. package/dist/calcite/assets/flow-item/t9n/messages_da.json +3 -3
  102. package/dist/calcite/assets/flow-item/t9n/messages_de.json +3 -3
  103. package/dist/calcite/assets/flow-item/t9n/messages_el.json +3 -3
  104. package/dist/calcite/assets/flow-item/t9n/messages_es.json +3 -3
  105. package/dist/calcite/assets/flow-item/t9n/messages_et.json +3 -3
  106. package/dist/calcite/assets/flow-item/t9n/messages_fi.json +3 -3
  107. package/dist/calcite/assets/flow-item/t9n/messages_fr.json +3 -3
  108. package/dist/calcite/assets/flow-item/t9n/messages_he.json +3 -3
  109. package/dist/calcite/assets/flow-item/t9n/messages_hr.json +3 -3
  110. package/dist/calcite/assets/flow-item/t9n/messages_hu.json +3 -3
  111. package/dist/calcite/assets/flow-item/t9n/messages_id.json +3 -3
  112. package/dist/calcite/assets/flow-item/t9n/messages_it.json +3 -3
  113. package/dist/calcite/assets/flow-item/t9n/messages_ja.json +3 -3
  114. package/dist/calcite/assets/flow-item/t9n/messages_ko.json +3 -3
  115. package/dist/calcite/assets/flow-item/t9n/messages_lt.json +3 -3
  116. package/dist/calcite/assets/flow-item/t9n/messages_lv.json +3 -3
  117. package/dist/calcite/assets/flow-item/t9n/messages_nl.json +3 -3
  118. package/dist/calcite/assets/flow-item/t9n/messages_no.json +3 -3
  119. package/dist/calcite/assets/flow-item/t9n/messages_pl.json +3 -3
  120. package/dist/calcite/assets/flow-item/t9n/messages_pt-BR.json +3 -3
  121. package/dist/calcite/assets/flow-item/t9n/messages_pt-PT.json +3 -3
  122. package/dist/calcite/assets/flow-item/t9n/messages_ro.json +3 -3
  123. package/dist/calcite/assets/flow-item/t9n/messages_ru.json +3 -3
  124. package/dist/calcite/assets/flow-item/t9n/messages_sk.json +3 -3
  125. package/dist/calcite/assets/flow-item/t9n/messages_sl.json +3 -3
  126. package/dist/calcite/assets/flow-item/t9n/messages_sr.json +3 -3
  127. package/dist/calcite/assets/flow-item/t9n/messages_sv.json +3 -3
  128. package/dist/calcite/assets/flow-item/t9n/messages_th.json +3 -3
  129. package/dist/calcite/assets/flow-item/t9n/messages_tr.json +3 -3
  130. package/dist/calcite/assets/flow-item/t9n/messages_uk.json +3 -3
  131. package/dist/calcite/assets/flow-item/t9n/messages_vi.json +3 -3
  132. package/dist/calcite/assets/flow-item/t9n/messages_zh-CN.json +3 -3
  133. package/dist/calcite/assets/flow-item/t9n/messages_zh-HK.json +3 -3
  134. package/dist/calcite/assets/flow-item/t9n/messages_zh-TW.json +3 -3
  135. package/dist/calcite/assets/inline-editable/t9n/index.d.ts +1 -1
  136. package/dist/calcite/assets/input/t9n/index.d.ts +1 -1
  137. package/dist/calcite/assets/input-number/t9n/index.d.ts +1 -1
  138. package/dist/calcite/assets/input-text/t9n/index.d.ts +1 -1
  139. package/dist/calcite/assets/modal/t9n/index.d.ts +1 -1
  140. package/dist/calcite/assets/notice/t9n/index.d.ts +1 -1
  141. package/dist/calcite/assets/pagination/t9n/index.d.ts +1 -1
  142. package/dist/calcite/assets/panel/t9n/index.d.ts +1 -1
  143. package/dist/calcite/assets/pick-list-item/t9n/index.d.ts +1 -1
  144. package/dist/calcite/assets/popover/t9n/index.d.ts +1 -1
  145. package/dist/calcite/assets/rating/t9n/index.d.ts +1 -1
  146. package/dist/calcite/assets/scrim/t9n/index.d.ts +1 -1
  147. package/dist/calcite/assets/shell-panel/t9n/index.d.ts +1 -1
  148. package/dist/calcite/assets/time-picker/t9n/index.d.ts +1 -1
  149. package/dist/calcite/assets/tip/t9n/index.d.ts +1 -1
  150. package/dist/calcite/assets/tip-manager/t9n/index.d.ts +1 -1
  151. package/dist/calcite/assets/value-list/t9n/index.d.ts +1 -1
  152. package/dist/calcite/calcite.css +1 -1
  153. package/dist/calcite/calcite.esm.js +2 -2
  154. package/dist/calcite/index.esm.js +1 -1
  155. package/dist/calcite/{p-62f63b3f.entry.js → p-00afc72e.entry.js} +2 -2
  156. package/dist/calcite/{p-c39288b5.entry.js → p-038ffd98.entry.js} +2 -2
  157. package/dist/calcite/{p-d3daf6a0.entry.js → p-03affb1f.entry.js} +2 -2
  158. package/dist/calcite/{p-c6475572.entry.js → p-04f33e06.entry.js} +2 -2
  159. package/dist/calcite/{p-6a500ee9.entry.js → p-0643a222.entry.js} +2 -2
  160. package/dist/calcite/p-08a2a0a3.js +10 -0
  161. package/dist/calcite/p-08af6c70.entry.js +6 -0
  162. package/dist/calcite/{p-5c01b321.js → p-0995ff5c.js} +1 -1
  163. package/dist/calcite/p-09c2e3af.entry.js +6 -0
  164. package/dist/calcite/{p-2b847ed3.js → p-09f93be2.js} +1 -1
  165. package/dist/calcite/p-0e4780d7.js +6 -0
  166. package/dist/calcite/{p-764ff786.js → p-131fedd0.js} +1 -1
  167. package/dist/calcite/{p-84b9123c.js → p-14afd90f.js} +1 -1
  168. package/dist/calcite/p-155b8150.js +6 -0
  169. package/dist/calcite/{p-7a3f8875.js → p-15975845.js} +2 -2
  170. package/dist/calcite/{p-f7b11605.entry.js → p-1c328c37.entry.js} +2 -2
  171. package/dist/calcite/{p-1feb6b63.js → p-1de5063e.js} +1 -1
  172. package/dist/calcite/{p-6a6ec016.entry.js → p-1df68a88.entry.js} +2 -2
  173. package/dist/calcite/{p-7854abcf.entry.js → p-258877a2.entry.js} +2 -2
  174. package/dist/calcite/p-25b959ab.entry.js +6 -0
  175. package/dist/calcite/{p-c8b9be80.entry.js → p-276a70de.entry.js} +2 -2
  176. package/dist/calcite/{p-35f7e093.js → p-29904e44.js} +2 -2
  177. package/dist/calcite/{p-16fcee16.entry.js → p-2a62244a.entry.js} +2 -2
  178. package/dist/calcite/{p-f38b67fe.js → p-3055866d.js} +2 -2
  179. package/dist/calcite/p-3a88d975.entry.js +6 -0
  180. package/dist/calcite/{p-2dee5810.entry.js → p-3b99344c.entry.js} +2 -2
  181. package/dist/calcite/{p-65515a43.entry.js → p-3cf89419.entry.js} +2 -2
  182. package/dist/calcite/{p-c580762a.js → p-3ffa53b5.js} +2 -2
  183. package/dist/calcite/{p-90cee097.entry.js → p-444dd465.entry.js} +2 -2
  184. package/dist/calcite/{p-2e185a01.js → p-44f85e3f.js} +1 -1
  185. package/dist/calcite/{p-01f8d890.js → p-455ba011.js} +1 -1
  186. package/dist/calcite/{p-fd48175a.entry.js → p-45e34c7e.entry.js} +2 -2
  187. package/dist/calcite/{p-37cc959f.entry.js → p-46d054bb.entry.js} +2 -2
  188. package/dist/calcite/{p-cb08ee81.entry.js → p-4baf236a.entry.js} +2 -2
  189. package/dist/calcite/{p-90803425.js → p-4d180a60.js} +1 -1
  190. package/dist/calcite/p-50d43cad.entry.js +6 -0
  191. package/dist/calcite/{p-96990293.entry.js → p-5478f9f6.entry.js} +2 -2
  192. package/dist/calcite/{p-8b060e4a.entry.js → p-5747784a.entry.js} +2 -2
  193. package/dist/calcite/p-5d03b5c2.entry.js +6 -0
  194. package/dist/calcite/{p-82239162.entry.js → p-5d506a9f.entry.js} +2 -2
  195. package/dist/calcite/{p-a9206350.entry.js → p-5f158a85.entry.js} +2 -2
  196. package/dist/calcite/p-5fa846e8.entry.js +6 -0
  197. package/dist/calcite/{p-0502fb73.js → p-6278ef0c.js} +2 -2
  198. package/dist/calcite/{p-44b0bb64.js → p-650129bf.js} +1 -1
  199. package/dist/calcite/{p-8fc8fcb0.js → p-68d792f8.js} +1 -1
  200. package/dist/calcite/p-70b4f71d.js +6 -0
  201. package/dist/calcite/{p-f04ea445.js → p-74ee8396.js} +1 -1
  202. package/dist/calcite/{p-a64af1f4.entry.js → p-7e33d488.entry.js} +2 -2
  203. package/dist/calcite/{p-09b7347c.entry.js → p-7fc01add.entry.js} +2 -2
  204. package/dist/calcite/p-81261215.entry.js +6 -0
  205. package/dist/calcite/p-87255f92.entry.js +6 -0
  206. package/dist/calcite/{p-3471d942.entry.js → p-87e1d2c4.entry.js} +2 -2
  207. package/dist/calcite/{p-0063da60.entry.js → p-8a647669.entry.js} +2 -2
  208. package/dist/calcite/{p-c3874313.js → p-8ed698f1.js} +1 -1
  209. package/dist/calcite/{p-184555c9.entry.js → p-9057d48a.entry.js} +2 -2
  210. package/dist/calcite/{p-54b45b44.js → p-94d1ab82.js} +2 -2
  211. package/dist/calcite/{p-4f98651f.entry.js → p-9536ace3.entry.js} +2 -2
  212. package/dist/calcite/p-9a827321.entry.js +6 -0
  213. package/dist/calcite/p-9c01e157.entry.js +6 -0
  214. package/dist/calcite/p-9d5c3896.entry.js +6 -0
  215. package/dist/calcite/{p-063dd405.js → p-9f347585.js} +1 -1
  216. package/dist/calcite/{p-73ed777d.js → p-9fab656c.js} +2 -2
  217. package/dist/calcite/{p-132d8e3d.entry.js → p-a82bb0ad.entry.js} +2 -2
  218. package/dist/calcite/{p-e0376587.entry.js → p-b715dec3.entry.js} +2 -2
  219. package/dist/calcite/{p-67d23f58.entry.js → p-b8b66740.entry.js} +2 -2
  220. package/dist/calcite/{p-7b653ebc.entry.js → p-bace456d.entry.js} +2 -2
  221. package/dist/calcite/{p-45d890bf.js → p-bbe97b11.js} +1 -1
  222. package/dist/calcite/{p-9be0db9f.js → p-c0ad8bfc.js} +2 -2
  223. package/dist/calcite/{p-923a5d36.entry.js → p-c1326463.entry.js} +2 -2
  224. package/dist/calcite/{p-855905b6.js → p-c3bef4be.js} +2 -2
  225. package/dist/calcite/p-c858778e.entry.js +6 -0
  226. package/dist/calcite/{p-95bb2cc0.js → p-ce99e979.js} +1 -1
  227. package/dist/calcite/p-d9101232.entry.js +6 -0
  228. package/dist/calcite/{p-a2d031a2.entry.js → p-da257b46.entry.js} +2 -2
  229. package/dist/calcite/{p-5e762bba.entry.js → p-e1b07bec.entry.js} +2 -2
  230. package/dist/calcite/{p-0b9bd511.js → p-e450127a.js} +2 -2
  231. package/dist/calcite/{p-35984fdb.entry.js → p-ec016afe.entry.js} +2 -2
  232. package/dist/calcite/{p-98ba69ba.js → p-efa67668.js} +2 -2
  233. package/dist/calcite/{p-78f87c3a.entry.js → p-f1eff1e1.entry.js} +2 -2
  234. package/dist/calcite/{p-9593ab09.entry.js → p-f22125c8.entry.js} +2 -2
  235. package/dist/calcite/{p-aa17c241.entry.js → p-f43fe740.entry.js} +2 -2
  236. package/dist/calcite/p-f4da6114.js +10 -0
  237. package/dist/calcite/{p-68eea027.entry.js → p-f5200ac8.entry.js} +2 -2
  238. package/dist/calcite/{p-88bba4dc.entry.js → p-f605736c.entry.js} +2 -2
  239. package/dist/calcite/{p-5a07de28.entry.js → p-f87d2ad1.entry.js} +2 -2
  240. package/dist/calcite/{p-3513b999.js → p-f899f474.js} +1 -1
  241. package/dist/calcite/p-f946f34d.entry.js +6 -0
  242. package/dist/calcite/p-fca49121.entry.js +6 -0
  243. package/dist/calcite/{p-61719b15.entry.js → p-fcfc8e6e.entry.js} +2 -2
  244. package/dist/calcite/{p-a984763a.entry.js → p-ff7639ec.entry.js} +2 -2
  245. package/dist/calcite/{p-5d12a0da.entry.js → p-ff7f2520.entry.js} +2 -2
  246. package/dist/calcite/{p-00554fa2.entry.js → p-ffcbbbba.entry.js} +2 -2
  247. package/dist/cjs/{ExpandToggle-0a81b0ec.js → ExpandToggle-ad96108e.js} +5 -5
  248. package/dist/cjs/{Heading-15eba34c.js → Heading-6395d8b1.js} +2 -2
  249. package/dist/cjs/{app-globals-f7b7b2f5.js → app-globals-6390cd2a.js} +2 -2
  250. package/dist/cjs/{array-cc2c1893.js → array-a11ff3ac.js} +1 -1
  251. package/dist/cjs/calcite-accordion_2.cjs.entry.js +12 -83
  252. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  253. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  254. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  255. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  256. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  257. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  258. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  259. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  260. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  261. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  262. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  263. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  264. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
  265. package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -31
  266. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +75 -79
  267. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -50
  268. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  269. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  270. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  271. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  272. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  273. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  274. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  275. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  276. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -24
  277. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  278. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  279. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  280. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +28 -31
  281. package/dist/cjs/calcite-input.cjs.entry.js +26 -17
  282. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  283. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  284. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  285. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  286. package/dist/cjs/calcite-modal.cjs.entry.js +22 -22
  287. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  288. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  289. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  290. package/dist/cjs/calcite-panel.cjs.entry.js +16 -35
  291. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  292. package/dist/cjs/calcite-popover.cjs.entry.js +26 -35
  293. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  294. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -4
  295. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  296. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +13 -12
  297. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  298. package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
  299. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  300. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  301. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  302. package/dist/cjs/calcite-stepper_2.cjs.entry.js +18 -52
  303. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  304. package/dist/cjs/calcite-tab_4.cjs.entry.js +34 -37
  305. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  306. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  307. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  308. package/dist/cjs/calcite-tooltip.cjs.entry.js +48 -70
  309. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  310. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  311. package/dist/cjs/calcite.cjs.js +5 -5
  312. package/dist/cjs/{conditionalSlot-e44a757c.js → conditionalSlot-f6070588.js} +3 -3
  313. package/dist/cjs/{debounce-2b39062b.js → debounce-1dfbaddc.js} +1 -1
  314. package/dist/cjs/dom-c171a774.js +755 -0
  315. package/dist/cjs/{filter-3c59b195.js → filter-ae18b0fc.js} +2 -2
  316. package/dist/cjs/{floating-ui-595d654e.js → floating-ui-6c4af6f9.js} +4 -4
  317. package/dist/cjs/{focusTrapComponent-cda46d74.js → focusTrapComponent-d07bc8b9.js} +21 -474
  318. package/dist/cjs/{form-1a47a4d6.js → form-1ad5b459.js} +3 -3
  319. package/dist/cjs/{guid-1ebd6c55.js → guid-be2b55bb.js} +1 -1
  320. package/dist/cjs/{index-718cae43.js → index-ab60fe30.js} +1 -1
  321. package/dist/cjs/index.cjs.js +1 -1
  322. package/dist/cjs/{interactive-65f0e091.js → interactive-0bf45603.js} +1 -1
  323. package/dist/cjs/{key-a780a4ee.js → key-d4b16f6e.js} +1 -1
  324. package/dist/cjs/{label-b8d819fa.js → label-e0337647.js} +2 -2
  325. package/dist/cjs/{loadable-c899cd0d.js → loadable-d0eb534b.js} +1 -1
  326. package/dist/cjs/loader.cjs.js +5 -5
  327. package/dist/cjs/{locale-d6e5fc6f.js → locale-d6be4a64.js} +5 -8
  328. package/dist/cjs/{math-9d5cd884.js → math-867d8959.js} +1 -1
  329. package/dist/cjs/{nonChromiumPlatformUtils-52ba2081.js → nonChromiumPlatformUtils-efab5da6.js} +6 -6
  330. package/dist/cjs/{observers-3102a548.js → observers-95f29589.js} +1 -1
  331. package/dist/cjs/{openCloseComponent-bc0d4ee3.js → openCloseComponent-bdc5bbe7.js} +2 -2
  332. package/dist/cjs/{resources-3220d2d4.js → resources-09c59164.js} +1 -1
  333. package/dist/cjs/{resources-8467b0f9.js → resources-10a70c95.js} +1 -1
  334. package/dist/cjs/{resources-4131524f.js → resources-1beb4322.js} +1 -1
  335. package/dist/cjs/{resources-7b1799c5.js → resources-51b4dc3f.js} +1 -1
  336. package/dist/cjs/{resources-a83f1536.js → resources-53358703.js} +1 -1
  337. package/dist/cjs/{resources-150eadc4.js → resources-684b6bdf.js} +5 -5
  338. package/dist/cjs/{sortable.esm-798e4fd5.js → sortable.esm-4d5b3abe.js} +1 -1
  339. package/dist/cjs/{t9n-553429a7.js → t9n-ded232d9.js} +4 -28
  340. package/dist/cjs/{utils-268460b9.js → utils-93d6e6ae.js} +1 -1
  341. package/dist/cjs/{utils-116283e5.js → utils-bf8ba896.js} +3 -3
  342. package/dist/collection/components/accordion/accordion.js +7 -73
  343. package/dist/collection/components/accordion-item/accordion-item.js +1 -34
  344. package/dist/collection/components/accordion-item/resources.js +1 -1
  345. package/dist/collection/components/action/action.js +5 -5
  346. package/dist/collection/components/action/assets/action/t9n/index.d.ts +1 -1
  347. package/dist/collection/components/action/assets/action/t9n/messages_ar.json +2 -1
  348. package/dist/collection/components/action/assets/action/t9n/messages_bg.json +2 -1
  349. package/dist/collection/components/action/assets/action/t9n/messages_bs.json +2 -1
  350. package/dist/collection/components/action/assets/action/t9n/messages_ca.json +2 -1
  351. package/dist/collection/components/action/assets/action/t9n/messages_cs.json +2 -1
  352. package/dist/collection/components/action/assets/action/t9n/messages_da.json +2 -1
  353. package/dist/collection/components/action/assets/action/t9n/messages_de.json +2 -1
  354. package/dist/collection/components/action/assets/action/t9n/messages_el.json +2 -1
  355. package/dist/collection/components/action/assets/action/t9n/messages_es.json +2 -1
  356. package/dist/collection/components/action/assets/action/t9n/messages_et.json +2 -1
  357. package/dist/collection/components/action/assets/action/t9n/messages_fi.json +2 -1
  358. package/dist/collection/components/action/assets/action/t9n/messages_fr.json +2 -1
  359. package/dist/collection/components/action/assets/action/t9n/messages_he.json +2 -1
  360. package/dist/collection/components/action/assets/action/t9n/messages_hr.json +2 -1
  361. package/dist/collection/components/action/assets/action/t9n/messages_hu.json +2 -1
  362. package/dist/collection/components/action/assets/action/t9n/messages_id.json +2 -1
  363. package/dist/collection/components/action/assets/action/t9n/messages_it.json +2 -1
  364. package/dist/collection/components/action/assets/action/t9n/messages_ja.json +2 -1
  365. package/dist/collection/components/action/assets/action/t9n/messages_ko.json +2 -1
  366. package/dist/collection/components/action/assets/action/t9n/messages_lt.json +2 -1
  367. package/dist/collection/components/action/assets/action/t9n/messages_lv.json +2 -1
  368. package/dist/collection/components/action/assets/action/t9n/messages_nl.json +2 -1
  369. package/dist/collection/components/action/assets/action/t9n/messages_no.json +2 -1
  370. package/dist/collection/components/action/assets/action/t9n/messages_pl.json +2 -1
  371. package/dist/collection/components/action/assets/action/t9n/messages_pt-BR.json +2 -1
  372. package/dist/collection/components/action/assets/action/t9n/messages_pt-PT.json +2 -1
  373. package/dist/collection/components/action/assets/action/t9n/messages_ro.json +2 -1
  374. package/dist/collection/components/action/assets/action/t9n/messages_ru.json +2 -1
  375. package/dist/collection/components/action/assets/action/t9n/messages_sk.json +2 -1
  376. package/dist/collection/components/action/assets/action/t9n/messages_sl.json +2 -1
  377. package/dist/collection/components/action/assets/action/t9n/messages_sr.json +2 -1
  378. package/dist/collection/components/action/assets/action/t9n/messages_sv.json +2 -1
  379. package/dist/collection/components/action/assets/action/t9n/messages_th.json +2 -1
  380. package/dist/collection/components/action/assets/action/t9n/messages_tr.json +2 -1
  381. package/dist/collection/components/action/assets/action/t9n/messages_uk.json +2 -1
  382. package/dist/collection/components/action/assets/action/t9n/messages_vi.json +2 -1
  383. package/dist/collection/components/action/assets/action/t9n/messages_zh-CN.json +2 -1
  384. package/dist/collection/components/action/assets/action/t9n/messages_zh-HK.json +2 -1
  385. package/dist/collection/components/action/assets/action/t9n/messages_zh-TW.json +2 -1
  386. package/dist/collection/components/action/resources.js +1 -1
  387. package/dist/collection/components/action-bar/action-bar.js +5 -5
  388. package/dist/collection/components/action-bar/assets/action-bar/t9n/index.d.ts +1 -1
  389. package/dist/collection/components/action-bar/resources.js +1 -1
  390. package/dist/collection/components/action-bar/utils.js +1 -1
  391. package/dist/collection/components/action-group/action-group.js +5 -5
  392. package/dist/collection/components/action-group/assets/action-group/t9n/index.d.ts +1 -1
  393. package/dist/collection/components/action-group/resources.js +1 -1
  394. package/dist/collection/components/action-menu/action-menu.js +1 -1
  395. package/dist/collection/components/action-menu/resources.js +1 -1
  396. package/dist/collection/components/action-pad/action-pad.js +5 -5
  397. package/dist/collection/components/action-pad/assets/action-pad/t9n/index.d.ts +1 -1
  398. package/dist/collection/components/action-pad/resources.js +1 -1
  399. package/dist/collection/components/alert/alert.js +5 -5
  400. package/dist/collection/components/alert/assets/alert/t9n/index.d.ts +1 -1
  401. package/dist/collection/components/alert/resources.js +1 -1
  402. package/dist/collection/components/avatar/avatar.js +1 -1
  403. package/dist/collection/components/avatar/utils.js +1 -1
  404. package/dist/collection/components/block/assets/block/t9n/index.d.ts +1 -1
  405. package/dist/collection/components/block/block.css +7 -0
  406. package/dist/collection/components/block/block.js +5 -5
  407. package/dist/collection/components/block/resources.js +1 -1
  408. package/dist/collection/components/block-section/assets/block-section/t9n/index.d.ts +1 -1
  409. package/dist/collection/components/block-section/block-section.js +5 -5
  410. package/dist/collection/components/block-section/resources.js +1 -1
  411. package/dist/collection/components/button/assets/button/t9n/index.d.ts +1 -1
  412. package/dist/collection/components/button/button.css +33 -33
  413. package/dist/collection/components/button/button.js +5 -5
  414. package/dist/collection/components/button/resources.js +1 -1
  415. package/dist/collection/components/card/assets/card/t9n/index.d.ts +1 -1
  416. package/dist/collection/components/card/card.js +5 -5
  417. package/dist/collection/components/card/resources.js +1 -1
  418. package/dist/collection/components/checkbox/checkbox.js +1 -1
  419. package/dist/collection/components/chip/assets/chip/t9n/index.d.ts +1 -1
  420. package/dist/collection/components/chip/chip.js +5 -5
  421. package/dist/collection/components/chip/resources.js +1 -1
  422. package/dist/collection/components/color-picker/assets/color-picker/t9n/index.d.ts +1 -1
  423. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ar.json +1 -0
  424. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_bg.json +1 -0
  425. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_bs.json +1 -0
  426. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ca.json +1 -0
  427. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_cs.json +1 -0
  428. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_da.json +1 -0
  429. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_de.json +1 -0
  430. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_el.json +1 -0
  431. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_en.json +1 -0
  432. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_es.json +1 -0
  433. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_et.json +1 -0
  434. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_fi.json +1 -0
  435. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_fr.json +1 -0
  436. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_he.json +1 -0
  437. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_hr.json +1 -0
  438. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_hu.json +1 -0
  439. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_id.json +1 -0
  440. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_it.json +1 -0
  441. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ja.json +1 -0
  442. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ko.json +1 -0
  443. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_lt.json +1 -0
  444. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_lv.json +1 -0
  445. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_nl.json +1 -0
  446. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_no.json +1 -0
  447. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_pl.json +1 -0
  448. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_pt-BR.json +1 -0
  449. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_pt-PT.json +1 -0
  450. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ro.json +1 -0
  451. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_ru.json +1 -0
  452. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_sk.json +1 -0
  453. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_sl.json +1 -0
  454. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_sr.json +1 -0
  455. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_sv.json +1 -0
  456. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_th.json +1 -0
  457. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_tr.json +1 -0
  458. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_uk.json +1 -0
  459. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_vi.json +1 -0
  460. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_zh-CN.json +1 -0
  461. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_zh-HK.json +1 -0
  462. package/dist/collection/components/color-picker/assets/color-picker/t9n/messages_zh-TW.json +1 -0
  463. package/dist/collection/components/color-picker/color-picker.js +8 -7
  464. package/dist/collection/components/color-picker/resources.js +1 -1
  465. package/dist/collection/components/color-picker/utils.js +1 -1
  466. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  467. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  468. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  469. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  470. package/dist/collection/components/combobox/assets/combobox/t9n/index.d.ts +1 -1
  471. package/dist/collection/components/combobox/combobox.js +5 -5
  472. package/dist/collection/components/combobox/resources.js +1 -1
  473. package/dist/collection/components/combobox/utils.js +1 -1
  474. package/dist/collection/components/combobox-item/combobox-item.js +3 -43
  475. package/dist/collection/components/combobox-item/resources.js +1 -1
  476. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  477. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  478. package/dist/collection/components/date-picker/assets/date-picker/nls/ar.json +1 -1
  479. package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +1 -1
  480. package/dist/collection/components/date-picker/date-picker.js +71 -124
  481. package/dist/collection/components/date-picker/resources.js +1 -1
  482. package/dist/collection/components/date-picker/utils.js +1 -1
  483. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  484. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  485. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +3 -3
  486. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  487. package/dist/collection/components/dropdown/dropdown.js +8 -39
  488. package/dist/collection/components/dropdown/resources.js +1 -1
  489. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  490. package/dist/collection/components/dropdown-group/resources.js +1 -1
  491. package/dist/collection/components/dropdown-item/dropdown-item.js +2 -2
  492. package/dist/collection/components/dropdown-item/resources.js +1 -1
  493. package/dist/collection/components/fab/fab.js +1 -1
  494. package/dist/collection/components/fab/resources.js +1 -1
  495. package/dist/collection/components/filter/assets/filter/t9n/index.d.ts +1 -1
  496. package/dist/collection/components/filter/filter.js +5 -5
  497. package/dist/collection/components/filter/resources.js +1 -1
  498. package/dist/collection/components/flow/flow.js +1 -1
  499. package/dist/collection/components/flow/resources.js +1 -1
  500. package/dist/collection/components/flow-item/assets/flow-item/t9n/index.d.ts +1 -1
  501. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ar.json +3 -3
  502. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_bg.json +3 -3
  503. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_bs.json +3 -3
  504. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ca.json +3 -3
  505. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_cs.json +3 -3
  506. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_da.json +3 -3
  507. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_de.json +3 -3
  508. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_el.json +3 -3
  509. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_es.json +3 -3
  510. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_et.json +3 -3
  511. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_fi.json +3 -3
  512. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_fr.json +3 -3
  513. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_he.json +3 -3
  514. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_hr.json +3 -3
  515. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_hu.json +3 -3
  516. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_id.json +3 -3
  517. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_it.json +3 -3
  518. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ja.json +3 -3
  519. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ko.json +3 -3
  520. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_lt.json +3 -3
  521. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_lv.json +3 -3
  522. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_nl.json +3 -3
  523. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_no.json +3 -3
  524. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_pl.json +3 -3
  525. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_pt-BR.json +3 -3
  526. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_pt-PT.json +3 -3
  527. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ro.json +3 -3
  528. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_ru.json +3 -3
  529. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_sk.json +3 -3
  530. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_sl.json +3 -3
  531. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_sr.json +3 -3
  532. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_sv.json +3 -3
  533. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_th.json +3 -3
  534. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_tr.json +3 -3
  535. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_uk.json +3 -3
  536. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_vi.json +3 -3
  537. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_zh-CN.json +3 -3
  538. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_zh-HK.json +3 -3
  539. package/dist/collection/components/flow-item/assets/flow-item/t9n/messages_zh-TW.json +3 -3
  540. package/dist/collection/components/flow-item/flow-item.js +5 -5
  541. package/dist/collection/components/flow-item/resources.js +1 -1
  542. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  543. package/dist/collection/components/functional/Heading.js +1 -1
  544. package/dist/collection/components/graph/graph.js +1 -1
  545. package/dist/collection/components/graph/util.js +1 -1
  546. package/dist/collection/components/handle/handle.js +1 -1
  547. package/dist/collection/components/handle/resources.js +1 -1
  548. package/dist/collection/components/icon/icon.js +1 -1
  549. package/dist/collection/components/icon/resources.js +1 -1
  550. package/dist/collection/components/icon/utils.js +1 -1
  551. package/dist/collection/components/inline-editable/assets/inline-editable/t9n/index.d.ts +1 -1
  552. package/dist/collection/components/inline-editable/inline-editable.js +5 -5
  553. package/dist/collection/components/inline-editable/resources.js +1 -1
  554. package/dist/collection/components/input/assets/input/t9n/index.d.ts +1 -1
  555. package/dist/collection/components/input/input.js +40 -17
  556. package/dist/collection/components/input/resources.js +1 -1
  557. package/dist/collection/components/input-date-picker/input-date-picker.js +5 -37
  558. package/dist/collection/components/input-date-picker/resources.js +1 -1
  559. package/dist/collection/components/input-message/input-message.js +1 -1
  560. package/dist/collection/components/input-message/interfaces.js +1 -1
  561. package/dist/collection/components/input-number/assets/input-number/t9n/index.d.ts +1 -1
  562. package/dist/collection/components/input-number/input-number.js +5 -5
  563. package/dist/collection/components/input-number/resources.js +1 -1
  564. package/dist/collection/components/input-text/assets/input-text/t9n/index.d.ts +1 -1
  565. package/dist/collection/components/input-text/input-text.js +5 -5
  566. package/dist/collection/components/input-text/resources.js +1 -1
  567. package/dist/collection/components/input-time-picker/input-time-picker.js +4 -37
  568. package/dist/collection/components/label/label.js +1 -1
  569. package/dist/collection/components/label/resources.js +1 -1
  570. package/dist/collection/components/link/link.js +1 -1
  571. package/dist/collection/components/list/list.js +1 -1
  572. package/dist/collection/components/list/resources.js +1 -1
  573. package/dist/collection/components/list-item/list-item.js +1 -1
  574. package/dist/collection/components/list-item/resources.js +1 -1
  575. package/dist/collection/components/list-item/utils.js +1 -1
  576. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  577. package/dist/collection/components/list-item-group/resources.js +1 -1
  578. package/dist/collection/components/loader/loader.js +1 -1
  579. package/dist/collection/components/modal/assets/modal/t9n/index.d.ts +1 -1
  580. package/dist/collection/components/modal/modal.css +4 -3
  581. package/dist/collection/components/modal/modal.js +39 -29
  582. package/dist/collection/components/modal/resources.js +1 -1
  583. package/dist/collection/components/notice/assets/notice/t9n/index.d.ts +1 -1
  584. package/dist/collection/components/notice/notice.js +5 -5
  585. package/dist/collection/components/notice/resources.js +1 -1
  586. package/dist/collection/components/option/option.js +1 -1
  587. package/dist/collection/components/option-group/option-group.js +1 -1
  588. package/dist/collection/components/pagination/assets/pagination/t9n/index.d.ts +1 -1
  589. package/dist/collection/components/pagination/pagination.js +5 -5
  590. package/dist/collection/components/pagination/resources.js +1 -1
  591. package/dist/collection/components/panel/assets/panel/t9n/index.d.ts +1 -1
  592. package/dist/collection/components/panel/panel.js +11 -39
  593. package/dist/collection/components/panel/resources.js +1 -1
  594. package/dist/collection/components/pick-list/pick-list.js +1 -1
  595. package/dist/collection/components/pick-list/resources.js +1 -1
  596. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  597. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  598. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  599. package/dist/collection/components/pick-list-group/resources.js +1 -1
  600. package/dist/collection/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +1 -1
  601. package/dist/collection/components/pick-list-item/pick-list-item.js +5 -5
  602. package/dist/collection/components/pick-list-item/resources.js +1 -1
  603. package/dist/collection/components/popover/PopoverManager.js +4 -4
  604. package/dist/collection/components/popover/assets/popover/t9n/index.d.ts +1 -1
  605. package/dist/collection/components/popover/popover.js +23 -50
  606. package/dist/collection/components/popover/resources.js +1 -1
  607. package/dist/collection/components/progress/progress.js +1 -1
  608. package/dist/collection/components/radio-button/radio-button.js +1 -1
  609. package/dist/collection/components/radio-button/resources.js +1 -1
  610. package/dist/collection/components/radio-button-group/radio-button-group.js +30 -4
  611. package/dist/collection/components/radio-group/radio-group.css +4 -0
  612. package/dist/collection/components/radio-group/radio-group.js +3 -3
  613. package/dist/collection/components/radio-group-item/radio-group-item.css +8 -2
  614. package/dist/collection/components/radio-group-item/radio-group-item.js +3 -2
  615. package/dist/collection/components/radio-group-item/resources.js +1 -1
  616. package/dist/collection/components/rating/assets/rating/t9n/index.d.ts +1 -1
  617. package/dist/collection/components/rating/function/star.js +1 -1
  618. package/dist/collection/components/rating/rating.js +5 -5
  619. package/dist/collection/components/resources.js +1 -1
  620. package/dist/collection/components/scrim/assets/scrim/t9n/index.d.ts +1 -1
  621. package/dist/collection/components/scrim/resources.js +1 -1
  622. package/dist/collection/components/scrim/scrim.css +8 -1
  623. package/dist/collection/components/scrim/scrim.js +5 -5
  624. package/dist/collection/components/select/resources.js +1 -1
  625. package/dist/collection/components/select/select.js +1 -1
  626. package/dist/collection/components/shell/resources.js +1 -1
  627. package/dist/collection/components/shell/shell.js +2 -2
  628. package/dist/collection/components/shell-center-row/resources.js +1 -1
  629. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  630. package/dist/collection/components/shell-panel/assets/shell-panel/t9n/index.d.ts +1 -1
  631. package/dist/collection/components/shell-panel/resources.js +1 -1
  632. package/dist/collection/components/shell-panel/shell-panel.js +5 -5
  633. package/dist/collection/components/slider/resources.js +1 -1
  634. package/dist/collection/components/slider/slider.js +1 -1
  635. package/dist/collection/components/sortable-list/resources.js +1 -1
  636. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  637. package/dist/collection/components/split-button/resources.js +1 -1
  638. package/dist/collection/components/split-button/split-button.js +1 -1
  639. package/dist/collection/components/stepper/stepper.js +36 -52
  640. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  641. package/dist/collection/components/switch/switch.js +1 -1
  642. package/dist/collection/components/tab/tab.js +1 -1
  643. package/dist/collection/components/tab-nav/tab-nav.js +55 -36
  644. package/dist/collection/components/tab-title/tab-title.js +2 -2
  645. package/dist/collection/components/tabs/resources.js +1 -1
  646. package/dist/collection/components/tabs/tabs.js +2 -2
  647. package/dist/collection/components/tile/resources.js +1 -1
  648. package/dist/collection/components/tile/tile.js +1 -1
  649. package/dist/collection/components/tile-select/resources.js +1 -1
  650. package/dist/collection/components/tile-select/tile-select.js +1 -1
  651. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  652. package/dist/collection/components/time-picker/assets/time-picker/t9n/index.d.ts +1 -1
  653. package/dist/collection/components/time-picker/resources.js +1 -1
  654. package/dist/collection/components/time-picker/time-picker.css +5 -0
  655. package/dist/collection/components/time-picker/time-picker.js +22 -33
  656. package/dist/collection/components/tip/assets/tip/t9n/index.d.ts +1 -1
  657. package/dist/collection/components/tip/resources.js +1 -1
  658. package/dist/collection/components/tip/tip.js +5 -5
  659. package/dist/collection/components/tip-group/tip-group.js +1 -1
  660. package/dist/collection/components/tip-manager/assets/tip-manager/t9n/index.d.ts +1 -1
  661. package/dist/collection/components/tip-manager/resources.js +1 -1
  662. package/dist/collection/components/tip-manager/tip-manager.js +5 -5
  663. package/dist/collection/components/tooltip/TooltipManager.js +41 -63
  664. package/dist/collection/components/tooltip/resources.js +1 -1
  665. package/dist/collection/components/tooltip/tooltip.js +1 -1
  666. package/dist/collection/components/tree/tree.js +2 -2
  667. package/dist/collection/components/tree/utils.js +1 -1
  668. package/dist/collection/components/tree-item/resources.js +1 -1
  669. package/dist/collection/components/tree-item/tree-item.js +2 -2
  670. package/dist/collection/components/value-list/assets/value-list/t9n/index.d.ts +1 -1
  671. package/dist/collection/components/value-list/resources.js +1 -1
  672. package/dist/collection/components/value-list/utils.js +1 -1
  673. package/dist/collection/components/value-list/value-list.js +5 -5
  674. package/dist/collection/components/value-list-item/resources.js +1 -1
  675. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  676. package/dist/collection/utils/array.js +1 -1
  677. package/dist/collection/utils/conditionalSlot.js +1 -1
  678. package/dist/collection/utils/config.js +1 -1
  679. package/dist/collection/utils/date.js +1 -1
  680. package/dist/collection/utils/dom.js +37 -1
  681. package/dist/collection/utils/filter.js +1 -1
  682. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  683. package/dist/collection/utils/floating-ui.js +1 -1
  684. package/dist/collection/utils/focusTrapComponent.js +12 -8
  685. package/dist/collection/utils/form.js +1 -1
  686. package/dist/collection/utils/globalAttributes.js +1 -1
  687. package/dist/collection/utils/globalScript.js +1 -1
  688. package/dist/collection/utils/guid.js +1 -1
  689. package/dist/collection/utils/interactive.js +1 -1
  690. package/dist/collection/utils/key.js +1 -1
  691. package/dist/collection/utils/label.js +1 -1
  692. package/dist/collection/utils/loadable.js +1 -1
  693. package/dist/collection/utils/locale.js +2 -4
  694. package/dist/collection/utils/math.js +1 -1
  695. package/dist/collection/utils/number.js +1 -1
  696. package/dist/collection/utils/observers.js +1 -1
  697. package/dist/collection/utils/openCloseComponent.js +1 -1
  698. package/dist/collection/utils/resources.js +1 -1
  699. package/dist/collection/utils/t9n.js +2 -26
  700. package/dist/collection/utils/theme.js +1 -1
  701. package/dist/collection/utils/time.js +1 -1
  702. package/dist/components/ExpandToggle.js +1 -1
  703. package/dist/components/Heading.js +1 -1
  704. package/dist/components/action-group.js +1 -1
  705. package/dist/components/action-menu.js +1 -1
  706. package/dist/components/action.js +1 -1
  707. package/dist/components/array.js +1 -1
  708. package/dist/components/button.js +3 -3
  709. package/dist/components/calcite-accordion-item.js +1 -12
  710. package/dist/components/calcite-accordion.js +7 -67
  711. package/dist/components/calcite-action-bar.js +1 -1
  712. package/dist/components/calcite-action-group.js +1 -1
  713. package/dist/components/calcite-action-menu.js +1 -1
  714. package/dist/components/calcite-action-pad.js +1 -1
  715. package/dist/components/calcite-action.js +1 -1
  716. package/dist/components/calcite-alert.js +1 -1
  717. package/dist/components/calcite-avatar.js +1 -1
  718. package/dist/components/calcite-block-section.js +1 -1
  719. package/dist/components/calcite-block.js +1 -1
  720. package/dist/components/calcite-button.js +1 -1
  721. package/dist/components/calcite-card.js +1 -1
  722. package/dist/components/calcite-checkbox.js +1 -1
  723. package/dist/components/calcite-chip.js +1 -1
  724. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  725. package/dist/components/calcite-color-picker-swatch.js +1 -1
  726. package/dist/components/calcite-color-picker.js +4 -3
  727. package/dist/components/calcite-combobox-item-group.js +1 -1
  728. package/dist/components/calcite-combobox-item.js +4 -16
  729. package/dist/components/calcite-combobox.js +1 -1
  730. package/dist/components/calcite-date-picker-day.js +1 -1
  731. package/dist/components/calcite-date-picker-month-header.js +1 -1
  732. package/dist/components/calcite-date-picker-month.js +1 -1
  733. package/dist/components/calcite-date-picker.js +1 -1
  734. package/dist/components/calcite-dropdown-group.js +1 -1
  735. package/dist/components/calcite-dropdown-item.js +2 -2
  736. package/dist/components/calcite-dropdown.js +1 -1
  737. package/dist/components/calcite-fab.js +1 -1
  738. package/dist/components/calcite-filter.js +1 -1
  739. package/dist/components/calcite-flow-item.js +1 -1
  740. package/dist/components/calcite-flow.js +1 -1
  741. package/dist/components/calcite-graph.js +1 -1
  742. package/dist/components/calcite-handle.js +1 -1
  743. package/dist/components/calcite-icon.js +1 -1
  744. package/dist/components/calcite-inline-editable.js +1 -1
  745. package/dist/components/calcite-input-date-picker.js +3 -10
  746. package/dist/components/calcite-input-message.js +1 -1
  747. package/dist/components/calcite-input-number.js +1 -1
  748. package/dist/components/calcite-input-text.js +1 -1
  749. package/dist/components/calcite-input-time-picker.js +2 -8
  750. package/dist/components/calcite-input.js +1 -1
  751. package/dist/components/calcite-label.js +1 -1
  752. package/dist/components/calcite-link.js +1 -1
  753. package/dist/components/calcite-list-item-group.js +1 -1
  754. package/dist/components/calcite-list-item.js +1 -1
  755. package/dist/components/calcite-list.js +1 -1
  756. package/dist/components/calcite-loader.js +1 -1
  757. package/dist/components/calcite-modal.js +13 -12
  758. package/dist/components/calcite-notice.js +1 -1
  759. package/dist/components/calcite-option-group.js +1 -1
  760. package/dist/components/calcite-option.js +1 -1
  761. package/dist/components/calcite-pagination.js +1 -1
  762. package/dist/components/calcite-panel.js +1 -1
  763. package/dist/components/calcite-pick-list-group.js +1 -1
  764. package/dist/components/calcite-pick-list-item.js +1 -1
  765. package/dist/components/calcite-pick-list.js +1 -1
  766. package/dist/components/calcite-popover.js +1 -1
  767. package/dist/components/calcite-progress.js +1 -1
  768. package/dist/components/calcite-radio-button-group.js +6 -2
  769. package/dist/components/calcite-radio-button.js +1 -1
  770. package/dist/components/calcite-radio-group-item.js +4 -3
  771. package/dist/components/calcite-radio-group.js +2 -2
  772. package/dist/components/calcite-rating.js +1 -1
  773. package/dist/components/calcite-scrim.js +1 -1
  774. package/dist/components/calcite-select.js +1 -1
  775. package/dist/components/calcite-shell-center-row.js +1 -1
  776. package/dist/components/calcite-shell-panel.js +1 -1
  777. package/dist/components/calcite-shell.js +2 -2
  778. package/dist/components/calcite-slider.js +2 -2
  779. package/dist/components/calcite-sortable-list.js +1 -1
  780. package/dist/components/calcite-split-button.js +1 -1
  781. package/dist/components/calcite-stepper-item.js +1 -1
  782. package/dist/components/calcite-stepper.js +11 -44
  783. package/dist/components/calcite-switch.js +1 -1
  784. package/dist/components/calcite-tab-nav.js +1 -1
  785. package/dist/components/calcite-tab-title.js +1 -1
  786. package/dist/components/calcite-tab.js +1 -1
  787. package/dist/components/calcite-tabs.js +1 -1
  788. package/dist/components/calcite-tile-select-group.js +1 -1
  789. package/dist/components/calcite-tile-select.js +1 -1
  790. package/dist/components/calcite-tile.js +1 -1
  791. package/dist/components/calcite-time-picker.js +1 -1
  792. package/dist/components/calcite-tip-group.js +1 -1
  793. package/dist/components/calcite-tip-manager.js +1 -1
  794. package/dist/components/calcite-tip.js +1 -1
  795. package/dist/components/calcite-tooltip.js +1 -1
  796. package/dist/components/calcite-tree-item.js +2 -2
  797. package/dist/components/calcite-tree.js +2 -2
  798. package/dist/components/calcite-value-list-item.js +1 -1
  799. package/dist/components/calcite-value-list.js +1 -1
  800. package/dist/components/checkbox.js +1 -1
  801. package/dist/components/chip.js +1 -1
  802. package/dist/components/color-picker-hex-input.js +1 -1
  803. package/dist/components/color-picker-swatch.js +1 -1
  804. package/dist/components/conditionalSlot.js +1 -1
  805. package/dist/components/date-picker-day.js +2 -2
  806. package/dist/components/date-picker-month-header.js +2 -2
  807. package/dist/components/date-picker-month.js +1 -1
  808. package/dist/components/date-picker.js +66 -70
  809. package/dist/components/date.js +1 -1
  810. package/dist/components/debounce.js +1 -1
  811. package/dist/components/dom.js +494 -2
  812. package/dist/components/dropdown.js +8 -39
  813. package/dist/components/filter.js +1 -1
  814. package/dist/components/filter2.js +1 -1
  815. package/dist/components/floating-ui.js +2 -2
  816. package/dist/components/focusTrapComponent.js +13 -466
  817. package/dist/components/form.js +2 -2
  818. package/dist/components/graph.js +1 -1
  819. package/dist/components/guid.js +1 -1
  820. package/dist/components/handle.js +1 -1
  821. package/dist/components/icon.js +1 -1
  822. package/dist/components/index.js +1 -1
  823. package/dist/components/input.js +15 -5
  824. package/dist/components/interactive.js +1 -1
  825. package/dist/components/key.js +1 -1
  826. package/dist/components/label.js +1 -1
  827. package/dist/components/label2.js +2 -2
  828. package/dist/components/link.js +1 -1
  829. package/dist/components/loadable.js +1 -1
  830. package/dist/components/loader.js +1 -1
  831. package/dist/components/locale.js +4 -6
  832. package/dist/components/math.js +1 -1
  833. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  834. package/dist/components/observers.js +1 -1
  835. package/dist/components/openCloseComponent.js +1 -1
  836. package/dist/components/panel.js +4 -23
  837. package/dist/components/pick-list-item.js +1 -1
  838. package/dist/components/popover.js +15 -24
  839. package/dist/components/progress.js +1 -1
  840. package/dist/components/resources.js +1 -1
  841. package/dist/components/resources2.js +1 -1
  842. package/dist/components/resources3.js +1 -1
  843. package/dist/components/resources4.js +1 -1
  844. package/dist/components/scrim.js +2 -2
  845. package/dist/components/shared-list-render.js +1 -1
  846. package/dist/components/sortable.esm.js +1 -1
  847. package/dist/components/switch.js +1 -1
  848. package/dist/components/t9n.js +2 -26
  849. package/dist/components/tab-nav.js +31 -34
  850. package/dist/components/tab-title.js +1 -1
  851. package/dist/components/tab.js +2 -2
  852. package/dist/components/tabs.js +1 -1
  853. package/dist/components/tile.js +1 -1
  854. package/dist/components/time-picker.js +16 -14
  855. package/dist/components/tooltip.js +42 -64
  856. package/dist/components/utils.js +1 -1
  857. package/dist/components/utils2.js +2 -2
  858. package/dist/esm/{ExpandToggle-79bacd45.js → ExpandToggle-484ede7d.js} +5 -5
  859. package/dist/esm/{Heading-734fd2cb.js → Heading-90b4a47e.js} +2 -2
  860. package/dist/esm/{app-globals-486e6cdf.js → app-globals-469bd94b.js} +2 -2
  861. package/dist/esm/{array-29a535c8.js → array-a371b415.js} +1 -1
  862. package/dist/esm/calcite-accordion_2.entry.js +12 -83
  863. package/dist/esm/calcite-action-bar.entry.js +15 -15
  864. package/dist/esm/calcite-action-group.entry.js +12 -12
  865. package/dist/esm/calcite-action-menu.entry.js +9 -9
  866. package/dist/esm/calcite-action-pad.entry.js +14 -14
  867. package/dist/esm/calcite-action.entry.js +11 -11
  868. package/dist/esm/calcite-alert.entry.js +12 -12
  869. package/dist/esm/calcite-avatar.entry.js +6 -6
  870. package/dist/esm/calcite-block_2.entry.js +12 -12
  871. package/dist/esm/calcite-button.entry.js +14 -14
  872. package/dist/esm/calcite-card.entry.js +10 -10
  873. package/dist/esm/calcite-checkbox.entry.js +10 -10
  874. package/dist/esm/calcite-chip.entry.js +11 -11
  875. package/dist/esm/calcite-color-picker_3.entry.js +17 -16
  876. package/dist/esm/calcite-combobox_3.entry.js +20 -31
  877. package/dist/esm/calcite-date-picker_4.entry.js +75 -79
  878. package/dist/esm/calcite-dropdown_3.entry.js +19 -50
  879. package/dist/esm/calcite-fab.entry.js +7 -7
  880. package/dist/esm/calcite-filter.entry.js +13 -13
  881. package/dist/esm/calcite-flow-item.entry.js +12 -12
  882. package/dist/esm/calcite-flow.entry.js +3 -3
  883. package/dist/esm/calcite-graph_2.entry.js +13 -13
  884. package/dist/esm/calcite-handle.entry.js +6 -6
  885. package/dist/esm/calcite-icon.entry.js +6 -6
  886. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  887. package/dist/esm/calcite-input-date-picker.entry.js +17 -24
  888. package/dist/esm/calcite-input-message.entry.js +5 -5
  889. package/dist/esm/calcite-input-number.entry.js +14 -14
  890. package/dist/esm/calcite-input-text.entry.js +13 -13
  891. package/dist/esm/calcite-input-time-picker_2.entry.js +28 -31
  892. package/dist/esm/calcite-input.entry.js +26 -17
  893. package/dist/esm/calcite-label.entry.js +6 -6
  894. package/dist/esm/calcite-link.entry.js +7 -7
  895. package/dist/esm/calcite-list_3.entry.js +9 -9
  896. package/dist/esm/calcite-loader.entry.js +3 -3
  897. package/dist/esm/calcite-modal.entry.js +22 -22
  898. package/dist/esm/calcite-notice.entry.js +12 -12
  899. package/dist/esm/calcite-option_3.entry.js +10 -10
  900. package/dist/esm/calcite-pagination.entry.js +9 -9
  901. package/dist/esm/calcite-panel.entry.js +16 -35
  902. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  903. package/dist/esm/calcite-popover.entry.js +26 -35
  904. package/dist/esm/calcite-progress.entry.js +2 -2
  905. package/dist/esm/calcite-radio-button-group.entry.js +7 -4
  906. package/dist/esm/calcite-radio-button.entry.js +10 -10
  907. package/dist/esm/calcite-radio-group_2.entry.js +13 -12
  908. package/dist/esm/calcite-rating.entry.js +13 -13
  909. package/dist/esm/calcite-scrim.entry.js +10 -10
  910. package/dist/esm/calcite-shell_3.entry.js +11 -11
  911. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  912. package/dist/esm/calcite-split-button.entry.js +3 -3
  913. package/dist/esm/calcite-stepper_2.entry.js +18 -52
  914. package/dist/esm/calcite-switch.entry.js +10 -10
  915. package/dist/esm/calcite-tab_4.entry.js +34 -37
  916. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  917. package/dist/esm/calcite-tile.entry.js +8 -8
  918. package/dist/esm/calcite-tip_3.entry.js +11 -11
  919. package/dist/esm/calcite-tooltip.entry.js +48 -70
  920. package/dist/esm/calcite-tree_2.entry.js +8 -8
  921. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  922. package/dist/esm/calcite.js +5 -5
  923. package/dist/esm/{conditionalSlot-8120f844.js → conditionalSlot-e57231c0.js} +3 -3
  924. package/dist/esm/{debounce-db3e6e25.js → debounce-752519d2.js} +1 -1
  925. package/dist/esm/dom-a9ba459c.js +729 -0
  926. package/dist/esm/{filter-19306767.js → filter-580c893b.js} +2 -2
  927. package/dist/esm/{floating-ui-fd3de0de.js → floating-ui-a6cb80ab.js} +4 -4
  928. package/dist/esm/{focusTrapComponent-cbf7d39b.js → focusTrapComponent-7044677e.js} +13 -466
  929. package/dist/esm/{form-99a439d5.js → form-239ab500.js} +3 -3
  930. package/dist/esm/{guid-80faa95b.js → guid-1b3b1a75.js} +1 -1
  931. package/dist/esm/{index-6fb4995e.js → index-306667e4.js} +1 -1
  932. package/dist/esm/index.js +1 -1
  933. package/dist/esm/{interactive-9633f054.js → interactive-25955d50.js} +1 -1
  934. package/dist/esm/{key-64151c13.js → key-a0012884.js} +1 -1
  935. package/dist/esm/{label-ceaf1f29.js → label-1a53b3e5.js} +2 -2
  936. package/dist/esm/{loadable-96824d80.js → loadable-4ca1f25f.js} +1 -1
  937. package/dist/esm/loader.js +5 -5
  938. package/dist/esm/{locale-80bf431b.js → locale-f3b45ca4.js} +6 -8
  939. package/dist/esm/{math-e5572340.js → math-cb0c9a42.js} +1 -1
  940. package/dist/esm/{nonChromiumPlatformUtils-70139e5d.js → nonChromiumPlatformUtils-97c67aed.js} +6 -6
  941. package/dist/esm/{observers-39819372.js → observers-944ea463.js} +1 -1
  942. package/dist/esm/{openCloseComponent-78db9c6d.js → openCloseComponent-0f72e798.js} +2 -2
  943. package/dist/esm/{resources-5b92fd3c.js → resources-25ea993d.js} +1 -1
  944. package/dist/esm/{resources-68cb3b89.js → resources-2988145f.js} +1 -1
  945. package/dist/esm/{resources-60b01b2a.js → resources-2dc287e4.js} +1 -1
  946. package/dist/esm/{resources-60c67943.js → resources-5e48a8a1.js} +5 -5
  947. package/dist/esm/{resources-466c9643.js → resources-6fe56f3f.js} +1 -1
  948. package/dist/esm/{resources-5cac710b.js → resources-ba1cce6d.js} +1 -1
  949. package/dist/esm/{sortable.esm-82f7cd9c.js → sortable.esm-dddff7ed.js} +1 -1
  950. package/dist/esm/{t9n-74bf3415.js → t9n-ef976e46.js} +4 -28
  951. package/dist/esm/{utils-09544bdb.js → utils-75acecf1.js} +1 -1
  952. package/dist/esm/{utils-8ca801d4.js → utils-8eb026bf.js} +3 -3
  953. package/dist/extras/docs-json.json +130 -156
  954. package/dist/extras/vscode-data.json +6210 -0
  955. package/dist/loader/cdn.js +1 -1
  956. package/dist/loader/index.cjs.js +1 -1
  957. package/dist/loader/index.es2017.js +1 -1
  958. package/dist/loader/index.js +1 -1
  959. package/dist/types/components/accordion/accordion.d.ts +0 -7
  960. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -5
  961. package/dist/types/components/accordion-item/interfaces.d.ts +0 -4
  962. package/dist/types/components/action/action.d.ts +4 -4
  963. package/dist/types/components/action/assets/action/t9n/index.d.ts +1 -1
  964. package/dist/types/components/action-bar/action-bar.d.ts +4 -4
  965. package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +1 -1
  966. package/dist/types/components/action-group/action-group.d.ts +4 -4
  967. package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +1 -1
  968. package/dist/types/components/action-pad/action-pad.d.ts +4 -4
  969. package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +1 -1
  970. package/dist/types/components/alert/alert.d.ts +4 -4
  971. package/dist/types/components/alert/assets/alert/t9n/index.d.ts +1 -1
  972. package/dist/types/components/block/assets/block/t9n/index.d.ts +1 -1
  973. package/dist/types/components/block/block.d.ts +4 -4
  974. package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +1 -1
  975. package/dist/types/components/block-section/block-section.d.ts +4 -4
  976. package/dist/types/components/button/assets/button/t9n/index.d.ts +1 -1
  977. package/dist/types/components/button/button.d.ts +4 -4
  978. package/dist/types/components/card/assets/card/t9n/index.d.ts +1 -1
  979. package/dist/types/components/card/card.d.ts +4 -4
  980. package/dist/types/components/chip/assets/chip/t9n/index.d.ts +1 -1
  981. package/dist/types/components/chip/chip.d.ts +4 -4
  982. package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +1 -1
  983. package/dist/types/components/color-picker/color-picker.d.ts +4 -4
  984. package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +1 -1
  985. package/dist/types/components/combobox/combobox.d.ts +4 -4
  986. package/dist/types/components/combobox-item/combobox-item.d.ts +0 -6
  987. package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +1 -1
  988. package/dist/types/components/date-picker/date-picker.d.ts +9 -34
  989. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -2
  990. package/dist/types/components/dropdown/dropdown.d.ts +0 -5
  991. package/dist/types/components/filter/assets/filter/t9n/index.d.ts +1 -1
  992. package/dist/types/components/filter/filter.d.ts +4 -4
  993. package/dist/types/components/flow-item/assets/flow-item/t9n/index.d.ts +1 -1
  994. package/dist/types/components/flow-item/flow-item.d.ts +4 -4
  995. package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +1 -1
  996. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -4
  997. package/dist/types/components/input/assets/input/t9n/index.d.ts +1 -1
  998. package/dist/types/components/input/input.d.ts +8 -7
  999. package/dist/types/components/input-date-picker/input-date-picker.d.ts +2 -10
  1000. package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +1 -1
  1001. package/dist/types/components/input-number/input-number.d.ts +4 -4
  1002. package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +1 -1
  1003. package/dist/types/components/input-text/input-text.d.ts +4 -4
  1004. package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -11
  1005. package/dist/types/components/interfaces.d.ts +1 -2
  1006. package/dist/types/components/modal/assets/modal/t9n/index.d.ts +1 -1
  1007. package/dist/types/components/modal/modal.d.ts +10 -8
  1008. package/dist/types/components/notice/assets/notice/t9n/index.d.ts +1 -1
  1009. package/dist/types/components/notice/notice.d.ts +4 -4
  1010. package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +1 -1
  1011. package/dist/types/components/pagination/pagination.d.ts +4 -4
  1012. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +1 -1
  1013. package/dist/types/components/panel/panel.d.ts +5 -7
  1014. package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +1 -1
  1015. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -4
  1016. package/dist/types/components/popover/assets/popover/t9n/index.d.ts +1 -1
  1017. package/dist/types/components/popover/popover.d.ts +7 -11
  1018. package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -1
  1019. package/dist/types/components/radio-group/radio-group.d.ts +1 -1
  1020. package/dist/types/components/rating/assets/rating/t9n/index.d.ts +1 -1
  1021. package/dist/types/components/rating/rating.d.ts +4 -4
  1022. package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +1 -1
  1023. package/dist/types/components/scrim/scrim.d.ts +4 -4
  1024. package/dist/types/components/shell/shell.d.ts +1 -1
  1025. package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +1 -1
  1026. package/dist/types/components/shell-panel/shell-panel.d.ts +4 -4
  1027. package/dist/types/components/stepper/stepper.d.ts +8 -7
  1028. package/dist/types/components/tab-nav/tab-nav.d.ts +11 -5
  1029. package/dist/types/components/tab-title/tab-title.d.ts +1 -1
  1030. package/dist/types/components/tabs/tabs.d.ts +1 -1
  1031. package/dist/types/components/textarea/assets/textarea/t9n/index.d.ts +1 -1
  1032. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +1 -1
  1033. package/dist/types/components/time-picker/time-picker.d.ts +7 -8
  1034. package/dist/types/components/tip/assets/tip/t9n/index.d.ts +1 -1
  1035. package/dist/types/components/tip/tip.d.ts +4 -4
  1036. package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +1 -1
  1037. package/dist/types/components/tip-manager/tip-manager.d.ts +4 -4
  1038. package/dist/types/components/tooltip/TooltipManager.d.ts +9 -12
  1039. package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +1 -1
  1040. package/dist/types/components/value-list/value-list.d.ts +4 -4
  1041. package/dist/types/components.d.ts +187 -197
  1042. package/dist/types/preact.d.ts +2 -4
  1043. package/dist/types/utils/dom.d.ts +19 -0
  1044. package/dist/types/utils/focusTrapComponent.d.ts +13 -2
  1045. package/dist/types/utils/locale.d.ts +0 -9
  1046. package/dist/types/utils/t9n.d.ts +1 -15
  1047. package/hydrate/index.js +737 -921
  1048. package/package.json +5 -5
  1049. package/readme.md +2 -2
  1050. package/dist/calcite/p-0d0abebf.entry.js +0 -6
  1051. package/dist/calcite/p-1eddf823.js +0 -6
  1052. package/dist/calcite/p-22990135.entry.js +0 -6
  1053. package/dist/calcite/p-22f8b990.entry.js +0 -6
  1054. package/dist/calcite/p-23a77859.entry.js +0 -6
  1055. package/dist/calcite/p-29c81106.entry.js +0 -6
  1056. package/dist/calcite/p-3da83c6f.js +0 -6
  1057. package/dist/calcite/p-57fae8f1.entry.js +0 -6
  1058. package/dist/calcite/p-59913aea.entry.js +0 -6
  1059. package/dist/calcite/p-5f5423c3.entry.js +0 -6
  1060. package/dist/calcite/p-6a9bae82.entry.js +0 -6
  1061. package/dist/calcite/p-6ecef560.entry.js +0 -6
  1062. package/dist/calcite/p-7bc30687.entry.js +0 -6
  1063. package/dist/calcite/p-979e3b78.entry.js +0 -6
  1064. package/dist/calcite/p-a3295ff5.js +0 -6
  1065. package/dist/calcite/p-a809ac0f.js +0 -6
  1066. package/dist/calcite/p-b043eb76.entry.js +0 -6
  1067. package/dist/calcite/p-dc9d873f.entry.js +0 -6
  1068. package/dist/calcite/p-dfa43a0a.js +0 -15
  1069. package/dist/calcite/p-eadfeba7.entry.js +0 -6
  1070. package/dist/calcite/p-f3a7ff18.entry.js +0 -6
  1071. package/dist/cjs/dom-5d015a9c.js +0 -256
  1072. package/dist/esm/dom-d81f281d.js +0 -237
  1073. package/dist/types/components/date-picker/interfaces.d.ts +0 -5
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.700
4
+ * v1.0.0-next.702
5
5
  */
6
6
  'use strict';
7
7
 
@@ -5850,6 +5850,11 @@ class Accordion {
5850
5850
  this.items = [];
5851
5851
  /** keep track of whether the items have been sorted so we don't re-sort */
5852
5852
  this.sorted = false;
5853
+ //--------------------------------------------------------------------------
5854
+ //
5855
+ // Private Methods
5856
+ //
5857
+ //--------------------------------------------------------------------------
5853
5858
  this.sortItems = (items) => items.sort((a, b) => a.position - b.position).map((a) => a.item);
5854
5859
  this.appearance = "solid";
5855
5860
  this.iconPosition = "end";
@@ -5882,41 +5887,6 @@ class Accordion {
5882
5887
  // Event Listeners
5883
5888
  //
5884
5889
  //--------------------------------------------------------------------------
5885
- calciteInternalAccordionItemKeyEvent(event) {
5886
- const item = event.detail.item;
5887
- const parent = event.detail.parent;
5888
- if (this.el === parent) {
5889
- const { key } = item;
5890
- const itemToFocus = event.target;
5891
- const isFirstItem = this.itemIndex(itemToFocus) === 0;
5892
- const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
5893
- switch (key) {
5894
- case "ArrowDown":
5895
- if (isLastItem) {
5896
- this.focusFirstItem();
5897
- }
5898
- else {
5899
- this.focusNextItem(itemToFocus);
5900
- }
5901
- break;
5902
- case "ArrowUp":
5903
- if (isFirstItem) {
5904
- this.focusLastItem();
5905
- }
5906
- else {
5907
- this.focusPrevItem(itemToFocus);
5908
- }
5909
- break;
5910
- case "Home":
5911
- this.focusFirstItem();
5912
- break;
5913
- case "End":
5914
- this.focusLastItem();
5915
- break;
5916
- }
5917
- }
5918
- event.stopPropagation();
5919
- }
5920
5890
  registerCalciteAccordionItem(event) {
5921
5891
  const item = {
5922
5892
  item: event.target,
@@ -5935,36 +5905,6 @@ class Accordion {
5935
5905
  });
5936
5906
  event.stopPropagation();
5937
5907
  }
5938
- //--------------------------------------------------------------------------
5939
- //
5940
- // Private Methods
5941
- //
5942
- //--------------------------------------------------------------------------
5943
- focusFirstItem() {
5944
- const firstItem = this.items[0];
5945
- this.focusElement(firstItem);
5946
- }
5947
- focusLastItem() {
5948
- const lastItem = this.items[this.items.length - 1];
5949
- this.focusElement(lastItem);
5950
- }
5951
- focusNextItem(el) {
5952
- const index = this.itemIndex(el);
5953
- const nextItem = this.items[index + 1] || this.items[0];
5954
- this.focusElement(nextItem);
5955
- }
5956
- focusPrevItem(el) {
5957
- const index = this.itemIndex(el);
5958
- const prevItem = this.items[index - 1] || this.items[this.items.length - 1];
5959
- this.focusElement(prevItem);
5960
- }
5961
- itemIndex(el) {
5962
- return this.items.indexOf(el);
5963
- }
5964
- focusElement(item) {
5965
- const target = item;
5966
- target?.focus();
5967
- }
5968
5908
  get el() { return getElement(this); }
5969
5909
  static get style() { return accordionCss; }
5970
5910
  static get cmpMeta() { return {
@@ -5977,7 +5917,7 @@ class Accordion {
5977
5917
  "scale": [513],
5978
5918
  "selectionMode": [513, "selection-mode"]
5979
5919
  },
5980
- "$listeners$": [[0, "calciteInternalAccordionItemKeyEvent", "calciteInternalAccordionItemKeyEvent"], [0, "calciteInternalAccordionItemRegister", "registerCalciteAccordionItem"], [0, "calciteInternalAccordionItemSelect", "updateActiveItemOnChange"]],
5920
+ "$listeners$": [[0, "calciteInternalAccordionItemRegister", "registerCalciteAccordionItem"], [0, "calciteInternalAccordionItemSelect", "updateActiveItemOnChange"]],
5981
5921
  "$lazyBundleId$": "-",
5982
5922
  "$attrsToReflect$": [["appearance", "appearance"], ["iconPosition", "icon-position"], ["iconType", "icon-type"], ["scale", "scale"], ["selectionMode", "selection-mode"]]
5983
5923
  }; }
@@ -5996,6 +5936,466 @@ function gen(counts) {
5996
5936
  }
5997
5937
  const guid = () => gen([2, 1, 1, 1, 3]);
5998
5938
 
5939
+ /*!
5940
+ * tabbable 6.0.1
5941
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
5942
+ */
5943
+ var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
5944
+ var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
5945
+ var NoElement = typeof Element === 'undefined';
5946
+ var matches$1 = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
5947
+ var getRootNode$1 = !NoElement && Element.prototype.getRootNode ? function (element) {
5948
+ return element.getRootNode();
5949
+ } : function (element) {
5950
+ return element.ownerDocument;
5951
+ };
5952
+
5953
+ /**
5954
+ * @param {Element} el container to check in
5955
+ * @param {boolean} includeContainer add container to check
5956
+ * @param {(node: Element) => boolean} filter filter candidates
5957
+ * @returns {Element[]}
5958
+ */
5959
+ var getCandidates = function getCandidates(el, includeContainer, filter) {
5960
+ var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
5961
+ if (includeContainer && matches$1.call(el, candidateSelector)) {
5962
+ candidates.unshift(el);
5963
+ }
5964
+ candidates = candidates.filter(filter);
5965
+ return candidates;
5966
+ };
5967
+
5968
+ /**
5969
+ * @callback GetShadowRoot
5970
+ * @param {Element} element to check for shadow root
5971
+ * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
5972
+ */
5973
+
5974
+ /**
5975
+ * @callback ShadowRootFilter
5976
+ * @param {Element} shadowHostNode the element which contains shadow content
5977
+ * @returns {boolean} true if a shadow root could potentially contain valid candidates.
5978
+ */
5979
+
5980
+ /**
5981
+ * @typedef {Object} CandidateScope
5982
+ * @property {Element} scopeParent contains inner candidates
5983
+ * @property {Element[]} candidates list of candidates found in the scope parent
5984
+ */
5985
+
5986
+ /**
5987
+ * @typedef {Object} IterativeOptions
5988
+ * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
5989
+ * if a function, implies shadow support is enabled and either returns the shadow root of an element
5990
+ * or a boolean stating if it has an undisclosed shadow root
5991
+ * @property {(node: Element) => boolean} filter filter candidates
5992
+ * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
5993
+ * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
5994
+ */
5995
+
5996
+ /**
5997
+ * @param {Element[]} elements list of element containers to match candidates from
5998
+ * @param {boolean} includeContainer add container list to check
5999
+ * @param {IterativeOptions} options
6000
+ * @returns {Array.<Element|CandidateScope>}
6001
+ */
6002
+ var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
6003
+ var candidates = [];
6004
+ var elementsToCheck = Array.from(elements);
6005
+ while (elementsToCheck.length) {
6006
+ var element = elementsToCheck.shift();
6007
+ if (element.tagName === 'SLOT') {
6008
+ // add shadow dom slot scope (slot itself cannot be focusable)
6009
+ var assigned = element.assignedElements();
6010
+ var content = assigned.length ? assigned : element.children;
6011
+ var nestedCandidates = getCandidatesIteratively(content, true, options);
6012
+ if (options.flatten) {
6013
+ candidates.push.apply(candidates, nestedCandidates);
6014
+ } else {
6015
+ candidates.push({
6016
+ scopeParent: element,
6017
+ candidates: nestedCandidates
6018
+ });
6019
+ }
6020
+ } else {
6021
+ // check candidate element
6022
+ var validCandidate = matches$1.call(element, candidateSelector);
6023
+ if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
6024
+ candidates.push(element);
6025
+ }
6026
+
6027
+ // iterate over shadow content if possible
6028
+ var shadowRoot = element.shadowRoot ||
6029
+ // check for an undisclosed shadow
6030
+ typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
6031
+ var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);
6032
+ if (shadowRoot && validShadowRoot) {
6033
+ // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
6034
+ // shadow exists, so look at light dom children as fallback BUT create a scope for any
6035
+ // child candidates found because they're likely slotted elements (elements that are
6036
+ // children of the web component element (which has the shadow), in the light dom, but
6037
+ // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
6038
+ // _after_ we return from this recursive call
6039
+ var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
6040
+ if (options.flatten) {
6041
+ candidates.push.apply(candidates, _nestedCandidates);
6042
+ } else {
6043
+ candidates.push({
6044
+ scopeParent: element,
6045
+ candidates: _nestedCandidates
6046
+ });
6047
+ }
6048
+ } else {
6049
+ // there's not shadow so just dig into the element's (light dom) children
6050
+ // __without__ giving the element special scope treatment
6051
+ elementsToCheck.unshift.apply(elementsToCheck, element.children);
6052
+ }
6053
+ }
6054
+ }
6055
+ return candidates;
6056
+ };
6057
+ var getTabindex = function getTabindex(node, isScope) {
6058
+ if (node.tabIndex < 0) {
6059
+ // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
6060
+ // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
6061
+ // yet they are still part of the regular tab order; in FF, they get a default
6062
+ // `tabIndex` of 0; since Chrome still puts those elements in the regular tab
6063
+ // order, consider their tab index to be 0.
6064
+ // Also browsers do not return `tabIndex` correctly for contentEditable nodes;
6065
+ // so if they don't have a tabindex attribute specifically set, assume it's 0.
6066
+ //
6067
+ // isScope is positive for custom element with shadow root or slot that by default
6068
+ // have tabIndex -1, but need to be sorted by document order in order for their
6069
+ // content to be inserted in the correct position
6070
+ if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {
6071
+ return 0;
6072
+ }
6073
+ }
6074
+ return node.tabIndex;
6075
+ };
6076
+ var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
6077
+ return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
6078
+ };
6079
+ var isInput = function isInput(node) {
6080
+ return node.tagName === 'INPUT';
6081
+ };
6082
+ var isHiddenInput = function isHiddenInput(node) {
6083
+ return isInput(node) && node.type === 'hidden';
6084
+ };
6085
+ var isDetailsWithSummary = function isDetailsWithSummary(node) {
6086
+ var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
6087
+ return child.tagName === 'SUMMARY';
6088
+ });
6089
+ return r;
6090
+ };
6091
+ var getCheckedRadio = function getCheckedRadio(nodes, form) {
6092
+ for (var i = 0; i < nodes.length; i++) {
6093
+ if (nodes[i].checked && nodes[i].form === form) {
6094
+ return nodes[i];
6095
+ }
6096
+ }
6097
+ };
6098
+ var isTabbableRadio = function isTabbableRadio(node) {
6099
+ if (!node.name) {
6100
+ return true;
6101
+ }
6102
+ var radioScope = node.form || getRootNode$1(node);
6103
+ var queryRadios = function queryRadios(name) {
6104
+ return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
6105
+ };
6106
+ var radioSet;
6107
+ if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
6108
+ radioSet = queryRadios(window.CSS.escape(node.name));
6109
+ } else {
6110
+ try {
6111
+ radioSet = queryRadios(node.name);
6112
+ } catch (err) {
6113
+ // eslint-disable-next-line no-console
6114
+ console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
6115
+ return false;
6116
+ }
6117
+ }
6118
+ var checked = getCheckedRadio(radioSet, node.form);
6119
+ return !checked || checked === node;
6120
+ };
6121
+ var isRadio = function isRadio(node) {
6122
+ return isInput(node) && node.type === 'radio';
6123
+ };
6124
+ var isNonTabbableRadio = function isNonTabbableRadio(node) {
6125
+ return isRadio(node) && !isTabbableRadio(node);
6126
+ };
6127
+
6128
+ // determines if a node is ultimately attached to the window's document
6129
+ var isNodeAttached = function isNodeAttached(node) {
6130
+ var _nodeRootHost;
6131
+ // The root node is the shadow root if the node is in a shadow DOM; some document otherwise
6132
+ // (but NOT _the_ document; see second 'If' comment below for more).
6133
+ // If rootNode is shadow root, it'll have a host, which is the element to which the shadow
6134
+ // is attached, and the one we need to check if it's in the document or not (because the
6135
+ // shadow, and all nodes it contains, is never considered in the document since shadows
6136
+ // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
6137
+ // is hidden, or is not in the document itself but is detached, it will affect the shadow's
6138
+ // visibility, including all the nodes it contains). The host could be any normal node,
6139
+ // or a custom element (i.e. web component). Either way, that's the one that is considered
6140
+ // part of the document, not the shadow root, nor any of its children (i.e. the node being
6141
+ // tested).
6142
+ // To further complicate things, we have to look all the way up until we find a shadow HOST
6143
+ // that is attached (or find none) because the node might be in nested shadows...
6144
+ // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
6145
+ // document (per the docs) and while it's a Document-type object, that document does not
6146
+ // appear to be the same as the node's `ownerDocument` for some reason, so it's safer
6147
+ // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
6148
+ // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
6149
+ // node is actually detached.
6150
+ var nodeRootHost = getRootNode$1(node).host;
6151
+ var attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && _nodeRootHost.ownerDocument.contains(nodeRootHost) || node.ownerDocument.contains(node));
6152
+ while (!attached && nodeRootHost) {
6153
+ var _nodeRootHost2;
6154
+ // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
6155
+ // which means we need to get the host's host and check if that parent host is contained
6156
+ // in (i.e. attached to) the document
6157
+ nodeRootHost = getRootNode$1(nodeRootHost).host;
6158
+ attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && _nodeRootHost2.ownerDocument.contains(nodeRootHost));
6159
+ }
6160
+ return attached;
6161
+ };
6162
+ var isZeroArea = function isZeroArea(node) {
6163
+ var _node$getBoundingClie = node.getBoundingClientRect(),
6164
+ width = _node$getBoundingClie.width,
6165
+ height = _node$getBoundingClie.height;
6166
+ return width === 0 && height === 0;
6167
+ };
6168
+ var isHidden = function isHidden(node, _ref) {
6169
+ var displayCheck = _ref.displayCheck,
6170
+ getShadowRoot = _ref.getShadowRoot;
6171
+ // NOTE: visibility will be `undefined` if node is detached from the document
6172
+ // (see notes about this further down), which means we will consider it visible
6173
+ // (this is legacy behavior from a very long way back)
6174
+ // NOTE: we check this regardless of `displayCheck="none"` because this is a
6175
+ // _visibility_ check, not a _display_ check
6176
+ if (getComputedStyle(node).visibility === 'hidden') {
6177
+ return true;
6178
+ }
6179
+ var isDirectSummary = matches$1.call(node, 'details>summary:first-of-type');
6180
+ var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
6181
+ if (matches$1.call(nodeUnderDetails, 'details:not([open]) *')) {
6182
+ return true;
6183
+ }
6184
+ if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
6185
+ if (typeof getShadowRoot === 'function') {
6186
+ // figure out if we should consider the node to be in an undisclosed shadow and use the
6187
+ // 'non-zero-area' fallback
6188
+ var originalNode = node;
6189
+ while (node) {
6190
+ var parentElement = node.parentElement;
6191
+ var rootNode = getRootNode$1(node);
6192
+ if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
6193
+ ) {
6194
+ // node has an undisclosed shadow which means we can only treat it as a black box, so we
6195
+ // fall back to a non-zero-area test
6196
+ return isZeroArea(node);
6197
+ } else if (node.assignedSlot) {
6198
+ // iterate up slot
6199
+ node = node.assignedSlot;
6200
+ } else if (!parentElement && rootNode !== node.ownerDocument) {
6201
+ // cross shadow boundary
6202
+ node = rootNode.host;
6203
+ } else {
6204
+ // iterate up normal dom
6205
+ node = parentElement;
6206
+ }
6207
+ }
6208
+ node = originalNode;
6209
+ }
6210
+ // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
6211
+ // (i.e. it does not also presume that all nodes might have undisclosed shadows); or
6212
+ // it might be a falsy value, which means shadow DOM support is disabled
6213
+
6214
+ // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
6215
+ // now we can just test to see if it would normally be visible or not, provided it's
6216
+ // attached to the main document.
6217
+ // NOTE: We must consider case where node is inside a shadow DOM and given directly to
6218
+ // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
6219
+
6220
+ if (isNodeAttached(node)) {
6221
+ // this works wherever the node is: if there's at least one client rect, it's
6222
+ // somehow displayed; it also covers the CSS 'display: contents' case where the
6223
+ // node itself is hidden in place of its contents; and there's no need to search
6224
+ // up the hierarchy either
6225
+ return !node.getClientRects().length;
6226
+ }
6227
+
6228
+ // Else, the node isn't attached to the document, which means the `getClientRects()`
6229
+ // API will __always__ return zero rects (this can happen, for example, if React
6230
+ // is used to render nodes onto a detached tree, as confirmed in this thread:
6231
+ // https://github.com/facebook/react/issues/9117#issuecomment-284228870)
6232
+ //
6233
+ // It also means that even window.getComputedStyle(node).display will return `undefined`
6234
+ // because styles are only computed for nodes that are in the document.
6235
+ //
6236
+ // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
6237
+ // somehow. Though it was never stated officially, anyone who has ever used tabbable
6238
+ // APIs on nodes in detached containers has actually implicitly used tabbable in what
6239
+ // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
6240
+ // considering __everything__ to be visible because of the innability to determine styles.
6241
+ //
6242
+ // v6.0.0: As of this major release, the default 'full' option __no longer treats detached
6243
+ // nodes as visible with the 'none' fallback.__
6244
+ if (displayCheck !== 'legacy-full') {
6245
+ return true; // hidden
6246
+ }
6247
+ // else, fallback to 'none' mode and consider the node visible
6248
+ } else if (displayCheck === 'non-zero-area') {
6249
+ // NOTE: Even though this tests that the node's client rect is non-zero to determine
6250
+ // whether it's displayed, and that a detached node will __always__ have a zero-area
6251
+ // client rect, we don't special-case for whether the node is attached or not. In
6252
+ // this mode, we do want to consider nodes that have a zero area to be hidden at all
6253
+ // times, and that includes attached or not.
6254
+ return isZeroArea(node);
6255
+ }
6256
+
6257
+ // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
6258
+ // it's visible
6259
+ return false;
6260
+ };
6261
+
6262
+ // form fields (nested) inside a disabled fieldset are not focusable/tabbable
6263
+ // unless they are in the _first_ <legend> element of the top-most disabled
6264
+ // fieldset
6265
+ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
6266
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
6267
+ var parentNode = node.parentElement;
6268
+ // check if `node` is contained in a disabled <fieldset>
6269
+ while (parentNode) {
6270
+ if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
6271
+ // look for the first <legend> among the children of the disabled <fieldset>
6272
+ for (var i = 0; i < parentNode.children.length; i++) {
6273
+ var child = parentNode.children.item(i);
6274
+ // when the first <legend> (in document order) is found
6275
+ if (child.tagName === 'LEGEND') {
6276
+ // if its parent <fieldset> is not nested in another disabled <fieldset>,
6277
+ // return whether `node` is a descendant of its first <legend>
6278
+ return matches$1.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
6279
+ }
6280
+ }
6281
+ // the disabled <fieldset> containing `node` has no <legend>
6282
+ return true;
6283
+ }
6284
+ parentNode = parentNode.parentElement;
6285
+ }
6286
+ }
6287
+
6288
+ // else, node's tabbable/focusable state should not be affected by a fieldset's
6289
+ // enabled/disabled state
6290
+ return false;
6291
+ };
6292
+ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
6293
+ if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||
6294
+ // For a details element with a summary, the summary element gets the focus
6295
+ isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
6296
+ return false;
6297
+ }
6298
+ return true;
6299
+ };
6300
+ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
6301
+ if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
6302
+ return false;
6303
+ }
6304
+ return true;
6305
+ };
6306
+ var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
6307
+ var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
6308
+ if (isNaN(tabIndex) || tabIndex >= 0) {
6309
+ return true;
6310
+ }
6311
+ // If a custom element has an explicit negative tabindex,
6312
+ // browsers will not allow tab targeting said element's children.
6313
+ return false;
6314
+ };
6315
+
6316
+ /**
6317
+ * @param {Array.<Element|CandidateScope>} candidates
6318
+ * @returns Element[]
6319
+ */
6320
+ var sortByOrder = function sortByOrder(candidates) {
6321
+ var regularTabbables = [];
6322
+ var orderedTabbables = [];
6323
+ candidates.forEach(function (item, i) {
6324
+ var isScope = !!item.scopeParent;
6325
+ var element = isScope ? item.scopeParent : item;
6326
+ var candidateTabindex = getTabindex(element, isScope);
6327
+ var elements = isScope ? sortByOrder(item.candidates) : element;
6328
+ if (candidateTabindex === 0) {
6329
+ isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
6330
+ } else {
6331
+ orderedTabbables.push({
6332
+ documentOrder: i,
6333
+ tabIndex: candidateTabindex,
6334
+ item: item,
6335
+ isScope: isScope,
6336
+ content: elements
6337
+ });
6338
+ }
6339
+ });
6340
+ return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
6341
+ sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
6342
+ return acc;
6343
+ }, []).concat(regularTabbables);
6344
+ };
6345
+ var tabbable = function tabbable(el, options) {
6346
+ options = options || {};
6347
+ var candidates;
6348
+ if (options.getShadowRoot) {
6349
+ candidates = getCandidatesIteratively([el], options.includeContainer, {
6350
+ filter: isNodeMatchingSelectorTabbable.bind(null, options),
6351
+ flatten: false,
6352
+ getShadowRoot: options.getShadowRoot,
6353
+ shadowRootFilter: isValidShadowRootTabbable
6354
+ });
6355
+ } else {
6356
+ candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
6357
+ }
6358
+ return sortByOrder(candidates);
6359
+ };
6360
+ var focusable = function focusable(el, options) {
6361
+ options = options || {};
6362
+ var candidates;
6363
+ if (options.getShadowRoot) {
6364
+ candidates = getCandidatesIteratively([el], options.includeContainer, {
6365
+ filter: isNodeMatchingSelectorFocusable.bind(null, options),
6366
+ flatten: true,
6367
+ getShadowRoot: options.getShadowRoot
6368
+ });
6369
+ } else {
6370
+ candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
6371
+ }
6372
+ return candidates;
6373
+ };
6374
+ var isTabbable = function isTabbable(node, options) {
6375
+ options = options || {};
6376
+ if (!node) {
6377
+ throw new Error('No node provided');
6378
+ }
6379
+ if (matches$1.call(node, candidateSelector) === false) {
6380
+ return false;
6381
+ }
6382
+ return isNodeMatchingSelectorTabbable(options, node);
6383
+ };
6384
+ var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
6385
+ var isFocusable = function isFocusable(node, options) {
6386
+ options = options || {};
6387
+ if (!node) {
6388
+ throw new Error('No node provided');
6389
+ }
6390
+ if (matches$1.call(node, focusableCandidateSelector) === false) {
6391
+ return false;
6392
+ }
6393
+ return isNodeMatchingSelectorFocusable(options, node);
6394
+ };
6395
+
6396
+ const tabbableOptions = {
6397
+ getShadowRoot: true
6398
+ };
5999
6399
  /**
6000
6400
  * This helper will guarantee an ID on the provided element.
6001
6401
  *
@@ -6028,7 +6428,7 @@ function getElementProp(el, prop, fallbackValue) {
6028
6428
  const closest = el.closest(selector);
6029
6429
  return closest ? closest.getAttribute(prop) : fallbackValue;
6030
6430
  }
6031
- function getRootNode$1(el) {
6431
+ function getRootNode(el) {
6032
6432
  return el.getRootNode();
6033
6433
  }
6034
6434
  function getHost(root) {
@@ -6055,7 +6455,7 @@ function queryElementRoots(element, { selector, id }) {
6055
6455
  if (el.assignedSlot) {
6056
6456
  el = el.assignedSlot;
6057
6457
  }
6058
- const rootNode = getRootNode$1(el);
6458
+ const rootNode = getRootNode(el);
6059
6459
  const found = id
6060
6460
  ? "getElementById" in rootNode
6061
6461
  ? /*
@@ -6075,7 +6475,7 @@ function queryElementRoots(element, { selector, id }) {
6075
6475
  function closestElementCrossShadowBoundary(element, selector) {
6076
6476
  // based on https://stackoverflow.com/q/54520554/194216
6077
6477
  function closestFrom(el) {
6078
- return el ? el.closest(selector) || closestFrom(getHost(getRootNode$1(el))) : null;
6478
+ return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
6079
6479
  }
6080
6480
  return closestFrom(element);
6081
6481
  }
@@ -6088,6 +6488,14 @@ async function focusElement(el) {
6088
6488
  }
6089
6489
  return isCalciteFocusable(el) ? el.setFocus() : el.focus();
6090
6490
  }
6491
+ /**
6492
+ * Helper to focus the first tabbable element.
6493
+ *
6494
+ * @param {HTMLElement} element The html element containing tabbable elements.
6495
+ */
6496
+ function focusFirstTabbable(element) {
6497
+ (tabbable(element, tabbableOptions)[0] || element).focus();
6498
+ }
6091
6499
  const defaultSlotSelector = ":not([slot])";
6092
6500
  function getSlotted(element, slotName, options) {
6093
6501
  if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
@@ -6198,6 +6606,30 @@ function slotChangeGetAssignedElements(event) {
6198
6606
  function isPrimaryPointerButton(event) {
6199
6607
  return !!(event.isPrimary && event.button === 0);
6200
6608
  }
6609
+ const focusElementInGroup = (elements, currentElement, destination) => {
6610
+ const currentIndex = elements.indexOf(currentElement);
6611
+ const isFirstItem = currentIndex === 0;
6612
+ const isLastItem = currentIndex === elements.length - 1;
6613
+ destination =
6614
+ destination === "previous" && isFirstItem ? "last" : destination === "next" && isLastItem ? "first" : destination;
6615
+ let focusTarget;
6616
+ switch (destination) {
6617
+ case "first":
6618
+ focusTarget = elements[0];
6619
+ break;
6620
+ case "last":
6621
+ focusTarget = elements[elements.length - 1];
6622
+ break;
6623
+ case "next":
6624
+ focusTarget = elements[currentIndex + 1] || elements[0];
6625
+ break;
6626
+ case "previous":
6627
+ focusTarget = elements[currentIndex - 1] || elements[elements.length - 1];
6628
+ break;
6629
+ }
6630
+ focusElement(focusTarget);
6631
+ return focusTarget;
6632
+ };
6201
6633
 
6202
6634
  /**
6203
6635
  * This utility ensures observers are created only for browser contexts.
@@ -6286,7 +6718,6 @@ const accordionItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
6286
6718
  class AccordionItem {
6287
6719
  constructor(hostRef) {
6288
6720
  registerInstance(this, hostRef);
6289
- this.calciteInternalAccordionItemKeyEvent = createEvent(this, "calciteInternalAccordionItemKeyEvent", 6);
6290
6721
  this.calciteInternalAccordionItemSelect = createEvent(this, "calciteInternalAccordionItemSelect", 6);
6291
6722
  this.calciteInternalAccordionItemClose = createEvent(this, "calciteInternalAccordionItemClose", 6);
6292
6723
  this.calciteInternalAccordionItemRegister = createEvent(this, "calciteInternalAccordionItemRegister", 6);
@@ -6366,16 +6797,6 @@ class AccordionItem {
6366
6797
  this.emitRequestedItem();
6367
6798
  event.preventDefault();
6368
6799
  break;
6369
- case "ArrowUp":
6370
- case "ArrowDown":
6371
- case "Home":
6372
- case "End":
6373
- this.calciteInternalAccordionItemKeyEvent.emit({
6374
- parent: this.parent,
6375
- item: event
6376
- });
6377
- event.preventDefault();
6378
- break;
6379
6800
  }
6380
6801
  }
6381
6802
  }
@@ -6830,7 +7251,6 @@ const mutationObserver = createObserver();
6830
7251
  */
6831
7252
  function getLocale(component) {
6832
7253
  return (component.el.lang ||
6833
- component.locale ||
6834
7254
  closestElementCrossShadowBoundary(component.el, "[lang]")?.lang ||
6835
7255
  document.documentElement.lang ||
6836
7256
  defaultLocale);
@@ -6935,36 +7355,12 @@ async function getMessageBundle(lang, component) {
6935
7355
  function throwMessageFetchError() {
6936
7356
  throw new Error("could not fetch component message bundle");
6937
7357
  }
6938
- /**
6939
- * This util helps preserve existing intlProp usage when they have not been replaced by overrides.
6940
- *
6941
- * @param component
6942
- */
6943
- function overridesFromIntlProps(component) {
6944
- const { el } = component;
6945
- const overrides = {};
6946
- Object.keys(el.constructor.prototype)
6947
- .filter((prop) => prop.startsWith("intl"))
6948
- .forEach((prop) => {
6949
- const assignedValue = el[prop];
6950
- if (assignedValue) {
6951
- let mappedProp = prop.replace("intl", "");
6952
- mappedProp = `${mappedProp[0].toLowerCase()}${mappedProp.slice(1)}`;
6953
- overrides[mappedProp] = assignedValue;
6954
- }
6955
- });
6956
- return overrides;
6957
- }
6958
7358
  function mergeMessages(component) {
6959
7359
  component.messages = {
6960
7360
  ...component.defaultMessages,
6961
- ...getEffectiveMessageOverrides(component),
6962
- ...component.getExtraMessageOverrides?.()
7361
+ ...component.messageOverrides
6963
7362
  };
6964
7363
  }
6965
- function getEffectiveMessageOverrides(component) {
6966
- return component.messageOverrides ?? overridesFromIntlProps(component);
6967
- }
6968
7364
  /**
6969
7365
  * This utility sets up the messages used by the component. It should be awaited in the `componentWillLoad` lifecycle hook.
6970
7366
  *
@@ -10651,7 +11047,7 @@ const HiddenFormInputSlot = ({ component }) => {
10651
11047
  return hAsync("slot", { name: hiddenFormInputSlotName });
10652
11048
  };
10653
11049
 
10654
- const buttonCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-button:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@: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-brand);outline-offset:2px}/*!@: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:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);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}/*!@.content*/.content.sc-calcite-button{display:flex;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}/*!@.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: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: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)}/*!@.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])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@: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{pointer-events:none;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)}/*!@: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-foreground-3)}/*!@: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-foreground-3)}/*!@: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: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: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: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: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: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: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: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:1rem;--calcite-button-padding-y:11px}/*!@:host([scale=l]) .button-padding--shrunk*/[scale=l].sc-calcite-button-h .button-padding--shrunk.sc-calcite-button{--calcite-button-padding-y: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:0.125rem;--calcite-button-padding-y: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:0.125rem;--calcite-button-padding-y: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:0.125rem;--calcite-button-padding-y: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: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: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: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: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: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: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:2.75rem}";
11050
+ const buttonCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-button:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@: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-brand);outline-offset:2px}/*!@: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}/*!@.content*/.content.sc-calcite-button{display:flex;flex-basis:auto;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])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@: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{pointer-events:none;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-foreground-3)}/*!@: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-foreground-3)}/*!@: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}";
10655
11051
 
10656
11052
  /** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
10657
11053
  /** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */
@@ -13538,7 +13934,6 @@ class ColorPicker {
13538
13934
  };
13539
13935
  this.handleChannelInput = (event) => {
13540
13936
  const input = event.currentTarget;
13541
- const internalInput = event.detail.nativeEvent.target;
13542
13937
  const channelIndex = Number(input.getAttribute("data-channel-index"));
13543
13938
  const limit = this.channelMode === "rgb"
13544
13939
  ? RGB_LIMITS[Object.keys(RGB_LIMITS)[channelIndex]]
@@ -13553,7 +13948,9 @@ class ColorPicker {
13553
13948
  inputValue = clamped.toString();
13554
13949
  }
13555
13950
  input.value = inputValue;
13556
- internalInput.value = inputValue;
13951
+ // TODO: refactor calcite-input so we don't need to sync the internals
13952
+ // https://github.com/Esri/calcite-components/issues/6100
13953
+ input.internalSyncChildElValue();
13557
13954
  };
13558
13955
  this.handleChannelChange = (event) => {
13559
13956
  const input = event.currentTarget;
@@ -17064,11 +17461,6 @@ class ComboboxItem {
17064
17461
  registerInstance(this, hostRef);
17065
17462
  this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 6);
17066
17463
  this.scale = "m";
17067
- // --------------------------------------------------------------------------
17068
- //
17069
- // Private Methods
17070
- //
17071
- // --------------------------------------------------------------------------
17072
17464
  this.itemClickHandler = (event) => {
17073
17465
  event.preventDefault();
17074
17466
  this.toggleSelected();
@@ -17105,16 +17497,10 @@ class ComboboxItem {
17105
17497
  }
17106
17498
  // --------------------------------------------------------------------------
17107
17499
  //
17108
- // Public Methods
17500
+ // Private Methods
17109
17501
  //
17110
17502
  // --------------------------------------------------------------------------
17111
- /**
17112
- * Used to toggle the selection state. By default this won't trigger an event.
17113
- * The first argument allows the value to be coerced, rather than swapping values.
17114
- *
17115
- * @param coerce
17116
- */
17117
- async toggleSelected(coerce) {
17503
+ toggleSelected(coerce) {
17118
17504
  if (this.disabled) {
17119
17505
  return;
17120
17506
  }
@@ -17177,8 +17563,7 @@ class ComboboxItem {
17177
17563
  "iconFlipRtl": [516, "icon-flip-rtl"],
17178
17564
  "textLabel": [513, "text-label"],
17179
17565
  "value": [8],
17180
- "filterDisabled": [516, "filter-disabled"],
17181
- "toggleSelected": [64]
17566
+ "filterDisabled": [516, "filter-disabled"]
17182
17567
  },
17183
17568
  "$listeners$": undefined,
17184
17569
  "$lazyBundleId$": "-",
@@ -17507,20 +17892,23 @@ class DatePicker {
17507
17892
  }
17508
17893
  };
17509
17894
  this.monthHoverChange = (event) => {
17510
- if (!this.startAsDate) {
17895
+ if (!this.range) {
17511
17896
  this.hoverRange = undefined;
17512
17897
  return;
17513
17898
  }
17899
+ const { valueAsDate } = this;
17900
+ const start = Array.isArray(valueAsDate) && valueAsDate[0];
17901
+ const end = Array.isArray(valueAsDate) && valueAsDate[1];
17514
17902
  const date = new Date(event.detail);
17515
17903
  this.hoverRange = {
17516
17904
  focused: this.activeRange || "start",
17517
- start: this.startAsDate,
17518
- end: this.endAsDate
17905
+ start,
17906
+ end
17519
17907
  };
17520
17908
  if (!this.proximitySelectionDisabled) {
17521
- if (this.endAsDate) {
17522
- const startDiff = getDaysDiff(date, this.startAsDate);
17523
- const endDiff = getDaysDiff(date, this.endAsDate);
17909
+ if (end) {
17910
+ const startDiff = getDaysDiff(date, start);
17911
+ const endDiff = getDaysDiff(date, end);
17524
17912
  if (endDiff > 0) {
17525
17913
  this.hoverRange.end = date;
17526
17914
  this.hoverRange.focused = "end";
@@ -17539,11 +17927,11 @@ class DatePicker {
17539
17927
  }
17540
17928
  }
17541
17929
  else {
17542
- if (date < this.startAsDate) {
17930
+ if (date < start) {
17543
17931
  this.hoverRange = {
17544
17932
  focused: "start",
17545
17933
  start: date,
17546
- end: this.startAsDate
17934
+ end: start
17547
17935
  };
17548
17936
  }
17549
17937
  else {
@@ -17553,12 +17941,12 @@ class DatePicker {
17553
17941
  }
17554
17942
  }
17555
17943
  else {
17556
- if (!this.endAsDate) {
17557
- if (date < this.startAsDate) {
17944
+ if (!end) {
17945
+ if (date < start) {
17558
17946
  this.hoverRange = {
17559
17947
  focused: "start",
17560
17948
  start: date,
17561
- end: this.startAsDate
17949
+ end: start
17562
17950
  };
17563
17951
  }
17564
17952
  else {
@@ -17581,16 +17969,23 @@ class DatePicker {
17581
17969
  * Reset active date and close
17582
17970
  */
17583
17971
  this.reset = () => {
17584
- if (!Array.isArray(this.valueAsDate) &&
17585
- this.valueAsDate &&
17586
- this.valueAsDate?.getTime() !== this.activeDate?.getTime()) {
17587
- this.activeDate = new Date(this.valueAsDate);
17588
- }
17589
- if (this.startAsDate && this.startAsDate?.getTime() !== this.activeStartDate?.getTime()) {
17590
- this.activeStartDate = new Date(this.startAsDate);
17972
+ const { valueAsDate } = this;
17973
+ if (!Array.isArray(valueAsDate) &&
17974
+ valueAsDate &&
17975
+ valueAsDate?.getTime() !== this.activeDate?.getTime()) {
17976
+ this.activeDate = new Date(valueAsDate);
17591
17977
  }
17592
- if (this.endAsDate && this.endAsDate?.getTime() !== this.activeEndDate?.getTime()) {
17593
- this.activeEndDate = new Date(this.endAsDate);
17978
+ if (Array.isArray(valueAsDate)) {
17979
+ if (valueAsDate[0] &&
17980
+ valueAsDate[0]?.getTime() !==
17981
+ (this.activeStartDate instanceof Date && this.activeStartDate?.getTime())) {
17982
+ this.activeStartDate = new Date(valueAsDate[0]);
17983
+ }
17984
+ if (valueAsDate[1] &&
17985
+ valueAsDate[1]?.getTime() !==
17986
+ (this.activeStartDate instanceof Date && this.activeEndDate?.getTime())) {
17987
+ this.activeEndDate = new Date(valueAsDate[1]);
17988
+ }
17594
17989
  }
17595
17990
  };
17596
17991
  /**
@@ -17611,9 +18006,11 @@ class DatePicker {
17611
18006
  this.calciteDatePickerChange.emit();
17612
18007
  return;
17613
18008
  }
17614
- if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
17615
- if (this.startAsDate) {
17616
- this.setEndDate(new Date(this.startAsDate));
18009
+ const start = this.getStartDate();
18010
+ const end = this.getEndDate();
18011
+ if (!start || (!end && date < start)) {
18012
+ if (start) {
18013
+ this.setEndDate(new Date(start));
17617
18014
  }
17618
18015
  if (this.activeRange == "end") {
17619
18016
  this.setEndDate(date);
@@ -17622,7 +18019,7 @@ class DatePicker {
17622
18019
  this.setStartDate(date);
17623
18020
  }
17624
18021
  }
17625
- else if (!this.endAsDate) {
18022
+ else if (!end) {
17626
18023
  this.setEndDate(date);
17627
18024
  }
17628
18025
  else {
@@ -17636,8 +18033,8 @@ class DatePicker {
17636
18033
  }
17637
18034
  }
17638
18035
  else {
17639
- const startDiff = getDaysDiff(date, this.startAsDate);
17640
- const endDiff = getDaysDiff(date, this.endAsDate);
18036
+ const startDiff = getDaysDiff(date, start);
18037
+ const endDiff = getDaysDiff(date, end);
17641
18038
  if (endDiff === 0 || startDiff < 0) {
17642
18039
  this.setStartDate(date);
17643
18040
  }
@@ -17654,7 +18051,6 @@ class DatePicker {
17654
18051
  }
17655
18052
  else {
17656
18053
  this.setStartDate(date);
17657
- this.endAsDate = this.activeEndDate = undefined;
17658
18054
  }
17659
18055
  }
17660
18056
  this.calciteDatePickerChange.emit();
@@ -17664,8 +18060,6 @@ class DatePicker {
17664
18060
  this.value = undefined;
17665
18061
  this.headingLevel = undefined;
17666
18062
  this.valueAsDate = undefined;
17667
- this.startAsDate = undefined;
17668
- this.endAsDate = undefined;
17669
18063
  this.minAsDate = undefined;
17670
18064
  this.maxAsDate = undefined;
17671
18065
  this.min = undefined;
@@ -17678,6 +18072,8 @@ class DatePicker {
17678
18072
  this.messages = undefined;
17679
18073
  this.activeStartDate = undefined;
17680
18074
  this.activeEndDate = undefined;
18075
+ this.startAsDate = undefined;
18076
+ this.endAsDate = undefined;
17681
18077
  this.effectiveLocale = "";
17682
18078
  this.defaultMessages = undefined;
17683
18079
  this.localeData = undefined;
@@ -17688,15 +18084,17 @@ class DatePicker {
17688
18084
  this.activeEndDate = newActiveDate;
17689
18085
  }
17690
18086
  }
17691
- handleValueAsDate(date) {
17692
- if (!Array.isArray(date) && date && date !== this.activeDate) {
17693
- this.activeDate = date;
18087
+ valueAsDateWatcher(newValueAsDate) {
18088
+ if (this.range && Array.isArray(newValueAsDate)) {
18089
+ const { activeStartDate, activeEndDate } = this;
18090
+ const newActiveStartDate = newValueAsDate[0];
18091
+ const newActiveEndDate = newValueAsDate[1];
18092
+ this.activeStartDate = activeStartDate !== newActiveStartDate && newActiveStartDate;
18093
+ this.activeEndDate = activeEndDate !== newActiveEndDate && newActiveEndDate;
18094
+ }
18095
+ else if (newValueAsDate && newValueAsDate !== this.activeDate) {
18096
+ this.activeDate = newValueAsDate;
17694
18097
  }
17695
- }
17696
- handleRangeChange() {
17697
- const { startAsDate: startDate, endAsDate: endDate } = this;
17698
- this.activeEndDate = endDate;
17699
- this.activeStartDate = startDate;
17700
18098
  }
17701
18099
  onMinChanged(min) {
17702
18100
  if (min) {
@@ -17800,38 +18198,23 @@ class DatePicker {
17800
18198
  hAsync("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteInternalDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, onCalciteInternalDatePickerSelect: this.monthDateChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
17801
18199
  ]);
17802
18200
  }
17803
- /**
17804
- * Update date instance of start if valid
17805
- *
17806
- * @param startDate
17807
- * @param emit
17808
- */
17809
- setStartAsDate(startDate, emit) {
17810
- this.startAsDate = startDate;
17811
- this.mostRecentRangeValue = this.startAsDate;
17812
- if (emit) {
17813
- this.calciteDatePickerRangeChange.emit();
17814
- }
17815
- }
17816
- /**
17817
- * Update date instance of end if valid
17818
- *
17819
- * @param endDate
17820
- * @param emit
17821
- */
17822
- setEndAsDate(endDate, emit) {
17823
- this.endAsDate = endDate ? setEndOfDay(endDate) : endDate;
17824
- this.mostRecentRangeValue = this.endAsDate;
17825
- if (emit) {
17826
- this.calciteDatePickerRangeChange.emit();
17827
- }
18201
+ getEndDate() {
18202
+ return (Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined;
17828
18203
  }
17829
18204
  setEndDate(date) {
17830
- this.setEndAsDate(date, true);
18205
+ const newEndDate = date ? setEndOfDay(date) : date;
18206
+ this.valueAsDate = [this.getStartDate(), date];
18207
+ this.mostRecentRangeValue = newEndDate;
18208
+ this.calciteDatePickerRangeChange.emit();
17831
18209
  this.activeEndDate = date || null;
17832
18210
  }
18211
+ getStartDate() {
18212
+ return Array.isArray(this.valueAsDate) && this.valueAsDate[0];
18213
+ }
17833
18214
  setStartDate(date) {
17834
- this.setStartAsDate(date, true);
18215
+ this.valueAsDate = [date, this.getEndDate()];
18216
+ this.mostRecentRangeValue = date;
18217
+ this.calciteDatePickerRangeChange.emit();
17835
18218
  this.activeStartDate = date || null;
17836
18219
  }
17837
18220
  /**
@@ -17852,9 +18235,7 @@ class DatePicker {
17852
18235
  get el() { return getElement(this); }
17853
18236
  static get watchers() { return {
17854
18237
  "activeDate": ["activeDateWatcher"],
17855
- "valueAsDate": ["handleValueAsDate"],
17856
- "startAsDate": ["handleRangeChange"],
17857
- "endAsDate": ["handleRangeChange"],
18238
+ "valueAsDate": ["valueAsDateWatcher"],
17858
18239
  "min": ["onMinChanged"],
17859
18240
  "max": ["onMaxChanged"],
17860
18241
  "messageOverrides": ["onMessagesChange"],
@@ -17871,8 +18252,6 @@ class DatePicker {
17871
18252
  "value": [1025],
17872
18253
  "headingLevel": [514, "heading-level"],
17873
18254
  "valueAsDate": [1040],
17874
- "startAsDate": [1040],
17875
- "endAsDate": [1040],
17876
18255
  "minAsDate": [1040],
17877
18256
  "maxAsDate": [1040],
17878
18257
  "min": [1537],
@@ -17885,6 +18264,8 @@ class DatePicker {
17885
18264
  "messages": [1040],
17886
18265
  "activeStartDate": [32],
17887
18266
  "activeEndDate": [32],
18267
+ "startAsDate": [32],
18268
+ "endAsDate": [32],
17888
18269
  "effectiveLocale": [32],
17889
18270
  "defaultMessages": [32],
17890
18271
  "localeData": [32],
@@ -18800,37 +19181,27 @@ class Dropdown {
18800
19181
  }
18801
19182
  calciteInternalDropdownItemKeyEvent(event) {
18802
19183
  const { keyboardEvent } = event.detail;
18803
- // handle edge
18804
19184
  const target = keyboardEvent.target;
18805
- const itemToFocus = target.nodeName !== "A" ? target : target.parentNode;
18806
- const isFirstItem = this.itemIndex(itemToFocus) === 0;
18807
- const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
18808
19185
  switch (keyboardEvent.key) {
18809
19186
  case "Tab":
18810
- if (isLastItem && !keyboardEvent.shiftKey) {
19187
+ if (this.items.indexOf(target) === this.items.length - 1 && !keyboardEvent.shiftKey) {
18811
19188
  this.closeCalciteDropdown();
18812
19189
  }
18813
- else if (isFirstItem && keyboardEvent.shiftKey) {
19190
+ else if (this.items.indexOf(target) === 0 && keyboardEvent.shiftKey) {
18814
19191
  this.closeCalciteDropdown();
18815
19192
  }
18816
- else if (keyboardEvent.shiftKey) {
18817
- this.focusPrevItem(itemToFocus);
18818
- }
18819
- else {
18820
- this.focusNextItem(itemToFocus);
18821
- }
18822
19193
  break;
18823
19194
  case "ArrowDown":
18824
- this.focusNextItem(itemToFocus);
19195
+ focusElementInGroup(this.items, target, "next");
18825
19196
  break;
18826
19197
  case "ArrowUp":
18827
- this.focusPrevItem(itemToFocus);
19198
+ focusElementInGroup(this.items, target, "previous");
18828
19199
  break;
18829
19200
  case "Home":
18830
- this.focusFirstItem();
19201
+ focusElementInGroup(this.items, target, "first");
18831
19202
  break;
18832
19203
  case "End":
18833
- this.focusLastItem();
19204
+ focusElementInGroup(this.items, target, "last");
18834
19205
  break;
18835
19206
  }
18836
19207
  event.stopPropagation();
@@ -18889,27 +19260,6 @@ class Dropdown {
18889
19260
  focusElement(this.triggers[0]);
18890
19261
  }
18891
19262
  }
18892
- focusFirstItem() {
18893
- const firstItem = this.items[0];
18894
- this.getFocusableElement(firstItem);
18895
- }
18896
- focusLastItem() {
18897
- const lastItem = this.items[this.items.length - 1];
18898
- this.getFocusableElement(lastItem);
18899
- }
18900
- focusNextItem(el) {
18901
- const index = this.itemIndex(el);
18902
- const nextItem = this.items[index + 1] || this.items[0];
18903
- this.getFocusableElement(nextItem);
18904
- }
18905
- focusPrevItem(el) {
18906
- const index = this.itemIndex(el);
18907
- const prevItem = this.items[index - 1] || this.items[this.items.length - 1];
18908
- this.getFocusableElement(prevItem);
18909
- }
18910
- itemIndex(el) {
18911
- return this.items.indexOf(el);
18912
- }
18913
19263
  getFocusableElement(item) {
18914
19264
  if (!item) {
18915
19265
  return;
@@ -19097,7 +19447,7 @@ class DropdownItem {
19097
19447
  : this.iconEnd
19098
19448
  ? [contentNode, iconEndEl]
19099
19449
  : contentNode;
19100
- const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: "dropdown-link", href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, target: this.target }, slottedContent));
19450
+ const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: "dropdown-link", href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, tabIndex: -1, target: this.target }, slottedContent));
19101
19451
  const itemRole = this.href
19102
19452
  ? null
19103
19453
  : this.selectionMode === "single"
@@ -20765,9 +21115,7 @@ class Input {
20765
21115
  this.setPreviousValue(previousValue || this.value);
20766
21116
  this.previousValueOrigin = origin;
20767
21117
  if (nativeEvent) {
20768
- const calciteInputInputEvent = this.calciteInputInput.emit({
20769
- nativeEvent
20770
- });
21118
+ const calciteInputInputEvent = this.calciteInputInput.emit();
20771
21119
  if (calciteInputInputEvent.defaultPrevented) {
20772
21120
  this.value = this.previousValue;
20773
21121
  this.localizedValue =
@@ -20952,6 +21300,17 @@ class Input {
20952
21300
  this.childEl?.select();
20953
21301
  }
20954
21302
  }
21303
+ // TODO: refactor so we don't need to sync the internals in color-picker
21304
+ // https://github.com/Esri/calcite-components/issues/6100
21305
+ /** @internal */
21306
+ async internalSyncChildElValue() {
21307
+ if (this.type === "number") {
21308
+ this.childNumberEl.value = this.value;
21309
+ }
21310
+ else {
21311
+ this.childEl.value = this.value;
21312
+ }
21313
+ }
20955
21314
  onLabelClick() {
20956
21315
  this.setFocus();
20957
21316
  }
@@ -21111,7 +21470,8 @@ class Input {
21111
21470
  "defaultMessages": [32],
21112
21471
  "localizedValue": [32],
21113
21472
  "setFocus": [64],
21114
- "selectText": [64]
21473
+ "selectText": [64],
21474
+ "internalSyncChildElValue": [64]
21115
21475
  },
21116
21476
  "$listeners$": undefined,
21117
21477
  "$lazyBundleId$": "-",
@@ -21129,7 +21489,6 @@ const inputDatePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframe
21129
21489
  class InputDatePicker {
21130
21490
  constructor(hostRef) {
21131
21491
  registerInstance(this, hostRef);
21132
- this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
21133
21492
  this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 6);
21134
21493
  this.calciteInputDatePickerBeforeClose = createEvent(this, "calciteInputDatePickerBeforeClose", 6);
21135
21494
  this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 6);
@@ -21275,14 +21634,8 @@ class InputDatePicker {
21275
21634
  this.userChangedValue = true;
21276
21635
  this.value = newValue;
21277
21636
  this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
21278
- const eventDetail = {
21279
- startDate: newStartDate,
21280
- endDate: newEndDate ? setEndOfDay(newEndDate) : null
21281
- };
21282
21637
  const changeEvent = this.calciteInputDatePickerChange.emit();
21283
- const rangeChangeEvent = this.calciteDatePickerRangeChange.emit(eventDetail);
21284
- if ((changeEvent && changeEvent.defaultPrevented) ||
21285
- (rangeChangeEvent && rangeChangeEvent.defaultPrevented)) {
21638
+ if (changeEvent && changeEvent.defaultPrevented) {
21286
21639
  this.value = oldValue;
21287
21640
  if (oldValueIsArray) {
21288
21641
  this.setInputValue(oldValue[0], "start");
@@ -22990,7 +23343,6 @@ class InputTimePicker {
22990
23343
  this.disabled = false;
22991
23344
  this.readOnly = false;
22992
23345
  this.messagesOverrides = undefined;
22993
- this.locale = undefined;
22994
23346
  this.name = undefined;
22995
23347
  this.numberingSystem = undefined;
22996
23348
  this.required = false;
@@ -23016,9 +23368,6 @@ class InputTimePicker {
23016
23368
  this.open = false;
23017
23369
  }
23018
23370
  }
23019
- localeChanged() {
23020
- updateEffectiveLocale(this);
23021
- }
23022
23371
  valueWatcher(newValue) {
23023
23372
  if (!this.internalValueChange) {
23024
23373
  this.setValue({ value: newValue, origin: "external" });
@@ -23118,7 +23467,6 @@ class InputTimePicker {
23118
23467
  "open": ["openHandler"],
23119
23468
  "disabled": ["handleDisabledAndReadOnlyChange"],
23120
23469
  "readOnly": ["handleDisabledAndReadOnlyChange"],
23121
- "locale": ["localeChanged"],
23122
23470
  "value": ["valueWatcher"],
23123
23471
  "effectiveLocale": ["effectiveLocaleWatcher"]
23124
23472
  }; }
@@ -23131,7 +23479,6 @@ class InputTimePicker {
23131
23479
  "disabled": [516],
23132
23480
  "readOnly": [516, "read-only"],
23133
23481
  "messagesOverrides": [16],
23134
- "locale": [1025],
23135
23482
  "name": [1],
23136
23483
  "numberingSystem": [1, "numbering-system"],
23137
23484
  "required": [516],
@@ -24154,463 +24501,6 @@ const SLOTS$d = {
24154
24501
  primary: "primary"
24155
24502
  };
24156
24503
 
24157
- /*!
24158
- * tabbable 6.0.1
24159
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
24160
- */
24161
- var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
24162
- var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
24163
- var NoElement = typeof Element === 'undefined';
24164
- var matches$1 = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
24165
- var getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {
24166
- return element.getRootNode();
24167
- } : function (element) {
24168
- return element.ownerDocument;
24169
- };
24170
-
24171
- /**
24172
- * @param {Element} el container to check in
24173
- * @param {boolean} includeContainer add container to check
24174
- * @param {(node: Element) => boolean} filter filter candidates
24175
- * @returns {Element[]}
24176
- */
24177
- var getCandidates = function getCandidates(el, includeContainer, filter) {
24178
- var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
24179
- if (includeContainer && matches$1.call(el, candidateSelector)) {
24180
- candidates.unshift(el);
24181
- }
24182
- candidates = candidates.filter(filter);
24183
- return candidates;
24184
- };
24185
-
24186
- /**
24187
- * @callback GetShadowRoot
24188
- * @param {Element} element to check for shadow root
24189
- * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
24190
- */
24191
-
24192
- /**
24193
- * @callback ShadowRootFilter
24194
- * @param {Element} shadowHostNode the element which contains shadow content
24195
- * @returns {boolean} true if a shadow root could potentially contain valid candidates.
24196
- */
24197
-
24198
- /**
24199
- * @typedef {Object} CandidateScope
24200
- * @property {Element} scopeParent contains inner candidates
24201
- * @property {Element[]} candidates list of candidates found in the scope parent
24202
- */
24203
-
24204
- /**
24205
- * @typedef {Object} IterativeOptions
24206
- * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
24207
- * if a function, implies shadow support is enabled and either returns the shadow root of an element
24208
- * or a boolean stating if it has an undisclosed shadow root
24209
- * @property {(node: Element) => boolean} filter filter candidates
24210
- * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
24211
- * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
24212
- */
24213
-
24214
- /**
24215
- * @param {Element[]} elements list of element containers to match candidates from
24216
- * @param {boolean} includeContainer add container list to check
24217
- * @param {IterativeOptions} options
24218
- * @returns {Array.<Element|CandidateScope>}
24219
- */
24220
- var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
24221
- var candidates = [];
24222
- var elementsToCheck = Array.from(elements);
24223
- while (elementsToCheck.length) {
24224
- var element = elementsToCheck.shift();
24225
- if (element.tagName === 'SLOT') {
24226
- // add shadow dom slot scope (slot itself cannot be focusable)
24227
- var assigned = element.assignedElements();
24228
- var content = assigned.length ? assigned : element.children;
24229
- var nestedCandidates = getCandidatesIteratively(content, true, options);
24230
- if (options.flatten) {
24231
- candidates.push.apply(candidates, nestedCandidates);
24232
- } else {
24233
- candidates.push({
24234
- scopeParent: element,
24235
- candidates: nestedCandidates
24236
- });
24237
- }
24238
- } else {
24239
- // check candidate element
24240
- var validCandidate = matches$1.call(element, candidateSelector);
24241
- if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
24242
- candidates.push(element);
24243
- }
24244
-
24245
- // iterate over shadow content if possible
24246
- var shadowRoot = element.shadowRoot ||
24247
- // check for an undisclosed shadow
24248
- typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
24249
- var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);
24250
- if (shadowRoot && validShadowRoot) {
24251
- // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
24252
- // shadow exists, so look at light dom children as fallback BUT create a scope for any
24253
- // child candidates found because they're likely slotted elements (elements that are
24254
- // children of the web component element (which has the shadow), in the light dom, but
24255
- // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
24256
- // _after_ we return from this recursive call
24257
- var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
24258
- if (options.flatten) {
24259
- candidates.push.apply(candidates, _nestedCandidates);
24260
- } else {
24261
- candidates.push({
24262
- scopeParent: element,
24263
- candidates: _nestedCandidates
24264
- });
24265
- }
24266
- } else {
24267
- // there's not shadow so just dig into the element's (light dom) children
24268
- // __without__ giving the element special scope treatment
24269
- elementsToCheck.unshift.apply(elementsToCheck, element.children);
24270
- }
24271
- }
24272
- }
24273
- return candidates;
24274
- };
24275
- var getTabindex = function getTabindex(node, isScope) {
24276
- if (node.tabIndex < 0) {
24277
- // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
24278
- // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
24279
- // yet they are still part of the regular tab order; in FF, they get a default
24280
- // `tabIndex` of 0; since Chrome still puts those elements in the regular tab
24281
- // order, consider their tab index to be 0.
24282
- // Also browsers do not return `tabIndex` correctly for contentEditable nodes;
24283
- // so if they don't have a tabindex attribute specifically set, assume it's 0.
24284
- //
24285
- // isScope is positive for custom element with shadow root or slot that by default
24286
- // have tabIndex -1, but need to be sorted by document order in order for their
24287
- // content to be inserted in the correct position
24288
- if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {
24289
- return 0;
24290
- }
24291
- }
24292
- return node.tabIndex;
24293
- };
24294
- var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
24295
- return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
24296
- };
24297
- var isInput = function isInput(node) {
24298
- return node.tagName === 'INPUT';
24299
- };
24300
- var isHiddenInput = function isHiddenInput(node) {
24301
- return isInput(node) && node.type === 'hidden';
24302
- };
24303
- var isDetailsWithSummary = function isDetailsWithSummary(node) {
24304
- var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
24305
- return child.tagName === 'SUMMARY';
24306
- });
24307
- return r;
24308
- };
24309
- var getCheckedRadio = function getCheckedRadio(nodes, form) {
24310
- for (var i = 0; i < nodes.length; i++) {
24311
- if (nodes[i].checked && nodes[i].form === form) {
24312
- return nodes[i];
24313
- }
24314
- }
24315
- };
24316
- var isTabbableRadio = function isTabbableRadio(node) {
24317
- if (!node.name) {
24318
- return true;
24319
- }
24320
- var radioScope = node.form || getRootNode(node);
24321
- var queryRadios = function queryRadios(name) {
24322
- return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
24323
- };
24324
- var radioSet;
24325
- if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
24326
- radioSet = queryRadios(window.CSS.escape(node.name));
24327
- } else {
24328
- try {
24329
- radioSet = queryRadios(node.name);
24330
- } catch (err) {
24331
- // eslint-disable-next-line no-console
24332
- console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
24333
- return false;
24334
- }
24335
- }
24336
- var checked = getCheckedRadio(radioSet, node.form);
24337
- return !checked || checked === node;
24338
- };
24339
- var isRadio = function isRadio(node) {
24340
- return isInput(node) && node.type === 'radio';
24341
- };
24342
- var isNonTabbableRadio = function isNonTabbableRadio(node) {
24343
- return isRadio(node) && !isTabbableRadio(node);
24344
- };
24345
-
24346
- // determines if a node is ultimately attached to the window's document
24347
- var isNodeAttached = function isNodeAttached(node) {
24348
- var _nodeRootHost;
24349
- // The root node is the shadow root if the node is in a shadow DOM; some document otherwise
24350
- // (but NOT _the_ document; see second 'If' comment below for more).
24351
- // If rootNode is shadow root, it'll have a host, which is the element to which the shadow
24352
- // is attached, and the one we need to check if it's in the document or not (because the
24353
- // shadow, and all nodes it contains, is never considered in the document since shadows
24354
- // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
24355
- // is hidden, or is not in the document itself but is detached, it will affect the shadow's
24356
- // visibility, including all the nodes it contains). The host could be any normal node,
24357
- // or a custom element (i.e. web component). Either way, that's the one that is considered
24358
- // part of the document, not the shadow root, nor any of its children (i.e. the node being
24359
- // tested).
24360
- // To further complicate things, we have to look all the way up until we find a shadow HOST
24361
- // that is attached (or find none) because the node might be in nested shadows...
24362
- // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
24363
- // document (per the docs) and while it's a Document-type object, that document does not
24364
- // appear to be the same as the node's `ownerDocument` for some reason, so it's safer
24365
- // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
24366
- // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
24367
- // node is actually detached.
24368
- var nodeRootHost = getRootNode(node).host;
24369
- var attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && _nodeRootHost.ownerDocument.contains(nodeRootHost) || node.ownerDocument.contains(node));
24370
- while (!attached && nodeRootHost) {
24371
- var _nodeRootHost2;
24372
- // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
24373
- // which means we need to get the host's host and check if that parent host is contained
24374
- // in (i.e. attached to) the document
24375
- nodeRootHost = getRootNode(nodeRootHost).host;
24376
- attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && _nodeRootHost2.ownerDocument.contains(nodeRootHost));
24377
- }
24378
- return attached;
24379
- };
24380
- var isZeroArea = function isZeroArea(node) {
24381
- var _node$getBoundingClie = node.getBoundingClientRect(),
24382
- width = _node$getBoundingClie.width,
24383
- height = _node$getBoundingClie.height;
24384
- return width === 0 && height === 0;
24385
- };
24386
- var isHidden = function isHidden(node, _ref) {
24387
- var displayCheck = _ref.displayCheck,
24388
- getShadowRoot = _ref.getShadowRoot;
24389
- // NOTE: visibility will be `undefined` if node is detached from the document
24390
- // (see notes about this further down), which means we will consider it visible
24391
- // (this is legacy behavior from a very long way back)
24392
- // NOTE: we check this regardless of `displayCheck="none"` because this is a
24393
- // _visibility_ check, not a _display_ check
24394
- if (getComputedStyle(node).visibility === 'hidden') {
24395
- return true;
24396
- }
24397
- var isDirectSummary = matches$1.call(node, 'details>summary:first-of-type');
24398
- var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
24399
- if (matches$1.call(nodeUnderDetails, 'details:not([open]) *')) {
24400
- return true;
24401
- }
24402
- if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
24403
- if (typeof getShadowRoot === 'function') {
24404
- // figure out if we should consider the node to be in an undisclosed shadow and use the
24405
- // 'non-zero-area' fallback
24406
- var originalNode = node;
24407
- while (node) {
24408
- var parentElement = node.parentElement;
24409
- var rootNode = getRootNode(node);
24410
- if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
24411
- ) {
24412
- // node has an undisclosed shadow which means we can only treat it as a black box, so we
24413
- // fall back to a non-zero-area test
24414
- return isZeroArea(node);
24415
- } else if (node.assignedSlot) {
24416
- // iterate up slot
24417
- node = node.assignedSlot;
24418
- } else if (!parentElement && rootNode !== node.ownerDocument) {
24419
- // cross shadow boundary
24420
- node = rootNode.host;
24421
- } else {
24422
- // iterate up normal dom
24423
- node = parentElement;
24424
- }
24425
- }
24426
- node = originalNode;
24427
- }
24428
- // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
24429
- // (i.e. it does not also presume that all nodes might have undisclosed shadows); or
24430
- // it might be a falsy value, which means shadow DOM support is disabled
24431
-
24432
- // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
24433
- // now we can just test to see if it would normally be visible or not, provided it's
24434
- // attached to the main document.
24435
- // NOTE: We must consider case where node is inside a shadow DOM and given directly to
24436
- // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
24437
-
24438
- if (isNodeAttached(node)) {
24439
- // this works wherever the node is: if there's at least one client rect, it's
24440
- // somehow displayed; it also covers the CSS 'display: contents' case where the
24441
- // node itself is hidden in place of its contents; and there's no need to search
24442
- // up the hierarchy either
24443
- return !node.getClientRects().length;
24444
- }
24445
-
24446
- // Else, the node isn't attached to the document, which means the `getClientRects()`
24447
- // API will __always__ return zero rects (this can happen, for example, if React
24448
- // is used to render nodes onto a detached tree, as confirmed in this thread:
24449
- // https://github.com/facebook/react/issues/9117#issuecomment-284228870)
24450
- //
24451
- // It also means that even window.getComputedStyle(node).display will return `undefined`
24452
- // because styles are only computed for nodes that are in the document.
24453
- //
24454
- // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
24455
- // somehow. Though it was never stated officially, anyone who has ever used tabbable
24456
- // APIs on nodes in detached containers has actually implicitly used tabbable in what
24457
- // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
24458
- // considering __everything__ to be visible because of the innability to determine styles.
24459
- //
24460
- // v6.0.0: As of this major release, the default 'full' option __no longer treats detached
24461
- // nodes as visible with the 'none' fallback.__
24462
- if (displayCheck !== 'legacy-full') {
24463
- return true; // hidden
24464
- }
24465
- // else, fallback to 'none' mode and consider the node visible
24466
- } else if (displayCheck === 'non-zero-area') {
24467
- // NOTE: Even though this tests that the node's client rect is non-zero to determine
24468
- // whether it's displayed, and that a detached node will __always__ have a zero-area
24469
- // client rect, we don't special-case for whether the node is attached or not. In
24470
- // this mode, we do want to consider nodes that have a zero area to be hidden at all
24471
- // times, and that includes attached or not.
24472
- return isZeroArea(node);
24473
- }
24474
-
24475
- // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
24476
- // it's visible
24477
- return false;
24478
- };
24479
-
24480
- // form fields (nested) inside a disabled fieldset are not focusable/tabbable
24481
- // unless they are in the _first_ <legend> element of the top-most disabled
24482
- // fieldset
24483
- var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
24484
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
24485
- var parentNode = node.parentElement;
24486
- // check if `node` is contained in a disabled <fieldset>
24487
- while (parentNode) {
24488
- if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
24489
- // look for the first <legend> among the children of the disabled <fieldset>
24490
- for (var i = 0; i < parentNode.children.length; i++) {
24491
- var child = parentNode.children.item(i);
24492
- // when the first <legend> (in document order) is found
24493
- if (child.tagName === 'LEGEND') {
24494
- // if its parent <fieldset> is not nested in another disabled <fieldset>,
24495
- // return whether `node` is a descendant of its first <legend>
24496
- return matches$1.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
24497
- }
24498
- }
24499
- // the disabled <fieldset> containing `node` has no <legend>
24500
- return true;
24501
- }
24502
- parentNode = parentNode.parentElement;
24503
- }
24504
- }
24505
-
24506
- // else, node's tabbable/focusable state should not be affected by a fieldset's
24507
- // enabled/disabled state
24508
- return false;
24509
- };
24510
- var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
24511
- if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||
24512
- // For a details element with a summary, the summary element gets the focus
24513
- isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
24514
- return false;
24515
- }
24516
- return true;
24517
- };
24518
- var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
24519
- if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
24520
- return false;
24521
- }
24522
- return true;
24523
- };
24524
- var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
24525
- var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
24526
- if (isNaN(tabIndex) || tabIndex >= 0) {
24527
- return true;
24528
- }
24529
- // If a custom element has an explicit negative tabindex,
24530
- // browsers will not allow tab targeting said element's children.
24531
- return false;
24532
- };
24533
-
24534
- /**
24535
- * @param {Array.<Element|CandidateScope>} candidates
24536
- * @returns Element[]
24537
- */
24538
- var sortByOrder = function sortByOrder(candidates) {
24539
- var regularTabbables = [];
24540
- var orderedTabbables = [];
24541
- candidates.forEach(function (item, i) {
24542
- var isScope = !!item.scopeParent;
24543
- var element = isScope ? item.scopeParent : item;
24544
- var candidateTabindex = getTabindex(element, isScope);
24545
- var elements = isScope ? sortByOrder(item.candidates) : element;
24546
- if (candidateTabindex === 0) {
24547
- isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
24548
- } else {
24549
- orderedTabbables.push({
24550
- documentOrder: i,
24551
- tabIndex: candidateTabindex,
24552
- item: item,
24553
- isScope: isScope,
24554
- content: elements
24555
- });
24556
- }
24557
- });
24558
- return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
24559
- sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
24560
- return acc;
24561
- }, []).concat(regularTabbables);
24562
- };
24563
- var tabbable = function tabbable(el, options) {
24564
- options = options || {};
24565
- var candidates;
24566
- if (options.getShadowRoot) {
24567
- candidates = getCandidatesIteratively([el], options.includeContainer, {
24568
- filter: isNodeMatchingSelectorTabbable.bind(null, options),
24569
- flatten: false,
24570
- getShadowRoot: options.getShadowRoot,
24571
- shadowRootFilter: isValidShadowRootTabbable
24572
- });
24573
- } else {
24574
- candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
24575
- }
24576
- return sortByOrder(candidates);
24577
- };
24578
- var focusable = function focusable(el, options) {
24579
- options = options || {};
24580
- var candidates;
24581
- if (options.getShadowRoot) {
24582
- candidates = getCandidatesIteratively([el], options.includeContainer, {
24583
- filter: isNodeMatchingSelectorFocusable.bind(null, options),
24584
- flatten: true,
24585
- getShadowRoot: options.getShadowRoot
24586
- });
24587
- } else {
24588
- candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
24589
- }
24590
- return candidates;
24591
- };
24592
- var isTabbable = function isTabbable(node, options) {
24593
- options = options || {};
24594
- if (!node) {
24595
- throw new Error('No node provided');
24596
- }
24597
- if (matches$1.call(node, candidateSelector) === false) {
24598
- return false;
24599
- }
24600
- return isNodeMatchingSelectorTabbable(options, node);
24601
- };
24602
- var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
24603
- var isFocusable = function isFocusable(node, options) {
24604
- options = options || {};
24605
- if (!node) {
24606
- throw new Error('No node provided');
24607
- }
24608
- if (matches$1.call(node, focusableCandidateSelector) === false) {
24609
- return false;
24610
- }
24611
- return isNodeMatchingSelectorFocusable(options, node);
24612
- };
24613
-
24614
24504
  /*!
24615
24505
  * focus-trap 7.2.0
24616
24506
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
@@ -25341,9 +25231,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
25341
25231
  return trap;
25342
25232
  };
25343
25233
 
25344
- const tabbableOptions = {
25345
- getShadowRoot: true
25346
- };
25347
25234
  const trapStack = [];
25348
25235
  /**
25349
25236
  * Helper to set up the FocusTrap component.
@@ -25391,15 +25278,22 @@ function deactivateFocusTrap(component) {
25391
25278
  component.focusTrap?.deactivate();
25392
25279
  }
25393
25280
  /**
25394
- * Helper to focus the first tabbable element within the FocusTrap component.
25281
+ * Helper to update the element(s) that are used within the FocusTrap component.
25395
25282
  *
25396
25283
  * @param {FocusTrapComponent} component The FocusTrap component.
25284
+ * @example
25285
+ * const modal = document.querySelector("calcite-modal");
25286
+ * const input = document.createElement("calcite-input");
25287
+ * content.appendChild(input);
25288
+ * await input.componentOnReady();
25289
+ * await modal.updateFocusTrapElements();
25290
+ * requestAnimationFrame(() => input.setFocus());
25397
25291
  */
25398
- function focusFirstTabbable(component) {
25399
- tabbable(component.focusTrapEl, tabbableOptions)[0]?.focus();
25292
+ function updateFocusTrapElements(component) {
25293
+ component.focusTrap?.updateContainerElements(component.focusTrapEl);
25400
25294
  }
25401
25295
 
25402
- const modalCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-modal:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:absolute;inset:0px;z-index:700;display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@.container*/.container.sc-calcite-modal{position:fixed;inset:0px;z-index:700;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container*/[open].sc-calcite-modal-h .container.sc-calcite-modal{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container .modal--open*/[open].sc-calcite-modal-h .container.sc-calcite-modal .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;max-block-size:calc(100vh - 12rem);background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));padding-block:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-context-text-internal)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked]) .container*/[width=s][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked]) .container*/[width=m][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked]) .container*/[width=l][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}/*!@:host([kind=brand]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-brand)}/*!@:host([kind=danger]) .modal*/[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([kind=info]) .modal*/[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([kind=success]) .modal*/[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .modal*/[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-warning)}/*!@:host([kind=brand]) .modal,\n:host([kind=danger]) .modal,\n:host([kind=info]) .modal,\n:host([kind=success]) .modal,\n:host([kind=warning]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([kind=brand]) .header,\n:host([kind=danger]) .header,\n:host([kind=info]) .header,\n:host([kind=success]) .header,\n:host([kind=warning]) .header*/[kind=brand].sc-calcite-modal-h .header.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .header.sc-calcite-modal,[kind=info].sc-calcite-modal-h .header.sc-calcite-modal,[kind=success].sc-calcite-modal-h .header.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{flex-direction:column}/*!@.back,\n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-modal{position:absolute;pointer-events:auto}/*!@.container.slotted-in-shell calcite-scrim*/.container.slotted-in-shell.sc-calcite-modal calcite-scrim.sc-calcite-modal{position:absolute}";
25296
+ const modalCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-modal:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:absolute;inset:0px;z-index:700;display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}/*!@.container*/.container.sc-calcite-modal{position:fixed;inset:0px;z-index:700;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container*/[open].sc-calcite-modal-h .container.sc-calcite-modal{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container .modal--open*/[open].sc-calcite-modal-h .container.sc-calcite-modal .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;max-block-size:calc(100vh - 12rem);background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));padding-block:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-context-text-internal)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked]) .container*/[width=s][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked]) .container*/[width=m][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked]) .container*/[width=l][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}/*!@:host([kind=brand]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-brand)}/*!@:host([kind=danger]) .modal*/[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([kind=info]) .modal*/[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([kind=success]) .modal*/[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .modal*/[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-warning)}/*!@:host([kind=brand]) .modal,\n:host([kind=danger]) .modal,\n:host([kind=info]) .modal,\n:host([kind=success]) .modal,\n:host([kind=warning]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([kind=brand]) .header,\n:host([kind=danger]) .header,\n:host([kind=info]) .header,\n:host([kind=success]) .header,\n:host([kind=warning]) .header*/[kind=brand].sc-calcite-modal-h .header.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .header.sc-calcite-modal,[kind=info].sc-calcite-modal-h .header.sc-calcite-modal,[kind=success].sc-calcite-modal-h .header.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{flex-direction:column}/*!@.back,\n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-modal{position:absolute;pointer-events:auto}/*!@.container.slotted-in-shell calcite-scrim*/.container.slotted-in-shell.sc-calcite-modal calcite-scrim.sc-calcite-modal{position:absolute}";
25403
25297
 
25404
25298
  /**
25405
25299
  * @slot header - A slot for adding header text.
@@ -25570,16 +25464,16 @@ class Modal {
25570
25464
  *
25571
25465
  * By default, tries to focus on focusable content. If there is none, it will focus on the close button.
25572
25466
  * To focus on the close button, use the `close-button` focus ID.
25573
- *
25574
- * @param focusId
25575
25467
  */
25576
- async setFocus(focusId) {
25468
+ async setFocus() {
25577
25469
  await componentLoaded(this);
25578
- const { closeButtonEl } = this;
25579
- if (closeButtonEl && focusId === "close-button") {
25580
- return focusElement(closeButtonEl);
25581
- }
25582
- focusFirstTabbable(this);
25470
+ focusFirstTabbable(this.focusTrapEl);
25471
+ }
25472
+ /**
25473
+ * Updates the element(s) that are used within the focus-trap of the component.
25474
+ */
25475
+ async updateFocusTrapElements() {
25476
+ updateFocusTrapElements(this);
25583
25477
  }
25584
25478
  /**
25585
25479
  * Sets the scroll top of the component's content.
@@ -25675,6 +25569,7 @@ class Modal {
25675
25569
  "effectiveLocale": [32],
25676
25570
  "defaultMessages": [32],
25677
25571
  "setFocus": [64],
25572
+ "updateFocusTrapElements": [64],
25678
25573
  "scrollContent": [64]
25679
25574
  },
25680
25575
  "$listeners$": [[8, "keydown", "handleEscape"]],
@@ -26318,29 +26213,10 @@ class Panel {
26318
26213
  // --------------------------------------------------------------------------
26319
26214
  /**
26320
26215
  * Sets focus on the component.
26321
- *
26322
- * @param focusId
26323
26216
  */
26324
- async setFocus(focusId) {
26217
+ async setFocus() {
26325
26218
  await componentLoaded(this);
26326
- const { backButtonEl, closeButtonEl, containerEl } = this;
26327
- if (focusId === "back-button") {
26328
- backButtonEl?.setFocus();
26329
- return;
26330
- }
26331
- if (focusId === "dismiss-button") {
26332
- closeButtonEl?.setFocus();
26333
- return;
26334
- }
26335
- if (backButtonEl) {
26336
- backButtonEl.setFocus();
26337
- return;
26338
- }
26339
- if (closeButtonEl) {
26340
- closeButtonEl.setFocus();
26341
- return;
26342
- }
26343
- containerEl?.focus();
26219
+ focusFirstTabbable(this.containerEl);
26344
26220
  }
26345
26221
  /**
26346
26222
  * Scrolls the component's content to a specified set of coordinates.
@@ -27270,11 +27146,11 @@ class PopoverManager {
27270
27146
  const composedPath = event.composedPath();
27271
27147
  const togglePopover = this.queryPopover(composedPath);
27272
27148
  if (togglePopover && !togglePopover.triggerDisabled) {
27273
- togglePopover.toggle();
27149
+ togglePopover.open = !togglePopover.open;
27274
27150
  }
27275
27151
  Array.from(this.registeredElements.values())
27276
27152
  .filter((popover) => popover !== togglePopover && popover.autoClose && popover.open && !composedPath.includes(popover))
27277
- .forEach((popover) => popover.toggle(false));
27153
+ .forEach((popover) => (popover.open = false));
27278
27154
  };
27279
27155
  this.keyHandler = (event) => {
27280
27156
  if (event.defaultPrevented) {
@@ -27314,7 +27190,7 @@ class PopoverManager {
27314
27190
  }
27315
27191
  }
27316
27192
  closeAllPopovers() {
27317
- Array.from(this.registeredElements.values()).forEach((popover) => popover.toggle(false));
27193
+ Array.from(this.registeredElements.values()).forEach((popover) => (popover.open = false));
27318
27194
  }
27319
27195
  addListeners() {
27320
27196
  document.addEventListener("pointerdown", this.clickHandler, { capture: true });
@@ -27537,26 +27413,17 @@ class Popover {
27537
27413
  }
27538
27414
  /**
27539
27415
  * Sets focus on the component.
27540
- *
27541
- * @param focusId
27542
27416
  */
27543
- async setFocus(focusId) {
27417
+ async setFocus() {
27544
27418
  await componentLoaded(this);
27545
- const { closeButtonEl } = this;
27546
- if (focusId === "close-button" && closeButtonEl) {
27547
- forceUpdate$1(closeButtonEl);
27548
- closeButtonEl.setFocus();
27549
- return;
27550
- }
27551
- focusFirstTabbable(this);
27419
+ forceUpdate$1(this.el);
27420
+ focusFirstTabbable(this.focusTrapEl);
27552
27421
  }
27553
27422
  /**
27554
- * Toggles the component's open property.
27555
- *
27556
- * @param value
27423
+ * Updates the element(s) that are used within the focus-trap of the component.
27557
27424
  */
27558
- async toggle(value = !this.open) {
27559
- this.open = value;
27425
+ async updateFocusTrapElements() {
27426
+ updateFocusTrapElements(this);
27560
27427
  }
27561
27428
  getReferenceElement() {
27562
27429
  const { referenceElement, el } = this;
@@ -27585,12 +27452,12 @@ class Popover {
27585
27452
  // --------------------------------------------------------------------------
27586
27453
  renderCloseButton() {
27587
27454
  const { messages, closable } = this;
27588
- return closable ? (hAsync("div", { class: CSS$h.closeButtonContainer }, hAsync("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: this.scale, text: messages.close }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
27455
+ return closable ? (hAsync("div", { class: CSS$h.closeButtonContainer, key: CSS$h.closeButtonContainer }, hAsync("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: this.scale, text: messages.close }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
27589
27456
  }
27590
27457
  renderHeader() {
27591
27458
  const { heading, headingLevel } = this;
27592
27459
  const headingNode = heading ? (hAsync(Heading, { class: CSS$h.heading, level: headingLevel }, heading)) : null;
27593
- return headingNode ? (hAsync("div", { class: CSS$h.header }, headingNode, this.renderCloseButton())) : null;
27460
+ return headingNode ? (hAsync("div", { class: CSS$h.header, key: CSS$h.header }, headingNode, this.renderCloseButton())) : null;
27594
27461
  }
27595
27462
  render() {
27596
27463
  const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
@@ -27648,7 +27515,7 @@ class Popover {
27648
27515
  "defaultMessages": [32],
27649
27516
  "reposition": [64],
27650
27517
  "setFocus": [64],
27651
- "toggle": [64]
27518
+ "updateFocusTrapElements": [64]
27652
27519
  },
27653
27520
  "$listeners$": undefined,
27654
27521
  "$lazyBundleId$": "-",
@@ -27985,6 +27852,7 @@ class RadioButtonGroup {
27985
27852
  //--------------------------------------------------------------------------
27986
27853
  this.passPropsToRadioButtons = () => {
27987
27854
  const radioButtons = this.el.querySelectorAll("calcite-radio-button");
27855
+ this.selectedItem = Array.from(radioButtons).find((radioButton) => radioButton.checked) || null;
27988
27856
  if (radioButtons.length > 0) {
27989
27857
  radioButtons.forEach((radioButton) => {
27990
27858
  radioButton.disabled = this.disabled || radioButton.disabled;
@@ -28000,6 +27868,7 @@ class RadioButtonGroup {
28000
27868
  this.layout = "horizontal";
28001
27869
  this.name = undefined;
28002
27870
  this.required = false;
27871
+ this.selectedItem = null;
28003
27872
  this.scale = "m";
28004
27873
  }
28005
27874
  onDisabledChange() {
@@ -28032,7 +27901,8 @@ class RadioButtonGroup {
28032
27901
  //
28033
27902
  //--------------------------------------------------------------------------
28034
27903
  radioButtonChangeHandler(event) {
28035
- this.calciteRadioButtonGroupChange.emit(event.target.value);
27904
+ this.selectedItem = event.target;
27905
+ this.calciteRadioButtonGroupChange.emit();
28036
27906
  }
28037
27907
  // --------------------------------------------------------------------------
28038
27908
  //
@@ -28060,6 +27930,7 @@ class RadioButtonGroup {
28060
27930
  "layout": [513],
28061
27931
  "name": [513],
28062
27932
  "required": [516],
27933
+ "selectedItem": [1040],
28063
27934
  "scale": [513]
28064
27935
  },
28065
27936
  "$listeners$": [[0, "calciteRadioButtonChange", "radioButtonChangeHandler"]],
@@ -28068,7 +27939,7 @@ class RadioButtonGroup {
28068
27939
  }; }
28069
27940
  }
28070
27941
 
28071
- const radioGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-radio-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-radio-group:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-radio-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-radio-group-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-radio-group-h{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-radio-group-h[disabled] .sc-calcite-radio-group-s>[calcite-hydrated][disabled],[disabled].sc-calcite-radio-group-h [calcite-hydrated][disabled].sc-calcite-radio-group{opacity:1}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-radio-group-h{flex-direction:column;align-items:flex-start;align-self:flex-start}/*!@:host([width=full])*/[width=full].sc-calcite-radio-group-h{inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}/*!@:host([width=full]) ::slotted(calcite-radio-group-item)*/.sc-calcite-radio-group-h[width=full] .sc-calcite-radio-group-s>calcite-radio-group-item{flex:1 1 auto}/*!@:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item)*/.sc-calcite-radio-group-h[width=full][layout=vertical] .sc-calcite-radio-group-s>calcite-radio-group-item{justify-content:flex-start}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-radio-group-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}";
27942
+ const radioGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-radio-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-radio-group:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-radio-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-radio-group-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-radio-group-h{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-radio-group-h{background-color:transparent}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-radio-group-h[disabled] .sc-calcite-radio-group-s>[calcite-hydrated][disabled],[disabled].sc-calcite-radio-group-h [calcite-hydrated][disabled].sc-calcite-radio-group{opacity:1}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-radio-group-h{flex-direction:column;align-items:flex-start;align-self:flex-start}/*!@:host([width=full])*/[width=full].sc-calcite-radio-group-h{inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}/*!@:host([width=full]) ::slotted(calcite-radio-group-item)*/.sc-calcite-radio-group-h[width=full] .sc-calcite-radio-group-s>calcite-radio-group-item{flex:1 1 auto}/*!@:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item)*/.sc-calcite-radio-group-h[width=full][layout=vertical] .sc-calcite-radio-group-s>calcite-radio-group-item{justify-content:flex-start}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-radio-group-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}";
28072
27943
 
28073
27944
  /**
28074
27945
  * @slot - A slot for adding `calcite-radio-group-item`s.
@@ -28278,7 +28149,7 @@ const CSS$f = {
28278
28149
  radioGroupItemIcon: "radio-group-item-icon"
28279
28150
  };
28280
28151
 
28281
- const radioGroupItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-group-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-group-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-item-h{display:none}/*!@:host*/.sc-calcite-radio-group-item-h{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}/*!@:host label*/.sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@.label--horizontal*/.label--horizontal.sc-calcite-radio-group-item{justify-content:center}/*!@:host*/.sc-calcite-radio-group-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-radio-group-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-radio-group-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-radio-group-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-radio-group-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-radio-group-item-h:hover label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-radio-group-item-h:active label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@::slotted(input)*/.sc-calcite-radio-group-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{background-color:highlight}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item:not([class~=label--outline]) .radio-group-item-icon.sc-calcite-radio-group-item{color:highlightText}}/*!@.radio-group-item-icon*/.radio-group-item-icon.sc-calcite-radio-group-item{position:relative;margin:0px;display:inline-flex;line-height:inherit}/*!@:host([icon-start]) .label--scale-s .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:0.5rem}/*!@:host([icon-end]) .label--scale-s .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:0.5rem}/*!@:host([icon-start]) .label--scale-m .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:0.75rem}/*!@:host([icon-end]) .label--scale-m .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:0.75rem}/*!@:host([icon-start]) .label--scale-l .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:1rem}/*!@:host([icon-end]) .label--scale-l .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:1rem}";
28152
+ const radioGroupItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-group-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-group-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-item-h{display:none}/*!@:host*/.sc-calcite-radio-group-item-h{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}/*!@:host label*/.sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@.label--horizontal*/.label--horizontal.sc-calcite-radio-group-item{justify-content:center}/*!@:host*/.sc-calcite-radio-group-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-radio-group-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-radio-group-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-radio-group-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-radio-group-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-radio-group-item-h:hover label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-radio-group-item-h:active label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item,[checked].sc-calcite-radio-group-item-h .label--outline-fill.sc-calcite-radio-group-item{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{background-color:transparent}/*!@::slotted(input)*/.sc-calcite-radio-group-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{background-color:highlight}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item,[checked].sc-calcite-radio-group-item-h .label--outline-fill.sc-calcite-radio-group-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item:not([class~=label--outline]) .radio-group-item-icon.sc-calcite-radio-group-item{color:highlightText}}/*!@.radio-group-item-icon*/.radio-group-item-icon.sc-calcite-radio-group-item{position:relative;margin:0px;display:inline-flex;line-height:inherit}/*!@:host([icon-start]) .label--scale-s .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:0.5rem}/*!@:host([icon-end]) .label--scale-s .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:0.5rem}/*!@:host([icon-start]) .label--scale-m .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:0.75rem}/*!@:host([icon-end]) .label--scale-m .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:0.75rem}/*!@:host([icon-start]) .label--scale-l .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-end:1rem}/*!@:host([icon-end]) .label--scale-l .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{margin-inline-start:1rem}";
28282
28153
 
28283
28154
  class RadioGroupItem {
28284
28155
  constructor(hostRef) {
@@ -28305,7 +28176,8 @@ class RadioGroupItem {
28305
28176
  "label--scale-m": scale === "m",
28306
28177
  "label--scale-l": scale === "l",
28307
28178
  "label--horizontal": layout === "horizontal",
28308
- "label--outline": appearance === "outline"
28179
+ "label--outline": appearance === "outline",
28180
+ "label--outline-fill": appearance === "outline-fill"
28309
28181
  } }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$8.input }), this.iconEnd ? iconEndEl : null)));
28310
28182
  }
28311
28183
  get el() { return getElement(this); }
@@ -28596,7 +28468,7 @@ const CSS$e = {
28596
28468
  content: "content"
28597
28469
  };
28598
28470
 
28599
- const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-scrim:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-scrim{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-scrim{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-scrim{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-scrim{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-scrim{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-scrim:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-scrim:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-scrim-h{display:none}/*!@:host*/.sc-calcite-scrim-h{position:absolute;inset:0px;z-index:700;display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}/*!@.scrim*/.scrim.sc-calcite-scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}/*!@.content*/.content.sc-calcite-scrim{padding:1rem}";
28471
+ const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-scrim:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-scrim{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-scrim{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-scrim{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-scrim{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-scrim{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-scrim:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-scrim:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-scrim-h{display:none}/*!@:host*/.sc-calcite-scrim-h{position:absolute;inset:0px;z-index:700;display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}/*!@.scrim*/.scrim.sc-calcite-scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}/*!@.content*/.content.sc-calcite-scrim{padding:1rem}";
28600
28472
 
28601
28473
  /**
28602
28474
  * @slot - A slot for adding custom content, primarily loading information.
@@ -28909,7 +28781,7 @@ const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
28909
28781
  * @slot panel-start - A slot for adding the starting `calcite-shell-panel`.
28910
28782
  * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.
28911
28783
  * @slot center-row - A slot for adding content to the center row.
28912
- * @slot modal - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the shell.
28784
+ * @slot modals - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the shell.
28913
28785
  * @slot alerts - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the shell.
28914
28786
  */
28915
28787
  class Shell {
@@ -33488,6 +33360,7 @@ class Stepper {
33488
33360
  this.layout = "horizontal";
33489
33361
  this.numbered = false;
33490
33362
  this.numberingSystem = undefined;
33363
+ this.selectedItem = null;
33491
33364
  this.scale = "m";
33492
33365
  }
33493
33366
  //--------------------------------------------------------------------------
@@ -33521,32 +33394,20 @@ class Stepper {
33521
33394
  calciteInternalStepperItemKeyEvent(event) {
33522
33395
  const item = event.detail.item;
33523
33396
  const itemToFocus = event.target;
33524
- const isFirstItem = this.itemIndex(itemToFocus) === 0;
33525
- const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
33526
33397
  switch (item.key) {
33527
33398
  case "ArrowDown":
33528
33399
  case "ArrowRight":
33529
- if (isLastItem) {
33530
- this.focusFirstItem();
33531
- }
33532
- else {
33533
- this.focusNextItem(itemToFocus);
33534
- }
33400
+ focusElementInGroup(this.enabledItems, itemToFocus, "next");
33535
33401
  break;
33536
33402
  case "ArrowUp":
33537
33403
  case "ArrowLeft":
33538
- if (isFirstItem) {
33539
- this.focusLastItem();
33540
- }
33541
- else {
33542
- this.focusPrevItem(itemToFocus);
33543
- }
33404
+ focusElementInGroup(this.enabledItems, itemToFocus, "previous");
33544
33405
  break;
33545
33406
  case "Home":
33546
- this.focusFirstItem();
33407
+ focusElementInGroup(this.enabledItems, itemToFocus, "first");
33547
33408
  break;
33548
33409
  case "End":
33549
- this.focusLastItem();
33410
+ focusElementInGroup(this.enabledItems, itemToFocus, "last");
33550
33411
  break;
33551
33412
  }
33552
33413
  event.stopPropagation();
@@ -33563,16 +33424,14 @@ class Stepper {
33563
33424
  const { position } = event.detail;
33564
33425
  if (typeof position === "number") {
33565
33426
  this.currentPosition = position;
33427
+ this.selectedItem = event.target;
33566
33428
  }
33567
33429
  this.calciteInternalStepperItemChange.emit({
33568
33430
  position
33569
33431
  });
33570
33432
  }
33571
- handleUserRequestedStepperItemSelect(event) {
33572
- const { position } = event.detail;
33573
- this.calciteStepperItemChange.emit({
33574
- position
33575
- });
33433
+ handleUserRequestedStepperItemSelect() {
33434
+ this.calciteStepperItemChange.emit();
33576
33435
  }
33577
33436
  //--------------------------------------------------------------------------
33578
33437
  //
@@ -33643,27 +33502,6 @@ class Stepper {
33643
33502
  position
33644
33503
  });
33645
33504
  }
33646
- focusFirstItem() {
33647
- const firstItem = this.enabledItems[0];
33648
- focusElement(firstItem);
33649
- }
33650
- focusLastItem() {
33651
- const lastItem = this.enabledItems[this.enabledItems.length - 1];
33652
- focusElement(lastItem);
33653
- }
33654
- focusNextItem(el) {
33655
- const index = this.itemIndex(el);
33656
- const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
33657
- focusElement(nextItem);
33658
- }
33659
- focusPrevItem(el) {
33660
- const index = this.itemIndex(el);
33661
- const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
33662
- focusElement(prevItem);
33663
- }
33664
- itemIndex(el) {
33665
- return this.enabledItems.indexOf(el);
33666
- }
33667
33505
  sortItems() {
33668
33506
  const { itemMap } = this;
33669
33507
  return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a).position - itemMap.get(b).position);
@@ -33681,6 +33519,7 @@ class Stepper {
33681
33519
  "layout": [513],
33682
33520
  "numbered": [516],
33683
33521
  "numberingSystem": [513, "numbering-system"],
33522
+ "selectedItem": [1040],
33684
33523
  "scale": [513],
33685
33524
  "nextStep": [64],
33686
33525
  "prevStep": [64],
@@ -34123,8 +33962,8 @@ class TabNav {
34123
33962
  // Private Methods
34124
33963
  //
34125
33964
  //--------------------------------------------------------------------------
34126
- this.handleTabFocus = (event, tabTitle) => {
34127
- tabTitle?.focus();
33965
+ this.handleTabFocus = (event, el, destination) => {
33966
+ focusElementInGroup(this.enabledTabTitles, el, destination);
34128
33967
  event.stopPropagation();
34129
33968
  event.preventDefault();
34130
33969
  };
@@ -34135,28 +33974,28 @@ class TabNav {
34135
33974
  };
34136
33975
  this.storageId = undefined;
34137
33976
  this.syncId = undefined;
33977
+ this.selectedTitle = null;
34138
33978
  this.scale = "m";
34139
33979
  this.layout = "inline";
34140
33980
  this.position = "bottom";
34141
33981
  this.bordered = false;
34142
33982
  this.indicatorOffset = undefined;
34143
33983
  this.indicatorWidth = undefined;
34144
- this.selectedTab = undefined;
34145
- this.selectedTabEl = undefined;
33984
+ this.selectedTabId = undefined;
34146
33985
  }
34147
- async selectedTabChanged() {
33986
+ async selectedTabIdChanged() {
34148
33987
  if (localStorage &&
34149
33988
  this.storageId &&
34150
- this.selectedTab !== undefined &&
34151
- this.selectedTab !== null) {
34152
- localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTab));
33989
+ this.selectedTabId !== undefined &&
33990
+ this.selectedTabId !== null) {
33991
+ localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTabId));
34153
33992
  }
34154
33993
  this.calciteInternalTabChange.emit({
34155
- tab: this.selectedTab
33994
+ tab: this.selectedTabId
34156
33995
  });
34157
- this.selectedTabEl = await this.getTabTitleById(this.selectedTab);
33996
+ this.selectedTitle = await this.getTabTitleById(this.selectedTabId);
34158
33997
  }
34159
- selectedTabElChanged() {
33998
+ selectedTitleChanged() {
34160
33999
  this.updateOffsetPosition();
34161
34000
  this.updateActiveWidth();
34162
34001
  // reset the animation time on tab selection
@@ -34178,7 +34017,7 @@ class TabNav {
34178
34017
  const storageKey = `calcite-tab-nav-${this.storageId}`;
34179
34018
  if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
34180
34019
  const storedTab = JSON.parse(localStorage.getItem(storageKey));
34181
- this.selectedTab = storedTab;
34020
+ this.selectedTabId = storedTab;
34182
34021
  }
34183
34022
  }
34184
34023
  componentWillRender() {
@@ -34188,7 +34027,7 @@ class TabNav {
34188
34027
  this.scale = parentTabsEl?.scale;
34189
34028
  this.bordered = parentTabsEl?.bordered;
34190
34029
  // fix issue with active tab-title not lining up with blue indicator
34191
- if (this.selectedTabEl) {
34030
+ if (this.selectedTitle) {
34192
34031
  this.updateOffsetPosition();
34193
34032
  }
34194
34033
  }
@@ -34196,7 +34035,7 @@ class TabNav {
34196
34035
  // if every tab title is active select the first tab.
34197
34036
  if (this.tabTitles.length &&
34198
34037
  this.tabTitles.every((title) => !title.selected) &&
34199
- !this.selectedTab) {
34038
+ !this.selectedTabId) {
34200
34039
  this.tabTitles[0].getTabIdentifier().then((tab) => {
34201
34040
  this.calciteInternalTabChange.emit({
34202
34041
  tab
@@ -34217,22 +34056,19 @@ class TabNav {
34217
34056
  //
34218
34057
  //--------------------------------------------------------------------------
34219
34058
  focusPreviousTabHandler(event) {
34220
- const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);
34221
- this.handleTabFocus(event, this.enabledTabTitles[currentIndex - 1] ||
34222
- this.enabledTabTitles[this.enabledTabTitles.length - 1]);
34059
+ this.handleTabFocus(event, event.target, "previous");
34223
34060
  }
34224
34061
  focusNextTabHandler(event) {
34225
- const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);
34226
- this.handleTabFocus(event, this.enabledTabTitles[currentIndex + 1] || this.enabledTabTitles[0]);
34062
+ this.handleTabFocus(event, event.target, "next");
34227
34063
  }
34228
34064
  focusFirstTabHandler(event) {
34229
- this.handleTabFocus(event, this.enabledTabTitles[0]);
34065
+ this.handleTabFocus(event, event.target, "first");
34230
34066
  }
34231
34067
  focusLastTabHandler(event) {
34232
- this.handleTabFocus(event, this.enabledTabTitles[this.enabledTabTitles.length - 1]);
34068
+ this.handleTabFocus(event, event.target, "last");
34233
34069
  }
34234
34070
  internalActivateTabHandler(event) {
34235
- this.selectedTab = event.detail.tab
34071
+ this.selectedTabId = event.detail.tab
34236
34072
  ? event.detail.tab
34237
34073
  : this.getIndexOfTabTitle(event.target);
34238
34074
  event.stopPropagation();
@@ -34250,15 +34086,15 @@ class TabNav {
34250
34086
  */
34251
34087
  updateTabTitles(event) {
34252
34088
  if (event.target.selected) {
34253
- this.selectedTab = event.detail;
34089
+ this.selectedTabId = event.detail;
34254
34090
  }
34255
34091
  }
34256
34092
  globalInternalTabChangeHandler(event) {
34257
34093
  if (this.syncId &&
34258
34094
  event.target !== this.el &&
34259
34095
  event.target.syncId === this.syncId &&
34260
- this.selectedTab !== event.detail.tab) {
34261
- this.selectedTab = event.detail.tab;
34096
+ this.selectedTabId !== event.detail.tab) {
34097
+ this.selectedTabId = event.detail.tab;
34262
34098
  }
34263
34099
  event.stopPropagation();
34264
34100
  }
@@ -34268,14 +34104,14 @@ class TabNav {
34268
34104
  updateOffsetPosition() {
34269
34105
  const dir = getElementDir(this.el);
34270
34106
  const navWidth = this.activeIndicatorContainerEl?.offsetWidth;
34271
- const tabLeft = this.selectedTabEl?.offsetLeft;
34272
- const tabWidth = this.selectedTabEl?.offsetWidth;
34107
+ const tabLeft = this.selectedTitle?.offsetLeft;
34108
+ const tabWidth = this.selectedTitle?.offsetWidth;
34273
34109
  const offsetRight = navWidth - (tabLeft + tabWidth);
34274
34110
  this.indicatorOffset =
34275
34111
  dir !== "rtl" ? tabLeft - this.tabNavEl?.scrollLeft : offsetRight + this.tabNavEl?.scrollLeft;
34276
34112
  }
34277
34113
  updateActiveWidth() {
34278
- this.indicatorWidth = this.selectedTabEl?.offsetWidth;
34114
+ this.indicatorWidth = this.selectedTitle?.offsetWidth;
34279
34115
  }
34280
34116
  getIndexOfTabTitle(el, tabTitles = this.tabTitles) {
34281
34117
  // In most cases, since these indexes correlate with tab contents, we want to consider all tab titles.
@@ -34295,8 +34131,8 @@ class TabNav {
34295
34131
  }
34296
34132
  get el() { return getElement(this); }
34297
34133
  static get watchers() { return {
34298
- "selectedTab": ["selectedTabChanged"],
34299
- "selectedTabEl": ["selectedTabElChanged"]
34134
+ "selectedTabId": ["selectedTabIdChanged"],
34135
+ "selectedTitle": ["selectedTitleChanged"]
34300
34136
  }; }
34301
34137
  static get style() { return tabNavCss; }
34302
34138
  static get cmpMeta() { return {
@@ -34305,14 +34141,14 @@ class TabNav {
34305
34141
  "$members$": {
34306
34142
  "storageId": [513, "storage-id"],
34307
34143
  "syncId": [513, "sync-id"],
34144
+ "selectedTitle": [1040],
34308
34145
  "scale": [1537],
34309
34146
  "layout": [1537],
34310
34147
  "position": [1537],
34311
34148
  "bordered": [1540],
34312
34149
  "indicatorOffset": [1026, "indicator-offset"],
34313
34150
  "indicatorWidth": [1026, "indicator-width"],
34314
- "selectedTab": [32],
34315
- "selectedTabEl": [32]
34151
+ "selectedTabId": [32]
34316
34152
  },
34317
34153
  "$listeners$": [[0, "calciteInternalTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteInternalTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsFocusFirst", "focusFirstTabHandler"], [0, "calciteInternalTabsFocusLast", "focusLastTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteInternalTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"], [0, "calciteInternalTabIconChanged", "iconStartChangeHandler"]],
34318
34154
  "$lazyBundleId$": "-",
@@ -34556,7 +34392,7 @@ const tabsCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0
34556
34392
 
34557
34393
  /**
34558
34394
  * @slot - A slot for adding `calcite-tab`s.
34559
- * @slot tab-nav - A slot for adding a `calcite-tab-nav`.
34395
+ * @slot title-group - A slot for adding a `calcite-tab-nav`.
34560
34396
  */
34561
34397
  class Tabs {
34562
34398
  constructor(hostRef) {
@@ -35046,7 +34882,7 @@ const CSS$5 = {
35046
34882
  meridiemStart: "meridiem--start"
35047
34883
  };
35048
34884
 
35049
- const timePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-time-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-time-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-time-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-time-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-time-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-time-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-time-picker:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-time-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-time-picker-h{display:none}/*!@:host*/.sc-calcite-time-picker-h{display:inline-block}/*!@.time-picker*/.time-picker.sc-calcite-time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--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)}/*!@.time-picker .column*/.time-picker.sc-calcite-time-picker .column.sc-calcite-time-picker{display:flex;flex-direction:column}/*!@.time-picker .meridiem--start*/.time-picker.sc-calcite-time-picker .meridiem--start.sc-calcite-time-picker{order:-1}/*!@.time-picker .button*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}/*!@.time-picker .button:hover, .time-picker .button:focus*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:hover,.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}/*!@.time-picker .button:active*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:active{background-color:var(--calcite-ui-foreground-3)}/*!@.time-picker .button.top-left*/.time-picker.sc-calcite-time-picker .button.top-left.sc-calcite-time-picker{border-start-start-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-left*/.time-picker.sc-calcite-time-picker .button.bottom-left.sc-calcite-time-picker{border-end-start-radius:var(--calcite-border-radius)}/*!@.time-picker .button.top-right*/.time-picker.sc-calcite-time-picker .button.top-right.sc-calcite-time-picker{border-start-end-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-right*/.time-picker.sc-calcite-time-picker .button.bottom-right.sc-calcite-time-picker{border-end-end-radius:var(--calcite-border-radius)}/*!@.time-picker .button calcite-icon*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker calcite-icon.sc-calcite-time-picker{color:var(--calcite-ui-text-3)}/*!@.time-picker .input*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}/*!@.time-picker .input:hover*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}/*!@.time-picker .input:focus, .time-picker .input:hover:focus*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:focus,.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@.time-picker.scale-s*/.time-picker.scale-s.sc-calcite-time-picker{font-size:var(--calcite-font-size--1)}/*!@.time-picker.scale-s .button,\n.time-picker.scale-s .input*/.time-picker.scale-s.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-s.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:0.75rem;padding-block:0.25rem}/*!@.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-s.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:0.75rem}/*!@.time-picker.scale-m*/.time-picker.scale-m.sc-calcite-time-picker{font-size:var(--calcite-font-size-0)}/*!@.time-picker.scale-m .button,\n.time-picker.scale-m .input*/.time-picker.scale-m.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-m.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:1rem;padding-block:0.5rem}/*!@.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-m.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:1rem}/*!@.time-picker.scale-l*/.time-picker.scale-l.sc-calcite-time-picker{font-size:var(--calcite-font-size-1)}/*!@.time-picker.scale-l .button,\n.time-picker.scale-l .input*/.time-picker.scale-l.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-l.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:1.25rem;padding-block:0.75rem}/*!@.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-l.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:1.25rem}";
34885
+ const timePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-time-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-time-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-time-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-time-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-time-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-time-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-time-picker:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-time-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-time-picker-h{display:none}/*!@:host*/.sc-calcite-time-picker-h{display:inline-block}/*!@.time-picker*/.time-picker.sc-calcite-time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--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)}/*!@.time-picker .column*/.time-picker.sc-calcite-time-picker .column.sc-calcite-time-picker{display:flex;flex-direction:column}/*!@.time-picker .meridiem--start*/.time-picker.sc-calcite-time-picker .meridiem--start.sc-calcite-time-picker{order:-1}/*!@.time-picker .button*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}/*!@.time-picker .button:hover, .time-picker .button:focus*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:hover,.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:400;outline-offset:0}/*!@.time-picker .button:active*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:active{background-color:var(--calcite-ui-foreground-3)}/*!@.time-picker .button.top-left*/.time-picker.sc-calcite-time-picker .button.top-left.sc-calcite-time-picker{border-start-start-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-left*/.time-picker.sc-calcite-time-picker .button.bottom-left.sc-calcite-time-picker{border-end-start-radius:var(--calcite-border-radius)}/*!@.time-picker .button.top-right*/.time-picker.sc-calcite-time-picker .button.top-right.sc-calcite-time-picker{border-start-end-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-right*/.time-picker.sc-calcite-time-picker .button.bottom-right.sc-calcite-time-picker{border-end-end-radius:var(--calcite-border-radius)}/*!@.time-picker .button calcite-icon*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker calcite-icon.sc-calcite-time-picker{color:var(--calcite-ui-text-3)}/*!@.time-picker .input*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}/*!@.time-picker .input:hover*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:400}/*!@.time-picker .input:focus, .time-picker .input:hover:focus*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:focus,.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:400;outline-offset:0}/*!@.time-picker.scale-s*/.time-picker.scale-s.sc-calcite-time-picker{font-size:var(--calcite-font-size--1)}/*!@.time-picker.scale-s .button,\n.time-picker.scale-s .input*/.time-picker.scale-s.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-s.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:0.75rem;padding-block:0.25rem}/*!@.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-s.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:0.75rem}/*!@.time-picker.scale-m*/.time-picker.scale-m.sc-calcite-time-picker{font-size:var(--calcite-font-size-0)}/*!@.time-picker.scale-m .button,\n.time-picker.scale-m .input*/.time-picker.scale-m.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-m.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:1rem;padding-block:0.5rem}/*!@.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-m.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:1rem}/*!@.time-picker.scale-l*/.time-picker.scale-l.sc-calcite-time-picker{font-size:var(--calcite-font-size-1)}/*!@.time-picker.scale-l .button,\n.time-picker.scale-l .input*/.time-picker.scale-l.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-l.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-inline:1.25rem;padding-block:0.75rem}/*!@.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-l.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{padding-inline-end:1.25rem}";
35050
34886
 
35051
34887
  function capitalize(str) {
35052
34888
  return str.charAt(0).toUpperCase() + str.slice(1);
@@ -35444,23 +35280,23 @@ class TimePicker {
35444
35280
  switch (this.activeEl) {
35445
35281
  case this.hourEl:
35446
35282
  if (key === "ArrowRight") {
35447
- this.setFocus("minute");
35283
+ this.focusPart("minute");
35448
35284
  event.preventDefault();
35449
35285
  }
35450
35286
  break;
35451
35287
  case this.minuteEl:
35452
35288
  switch (key) {
35453
35289
  case "ArrowLeft":
35454
- this.setFocus("hour");
35290
+ this.focusPart("hour");
35455
35291
  event.preventDefault();
35456
35292
  break;
35457
35293
  case "ArrowRight":
35458
35294
  if (this.step !== 60) {
35459
- this.setFocus("second");
35295
+ this.focusPart("second");
35460
35296
  event.preventDefault();
35461
35297
  }
35462
35298
  else if (this.hourCycle === "12") {
35463
- this.setFocus("meridiem");
35299
+ this.focusPart("meridiem");
35464
35300
  event.preventDefault();
35465
35301
  }
35466
35302
  break;
@@ -35469,12 +35305,12 @@ class TimePicker {
35469
35305
  case this.secondEl:
35470
35306
  switch (key) {
35471
35307
  case "ArrowLeft":
35472
- this.setFocus("minute");
35308
+ this.focusPart("minute");
35473
35309
  event.preventDefault();
35474
35310
  break;
35475
35311
  case "ArrowRight":
35476
35312
  if (this.hourCycle === "12") {
35477
- this.setFocus("meridiem");
35313
+ this.focusPart("meridiem");
35478
35314
  event.preventDefault();
35479
35315
  }
35480
35316
  break;
@@ -35484,11 +35320,11 @@ class TimePicker {
35484
35320
  switch (key) {
35485
35321
  case "ArrowLeft":
35486
35322
  if (this.step !== 60) {
35487
- this.setFocus("second");
35323
+ this.focusPart("second");
35488
35324
  event.preventDefault();
35489
35325
  }
35490
35326
  else {
35491
- this.setFocus("minute");
35327
+ this.focusPart("minute");
35492
35328
  event.preventDefault();
35493
35329
  }
35494
35330
  break;
@@ -35503,18 +35339,20 @@ class TimePicker {
35503
35339
  //--------------------------------------------------------------------------
35504
35340
  /**
35505
35341
  * Sets focus on the component.
35506
- *
35507
- * @param target
35508
35342
  */
35509
- async setFocus(target) {
35343
+ async setFocus() {
35510
35344
  await componentLoaded(this);
35511
- this[`${target || "hour"}El`]?.focus();
35345
+ this.el?.focus();
35512
35346
  }
35513
35347
  // --------------------------------------------------------------------------
35514
35348
  //
35515
35349
  // Private Methods
35516
35350
  //
35517
35351
  // --------------------------------------------------------------------------
35352
+ async focusPart(target) {
35353
+ await componentLoaded(this);
35354
+ this[`${target || "hour"}El`]?.focus();
35355
+ }
35518
35356
  buttonActivated(event) {
35519
35357
  const { key } = event;
35520
35358
  if (key === " ") {
@@ -36052,7 +35890,7 @@ class TooltipManager {
36052
35890
  //
36053
35891
  // --------------------------------------------------------------------------
36054
35892
  this.registeredElements = new WeakMap();
36055
- this.hoverTimeouts = new WeakMap();
35893
+ this.hoverTimeout = null;
36056
35894
  this.registeredElementCount = 0;
36057
35895
  // --------------------------------------------------------------------------
36058
35896
  //
@@ -36068,18 +35906,31 @@ class TooltipManager {
36068
35906
  if (event.key === "Escape") {
36069
35907
  const { activeTooltipEl } = this;
36070
35908
  if (activeTooltipEl) {
36071
- this.clearHoverTimeout(activeTooltipEl);
35909
+ this.clearHoverTimeout();
36072
35910
  this.toggleTooltip(activeTooltipEl, false);
36073
35911
  }
36074
35912
  }
36075
35913
  };
36076
- this.mouseEnterShow = (event) => {
36077
- this.hoverEvent(event, true);
35914
+ this.queryHoveredTooltip = (composedPath) => {
35915
+ const { activeTooltipEl } = this;
35916
+ if (activeTooltipEl && composedPath.includes(activeTooltipEl)) {
35917
+ this.clearHoverTimeout();
35918
+ return;
35919
+ }
35920
+ const tooltip = this.queryTooltip(composedPath);
35921
+ if (tooltip) {
35922
+ this.toggleHoveredTooltip(tooltip, true);
35923
+ }
35924
+ else if (activeTooltipEl) {
35925
+ this.toggleHoveredTooltip(activeTooltipEl, false);
35926
+ }
36078
35927
  };
36079
- this.mouseLeaveHide = (event) => {
36080
- this.hoverEvent(event, false);
35928
+ this.pointerMoveHandler = (event) => {
35929
+ const composedPath = event.composedPath();
35930
+ this.clearHoverTimeout();
35931
+ this.hoverTimeout = window.setTimeout(() => this.queryHoveredTooltip(composedPath), TOOLTIP_DELAY_MS );
36081
35932
  };
36082
- this.clickHandler = (event) => {
35933
+ this.pointerDownHandler = (event) => {
36083
35934
  if (!isPrimaryPointerButton(event)) {
36084
35935
  return;
36085
35936
  }
@@ -36087,18 +35938,16 @@ class TooltipManager {
36087
35938
  this.clickedTooltip = clickedTooltip;
36088
35939
  if (clickedTooltip?.closeOnClick) {
36089
35940
  this.toggleTooltip(clickedTooltip, false);
36090
- this.clearHoverTimeout(clickedTooltip);
35941
+ this.clearHoverTimeout();
36091
35942
  }
36092
35943
  };
36093
- this.focusShow = (event) => {
36094
- this.focusEvent(event, true);
35944
+ this.focusInHandler = (event) => {
35945
+ this.queryFocusedTooltip(event, true);
36095
35946
  };
36096
- this.blurHide = (event) => {
36097
- this.focusEvent(event, false);
35947
+ this.focusOutHandler = (event) => {
35948
+ this.queryFocusedTooltip(event, false);
36098
35949
  };
36099
- this.hoverToggle = (tooltip, value) => {
36100
- const { hoverTimeouts } = this;
36101
- hoverTimeouts.delete(tooltip);
35950
+ this.toggleHoveredTooltip = (tooltip, value) => {
36102
35951
  if (value) {
36103
35952
  this.closeExistingTooltip();
36104
35953
  }
@@ -36127,26 +35976,20 @@ class TooltipManager {
36127
35976
  }
36128
35977
  addListeners() {
36129
35978
  document.addEventListener("keydown", this.keyDownHandler);
36130
- document.addEventListener("pointerover", this.mouseEnterShow, { capture: true });
36131
- document.addEventListener("pointerout", this.mouseLeaveHide, { capture: true });
36132
- document.addEventListener("pointerdown", this.clickHandler, { capture: true });
36133
- document.addEventListener("focusin", this.focusShow, { capture: true });
36134
- document.addEventListener("focusout", this.blurHide, { capture: true });
35979
+ document.addEventListener("pointermove", this.pointerMoveHandler, { capture: true });
35980
+ document.addEventListener("pointerdown", this.pointerDownHandler, { capture: true });
35981
+ document.addEventListener("focusin", this.focusInHandler, { capture: true });
35982
+ document.addEventListener("focusout", this.focusOutHandler, { capture: true });
36135
35983
  }
36136
35984
  removeListeners() {
36137
35985
  document.removeEventListener("keydown", this.keyDownHandler);
36138
- document.removeEventListener("pointerover", this.mouseEnterShow, { capture: true });
36139
- document.removeEventListener("pointerout", this.mouseLeaveHide, { capture: true });
36140
- document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
36141
- document.removeEventListener("focusin", this.focusShow, { capture: true });
36142
- document.removeEventListener("focusout", this.blurHide, { capture: true });
35986
+ document.removeEventListener("pointermove", this.pointerMoveHandler, { capture: true });
35987
+ document.removeEventListener("pointerdown", this.pointerDownHandler, { capture: true });
35988
+ document.removeEventListener("focusin", this.focusInHandler, { capture: true });
35989
+ document.removeEventListener("focusout", this.focusOutHandler, { capture: true });
36143
35990
  }
36144
- clearHoverTimeout(tooltip) {
36145
- const { hoverTimeouts } = this;
36146
- if (hoverTimeouts.has(tooltip)) {
36147
- window.clearTimeout(hoverTimeouts.get(tooltip));
36148
- hoverTimeouts.delete(tooltip);
36149
- }
35991
+ clearHoverTimeout() {
35992
+ window.clearTimeout(this.hoverTimeout);
36150
35993
  }
36151
35994
  closeExistingTooltip() {
36152
35995
  const { activeTooltipEl } = this;
@@ -36154,10 +35997,10 @@ class TooltipManager {
36154
35997
  this.toggleTooltip(activeTooltipEl, false);
36155
35998
  }
36156
35999
  }
36157
- focusTooltip(tooltip, value) {
36000
+ toggleFocusedTooltip(tooltip, value) {
36158
36001
  this.closeExistingTooltip();
36159
36002
  if (value) {
36160
- this.clearHoverTimeout(tooltip);
36003
+ this.clearHoverTimeout();
36161
36004
  }
36162
36005
  this.toggleTooltip(tooltip, value);
36163
36006
  }
@@ -36167,40 +36010,13 @@ class TooltipManager {
36167
36010
  this.activeTooltipEl = tooltip;
36168
36011
  }
36169
36012
  }
36170
- hoverTooltip(tooltip, value) {
36171
- this.clearHoverTimeout(tooltip);
36172
- const { hoverTimeouts } = this;
36173
- const timeoutId = window.setTimeout(() => this.hoverToggle(tooltip, value), TOOLTIP_DELAY_MS );
36174
- hoverTimeouts.set(tooltip, timeoutId);
36175
- }
36176
- activeTooltipHover(event) {
36177
- const { activeTooltipEl, hoverTimeouts } = this;
36178
- const { type } = event;
36179
- if (!activeTooltipEl) {
36180
- return;
36181
- }
36182
- if (type === "pointerover" && event.composedPath().includes(activeTooltipEl)) {
36183
- this.clearHoverTimeout(activeTooltipEl);
36184
- }
36185
- else if (type === "pointerout" && !hoverTimeouts.has(activeTooltipEl)) {
36186
- this.hoverTooltip(activeTooltipEl, false);
36187
- }
36188
- }
36189
- hoverEvent(event, value) {
36190
- const tooltip = this.queryTooltip(event.composedPath());
36191
- this.activeTooltipHover(event);
36192
- if (!tooltip) {
36193
- return;
36194
- }
36195
- this.hoverTooltip(tooltip, value);
36196
- }
36197
- focusEvent(event, value) {
36013
+ queryFocusedTooltip(event, value) {
36198
36014
  const tooltip = this.queryTooltip(event.composedPath());
36199
36015
  if (!tooltip || tooltip === this.clickedTooltip) {
36200
36016
  this.clickedTooltip = null;
36201
36017
  return;
36202
36018
  }
36203
- this.focusTooltip(tooltip, value);
36019
+ this.toggleFocusedTooltip(tooltip, value);
36204
36020
  }
36205
36021
  }
36206
36022
 
@@ -36594,7 +36410,7 @@ class Tree {
36594
36410
  }
36595
36411
  if (event.key === "ArrowRight" && !target.disabled) {
36596
36412
  if (target.hasChildren) {
36597
- if (target.expanded && getRootNode$1(this.el).activeElement === target) {
36413
+ if (target.expanded && getRootNode(this.el).activeElement === target) {
36598
36414
  // When focus is on an open node, moves focus to the first child node.
36599
36415
  getEnabledSiblingItem(target.querySelector("calcite-tree-item"), "down")?.focus();
36600
36416
  event.preventDefault();