@esri/calcite-components 1.1.1-next.1 → 1.2.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (808) hide show
  1. package/dist/calcite/assets/card/t9n/messages.json +1 -1
  2. package/dist/calcite/assets/card/t9n/messages_en.json +1 -1
  3. package/dist/calcite/assets/text-area/t9n/index.d.ts +4 -0
  4. package/dist/calcite/assets/text-area/t9n/messages.json +4 -0
  5. package/dist/calcite/assets/text-area/t9n/messages_ar.json +4 -0
  6. package/dist/calcite/assets/text-area/t9n/messages_bg.json +4 -0
  7. package/dist/calcite/assets/text-area/t9n/messages_bs.json +4 -0
  8. package/dist/calcite/assets/text-area/t9n/messages_ca.json +4 -0
  9. package/dist/calcite/assets/text-area/t9n/messages_cs.json +4 -0
  10. package/dist/calcite/assets/text-area/t9n/messages_da.json +4 -0
  11. package/dist/calcite/assets/text-area/t9n/messages_de.json +4 -0
  12. package/dist/calcite/assets/text-area/t9n/messages_el.json +4 -0
  13. package/dist/calcite/assets/text-area/t9n/messages_en.json +4 -0
  14. package/dist/calcite/assets/text-area/t9n/messages_es.json +4 -0
  15. package/dist/calcite/assets/text-area/t9n/messages_et.json +4 -0
  16. package/dist/calcite/assets/text-area/t9n/messages_fi.json +4 -0
  17. package/dist/calcite/assets/text-area/t9n/messages_fr.json +4 -0
  18. package/dist/calcite/assets/text-area/t9n/messages_he.json +4 -0
  19. package/dist/calcite/assets/text-area/t9n/messages_hr.json +4 -0
  20. package/dist/calcite/assets/text-area/t9n/messages_hu.json +4 -0
  21. package/dist/calcite/assets/text-area/t9n/messages_id.json +4 -0
  22. package/dist/calcite/assets/text-area/t9n/messages_it.json +4 -0
  23. package/dist/calcite/assets/text-area/t9n/messages_ja.json +4 -0
  24. package/dist/calcite/assets/text-area/t9n/messages_ko.json +4 -0
  25. package/dist/calcite/assets/text-area/t9n/messages_lt.json +4 -0
  26. package/dist/calcite/assets/text-area/t9n/messages_lv.json +4 -0
  27. package/dist/calcite/assets/text-area/t9n/messages_nl.json +4 -0
  28. package/dist/calcite/assets/text-area/t9n/messages_no.json +4 -0
  29. package/dist/calcite/assets/text-area/t9n/messages_pl.json +4 -0
  30. package/dist/calcite/assets/text-area/t9n/messages_pt-BR.json +4 -0
  31. package/dist/calcite/assets/text-area/t9n/messages_pt-PT.json +4 -0
  32. package/dist/calcite/assets/text-area/t9n/messages_ro.json +4 -0
  33. package/dist/calcite/assets/text-area/t9n/messages_ru.json +4 -0
  34. package/dist/calcite/assets/text-area/t9n/messages_sk.json +4 -0
  35. package/dist/calcite/assets/text-area/t9n/messages_sl.json +4 -0
  36. package/dist/calcite/assets/text-area/t9n/messages_sr.json +4 -0
  37. package/dist/calcite/assets/text-area/t9n/messages_sv.json +4 -0
  38. package/dist/calcite/assets/text-area/t9n/messages_th.json +4 -0
  39. package/dist/calcite/assets/text-area/t9n/messages_tr.json +4 -0
  40. package/dist/calcite/assets/text-area/t9n/messages_uk.json +4 -0
  41. package/dist/calcite/assets/text-area/t9n/messages_vi.json +4 -0
  42. package/dist/calcite/assets/text-area/t9n/messages_zh-CN.json +4 -0
  43. package/dist/calcite/assets/text-area/t9n/messages_zh-HK.json +4 -0
  44. package/dist/calcite/assets/text-area/t9n/messages_zh-TW.json +4 -0
  45. package/dist/calcite/calcite.esm.js +2 -2
  46. package/dist/calcite/index.esm.js +1 -1
  47. package/dist/calcite/{p-ebd84c48.js → p-009cdf81.js} +1 -1
  48. package/dist/calcite/{p-0e573040.js → p-01bae53a.js} +1 -1
  49. package/dist/calcite/{p-94a96a85.entry.js → p-01dff282.entry.js} +2 -2
  50. package/dist/calcite/p-0cc2912b.entry.js +6 -0
  51. package/dist/calcite/p-0dbe65b4.entry.js +6 -0
  52. package/dist/calcite/{p-fd14d3a1.entry.js → p-0df7d0fa.entry.js} +2 -2
  53. package/dist/calcite/{p-139f6eb1.entry.js → p-0fa079ab.entry.js} +2 -2
  54. package/dist/calcite/{p-4472eec9.entry.js → p-11ccdba6.entry.js} +2 -2
  55. package/dist/calcite/p-1710f282.entry.js +6 -0
  56. package/dist/calcite/{p-d26a147b.js → p-17452a8b.js} +2 -2
  57. package/dist/calcite/{p-1842016b.entry.js → p-191f1ea4.entry.js} +2 -2
  58. package/dist/calcite/p-19399493.entry.js +6 -0
  59. package/dist/calcite/{p-80344704.js → p-1b71ceac.js} +1 -1
  60. package/dist/calcite/p-1bf3fa71.entry.js +6 -0
  61. package/dist/calcite/{p-10bb5f12.entry.js → p-229de096.entry.js} +2 -2
  62. package/dist/calcite/{p-eca57069.js → p-250f2dd8.js} +2 -2
  63. package/dist/calcite/{p-9f094be8.js → p-29320a04.js} +1 -1
  64. package/dist/calcite/{p-734c9ad7.entry.js → p-299f8810.entry.js} +2 -2
  65. package/dist/calcite/p-2ba6797d.entry.js +6 -0
  66. package/dist/calcite/{p-c415f7b2.entry.js → p-2d32e684.entry.js} +2 -2
  67. package/dist/calcite/{p-47c49085.entry.js → p-2f8e5c75.entry.js} +2 -2
  68. package/dist/calcite/p-2faee15e.entry.js +6 -0
  69. package/dist/calcite/{p-630c919b.entry.js → p-3649ba59.entry.js} +2 -2
  70. package/dist/calcite/{p-cff554c3.js → p-37186f32.js} +3 -3
  71. package/dist/calcite/{p-ad65a76c.entry.js → p-3b734989.entry.js} +2 -2
  72. package/dist/calcite/{p-ec5edf75.js → p-3bcd2808.js} +1 -1
  73. package/dist/calcite/{p-5167e5bd.entry.js → p-3cfcd6df.entry.js} +2 -2
  74. package/dist/calcite/{p-25b59b64.entry.js → p-41d35a5f.entry.js} +2 -2
  75. package/dist/calcite/{p-f8020b13.js → p-485849ea.js} +1 -1
  76. package/dist/calcite/{p-d70da26b.js → p-4873db8d.js} +2 -2
  77. package/dist/calcite/{p-983244bc.js → p-491ffdab.js} +1 -1
  78. package/dist/calcite/p-4a16f217.entry.js +6 -0
  79. package/dist/calcite/{p-e4f9071c.entry.js → p-4a5fb2fe.entry.js} +2 -2
  80. package/dist/calcite/{p-7745ec84.entry.js → p-4b698f89.entry.js} +2 -2
  81. package/dist/calcite/p-51e56344.entry.js +6 -0
  82. package/dist/calcite/{p-5cc1689c.entry.js → p-5325caff.entry.js} +2 -2
  83. package/dist/calcite/p-53f42797.entry.js +6 -0
  84. package/dist/calcite/{p-133e4307.entry.js → p-58bf7960.entry.js} +2 -2
  85. package/dist/calcite/{p-9d18f5bb.js → p-595de1d8.js} +1 -1
  86. package/dist/calcite/{p-775bed66.js → p-5b1813e6.js} +2 -2
  87. package/dist/calcite/p-5d9f57cb.entry.js +6 -0
  88. package/dist/calcite/{p-eeddb289.entry.js → p-67257f68.entry.js} +2 -2
  89. package/dist/calcite/p-67be7a4f.entry.js +6 -0
  90. package/dist/calcite/{p-aeb9de45.js → p-683e8cdc.js} +1 -1
  91. package/dist/calcite/{p-4cf4fcda.entry.js → p-6913e0bb.entry.js} +2 -2
  92. package/dist/calcite/{p-e37654ca.js → p-7261d42e.js} +2 -2
  93. package/dist/calcite/p-74465f43.entry.js +6 -0
  94. package/dist/calcite/{p-64797899.entry.js → p-7add3d50.entry.js} +2 -2
  95. package/dist/calcite/{p-bab02490.entry.js → p-824c75d0.entry.js} +2 -2
  96. package/dist/calcite/{p-53515d24.js → p-82a15638.js} +1 -1
  97. package/dist/calcite/p-840fc77d.js +6 -0
  98. package/dist/calcite/{p-db86773b.entry.js → p-85bc7036.entry.js} +2 -2
  99. package/dist/calcite/{p-82347c12.entry.js → p-8a793cda.entry.js} +2 -2
  100. package/dist/calcite/{p-3aed468d.entry.js → p-8ff5c920.entry.js} +2 -2
  101. package/dist/calcite/{p-7deb0edd.js → p-905a4844.js} +2 -2
  102. package/dist/calcite/p-96546419.entry.js +6 -0
  103. package/dist/calcite/{p-70d1240e.entry.js → p-971eb9cc.entry.js} +2 -2
  104. package/dist/calcite/{p-8b5dbdcb.entry.js → p-97d8ff8d.entry.js} +2 -2
  105. package/dist/calcite/{p-80370275.entry.js → p-9868b4cd.entry.js} +2 -2
  106. package/dist/calcite/{p-2c2c6832.js → p-986d64e0.js} +2 -2
  107. package/dist/calcite/p-9f0af2ad.entry.js +6 -0
  108. package/dist/calcite/{p-1514dfff.entry.js → p-a59e48a8.entry.js} +2 -2
  109. package/dist/calcite/p-a76943b9.entry.js +6 -0
  110. package/dist/calcite/{p-b3bbd12b.entry.js → p-a9b16a7f.entry.js} +2 -2
  111. package/dist/calcite/p-aa104a3b.js +6 -0
  112. package/dist/calcite/{p-c92eb528.entry.js → p-ab821a67.entry.js} +2 -2
  113. package/dist/calcite/p-ad624670.entry.js +6 -0
  114. package/dist/calcite/{p-db9aa481.entry.js → p-beaa3123.entry.js} +2 -2
  115. package/dist/calcite/{p-83b37109.js → p-bf67d0cf.js} +1 -1
  116. package/dist/calcite/p-c0b4ecc4.js +6 -0
  117. package/dist/calcite/{p-49660b47.entry.js → p-c234fd11.entry.js} +2 -2
  118. package/dist/calcite/{p-b1b90aed.entry.js → p-c5075cf8.entry.js} +2 -2
  119. package/dist/calcite/{p-6e2469fa.js → p-c61d2840.js} +1 -1
  120. package/dist/calcite/{p-e2ca6e76.js → p-c8bd584c.js} +1 -1
  121. package/dist/calcite/{p-32e6bbaa.js → p-c9e2a706.js} +1 -1
  122. package/dist/calcite/{p-b8b075fd.js → p-d9c604d4.js} +2 -2
  123. package/dist/calcite/{p-1fa03249.entry.js → p-db503324.entry.js} +2 -2
  124. package/dist/calcite/{p-cf386d4e.entry.js → p-db9cf652.entry.js} +2 -2
  125. package/dist/calcite/{p-26bef7a5.entry.js → p-dd760240.entry.js} +2 -2
  126. package/dist/calcite/{p-1e3ad5b6.js → p-e0bc036b.js} +1 -1
  127. package/dist/calcite/{p-fa1fa6dd.js → p-e32a2c12.js} +1 -1
  128. package/dist/calcite/p-e45c5615.js +6 -0
  129. package/dist/calcite/p-e85ab186.entry.js +6 -0
  130. package/dist/calcite/{p-e8d4a499.js → p-ea3ee32a.js} +2 -2
  131. package/dist/calcite/p-ec2495bf.entry.js +6 -0
  132. package/dist/calcite/p-ef6c3d34.entry.js +6 -0
  133. package/dist/calcite/p-f2b4d1c6.entry.js +6 -0
  134. package/dist/calcite/{p-67c57a3e.entry.js → p-f4b18bce.entry.js} +2 -2
  135. package/dist/calcite/p-f4ca2066.entry.js +6 -0
  136. package/dist/calcite/{p-53f86dbe.js → p-f4dc36ad.js} +1 -1
  137. package/dist/calcite/{p-39379a0e.js → p-f55c6b5b.js} +2 -2
  138. package/dist/calcite/{p-460c2796.js → p-f660a07d.js} +2 -2
  139. package/dist/calcite/p-f8982114.entry.js +6 -0
  140. package/dist/calcite/{p-8749d63f.entry.js → p-fe25f9d1.entry.js} +2 -2
  141. package/dist/cjs/{ExpandToggle-0e681d38.js → ExpandToggle-4d49f946.js} +5 -5
  142. package/dist/cjs/{Heading-7929d895.js → Heading-b358f234.js} +2 -2
  143. package/dist/cjs/{app-globals-de4fc983.js → app-globals-b6c2473d.js} +2 -2
  144. package/dist/cjs/{array-243ae59e.js → array-461197aa.js} +1 -1
  145. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  146. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  147. package/dist/cjs/calcite-action-group.cjs.entry.js +27 -12
  148. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  149. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  150. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  151. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  152. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  153. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  154. package/dist/cjs/calcite-button.cjs.entry.js +15 -14
  155. package/dist/cjs/calcite-card.cjs.entry.js +11 -12
  156. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
  157. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  158. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -80
  159. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -18
  160. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +27 -12
  161. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -12
  162. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  164. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  165. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  166. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
  167. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  168. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  169. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  170. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -16
  171. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  172. package/dist/cjs/calcite-input-number.cjs.entry.js +15 -14
  173. package/dist/cjs/calcite-input-text.cjs.entry.js +15 -14
  174. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -13
  175. package/dist/cjs/calcite-input.cjs.entry.js +15 -14
  176. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  177. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  178. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  179. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  180. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  181. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  182. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -10
  183. package/dist/cjs/calcite-pagination.cjs.entry.js +22 -11
  184. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  185. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  186. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  187. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  188. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  189. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
  190. package/dist/cjs/calcite-rating.cjs.entry.js +14 -13
  191. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -9
  193. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  194. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  195. package/dist/cjs/calcite-split-button.cjs.entry.js +20 -3
  196. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
  198. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-text-area.cjs.entry.js +246 -0
  200. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  205. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  206. package/dist/cjs/calcite.cjs.js +5 -5
  207. package/dist/cjs/{conditionalSlot-19a6d3cb.js → conditionalSlot-d965154a.js} +3 -3
  208. package/dist/cjs/{debounce-3cc57c75.js → debounce-ae6fa9f2.js} +1 -1
  209. package/dist/cjs/{dom-e0a2d0ae.js → dom-157e5168.js} +6 -3
  210. package/dist/cjs/{filter-079fefb4.js → filter-e1558305.js} +2 -2
  211. package/dist/cjs/{floating-ui-4daec94e.js → floating-ui-3698a964.js} +4 -4
  212. package/dist/cjs/{focusTrapComponent-f253c50b.js → focusTrapComponent-9a4e8017.js} +2 -2
  213. package/dist/cjs/{form-9a7669e1.js → form-f210087b.js} +38 -8
  214. package/dist/cjs/{guid-fde5f7dd.js → guid-e2fe0fcb.js} +1 -1
  215. package/dist/cjs/{index-c29fa197.js → index-0e58b556.js} +5 -1
  216. package/dist/cjs/index.cjs.js +1 -1
  217. package/dist/cjs/{interactive-3f517a3e.js → interactive-dd6b3d4d.js} +1 -1
  218. package/dist/cjs/{key-39bacf88.js → key-71a6c0d4.js} +1 -1
  219. package/dist/cjs/{label-f9e570e2.js → label-7db5ca6e.js} +2 -2
  220. package/dist/cjs/{loadable-40964a10.js → loadable-b7e0b939.js} +1 -1
  221. package/dist/cjs/loader.cjs.js +5 -5
  222. package/dist/cjs/{locale-d3df84e5.js → locale-23edc61e.js} +4 -4
  223. package/dist/cjs/{math-f7554e54.js → math-c714601a.js} +1 -1
  224. package/dist/cjs/{observers-151ad03f.js → observers-fd18069f.js} +1 -1
  225. package/dist/cjs/{openCloseComponent-cbd1cf92.js → openCloseComponent-13afcb8d.js} +2 -2
  226. package/dist/cjs/{resources-b3485589.js → resources-2ce530ee.js} +1 -1
  227. package/dist/cjs/{resources-29d69c62.js → resources-633d7ab0.js} +1 -1
  228. package/dist/cjs/{resources-c5ad9882.js → resources-8a4a0985.js} +1 -1
  229. package/dist/cjs/{resources-87806253.js → resources-c571e714.js} +5 -5
  230. package/dist/cjs/{resources-a49039d3.js → resources-c62ada3b.js} +1 -1
  231. package/dist/cjs/{resources-4e7a2c85.js → resources-f6a1b212.js} +1 -1
  232. package/dist/cjs/{sortable.esm-1f85cd7b.js → sortable.esm-9c6fe72f.js} +1 -1
  233. package/dist/cjs/{t9n-96cbfc9b.js → t9n-c5c0bbe4.js} +3 -3
  234. package/dist/cjs/throttle-cde383a7.js +75 -0
  235. package/dist/cjs/{utils-2a0cb4f5.js → utils-673f2032.js} +1 -1
  236. package/dist/cjs/{utils-2eab20f9.js → utils-8c2850cb.js} +3 -3
  237. package/dist/cjs/{utils-8224563b.js → utils-cb15721f.js} +1 -1
  238. package/dist/collection/collection-manifest.json +6 -0
  239. package/dist/collection/components/accordion/accordion.js +1 -1
  240. package/dist/collection/components/accordion-item/accordion-item.js +3 -1
  241. package/dist/collection/components/accordion-item/resources.js +1 -1
  242. package/dist/collection/components/action/action.js +1 -1
  243. package/dist/collection/components/action/resources.js +1 -1
  244. package/dist/collection/components/action-bar/action-bar.js +1 -1
  245. package/dist/collection/components/action-bar/resources.js +1 -1
  246. package/dist/collection/components/action-bar/utils.js +1 -1
  247. package/dist/collection/components/action-group/action-group.js +37 -3
  248. package/dist/collection/components/action-group/resources.js +1 -1
  249. package/dist/collection/components/action-menu/action-menu.js +1 -1
  250. package/dist/collection/components/action-menu/resources.js +1 -1
  251. package/dist/collection/components/action-pad/action-pad.js +1 -1
  252. package/dist/collection/components/action-pad/resources.js +1 -1
  253. package/dist/collection/components/alert/alert.js +1 -1
  254. package/dist/collection/components/alert/resources.js +1 -1
  255. package/dist/collection/components/avatar/avatar.js +1 -1
  256. package/dist/collection/components/avatar/utils.js +1 -1
  257. package/dist/collection/components/block/block.js +1 -1
  258. package/dist/collection/components/block/resources.js +1 -1
  259. package/dist/collection/components/block-section/block-section.js +1 -1
  260. package/dist/collection/components/block-section/resources.js +1 -1
  261. package/dist/collection/components/button/button.js +21 -4
  262. package/dist/collection/components/button/resources.js +1 -1
  263. package/dist/collection/components/card/assets/card/t9n/messages.json +1 -1
  264. package/dist/collection/components/card/assets/card/t9n/messages_en.json +1 -1
  265. package/dist/collection/components/card/card.js +2 -3
  266. package/dist/collection/components/card/resources.js +1 -1
  267. package/dist/collection/components/checkbox/checkbox.js +19 -1
  268. package/dist/collection/components/chip/chip.js +1 -1
  269. package/dist/collection/components/chip/resources.js +1 -1
  270. package/dist/collection/components/color-picker/color-picker.js +1 -1
  271. package/dist/collection/components/color-picker/resources.js +1 -1
  272. package/dist/collection/components/color-picker/utils.js +1 -1
  273. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  274. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  275. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  276. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  277. package/dist/collection/components/combobox/combobox.js +19 -1
  278. package/dist/collection/components/combobox/resources.js +1 -1
  279. package/dist/collection/components/combobox/utils.js +1 -1
  280. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  281. package/dist/collection/components/combobox-item/resources.js +1 -1
  282. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  283. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  284. package/dist/collection/components/date-picker/date-picker.js +36 -1
  285. package/dist/collection/components/date-picker/resources.js +1 -1
  286. package/dist/collection/components/date-picker/utils.js +1 -1
  287. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  288. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  289. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  290. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  291. package/dist/collection/components/dropdown/dropdown.js +32 -1
  292. package/dist/collection/components/dropdown/resources.js +1 -1
  293. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  294. package/dist/collection/components/dropdown-group/resources.js +1 -1
  295. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  296. package/dist/collection/components/dropdown-item/resources.js +1 -1
  297. package/dist/collection/components/fab/fab.js +1 -1
  298. package/dist/collection/components/fab/resources.js +1 -1
  299. package/dist/collection/components/filter/filter.js +1 -1
  300. package/dist/collection/components/filter/resources.js +1 -1
  301. package/dist/collection/components/flow/flow.js +1 -1
  302. package/dist/collection/components/flow/resources.js +1 -1
  303. package/dist/collection/components/flow-item/flow-item.js +1 -1
  304. package/dist/collection/components/flow-item/resources.js +1 -1
  305. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  306. package/dist/collection/components/functional/Heading.js +1 -1
  307. package/dist/collection/components/graph/graph.js +1 -1
  308. package/dist/collection/components/graph/util.js +1 -1
  309. package/dist/collection/components/handle/handle.js +1 -1
  310. package/dist/collection/components/handle/resources.js +1 -1
  311. package/dist/collection/components/icon/icon.js +1 -1
  312. package/dist/collection/components/icon/resources.js +1 -1
  313. package/dist/collection/components/icon/utils.js +1 -1
  314. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  315. package/dist/collection/components/inline-editable/resources.js +1 -1
  316. package/dist/collection/components/input/input.js +22 -4
  317. package/dist/collection/components/input/resources.js +1 -1
  318. package/dist/collection/components/input-date-picker/input-date-picker.js +19 -1
  319. package/dist/collection/components/input-date-picker/resources.js +1 -1
  320. package/dist/collection/components/input-message/input-message.js +1 -1
  321. package/dist/collection/components/input-message/interfaces.js +1 -1
  322. package/dist/collection/components/input-number/input-number.js +22 -4
  323. package/dist/collection/components/input-number/resources.js +1 -1
  324. package/dist/collection/components/input-text/input-text.js +22 -4
  325. package/dist/collection/components/input-text/resources.js +1 -1
  326. package/dist/collection/components/input-time-picker/input-time-picker.js +19 -1
  327. package/dist/collection/components/label/label.js +1 -1
  328. package/dist/collection/components/label/resources.js +1 -1
  329. package/dist/collection/components/link/link.js +1 -1
  330. package/dist/collection/components/list/list.js +1 -1
  331. package/dist/collection/components/list/resources.js +1 -1
  332. package/dist/collection/components/list-item/list-item.js +1 -1
  333. package/dist/collection/components/list-item/resources.js +1 -1
  334. package/dist/collection/components/list-item/utils.js +1 -1
  335. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  336. package/dist/collection/components/list-item-group/resources.js +1 -1
  337. package/dist/collection/components/loader/loader.js +1 -1
  338. package/dist/collection/components/modal/modal.js +3 -3
  339. package/dist/collection/components/modal/resources.js +1 -1
  340. package/dist/collection/components/notice/notice.js +1 -1
  341. package/dist/collection/components/notice/resources.js +1 -1
  342. package/dist/collection/components/option/option.js +1 -1
  343. package/dist/collection/components/option-group/option-group.js +1 -1
  344. package/dist/collection/components/pagination/pagination.js +30 -3
  345. package/dist/collection/components/pagination/resources.js +1 -1
  346. package/dist/collection/components/panel/panel.js +1 -1
  347. package/dist/collection/components/panel/resources.js +1 -1
  348. package/dist/collection/components/pick-list/pick-list.js +1 -1
  349. package/dist/collection/components/pick-list/resources.js +1 -1
  350. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  351. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  352. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  353. package/dist/collection/components/pick-list-group/resources.js +1 -1
  354. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  355. package/dist/collection/components/pick-list-item/resources.js +1 -1
  356. package/dist/collection/components/popover/PopoverManager.js +1 -1
  357. package/dist/collection/components/popover/popover.js +1 -1
  358. package/dist/collection/components/popover/resources.js +1 -1
  359. package/dist/collection/components/progress/progress.js +1 -1
  360. package/dist/collection/components/radio-button/radio-button.js +19 -1
  361. package/dist/collection/components/radio-button/resources.js +1 -1
  362. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  363. package/dist/collection/components/rating/function/star.js +1 -1
  364. package/dist/collection/components/rating/rating.js +19 -1
  365. package/dist/collection/components/resources.js +1 -1
  366. package/dist/collection/components/scrim/resources.js +1 -1
  367. package/dist/collection/components/scrim/scrim.js +1 -1
  368. package/dist/collection/components/segmented-control/segmented-control.js +19 -1
  369. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  370. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  371. package/dist/collection/components/select/resources.js +1 -1
  372. package/dist/collection/components/select/select.js +19 -1
  373. package/dist/collection/components/shell/resources.js +1 -1
  374. package/dist/collection/components/shell/shell.js +1 -1
  375. package/dist/collection/components/shell-center-row/resources.js +1 -1
  376. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  377. package/dist/collection/components/shell-panel/resources.js +1 -1
  378. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  379. package/dist/collection/components/slider/resources.js +1 -1
  380. package/dist/collection/components/slider/slider.js +19 -1
  381. package/dist/collection/components/sortable-list/resources.js +1 -1
  382. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  383. package/dist/collection/components/split-button/resources.js +1 -1
  384. package/dist/collection/components/split-button/split-button.js +38 -1
  385. package/dist/collection/components/stepper/stepper.js +1 -1
  386. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  387. package/dist/collection/components/switch/switch.js +19 -1
  388. package/dist/collection/components/tab/tab.js +1 -1
  389. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  390. package/dist/collection/components/tab-title/resources.js +1 -1
  391. package/dist/collection/components/tab-title/tab-title.js +1 -1
  392. package/dist/collection/components/tabs/resources.js +1 -1
  393. package/dist/collection/components/tabs/tabs.js +1 -1
  394. package/dist/collection/components/text-area/assets/text-area/t9n/index.d.ts +4 -0
  395. package/dist/collection/components/text-area/assets/text-area/t9n/messages.json +4 -0
  396. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ar.json +4 -0
  397. package/dist/collection/components/text-area/assets/text-area/t9n/messages_bg.json +4 -0
  398. package/dist/collection/components/text-area/assets/text-area/t9n/messages_bs.json +4 -0
  399. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ca.json +4 -0
  400. package/dist/collection/components/text-area/assets/text-area/t9n/messages_cs.json +4 -0
  401. package/dist/collection/components/text-area/assets/text-area/t9n/messages_da.json +4 -0
  402. package/dist/collection/components/text-area/assets/text-area/t9n/messages_de.json +4 -0
  403. package/dist/collection/components/text-area/assets/text-area/t9n/messages_el.json +4 -0
  404. package/dist/collection/components/text-area/assets/text-area/t9n/messages_en.json +4 -0
  405. package/dist/collection/components/text-area/assets/text-area/t9n/messages_es.json +4 -0
  406. package/dist/collection/components/text-area/assets/text-area/t9n/messages_et.json +4 -0
  407. package/dist/collection/components/text-area/assets/text-area/t9n/messages_fi.json +4 -0
  408. package/dist/collection/components/text-area/assets/text-area/t9n/messages_fr.json +4 -0
  409. package/dist/collection/components/text-area/assets/text-area/t9n/messages_he.json +4 -0
  410. package/dist/collection/components/text-area/assets/text-area/t9n/messages_hr.json +4 -0
  411. package/dist/collection/components/text-area/assets/text-area/t9n/messages_hu.json +4 -0
  412. package/dist/collection/components/text-area/assets/text-area/t9n/messages_id.json +4 -0
  413. package/dist/collection/components/text-area/assets/text-area/t9n/messages_it.json +4 -0
  414. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ja.json +4 -0
  415. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ko.json +4 -0
  416. package/dist/collection/components/text-area/assets/text-area/t9n/messages_lt.json +4 -0
  417. package/dist/collection/components/text-area/assets/text-area/t9n/messages_lv.json +4 -0
  418. package/dist/collection/components/text-area/assets/text-area/t9n/messages_nl.json +4 -0
  419. package/dist/collection/components/text-area/assets/text-area/t9n/messages_no.json +4 -0
  420. package/dist/collection/components/text-area/assets/text-area/t9n/messages_pl.json +4 -0
  421. package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-BR.json +4 -0
  422. package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-PT.json +4 -0
  423. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ro.json +4 -0
  424. package/dist/collection/components/text-area/assets/text-area/t9n/messages_ru.json +4 -0
  425. package/dist/collection/components/text-area/assets/text-area/t9n/messages_sk.json +4 -0
  426. package/dist/collection/components/text-area/assets/text-area/t9n/messages_sl.json +4 -0
  427. package/dist/collection/components/text-area/assets/text-area/t9n/messages_sr.json +4 -0
  428. package/dist/collection/components/text-area/assets/text-area/t9n/messages_sv.json +4 -0
  429. package/dist/collection/components/text-area/assets/text-area/t9n/messages_th.json +4 -0
  430. package/dist/collection/components/text-area/assets/text-area/t9n/messages_tr.json +4 -0
  431. package/dist/collection/components/text-area/assets/text-area/t9n/messages_uk.json +4 -0
  432. package/dist/collection/components/text-area/assets/text-area/t9n/messages_vi.json +4 -0
  433. package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-CN.json +4 -0
  434. package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-HK.json +4 -0
  435. package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-TW.json +4 -0
  436. package/dist/collection/components/text-area/resources.js +27 -0
  437. package/dist/collection/components/text-area/text-area.css +287 -0
  438. package/dist/collection/components/text-area/text-area.js +691 -0
  439. package/dist/collection/components/tile/resources.js +1 -1
  440. package/dist/collection/components/tile/tile.css +6 -0
  441. package/dist/collection/components/tile/tile.js +1 -1
  442. package/dist/collection/components/tile-select/resources.js +1 -1
  443. package/dist/collection/components/tile-select/tile-select.js +7 -7
  444. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  445. package/dist/collection/components/time-picker/resources.js +1 -1
  446. package/dist/collection/components/time-picker/time-picker.js +1 -1
  447. package/dist/collection/components/tip/resources.js +1 -1
  448. package/dist/collection/components/tip/tip.js +1 -1
  449. package/dist/collection/components/tip-group/tip-group.js +1 -1
  450. package/dist/collection/components/tip-manager/resources.js +1 -1
  451. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  452. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  453. package/dist/collection/components/tooltip/resources.js +1 -1
  454. package/dist/collection/components/tooltip/tooltip.js +1 -1
  455. package/dist/collection/components/tooltip/utils.js +1 -1
  456. package/dist/collection/components/tree/tree.js +1 -1
  457. package/dist/collection/components/tree/utils.js +1 -1
  458. package/dist/collection/components/tree-item/resources.js +1 -1
  459. package/dist/collection/components/tree-item/tree-item.js +1 -1
  460. package/dist/collection/components/value-list/resources.js +1 -1
  461. package/dist/collection/components/value-list/utils.js +1 -1
  462. package/dist/collection/components/value-list/value-list.js +1 -1
  463. package/dist/collection/components/value-list-item/resources.js +1 -1
  464. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  465. package/dist/collection/utils/array.js +1 -1
  466. package/dist/collection/utils/conditionalSlot.js +1 -1
  467. package/dist/collection/utils/config.js +1 -1
  468. package/dist/collection/utils/date.js +1 -1
  469. package/dist/collection/utils/dom.js +4 -1
  470. package/dist/collection/utils/filter.js +1 -1
  471. package/dist/collection/utils/floating-ui/utils.js +1 -1
  472. package/dist/collection/utils/floating-ui.js +1 -1
  473. package/dist/collection/utils/focusTrapComponent.js +1 -1
  474. package/dist/collection/utils/form.js +36 -7
  475. package/dist/collection/utils/globalAttributes.js +1 -1
  476. package/dist/collection/utils/globalScript.js +1 -1
  477. package/dist/collection/utils/guid.js +1 -1
  478. package/dist/collection/utils/interactive.js +1 -1
  479. package/dist/collection/utils/key.js +1 -1
  480. package/dist/collection/utils/label.js +1 -1
  481. package/dist/collection/utils/loadable.js +1 -1
  482. package/dist/collection/utils/locale.js +1 -1
  483. package/dist/collection/utils/math.js +1 -1
  484. package/dist/collection/utils/mode.js +1 -1
  485. package/dist/collection/utils/number.js +1 -1
  486. package/dist/collection/utils/observers.js +1 -1
  487. package/dist/collection/utils/openCloseComponent.js +1 -1
  488. package/dist/collection/utils/resources.js +1 -1
  489. package/dist/collection/utils/t9n.js +1 -1
  490. package/dist/collection/utils/time.js +1 -1
  491. package/dist/components/ExpandToggle.js +1 -1
  492. package/dist/components/Heading.js +1 -1
  493. package/dist/components/action-group.js +18 -2
  494. package/dist/components/action-menu.js +1 -1
  495. package/dist/components/action.js +1 -1
  496. package/dist/components/array.js +1 -1
  497. package/dist/components/button.js +5 -4
  498. package/dist/components/calcite-accordion-item.js +1 -1
  499. package/dist/components/calcite-accordion.js +1 -1
  500. package/dist/components/calcite-action-bar.js +1 -1
  501. package/dist/components/calcite-action-group.js +1 -1
  502. package/dist/components/calcite-action-menu.js +1 -1
  503. package/dist/components/calcite-action-pad.js +1 -1
  504. package/dist/components/calcite-action.js +1 -1
  505. package/dist/components/calcite-alert.js +1 -1
  506. package/dist/components/calcite-avatar.js +1 -1
  507. package/dist/components/calcite-block-section.js +1 -1
  508. package/dist/components/calcite-block.js +1 -1
  509. package/dist/components/calcite-button.js +1 -1
  510. package/dist/components/calcite-card.js +2 -3
  511. package/dist/components/calcite-checkbox.js +1 -1
  512. package/dist/components/calcite-chip.js +1 -1
  513. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  514. package/dist/components/calcite-color-picker-swatch.js +1 -1
  515. package/dist/components/calcite-color-picker.js +2 -67
  516. package/dist/components/calcite-combobox-item-group.js +1 -1
  517. package/dist/components/calcite-combobox-item.js +1 -1
  518. package/dist/components/calcite-combobox.js +3 -1
  519. package/dist/components/calcite-date-picker-day.js +1 -1
  520. package/dist/components/calcite-date-picker-month-header.js +1 -1
  521. package/dist/components/calcite-date-picker-month.js +1 -1
  522. package/dist/components/calcite-date-picker.js +1 -1
  523. package/dist/components/calcite-dropdown-group.js +1 -1
  524. package/dist/components/calcite-dropdown-item.js +1 -1
  525. package/dist/components/calcite-dropdown.js +1 -1
  526. package/dist/components/calcite-fab.js +1 -1
  527. package/dist/components/calcite-filter.js +1 -1
  528. package/dist/components/calcite-flow-item.js +1 -1
  529. package/dist/components/calcite-flow.js +1 -1
  530. package/dist/components/calcite-graph.js +1 -1
  531. package/dist/components/calcite-handle.js +1 -1
  532. package/dist/components/calcite-icon.js +1 -1
  533. package/dist/components/calcite-inline-editable.js +1 -1
  534. package/dist/components/calcite-input-date-picker.js +3 -1
  535. package/dist/components/calcite-input-message.js +1 -1
  536. package/dist/components/calcite-input-number.js +4 -2
  537. package/dist/components/calcite-input-text.js +4 -2
  538. package/dist/components/calcite-input-time-picker.js +3 -1
  539. package/dist/components/calcite-input.js +1 -1
  540. package/dist/components/calcite-label.js +1 -1
  541. package/dist/components/calcite-link.js +1 -1
  542. package/dist/components/calcite-list-item-group.js +1 -1
  543. package/dist/components/calcite-list-item.js +1 -1
  544. package/dist/components/calcite-list.js +1 -1
  545. package/dist/components/calcite-loader.js +1 -1
  546. package/dist/components/calcite-modal.js +1 -1
  547. package/dist/components/calcite-notice.js +1 -1
  548. package/dist/components/calcite-option-group.js +1 -1
  549. package/dist/components/calcite-option.js +1 -1
  550. package/dist/components/calcite-pagination.js +15 -3
  551. package/dist/components/calcite-panel.js +1 -1
  552. package/dist/components/calcite-pick-list-group.js +1 -1
  553. package/dist/components/calcite-pick-list-item.js +1 -1
  554. package/dist/components/calcite-pick-list.js +1 -1
  555. package/dist/components/calcite-popover.js +1 -1
  556. package/dist/components/calcite-progress.js +1 -1
  557. package/dist/components/calcite-radio-button-group.js +1 -1
  558. package/dist/components/calcite-radio-button.js +3 -1
  559. package/dist/components/calcite-rating.js +3 -1
  560. package/dist/components/calcite-scrim.js +1 -1
  561. package/dist/components/calcite-segmented-control-item.js +1 -1
  562. package/dist/components/calcite-segmented-control.js +3 -1
  563. package/dist/components/calcite-select.js +3 -1
  564. package/dist/components/calcite-shell-center-row.js +1 -1
  565. package/dist/components/calcite-shell-panel.js +1 -1
  566. package/dist/components/calcite-shell.js +1 -1
  567. package/dist/components/calcite-slider.js +3 -1
  568. package/dist/components/calcite-sortable-list.js +1 -1
  569. package/dist/components/calcite-split-button.js +20 -2
  570. package/dist/components/calcite-stepper-item.js +1 -1
  571. package/dist/components/calcite-stepper.js +1 -1
  572. package/dist/components/calcite-switch.js +1 -1
  573. package/dist/components/calcite-tab-nav.js +1 -1
  574. package/dist/components/calcite-tab-title.js +1 -1
  575. package/dist/components/calcite-tab.js +1 -1
  576. package/dist/components/calcite-tabs.js +1 -1
  577. package/dist/components/calcite-text-area.d.ts +11 -0
  578. package/dist/components/calcite-text-area.js +283 -0
  579. package/dist/components/calcite-tile-select-group.js +1 -1
  580. package/dist/components/calcite-tile-select.js +5 -5
  581. package/dist/components/calcite-tile.js +1 -1
  582. package/dist/components/calcite-time-picker.js +1 -1
  583. package/dist/components/calcite-tip-group.js +1 -1
  584. package/dist/components/calcite-tip-manager.js +1 -1
  585. package/dist/components/calcite-tip.js +1 -1
  586. package/dist/components/calcite-tooltip.js +1 -1
  587. package/dist/components/calcite-tree-item.js +1 -1
  588. package/dist/components/calcite-tree.js +1 -1
  589. package/dist/components/calcite-value-list-item.js +1 -1
  590. package/dist/components/calcite-value-list.js +1 -1
  591. package/dist/components/checkbox.js +3 -1
  592. package/dist/components/chip.js +1 -1
  593. package/dist/components/color-picker-hex-input.js +1 -1
  594. package/dist/components/color-picker-swatch.js +1 -1
  595. package/dist/components/conditionalSlot.js +1 -1
  596. package/dist/components/date-picker-day.js +1 -1
  597. package/dist/components/date-picker-month-header.js +1 -1
  598. package/dist/components/date-picker-month.js +1 -1
  599. package/dist/components/date-picker.js +18 -2
  600. package/dist/components/date.js +1 -1
  601. package/dist/components/debounce.js +1 -1
  602. package/dist/components/dom.js +4 -1
  603. package/dist/components/dropdown.js +17 -1
  604. package/dist/components/filter.js +1 -1
  605. package/dist/components/filter2.js +1 -1
  606. package/dist/components/floating-ui.js +1 -1
  607. package/dist/components/focusTrapComponent.js +1 -1
  608. package/dist/components/form.js +37 -8
  609. package/dist/components/graph.js +1 -1
  610. package/dist/components/guid.js +1 -1
  611. package/dist/components/handle.js +1 -1
  612. package/dist/components/icon.js +1 -1
  613. package/dist/components/index.d.ts +1 -0
  614. package/dist/components/index.js +1 -1
  615. package/dist/components/input.js +4 -2
  616. package/dist/components/interactive.js +1 -1
  617. package/dist/components/key.js +1 -1
  618. package/dist/components/label.js +1 -1
  619. package/dist/components/label2.js +1 -1
  620. package/dist/components/link.js +1 -1
  621. package/dist/components/loadable.js +1 -1
  622. package/dist/components/loader.js +1 -1
  623. package/dist/components/locale.js +1 -1
  624. package/dist/components/math.js +1 -1
  625. package/dist/components/observers.js +1 -1
  626. package/dist/components/openCloseComponent.js +1 -1
  627. package/dist/components/panel.js +1 -1
  628. package/dist/components/pick-list-item.js +1 -1
  629. package/dist/components/popover.js +1 -1
  630. package/dist/components/progress.js +1 -1
  631. package/dist/components/resources.js +1 -1
  632. package/dist/components/resources2.js +1 -1
  633. package/dist/components/resources3.js +1 -1
  634. package/dist/components/scrim.js +1 -1
  635. package/dist/components/shared-list-render.js +1 -1
  636. package/dist/components/sortable.esm.js +1 -1
  637. package/dist/components/switch.js +3 -1
  638. package/dist/components/t9n.js +1 -1
  639. package/dist/components/tab-nav.js +1 -1
  640. package/dist/components/tab-title.js +1 -1
  641. package/dist/components/tab.js +1 -1
  642. package/dist/components/tabs.js +1 -1
  643. package/dist/components/throttle.js +73 -0
  644. package/dist/components/tile.js +2 -2
  645. package/dist/components/time-picker.js +1 -1
  646. package/dist/components/tooltip.js +1 -1
  647. package/dist/components/utils.js +1 -1
  648. package/dist/components/utils2.js +1 -1
  649. package/dist/components/utils3.js +1 -1
  650. package/dist/components/utils4.js +1 -1
  651. package/dist/esm/{ExpandToggle-0b23ee7e.js → ExpandToggle-19db46a2.js} +5 -5
  652. package/dist/esm/{Heading-d0c45231.js → Heading-c1f4bd5d.js} +2 -2
  653. package/dist/esm/{app-globals-825395ce.js → app-globals-d960011d.js} +2 -2
  654. package/dist/esm/{array-2f43016e.js → array-f32ee3d7.js} +1 -1
  655. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  656. package/dist/esm/calcite-action-bar.entry.js +15 -15
  657. package/dist/esm/calcite-action-group.entry.js +27 -12
  658. package/dist/esm/calcite-action-menu.entry.js +9 -9
  659. package/dist/esm/calcite-action-pad.entry.js +14 -14
  660. package/dist/esm/calcite-action.entry.js +11 -11
  661. package/dist/esm/calcite-alert.entry.js +12 -12
  662. package/dist/esm/calcite-avatar.entry.js +6 -6
  663. package/dist/esm/calcite-block_2.entry.js +12 -12
  664. package/dist/esm/calcite-button.entry.js +15 -14
  665. package/dist/esm/calcite-card.entry.js +11 -12
  666. package/dist/esm/calcite-checkbox.entry.js +11 -10
  667. package/dist/esm/calcite-chip.entry.js +11 -11
  668. package/dist/esm/calcite-color-picker_3.entry.js +15 -79
  669. package/dist/esm/calcite-combobox_3.entry.js +19 -18
  670. package/dist/esm/calcite-date-picker_4.entry.js +27 -12
  671. package/dist/esm/calcite-dropdown_3.entry.js +26 -12
  672. package/dist/esm/calcite-fab.entry.js +7 -7
  673. package/dist/esm/calcite-filter.entry.js +13 -13
  674. package/dist/esm/calcite-flow-item.entry.js +12 -12
  675. package/dist/esm/calcite-flow.entry.js +3 -3
  676. package/dist/esm/calcite-graph_2.entry.js +14 -13
  677. package/dist/esm/calcite-handle.entry.js +10 -10
  678. package/dist/esm/calcite-icon.entry.js +6 -6
  679. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  680. package/dist/esm/calcite-input-date-picker.entry.js +17 -16
  681. package/dist/esm/calcite-input-message.entry.js +5 -5
  682. package/dist/esm/calcite-input-number.entry.js +15 -14
  683. package/dist/esm/calcite-input-text.entry.js +15 -14
  684. package/dist/esm/calcite-input-time-picker_2.entry.js +14 -13
  685. package/dist/esm/calcite-input.entry.js +15 -14
  686. package/dist/esm/calcite-label.entry.js +6 -6
  687. package/dist/esm/calcite-link.entry.js +7 -7
  688. package/dist/esm/calcite-list_3.entry.js +9 -9
  689. package/dist/esm/calcite-loader.entry.js +3 -3
  690. package/dist/esm/calcite-modal.entry.js +13 -13
  691. package/dist/esm/calcite-notice.entry.js +12 -12
  692. package/dist/esm/calcite-option_3.entry.js +11 -10
  693. package/dist/esm/calcite-pagination.entry.js +22 -11
  694. package/dist/esm/calcite-panel.entry.js +14 -14
  695. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  696. package/dist/esm/calcite-popover.entry.js +15 -15
  697. package/dist/esm/calcite-progress.entry.js +2 -2
  698. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  699. package/dist/esm/calcite-radio-button.entry.js +11 -10
  700. package/dist/esm/calcite-rating.entry.js +14 -13
  701. package/dist/esm/calcite-scrim.entry.js +9 -9
  702. package/dist/esm/calcite-segmented-control_2.entry.js +10 -9
  703. package/dist/esm/calcite-shell_3.entry.js +11 -11
  704. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  705. package/dist/esm/calcite-split-button.entry.js +20 -3
  706. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  707. package/dist/esm/calcite-switch.entry.js +11 -10
  708. package/dist/esm/calcite-tab_4.entry.js +7 -7
  709. package/dist/esm/calcite-text-area.entry.js +242 -0
  710. package/dist/esm/calcite-tile-select_2.entry.js +8 -8
  711. package/dist/esm/calcite-tile.entry.js +9 -9
  712. package/dist/esm/calcite-tip_3.entry.js +11 -11
  713. package/dist/esm/calcite-tooltip.entry.js +8 -8
  714. package/dist/esm/calcite-tree_2.entry.js +9 -9
  715. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  716. package/dist/esm/calcite.js +6 -6
  717. package/dist/esm/{conditionalSlot-a7cd2d70.js → conditionalSlot-dbcb1312.js} +3 -3
  718. package/dist/esm/{debounce-bdaf6a6a.js → debounce-7044f072.js} +1 -1
  719. package/dist/esm/{dom-4e09c515.js → dom-59f3800e.js} +6 -3
  720. package/dist/esm/{filter-93b11013.js → filter-8fb570bb.js} +2 -2
  721. package/dist/esm/{floating-ui-c779980e.js → floating-ui-eab536b2.js} +4 -4
  722. package/dist/esm/{focusTrapComponent-9f7096e0.js → focusTrapComponent-2730c2b4.js} +2 -2
  723. package/dist/esm/{form-c63168b7.js → form-28be2ab9.js} +38 -9
  724. package/dist/esm/{guid-594c089d.js → guid-2f895736.js} +1 -1
  725. package/dist/esm/{index-1d43719b.js → index-00b9d92d.js} +5 -1
  726. package/dist/esm/index.js +1 -1
  727. package/dist/esm/{interactive-239e7533.js → interactive-0a7905bb.js} +1 -1
  728. package/dist/esm/{key-f55db1a4.js → key-09233c52.js} +1 -1
  729. package/dist/esm/{label-4844ccb0.js → label-d04a528e.js} +2 -2
  730. package/dist/esm/{loadable-d5431086.js → loadable-b6bcb5b3.js} +1 -1
  731. package/dist/esm/loader.js +6 -6
  732. package/dist/esm/{locale-e888461a.js → locale-70161d9d.js} +4 -4
  733. package/dist/esm/{math-e0a398f4.js → math-c83ac9d0.js} +1 -1
  734. package/dist/esm/{observers-7f2cd5c5.js → observers-52197653.js} +1 -1
  735. package/dist/esm/{openCloseComponent-90e125eb.js → openCloseComponent-7e7b5145.js} +2 -2
  736. package/dist/esm/{resources-6174169f.js → resources-4e381c5f.js} +1 -1
  737. package/dist/esm/{resources-7318af67.js → resources-55a8c3dc.js} +1 -1
  738. package/dist/esm/{resources-cf158a59.js → resources-9f1563d1.js} +1 -1
  739. package/dist/esm/{resources-c01b718a.js → resources-ac9679bc.js} +5 -5
  740. package/dist/esm/{resources-0f21b5ed.js → resources-caf47d8d.js} +1 -1
  741. package/dist/esm/{resources-d32a86e2.js → resources-cdc4cede.js} +1 -1
  742. package/dist/esm/{sortable.esm-1e4e060d.js → sortable.esm-91e84eed.js} +1 -1
  743. package/dist/esm/{t9n-c8fcbb64.js → t9n-1c5e7a75.js} +3 -3
  744. package/dist/esm/throttle-a545076d.js +73 -0
  745. package/dist/esm/{utils-52cfa1ba.js → utils-84d3b69c.js} +1 -1
  746. package/dist/esm/{utils-c87abc70.js → utils-c3348daa.js} +3 -3
  747. package/dist/esm/{utils-faa18b31.js → utils-eaeed534.js} +1 -1
  748. package/dist/extras/docs-json.json +872 -23
  749. package/dist/loader/cdn.js +1 -1
  750. package/dist/loader/index.cjs.js +1 -1
  751. package/dist/loader/index.es2017.js +1 -1
  752. package/dist/loader/index.js +1 -1
  753. package/dist/types/components/accordion-item/accordion-item.d.ts +2 -0
  754. package/dist/types/components/action-group/action-group.d.ts +5 -1
  755. package/dist/types/components/button/button.d.ts +6 -0
  756. package/dist/types/components/checkbox/checkbox.d.ts +6 -0
  757. package/dist/types/components/combobox/combobox.d.ts +6 -0
  758. package/dist/types/components/date-picker/date-picker.d.ts +5 -1
  759. package/dist/types/components/dropdown/dropdown.d.ts +5 -1
  760. package/dist/types/components/input/input.d.ts +8 -2
  761. package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -0
  762. package/dist/types/components/input-number/input-number.d.ts +8 -2
  763. package/dist/types/components/input-text/input-text.d.ts +8 -2
  764. package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -0
  765. package/dist/types/components/modal/modal.d.ts +2 -2
  766. package/dist/types/components/pagination/pagination.d.ts +5 -1
  767. package/dist/types/components/radio-button/radio-button.d.ts +6 -0
  768. package/dist/types/components/rating/rating.d.ts +6 -0
  769. package/dist/types/components/segmented-control/segmented-control.d.ts +6 -0
  770. package/dist/types/components/select/select.d.ts +6 -0
  771. package/dist/types/components/slider/slider.d.ts +6 -0
  772. package/dist/types/components/split-button/split-button.d.ts +6 -1
  773. package/dist/types/components/switch/switch.d.ts +6 -0
  774. package/dist/types/components/text-area/assets/text-area/t9n/index.d.ts +4 -0
  775. package/dist/types/components/text-area/resources.d.ts +22 -0
  776. package/dist/types/components/text-area/text-area.d.ts +160 -0
  777. package/dist/types/components/tile-select/tile-select.d.ts +3 -3
  778. package/dist/types/components.d.ts +345 -9
  779. package/dist/types/preact.d.ts +5 -0
  780. package/dist/types/utils/form.d.ts +20 -4
  781. package/hydrate/index.js +843 -457
  782. package/package.json +1 -1
  783. package/dist/calcite/p-067c6cbe.entry.js +0 -6
  784. package/dist/calcite/p-0bbe6a3f.entry.js +0 -6
  785. package/dist/calcite/p-104568ad.entry.js +0 -6
  786. package/dist/calcite/p-1e8e8583.entry.js +0 -6
  787. package/dist/calcite/p-1f0fe3f5.entry.js +0 -6
  788. package/dist/calcite/p-23c7e19d.entry.js +0 -6
  789. package/dist/calcite/p-25d10f33.js +0 -6
  790. package/dist/calcite/p-3495b764.entry.js +0 -6
  791. package/dist/calcite/p-37f940cd.entry.js +0 -6
  792. package/dist/calcite/p-3ffb9150.entry.js +0 -6
  793. package/dist/calcite/p-43004a5b.entry.js +0 -6
  794. package/dist/calcite/p-4e032aba.entry.js +0 -6
  795. package/dist/calcite/p-560b83a5.entry.js +0 -6
  796. package/dist/calcite/p-5e51a007.entry.js +0 -6
  797. package/dist/calcite/p-66e10f50.entry.js +0 -6
  798. package/dist/calcite/p-67c4a675.entry.js +0 -6
  799. package/dist/calcite/p-6d384c72.entry.js +0 -6
  800. package/dist/calcite/p-6ead2a0a.entry.js +0 -6
  801. package/dist/calcite/p-941fee1b.js +0 -6
  802. package/dist/calcite/p-95829133.js +0 -6
  803. package/dist/calcite/p-962be3b6.entry.js +0 -6
  804. package/dist/calcite/p-e47bbde3.entry.js +0 -6
  805. package/dist/calcite/p-effb2cc1.entry.js +0 -6
  806. package/dist/calcite/p-f7a52b3e.entry.js +0 -6
  807. package/dist/calcite/p-f9e67ecd.entry.js +0 -6
  808. package/dist/extras/vscode-data.json +0 -6138
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.1.1-next.1
4
+ * v1.2.0-next.0
5
5
  */
6
6
  'use strict';
7
7
 
@@ -6638,6 +6638,9 @@ async function focusElement(el) {
6638
6638
  * @param {HTMLElement} element The html element containing tabbable elements.
6639
6639
  */
6640
6640
  function focusFirstTabbable(element) {
6641
+ if (!element) {
6642
+ return;
6643
+ }
6641
6644
  (tabbable(element, tabbableOptions)[0] || element).focus();
6642
6645
  }
6643
6646
  const defaultSlotSelector = ":not([slot])";
@@ -6775,11 +6778,11 @@ const focusElementInGroup = (elements, currentElement, destination) => {
6775
6778
  return focusTarget;
6776
6779
  };
6777
6780
 
6778
- const SLOTS$u = {
6781
+ const SLOTS$v = {
6779
6782
  actionsStart: "actions-start",
6780
6783
  actionsEnd: "actions-end"
6781
6784
  };
6782
- const CSS$X = {
6785
+ const CSS$Y = {
6783
6786
  icon: "icon",
6784
6787
  header: "header",
6785
6788
  headerContent: "header-content",
@@ -6799,6 +6802,8 @@ const accordionItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
6799
6802
 
6800
6803
  /**
6801
6804
  * @slot - A slot for adding custom content, including nested `calcite-accordion-item`s.
6805
+ * @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component's header.
6806
+ * @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component's header.
6802
6807
  */
6803
6808
  class AccordionItem {
6804
6809
  constructor(hostRef) {
@@ -6848,28 +6853,28 @@ class AccordionItem {
6848
6853
  // --------------------------------------------------------------------------
6849
6854
  renderActionsStart() {
6850
6855
  const { el } = this;
6851
- return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$X.actionsStart }, hAsync("slot", { name: SLOTS$u.actionsStart }))) : null;
6856
+ return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$Y.actionsStart }, hAsync("slot", { name: SLOTS$v.actionsStart }))) : null;
6852
6857
  }
6853
6858
  renderActionsEnd() {
6854
6859
  const { el } = this;
6855
- return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$X.actionsEnd }, hAsync("slot", { name: SLOTS$u.actionsEnd }))) : null;
6860
+ return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$Y.actionsEnd }, hAsync("slot", { name: SLOTS$v.actionsEnd }))) : null;
6856
6861
  }
6857
6862
  render() {
6858
6863
  const { iconFlipRtl } = this;
6859
6864
  const dir = getElementDir(this.el);
6860
- const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$X.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
6861
- const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$X.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
6865
+ const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$Y.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
6866
+ const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$Y.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
6862
6867
  const { description } = this;
6863
6868
  return (hAsync(Host, null, hAsync("div", { class: {
6864
6869
  [`icon-position--${this.iconPosition}`]: true,
6865
6870
  [`icon-type--${this.iconType}`]: true
6866
- } }, hAsync("div", { class: { [CSS$X.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$X.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$X.headerContainer }, iconStartEl, hAsync("div", { class: CSS$X.headerText }, hAsync("span", { class: CSS$X.heading }, this.heading), description ? hAsync("span", { class: CSS$X.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$X.expandIcon, icon: this.iconType === "chevron"
6871
+ } }, hAsync("div", { class: { [CSS$Y.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$Y.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$Y.headerContainer }, iconStartEl, hAsync("div", { class: CSS$Y.headerText }, hAsync("span", { class: CSS$Y.heading }, this.heading), description ? hAsync("span", { class: CSS$Y.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$Y.expandIcon, icon: this.iconType === "chevron"
6867
6872
  ? "chevronDown"
6868
6873
  : this.iconType === "caret"
6869
6874
  ? "caretDown"
6870
6875
  : this.expanded
6871
6876
  ? "minus"
6872
- : "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$X.content }, hAsync("slot", null)))));
6877
+ : "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$Y.content }, hAsync("slot", null)))));
6873
6878
  }
6874
6879
  //--------------------------------------------------------------------------
6875
6880
  //
@@ -7591,7 +7596,7 @@ function defaultOnMessagesChange() {
7591
7596
  mergeMessages(this);
7592
7597
  }
7593
7598
 
7594
- const CSS$W = {
7599
+ const CSS$X = {
7595
7600
  button: "button",
7596
7601
  buttonTextVisible: "button--text-visible",
7597
7602
  buttonCompact: "button--compact",
@@ -7602,7 +7607,7 @@ const CSS$W = {
7602
7607
  textContainer: "text-container",
7603
7608
  textContainerVisible: "text-container--visible"
7604
7609
  };
7605
- const SLOTS$t = {
7610
+ const SLOTS$u = {
7606
7611
  tooltip: "tooltip"
7607
7612
  };
7608
7613
 
@@ -7700,14 +7705,14 @@ class Action {
7700
7705
  renderTextContainer() {
7701
7706
  const { text, textEnabled } = this;
7702
7707
  const textContainerClasses = {
7703
- [CSS$W.textContainer]: true,
7704
- [CSS$W.textContainerVisible]: textEnabled
7708
+ [CSS$X.textContainer]: true,
7709
+ [CSS$X.textContainerVisible]: textEnabled
7705
7710
  };
7706
7711
  return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
7707
7712
  }
7708
7713
  renderIndicatorText() {
7709
7714
  const { indicator, messages, indicatorId, buttonId } = this;
7710
- return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$W.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
7715
+ return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$X.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
7711
7716
  }
7712
7717
  renderIconContainer() {
7713
7718
  const { loading, icon, scale, el, iconFlipRtl } = this;
@@ -7718,22 +7723,22 @@ class Action {
7718
7723
  const iconNode = calciteLoaderNode || calciteIconNode;
7719
7724
  const hasIconToDisplay = iconNode || el.children?.length;
7720
7725
  const slotContainerNode = (hAsync("div", { class: {
7721
- [CSS$W.slotContainer]: true,
7722
- [CSS$W.slotContainerHidden]: loading
7726
+ [CSS$X.slotContainer]: true,
7727
+ [CSS$X.slotContainerHidden]: loading
7723
7728
  } }, hAsync("slot", null)));
7724
- return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$W.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
7729
+ return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$X.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
7725
7730
  }
7726
7731
  render() {
7727
7732
  const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
7728
7733
  const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
7729
7734
  const buttonClasses = {
7730
- [CSS$W.button]: true,
7731
- [CSS$W.buttonTextVisible]: textEnabled,
7732
- [CSS$W.buttonCompact]: compact
7735
+ [CSS$X.button]: true,
7736
+ [CSS$X.buttonTextVisible]: textEnabled,
7737
+ [CSS$X.buttonCompact]: compact
7733
7738
  };
7734
7739
  return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
7735
7740
  // eslint-disable-next-line react/jsx-sort-props
7736
- ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$t.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
7741
+ ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$u.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
7737
7742
  }
7738
7743
  static get assetsDirs() { return ["assets"]; }
7739
7744
  get el() { return getElement(this); }
@@ -9034,7 +9039,7 @@ function throttle$1(func, wait, options) {
9034
9039
  });
9035
9040
  }
9036
9041
 
9037
- const SLOTS$s = {
9042
+ const SLOTS$t = {
9038
9043
  menuActions: "menu-actions",
9039
9044
  menuTooltip: "menu-tooltip"
9040
9045
  };
@@ -9042,11 +9047,11 @@ const ICONS$h = {
9042
9047
  menu: "ellipsis"
9043
9048
  };
9044
9049
 
9045
- const CSS$V = {
9050
+ const CSS$W = {
9046
9051
  menu: "menu",
9047
9052
  defaultTrigger: "default-trigger"
9048
9053
  };
9049
- const SLOTS$r = {
9054
+ const SLOTS$s = {
9050
9055
  tooltip: "tooltip",
9051
9056
  trigger: "trigger"
9052
9057
  };
@@ -9073,7 +9078,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
9073
9078
  return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
9074
9079
  };
9075
9080
  const queryActions = (el) => {
9076
- return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$r.trigger : true);
9081
+ return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$s.trigger : true);
9077
9082
  };
9078
9083
  const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
9079
9084
  let needToSlotCount = overflowCount;
@@ -9081,7 +9086,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
9081
9086
  let slottedWithinGroupCount = 0;
9082
9087
  const groupActions = queryActions(group).reverse();
9083
9088
  groupActions.forEach((groupAction) => {
9084
- if (groupAction.slot === SLOTS$s.menuActions) {
9089
+ if (groupAction.slot === SLOTS$t.menuActions) {
9085
9090
  groupAction.removeAttribute("slot");
9086
9091
  groupAction.textEnabled = expanded;
9087
9092
  }
@@ -9091,7 +9096,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
9091
9096
  const unslottedActions = groupActions.filter((action) => !action.slot);
9092
9097
  if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
9093
9098
  groupAction.textEnabled = true;
9094
- groupAction.setAttribute("slot", SLOTS$s.menuActions);
9099
+ groupAction.setAttribute("slot", SLOTS$t.menuActions);
9095
9100
  slottedWithinGroupCount++;
9096
9101
  if (slottedWithinGroupCount > 1) {
9097
9102
  needToSlotCount--;
@@ -9113,7 +9118,7 @@ function getCalcitePosition(position, el) {
9113
9118
  }
9114
9119
  function toggleChildActionText({ parent, expanded }) {
9115
9120
  queryActions(parent)
9116
- .filter((el) => el.slot !== SLOTS$s.menuActions)
9121
+ .filter((el) => el.slot !== SLOTS$t.menuActions)
9117
9122
  .forEach((action) => (action.textEnabled = expanded));
9118
9123
  parent
9119
9124
  .querySelectorAll("calcite-action-group, calcite-action-menu")
@@ -9144,10 +9149,10 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
9144
9149
  return actionNode;
9145
9150
  };
9146
9151
 
9147
- const CSS$U = {
9152
+ const CSS$V = {
9148
9153
  actionGroupBottom: "action-group--bottom"
9149
9154
  };
9150
- const SLOTS$q = {
9155
+ const SLOTS$r = {
9151
9156
  bottomActions: "bottom-actions",
9152
9157
  expandTooltip: "expand-tooltip"
9153
9158
  };
@@ -9195,7 +9200,7 @@ class ActionBar {
9195
9200
  const actions = queryActions(el);
9196
9201
  const actionCount = expandDisabled ? actions.length : actions.length + 1;
9197
9202
  const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
9198
- const groupCount = getSlotted(el, SLOTS$q.bottomActions) || !expandDisabled
9203
+ const groupCount = getSlotted(el, SLOTS$r.bottomActions) || !expandDisabled
9199
9204
  ? actionGroups.length + 1
9200
9205
  : actionGroups.length;
9201
9206
  const { actionHeight, actionWidth } = geActionDimensions(actions);
@@ -9314,11 +9319,11 @@ class ActionBar {
9314
9319
  // --------------------------------------------------------------------------
9315
9320
  renderBottomActionGroup() {
9316
9321
  const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
9317
- const tooltip = getSlotted(el, SLOTS$q.expandTooltip);
9322
+ const tooltip = getSlotted(el, SLOTS$r.expandTooltip);
9318
9323
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
9319
9324
  // eslint-disable-next-line react/jsx-sort-props
9320
9325
  ref: this.setExpandToggleRef })) : null;
9321
- return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$U.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
9326
+ return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$V.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
9322
9327
  }
9323
9328
  render() {
9324
9329
  return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
@@ -9394,6 +9399,16 @@ class ActionGroup {
9394
9399
  effectiveLocaleChange() {
9395
9400
  updateMessages(this, this.effectiveLocale);
9396
9401
  }
9402
+ //--------------------------------------------------------------------------
9403
+ //
9404
+ // Public Methods
9405
+ //
9406
+ //--------------------------------------------------------------------------
9407
+ /** Sets focus on the component's first focusable element. */
9408
+ async setFocus() {
9409
+ await componentLoaded(this);
9410
+ this.el.focus();
9411
+ }
9397
9412
  // --------------------------------------------------------------------------
9398
9413
  //
9399
9414
  // Lifecycle
@@ -9410,8 +9425,12 @@ class ActionGroup {
9410
9425
  disconnectConditionalSlotComponent(this);
9411
9426
  }
9412
9427
  async componentWillLoad() {
9428
+ setUpLoadableComponent(this);
9413
9429
  await setUpMessages(this);
9414
9430
  }
9431
+ componentDidLoad() {
9432
+ setComponentLoaded(this);
9433
+ }
9415
9434
  // --------------------------------------------------------------------------
9416
9435
  //
9417
9436
  // Component Methods
@@ -9419,13 +9438,13 @@ class ActionGroup {
9419
9438
  // --------------------------------------------------------------------------
9420
9439
  renderTooltip() {
9421
9440
  const { el } = this;
9422
- const hasTooltip = getSlotted(el, SLOTS$s.menuTooltip);
9423
- return hasTooltip ? hAsync("slot", { name: SLOTS$s.menuTooltip, slot: SLOTS$r.tooltip }) : null;
9441
+ const hasTooltip = getSlotted(el, SLOTS$t.menuTooltip);
9442
+ return hasTooltip ? hAsync("slot", { name: SLOTS$t.menuTooltip, slot: SLOTS$s.tooltip }) : null;
9424
9443
  }
9425
9444
  renderMenu() {
9426
9445
  const { el, expanded, menuOpen, scale, layout, messages } = this;
9427
- const hasMenuItems = getSlotted(el, SLOTS$s.menuActions);
9428
- return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$h.menu, scale: scale, slot: SLOTS$r.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$s.menuActions }), this.renderTooltip())) : null;
9446
+ const hasMenuItems = getSlotted(el, SLOTS$t.menuActions);
9447
+ return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$h.menu, scale: scale, slot: SLOTS$s.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$t.menuActions }), this.renderTooltip())) : null;
9429
9448
  }
9430
9449
  render() {
9431
9450
  return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
@@ -9451,7 +9470,8 @@ class ActionGroup {
9451
9470
  "messages": [1040],
9452
9471
  "messageOverrides": [1040],
9453
9472
  "effectiveLocale": [32],
9454
- "defaultMessages": [32]
9473
+ "defaultMessages": [32],
9474
+ "setFocus": [64]
9455
9475
  },
9456
9476
  "$listeners$": undefined,
9457
9477
  "$lazyBundleId$": "-",
@@ -9708,7 +9728,7 @@ class ActionMenu {
9708
9728
  }
9709
9729
  renderMenuButton() {
9710
9730
  const { label, scale, expanded } = this;
9711
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$V.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
9731
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$W.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
9712
9732
  // eslint-disable-next-line react/jsx-sort-props
9713
9733
  ref: this.setDefaultMenuButtonEl })));
9714
9734
  return menuButtonSlot;
@@ -9717,10 +9737,10 @@ class ActionMenu {
9717
9737
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
9718
9738
  const activeAction = actionElements[activeMenuItemIndex];
9719
9739
  const activeDescendantId = activeAction?.id || null;
9720
- return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$V.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
9740
+ return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$W.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
9721
9741
  }
9722
9742
  render() {
9723
- return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
9743
+ return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
9724
9744
  }
9725
9745
  isValidKey(key, supportedKeys) {
9726
9746
  return !!supportedKeys.find((k) => k === key);
@@ -9753,11 +9773,11 @@ class ActionMenu {
9753
9773
  }; }
9754
9774
  }
9755
9775
 
9756
- const CSS$T = {
9776
+ const CSS$U = {
9757
9777
  actionGroupBottom: "action-group--bottom",
9758
9778
  container: "container"
9759
9779
  };
9760
- const SLOTS$p = {
9780
+ const SLOTS$q = {
9761
9781
  expandTooltip: "expand-tooltip"
9762
9782
  };
9763
9783
 
@@ -9855,14 +9875,14 @@ class ActionPad {
9855
9875
  // --------------------------------------------------------------------------
9856
9876
  renderBottomActionGroup() {
9857
9877
  const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout } = this;
9858
- const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
9878
+ const tooltip = getSlotted(el, SLOTS$q.expandTooltip);
9859
9879
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
9860
9880
  // eslint-disable-next-line react/jsx-sort-props
9861
9881
  ref: this.setExpandToggleRef })) : null;
9862
- return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$T.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
9882
+ return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$U.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
9863
9883
  }
9864
9884
  render() {
9865
- return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$T.container }, hAsync("slot", null), this.renderBottomActionGroup())));
9885
+ return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$U.container }, hAsync("slot", null), this.renderBottomActionGroup())));
9866
9886
  }
9867
9887
  static get delegatesFocus() { return true; }
9868
9888
  static get assetsDirs() { return ["assets"]; }
@@ -9991,13 +10011,13 @@ const DURATIONS = {
9991
10011
  medium: 10000,
9992
10012
  fast: 6000
9993
10013
  };
9994
- const SLOTS$o = {
10014
+ const SLOTS$p = {
9995
10015
  actionsEnd: "actions-end",
9996
10016
  title: "title",
9997
10017
  message: "message",
9998
10018
  link: "link"
9999
10019
  };
10000
- const CSS$S = {
10020
+ const CSS$T = {
10001
10021
  actionsEnd: "actions-end",
10002
10022
  container: "container",
10003
10023
  close: "alert-close",
@@ -10150,15 +10170,15 @@ class Alert {
10150
10170
  const { open, autoClose, label, placement, queued, requestedIcon, iconFlipRtl } = this;
10151
10171
  const role = autoClose ? "alert" : "alertdialog";
10152
10172
  const hidden = !open;
10153
- const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$o.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
10173
+ const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$p.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
10154
10174
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
10155
10175
  container: true,
10156
10176
  queued,
10157
10177
  [placement]: true,
10158
- [CSS$S.slottedInShell]: this.slottedInShell
10178
+ [CSS$T.slottedInShell]: this.slottedInShell
10159
10179
  }, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
10160
10180
  // eslint-disable-next-line react/jsx-sort-props
10161
- ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$S.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
10181
+ ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$T.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
10162
10182
  }
10163
10183
  // when an alert is opened or closed, update queue and determine active alert
10164
10184
  alertSync(event) {
@@ -10533,7 +10553,7 @@ const Heading = (props, children) => {
10533
10553
  return hAsync(HeadingTag, { ...props }, children);
10534
10554
  };
10535
10555
 
10536
- const CSS$R = {
10556
+ const CSS$S = {
10537
10557
  container: "container",
10538
10558
  content: "content",
10539
10559
  headerContainer: "header-container",
@@ -10552,7 +10572,7 @@ const CSS$R = {
10552
10572
  invalid: "invalid",
10553
10573
  loading: "loading"
10554
10574
  };
10555
- const SLOTS$n = {
10575
+ const SLOTS$o = {
10556
10576
  icon: "icon",
10557
10577
  control: "control",
10558
10578
  headerMenuActions: "header-menu-actions"
@@ -10642,33 +10662,33 @@ class Block {
10642
10662
  const { el, status } = this;
10643
10663
  const showingLoadingStatus = this.loading && !this.open;
10644
10664
  const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
10645
- const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
10646
- const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
10647
- [CSS$R.statusIcon]: true,
10648
- [CSS$R.valid]: status == "valid",
10649
- [CSS$R.invalid]: status == "invalid",
10650
- [CSS$R.loading]: showingLoadingStatus
10665
+ const hasIcon = getSlotted(el, SLOTS$o.icon) || statusIcon;
10666
+ const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$o.icon })) : (hAsync("calcite-icon", { class: {
10667
+ [CSS$S.statusIcon]: true,
10668
+ [CSS$S.valid]: status == "valid",
10669
+ [CSS$S.invalid]: status == "invalid",
10670
+ [CSS$S.loading]: showingLoadingStatus
10651
10671
  }, icon: statusIcon, scale: "m" }));
10652
- return hasIcon ? hAsync("div", { class: CSS$R.icon }, iconEl) : null;
10672
+ return hasIcon ? hAsync("div", { class: CSS$S.icon }, iconEl) : null;
10653
10673
  }
10654
10674
  renderTitle() {
10655
10675
  const { heading, headingLevel, description } = this;
10656
- return heading || description ? (hAsync("div", { class: CSS$R.title }, hAsync(Heading, { class: CSS$R.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$R.description }, description) : null)) : null;
10676
+ return heading || description ? (hAsync("div", { class: CSS$S.title }, hAsync(Heading, { class: CSS$S.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$S.description }, description) : null)) : null;
10657
10677
  }
10658
10678
  render() {
10659
10679
  const { collapsible, el, loading, open, messages } = this;
10660
10680
  const toggleLabel = open ? messages.collapse : messages.expand;
10661
- const headerContent = (hAsync("header", { class: CSS$R.header }, this.renderIcon(), this.renderTitle()));
10662
- const hasControl = !!getSlotted(el, SLOTS$n.control);
10663
- const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
10681
+ const headerContent = (hAsync("header", { class: CSS$S.header }, this.renderIcon(), this.renderTitle()));
10682
+ const hasControl = !!getSlotted(el, SLOTS$o.control);
10683
+ const hasMenuActions = !!getSlotted(el, SLOTS$o.headerMenuActions);
10664
10684
  const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
10665
10685
  const { guid } = this;
10666
10686
  const regionId = `${guid}-region`;
10667
10687
  const buttonId = `${guid}-button`;
10668
- const headerNode = (hAsync("div", { class: CSS$R.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$R.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$R.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$R.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
10688
+ const headerNode = (hAsync("div", { class: CSS$S.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$S.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$S.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$S.controlContainer }, hAsync("slot", { name: SLOTS$o.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$o.headerMenuActions }))) : null));
10669
10689
  return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
10670
- [CSS$R.container]: true
10671
- } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$R.content, hidden: !open, id: regionId }, this.renderScrim()))));
10690
+ [CSS$S.container]: true
10691
+ } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$S.content, hidden: !open, id: regionId }, this.renderScrim()))));
10672
10692
  }
10673
10693
  static get assetsDirs() { return ["assets"]; }
10674
10694
  get el() { return getElement(this); }
@@ -10701,7 +10721,7 @@ class Block {
10701
10721
  }; }
10702
10722
  }
10703
10723
 
10704
- const CSS$Q = {
10724
+ const CSS$R = {
10705
10725
  content: "content",
10706
10726
  invalid: "invalid",
10707
10727
  toggle: "toggle",
@@ -10787,9 +10807,9 @@ class BlockSection {
10787
10807
  const { status } = this;
10788
10808
  const statusIcon = ICONS$d[status] ?? false;
10789
10809
  const statusIconClasses = {
10790
- [CSS$Q.statusIcon]: true,
10791
- [CSS$Q.valid]: status == "valid",
10792
- [CSS$Q.invalid]: status == "invalid"
10810
+ [CSS$R.statusIcon]: true,
10811
+ [CSS$R.valid]: status == "valid",
10812
+ [CSS$R.invalid]: status == "invalid"
10793
10813
  };
10794
10814
  return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
10795
10815
  }
@@ -10806,13 +10826,13 @@ class BlockSection {
10806
10826
  const regionId = `${guid}-region`;
10807
10827
  const buttonId = `${guid}-button`;
10808
10828
  const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
10809
- [CSS$Q.toggle]: true,
10810
- [CSS$Q.toggleSwitch]: true
10811
- }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$Q.toggleSwitchContent }, hAsync("span", { class: CSS$Q.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
10812
- [CSS$Q.sectionHeader]: true,
10813
- [CSS$Q.toggle]: true
10814
- }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$Q.sectionHeaderText }, text), this.renderStatusIcon()));
10815
- return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$Q.content, hidden: !open, id: regionId }, hAsync("slot", null))));
10829
+ [CSS$R.toggle]: true,
10830
+ [CSS$R.toggleSwitch]: true
10831
+ }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$R.toggleSwitchContent }, hAsync("span", { class: CSS$R.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
10832
+ [CSS$R.sectionHeader]: true,
10833
+ [CSS$R.toggle]: true
10834
+ }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$R.sectionHeaderText }, text), this.renderStatusIcon()));
10835
+ return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$R.content, hidden: !open, id: regionId }, hAsync("slot", null))));
10816
10836
  }
10817
10837
  static get assetsDirs() { return ["assets"]; }
10818
10838
  get el() { return getElement(this); }
@@ -10877,7 +10897,18 @@ function isCheckable(component) {
10877
10897
  }
10878
10898
  const onFormResetMap = new WeakMap();
10879
10899
  const formComponentSet = new WeakSet();
10900
+ /**
10901
+ * This helps determine if our form component is part of a composite form-associated component.
10902
+ *
10903
+ * @param form
10904
+ * @param formComponentEl
10905
+ */
10880
10906
  function hasRegisteredFormComponentParent(form, formComponentEl) {
10907
+ // if we have a parent component using the form ID attribute, we assume it is form-associated
10908
+ const hasParentComponentWithFormIdSet = closestElementCrossShadowBoundary(formComponentEl.parentElement, "[form]");
10909
+ if (hasParentComponentWithFormIdSet) {
10910
+ return true;
10911
+ }
10881
10912
  // we use events as a way to test for nested form-associated components across shadow bounds
10882
10913
  const formComponentRegisterEventName = "calciteInternalFormComponentRegister";
10883
10914
  let hasRegisteredFormComponentParent = false;
@@ -10922,20 +10953,31 @@ function resetForm(component) {
10922
10953
  */
10923
10954
  function connectForm(component) {
10924
10955
  const { el, value } = component;
10925
- const form = closestElementCrossShadowBoundary(el, "form");
10926
- if (!form || hasRegisteredFormComponentParent(form, el)) {
10956
+ const associatedForm = findAssociatedForm(component);
10957
+ if (!associatedForm || hasRegisteredFormComponentParent(associatedForm, el)) {
10927
10958
  return;
10928
10959
  }
10929
- component.formEl = form;
10960
+ component.formEl = associatedForm;
10930
10961
  component.defaultValue = value;
10931
10962
  if (isCheckable(component)) {
10932
10963
  component.defaultChecked = component.checked;
10933
10964
  }
10934
10965
  const boundOnFormReset = (component.onFormReset || onFormReset).bind(component);
10935
- form.addEventListener("reset", boundOnFormReset);
10966
+ associatedForm.addEventListener("reset", boundOnFormReset);
10936
10967
  onFormResetMap.set(component.el, boundOnFormReset);
10937
10968
  formComponentSet.add(el);
10938
10969
  }
10970
+ /**
10971
+ * Utility method to find a form-component's associated form element.
10972
+ *
10973
+ * @param component
10974
+ */
10975
+ function findAssociatedForm(component) {
10976
+ const { el, form } = component;
10977
+ return form
10978
+ ? queryElementRoots(el, { id: form })
10979
+ : closestElementCrossShadowBoundary(el, "form");
10980
+ }
10939
10981
  function onFormReset() {
10940
10982
  if (isCheckable(this)) {
10941
10983
  this.checked = this.defaultChecked;
@@ -11034,13 +11076,20 @@ function syncHiddenFormInput(component) {
11034
11076
  });
11035
11077
  }
11036
11078
  function defaultSyncHiddenFormInput(component, input, value) {
11037
- const { defaultValue, disabled, name, required } = component;
11079
+ const { defaultValue, disabled, form, name, required } = component;
11038
11080
  // keep in sync to prevent losing reset value
11039
11081
  input.defaultValue = defaultValue;
11040
11082
  input.disabled = disabled;
11041
11083
  input.name = name;
11042
11084
  input.required = required;
11043
11085
  input.tabIndex = -1;
11086
+ // we set the attr as the prop is read-only
11087
+ if (form) {
11088
+ input.setAttribute("form", form);
11089
+ }
11090
+ else {
11091
+ input.removeAttribute("form");
11092
+ }
11044
11093
  if (isCheckable(component)) {
11045
11094
  input.checked = component.checked;
11046
11095
  // keep in sync to prevent losing reset value
@@ -11194,7 +11243,7 @@ function onLabelDisconnected() {
11194
11243
  document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
11195
11244
  }
11196
11245
 
11197
- const CSS$P = {
11246
+ const CSS$Q = {
11198
11247
  buttonLoader: "calcite-button--loader",
11199
11248
  content: "content",
11200
11249
  contentSlotted: "content--slotted",
@@ -11238,6 +11287,7 @@ class Button {
11238
11287
  this.label = undefined;
11239
11288
  this.kind = "brand";
11240
11289
  this.disabled = false;
11290
+ this.form = undefined;
11241
11291
  this.href = undefined;
11242
11292
  this.iconEnd = undefined;
11243
11293
  this.iconFlipRtl = undefined;
@@ -11282,7 +11332,7 @@ class Button {
11282
11332
  this.hasLoader = this.loading;
11283
11333
  this.setupTextContentObserver();
11284
11334
  connectLabel(this);
11285
- this.formEl = closestElementCrossShadowBoundary(this.el, "form");
11335
+ this.formEl = findAssociatedForm(this);
11286
11336
  }
11287
11337
  disconnectedCallback() {
11288
11338
  this.mutationObserver?.disconnect();
@@ -11303,17 +11353,17 @@ class Button {
11303
11353
  render() {
11304
11354
  const childElType = this.href ? "a" : "button";
11305
11355
  const Tag = childElType;
11306
- const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$P.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$P.loadingIn : CSS$P.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
11356
+ const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$Q.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$Q.loadingIn : CSS$Q.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
11307
11357
  const noStartEndIcons = !this.iconStart && !this.iconEnd;
11308
- const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$P.icon]: true, [CSS$P.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
11309
- const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$P.icon]: true, [CSS$P.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
11310
- const contentEl = (hAsync("span", { class: CSS$P.content }, hAsync("slot", null)));
11358
+ const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$Q.icon]: true, [CSS$Q.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
11359
+ const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$Q.icon]: true, [CSS$Q.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
11360
+ const contentEl = (hAsync("span", { class: CSS$Q.content }, hAsync("slot", null)));
11311
11361
  return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
11312
- [CSS$P.buttonPadding]: noStartEndIcons,
11313
- [CSS$P.buttonPaddingShrunk]: !noStartEndIcons,
11314
- [CSS$P.contentSlotted]: this.hasContent,
11315
- [CSS$P.iconStartEmpty]: !this.iconStart,
11316
- [CSS$P.iconEndEmpty]: !this.iconEnd
11362
+ [CSS$Q.buttonPadding]: noStartEndIcons,
11363
+ [CSS$Q.buttonPaddingShrunk]: !noStartEndIcons,
11364
+ [CSS$Q.contentSlotted]: this.hasContent,
11365
+ [CSS$Q.iconStartEmpty]: !this.iconStart,
11366
+ [CSS$Q.iconEndEmpty]: !this.iconEnd
11317
11367
  }, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type,
11318
11368
  // eslint-disable-next-line react/jsx-sort-props
11319
11369
  ref: (el) => (this.childEl = el) }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
@@ -11367,6 +11417,7 @@ class Button {
11367
11417
  "label": [1],
11368
11418
  "kind": [513],
11369
11419
  "disabled": [516],
11420
+ "form": [513],
11370
11421
  "href": [513],
11371
11422
  "iconEnd": [513, "icon-end"],
11372
11423
  "iconFlipRtl": [513, "icon-flip-rtl"],
@@ -11390,11 +11441,11 @@ class Button {
11390
11441
  },
11391
11442
  "$listeners$": undefined,
11392
11443
  "$lazyBundleId$": "-",
11393
- "$attrsToReflect$": [["alignment", "alignment"], ["appearance", "appearance"], ["kind", "kind"], ["disabled", "disabled"], ["href", "href"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["loading", "loading"], ["name", "name"], ["rel", "rel"], ["round", "round"], ["scale", "scale"], ["splitChild", "split-child"], ["target", "target"], ["type", "type"], ["width", "width"]]
11444
+ "$attrsToReflect$": [["alignment", "alignment"], ["appearance", "appearance"], ["kind", "kind"], ["disabled", "disabled"], ["form", "form"], ["href", "href"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["loading", "loading"], ["name", "name"], ["rel", "rel"], ["round", "round"], ["scale", "scale"], ["splitChild", "split-child"], ["target", "target"], ["type", "type"], ["width", "width"]]
11394
11445
  }; }
11395
11446
  }
11396
11447
 
11397
- const CSS$O = {
11448
+ const CSS$P = {
11398
11449
  container: "container",
11399
11450
  header: "header",
11400
11451
  footer: "footer",
@@ -11403,7 +11454,7 @@ const CSS$O = {
11403
11454
  checkboxWrapper: "checkbox-wrapper",
11404
11455
  thumbnailWrapper: "thumbnail-wrapper"
11405
11456
  };
11406
- const SLOTS$m = {
11457
+ const SLOTS$n = {
11407
11458
  thumbnail: "thumbnail",
11408
11459
  title: "title",
11409
11460
  subtitle: "subtitle",
@@ -11479,7 +11530,7 @@ class Card {
11479
11530
  render() {
11480
11531
  const thumbnailInline = this.thumbnailPosition.startsWith("inline");
11481
11532
  const thumbnailStart = this.thumbnailPosition.endsWith("start");
11482
- return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$O.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
11533
+ return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$P.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
11483
11534
  }
11484
11535
  effectiveLocaleChange() {
11485
11536
  updateMessages(this, this.effectiveLocale);
@@ -11489,25 +11540,24 @@ class Card {
11489
11540
  this.calciteCardSelect.emit();
11490
11541
  }
11491
11542
  renderThumbnail() {
11492
- return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$O.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
11543
+ return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$P.thumbnailWrapper }, hAsync("slot", { name: SLOTS$n.thumbnail }))) : null;
11493
11544
  }
11494
11545
  renderCheckbox() {
11495
- const checkboxLabel = this.selected ? this.messages.deselect : this.messages.select;
11496
- return (hAsync("calcite-label", { class: CSS$O.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
11546
+ return (hAsync("calcite-label", { class: CSS$P.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
11497
11547
  }
11498
11548
  renderHeader() {
11499
11549
  const { el } = this;
11500
- const title = getSlotted(el, SLOTS$m.title);
11501
- const subtitle = getSlotted(el, SLOTS$m.subtitle);
11550
+ const title = getSlotted(el, SLOTS$n.title);
11551
+ const subtitle = getSlotted(el, SLOTS$n.subtitle);
11502
11552
  const hasHeader = title || subtitle;
11503
- return hasHeader ? (hAsync("header", { class: CSS$O.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
11553
+ return hasHeader ? (hAsync("header", { class: CSS$P.header }, hAsync("slot", { name: SLOTS$n.title }), hAsync("slot", { name: SLOTS$n.subtitle }))) : null;
11504
11554
  }
11505
11555
  renderFooter() {
11506
11556
  const { el } = this;
11507
- const startFooter = getSlotted(el, SLOTS$m.footerStart);
11508
- const endFooter = getSlotted(el, SLOTS$m.footerEnd);
11557
+ const startFooter = getSlotted(el, SLOTS$n.footerStart);
11558
+ const endFooter = getSlotted(el, SLOTS$n.footerEnd);
11509
11559
  const hasFooter = startFooter || endFooter;
11510
- return hasFooter ? (hAsync("footer", { class: CSS$O.footer }, hAsync("slot", { name: SLOTS$m.footerStart }), hAsync("slot", { name: SLOTS$m.footerEnd }))) : null;
11560
+ return hasFooter ? (hAsync("footer", { class: CSS$P.footer }, hAsync("slot", { name: SLOTS$n.footerStart }), hAsync("slot", { name: SLOTS$n.footerEnd }))) : null;
11511
11561
  }
11512
11562
  static get assetsDirs() { return ["assets"]; }
11513
11563
  get el() { return getElement(this); }
@@ -11584,6 +11634,7 @@ class Checkbox {
11584
11634
  };
11585
11635
  this.checked = false;
11586
11636
  this.disabled = false;
11637
+ this.form = undefined;
11587
11638
  this.guid = undefined;
11588
11639
  this.hovered = false;
11589
11640
  this.indeterminate = false;
@@ -11652,6 +11703,7 @@ class Checkbox {
11652
11703
  "$members$": {
11653
11704
  "checked": [1540],
11654
11705
  "disabled": [516],
11706
+ "form": [513],
11655
11707
  "guid": [1537],
11656
11708
  "hovered": [516],
11657
11709
  "indeterminate": [1540],
@@ -11664,11 +11716,11 @@ class Checkbox {
11664
11716
  },
11665
11717
  "$listeners$": undefined,
11666
11718
  "$lazyBundleId$": "-",
11667
- "$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["guid", "guid"], ["hovered", "hovered"], ["indeterminate", "indeterminate"], ["name", "name"], ["required", "required"], ["scale", "scale"]]
11719
+ "$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["form", "form"], ["guid", "guid"], ["hovered", "hovered"], ["indeterminate", "indeterminate"], ["name", "name"], ["required", "required"], ["scale", "scale"]]
11668
11720
  }; }
11669
11721
  }
11670
11722
 
11671
- const CSS$N = {
11723
+ const CSS$O = {
11672
11724
  title: "title",
11673
11725
  close: "close",
11674
11726
  imageContainer: "image-container",
@@ -11678,7 +11730,7 @@ const CSS$N = {
11678
11730
  container: "container",
11679
11731
  imageSlotted: "image--slotted"
11680
11732
  };
11681
- const SLOTS$l = {
11733
+ const SLOTS$m = {
11682
11734
  image: "image"
11683
11735
  };
11684
11736
  const ICONS$c = {
@@ -11785,18 +11837,18 @@ class Chip {
11785
11837
  //
11786
11838
  //--------------------------------------------------------------------------
11787
11839
  renderChipImage() {
11788
- return (hAsync("div", { class: CSS$N.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image, onSlotchange: this.handleSlotImageChange })));
11840
+ return (hAsync("div", { class: CSS$O.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$m.image, onSlotchange: this.handleSlotImageChange })));
11789
11841
  }
11790
11842
  render() {
11791
- const iconEl = (hAsync("calcite-icon", { class: CSS$N.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
11792
- const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS$N.close, onClick: this.closeClickHandler,
11843
+ const iconEl = (hAsync("calcite-icon", { class: CSS$O.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
11844
+ const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS$O.close, onClick: this.closeClickHandler,
11793
11845
  // eslint-disable-next-line react/jsx-sort-props
11794
- ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$N.closeIcon, icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
11846
+ ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$O.closeIcon, icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
11795
11847
  return (hAsync("div", { class: {
11796
- [CSS$N.container]: true,
11797
- [CSS$N.contentSlotted]: this.hasContent,
11798
- [CSS$N.imageSlotted]: this.hasImage
11799
- } }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$N.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
11848
+ [CSS$O.container]: true,
11849
+ [CSS$O.contentSlotted]: this.hasContent,
11850
+ [CSS$O.imageSlotted]: this.hasImage
11851
+ } }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$O.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
11800
11852
  }
11801
11853
  static get assetsDirs() { return ["assets"]; }
11802
11854
  get el() { return getElement(this); }
@@ -13941,7 +13993,7 @@ function zeroArray(array, length) {
13941
13993
 
13942
13994
  var color = Color;
13943
13995
 
13944
- const CSS$M = {
13996
+ const CSS$N = {
13945
13997
  container: "container",
13946
13998
  controlSection: "control-section",
13947
13999
  hexOptions: "color-hex-options",
@@ -14295,7 +14347,7 @@ class ColorPicker {
14295
14347
  const { channelMode: activeChannelMode, messages } = this;
14296
14348
  const selected = channelMode === activeChannelMode;
14297
14349
  const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
14298
- return (hAsync("calcite-tab-title", { class: CSS$M.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
14350
+ return (hAsync("calcite-tab-title", { class: CSS$N.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
14299
14351
  };
14300
14352
  this.renderChannelsTab = (channelMode) => {
14301
14353
  const { channelMode: activeChannelMode, channels, messages } = this;
@@ -14308,11 +14360,11 @@ class ColorPicker {
14308
14360
  ? [messages.red, messages.green, messages.blue]
14309
14361
  : [messages.hue, messages.saturation, messages.value];
14310
14362
  const direction = getElementDir(this.el);
14311
- return (hAsync("calcite-tab", { class: CSS$M.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$M.channels, dir: "ltr" }, channels.map((channel, index) =>
14363
+ return (hAsync("calcite-tab", { class: CSS$N.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$N.channels, dir: "ltr" }, channels.map((channel, index) =>
14312
14364
  /* the channel container is ltr, so we apply the host's direction */
14313
14365
  this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
14314
14366
  };
14315
- this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$M.channel, "data-channel-index": index, dir: direction, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
14367
+ this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$N.channel, "data-channel-index": index, dir: direction, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
14316
14368
  this.deleteColor = () => {
14317
14369
  const colorToDelete = this.color.hex();
14318
14370
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -14445,7 +14497,7 @@ class ColorPicker {
14445
14497
  this.shiftKeyChannelAdjustment = 0;
14446
14498
  const { key } = event;
14447
14499
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
14448
- !event.composedPath().some((node) => node.classList?.contains(CSS$M.channel))) {
14500
+ !event.composedPath().some((node) => node.classList?.contains(CSS$N.channel))) {
14449
14501
  return;
14450
14502
  }
14451
14503
  const { shiftKey } = event;
@@ -14528,26 +14580,26 @@ class ColorPicker {
14528
14580
  const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
14529
14581
  const noColor = color === null;
14530
14582
  const vertical = scopeOrientation === "vertical";
14531
- return (hAsync("div", { class: CSS$M.container }, hAsync("div", { class: CSS$M.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
14532
- [CSS$M.colorFieldAndSlider]: true,
14533
- [CSS$M.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
14583
+ return (hAsync("div", { class: CSS$N.container }, hAsync("div", { class: CSS$N.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
14584
+ [CSS$N.colorFieldAndSlider]: true,
14585
+ [CSS$N.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
14534
14586
  }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove,
14535
14587
  // eslint-disable-next-line react/jsx-sort-props
14536
- ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$M.scope]: true, [CSS$M.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
14588
+ ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$N.scope]: true, [CSS$N.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
14537
14589
  // eslint-disable-next-line react/jsx-sort-props
14538
- ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$M.scope]: true, [CSS$M.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
14590
+ ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$N.scope]: true, [CSS$N.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
14539
14591
  // eslint-disable-next-line react/jsx-sort-props
14540
14592
  ref: this.storeHueScope })), hideHex && hideChannels ? null : (hAsync("div", { class: {
14541
- [CSS$M.controlSection]: true,
14542
- [CSS$M.section]: true
14543
- } }, hideHex ? null : (hAsync("div", { class: CSS$M.hexOptions }, hAsync("span", { class: {
14544
- [CSS$M.header]: true,
14545
- [CSS$M.headerHex]: true
14546
- } }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$M.control, hexLabel: messages.hex, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
14547
- [CSS$M.colorModeContainer]: true,
14548
- [CSS$M.splitSection]: true
14549
- }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$M.savedColorsSection]: true, [CSS$M.section]: true } }, hAsync("div", { class: CSS$M.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$M.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$M.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$M.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$M.savedColors }, [
14550
- ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$M.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
14593
+ [CSS$N.controlSection]: true,
14594
+ [CSS$N.section]: true
14595
+ } }, hideHex ? null : (hAsync("div", { class: CSS$N.hexOptions }, hAsync("span", { class: {
14596
+ [CSS$N.header]: true,
14597
+ [CSS$N.headerHex]: true
14598
+ } }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$N.control, hexLabel: messages.hex, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
14599
+ [CSS$N.colorModeContainer]: true,
14600
+ [CSS$N.splitSection]: true
14601
+ }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$N.savedColorsSection]: true, [CSS$N.section]: true } }, hAsync("div", { class: CSS$N.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$N.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$N.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$N.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$N.savedColors }, [
14602
+ ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$N.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
14551
14603
  ])) : null))));
14552
14604
  }
14553
14605
  // --------------------------------------------------------------------------
@@ -14781,7 +14833,7 @@ class ColorPicker {
14781
14833
  }; }
14782
14834
  }
14783
14835
 
14784
- const CSS$L = {
14836
+ const CSS$M = {
14785
14837
  container: "container",
14786
14838
  preview: "preview",
14787
14839
  input: "input"
@@ -14894,9 +14946,9 @@ class ColorPickerHexInput {
14894
14946
  render() {
14895
14947
  const { value } = this;
14896
14948
  const hexInputValue = this.formatForInternalInput(value);
14897
- return (hAsync("div", { class: CSS$L.container }, hAsync("calcite-input", { class: CSS$L.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", scale: this.scale, value: hexInputValue,
14949
+ return (hAsync("div", { class: CSS$M.container }, hAsync("calcite-input", { class: CSS$M.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", scale: this.scale, value: hexInputValue,
14898
14950
  // eslint-disable-next-line react/jsx-sort-props
14899
- ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$L.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
14951
+ ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$M.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
14900
14952
  }
14901
14953
  //--------------------------------------------------------------------------
14902
14954
  //
@@ -14972,7 +15024,7 @@ class ColorPickerHexInput {
14972
15024
  }; }
14973
15025
  }
14974
15026
 
14975
- const CSS$K = {
15027
+ const CSS$L = {
14976
15028
  swatch: "swatch",
14977
15029
  noColorIcon: "no-color-icon"
14978
15030
  };
@@ -15007,7 +15059,7 @@ class ColorPickerSwatch {
15007
15059
  const hex = internalColor.hex();
15008
15060
  const theme = getModeName(el);
15009
15061
  const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
15010
- return (hAsync("svg", { class: CSS$K.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
15062
+ return (hAsync("svg", { class: CSS$L.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
15011
15063
  }
15012
15064
  get el() { return getElement(this); }
15013
15065
  static get watchers() { return {
@@ -17079,6 +17131,7 @@ class Combobox {
17079
17131
  };
17080
17132
  this.open = false;
17081
17133
  this.disabled = false;
17134
+ this.form = undefined;
17082
17135
  this.label = undefined;
17083
17136
  this.placeholder = undefined;
17084
17137
  this.placeholderIcon = undefined;
@@ -17595,6 +17648,7 @@ class Combobox {
17595
17648
  "$members$": {
17596
17649
  "open": [1540],
17597
17650
  "disabled": [516],
17651
+ "form": [513],
17598
17652
  "label": [1],
17599
17653
  "placeholder": [1],
17600
17654
  "placeholderIcon": [513, "placeholder-icon"],
@@ -17626,11 +17680,11 @@ class Combobox {
17626
17680
  },
17627
17681
  "$listeners$": [[5, "pointerdown", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]],
17628
17682
  "$lazyBundleId$": "-",
17629
- "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["placeholderIcon", "placeholder-icon"], ["placeholderIconFlipRtl", "placeholder-icon-flip-rtl"], ["maxItems", "max-items"], ["name", "name"], ["allowCustomValues", "allow-custom-values"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
17683
+ "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["form", "form"], ["placeholderIcon", "placeholder-icon"], ["placeholderIconFlipRtl", "placeholder-icon-flip-rtl"], ["maxItems", "max-items"], ["name", "name"], ["allowCustomValues", "allow-custom-values"], ["overlayPositioning", "overlay-positioning"], ["required", "required"], ["selectionMode", "selection-mode"], ["scale", "scale"]]
17630
17684
  }; }
17631
17685
  }
17632
17686
 
17633
- const CSS$J = {
17687
+ const CSS$K = {
17634
17688
  icon: "icon",
17635
17689
  iconActive: "icon--active",
17636
17690
  iconIndent: "icon--indent",
@@ -17707,20 +17761,20 @@ class ComboboxItem {
17707
17761
  // --------------------------------------------------------------------------
17708
17762
  renderIcon(iconPath) {
17709
17763
  return this.icon ? (hAsync("calcite-icon", { class: {
17710
- [CSS$J.custom]: !!this.icon,
17711
- [CSS$J.iconActive]: this.icon && this.selected,
17712
- [CSS$J.iconIndent]: true
17764
+ [CSS$K.custom]: !!this.icon,
17765
+ [CSS$K.iconActive]: this.icon && this.selected,
17766
+ [CSS$K.iconIndent]: true
17713
17767
  }, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
17714
17768
  }
17715
17769
  renderSelectIndicator(showDot, iconPath) {
17716
17770
  return showDot ? (hAsync("span", { class: {
17717
- [CSS$J.icon]: true,
17718
- [CSS$J.dot]: true,
17719
- [CSS$J.iconIndent]: true
17771
+ [CSS$K.icon]: true,
17772
+ [CSS$K.dot]: true,
17773
+ [CSS$K.iconIndent]: true
17720
17774
  } })) : (hAsync("calcite-icon", { class: {
17721
- [CSS$J.icon]: true,
17722
- [CSS$J.iconActive]: this.selected,
17723
- [CSS$J.iconIndent]: true
17775
+ [CSS$K.icon]: true,
17776
+ [CSS$K.iconActive]: this.selected,
17777
+ [CSS$K.iconIndent]: true
17724
17778
  }, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
17725
17779
  }
17726
17780
  renderChildren() {
@@ -17735,10 +17789,10 @@ class ComboboxItem {
17735
17789
  const defaultIcon = isSingleSelect ? "dot" : "check";
17736
17790
  const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
17737
17791
  const classes = {
17738
- [CSS$J.label]: true,
17739
- [CSS$J.selected]: this.selected,
17740
- [CSS$J.active]: this.active,
17741
- [CSS$J.single]: isSingleSelect
17792
+ [CSS$K.label]: true,
17793
+ [CSS$K.selected]: this.selected,
17794
+ [CSS$K.active]: this.active,
17795
+ [CSS$K.single]: isSingleSelect
17742
17796
  };
17743
17797
  const depth = getDepth$1();
17744
17798
  return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
@@ -17769,7 +17823,7 @@ class ComboboxItem {
17769
17823
  }; }
17770
17824
  }
17771
17825
 
17772
- const CSS$I = {
17826
+ const CSS$J = {
17773
17827
  list: "list",
17774
17828
  label: "label",
17775
17829
  title: "title"
@@ -17804,8 +17858,8 @@ class ComboboxItemGroup {
17804
17858
  // --------------------------------------------------------------------------
17805
17859
  render() {
17806
17860
  const { el, scale } = this;
17807
- const indent = `${CSS$I.label}--indent-${getDepth$1()}`;
17808
- return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$I.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$I.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$I.title }, this.label)), hAsync("slot", null)));
17861
+ const indent = `${CSS$J.label}--indent-${getDepth$1()}`;
17862
+ return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$J.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$J.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$J.title }, this.label)), hAsync("slot", null)));
17809
17863
  }
17810
17864
  get el() { return getElement(this); }
17811
17865
  static get style() { return comboboxItemGroupCss; }
@@ -18306,6 +18360,16 @@ class DatePicker {
18306
18360
  onMessagesChange() {
18307
18361
  /* wired up by t9n util */
18308
18362
  }
18363
+ //--------------------------------------------------------------------------
18364
+ //
18365
+ // Public Methods
18366
+ //
18367
+ //--------------------------------------------------------------------------
18368
+ /** Sets focus on the component's first focusable element. */
18369
+ async setFocus() {
18370
+ await componentLoaded(this);
18371
+ this.el.focus();
18372
+ }
18309
18373
  // --------------------------------------------------------------------------
18310
18374
  //
18311
18375
  // Lifecycle
@@ -18332,11 +18396,15 @@ class DatePicker {
18332
18396
  disconnectMessages(this);
18333
18397
  }
18334
18398
  async componentWillLoad() {
18399
+ setUpLoadableComponent(this);
18335
18400
  await this.loadLocaleData();
18336
18401
  this.onMinChanged(this.min);
18337
18402
  this.onMaxChanged(this.max);
18338
18403
  await setUpMessages(this);
18339
18404
  }
18405
+ componentDidLoad() {
18406
+ setComponentLoaded(this);
18407
+ }
18340
18408
  render() {
18341
18409
  const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
18342
18410
  let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
@@ -18470,7 +18538,8 @@ class DatePicker {
18470
18538
  "effectiveLocale": [32],
18471
18539
  "defaultMessages": [32],
18472
18540
  "localeData": [32],
18473
- "hoverRange": [32]
18541
+ "hoverRange": [32],
18542
+ "setFocus": [64]
18474
18543
  },
18475
18544
  "$listeners$": undefined,
18476
18545
  "$lazyBundleId$": "-",
@@ -18903,7 +18972,7 @@ class DatePickerMonth {
18903
18972
  }
18904
18973
 
18905
18974
  const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
18906
- const CSS$H = {
18975
+ const CSS$I = {
18907
18976
  header: "header",
18908
18977
  month: "month",
18909
18978
  chevron: "chevron",
@@ -19004,7 +19073,7 @@ class DatePickerMonthHeader {
19004
19073
  this.setNextPrevMonthDates();
19005
19074
  }
19006
19075
  render() {
19007
- return hAsync("div", { class: CSS$H.header }, this.renderContent());
19076
+ return hAsync("div", { class: CSS$I.header }, this.renderContent());
19008
19077
  }
19009
19078
  renderContent() {
19010
19079
  const { messages, localeData, activeDate } = this;
@@ -19027,12 +19096,12 @@ class DatePickerMonthHeader {
19027
19096
  const order = getOrder(unitOrder);
19028
19097
  const reverse = order.indexOf("y") < order.indexOf("m");
19029
19098
  const suffix = localeData.year?.suffix;
19030
- return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$H.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$H.textReverse]: reverse } }, hAsync(Heading, { class: CSS$H.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$H.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
19099
+ return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$I.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$I.textReverse]: reverse } }, hAsync(Heading, { class: CSS$I.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$I.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
19031
19100
  year: true,
19032
- [CSS$H.yearSuffix]: !!suffix
19101
+ [CSS$I.yearSuffix]: !!suffix
19033
19102
  }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
19034
19103
  // eslint-disable-next-line react/jsx-sort-props
19035
- ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$H.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$H.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
19104
+ ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$I.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$I.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
19036
19105
  }
19037
19106
  setNextPrevMonthDates() {
19038
19107
  if (!this.activeDate) {
@@ -19116,7 +19185,7 @@ class DatePickerMonthHeader {
19116
19185
  }; }
19117
19186
  }
19118
19187
 
19119
- const SLOTS$k = {
19188
+ const SLOTS$l = {
19120
19189
  dropdownTrigger: "trigger"
19121
19190
  };
19122
19191
 
@@ -19312,6 +19381,16 @@ class Dropdown {
19312
19381
  }
19313
19382
  //--------------------------------------------------------------------------
19314
19383
  //
19384
+ // Public Methods
19385
+ //
19386
+ //--------------------------------------------------------------------------
19387
+ /** Sets focus on the component's first focusable element. */
19388
+ async setFocus() {
19389
+ await componentLoaded(this);
19390
+ this.el.focus();
19391
+ }
19392
+ //--------------------------------------------------------------------------
19393
+ //
19315
19394
  // Lifecycle
19316
19395
  //
19317
19396
  //--------------------------------------------------------------------------
@@ -19324,7 +19403,11 @@ class Dropdown {
19324
19403
  }
19325
19404
  connectOpenCloseComponent(this);
19326
19405
  }
19406
+ componentWillLoad() {
19407
+ setUpLoadableComponent(this);
19408
+ }
19327
19409
  componentDidLoad() {
19410
+ setComponentLoaded(this);
19328
19411
  this.reposition(true);
19329
19412
  }
19330
19413
  componentDidRender() {
@@ -19340,7 +19423,7 @@ class Dropdown {
19340
19423
  const { open, guid } = this;
19341
19424
  return (hAsync(Host, null, hAsync("div", { class: "calcite-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler,
19342
19425
  // eslint-disable-next-line react/jsx-sort-props
19343
- ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$k.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper",
19426
+ ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$l.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper",
19344
19427
  // eslint-disable-next-line react/jsx-sort-props
19345
19428
  ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
19346
19429
  ["calcite-dropdown-content"]: true,
@@ -19513,6 +19596,7 @@ class Dropdown {
19513
19596
  "selectedItems": [1040],
19514
19597
  "type": [513],
19515
19598
  "width": [513],
19599
+ "setFocus": [64],
19516
19600
  "reposition": [64]
19517
19601
  },
19518
19602
  "$listeners$": [[9, "pointerdown", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "pointerenter", "mouseEnterHandler"], [1, "pointerleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
@@ -19521,7 +19605,7 @@ class Dropdown {
19521
19605
  }; }
19522
19606
  }
19523
19607
 
19524
- const CSS$G = {
19608
+ const CSS$H = {
19525
19609
  containerSmall: "container--s",
19526
19610
  containerMedium: "container--m",
19527
19611
  containerLarge: "container--l"
@@ -19554,9 +19638,9 @@ class DropdownGroup {
19554
19638
  const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
19555
19639
  return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
19556
19640
  container: true,
19557
- [CSS$G.containerSmall]: scale === "s",
19558
- [CSS$G.containerMedium]: scale === "m",
19559
- [CSS$G.containerLarge]: scale === "l"
19641
+ [CSS$H.containerSmall]: scale === "s",
19642
+ [CSS$H.containerMedium]: scale === "m",
19643
+ [CSS$H.containerLarge]: scale === "l"
19560
19644
  }, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
19561
19645
  }
19562
19646
  //--------------------------------------------------------------------------
@@ -19597,7 +19681,7 @@ class DropdownGroup {
19597
19681
  }; }
19598
19682
  }
19599
19683
 
19600
- const CSS$F = {
19684
+ const CSS$G = {
19601
19685
  containerLink: "container--link",
19602
19686
  containerSmall: "container--s",
19603
19687
  containerMedium: "container--m",
@@ -19662,9 +19746,9 @@ class DropdownItem {
19662
19746
  }
19663
19747
  render() {
19664
19748
  const scale = getElementProp(this.el, "scale", this.scale);
19665
- const iconStartEl = (hAsync("calcite-icon", { class: CSS$F.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
19666
- const contentNode = (hAsync("span", { class: CSS$F.itemContent }, hAsync("slot", null)));
19667
- const iconEndEl = (hAsync("calcite-icon", { class: CSS$F.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
19749
+ const iconStartEl = (hAsync("calcite-icon", { class: CSS$G.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
19750
+ const contentNode = (hAsync("span", { class: CSS$G.itemContent }, hAsync("slot", null)));
19751
+ const iconEndEl = (hAsync("calcite-icon", { class: CSS$G.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
19668
19752
  const slottedContent = this.iconStart && this.iconEnd
19669
19753
  ? [iconStartEl, contentNode, iconEndEl]
19670
19754
  : this.iconStart
@@ -19672,7 +19756,7 @@ class DropdownItem {
19672
19756
  : this.iconEnd
19673
19757
  ? [contentNode, iconEndEl]
19674
19758
  : contentNode;
19675
- const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$F.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
19759
+ const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$G.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
19676
19760
  // eslint-disable-next-line react/jsx-sort-props
19677
19761
  ref: (el) => (this.childLink = el) }, slottedContent));
19678
19762
  const itemRole = this.href
@@ -19685,14 +19769,14 @@ class DropdownItem {
19685
19769
  const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
19686
19770
  return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
19687
19771
  container: true,
19688
- [CSS$F.containerLink]: !!this.href,
19689
- [CSS$F.containerSmall]: scale === "s",
19690
- [CSS$F.containerMedium]: scale === "m",
19691
- [CSS$F.containerLarge]: scale === "l",
19692
- [CSS$F.containerMulti]: this.selectionMode === "multiple",
19693
- [CSS$F.containerSingle]: this.selectionMode === "single",
19694
- [CSS$F.containerNone]: this.selectionMode === "none"
19695
- } }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$F.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
19772
+ [CSS$G.containerLink]: !!this.href,
19773
+ [CSS$G.containerSmall]: scale === "s",
19774
+ [CSS$G.containerMedium]: scale === "m",
19775
+ [CSS$G.containerLarge]: scale === "l",
19776
+ [CSS$G.containerMulti]: this.selectionMode === "multiple",
19777
+ [CSS$G.containerSingle]: this.selectionMode === "single",
19778
+ [CSS$G.containerNone]: this.selectionMode === "none"
19779
+ } }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$G.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
19696
19780
  }
19697
19781
  //--------------------------------------------------------------------------
19698
19782
  //
@@ -19798,7 +19882,7 @@ class DropdownItem {
19798
19882
  }; }
19799
19883
  }
19800
19884
 
19801
- const CSS$E = {
19885
+ const CSS$F = {
19802
19886
  button: "button"
19803
19887
  };
19804
19888
  const ICONS$b = {
@@ -19853,7 +19937,7 @@ class Fab {
19853
19937
  render() {
19854
19938
  const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
19855
19939
  const title = !textEnabled ? label || text || null : null;
19856
- return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$E.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
19940
+ return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$F.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
19857
19941
  // eslint-disable-next-line react/jsx-sort-props
19858
19942
  ref: (buttonEl) => {
19859
19943
  this.buttonEl = buttonEl;
@@ -19883,7 +19967,7 @@ class Fab {
19883
19967
  }; }
19884
19968
  }
19885
19969
 
19886
- const CSS$D = {
19970
+ const CSS$E = {
19887
19971
  container: "container",
19888
19972
  searchIcon: "search-icon"
19889
19973
  };
@@ -19995,7 +20079,7 @@ class Filter {
19995
20079
  // --------------------------------------------------------------------------
19996
20080
  render() {
19997
20081
  const { disabled, scale } = this;
19998
- return (hAsync(Fragment, null, hAsync("div", { class: CSS$D.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
20082
+ return (hAsync(Fragment, null, hAsync("div", { class: CSS$E.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
19999
20083
  // eslint-disable-next-line react/jsx-sort-props
20000
20084
  ref: (el) => {
20001
20085
  this.textInput = el;
@@ -20033,7 +20117,7 @@ class Filter {
20033
20117
  }; }
20034
20118
  }
20035
20119
 
20036
- const CSS$C = {
20120
+ const CSS$D = {
20037
20121
  frame: "frame",
20038
20122
  frameAdvancing: "frame--advancing",
20039
20123
  frameRetreating: "frame--retreating"
@@ -20133,9 +20217,9 @@ class Flow {
20133
20217
  render() {
20134
20218
  const { flowDirection } = this;
20135
20219
  const frameDirectionClasses = {
20136
- [CSS$C.frame]: true,
20137
- [CSS$C.frameAdvancing]: flowDirection === "advancing",
20138
- [CSS$C.frameRetreating]: flowDirection === "retreating"
20220
+ [CSS$D.frame]: true,
20221
+ [CSS$D.frameAdvancing]: flowDirection === "advancing",
20222
+ [CSS$D.frameRetreating]: flowDirection === "retreating"
20139
20223
  };
20140
20224
  return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
20141
20225
  }
@@ -20156,7 +20240,7 @@ class Flow {
20156
20240
  }; }
20157
20241
  }
20158
20242
 
20159
- const CSS$B = {
20243
+ const CSS$C = {
20160
20244
  backButton: "back-button",
20161
20245
  container: "container",
20162
20246
  header: "header",
@@ -20179,7 +20263,7 @@ const ICONS$9 = {
20179
20263
  backLeft: "chevron-left",
20180
20264
  backRight: "chevron-right"
20181
20265
  };
20182
- const SLOTS$j = {
20266
+ const SLOTS$k = {
20183
20267
  headerActionsStart: "header-actions-start",
20184
20268
  headerActionsEnd: "header-actions-end",
20185
20269
  headerMenuActions: "header-menu-actions",
@@ -20189,14 +20273,14 @@ const SLOTS$j = {
20189
20273
  footerActions: "footer-actions"
20190
20274
  };
20191
20275
 
20192
- const CSS$A = {
20276
+ const CSS$B = {
20193
20277
  backButton: "back-button"
20194
20278
  };
20195
20279
  const ICONS$8 = {
20196
20280
  backLeft: "chevron-left",
20197
20281
  backRight: "chevron-right"
20198
20282
  };
20199
- const SLOTS$i = {
20283
+ const SLOTS$j = {
20200
20284
  headerActionsStart: "header-actions-start",
20201
20285
  headerActionsEnd: "header-actions-end",
20202
20286
  headerMenuActions: "header-menu-actions",
@@ -20333,7 +20417,7 @@ class FlowItem {
20333
20417
  const { showBackButton, backButtonClick, messages } = this;
20334
20418
  const label = messages.back;
20335
20419
  const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
20336
- return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
20420
+ return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$B.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
20337
20421
  // eslint-disable-next-line react/jsx-sort-props
20338
20422
  ref: this.setBackRef })) : null;
20339
20423
  }
@@ -20342,7 +20426,7 @@ class FlowItem {
20342
20426
  const label = messages.back;
20343
20427
  return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll,
20344
20428
  // eslint-disable-next-line react/jsx-sort-props
20345
- ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$i.headerActionsStart, slot: SLOTS$j.headerActionsStart }), hAsync("slot", { name: SLOTS$i.headerActionsEnd, slot: SLOTS$j.headerActionsEnd }), hAsync("slot", { name: SLOTS$i.headerContent, slot: SLOTS$j.headerContent }), hAsync("slot", { name: SLOTS$i.headerMenuActions, slot: SLOTS$j.headerMenuActions }), hAsync("slot", { name: SLOTS$i.fab, slot: SLOTS$j.fab }), hAsync("slot", { name: SLOTS$i.footerActions, slot: SLOTS$j.footerActions }), hAsync("slot", { name: SLOTS$i.footer, slot: SLOTS$j.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
20429
+ ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$j.headerActionsStart, slot: SLOTS$k.headerActionsStart }), hAsync("slot", { name: SLOTS$j.headerActionsEnd, slot: SLOTS$k.headerActionsEnd }), hAsync("slot", { name: SLOTS$j.headerContent, slot: SLOTS$k.headerContent }), hAsync("slot", { name: SLOTS$j.headerMenuActions, slot: SLOTS$k.headerMenuActions }), hAsync("slot", { name: SLOTS$j.fab, slot: SLOTS$k.fab }), hAsync("slot", { name: SLOTS$j.footerActions, slot: SLOTS$k.footerActions }), hAsync("slot", { name: SLOTS$j.footer, slot: SLOTS$k.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
20346
20430
  }
20347
20431
  static get assetsDirs() { return ["assets"]; }
20348
20432
  get el() { return getElement(this); }
@@ -20604,7 +20688,7 @@ class Graph {
20604
20688
  }; }
20605
20689
  }
20606
20690
 
20607
- const CSS$z = {
20691
+ const CSS$A = {
20608
20692
  handle: "handle",
20609
20693
  handleActivated: "handle--activated"
20610
20694
  };
@@ -20699,7 +20783,7 @@ class Handle {
20699
20783
  render() {
20700
20784
  return (
20701
20785
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
20702
- hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$z.handle]: true, [CSS$z.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
20786
+ hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$A.handle]: true, [CSS$A.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
20703
20787
  // eslint-disable-next-line react/jsx-sort-props
20704
20788
  ref: (el) => {
20705
20789
  this.handleButton = el;
@@ -20730,7 +20814,7 @@ class Handle {
20730
20814
  }; }
20731
20815
  }
20732
20816
 
20733
- const CSS$y = {
20817
+ const CSS$z = {
20734
20818
  icon: "icon",
20735
20819
  flipRtl: "flip-rtl"
20736
20820
  };
@@ -20778,7 +20862,7 @@ class Icon {
20778
20862
  const semantic = !!textLabel;
20779
20863
  const paths = [].concat(pathData || "");
20780
20864
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
20781
- [CSS$y.flipRtl]: dir === "rtl" && flipRtl,
20865
+ [CSS$z.flipRtl]: dir === "rtl" && flipRtl,
20782
20866
  svg: true
20783
20867
  }, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
20784
20868
  }
@@ -20824,7 +20908,7 @@ class Icon {
20824
20908
  }; }
20825
20909
  }
20826
20910
 
20827
- const CSS$x = {
20911
+ const CSS$y = {
20828
20912
  wrapper: "wrapper",
20829
20913
  confirmChangesButton: "confirm-changes-button",
20830
20914
  cancelEditingButton: "cancel-editing-button",
@@ -20972,16 +21056,16 @@ class InlineEditable {
20972
21056
  updateHostInteraction(this);
20973
21057
  }
20974
21058
  render() {
20975
- return (hAsync("div", { class: CSS$x.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$x.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$x.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$x.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
21059
+ return (hAsync("div", { class: CSS$y.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$y.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$y.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$y.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
20976
21060
  opacity: this.editingEnabled ? "0" : "1",
20977
21061
  width: this.editingEnabled ? "0" : "inherit"
20978
21062
  }, type: "button",
20979
21063
  // eslint-disable-next-line react/jsx-sort-props
20980
21064
  ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
20981
- hAsync("div", { class: CSS$x.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$x.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
21065
+ hAsync("div", { class: CSS$y.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$y.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
20982
21066
  // eslint-disable-next-line react/jsx-sort-props
20983
21067
  ref: (el) => (this.cancelEditingButton = el) })),
20984
- hAsync("calcite-button", { appearance: "solid", class: CSS$x.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
21068
+ hAsync("calcite-button", { appearance: "solid", class: CSS$y.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
20985
21069
  // eslint-disable-next-line react/jsx-sort-props
20986
21070
  ref: (el) => (this.confirmEditingButton = el) })
20987
21071
  ])));
@@ -21068,7 +21152,7 @@ class InlineEditable {
21068
21152
  }; }
21069
21153
  }
21070
21154
 
21071
- const CSS$w = {
21155
+ const CSS$x = {
21072
21156
  loader: "loader",
21073
21157
  clearButton: "clear-button",
21074
21158
  editingEnabled: "editing-enabled",
@@ -21092,7 +21176,7 @@ const INPUT_TYPE_ICONS = {
21092
21176
  time: "clock",
21093
21177
  search: "search"
21094
21178
  };
21095
- const SLOTS$h = {
21179
+ const SLOTS$i = {
21096
21180
  action: "action"
21097
21181
  };
21098
21182
 
@@ -21392,6 +21476,7 @@ class Input {
21392
21476
  this.autofocus = false;
21393
21477
  this.clearable = false;
21394
21478
  this.disabled = false;
21479
+ this.form = undefined;
21395
21480
  this.groupSeparator = false;
21396
21481
  this.hidden = false;
21397
21482
  this.icon = undefined;
@@ -21549,7 +21634,7 @@ class Input {
21549
21634
  this.childEl?.focus();
21550
21635
  }
21551
21636
  }
21552
- /** Selects all text of the component's `value`. */
21637
+ /** Selects the text of the component's `value`. */
21553
21638
  async selectText() {
21554
21639
  if (this.type === "number") {
21555
21640
  this.childNumberEl?.select();
@@ -21649,38 +21734,38 @@ class Input {
21649
21734
  // --------------------------------------------------------------------------
21650
21735
  render() {
21651
21736
  const dir = getElementDir(this.el);
21652
- const loader = (hAsync("div", { class: CSS$w.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
21653
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$w.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
21654
- const iconEl = (hAsync("calcite-icon", { class: CSS$w.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
21737
+ const loader = (hAsync("div", { class: CSS$x.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
21738
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$x.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
21739
+ const iconEl = (hAsync("calcite-icon", { class: CSS$x.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
21655
21740
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
21656
21741
  const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
21657
- [CSS$w.numberButtonItem]: true,
21658
- [CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
21742
+ [CSS$x.numberButtonItem]: true,
21743
+ [CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
21659
21744
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
21660
21745
  const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
21661
- [CSS$w.numberButtonItem]: true,
21662
- [CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
21746
+ [CSS$x.numberButtonItem]: true,
21747
+ [CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
21663
21748
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
21664
- const numberButtonsVertical = (hAsync("div", { class: CSS$w.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
21665
- const prefixText = hAsync("div", { class: CSS$w.prefix }, this.prefixText);
21666
- const suffixText = hAsync("div", { class: CSS$w.suffix }, this.suffixText);
21749
+ const numberButtonsVertical = (hAsync("div", { class: CSS$x.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
21750
+ const prefixText = hAsync("div", { class: CSS$x.prefix }, this.prefixText);
21751
+ const suffixText = hAsync("div", { class: CSS$x.suffix }, this.suffixText);
21667
21752
  const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
21668
21753
  // eslint-disable-next-line react/jsx-sort-props
21669
21754
  ref: this.setChildNumberElRef })) : null;
21670
21755
  const childEl = this.type !== "number"
21671
21756
  ? [
21672
21757
  hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
21673
- [CSS$w.editingEnabled]: this.editingEnabled,
21674
- [CSS$w.inlineChild]: !!this.inlineEditableEl
21758
+ [CSS$x.editingEnabled]: this.editingEnabled,
21759
+ [CSS$x.inlineChild]: !!this.inlineEditableEl
21675
21760
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
21676
21761
  // eslint-disable-next-line react/jsx-sort-props
21677
21762
  ref: this.setChildElRef }),
21678
- this.isTextarea ? (hAsync("div", { class: CSS$w.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
21763
+ this.isTextarea ? (hAsync("div", { class: CSS$x.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
21679
21764
  ]
21680
21765
  : null;
21681
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$w.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
21766
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$x.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
21682
21767
  ? numberButtonsHorizontalDown
21683
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$w.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$w.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
21768
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$x.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$x.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
21684
21769
  ? numberButtonsVertical
21685
21770
  : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
21686
21771
  ? numberButtonsHorizontalUp
@@ -21707,6 +21792,7 @@ class Input {
21707
21792
  "autofocus": [516],
21708
21793
  "clearable": [516],
21709
21794
  "disabled": [516],
21795
+ "form": [513],
21710
21796
  "groupSeparator": [516, "group-separator"],
21711
21797
  "hidden": [516],
21712
21798
  "icon": [520],
@@ -21750,11 +21836,11 @@ class Input {
21750
21836
  },
21751
21837
  "$listeners$": undefined,
21752
21838
  "$lazyBundleId$": "-",
21753
- "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["groupSeparator", "group-separator"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["numberingSystem", "numbering-system"], ["max", "max"], ["min", "min"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["numberButtonType", "number-button-type"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["step", "step"], ["editingEnabled", "editing-enabled"], ["type", "type"]]
21839
+ "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["form", "form"], ["groupSeparator", "group-separator"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["numberingSystem", "numbering-system"], ["max", "max"], ["min", "min"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["numberButtonType", "number-button-type"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["step", "step"], ["editingEnabled", "editing-enabled"], ["type", "type"]]
21754
21840
  }; }
21755
21841
  }
21756
21842
 
21757
- const CSS$v = {
21843
+ const CSS$w = {
21758
21844
  menu: "menu-container",
21759
21845
  menuActive: "menu-container--active"
21760
21846
  };
@@ -21961,6 +22047,7 @@ class InputDatePicker {
21961
22047
  .join("")
21962
22048
  : "";
21963
22049
  this.disabled = false;
22050
+ this.form = undefined;
21964
22051
  this.readOnly = false;
21965
22052
  this.value = "";
21966
22053
  this.flipPlacements = undefined;
@@ -22165,8 +22252,8 @@ class InputDatePicker {
22165
22252
  ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, scale: this.scale, type: "text",
22166
22253
  // eslint-disable-next-line react/jsx-sort-props
22167
22254
  ref: this.setStartInput })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
22168
- [CSS$v.menu]: true,
22169
- [CSS$v.menuActive]: this.open
22255
+ [CSS$w.menu]: true,
22256
+ [CSS$w.menuActive]: this.open
22170
22257
  },
22171
22258
  // eslint-disable-next-line react/jsx-sort-props
22172
22259
  ref: this.setFloatingEl }, hAsync("div", { class: {
@@ -22305,6 +22392,7 @@ class InputDatePicker {
22305
22392
  "$tagName$": "calcite-input-date-picker",
22306
22393
  "$members$": {
22307
22394
  "disabled": [516],
22395
+ "form": [513],
22308
22396
  "readOnly": [516, "read-only"],
22309
22397
  "value": [1025],
22310
22398
  "flipPlacements": [16],
@@ -22335,7 +22423,7 @@ class InputDatePicker {
22335
22423
  },
22336
22424
  "$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
22337
22425
  "$lazyBundleId$": "-",
22338
- "$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
22426
+ "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
22339
22427
  }; }
22340
22428
  }
22341
22429
 
@@ -22406,7 +22494,7 @@ class InputMessage {
22406
22494
  }; }
22407
22495
  }
22408
22496
 
22409
- const CSS$u = {
22497
+ const CSS$v = {
22410
22498
  loader: "loader",
22411
22499
  clearButton: "clear-button",
22412
22500
  editingEnabled: "editing-enabled",
@@ -22422,7 +22510,7 @@ const CSS$u = {
22422
22510
  resizeIconWrapper: "resize-icon-wrapper",
22423
22511
  numberButtonItem: "number-button-item"
22424
22512
  };
22425
- const SLOTS$g = {
22513
+ const SLOTS$h = {
22426
22514
  action: "action"
22427
22515
  };
22428
22516
 
@@ -22688,6 +22776,7 @@ class InputNumber {
22688
22776
  this.autofocus = false;
22689
22777
  this.clearable = false;
22690
22778
  this.disabled = false;
22779
+ this.form = undefined;
22691
22780
  this.groupSeparator = false;
22692
22781
  this.hidden = false;
22693
22782
  this.icon = undefined;
@@ -22832,7 +22921,7 @@ class InputNumber {
22832
22921
  await componentLoaded(this);
22833
22922
  this.childNumberEl?.focus();
22834
22923
  }
22835
- /** Selects all text of the component's `value`. */
22924
+ /** Selects the text of the component's `value`. */
22836
22925
  async selectText() {
22837
22926
  this.childNumberEl?.select();
22838
22927
  }
@@ -22905,27 +22994,27 @@ class InputNumber {
22905
22994
  // --------------------------------------------------------------------------
22906
22995
  render() {
22907
22996
  const dir = getElementDir(this.el);
22908
- const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
22909
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
22910
- const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
22997
+ const loader = (hAsync("div", { class: CSS$v.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
22998
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
22999
+ const iconEl = (hAsync("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
22911
23000
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
22912
23001
  const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
22913
- [CSS$u.numberButtonItem]: true,
22914
- [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
23002
+ [CSS$v.numberButtonItem]: true,
23003
+ [CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
22915
23004
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
22916
23005
  const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
22917
- [CSS$u.numberButtonItem]: true,
22918
- [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
23006
+ [CSS$v.numberButtonItem]: true,
23007
+ [CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
22919
23008
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
22920
- const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
22921
- const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
22922
- const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
23009
+ const numberButtonsVertical = (hAsync("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
23010
+ const prefixText = hAsync("div", { class: CSS$v.prefix }, this.prefixText);
23011
+ const suffixText = hAsync("div", { class: CSS$v.suffix }, this.suffixText);
22923
23012
  const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
22924
23013
  // eslint-disable-next-line react/jsx-sort-props
22925
23014
  ref: this.setChildNumberElRef }));
22926
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
23015
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
22927
23016
  ? numberButtonsHorizontalDown
22928
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
23017
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$v.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$v.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
22929
23018
  ? numberButtonsHorizontalUp
22930
23019
  : null, hAsync(HiddenFormInputSlot, { component: this }))));
22931
23020
  }
@@ -22949,6 +23038,7 @@ class InputNumber {
22949
23038
  "autofocus": [516],
22950
23039
  "clearable": [516],
22951
23040
  "disabled": [516],
23041
+ "form": [513],
22952
23042
  "groupSeparator": [516, "group-separator"],
22953
23043
  "hidden": [516],
22954
23044
  "icon": [520],
@@ -22987,11 +23077,11 @@ class InputNumber {
22987
23077
  },
22988
23078
  "$listeners$": undefined,
22989
23079
  "$lazyBundleId$": "-",
22990
- "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["groupSeparator", "group-separator"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["numberingSystem", "numbering-system"], ["max", "max"], ["min", "min"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["numberButtonType", "number-button-type"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["step", "step"], ["editingEnabled", "editing-enabled"]]
23080
+ "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["form", "form"], ["groupSeparator", "group-separator"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["numberingSystem", "numbering-system"], ["max", "max"], ["min", "min"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["numberButtonType", "number-button-type"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["step", "step"], ["editingEnabled", "editing-enabled"]]
22991
23081
  }; }
22992
23082
  }
22993
23083
 
22994
- const CSS$t = {
23084
+ const CSS$u = {
22995
23085
  loader: "loader",
22996
23086
  clearButton: "clear-button",
22997
23087
  editingEnabled: "editing-enabled",
@@ -23004,7 +23094,7 @@ const CSS$t = {
23004
23094
  actionWrapper: "action-wrapper",
23005
23095
  resizeIconWrapper: "resize-icon-wrapper"
23006
23096
  };
23007
- const SLOTS$f = {
23097
+ const SLOTS$g = {
23008
23098
  action: "action"
23009
23099
  };
23010
23100
 
@@ -23140,6 +23230,7 @@ class InputText {
23140
23230
  this.autofocus = false;
23141
23231
  this.clearable = false;
23142
23232
  this.disabled = false;
23233
+ this.form = undefined;
23143
23234
  this.hidden = false;
23144
23235
  this.icon = undefined;
23145
23236
  this.iconFlipRtl = false;
@@ -23242,7 +23333,7 @@ class InputText {
23242
23333
  await componentLoaded(this);
23243
23334
  this.childEl?.focus();
23244
23335
  }
23245
- /** Selects all text of the component's `value`. */
23336
+ /** Selects the text of the component's `value`. */
23246
23337
  async selectText() {
23247
23338
  this.childEl?.select();
23248
23339
  }
@@ -23286,18 +23377,18 @@ class InputText {
23286
23377
  // --------------------------------------------------------------------------
23287
23378
  render() {
23288
23379
  const dir = getElementDir(this.el);
23289
- const loader = (hAsync("div", { class: CSS$t.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
23290
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
23291
- const iconEl = (hAsync("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
23292
- const prefixText = hAsync("div", { class: CSS$t.prefix }, this.prefixText);
23293
- const suffixText = hAsync("div", { class: CSS$t.suffix }, this.suffixText);
23380
+ const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
23381
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
23382
+ const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
23383
+ const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
23384
+ const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
23294
23385
  const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
23295
- [CSS$t.editingEnabled]: this.editingEnabled,
23296
- [CSS$t.inlineChild]: !!this.inlineEditableEl
23386
+ [CSS$u.editingEnabled]: this.editingEnabled,
23387
+ [CSS$u.inlineChild]: !!this.inlineEditableEl
23297
23388
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
23298
23389
  // eslint-disable-next-line react/jsx-sort-props
23299
23390
  ref: this.setChildElRef }));
23300
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$t.actionWrapper }, hAsync("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
23391
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
23301
23392
  }
23302
23393
  static get assetsDirs() { return ["assets"]; }
23303
23394
  get el() { return getElement(this); }
@@ -23317,6 +23408,7 @@ class InputText {
23317
23408
  "autofocus": [516],
23318
23409
  "clearable": [516],
23319
23410
  "disabled": [516],
23411
+ "form": [513],
23320
23412
  "hidden": [516],
23321
23413
  "icon": [520],
23322
23414
  "iconFlipRtl": [516, "icon-flip-rtl"],
@@ -23348,7 +23440,7 @@ class InputText {
23348
23440
  },
23349
23441
  "$listeners$": undefined,
23350
23442
  "$lazyBundleId$": "-",
23351
- "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["editingEnabled", "editing-enabled"]]
23443
+ "$attrsToReflect$": [["alignment", "alignment"], ["autofocus", "autofocus"], ["clearable", "clearable"], ["disabled", "disabled"], ["form", "form"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["status", "status"], ["editingEnabled", "editing-enabled"]]
23352
23444
  }; }
23353
23445
  }
23354
23446
 
@@ -23673,6 +23765,7 @@ class InputTimePicker {
23673
23765
  };
23674
23766
  this.open = false;
23675
23767
  this.disabled = false;
23768
+ this.form = undefined;
23676
23769
  this.readOnly = false;
23677
23770
  this.messagesOverrides = undefined;
23678
23771
  this.name = undefined;
@@ -23815,6 +23908,7 @@ class InputTimePicker {
23815
23908
  "$members$": {
23816
23909
  "open": [1540],
23817
23910
  "disabled": [516],
23911
+ "form": [513],
23818
23912
  "readOnly": [516, "read-only"],
23819
23913
  "messagesOverrides": [16],
23820
23914
  "name": [1],
@@ -23832,11 +23926,11 @@ class InputTimePicker {
23832
23926
  },
23833
23927
  "$listeners$": [[0, "click", "clickHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]],
23834
23928
  "$lazyBundleId$": "-",
23835
- "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
23929
+ "$attrsToReflect$": [["open", "open"], ["disabled", "disabled"], ["form", "form"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
23836
23930
  }; }
23837
23931
  }
23838
23932
 
23839
- const CSS$s = {
23933
+ const CSS$t = {
23840
23934
  container: "container"
23841
23935
  };
23842
23936
 
@@ -23876,7 +23970,7 @@ class Label {
23876
23970
  document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
23877
23971
  }
23878
23972
  render() {
23879
- return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$s.container }, hAsync("slot", null))));
23973
+ return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$t.container }, hAsync("slot", null))));
23880
23974
  }
23881
23975
  get el() { return getElement(this); }
23882
23976
  static get style() { return labelCss; }
@@ -24002,7 +24096,7 @@ class Link {
24002
24096
  }; }
24003
24097
  }
24004
24098
 
24005
- const CSS$r = {
24099
+ const CSS$s = {
24006
24100
  container: "container",
24007
24101
  containerBorderSelected: "container--border-selected",
24008
24102
  containerBorderUnselected: "container--border-unselected",
@@ -24022,7 +24116,7 @@ const CSS$r = {
24022
24116
  selectionContainer: "selection-container",
24023
24117
  openContainer: "open-container"
24024
24118
  };
24025
- const SLOTS$e = {
24119
+ const SLOTS$f = {
24026
24120
  actionsStart: "actions-start",
24027
24121
  contentStart: "content-start",
24028
24122
  content: "content",
@@ -24062,7 +24156,7 @@ function getDepth(element, includeGroup = false) {
24062
24156
  }
24063
24157
  }
24064
24158
 
24065
- const CSS$q = {
24159
+ const CSS$r = {
24066
24160
  container: "container",
24067
24161
  table: "table",
24068
24162
  scrim: "scrim",
@@ -24293,9 +24387,9 @@ class List$1 {
24293
24387
  // --------------------------------------------------------------------------
24294
24388
  render() {
24295
24389
  const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
24296
- return (hAsync("div", { class: CSS$q.container }, loading ? hAsync("calcite-scrim", { class: CSS$q.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$q.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$q.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
24390
+ return (hAsync("div", { class: CSS$r.container }, loading ? hAsync("calcite-scrim", { class: CSS$r.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$r.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$r.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
24297
24391
  // eslint-disable-next-line react/jsx-sort-props
24298
- ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$q.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
24392
+ ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$r.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
24299
24393
  }
24300
24394
  updateListItems() {
24301
24395
  const { selectionAppearance, selectionMode } = this;
@@ -24560,7 +24654,7 @@ class ListItem {
24560
24654
  if (selectionMode === "none" || selectionAppearance === "border") {
24561
24655
  return null;
24562
24656
  }
24563
- return (hAsync("td", { class: CSS$r.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
24657
+ return (hAsync("td", { class: CSS$s.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
24564
24658
  ? selectionMode === "multiple"
24565
24659
  ? ICONS$6.selectedMultiple
24566
24660
  : ICONS$6.selectedSingle
@@ -24569,35 +24663,35 @@ class ListItem {
24569
24663
  renderOpen() {
24570
24664
  const { el, open, openable, parentListEl } = this;
24571
24665
  const dir = getElementDir(el);
24572
- return openable ? (hAsync("td", { class: CSS$r.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$6.open : dir === "rtl" ? ICONS$6.closedRTL : ICONS$6.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$r.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
24666
+ return openable ? (hAsync("td", { class: CSS$s.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$6.open : dir === "rtl" ? ICONS$6.closedRTL : ICONS$6.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$s.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
24573
24667
  }
24574
24668
  renderActionsStart() {
24575
24669
  const { label, hasActionsStart } = this;
24576
- return (hAsync("td", { "aria-label": label, class: CSS$r.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
24670
+ return (hAsync("td", { "aria-label": label, class: CSS$s.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
24577
24671
  // eslint-disable-next-line react/jsx-sort-props
24578
- ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$e.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
24672
+ ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
24579
24673
  }
24580
24674
  renderActionsEnd() {
24581
24675
  const { label, hasActionsEnd } = this;
24582
- return (hAsync("td", { "aria-label": label, class: CSS$r.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", role: "gridcell",
24676
+ return (hAsync("td", { "aria-label": label, class: CSS$s.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", role: "gridcell",
24583
24677
  // eslint-disable-next-line react/jsx-sort-props
24584
- ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$e.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
24678
+ ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
24585
24679
  }
24586
24680
  renderContentStart() {
24587
24681
  const { hasContentStart } = this;
24588
- return (hAsync("div", { class: CSS$r.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$e.contentStart, onSlotchange: this.handleContentStartSlotChange })));
24682
+ return (hAsync("div", { class: CSS$s.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
24589
24683
  }
24590
24684
  renderCustomContent() {
24591
24685
  const { hasCustomContent } = this;
24592
- return (hAsync("div", { class: CSS$r.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$e.content, onSlotchange: this.handleContentSlotChange })));
24686
+ return (hAsync("div", { class: CSS$s.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$f.content, onSlotchange: this.handleContentSlotChange })));
24593
24687
  }
24594
24688
  renderContentEnd() {
24595
24689
  const { hasContentEnd } = this;
24596
- return (hAsync("div", { class: CSS$r.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
24690
+ return (hAsync("div", { class: CSS$s.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
24597
24691
  }
24598
24692
  renderContentProperties() {
24599
24693
  const { label, description, hasCustomContent } = this;
24600
- return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$r.content, key: "content" }, label ? (hAsync("div", { class: CSS$r.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$r.description, key: "description" }, description)) : null)) : null;
24694
+ return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$s.content, key: "content" }, label ? (hAsync("div", { class: CSS$s.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$s.description, key: "description" }, description)) : null)) : null;
24601
24695
  }
24602
24696
  renderContentContainer() {
24603
24697
  const { description, label, selectionMode, hasCustomContent } = this;
@@ -24609,9 +24703,9 @@ class ListItem {
24609
24703
  this.renderContentEnd()
24610
24704
  ];
24611
24705
  return (hAsync("td", { "aria-label": label, class: {
24612
- [CSS$r.contentContainer]: true,
24613
- [CSS$r.contentContainerSelectable]: selectionMode !== "none",
24614
- [CSS$r.contentContainerHasCenterContent]: hasCenterContent
24706
+ [CSS$s.contentContainer]: true,
24707
+ [CSS$s.contentContainerSelectable]: selectionMode !== "none",
24708
+ [CSS$s.contentContainerHasCenterContent]: hasCenterContent
24615
24709
  }, key: "content-container", onClick: this.itemClicked, role: "gridcell",
24616
24710
  // eslint-disable-next-line react/jsx-sort-props
24617
24711
  ref: (el) => (this.contentEl = el) }, content));
@@ -24622,14 +24716,14 @@ class ListItem {
24622
24716
  const borderSelected = showBorder && selected;
24623
24717
  const borderUnselected = showBorder && !selected;
24624
24718
  return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
24625
- [CSS$r.container]: true,
24626
- [CSS$r.containerBorderSelected]: borderSelected,
24627
- [CSS$r.containerBorderUnselected]: borderUnselected
24719
+ [CSS$s.container]: true,
24720
+ [CSS$s.containerBorderSelected]: borderSelected,
24721
+ [CSS$s.containerBorderUnselected]: borderUnselected
24628
24722
  }, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
24629
24723
  // eslint-disable-next-line react/jsx-sort-props
24630
24724
  ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
24631
- [CSS$r.nestedContainer]: true,
24632
- [CSS$r.nestedContainerHidden]: openable && !open
24725
+ [CSS$s.nestedContainer]: true,
24726
+ [CSS$s.nestedContainerHidden]: openable && !open
24633
24727
  } }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
24634
24728
  }
24635
24729
  setSelectionDefaults() {
@@ -24683,7 +24777,7 @@ class ListItem {
24683
24777
  }; }
24684
24778
  }
24685
24779
 
24686
- const CSS$p = {
24780
+ const CSS$q = {
24687
24781
  container: "container",
24688
24782
  heading: "heading"
24689
24783
  };
@@ -24719,7 +24813,7 @@ class ListItemGroup {
24719
24813
  // --------------------------------------------------------------------------
24720
24814
  render() {
24721
24815
  const { heading, visualLevel } = this;
24722
- return (hAsync(Host, null, hAsync("tr", { class: CSS$p.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$p.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
24816
+ return (hAsync(Host, null, hAsync("tr", { class: CSS$q.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$q.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
24723
24817
  }
24724
24818
  get el() { return getElement(this); }
24725
24819
  static get style() { return listItemGroupCss; }
@@ -25606,7 +25700,7 @@ function updateFocusTrapElements(component) {
25606
25700
  component.focusTrap?.updateContainerElements(component.focusTrapEl);
25607
25701
  }
25608
25702
 
25609
- const CSS$o = {
25703
+ const CSS$p = {
25610
25704
  modal: "modal",
25611
25705
  title: "title",
25612
25706
  header: "header",
@@ -25634,7 +25728,7 @@ const CSS$o = {
25634
25728
  const ICONS$5 = {
25635
25729
  close: "x"
25636
25730
  };
25637
- const SLOTS$d = {
25731
+ const SLOTS$e = {
25638
25732
  content: "content",
25639
25733
  contentBottom: "content-bottom",
25640
25734
  contentTop: "content-top",
@@ -25649,8 +25743,8 @@ const modalCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
25649
25743
  /**
25650
25744
  * @slot header - A slot for adding header text.
25651
25745
  * @slot content - A slot for adding the component's content.
25652
- * @slot contentTop - A slot for adding the component's content header.
25653
- * @slot contentBottom - A slot for adding the component's content footer.
25746
+ * @slot content-top - A slot for adding content to the component's sticky header, where content remains at the top of the component when scrolling up and down.
25747
+ * @slot content-bottom - A slot for adding content to the component's sticky footer, where content remains at the bottom of the component when scrolling up and down.
25654
25748
  * @slot primary - A slot for adding a primary button.
25655
25749
  * @slot secondary - A slot for adding a secondary button.
25656
25750
  * @slot back - A slot for adding a back button.
@@ -25694,7 +25788,7 @@ class Modal {
25694
25788
  });
25695
25789
  };
25696
25790
  this.updateFooterVisibility = () => {
25697
- this.hasFooter = !!getSlotted(this.el, [SLOTS$d.back, SLOTS$d.primary, SLOTS$d.secondary]);
25791
+ this.hasFooter = !!getSlotted(this.el, [SLOTS$e.back, SLOTS$e.primary, SLOTS$e.secondary]);
25698
25792
  };
25699
25793
  this.updateSizeCssVars = () => {
25700
25794
  this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
@@ -25776,50 +25870,50 @@ class Modal {
25776
25870
  }
25777
25871
  render() {
25778
25872
  return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
25779
- [CSS$o.container]: true,
25780
- [CSS$o.containerOpen]: this.isOpen,
25781
- [CSS$o.slottedInShell]: this.slottedInShell
25782
- } }, hAsync("calcite-scrim", { class: CSS$o.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
25783
- [CSS$o.modal]: true
25873
+ [CSS$p.container]: true,
25874
+ [CSS$p.containerOpen]: this.isOpen,
25875
+ [CSS$p.slottedInShell]: this.slottedInShell
25876
+ } }, hAsync("calcite-scrim", { class: CSS$p.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
25877
+ [CSS$p.modal]: true
25784
25878
  },
25785
25879
  // eslint-disable-next-line react/jsx-sort-props
25786
- ref: this.setTransitionEl }, hAsync("div", { class: CSS$o.header }, this.renderCloseButton(), hAsync("header", { class: CSS$o.title }, hAsync("slot", { name: CSS$o.header }))), this.renderContentTop(), hAsync("div", { class: {
25787
- [CSS$o.content]: true,
25788
- [CSS$o.contentNoFooter]: !this.hasFooter
25880
+ ref: this.setTransitionEl }, hAsync("div", { class: CSS$p.header }, this.renderCloseButton(), hAsync("header", { class: CSS$p.title }, hAsync("slot", { name: CSS$p.header }))), this.renderContentTop(), hAsync("div", { class: {
25881
+ [CSS$p.content]: true,
25882
+ [CSS$p.contentNoFooter]: !this.hasFooter
25789
25883
  },
25790
25884
  // eslint-disable-next-line react/jsx-sort-props
25791
- ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderContentBottom(), this.renderFooter()))));
25885
+ ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$e.content })), this.renderContentBottom(), this.renderFooter()))));
25792
25886
  }
25793
25887
  renderFooter() {
25794
- return this.hasFooter ? (hAsync("div", { class: CSS$o.footer, key: "footer" }, hAsync("span", { class: CSS$o.back }, hAsync("slot", { name: SLOTS$d.back })), hAsync("span", { class: CSS$o.secondary }, hAsync("slot", { name: SLOTS$d.secondary })), hAsync("span", { class: CSS$o.primary }, hAsync("slot", { name: SLOTS$d.primary })))) : null;
25888
+ return this.hasFooter ? (hAsync("div", { class: CSS$p.footer, key: "footer" }, hAsync("span", { class: CSS$p.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$p.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$p.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
25795
25889
  }
25796
25890
  renderContentTop() {
25797
- return (hAsync("div", { class: CSS$o.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$d.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
25891
+ return (hAsync("div", { class: CSS$p.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$e.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
25798
25892
  }
25799
25893
  renderContentBottom() {
25800
- return (hAsync("div", { class: CSS$o.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$d.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
25894
+ return (hAsync("div", { class: CSS$p.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$e.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
25801
25895
  }
25802
25896
  renderCloseButton() {
25803
- return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$o.close, key: "button", onClick: this.close, title: this.messages.close,
25897
+ return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$p.close, key: "button", onClick: this.close, title: this.messages.close,
25804
25898
  // eslint-disable-next-line react/jsx-sort-props
25805
25899
  ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
25806
25900
  }
25807
25901
  renderStyle() {
25808
25902
  if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
25809
- return (hAsync("style", null, `.${CSS$o.container} {
25903
+ return (hAsync("style", null, `.${CSS$p.container} {
25810
25904
  ${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
25811
25905
  }
25812
- .${CSS$o.modal} {
25906
+ .${CSS$p.modal} {
25813
25907
  block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
25814
25908
  ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
25815
25909
  ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
25816
25910
  ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
25817
25911
  }
25818
25912
  @media screen and (max-width: ${this.cssWidth}) {
25819
- .${CSS$o.container} {
25913
+ .${CSS$p.container} {
25820
25914
  ${this.docked ? `align-items: flex-end !important;` : ""}
25821
25915
  }
25822
- .${CSS$o.modal} {
25916
+ .${CSS$p.modal} {
25823
25917
  max-block-size: 100% !important;
25824
25918
  inline-size: 100% !important;
25825
25919
  max-inline-size: 100% !important;
@@ -25886,31 +25980,31 @@ class Modal {
25886
25980
  }
25887
25981
  }
25888
25982
  onBeforeOpen() {
25889
- this.transitionEl.classList.add(CSS$o.openingActive);
25983
+ this.transitionEl.classList.add(CSS$p.openingActive);
25890
25984
  this.calciteModalBeforeOpen.emit();
25891
25985
  }
25892
25986
  onOpen() {
25893
- this.transitionEl.classList.remove(CSS$o.openingIdle, CSS$o.openingActive);
25987
+ this.transitionEl.classList.remove(CSS$p.openingIdle, CSS$p.openingActive);
25894
25988
  this.calciteModalOpen.emit();
25895
25989
  activateFocusTrap(this);
25896
25990
  }
25897
25991
  onBeforeClose() {
25898
- this.transitionEl.classList.add(CSS$o.closingActive);
25992
+ this.transitionEl.classList.add(CSS$p.closingActive);
25899
25993
  this.calciteModalBeforeClose.emit();
25900
25994
  }
25901
25995
  onClose() {
25902
- this.transitionEl.classList.remove(CSS$o.closingIdle, CSS$o.closingActive);
25996
+ this.transitionEl.classList.remove(CSS$p.closingIdle, CSS$p.closingActive);
25903
25997
  this.calciteModalClose.emit();
25904
25998
  deactivateFocusTrap(this);
25905
25999
  }
25906
26000
  async toggleModal(value) {
25907
26001
  onToggleOpenCloseComponent(this);
25908
26002
  if (value) {
25909
- this.transitionEl?.classList.add(CSS$o.openingIdle);
26003
+ this.transitionEl?.classList.add(CSS$p.openingIdle);
25910
26004
  this.openModal();
25911
26005
  }
25912
26006
  else {
25913
- this.transitionEl?.classList.add(CSS$o.closingIdle);
26007
+ this.transitionEl?.classList.add(CSS$p.closingIdle);
25914
26008
  this.close();
25915
26009
  }
25916
26010
  }
@@ -25919,16 +26013,16 @@ class Modal {
25919
26013
  this.el.addEventListener("calciteModalOpen", this.openEnd);
25920
26014
  this.open = true;
25921
26015
  this.isOpen = true;
25922
- const titleEl = getSlotted(this.el, SLOTS$d.header);
25923
- const contentEl = getSlotted(this.el, SLOTS$d.content);
26016
+ const titleEl = getSlotted(this.el, SLOTS$e.header);
26017
+ const contentEl = getSlotted(this.el, SLOTS$e.content);
25924
26018
  this.titleId = ensureId(titleEl);
25925
26019
  this.contentId = ensureId(contentEl);
25926
26020
  if (!this.slottedInShell) {
25927
- document.documentElement.classList.add(CSS$o.overflowHidden);
26021
+ document.documentElement.classList.add(CSS$p.overflowHidden);
25928
26022
  }
25929
26023
  }
25930
26024
  removeOverflowHiddenClass() {
25931
- document.documentElement.classList.remove(CSS$o.overflowHidden);
26025
+ document.documentElement.classList.remove(CSS$p.overflowHidden);
25932
26026
  }
25933
26027
  static get assetsDirs() { return ["assets"]; }
25934
26028
  get el() { return getElement(this); }
@@ -25975,13 +26069,13 @@ class Modal {
25975
26069
  }; }
25976
26070
  }
25977
26071
 
25978
- const SLOTS$c = {
26072
+ const SLOTS$d = {
25979
26073
  title: "title",
25980
26074
  message: "message",
25981
26075
  link: "link",
25982
26076
  actionsEnd: "actions-end"
25983
26077
  };
25984
- const CSS$n = {
26078
+ const CSS$o = {
25985
26079
  actionsEnd: "actions-end",
25986
26080
  close: "notice-close",
25987
26081
  container: "container",
@@ -26060,11 +26154,11 @@ class Notice {
26060
26154
  }
26061
26155
  render() {
26062
26156
  const { el } = this;
26063
- const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$n.close, onClick: this.close,
26157
+ const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$o.close, onClick: this.close,
26064
26158
  // eslint-disable-next-line react/jsx-sort-props
26065
26159
  ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
26066
- const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
26067
- return (hAsync("div", { class: CSS$n.container }, this.requestedIcon ? (hAsync("div", { class: CSS$n.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$n.content }, hAsync("slot", { name: SLOTS$c.title }), hAsync("slot", { name: SLOTS$c.message }), hAsync("slot", { name: SLOTS$c.link })), hasActionEnd ? (hAsync("div", { class: CSS$n.actionsEnd }, hAsync("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
26160
+ const hasActionEnd = getSlotted(el, SLOTS$d.actionsEnd);
26161
+ return (hAsync("div", { class: CSS$o.container }, this.requestedIcon ? (hAsync("div", { class: CSS$o.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$o.content }, hAsync("slot", { name: SLOTS$d.title }), hAsync("slot", { name: SLOTS$d.message }), hAsync("slot", { name: SLOTS$d.link })), hasActionEnd ? (hAsync("div", { class: CSS$o.actionsEnd }, hAsync("slot", { name: SLOTS$d.actionsEnd }))) : null, this.closable ? closeButton : null));
26068
26162
  }
26069
26163
  //--------------------------------------------------------------------------
26070
26164
  //
@@ -26243,7 +26337,7 @@ class OptionGroup {
26243
26337
  }; }
26244
26338
  }
26245
26339
 
26246
- const CSS$m = {
26340
+ const CSS$n = {
26247
26341
  page: "page",
26248
26342
  selected: "is-selected",
26249
26343
  previous: "previous",
@@ -26304,6 +26398,10 @@ class Pagination {
26304
26398
  }
26305
26399
  async componentWillLoad() {
26306
26400
  await setUpMessages(this);
26401
+ setUpLoadableComponent(this);
26402
+ }
26403
+ componentDidLoad() {
26404
+ setComponentLoaded(this);
26307
26405
  }
26308
26406
  disconnectedCallback() {
26309
26407
  disconnectLocalized(this);
@@ -26314,6 +26412,11 @@ class Pagination {
26314
26412
  // Public Methods
26315
26413
  //
26316
26414
  // --------------------------------------------------------------------------
26415
+ /** Sets focus on the component's first focusable element. */
26416
+ async setFocus() {
26417
+ await componentLoaded(this);
26418
+ this.el.focus();
26419
+ }
26317
26420
  /** Go to the next page of results. */
26318
26421
  async nextPage() {
26319
26422
  this.startItem = Math.min(this.getLastStart(), this.startItem + this.pageSize);
@@ -26390,9 +26493,10 @@ class Pagination {
26390
26493
  useGrouping: this.groupSeparator
26391
26494
  };
26392
26495
  const displayedPage = numberStringFormatter.localize(page.toString());
26393
- return (hAsync("button", { class: {
26394
- [CSS$m.page]: true,
26395
- [CSS$m.selected]: start === this.startItem
26496
+ const selected = start === this.startItem;
26497
+ return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
26498
+ [CSS$n.page]: true,
26499
+ [CSS$n.selected]: selected
26396
26500
  }, onClick: () => {
26397
26501
  this.startItem = start;
26398
26502
  this.emitUpdate();
@@ -26400,12 +26504,12 @@ class Pagination {
26400
26504
  }
26401
26505
  renderLeftEllipsis() {
26402
26506
  if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
26403
- return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisStart}` }, "\u2026");
26507
+ return hAsync("span", { class: `${CSS$n.ellipsis} ${CSS$n.ellipsisStart}` }, "\u2026");
26404
26508
  }
26405
26509
  }
26406
26510
  renderRightEllipsis() {
26407
26511
  if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
26408
- return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisEnd}` }, "\u2026");
26512
+ return hAsync("span", { class: `${CSS$n.ellipsis} ${CSS$n.ellipsisEnd}` }, "\u2026");
26409
26513
  }
26410
26514
  }
26411
26515
  render() {
@@ -26413,11 +26517,11 @@ class Pagination {
26413
26517
  const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
26414
26518
  const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
26415
26519
  return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
26416
- [CSS$m.previous]: true,
26417
- [CSS$m.disabled]: prevDisabled
26520
+ [CSS$n.previous]: true,
26521
+ [CSS$n.disabled]: prevDisabled
26418
26522
  }, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: this.scale === "l" ? "m" : "s" })), totalItems > pageSize ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
26419
- [CSS$m.next]: true,
26420
- [CSS$m.disabled]: nextDisabled
26523
+ [CSS$n.next]: true,
26524
+ [CSS$n.disabled]: nextDisabled
26421
26525
  }, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
26422
26526
  }
26423
26527
  static get delegatesFocus() { return true; }
@@ -26442,6 +26546,7 @@ class Pagination {
26442
26546
  "messages": [1040],
26443
26547
  "defaultMessages": [32],
26444
26548
  "effectiveLocale": [32],
26549
+ "setFocus": [64],
26445
26550
  "nextPage": [64],
26446
26551
  "previousPage": [64]
26447
26552
  },
@@ -26638,19 +26743,19 @@ class Panel {
26638
26743
  // --------------------------------------------------------------------------
26639
26744
  renderHeaderContent() {
26640
26745
  const { heading, headingLevel, description, hasHeaderContent } = this;
26641
- const headingNode = heading ? (hAsync(Heading, { class: CSS$B.heading, level: headingLevel }, heading)) : null;
26642
- const descriptionNode = description ? hAsync("span", { class: CSS$B.description }, description) : null;
26643
- return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$B.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
26746
+ const headingNode = heading ? (hAsync(Heading, { class: CSS$C.heading, level: headingLevel }, heading)) : null;
26747
+ const descriptionNode = description ? hAsync("span", { class: CSS$C.description }, description) : null;
26748
+ return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$C.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
26644
26749
  }
26645
26750
  /**
26646
26751
  * Allows user to override the entire header-content node.
26647
26752
  */
26648
26753
  renderHeaderSlottedContent() {
26649
- return (hAsync("div", { class: CSS$B.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$j.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
26754
+ return (hAsync("div", { class: CSS$C.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$k.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
26650
26755
  }
26651
26756
  renderHeaderStartActions() {
26652
26757
  const { hasStartActions } = this;
26653
- return (hAsync("div", { class: { [CSS$B.headerActionsStart]: true, [CSS$B.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$j.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
26758
+ return (hAsync("div", { class: { [CSS$C.headerActionsStart]: true, [CSS$C.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$k.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
26654
26759
  }
26655
26760
  renderHeaderActionsEnd() {
26656
26761
  const { close, hasEndActions, messages, closable } = this;
@@ -26658,13 +26763,13 @@ class Panel {
26658
26763
  const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$9.close, onClick: close, text: text,
26659
26764
  // eslint-disable-next-line react/jsx-sort-props
26660
26765
  ref: this.setCloseRef })) : null;
26661
- const slotNode = (hAsync("slot", { name: SLOTS$j.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
26766
+ const slotNode = (hAsync("slot", { name: SLOTS$k.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
26662
26767
  const showContainer = hasEndActions || closableNode;
26663
- return (hAsync("div", { class: { [CSS$B.headerActionsEnd]: true, [CSS$B.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
26768
+ return (hAsync("div", { class: { [CSS$C.headerActionsEnd]: true, [CSS$C.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
26664
26769
  }
26665
26770
  renderMenu() {
26666
26771
  const { hasMenuItems, messages, menuOpen } = this;
26667
- return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$9.menu, slot: SLOTS$r.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$j.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
26772
+ return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$9.menu, slot: SLOTS$s.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$k.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
26668
26773
  }
26669
26774
  renderHeaderNode() {
26670
26775
  const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
@@ -26675,31 +26780,31 @@ class Panel {
26675
26780
  hasEndActions ||
26676
26781
  closable ||
26677
26782
  hasMenuItems;
26678
- return (hAsync("header", { class: CSS$B.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
26783
+ return (hAsync("header", { class: CSS$C.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
26679
26784
  }
26680
26785
  renderFooterNode() {
26681
26786
  const { hasFooterContent, hasFooterActions } = this;
26682
26787
  const showFooter = hasFooterContent || hasFooterActions;
26683
- return (hAsync("footer", { class: CSS$B.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$j.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$j.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
26788
+ return (hAsync("footer", { class: CSS$C.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$k.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$k.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
26684
26789
  }
26685
26790
  renderContent() {
26686
26791
  const { hasFab } = this;
26687
26792
  const defaultSlotNode = hAsync("slot", { key: "default-slot" });
26688
- const containerNode = hasFab ? (hAsync("section", { class: CSS$B.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
26793
+ const containerNode = hasFab ? (hAsync("section", { class: CSS$C.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
26689
26794
  return (hAsync("div", { class: {
26690
- [CSS$B.contentWrapper]: true,
26691
- [CSS$B.contentContainer]: !hasFab,
26692
- [CSS$B.contentHeight]: hasFab
26795
+ [CSS$C.contentWrapper]: true,
26796
+ [CSS$C.contentContainer]: !hasFab,
26797
+ [CSS$C.contentHeight]: hasFab
26693
26798
  }, onScroll: this.panelScrollHandler,
26694
26799
  // eslint-disable-next-line react/jsx-sort-props
26695
26800
  ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
26696
26801
  }
26697
26802
  renderFab() {
26698
- return (hAsync("div", { class: CSS$B.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$j.fab, onSlotchange: this.handleFabSlotChange })));
26803
+ return (hAsync("div", { class: CSS$C.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$k.fab, onSlotchange: this.handleFabSlotChange })));
26699
26804
  }
26700
26805
  render() {
26701
26806
  const { loading, panelKeyDownHandler, closed, closable } = this;
26702
- const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$B.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
26807
+ const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$C.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
26703
26808
  // eslint-disable-next-line react/jsx-sort-props
26704
26809
  ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
26705
26810
  return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
@@ -26743,7 +26848,7 @@ class Panel {
26743
26848
  }; }
26744
26849
  }
26745
26850
 
26746
- const CSS$l = {
26851
+ const CSS$m = {
26747
26852
  sticky: "sticky-pos"
26748
26853
  };
26749
26854
  var ICON_TYPES$1;
@@ -26752,16 +26857,16 @@ var ICON_TYPES$1;
26752
26857
  ICON_TYPES["square"] = "square";
26753
26858
  ICON_TYPES["grip"] = "grip";
26754
26859
  })(ICON_TYPES$1 || (ICON_TYPES$1 = {}));
26755
- const SLOTS$b = {
26860
+ const SLOTS$c = {
26756
26861
  menuActions: "menu-actions"
26757
26862
  };
26758
26863
 
26759
- const CSS$k = {
26864
+ const CSS$l = {
26760
26865
  heading: "heading",
26761
26866
  container: "container",
26762
26867
  indented: "container--indented"
26763
26868
  };
26764
- const SLOTS$a = {
26869
+ const SLOTS$b = {
26765
26870
  parentItem: "parent-item"
26766
26871
  };
26767
26872
 
@@ -26906,7 +27011,7 @@ function removeItem(event) {
26906
27011
  }
26907
27012
  const item = event.target;
26908
27013
  const selectedValues = this.selectedValues;
26909
- if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$a.parentItem) {
27014
+ if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$b.parentItem) {
26910
27015
  item.parentElement.remove();
26911
27016
  Array.from(item.parentElement.children).forEach((item) => selectedValues.delete(item.value));
26912
27017
  }
@@ -27082,11 +27187,11 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
27082
27187
  dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
27083
27188
  // eslint-disable-next-line react/jsx-sort-props
27084
27189
  ref: storeAssistiveEl })) : null,
27085
- hAsync("header", { class: { [CSS$l.sticky]: true } },
27190
+ hAsync("header", { class: { [CSS$m.sticky]: true } },
27086
27191
  filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
27087
27192
  // eslint-disable-next-line react/jsx-sort-props
27088
27193
  ref: setFilterEl })) : null,
27089
- hAsync("slot", { name: SLOTS$b.menuActions })),
27194
+ hAsync("slot", { name: SLOTS$c.menuActions })),
27090
27195
  loading ? hAsync("calcite-scrim", { loading: loading }) : null,
27091
27196
  defaultSlot)));
27092
27197
  };
@@ -27269,16 +27374,16 @@ class PickListGroup {
27269
27374
  // --------------------------------------------------------------------------
27270
27375
  render() {
27271
27376
  const { el, groupTitle, headingLevel } = this;
27272
- const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
27377
+ const hasParentItem = getSlotted(el, SLOTS$b.parentItem) !== null;
27273
27378
  const sectionClasses = {
27274
- [CSS$k.container]: true,
27275
- [CSS$k.indented]: hasParentItem
27379
+ [CSS$l.container]: true,
27380
+ [CSS$l.indented]: hasParentItem
27276
27381
  };
27277
27382
  const title = groupTitle;
27278
27383
  const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
27279
27384
  const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
27280
27385
  const level = headingLevel || relativeLevel;
27281
- return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$k.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$a.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
27386
+ return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$l.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$b.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
27282
27387
  }
27283
27388
  get el() { return getElement(this); }
27284
27389
  static get style() { return pickListGroupCss; }
@@ -27295,7 +27400,7 @@ class PickListGroup {
27295
27400
  }; }
27296
27401
  }
27297
27402
 
27298
- const CSS$j = {
27403
+ const CSS$k = {
27299
27404
  actions: "actions",
27300
27405
  actionsEnd: "actions--end",
27301
27406
  actionsStart: "actions--start",
@@ -27314,7 +27419,7 @@ const ICONS$4 = {
27314
27419
  checked: "check",
27315
27420
  remove: "x"
27316
27421
  };
27317
- const SLOTS$9 = {
27422
+ const SLOTS$a = {
27318
27423
  actionsEnd: "actions-end",
27319
27424
  actionsStart: "actions-start"
27320
27425
  };
@@ -27455,28 +27560,28 @@ class PickListItem {
27455
27560
  return null;
27456
27561
  }
27457
27562
  return (hAsync("span", { class: {
27458
- [CSS$j.icon]: true,
27459
- [CSS$j.iconDot]: icon === ICON_TYPES$1.circle
27563
+ [CSS$k.icon]: true,
27564
+ [CSS$k.iconDot]: icon === ICON_TYPES$1.circle
27460
27565
  }, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
27461
27566
  }
27462
27567
  renderRemoveAction() {
27463
- return this.removable ? (hAsync("calcite-action", { class: CSS$j.remove, icon: ICONS$4.remove, onClick: this.removeClickHandler, slot: SLOTS$9.actionsEnd, text: this.messages.remove })) : null;
27568
+ return this.removable ? (hAsync("calcite-action", { class: CSS$k.remove, icon: ICONS$4.remove, onClick: this.removeClickHandler, slot: SLOTS$a.actionsEnd, text: this.messages.remove })) : null;
27464
27569
  }
27465
27570
  renderActionsStart() {
27466
27571
  const { el } = this;
27467
- const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
27468
- return hasActionsStart ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsStart]: true } }, hAsync("slot", { name: SLOTS$9.actionsStart }))) : null;
27572
+ const hasActionsStart = getSlotted(el, SLOTS$a.actionsStart);
27573
+ return hasActionsStart ? (hAsync("div", { class: { [CSS$k.actions]: true, [CSS$k.actionsStart]: true } }, hAsync("slot", { name: SLOTS$a.actionsStart }))) : null;
27469
27574
  }
27470
27575
  renderActionsEnd() {
27471
27576
  const { el, removable } = this;
27472
- const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
27473
- return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
27577
+ const hasActionsEnd = getSlotted(el, SLOTS$a.actionsEnd);
27578
+ return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$k.actions]: true, [CSS$k.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$a.actionsEnd }), this.renderRemoveAction())) : null;
27474
27579
  }
27475
27580
  render() {
27476
27581
  const { description, label } = this;
27477
- return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$j.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
27582
+ return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$k.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
27478
27583
  // eslint-disable-next-line react/jsx-sort-props
27479
- ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$j.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$j.title }, label), description ? hAsync("span", { class: CSS$j.description }, description) : null)), this.renderActionsEnd()));
27584
+ ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$k.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$k.title }, label), description ? hAsync("span", { class: CSS$k.description }, description) : null)), this.renderActionsEnd()));
27480
27585
  }
27481
27586
  static get assetsDirs() { return ["assets"]; }
27482
27587
  get el() { return getElement(this); }
@@ -27519,7 +27624,7 @@ class PickListItem {
27519
27624
  }; }
27520
27625
  }
27521
27626
 
27522
- const CSS$i = {
27627
+ const CSS$j = {
27523
27628
  container: "container",
27524
27629
  arrow: "arrow",
27525
27630
  imageContainer: "image-container",
@@ -27864,20 +27969,20 @@ class Popover {
27864
27969
  // --------------------------------------------------------------------------
27865
27970
  renderCloseButton() {
27866
27971
  const { messages, closable } = this;
27867
- return closable ? (hAsync("div", { class: CSS$i.closeButtonContainer, key: CSS$i.closeButtonContainer }, hAsync("calcite-action", { class: CSS$i.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
27972
+ return closable ? (hAsync("div", { class: CSS$j.closeButtonContainer, key: CSS$j.closeButtonContainer }, hAsync("calcite-action", { class: CSS$j.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
27868
27973
  // eslint-disable-next-line react/jsx-sort-props
27869
27974
  ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
27870
27975
  }
27871
27976
  renderHeader() {
27872
27977
  const { heading, headingLevel } = this;
27873
- const headingNode = heading ? (hAsync(Heading, { class: CSS$i.heading, level: headingLevel }, heading)) : null;
27874
- return headingNode ? (hAsync("div", { class: CSS$i.header, key: CSS$i.header }, headingNode, this.renderCloseButton())) : null;
27978
+ const headingNode = heading ? (hAsync(Heading, { class: CSS$j.heading, level: headingLevel }, heading)) : null;
27979
+ return headingNode ? (hAsync("div", { class: CSS$j.header, key: CSS$j.header }, headingNode, this.renderCloseButton())) : null;
27875
27980
  }
27876
27981
  render() {
27877
27982
  const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
27878
27983
  const displayed = effectiveReferenceElement && open;
27879
27984
  const hidden = !displayed;
27880
- const arrowNode = !pointerDisabled ? (hAsync("div", { class: CSS$i.arrow,
27985
+ const arrowNode = !pointerDisabled ? (hAsync("div", { class: CSS$j.arrow,
27881
27986
  // eslint-disable-next-line react/jsx-sort-props
27882
27987
  ref: this.storeArrowEl })) : null;
27883
27988
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
@@ -27886,9 +27991,9 @@ class Popover {
27886
27991
  },
27887
27992
  // eslint-disable-next-line react/jsx-sort-props
27888
27993
  ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
27889
- [CSS$i.hasHeader]: !!heading,
27890
- [CSS$i.container]: true
27891
- } }, this.renderHeader(), hAsync("div", { class: CSS$i.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
27994
+ [CSS$j.hasHeader]: !!heading,
27995
+ [CSS$j.container]: true
27996
+ } }, this.renderHeader(), hAsync("div", { class: CSS$j.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
27892
27997
  }
27893
27998
  static get assetsDirs() { return ["assets"]; }
27894
27999
  get el() { return getElement(this); }
@@ -27979,7 +28084,7 @@ class Progress {
27979
28084
  }; }
27980
28085
  }
27981
28086
 
27982
- const CSS$h = {
28087
+ const CSS$i = {
27983
28088
  container: "container"
27984
28089
  };
27985
28090
 
@@ -28076,6 +28181,7 @@ class RadioButton {
28076
28181
  this.checked = false;
28077
28182
  this.disabled = false;
28078
28183
  this.focused = false;
28184
+ this.form = undefined;
28079
28185
  this.guid = undefined;
28080
28186
  this.hidden = false;
28081
28187
  this.hovered = false;
@@ -28219,7 +28325,7 @@ class RadioButton {
28219
28325
  // --------------------------------------------------------------------------
28220
28326
  render() {
28221
28327
  const tabIndex = this.getTabIndex();
28222
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$h.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
28328
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$i.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
28223
28329
  // eslint-disable-next-line react/jsx-sort-props
28224
28330
  ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
28225
28331
  }
@@ -28236,6 +28342,7 @@ class RadioButton {
28236
28342
  "checked": [1540],
28237
28343
  "disabled": [516],
28238
28344
  "focused": [1540],
28345
+ "form": [513],
28239
28346
  "guid": [1537],
28240
28347
  "hidden": [516],
28241
28348
  "hovered": [1540],
@@ -28249,7 +28356,7 @@ class RadioButton {
28249
28356
  },
28250
28357
  "$listeners$": [[1, "pointerenter", "mouseenter"], [1, "pointerleave", "mouseleave"]],
28251
28358
  "$lazyBundleId$": "-",
28252
- "$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["focused", "focused"], ["guid", "guid"], ["hidden", "hidden"], ["hovered", "hovered"], ["name", "name"], ["required", "required"], ["scale", "scale"]]
28359
+ "$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["focused", "focused"], ["form", "form"], ["guid", "guid"], ["hidden", "hidden"], ["hovered", "hovered"], ["name", "name"], ["required", "required"], ["scale", "scale"]]
28253
28360
  }; }
28254
28361
  }
28255
28362
 
@@ -28464,6 +28571,7 @@ class Rating {
28464
28571
  this.average = undefined;
28465
28572
  this.count = undefined;
28466
28573
  this.disabled = false;
28574
+ this.form = undefined;
28467
28575
  this.messages = undefined;
28468
28576
  this.messageOverrides = undefined;
28469
28577
  this.name = undefined;
@@ -28605,6 +28713,7 @@ class Rating {
28605
28713
  "average": [514],
28606
28714
  "count": [514],
28607
28715
  "disabled": [516],
28716
+ "form": [513],
28608
28717
  "messages": [1040],
28609
28718
  "messageOverrides": [1040],
28610
28719
  "name": [513],
@@ -28622,11 +28731,11 @@ class Rating {
28622
28731
  },
28623
28732
  "$listeners$": undefined,
28624
28733
  "$lazyBundleId$": "-",
28625
- "$attrsToReflect$": [["average", "average"], ["count", "count"], ["disabled", "disabled"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["showChip", "show-chip"], ["value", "value"]]
28734
+ "$attrsToReflect$": [["average", "average"], ["count", "count"], ["disabled", "disabled"], ["form", "form"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["showChip", "show-chip"], ["value", "value"]]
28626
28735
  }; }
28627
28736
  }
28628
28737
 
28629
- const CSS$g = {
28738
+ const CSS$h = {
28630
28739
  scrim: "scrim",
28631
28740
  content: "content"
28632
28741
  };
@@ -28676,8 +28785,8 @@ class Scrim {
28676
28785
  const { el, loading, messages } = this;
28677
28786
  const hasContent = el.innerHTML.trim().length > 0;
28678
28787
  const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
28679
- const contentNode = hasContent ? (hAsync("div", { class: CSS$g.content }, hAsync("slot", null))) : null;
28680
- return (hAsync("div", { class: CSS$g.scrim }, loaderNode, contentNode));
28788
+ const contentNode = hasContent ? (hAsync("div", { class: CSS$h.content }, hAsync("slot", null))) : null;
28789
+ return (hAsync("div", { class: CSS$h.scrim }, loaderNode, contentNode));
28681
28790
  }
28682
28791
  static get assetsDirs() { return ["assets"]; }
28683
28792
  get el() { return getElement(this); }
@@ -28723,6 +28832,7 @@ class SegmentedControl {
28723
28832
  };
28724
28833
  this.appearance = "solid";
28725
28834
  this.disabled = false;
28835
+ this.form = undefined;
28726
28836
  this.required = false;
28727
28837
  this.layout = "horizontal";
28728
28838
  this.name = undefined;
@@ -28890,6 +29000,7 @@ class SegmentedControl {
28890
29000
  "$members$": {
28891
29001
  "appearance": [513],
28892
29002
  "disabled": [516],
29003
+ "form": [513],
28893
29004
  "required": [516],
28894
29005
  "layout": [513],
28895
29006
  "name": [513],
@@ -28901,14 +29012,14 @@ class SegmentedControl {
28901
29012
  },
28902
29013
  "$listeners$": [[0, "calciteInternalSegmentedControlItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]],
28903
29014
  "$lazyBundleId$": "-",
28904
- "$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["required", "required"], ["layout", "layout"], ["name", "name"], ["scale", "scale"], ["width", "width"]]
29015
+ "$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["form", "form"], ["required", "required"], ["layout", "layout"], ["name", "name"], ["scale", "scale"], ["width", "width"]]
28905
29016
  }; }
28906
29017
  }
28907
29018
 
28908
- const SLOTS$8 = {
29019
+ const SLOTS$9 = {
28909
29020
  input: "input"
28910
29021
  };
28911
- const CSS$f = {
29022
+ const CSS$g = {
28912
29023
  segmentedControlItemIcon: "segmented-control-item-icon"
28913
29024
  };
28914
29025
 
@@ -28932,8 +29043,8 @@ class SegmentedControlItem {
28932
29043
  const scale = getElementProp(this.el, "scale", "m");
28933
29044
  const appearance = getElementProp(this.el, "appearance", "solid");
28934
29045
  const layout = getElementProp(this.el, "layout", "horizontal");
28935
- const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
28936
- const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
29046
+ const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$g.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
29047
+ const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$g.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
28937
29048
  return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
28938
29049
  "label--scale-s": scale === "s",
28939
29050
  "label--scale-m": scale === "m",
@@ -28941,7 +29052,7 @@ class SegmentedControlItem {
28941
29052
  "label--horizontal": layout === "horizontal",
28942
29053
  "label--outline": appearance === "outline",
28943
29054
  "label--outline-fill": appearance === "outline-fill"
28944
- } }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$8.input }), this.iconEnd ? iconEndEl : null)));
29055
+ } }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$9.input }), this.iconEnd ? iconEndEl : null)));
28945
29056
  }
28946
29057
  get el() { return getElement(this); }
28947
29058
  static get watchers() { return {
@@ -28964,7 +29075,7 @@ class SegmentedControlItem {
28964
29075
  }; }
28965
29076
  }
28966
29077
 
28967
- const CSS$e = {
29078
+ const CSS$f = {
28968
29079
  icon: "icon",
28969
29080
  iconContainer: "icon-container",
28970
29081
  select: "select"
@@ -29007,6 +29118,7 @@ class Select {
29007
29118
  this.calciteSelectChange.emit();
29008
29119
  };
29009
29120
  this.disabled = false;
29121
+ this.form = undefined;
29010
29122
  this.label = undefined;
29011
29123
  this.name = undefined;
29012
29124
  this.required = false;
@@ -29148,10 +29260,10 @@ class Select {
29148
29260
  //
29149
29261
  //--------------------------------------------------------------------------
29150
29262
  renderChevron() {
29151
- return (hAsync("div", { class: CSS$e.iconContainer }, hAsync("calcite-icon", { class: CSS$e.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
29263
+ return (hAsync("div", { class: CSS$f.iconContainer }, hAsync("calcite-icon", { class: CSS$f.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
29152
29264
  }
29153
29265
  render() {
29154
- return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$e.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
29266
+ return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$f.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
29155
29267
  // eslint-disable-next-line react/jsx-sort-props
29156
29268
  ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
29157
29269
  }
@@ -29166,6 +29278,7 @@ class Select {
29166
29278
  "$tagName$": "calcite-select",
29167
29279
  "$members$": {
29168
29280
  "disabled": [516],
29281
+ "form": [513],
29169
29282
  "label": [1],
29170
29283
  "name": [513],
29171
29284
  "required": [516],
@@ -29177,11 +29290,11 @@ class Select {
29177
29290
  },
29178
29291
  "$listeners$": [[0, "calciteInternalOptionChange", "handleOptionOrGroupChange"], [0, "calciteInternalOptionGroupChange", "handleOptionOrGroupChange"]],
29179
29292
  "$lazyBundleId$": "-",
29180
- "$attrsToReflect$": [["disabled", "disabled"], ["name", "name"], ["required", "required"], ["scale", "scale"], ["width", "width"]]
29293
+ "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["name", "name"], ["required", "required"], ["scale", "scale"], ["width", "width"]]
29181
29294
  }; }
29182
29295
  }
29183
29296
 
29184
- const CSS$d = {
29297
+ const CSS$e = {
29185
29298
  main: "main",
29186
29299
  content: "content",
29187
29300
  contentBehind: "content--behind",
@@ -29189,7 +29302,7 @@ const CSS$d = {
29189
29302
  positionedSlotWrapper: "positioned-slot-wrapper",
29190
29303
  container: "container"
29191
29304
  };
29192
- const SLOTS$7 = {
29305
+ const SLOTS$8 = {
29193
29306
  centerRow: "center-row",
29194
29307
  panelStart: "panel-start",
29195
29308
  panelEnd: "panel-end",
@@ -29264,39 +29377,39 @@ class Shell {
29264
29377
  //
29265
29378
  // --------------------------------------------------------------------------
29266
29379
  renderHeader() {
29267
- return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
29380
+ return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$8.header, onSlotchange: this.handleHeaderSlotChange })));
29268
29381
  }
29269
29382
  renderFooter() {
29270
- return (hAsync("div", { class: CSS$d.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer, onSlotchange: this.handleFooterSlotChange })));
29383
+ return (hAsync("div", { class: CSS$e.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$8.footer, onSlotchange: this.handleFooterSlotChange })));
29271
29384
  }
29272
29385
  renderAlerts() {
29273
- return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$7.alerts, onSlotchange: this.handleAlertsSlotChange })));
29386
+ return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$8.alerts, onSlotchange: this.handleAlertsSlotChange })));
29274
29387
  }
29275
29388
  renderModals() {
29276
- return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$7.modals, onSlotchange: this.handleModalsSlotChange })));
29389
+ return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$8.modals, onSlotchange: this.handleModalsSlotChange })));
29277
29390
  }
29278
29391
  renderContent() {
29279
29392
  const defaultSlotNode = hAsync("slot", { key: "default-slot" });
29280
- const centerRowSlotNode = hAsync("slot", { key: "center-row-slot", name: SLOTS$7.centerRow });
29393
+ const centerRowSlotNode = hAsync("slot", { key: "center-row-slot", name: SLOTS$8.centerRow });
29281
29394
  const contentContainerKey = "content-container";
29282
29395
  const content = !!this.contentBehind
29283
29396
  ? [
29284
29397
  hAsync("div", { class: {
29285
- [CSS$d.content]: true,
29286
- [CSS$d.contentBehind]: true
29398
+ [CSS$e.content]: true,
29399
+ [CSS$e.contentBehind]: true
29287
29400
  }, key: contentContainerKey }, defaultSlotNode),
29288
29401
  centerRowSlotNode
29289
29402
  ]
29290
29403
  : [
29291
- hAsync("div", { class: CSS$d.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
29404
+ hAsync("div", { class: CSS$e.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
29292
29405
  ];
29293
29406
  return content;
29294
29407
  }
29295
29408
  renderMain() {
29296
- return (hAsync("div", { class: CSS$d.main }, hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd })));
29409
+ return (hAsync("div", { class: CSS$e.main }, hAsync("slot", { name: SLOTS$8.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$8.panelEnd })));
29297
29410
  }
29298
29411
  renderPositionedSlots() {
29299
- return (hAsync("div", { class: CSS$d.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
29412
+ return (hAsync("div", { class: CSS$e.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
29300
29413
  }
29301
29414
  render() {
29302
29415
  return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
@@ -29319,11 +29432,11 @@ class Shell {
29319
29432
  }; }
29320
29433
  }
29321
29434
 
29322
- const CSS$c = {
29435
+ const CSS$d = {
29323
29436
  actionBarContainer: "action-bar-container",
29324
29437
  content: "content"
29325
29438
  };
29326
- const SLOTS$6 = {
29439
+ const SLOTS$7 = {
29327
29440
  actionBar: "action-bar"
29328
29441
  };
29329
29442
 
@@ -29358,9 +29471,9 @@ class ShellCenterRow {
29358
29471
  // --------------------------------------------------------------------------
29359
29472
  render() {
29360
29473
  const { el } = this;
29361
- const contentNode = (hAsync("div", { class: CSS$c.content }, hAsync("slot", null)));
29362
- const actionBar = getSlotted(el, SLOTS$6.actionBar);
29363
- const actionBarNode = actionBar ? (hAsync("div", { class: CSS$c.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
29474
+ const contentNode = (hAsync("div", { class: CSS$d.content }, hAsync("slot", null)));
29475
+ const actionBar = getSlotted(el, SLOTS$7.actionBar);
29476
+ const actionBarNode = actionBar ? (hAsync("div", { class: CSS$d.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$7.actionBar }))) : null;
29364
29477
  const children = [actionBarNode, contentNode];
29365
29478
  if (actionBar?.position === "end") {
29366
29479
  children.reverse();
@@ -29383,7 +29496,7 @@ class ShellCenterRow {
29383
29496
  }; }
29384
29497
  }
29385
29498
 
29386
- const CSS$b = {
29499
+ const CSS$c = {
29387
29500
  container: "container",
29388
29501
  content: "content",
29389
29502
  contentHeader: "content__header",
@@ -29391,7 +29504,7 @@ const CSS$b = {
29391
29504
  contentDetached: "content--detached",
29392
29505
  separator: "separator"
29393
29506
  };
29394
- const SLOTS$5 = {
29507
+ const SLOTS$6 = {
29395
29508
  actionBar: "action-bar",
29396
29509
  header: "header"
29397
29510
  };
@@ -29555,24 +29668,24 @@ class ShellPanel {
29555
29668
  // --------------------------------------------------------------------------
29556
29669
  renderHeader() {
29557
29670
  const { el } = this;
29558
- const hasHeader = getSlotted(el, SLOTS$5.header);
29559
- return hasHeader ? (hAsync("div", { class: CSS$b.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
29671
+ const hasHeader = getSlotted(el, SLOTS$6.header);
29672
+ return hasHeader ? (hAsync("div", { class: CSS$c.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$6.header }))) : null;
29560
29673
  }
29561
29674
  render() {
29562
29675
  const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, resizable } = this;
29563
29676
  const allowResizing = !detached && resizable;
29564
- const contentNode = (hAsync("div", { class: { [CSS$b.content]: true, [CSS$b.contentDetached]: detached }, hidden: collapsed, key: "content", style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null,
29677
+ const contentNode = (hAsync("div", { class: { [CSS$c.content]: true, [CSS$c.contentDetached]: detached }, hidden: collapsed, key: "content", style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null,
29565
29678
  // eslint-disable-next-line react/jsx-sort-props
29566
- ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$b.contentBody }, hAsync("slot", null))));
29567
- const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth ?? initialContentWidth, class: CSS$b.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
29679
+ ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$c.contentBody }, hAsync("slot", null))));
29680
+ const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth ?? initialContentWidth, class: CSS$c.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
29568
29681
  // eslint-disable-next-line react/jsx-sort-props
29569
29682
  ref: this.connectSeparator })) : null;
29570
- const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
29683
+ const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$6.actionBar });
29571
29684
  const mainNodes = [actionBarNode, contentNode, separatorNode];
29572
29685
  if (position === "end") {
29573
29686
  mainNodes.reverse();
29574
29687
  }
29575
- return hAsync("div", { class: { [CSS$b.container]: true } }, mainNodes);
29688
+ return hAsync("div", { class: { [CSS$c.container]: true } }, mainNodes);
29576
29689
  }
29577
29690
  // --------------------------------------------------------------------------
29578
29691
  //
@@ -29636,7 +29749,7 @@ class ShellPanel {
29636
29749
  }; }
29637
29750
  }
29638
29751
 
29639
- const CSS$a = {
29752
+ const CSS$b = {
29640
29753
  handleLabel: "handle__label",
29641
29754
  handleLabelMinValue: "handle__label--minValue",
29642
29755
  handleLabelValue: "handle__label--value",
@@ -29727,6 +29840,7 @@ class Slider {
29727
29840
  }
29728
29841
  };
29729
29842
  this.disabled = false;
29843
+ this.form = undefined;
29730
29844
  this.groupSeparator = false;
29731
29845
  this.hasHistogram = false;
29732
29846
  this.histogram = undefined;
@@ -29827,8 +29941,8 @@ class Slider {
29827
29941
  const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
29828
29942
  const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
29829
29943
  const valueIsRange = isRange(this.value);
29830
- const handleLabelMinValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelMinValue}`;
29831
- const handleLabelValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelValue}`;
29944
+ const handleLabelMinValueClasses = `${CSS$b.handleLabel} ${CSS$b.handleLabelMinValue}`;
29945
+ const handleLabelValueClasses = `${CSS$b.handleLabel} ${CSS$b.handleLabelValue}`;
29832
29946
  const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
29833
29947
  thumb: true,
29834
29948
  "thumb--value": true,
@@ -29964,8 +30078,8 @@ class Slider {
29964
30078
  const displayedTickValue = this.determineGroupSeparator(tick);
29965
30079
  const tickLabel = (hAsync("span", { class: {
29966
30080
  tick__label: true,
29967
- [CSS$a.tickMin]: isMinTickLabel,
29968
- [CSS$a.tickMax]: isMaxTickLabel
30081
+ [CSS$b.tickMin]: isMinTickLabel,
30082
+ [CSS$b.tickMax]: isMaxTickLabel
29969
30083
  } }, displayedTickValue));
29970
30084
  if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
29971
30085
  return tickLabel;
@@ -30472,6 +30586,7 @@ class Slider {
30472
30586
  "$tagName$": "calcite-slider",
30473
30587
  "$members$": {
30474
30588
  "disabled": [516],
30589
+ "form": [513],
30475
30590
  "groupSeparator": [516, "group-separator"],
30476
30591
  "hasHistogram": [1540, "has-histogram"],
30477
30592
  "histogram": [16],
@@ -30504,7 +30619,7 @@ class Slider {
30504
30619
  },
30505
30620
  "$listeners$": [[0, "keydown", "keyDownHandler"], [1, "pointerdown", "pointerDownHandler"]],
30506
30621
  "$lazyBundleId$": "-",
30507
- "$attrsToReflect$": [["disabled", "disabled"], ["groupSeparator", "group-separator"], ["hasHistogram", "has-histogram"], ["labelHandles", "label-handles"], ["labelTicks", "label-ticks"], ["max", "max"], ["min", "min"], ["mirrored", "mirrored"], ["name", "name"], ["pageStep", "page-step"], ["precise", "precise"], ["required", "required"], ["snap", "snap"], ["step", "step"], ["ticks", "ticks"], ["value", "value"], ["scale", "scale"]]
30622
+ "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["groupSeparator", "group-separator"], ["hasHistogram", "has-histogram"], ["labelHandles", "label-handles"], ["labelTicks", "label-ticks"], ["max", "max"], ["min", "min"], ["mirrored", "mirrored"], ["name", "name"], ["pageStep", "page-step"], ["precise", "precise"], ["required", "required"], ["snap", "snap"], ["step", "step"], ["ticks", "ticks"], ["value", "value"], ["scale", "scale"]]
30508
30623
  }; }
30509
30624
  }
30510
30625
 
@@ -33528,7 +33643,7 @@ _extends(Remove, {
33528
33643
  Sortable.mount(new AutoScrollPlugin());
33529
33644
  Sortable.mount(Remove, Revert);
33530
33645
 
33531
- const CSS$9 = {
33646
+ const CSS$a = {
33532
33647
  sortItem: "sort-item",
33533
33648
  container: "container",
33534
33649
  containerHorizontal: "container--horizontal",
@@ -33661,9 +33776,9 @@ class SortableList {
33661
33776
  const { layout } = this;
33662
33777
  const horizontal = layout === "horizontal" || false;
33663
33778
  return (hAsync("div", { class: {
33664
- [CSS$9.container]: true,
33665
- [CSS$9.containerVertical]: !horizontal,
33666
- [CSS$9.containerHorizontal]: horizontal
33779
+ [CSS$a.container]: true,
33780
+ [CSS$a.containerVertical]: !horizontal,
33781
+ [CSS$a.containerHorizontal]: horizontal
33667
33782
  } }, hAsync("slot", null)));
33668
33783
  }
33669
33784
  get el() { return getElement(this); }
@@ -33686,7 +33801,7 @@ class SortableList {
33686
33801
  }; }
33687
33802
  }
33688
33803
 
33689
- const CSS$8 = {
33804
+ const CSS$9 = {
33690
33805
  container: "split-button__container",
33691
33806
  dividerContainer: "split-button__divider-container",
33692
33807
  divider: "split-button__divider",
@@ -33735,21 +33850,37 @@ class SplitButton {
33735
33850
  }
33736
33851
  //--------------------------------------------------------------------------
33737
33852
  //
33853
+ // Public Methods
33854
+ //
33855
+ //--------------------------------------------------------------------------
33856
+ /** Sets focus on the component's first focusable element. */
33857
+ async setFocus() {
33858
+ await componentLoaded(this);
33859
+ this.el.focus();
33860
+ }
33861
+ //--------------------------------------------------------------------------
33862
+ //
33738
33863
  // Lifecycle
33739
33864
  //
33740
33865
  //--------------------------------------------------------------------------
33866
+ componentWillLoad() {
33867
+ setUpLoadableComponent(this);
33868
+ }
33869
+ componentDidLoad() {
33870
+ setComponentLoaded(this);
33871
+ }
33741
33872
  componentDidRender() {
33742
33873
  updateHostInteraction(this);
33743
33874
  }
33744
33875
  render() {
33745
33876
  const widthClasses = {
33746
- [CSS$8.container]: true,
33747
- [CSS$8.widthAuto]: this.width === "auto",
33748
- [CSS$8.widthHalf]: this.width === "half",
33749
- [CSS$8.widthFull]: this.width === "full"
33877
+ [CSS$9.container]: true,
33878
+ [CSS$9.widthAuto]: this.width === "auto",
33879
+ [CSS$9.widthHalf]: this.width === "half",
33880
+ [CSS$9.widthFull]: this.width === "full"
33750
33881
  };
33751
33882
  const buttonWidth = this.width === "auto" ? "auto" : "full";
33752
- return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$8.dividerContainer }, hAsync("div", { class: CSS$8.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
33883
+ return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$9.dividerContainer }, hAsync("div", { class: CSS$9.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
33753
33884
  }
33754
33885
  get dropdownIcon() {
33755
33886
  return this.dropdownIconType === "chevron"
@@ -33785,7 +33916,8 @@ class SplitButton {
33785
33916
  "primaryLabel": [513, "primary-label"],
33786
33917
  "primaryText": [513, "primary-text"],
33787
33918
  "scale": [513],
33788
- "width": [513]
33919
+ "width": [513],
33920
+ "setFocus": [64]
33789
33921
  },
33790
33922
  "$listeners$": undefined,
33791
33923
  "$lazyBundleId$": "-",
@@ -34220,6 +34352,7 @@ class Switch {
34220
34352
  this.switchEl = el;
34221
34353
  };
34222
34354
  this.disabled = false;
34355
+ this.form = undefined;
34223
34356
  this.label = undefined;
34224
34357
  this.name = undefined;
34225
34358
  this.scale = "m";
@@ -34293,6 +34426,7 @@ class Switch {
34293
34426
  "$tagName$": "calcite-switch",
34294
34427
  "$members$": {
34295
34428
  "disabled": [516],
34429
+ "form": [513],
34296
34430
  "label": [1],
34297
34431
  "name": [513],
34298
34432
  "scale": [513],
@@ -34302,7 +34436,7 @@ class Switch {
34302
34436
  },
34303
34437
  "$listeners$": undefined,
34304
34438
  "$lazyBundleId$": "-",
34305
- "$attrsToReflect$": [["disabled", "disabled"], ["name", "name"], ["scale", "scale"], ["checked", "checked"]]
34439
+ "$attrsToReflect$": [["disabled", "disabled"], ["form", "form"], ["name", "name"], ["scale", "scale"], ["checked", "checked"]]
34306
34440
  }; }
34307
34441
  }
34308
34442
 
@@ -34630,7 +34764,7 @@ class TabNav {
34630
34764
  }; }
34631
34765
  }
34632
34766
 
34633
- const CSS$7 = {
34767
+ const CSS$8 = {
34634
34768
  container: "container",
34635
34769
  containerHasText: "container--has-text",
34636
34770
  iconEnd: "icon-end",
@@ -34720,12 +34854,12 @@ class TabTitle {
34720
34854
  }
34721
34855
  render() {
34722
34856
  const id = this.el.id || this.guid;
34723
- const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$7.titleIcon]: true, [CSS$7.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
34724
- const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$7.titleIcon]: true, [CSS$7.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
34857
+ const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$8.titleIcon]: true, [CSS$8.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
34858
+ const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$8.titleIcon]: true, [CSS$8.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
34725
34859
  return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
34726
34860
  container: true,
34727
- [CSS$7.iconPresent]: this.iconStart || this.iconEnd ? true : null,
34728
- [CSS$7.containerHasText]: this.hasText
34861
+ [CSS$8.iconPresent]: this.iconStart || this.iconEnd ? true : null,
34862
+ [CSS$8.containerHasText]: this.hasText
34729
34863
  },
34730
34864
  // eslint-disable-next-line react/jsx-sort-props
34731
34865
  ref: (el) => this.resizeObserver?.observe(el) }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
@@ -34870,7 +35004,7 @@ class TabTitle {
34870
35004
  }; }
34871
35005
  }
34872
35006
 
34873
- const SLOTS$4 = {
35007
+ const SLOTS$5 = {
34874
35008
  titleGroup: "title-group"
34875
35009
  };
34876
35010
 
@@ -34896,7 +35030,7 @@ class Tabs {
34896
35030
  //
34897
35031
  //--------------------------------------------------------------------------
34898
35032
  render() {
34899
- return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$4.titleGroup }), hAsync("section", null, hAsync("slot", null))));
35033
+ return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$5.titleGroup }), hAsync("section", null, hAsync("slot", null))));
34900
35034
  }
34901
35035
  //--------------------------------------------------------------------------
34902
35036
  //
@@ -35004,12 +35138,263 @@ class Tabs {
35004
35138
  }; }
35005
35139
  }
35006
35140
 
35141
+ const CSS$7 = {
35142
+ characterLimit: "character-limit",
35143
+ content: "content",
35144
+ container: "container",
35145
+ footer: "footer",
35146
+ resizeDisabled: "resize--disabled",
35147
+ resizeDisabledX: "resize--disabled-x",
35148
+ resizeDisabledY: "resize--disabled-y",
35149
+ characterOverLimit: "character--over-limit",
35150
+ readOnly: "readonly",
35151
+ textAreaInvalid: "text-area--invalid",
35152
+ footerSlotted: "footer--slotted",
35153
+ borderColor: "border--color",
35154
+ hide: "hide",
35155
+ blockSizeFull: "block-size--full",
35156
+ footerEndSlotOnly: "footer--end-only"
35157
+ };
35158
+ const SLOTS$4 = {
35159
+ footerStart: "footer-start",
35160
+ footerEnd: "footer-end"
35161
+ };
35162
+ const RESIZE_TIMEOUT = 100;
35163
+
35164
+ const textAreaCss = "@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-text-area: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-text-area{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-text-area{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-text-area{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-text-area{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-text-area{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-text-area:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-text-area:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-text-area-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-text-area-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-text-area-h{position:relative;display:inline-block;block-size:100%;inline-size:100%}/*!@textarea*/textarea.sc-calcite-text-area{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){/*!@textarea*/textarea.sc-calcite-text-area{resize:none}}/*!@textarea:focus*/textarea.sc-calcite-text-area:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@textarea.text-area--invalid*/textarea.text-area--invalid.sc-calcite-text-area{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}/*!@textarea.text-area--invalid:focus*/textarea.text-area--invalid.sc-calcite-text-area:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@textarea.footer--slotted*/textarea.footer--slotted.sc-calcite-text-area{min-inline-size:18rem}/*!@.footer*/.footer.sc-calcite-text-area{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}/*!@.character-limit*/.character-limit.sc-calcite-text-area{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@.character--over-limit*/.character--over-limit.sc-calcite-text-area{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}/*!@:host([resize=none]) textarea*/[resize=none].sc-calcite-text-area-h textarea.sc-calcite-text-area{resize:none}/*!@:host([resize=horizontal]) textarea*/[resize=horizontal].sc-calcite-text-area-h textarea.sc-calcite-text-area{resize:horizontal}/*!@:host([resize=vertical]) textarea*/[resize=vertical].sc-calcite-text-area-h textarea.sc-calcite-text-area{resize:vertical}/*!@:host([scale=s])*/[scale=s].sc-calcite-text-area-h{font-size:var(--calcite-font-size--2)}/*!@:host([scale=s]) .footer*/[scale=s].sc-calcite-text-area-h .footer.sc-calcite-text-area{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-text-area-h textarea.sc-calcite-text-area{padding-block:0.25rem;padding-inline:0.5rem}/*!@:host([scale=s]) textarea,\n:host([scale=s]) .footer,\n:host([scale=s]) .character-limit*/[scale=s].sc-calcite-text-area-h textarea.sc-calcite-text-area,[scale=s].sc-calcite-text-area-h .footer.sc-calcite-text-area,[scale=s].sc-calcite-text-area-h .character-limit.sc-calcite-text-area{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-text-area-h textarea.sc-calcite-text-area{padding-block:0.5rem;padding-inline:0.75rem}/*!@:host([scale=m]) .footer*/[scale=m].sc-calcite-text-area-h .footer.sc-calcite-text-area{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}/*!@:host([scale=m]) textarea,\n:host([scale=m]) .footer,\n:host([scale=m]) .character-limit*/[scale=m].sc-calcite-text-area-h textarea.sc-calcite-text-area,[scale=m].sc-calcite-text-area-h .footer.sc-calcite-text-area,[scale=m].sc-calcite-text-area-h .character-limit.sc-calcite-text-area{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}/*!@:host([scale=l])*/[scale=l].sc-calcite-text-area-h{font-size:var(--calcite-font-size-0)}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-text-area-h textarea.sc-calcite-text-area{padding-block:0.75rem;padding-inline:1rem}/*!@:host([scale=l]) .footer*/[scale=l].sc-calcite-text-area-h .footer.sc-calcite-text-area{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}/*!@:host([scale=l]) textarea,\n:host([scale=l]) .footer,\n:host([scale=l]) .character-limit*/[scale=l].sc-calcite-text-area-h textarea.sc-calcite-text-area,[scale=l].sc-calcite-text-area-h .footer.sc-calcite-text-area,[scale=l].sc-calcite-text-area-h .character-limit.sc-calcite-text-area{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}/*!@.readonly*/.readonly.sc-calcite-text-area{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host([disabled]) textarea,\n:host([disabled]) footer*/[disabled].sc-calcite-text-area-h textarea.sc-calcite-text-area,[disabled].sc-calcite-text-area-h footer.sc-calcite-text-area{opacity:0.5}/*!@.border--color*/.border--color.sc-calcite-text-area{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}/*!@.border--color:focus*/.border--color.sc-calcite-text-area:focus{border-block-end-width:2px}/*!@textarea.block-size--full*/textarea.block-size--full.sc-calcite-text-area{block-size:100%}/*!@.content,\n.hide*/.content.sc-calcite-text-area,.hide.sc-calcite-text-area{display:none}/*!@.container*/.container.sc-calcite-text-area{display:flex;inline-size:100%;justify-content:space-between}/*!@.footer--end-only*/.footer--end-only.sc-calcite-text-area{justify-content:flex-end}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-text-area-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-text-area-h[disabled] .sc-calcite-text-area-s>[calcite-hydrated][disabled],[disabled].sc-calcite-text-area-h [calcite-hydrated][disabled].sc-calcite-text-area{opacity:1}";
35165
+
35166
+ /**
35167
+ * @slot - A slot for adding text.
35168
+ * @slot footer-start - A slot for adding content to the start of the component's footer.
35169
+ * @slot footer-end - A slot for adding content to the end of the component's footer.
35170
+ */
35171
+ class TextArea {
35172
+ constructor(hostRef) {
35173
+ registerInstance(this, hostRef);
35174
+ this.calciteTextAreaInput = createEvent(this, "calciteTextAreaInput", 7);
35175
+ this.calciteTextAreaChange = createEvent(this, "calciteTextAreaChange", 7);
35176
+ this.handleInput = (event) => {
35177
+ this.value = event.target["value"];
35178
+ this.calciteTextAreaInput.emit();
35179
+ };
35180
+ this.handleChange = () => {
35181
+ this.calciteTextAreaChange.emit();
35182
+ };
35183
+ this.contentSlotChangeHandler = () => {
35184
+ if (!this.value) {
35185
+ const nodes = this.el.childNodes;
35186
+ nodes.forEach((el) => {
35187
+ if (el.nodeName === "#text") {
35188
+ this.value = el.nodeValue.trim();
35189
+ }
35190
+ });
35191
+ }
35192
+ };
35193
+ this.renderCharacterLimit = () => {
35194
+ return this.maxLength ? (hAsync("span", { class: CSS$7.characterLimit }, hAsync("span", { class: { [CSS$7.characterOverLimit]: this.value?.length > this.maxLength } }, this.getLocalizedCharacterLength()), "/", numberStringFormatter.localize(this.maxLength.toString()))) : null;
35195
+ };
35196
+ this.resizeObserver = createObserver();
35197
+ // height and width are set to auto here to avoid overlapping on to neighboring elements in the layout when user starts resizing.
35198
+ // throttle is used to avoid flashing of textarea when user resizes.
35199
+ this.setHeightAndWidthToAuto = throttle$1(() => {
35200
+ if (this.resize === "vertical" || this.resize === "both") {
35201
+ this.el.style.height = "auto";
35202
+ }
35203
+ if (this.resize === "horizontal" || this.resize === "both") {
35204
+ this.el.style.width = "auto";
35205
+ }
35206
+ }, RESIZE_TIMEOUT, { leading: false });
35207
+ this.setTextAreaEl = (el) => {
35208
+ this.textAreaEl = el;
35209
+ this.resizeObserver.observe(el);
35210
+ };
35211
+ this.autofocus = false;
35212
+ this.columns = undefined;
35213
+ this.disabled = false;
35214
+ this.form = undefined;
35215
+ this.groupSeparator = false;
35216
+ this.label = undefined;
35217
+ this.maxLength = undefined;
35218
+ this.messages = undefined;
35219
+ this.name = undefined;
35220
+ this.numberingSystem = undefined;
35221
+ this.placeholder = undefined;
35222
+ this.readOnly = false;
35223
+ this.required = false;
35224
+ this.resize = "both";
35225
+ this.rows = undefined;
35226
+ this.scale = "m";
35227
+ this.value = undefined;
35228
+ this.wrap = "soft";
35229
+ this.messageOverrides = undefined;
35230
+ this.defaultMessages = undefined;
35231
+ this.endSlotHasElements = undefined;
35232
+ this.startSlotHasElements = undefined;
35233
+ this.effectiveLocale = "";
35234
+ }
35235
+ onMessagesChange() {
35236
+ /* wired up by t9n util */
35237
+ }
35238
+ //--------------------------------------------------------------------------
35239
+ //
35240
+ // Lifecycle
35241
+ //
35242
+ //--------------------------------------------------------------------------
35243
+ connectedCallback() {
35244
+ connectLabel(this);
35245
+ connectForm(this);
35246
+ connectLocalized(this);
35247
+ connectMessages(this);
35248
+ }
35249
+ async componentWillLoad() {
35250
+ setUpLoadableComponent(this);
35251
+ await setUpMessages(this);
35252
+ }
35253
+ componentDidLoad() {
35254
+ setComponentLoaded(this);
35255
+ }
35256
+ componentDidRender() {
35257
+ updateHostInteraction(this);
35258
+ this.setTextAreaHeight();
35259
+ }
35260
+ disconnectedCallback() {
35261
+ disconnectLabel(this);
35262
+ disconnectForm(this);
35263
+ disconnectLocalized(this);
35264
+ disconnectMessages(this);
35265
+ this.resizeObserver?.disconnect();
35266
+ }
35267
+ render() {
35268
+ const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;
35269
+ return (hAsync(Host, null, hAsync("textarea", { "aria-invalid": toAriaBoolean(this.value?.length > this.maxLength), "aria-label": getLabelText(this), autofocus: this.autofocus, class: {
35270
+ [CSS$7.readOnly]: this.readOnly,
35271
+ [CSS$7.textAreaInvalid]: this.value?.length > this.maxLength,
35272
+ [CSS$7.footerSlotted]: this.endSlotHasElements && this.startSlotHasElements,
35273
+ [CSS$7.blockSizeFull]: !hasFooter,
35274
+ [CSS$7.borderColor]: !hasFooter
35275
+ }, cols: this.columns, disabled: this.disabled, name: this.name, onChange: this.handleChange, onInput: this.handleInput, placeholder: this.placeholder, readonly: this.readOnly, required: this.required, rows: this.rows, value: this.value, wrap: this.wrap,
35276
+ // eslint-disable-next-line react/jsx-sort-props
35277
+ ref: this.setTextAreaEl }), hAsync("span", { class: { [CSS$7.content]: true } }, hAsync("slot", { onSlotchange: this.contentSlotChangeHandler })), hAsync("footer", { class: {
35278
+ [CSS$7.footer]: true,
35279
+ [CSS$7.readOnly]: this.readOnly,
35280
+ [CSS$7.hide]: !hasFooter
35281
+ }, ref: (el) => (this.footerEl = el) }, hAsync("div", { class: {
35282
+ [CSS$7.container]: true,
35283
+ [CSS$7.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements
35284
+ } }, hAsync("slot", { name: SLOTS$4.footerStart, onSlotchange: (event) => (this.startSlotHasElements = slotChangeHasAssignedElement(event)) }), hAsync("slot", { name: SLOTS$4.footerEnd, onSlotchange: (event) => (this.endSlotHasElements = slotChangeHasAssignedElement(event)) })), this.renderCharacterLimit()), hAsync(HiddenFormInputSlot, { component: this })));
35285
+ }
35286
+ //--------------------------------------------------------------------------
35287
+ //
35288
+ // Public Methods
35289
+ //
35290
+ //--------------------------------------------------------------------------
35291
+ /** Sets focus on the component. */
35292
+ async setFocus() {
35293
+ await componentLoaded(this);
35294
+ this.textAreaEl.focus();
35295
+ }
35296
+ /** Selects the text of the component's `value`. */
35297
+ async selectText() {
35298
+ await componentLoaded(this);
35299
+ this.textAreaEl.select();
35300
+ }
35301
+ effectiveLocaleChange() {
35302
+ updateMessages(this, this.effectiveLocale);
35303
+ }
35304
+ //--------------------------------------------------------------------------
35305
+ //
35306
+ // Private Methods
35307
+ //
35308
+ //--------------------------------------------------------------------------
35309
+ onFormReset() {
35310
+ this.value = this.defaultValue;
35311
+ }
35312
+ onLabelClick() {
35313
+ this.setFocus();
35314
+ }
35315
+ getLocalizedCharacterLength() {
35316
+ numberStringFormatter.numberFormatOptions = {
35317
+ locale: this.effectiveLocale,
35318
+ numberingSystem: this.numberingSystem,
35319
+ signDisplay: "never",
35320
+ useGrouping: this.groupSeparator
35321
+ };
35322
+ return numberStringFormatter.localize(this.value ? this.value.length.toString() : "0");
35323
+ }
35324
+ syncHiddenFormInput(input) {
35325
+ input.setCustomValidity("");
35326
+ if (this.value?.length > this.maxLength) {
35327
+ input.setCustomValidity(this.messages.tooLong);
35328
+ }
35329
+ }
35330
+ setTextAreaHeight() {
35331
+ const { textAreaHeight, elHeight, footerHeight } = this.getHeightandWidthOfElements();
35332
+ if (footerHeight > 0 && textAreaHeight + footerHeight != elHeight) {
35333
+ this.textAreaEl.style.height = `${elHeight - footerHeight}px`;
35334
+ }
35335
+ }
35336
+ getHeightandWidthOfElements() {
35337
+ const { height: textAreaHeight, width: textAreaWidth } = this.textAreaEl.getBoundingClientRect();
35338
+ const { height: elHeight, width: elWidth } = this.el.getBoundingClientRect();
35339
+ const { height: footerHeight, width: footerWidth } = this.footerEl?.getBoundingClientRect();
35340
+ return {
35341
+ textAreaHeight,
35342
+ textAreaWidth,
35343
+ elHeight,
35344
+ elWidth,
35345
+ footerHeight,
35346
+ footerWidth
35347
+ };
35348
+ }
35349
+ static get assetsDirs() { return ["assets"]; }
35350
+ get el() { return getElement(this); }
35351
+ static get watchers() { return {
35352
+ "messageOverrides": ["onMessagesChange"],
35353
+ "effectiveLocale": ["effectiveLocaleChange"]
35354
+ }; }
35355
+ static get style() { return textAreaCss; }
35356
+ static get cmpMeta() { return {
35357
+ "$flags$": 9,
35358
+ "$tagName$": "calcite-text-area",
35359
+ "$members$": {
35360
+ "autofocus": [516],
35361
+ "columns": [514],
35362
+ "disabled": [516],
35363
+ "form": [513],
35364
+ "groupSeparator": [516, "group-separator"],
35365
+ "label": [1],
35366
+ "maxLength": [514, "max-length"],
35367
+ "messages": [1040],
35368
+ "name": [513],
35369
+ "numberingSystem": [1, "numbering-system"],
35370
+ "placeholder": [1],
35371
+ "readOnly": [516, "read-only"],
35372
+ "required": [516],
35373
+ "resize": [513],
35374
+ "rows": [514],
35375
+ "scale": [513],
35376
+ "value": [1025],
35377
+ "wrap": [513],
35378
+ "messageOverrides": [1040],
35379
+ "defaultMessages": [32],
35380
+ "endSlotHasElements": [32],
35381
+ "startSlotHasElements": [32],
35382
+ "effectiveLocale": [32],
35383
+ "setFocus": [64],
35384
+ "selectText": [64]
35385
+ },
35386
+ "$listeners$": undefined,
35387
+ "$lazyBundleId$": "-",
35388
+ "$attrsToReflect$": [["autofocus", "autofocus"], ["columns", "columns"], ["disabled", "disabled"], ["form", "form"], ["groupSeparator", "group-separator"], ["maxLength", "max-length"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["resize", "resize"], ["rows", "rows"], ["scale", "scale"], ["wrap", "wrap"]]
35389
+ }; }
35390
+ }
35391
+
35007
35392
  const SLOTS$3 = {
35008
35393
  contentStart: "content-start",
35009
35394
  contentEnd: "content-end"
35010
35395
  };
35011
35396
 
35012
- const tileCss = "@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-tile: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-tile{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tile{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tile:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tile:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-tile-h{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{align-items:center;text-align:center;min-block-size:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:flex;justify-content:center;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:flex;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading,\n:host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description,\n:host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
35397
+ const tileCss = "@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-tile: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-tile{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tile{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tile:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tile:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-tile-h{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{align-items:center;text-align:center;min-block-size:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:flex;justify-content:center;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([href]) .heading,\n:host([href]:hover) .heading*/[href].sc-calcite-tile-h .heading.sc-calcite-tile,[href].sc-calcite-tile-h:hover .heading.sc-calcite-tile{text-decoration-line:underline;color:var(--calcite-ui-text-link)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:flex;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading,\n:host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description,\n:host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
35013
35398
 
35014
35399
  /**
35015
35400
  * @slot content-start - A slot for adding non-actionable elements before the component's content.
@@ -35185,14 +35570,14 @@ class TileSelect {
35185
35570
  }
35186
35571
  event.stopPropagation();
35187
35572
  }
35188
- click(event) {
35573
+ clickHandler(event) {
35189
35574
  const target = event.target;
35190
35575
  const targets = ["calcite-tile", "calcite-tile-select"];
35191
35576
  if (targets.includes(target.localName)) {
35192
35577
  this.input.click();
35193
35578
  }
35194
35579
  }
35195
- mouseenter() {
35580
+ pointerEnterHandler() {
35196
35581
  if (this.input.localName === "calcite-radio-button") {
35197
35582
  this.input.hovered = true;
35198
35583
  }
@@ -35200,7 +35585,7 @@ class TileSelect {
35200
35585
  this.input.hovered = true;
35201
35586
  }
35202
35587
  }
35203
- mouseleave() {
35588
+ pointerLeaveHandler() {
35204
35589
  if (this.input.localName === "calcite-radio-button") {
35205
35590
  this.input.hovered = false;
35206
35591
  }
@@ -35295,7 +35680,7 @@ class TileSelect {
35295
35680
  "focused": [32],
35296
35681
  "setFocus": [64]
35297
35682
  },
35298
- "$listeners$": [[0, "calciteCheckboxChange", "checkboxChangeHandler"], [0, "calciteInternalCheckboxFocus", "checkboxFocusBlurHandler"], [0, "calciteInternalCheckboxBlur", "checkboxFocusBlurHandler"], [0, "calciteRadioButtonChange", "radioButtonChangeHandler"], [0, "calciteInternalRadioButtonCheckedChange", "radioButtonCheckedChangeHandler"], [0, "calciteInternalRadioButtonFocus", "radioButtonFocusBlurHandler"], [0, "calciteInternalRadioButtonBlur", "radioButtonFocusBlurHandler"], [0, "click", "click"], [1, "pointerenter", "mouseenter"], [1, "pointerleave", "mouseleave"]],
35683
+ "$listeners$": [[0, "calciteCheckboxChange", "checkboxChangeHandler"], [0, "calciteInternalCheckboxFocus", "checkboxFocusBlurHandler"], [0, "calciteInternalCheckboxBlur", "checkboxFocusBlurHandler"], [0, "calciteRadioButtonChange", "radioButtonChangeHandler"], [0, "calciteInternalRadioButtonCheckedChange", "radioButtonCheckedChangeHandler"], [0, "calciteInternalRadioButtonFocus", "radioButtonFocusBlurHandler"], [0, "calciteInternalRadioButtonBlur", "radioButtonFocusBlurHandler"], [0, "click", "clickHandler"], [1, "pointerenter", "pointerEnterHandler"], [1, "pointerleave", "pointerLeaveHandler"]],
35299
35684
  "$lazyBundleId$": "-",
35300
35685
  "$attrsToReflect$": [["checked", "checked"], ["description", "description"], ["disabled", "disabled"], ["heading", "heading"], ["hidden", "hidden"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["name", "name"], ["inputEnabled", "input-enabled"], ["inputAlignment", "input-alignment"], ["type", "type"], ["width", "width"]]
35301
35686
  }; }
@@ -37723,19 +38108,19 @@ class ValueListItem {
37723
38108
  renderActionsEnd() {
37724
38109
  const { el } = this;
37725
38110
  const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);
37726
- return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$9.actionsEnd })) : null;
38111
+ return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$a.actionsEnd })) : null;
37727
38112
  }
37728
38113
  renderActionsStart() {
37729
38114
  const { el } = this;
37730
38115
  const hasActionsStart = getSlotted(el, SLOTS.actionsStart);
37731
- return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$9.actionsStart })) : null;
38116
+ return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$a.actionsStart })) : null;
37732
38117
  }
37733
38118
  renderHandle() {
37734
38119
  const { icon, iconFlipRtl } = this;
37735
38120
  if (icon === ICON_TYPES$1.grip) {
37736
38121
  return (hAsync("span", { class: {
37737
- [CSS$j.handle]: true,
37738
- [CSS$j.handleActivated]: this.handleActivated
38122
+ [CSS$k.handle]: true,
38123
+ [CSS$k.handleActivated]: this.handleActivated
37739
38124
  }, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
37740
38125
  }
37741
38126
  }
@@ -37851,6 +38236,7 @@ registerComponents([
37851
38236
  TabNav,
37852
38237
  TabTitle,
37853
38238
  Tabs,
38239
+ TextArea,
37854
38240
  Tile,
37855
38241
  TileSelect,
37856
38242
  TileSelectGroup,