@gov-design-system-ce/components 4.1.1 → 4.1.3-BETA-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/dist/cjs/core.cjs.js +2 -2
  2. package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
  3. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
  5. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  7. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-button.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-card.cjs.entry.js +10 -7
  10. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gov-chip.cjs.entry.js +3 -3
  12. package/dist/cjs/gov-container.cjs.entry.js +2 -2
  13. package/dist/cjs/gov-control-group.cjs.entry.js +2 -2
  14. package/dist/cjs/gov-cookiebar.cjs.entry.js +2 -2
  15. package/dist/cjs/gov-dialog.cjs.entry.js +2 -2
  16. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-empty.cjs.entry.js +2 -2
  18. package/dist/cjs/gov-error-code.cjs.entry.js +2 -2
  19. package/dist/cjs/{gov-flex_4.cjs.entry.js → gov-flex_3.cjs.entry.js} +24 -29
  20. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
  21. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +2 -2
  22. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
  23. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-form-control.cjs.entry.js +2 -2
  26. package/dist/cjs/gov-form-file.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-form-group.cjs.entry.js +2 -2
  28. package/dist/cjs/gov-form-input_2.cjs.entry.js +7 -7
  29. package/dist/cjs/gov-form-label.cjs.entry.js +27 -0
  30. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
  31. package/dist/cjs/gov-form-multi-select.cjs.entry.js +3 -3
  32. package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-form-radio-group.cjs.entry.js +3 -3
  34. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
  37. package/dist/cjs/gov-form-select.cjs.entry.js +3 -3
  38. package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-grid-item.cjs.entry.js +2 -2
  40. package/dist/cjs/gov-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/gov-infobar.cjs.entry.js +3 -3
  42. package/dist/cjs/gov-layout-column.cjs.entry.js +2 -2
  43. package/dist/cjs/gov-layout.cjs.entry.js +2 -2
  44. package/dist/cjs/gov-lifecycle.cjs.entry.js +2 -2
  45. package/dist/cjs/gov-link.cjs.entry.js +2 -2
  46. package/dist/cjs/gov-loading.cjs.entry.js +2 -2
  47. package/dist/cjs/gov-message.cjs.entry.js +2 -2
  48. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
  50. package/dist/cjs/gov-stepper-item.cjs.entry.js +2 -2
  51. package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
  52. package/dist/cjs/gov-tabs-item.cjs.entry.js +2 -2
  53. package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
  54. package/dist/cjs/gov-tag.cjs.entry.js +3 -2
  55. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  56. package/dist/cjs/gov-tile.cjs.entry.js +2 -2
  57. package/dist/cjs/gov-tiles.cjs.entry.js +2 -2
  58. package/dist/cjs/gov-toast.cjs.entry.js +2 -2
  59. package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
  60. package/dist/cjs/gov-tooltip.cjs.entry.js +3 -3
  61. package/dist/cjs/gov-wizard-item.cjs.entry.js +3 -3
  62. package/dist/cjs/gov-wizard.cjs.entry.js +2 -2
  63. package/dist/cjs/{index-7ff4447c.js → index-67e87c27.js} +14 -3
  64. package/dist/cjs/index-67e87c27.js.map +1 -0
  65. package/dist/cjs/loader.cjs.js +2 -2
  66. package/dist/collection/components/gov-attachments/gov-attachments-item.css +2 -7
  67. package/dist/collection/components/gov-card/constants.js +7 -4
  68. package/dist/collection/components/gov-card/constants.js.map +1 -1
  69. package/dist/collection/components/gov-card/gov-card.js +16 -10
  70. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  71. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  72. package/dist/collection/components/gov-container/gov-container.js +1 -1
  73. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  74. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  75. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  76. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  77. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  78. package/dist/collection/components/gov-flex/constants.js +2 -0
  79. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  80. package/dist/collection/components/gov-flex/gov-flex.js +33 -9
  81. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  82. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  83. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  84. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  85. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  86. package/dist/collection/components/gov-form/group/gov-form-group.css +3 -8
  87. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  88. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  89. package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
  90. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  91. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  92. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
  93. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  94. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  95. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  96. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  97. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  98. package/dist/collection/components/gov-icon/gov-icon.js +8 -0
  99. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  100. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  101. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  102. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  103. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  104. package/dist/collection/components/gov-link/gov-link.js +1 -1
  105. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  106. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  107. package/dist/collection/components/gov-message/gov-message.js +1 -1
  108. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  109. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  110. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  111. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  112. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  113. package/dist/collection/components/gov-tag/gov-tag.js +20 -1
  114. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  115. package/dist/collection/components/gov-theme-switch/constants.js +0 -2
  116. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  117. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +32 -9
  118. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  119. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  120. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  121. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  122. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  123. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  124. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  125. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  126. package/dist/collection/pages/Card.js +22 -37
  127. package/dist/collection/pages/Card.js.map +1 -1
  128. package/dist/collection/pages/Flex.js +62 -0
  129. package/dist/collection/pages/Flex.js.map +1 -0
  130. package/dist/collection/pages/Forms.js +5 -5
  131. package/dist/collection/pages/Forms.js.map +1 -1
  132. package/dist/collection/pages/Tag.js +30 -23
  133. package/dist/collection/pages/Tag.js.map +1 -1
  134. package/dist/collection/utils/icon.utils.js +4 -0
  135. package/dist/collection/utils/icon.utils.js.map +1 -1
  136. package/dist/components/gov-accordion-item.js +1 -1
  137. package/dist/components/gov-accordion.js +1 -1
  138. package/dist/components/gov-attachments-item.js +1 -1
  139. package/dist/components/gov-attachments.js +1 -1
  140. package/dist/components/gov-backdrop.js +1 -1
  141. package/dist/components/gov-breadcrumbs.js +1 -1
  142. package/dist/components/gov-button.js +1 -1
  143. package/dist/components/gov-card.js +1 -1
  144. package/dist/components/gov-card.js.map +1 -1
  145. package/dist/components/gov-chip.js +1 -1
  146. package/dist/components/gov-container.js +1 -1
  147. package/dist/components/gov-control-group.js +1 -1
  148. package/dist/components/gov-cookiebar.js +1 -1
  149. package/dist/components/gov-dialog.js +1 -1
  150. package/dist/components/gov-dropdown.js +1 -1
  151. package/dist/components/gov-empty.js +1 -1
  152. package/dist/components/gov-error-code.js +1 -1
  153. package/dist/components/gov-flex.js +1 -1
  154. package/dist/components/gov-flex.js.map +1 -1
  155. package/dist/components/gov-form-autocomplete.js +1 -1
  156. package/dist/components/gov-form-checkbox-group.js +1 -1
  157. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  158. package/dist/components/gov-form-checkbox.js +1 -1
  159. package/dist/components/gov-form-control.js +1 -1
  160. package/dist/components/gov-form-file.js +1 -1
  161. package/dist/components/gov-form-file.js.map +1 -1
  162. package/dist/components/gov-form-group.js +1 -1
  163. package/dist/components/gov-form-input.js +1 -1
  164. package/dist/components/gov-form-label.js +1 -1
  165. package/dist/components/gov-form-label.js.map +1 -1
  166. package/dist/components/gov-form-message.js +1 -1
  167. package/dist/components/gov-form-multi-select.js +1 -1
  168. package/dist/components/gov-form-password-power.js +1 -1
  169. package/dist/components/gov-form-radio-group.js +1 -1
  170. package/dist/components/gov-form-radio-group.js.map +1 -1
  171. package/dist/components/gov-form-radio.js +1 -1
  172. package/dist/components/gov-form-search.js +1 -1
  173. package/dist/components/gov-form-select.js +1 -1
  174. package/dist/components/gov-form-switch.js +1 -1
  175. package/dist/components/gov-grid-item.js +1 -1
  176. package/dist/components/gov-grid.js +1 -1
  177. package/dist/components/gov-icon.js +1 -1
  178. package/dist/components/gov-infobar.js +1 -1
  179. package/dist/components/gov-layout-column.js +1 -1
  180. package/dist/components/gov-layout.js +1 -1
  181. package/dist/components/gov-lifecycle.js +1 -1
  182. package/dist/components/gov-link.js +1 -1
  183. package/dist/components/gov-link.js.map +1 -1
  184. package/dist/components/gov-loading.js +1 -1
  185. package/dist/components/gov-loading.js.map +1 -1
  186. package/dist/components/gov-message.js +1 -1
  187. package/dist/components/gov-pagination.js +1 -1
  188. package/dist/components/gov-skeleton.js +1 -1
  189. package/dist/components/gov-spacer.js +1 -1
  190. package/dist/components/gov-stepper-item.js +1 -1
  191. package/dist/components/gov-stepper.js +1 -1
  192. package/dist/components/gov-tabs-item.js +1 -1
  193. package/dist/components/gov-tabs.js +1 -1
  194. package/dist/components/gov-tabs.js.map +1 -1
  195. package/dist/components/gov-tag.js +1 -1
  196. package/dist/components/gov-tag.js.map +1 -1
  197. package/dist/components/gov-theme-switch.js +1 -1
  198. package/dist/components/gov-theme-switch.js.map +1 -1
  199. package/dist/components/gov-tile.js +1 -1
  200. package/dist/components/gov-tiles.js +1 -1
  201. package/dist/components/gov-toast.js +1 -1
  202. package/dist/components/gov-tooltip-content.js +1 -1
  203. package/dist/components/gov-tooltip.js +1 -1
  204. package/dist/components/gov-tooltip.js.map +1 -1
  205. package/dist/components/gov-wizard-item.js +1 -1
  206. package/dist/components/gov-wizard.js +1 -1
  207. package/dist/components/index.js +1 -1
  208. package/dist/components/{p-73938936.js → p-03ad4e0f.js} +2 -2
  209. package/dist/components/p-115b9cf3.js +3 -0
  210. package/dist/components/p-115b9cf3.js.map +1 -0
  211. package/dist/components/p-2bd9e821.js +2 -0
  212. package/dist/components/{p-1eb9c053.js.map → p-2bd9e821.js.map} +1 -1
  213. package/dist/components/p-34c6a704.js +2 -0
  214. package/dist/components/{p-b95ebe8c.js.map → p-34c6a704.js.map} +1 -1
  215. package/dist/components/{p-ac359044.js → p-350e060c.js} +2 -2
  216. package/dist/components/{p-7be2301a.js → p-384c7f2a.js} +2 -2
  217. package/dist/components/p-50964838.js +2 -0
  218. package/dist/components/p-50964838.js.map +1 -0
  219. package/dist/components/{p-318d89bd.js → p-8080982e.js} +2 -2
  220. package/dist/components/p-8ee6f2f3.js +2 -0
  221. package/dist/components/{p-a6be4769.js → p-915c4f3a.js} +2 -2
  222. package/dist/components/p-ae7a283c.js +2 -0
  223. package/dist/components/{p-283b66c3.js → p-e532e5e5.js} +2 -2
  224. package/dist/core/core.css +438 -273
  225. package/dist/core/core.esm.js +1 -1
  226. package/dist/core/core.esm.js.map +1 -1
  227. package/dist/core/p-017ff5a5.entry.js +2 -0
  228. package/dist/core/{p-2739fa61.entry.js.map → p-017ff5a5.entry.js.map} +1 -1
  229. package/dist/core/{p-c916d0d2.entry.js → p-032accfb.entry.js} +2 -2
  230. package/dist/core/p-058e6fe2.entry.js +2 -0
  231. package/dist/core/{p-3d6edb09.entry.js.map → p-058e6fe2.entry.js.map} +1 -1
  232. package/dist/core/{p-0be19b89.entry.js → p-063b70a2.entry.js} +2 -2
  233. package/dist/core/{p-dea64896.entry.js → p-0724cb6a.entry.js} +2 -2
  234. package/dist/core/p-09c9eba6.entry.js +2 -0
  235. package/dist/core/p-09ea5c11.entry.js +2 -0
  236. package/dist/core/p-09ea5c11.entry.js.map +1 -0
  237. package/dist/core/p-0c076b21.entry.js +2 -0
  238. package/dist/core/{p-97a9725d.entry.js → p-0f0f7302.entry.js} +2 -2
  239. package/dist/core/p-10f773c2.entry.js +2 -0
  240. package/dist/core/p-14d66f26.entry.js +2 -0
  241. package/dist/core/p-1aa7450e.entry.js +2 -0
  242. package/dist/core/{p-6bb37fe2.entry.js.map → p-1aa7450e.entry.js.map} +1 -1
  243. package/dist/core/p-237a5b91.entry.js +2 -0
  244. package/dist/core/{p-e61aa53b.entry.js.map → p-237a5b91.entry.js.map} +1 -1
  245. package/dist/core/p-269071f5.entry.js +2 -0
  246. package/dist/core/{p-da7f1e11.entry.js.map → p-269071f5.entry.js.map} +1 -1
  247. package/dist/core/p-2ee042d4.js +3 -0
  248. package/dist/core/p-2ee042d4.js.map +1 -0
  249. package/dist/core/{p-ed833334.entry.js → p-33310735.entry.js} +2 -2
  250. package/dist/core/p-347d15d5.entry.js +2 -0
  251. package/dist/core/{p-019e967c.entry.js.map → p-347d15d5.entry.js.map} +1 -1
  252. package/dist/core/p-37473c34.entry.js +2 -0
  253. package/dist/core/p-37473c34.entry.js.map +1 -0
  254. package/dist/core/{p-432c3875.entry.js → p-3849ca02.entry.js} +2 -2
  255. package/dist/core/p-3a7381e7.entry.js +2 -0
  256. package/dist/core/{p-bdc51179.entry.js.map → p-3a7381e7.entry.js.map} +1 -1
  257. package/dist/core/p-43d3dbc0.entry.js +2 -0
  258. package/dist/core/p-45b759f4.entry.js +2 -0
  259. package/dist/core/{p-f4dac942.entry.js.map → p-45b759f4.entry.js.map} +1 -1
  260. package/dist/core/p-4c60e125.entry.js +2 -0
  261. package/dist/core/p-4e29744a.entry.js +2 -0
  262. package/dist/core/{p-41c6b262.entry.js.map → p-4e29744a.entry.js.map} +1 -1
  263. package/dist/core/p-4fa0320d.entry.js +2 -0
  264. package/dist/core/p-50af9ae8.entry.js +2 -0
  265. package/dist/core/{p-ccec8019.entry.js → p-5c3f4cfe.entry.js} +2 -2
  266. package/dist/core/p-6b7c3a96.entry.js +2 -0
  267. package/dist/core/{p-4c5f6299.entry.js.map → p-6b7c3a96.entry.js.map} +1 -1
  268. package/dist/core/p-71f5d4ff.entry.js +2 -0
  269. package/dist/core/{p-439b66a5.entry.js.map → p-71f5d4ff.entry.js.map} +1 -1
  270. package/dist/core/{p-9fe35463.entry.js → p-77daba72.entry.js} +2 -2
  271. package/dist/core/p-7a21fb90.entry.js +2 -0
  272. package/dist/core/{p-56dc370d.entry.js.map → p-7a21fb90.entry.js.map} +1 -1
  273. package/dist/core/{p-d65cef62.entry.js → p-7baee44f.entry.js} +2 -2
  274. package/dist/core/{p-7e04730a.entry.js → p-7dfb7e36.entry.js} +2 -2
  275. package/dist/core/p-8bb6c816.entry.js +2 -0
  276. package/dist/core/{p-bc966c46.entry.js.map → p-8bb6c816.entry.js.map} +1 -1
  277. package/dist/core/p-8cc5ad01.entry.js +2 -0
  278. package/dist/core/p-8cc5ad01.entry.js.map +1 -0
  279. package/dist/core/p-906865d0.entry.js +2 -0
  280. package/dist/core/{p-c054f955.entry.js.map → p-906865d0.entry.js.map} +1 -1
  281. package/dist/core/{p-b7cfe254.entry.js → p-927c31dd.entry.js} +2 -2
  282. package/dist/core/p-967a1094.entry.js +2 -0
  283. package/dist/core/{p-04fa0ab5.entry.js.map → p-967a1094.entry.js.map} +1 -1
  284. package/dist/core/{p-3cb36bae.entry.js → p-9846fd13.entry.js} +2 -2
  285. package/dist/core/{p-1200a32d.entry.js → p-994385ca.entry.js} +2 -2
  286. package/dist/core/{p-d836fcde.entry.js → p-9f8d69a9.entry.js} +2 -2
  287. package/dist/core/{p-e834ee73.entry.js → p-a6a9de9a.entry.js} +2 -2
  288. package/dist/core/p-b62e49ee.entry.js +2 -0
  289. package/dist/core/{p-bcb45a18.entry.js → p-c0800e6d.entry.js} +2 -2
  290. package/dist/core/p-cecbe73f.entry.js +2 -0
  291. package/dist/core/{p-5c9e6275.entry.js.map → p-cecbe73f.entry.js.map} +1 -1
  292. package/dist/core/p-d795a421.entry.js +2 -0
  293. package/dist/core/{p-0fdd8929.entry.js → p-d9b42773.entry.js} +2 -2
  294. package/dist/core/{p-561718cd.entry.js → p-e0a199ff.entry.js} +2 -2
  295. package/dist/core/p-e215f3ee.entry.js +2 -0
  296. package/dist/core/p-ed02945f.entry.js +2 -0
  297. package/dist/core/p-ee55932a.entry.js +2 -0
  298. package/dist/core/{p-f7a4da9d.entry.js → p-f2bb8c29.entry.js} +2 -2
  299. package/dist/core/{p-72130a8f.entry.js → p-f54edd6c.entry.js} +2 -2
  300. package/dist/core/p-f7f60f91.entry.js +2 -0
  301. package/dist/core/{p-b923a8d9.entry.js.map → p-f7f60f91.entry.js.map} +1 -1
  302. package/dist/core/{p-ed8fc183.entry.js → p-fcac8531.entry.js} +2 -2
  303. package/dist/esm/core.js +3 -3
  304. package/dist/esm/gov-accordion-item.entry.js +1 -1
  305. package/dist/esm/gov-accordion.entry.js +1 -1
  306. package/dist/esm/gov-attachments_3.entry.js +3 -3
  307. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  308. package/dist/esm/gov-backdrop.entry.js +1 -1
  309. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  310. package/dist/esm/gov-button.entry.js +1 -1
  311. package/dist/esm/gov-card.entry.js +10 -7
  312. package/dist/esm/gov-card.entry.js.map +1 -1
  313. package/dist/esm/gov-chip.entry.js +3 -3
  314. package/dist/esm/gov-container.entry.js +2 -2
  315. package/dist/esm/gov-control-group.entry.js +2 -2
  316. package/dist/esm/gov-cookiebar.entry.js +2 -2
  317. package/dist/esm/gov-dialog.entry.js +2 -2
  318. package/dist/esm/gov-dropdown.entry.js +1 -1
  319. package/dist/esm/gov-empty.entry.js +2 -2
  320. package/dist/esm/gov-error-code.entry.js +2 -2
  321. package/dist/esm/{gov-flex_4.entry.js → gov-flex_3.entry.js} +25 -29
  322. package/dist/esm/gov-flex_3.entry.js.map +1 -0
  323. package/dist/esm/gov-form-autocomplete.entry.js +2 -2
  324. package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
  325. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  326. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  327. package/dist/esm/gov-form-control.entry.js +2 -2
  328. package/dist/esm/gov-form-file.entry.js +2 -2
  329. package/dist/esm/gov-form-group.entry.js +2 -2
  330. package/dist/esm/gov-form-input_2.entry.js +7 -7
  331. package/dist/esm/gov-form-label.entry.js +23 -0
  332. package/dist/esm/gov-form-label.entry.js.map +1 -0
  333. package/dist/esm/gov-form-multi-select.entry.js +3 -3
  334. package/dist/esm/gov-form-password-power.entry.js +2 -2
  335. package/dist/esm/gov-form-radio-group.entry.js +3 -3
  336. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  337. package/dist/esm/gov-form-radio.entry.js +1 -1
  338. package/dist/esm/gov-form-search.entry.js +2 -2
  339. package/dist/esm/gov-form-select.entry.js +3 -3
  340. package/dist/esm/gov-form-switch.entry.js +1 -1
  341. package/dist/esm/gov-grid-item.entry.js +2 -2
  342. package/dist/esm/gov-grid.entry.js +2 -2
  343. package/dist/esm/gov-infobar.entry.js +3 -3
  344. package/dist/esm/gov-layout-column.entry.js +2 -2
  345. package/dist/esm/gov-layout.entry.js +2 -2
  346. package/dist/esm/gov-lifecycle.entry.js +2 -2
  347. package/dist/esm/gov-link.entry.js +2 -2
  348. package/dist/esm/gov-loading.entry.js +2 -2
  349. package/dist/esm/gov-message.entry.js +2 -2
  350. package/dist/esm/gov-pagination.entry.js +1 -1
  351. package/dist/esm/gov-spacer.entry.js +2 -2
  352. package/dist/esm/gov-stepper-item.entry.js +2 -2
  353. package/dist/esm/gov-stepper.entry.js +2 -2
  354. package/dist/esm/gov-tabs-item.entry.js +2 -2
  355. package/dist/esm/gov-tabs.entry.js +2 -2
  356. package/dist/esm/gov-tag.entry.js +3 -2
  357. package/dist/esm/gov-tag.entry.js.map +1 -1
  358. package/dist/esm/gov-tile.entry.js +2 -2
  359. package/dist/esm/gov-tiles.entry.js +2 -2
  360. package/dist/esm/gov-toast.entry.js +2 -2
  361. package/dist/esm/gov-tooltip-content.entry.js +2 -2
  362. package/dist/esm/gov-tooltip.entry.js +3 -3
  363. package/dist/esm/gov-wizard-item.entry.js +3 -3
  364. package/dist/esm/gov-wizard.entry.js +2 -2
  365. package/dist/esm/{index-c263e031.js → index-087b155c.js} +14 -4
  366. package/dist/esm/index-087b155c.js.map +1 -0
  367. package/dist/esm/loader.js +3 -3
  368. package/dist/hydrate/index.js +102 -76
  369. package/dist/hydrate/index.mjs +102 -76
  370. package/dist/types/components/gov-card/constants.d.ts +8 -4
  371. package/dist/types/components/gov-card/gov-card.d.ts +3 -2
  372. package/dist/types/components/gov-flex/constants.d.ts +4 -0
  373. package/dist/types/components/gov-flex/gov-flex.d.ts +9 -7
  374. package/dist/types/components/gov-tag/gov-tag.d.ts +4 -0
  375. package/dist/types/components/gov-theme-switch/constants.d.ts +0 -2
  376. package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +8 -4
  377. package/dist/types/components.d.ts +50 -22
  378. package/dist/types/pages/Flex.d.ts +3 -0
  379. package/package.json +1 -1
  380. package/dist/cjs/gov-flex_4.cjs.entry.js.map +0 -1
  381. package/dist/cjs/index-7ff4447c.js.map +0 -1
  382. package/dist/components/p-1eb9c053.js +0 -2
  383. package/dist/components/p-3d7a21b5.js +0 -2
  384. package/dist/components/p-42200001.js +0 -3
  385. package/dist/components/p-42200001.js.map +0 -1
  386. package/dist/components/p-46c567fd.js +0 -2
  387. package/dist/components/p-46c567fd.js.map +0 -1
  388. package/dist/components/p-68a1aaec.js +0 -2
  389. package/dist/components/p-68a1aaec.js.map +0 -1
  390. package/dist/components/p-a6b7a6c2.js +0 -2
  391. package/dist/components/p-b95ebe8c.js +0 -2
  392. package/dist/core/p-00d153bf.entry.js +0 -2
  393. package/dist/core/p-019e967c.entry.js +0 -2
  394. package/dist/core/p-04fa0ab5.entry.js +0 -2
  395. package/dist/core/p-22fa411d.entry.js +0 -2
  396. package/dist/core/p-2739fa61.entry.js +0 -2
  397. package/dist/core/p-30eaeeec.entry.js +0 -2
  398. package/dist/core/p-3d6edb09.entry.js +0 -2
  399. package/dist/core/p-3f6a2d20.entry.js +0 -2
  400. package/dist/core/p-3f6a2d20.entry.js.map +0 -1
  401. package/dist/core/p-41c6b262.entry.js +0 -2
  402. package/dist/core/p-439b66a5.entry.js +0 -2
  403. package/dist/core/p-4b90fbc4.entry.js +0 -2
  404. package/dist/core/p-4c5f6299.entry.js +0 -2
  405. package/dist/core/p-535316b4.entry.js +0 -2
  406. package/dist/core/p-5396935e.entry.js +0 -2
  407. package/dist/core/p-56dc370d.entry.js +0 -2
  408. package/dist/core/p-5b2131c1.entry.js +0 -2
  409. package/dist/core/p-5c9e6275.entry.js +0 -2
  410. package/dist/core/p-65e67731.entry.js +0 -2
  411. package/dist/core/p-6bb37fe2.entry.js +0 -2
  412. package/dist/core/p-6e457b3d.entry.js +0 -2
  413. package/dist/core/p-7b7e502b.entry.js +0 -2
  414. package/dist/core/p-8506b611.js +0 -3
  415. package/dist/core/p-8506b611.js.map +0 -1
  416. package/dist/core/p-9c2c5447.entry.js +0 -2
  417. package/dist/core/p-9c2c5447.entry.js.map +0 -1
  418. package/dist/core/p-b923a8d9.entry.js +0 -2
  419. package/dist/core/p-bc966c46.entry.js +0 -2
  420. package/dist/core/p-bdc51179.entry.js +0 -2
  421. package/dist/core/p-c054f955.entry.js +0 -2
  422. package/dist/core/p-cd2d335d.entry.js +0 -2
  423. package/dist/core/p-da7f1e11.entry.js +0 -2
  424. package/dist/core/p-e61aa53b.entry.js +0 -2
  425. package/dist/core/p-ea44d447.entry.js +0 -2
  426. package/dist/core/p-f4bcf817.entry.js +0 -2
  427. package/dist/core/p-f4dac942.entry.js +0 -2
  428. package/dist/esm/gov-flex_4.entry.js.map +0 -1
  429. package/dist/esm/index-c263e031.js.map +0 -1
  430. /package/dist/components/{p-73938936.js.map → p-03ad4e0f.js.map} +0 -0
  431. /package/dist/components/{p-ac359044.js.map → p-350e060c.js.map} +0 -0
  432. /package/dist/components/{p-7be2301a.js.map → p-384c7f2a.js.map} +0 -0
  433. /package/dist/components/{p-318d89bd.js.map → p-8080982e.js.map} +0 -0
  434. /package/dist/components/{p-a6b7a6c2.js.map → p-8ee6f2f3.js.map} +0 -0
  435. /package/dist/components/{p-a6be4769.js.map → p-915c4f3a.js.map} +0 -0
  436. /package/dist/components/{p-3d7a21b5.js.map → p-ae7a283c.js.map} +0 -0
  437. /package/dist/components/{p-283b66c3.js.map → p-e532e5e5.js.map} +0 -0
  438. /package/dist/core/{p-c916d0d2.entry.js.map → p-032accfb.entry.js.map} +0 -0
  439. /package/dist/core/{p-0be19b89.entry.js.map → p-063b70a2.entry.js.map} +0 -0
  440. /package/dist/core/{p-dea64896.entry.js.map → p-0724cb6a.entry.js.map} +0 -0
  441. /package/dist/core/{p-7b7e502b.entry.js.map → p-09c9eba6.entry.js.map} +0 -0
  442. /package/dist/core/{p-5b2131c1.entry.js.map → p-0c076b21.entry.js.map} +0 -0
  443. /package/dist/core/{p-97a9725d.entry.js.map → p-0f0f7302.entry.js.map} +0 -0
  444. /package/dist/core/{p-65e67731.entry.js.map → p-10f773c2.entry.js.map} +0 -0
  445. /package/dist/core/{p-cd2d335d.entry.js.map → p-14d66f26.entry.js.map} +0 -0
  446. /package/dist/core/{p-ed833334.entry.js.map → p-33310735.entry.js.map} +0 -0
  447. /package/dist/core/{p-432c3875.entry.js.map → p-3849ca02.entry.js.map} +0 -0
  448. /package/dist/core/{p-22fa411d.entry.js.map → p-43d3dbc0.entry.js.map} +0 -0
  449. /package/dist/core/{p-30eaeeec.entry.js.map → p-4c60e125.entry.js.map} +0 -0
  450. /package/dist/core/{p-5396935e.entry.js.map → p-4fa0320d.entry.js.map} +0 -0
  451. /package/dist/core/{p-6e457b3d.entry.js.map → p-50af9ae8.entry.js.map} +0 -0
  452. /package/dist/core/{p-ccec8019.entry.js.map → p-5c3f4cfe.entry.js.map} +0 -0
  453. /package/dist/core/{p-9fe35463.entry.js.map → p-77daba72.entry.js.map} +0 -0
  454. /package/dist/core/{p-d65cef62.entry.js.map → p-7baee44f.entry.js.map} +0 -0
  455. /package/dist/core/{p-7e04730a.entry.js.map → p-7dfb7e36.entry.js.map} +0 -0
  456. /package/dist/core/{p-b7cfe254.entry.js.map → p-927c31dd.entry.js.map} +0 -0
  457. /package/dist/core/{p-3cb36bae.entry.js.map → p-9846fd13.entry.js.map} +0 -0
  458. /package/dist/core/{p-1200a32d.entry.js.map → p-994385ca.entry.js.map} +0 -0
  459. /package/dist/core/{p-d836fcde.entry.js.map → p-9f8d69a9.entry.js.map} +0 -0
  460. /package/dist/core/{p-e834ee73.entry.js.map → p-a6a9de9a.entry.js.map} +0 -0
  461. /package/dist/core/{p-ea44d447.entry.js.map → p-b62e49ee.entry.js.map} +0 -0
  462. /package/dist/core/{p-bcb45a18.entry.js.map → p-c0800e6d.entry.js.map} +0 -0
  463. /package/dist/core/{p-00d153bf.entry.js.map → p-d795a421.entry.js.map} +0 -0
  464. /package/dist/core/{p-0fdd8929.entry.js.map → p-d9b42773.entry.js.map} +0 -0
  465. /package/dist/core/{p-561718cd.entry.js.map → p-e0a199ff.entry.js.map} +0 -0
  466. /package/dist/core/{p-535316b4.entry.js.map → p-e215f3ee.entry.js.map} +0 -0
  467. /package/dist/core/{p-4b90fbc4.entry.js.map → p-ed02945f.entry.js.map} +0 -0
  468. /package/dist/core/{p-f4bcf817.entry.js.map → p-ee55932a.entry.js.map} +0 -0
  469. /package/dist/core/{p-f7a4da9d.entry.js.map → p-f2bb8c29.entry.js.map} +0 -0
  470. /package/dist/core/{p-72130a8f.entry.js.map → p-f54edd6c.entry.js.map} +0 -0
  471. /package/dist/core/{p-ed8fc183.entry.js.map → p-fcac8531.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"gov-form-checkbox-group.entry.js","mappings":";;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,ywEAAywE,CAAC;AAClyE,mCAAe,eAAe;;MCoBjB,oBAAoB;IAGhC;;;QAoCA,iBAAY,GAAG,CAAC,KAAqC;;YACpD,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,MAAM,KAAK,GAAG,iBAAiB,CAAW,IAAI,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;gBAAE,OAAO;YAClC,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE;gBACzB,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aAC3C;iBAAM;gBACN,IAAI,CAAC,KAAK,GAAG,MAAA,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAI,EAAE,CAAA;aACpE;YACD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,sBAAsB,CAAC,IAAI;aACtC,CAAC,CAAA;SACF,CAAA;mBAzC2C,SAAS;2BAIK,UAAU;qBAIG,SAAS;QAf/E,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,WAAW,CAAC,QAAgB;QAC3B,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAC3D;KACD;IAGD,mBAAmB,CAAC,QAAgB;QACnC,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SACjE;KACD;IAiBD,iBAAiB;QAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;QAC1C,IAAI,CAAC,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;KAC1C;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;KACpC;IAED,iBAAiB;QAChB,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO;YAC/D,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE;gBAC/C,OAAO,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;aACzD;YACD,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;YACjD,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACrD,CAAC,CAAA;KACF;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,IACjF,8DAAa,CACP,EACP;KACD;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-checkbox-group","../../../packages/core/src/components/gov-form/group/gov-form-checkbox-group.tsx"],"sourcesContent":["/* Form Control */\n\n\ngov-form-group, .gov-form-group,\ngov-form-radio-group, .gov-form-radio-group,\ngov-form-checkbox-group, .gov-form-checkbox-group {\n\t// VARIABLES\n\t@import \"./gov-form-group-variables\";\n\n\t@include reset-margin();\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// SIZES\n\t@each $size, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$size}\"] {\n\t\t\tgap: map-get($definitions, \"gap\");\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n\tFormCheckboxGroupClass,\n\tFormGroupClass,\n\tFormGroupOrientation,\n\tFormGroupOrientationType,\n\tFormGroupSizes,\n\tFormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormCheckboxEvent} from \"../checkbox/gov-form-checkbox.types\"\nimport {FormCheckboxGroupEvent} from \"./gov-form-group.types\"\nimport {tick} from \"../../../utils/stencil.utils\"\nimport {propsValueToArray} from \"../../../utils/array.utils\"\n\n@Component({\n\ttag: \"gov-form-checkbox-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormCheckboxGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\t/**\n\t * Elements orientation\n\t */\n\t@Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\t/**\n\t * Group's value\n\t */\n\t@Prop({attribute: \"value\", mutable: true}) value?: string | string[] = undefined\n\t/**\n /* Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxGroupEvent>\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\t@Watch(\"orientation\")\n\tvalidateOrientation(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\thandleChange = (event: CustomEvent<FormCheckboxEvent>) => {\n\t\tevent.stopPropagation()\n\t\tconst value = propsValueToArray<string[]>(this.value);\n\t\tif (!Array.isArray(value)) return;\n\t\tif (event.detail.checked) {\n\t\t\tthis.value = [...value, event.detail.value]\n\t\t} else {\n\t\t\tthis.value = value.filter((val) => val !== event.detail.value) ?? []\n\t\t}\n\t\tthis.govChange.emit({\n\t\t\tvalue: this.value,\n\t\t\tcomponent: FormCheckboxGroupClass.root,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t\tthis.validateOrientation(this.orientation)\n\t\tthis.value = propsValueToArray(this.value)\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.rerenderComponent())\n\t}\n\n\trerenderComponent(): void {\n\t\tthis.host.querySelectorAll('gov-form-checkbox').forEach((element) => {\n\t\t\tif (!element.hasAttribute('listener-attached')) {\n\t\t\t\telement.addEventListener('gov-change', this.handleChange)\n\t\t\t}\n\t\t\telement.setAttribute('listener-attached', 'true')\n\t\t\telement.checked = this.value.includes(element.value);\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)} value={this.value}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-form-checkbox-group.entry.js","mappings":";;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,itEAAitE,CAAC;AAC1uE,mCAAe,eAAe;;MCoBjB,oBAAoB;IAGhC;;;QAoCA,iBAAY,GAAG,CAAC,KAAqC;;YACpD,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,MAAM,KAAK,GAAG,iBAAiB,CAAW,IAAI,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;gBAAE,OAAO;YAClC,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE;gBACzB,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aAC3C;iBAAM;gBACN,IAAI,CAAC,KAAK,GAAG,MAAA,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAI,EAAE,CAAA;aACpE;YACD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,sBAAsB,CAAC,IAAI;aACtC,CAAC,CAAA;SACF,CAAA;mBAzC2C,SAAS;2BAIK,UAAU;qBAIG,SAAS;QAf/E,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,WAAW,CAAC,QAAgB;QAC3B,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAC3D;KACD;IAGD,mBAAmB,CAAC,QAAgB;QACnC,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SACjE;KACD;IAiBD,iBAAiB;QAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;QAC1C,IAAI,CAAC,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;KAC1C;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;KACpC;IAED,iBAAiB;QAChB,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO;YAC/D,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE;gBAC/C,OAAO,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;aACzD;YACD,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;YACjD,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACrD,CAAC,CAAA;KACF;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,IACjF,8DAAa,CACP,EACP;KACD;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-checkbox-group","../../../packages/core/src/components/gov-form/group/gov-form-checkbox-group.tsx"],"sourcesContent":["/* Form Control */\n\n\ngov-form-group, .gov-form-group,\ngov-form-radio-group, .gov-form-radio-group,\ngov-form-checkbox-group, .gov-form-checkbox-group {\n\t// VARIABLES\n\t@import \"./gov-form-group-variables\";\n\n\t@include reset-margin();\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// SIZES\n\t@each $size, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$size}\"] {\n\t\t\tgap: map-get($definitions, \"gap\");\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n\tFormCheckboxGroupClass,\n\tFormGroupClass,\n\tFormGroupOrientation,\n\tFormGroupOrientationType,\n\tFormGroupSizes,\n\tFormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormCheckboxEvent} from \"../checkbox/gov-form-checkbox.types\"\nimport {FormCheckboxGroupEvent} from \"./gov-form-group.types\"\nimport {tick} from \"../../../utils/stencil.utils\"\nimport {propsValueToArray} from \"../../../utils/array.utils\"\n\n@Component({\n\ttag: \"gov-form-checkbox-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormCheckboxGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\t/**\n\t * Elements orientation\n\t */\n\t@Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\t/**\n\t * Group's value\n\t */\n\t@Prop({attribute: \"value\", mutable: true}) value?: string | string[] = undefined\n\t/**\n /* Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxGroupEvent>\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\t@Watch(\"orientation\")\n\tvalidateOrientation(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\thandleChange = (event: CustomEvent<FormCheckboxEvent>) => {\n\t\tevent.stopPropagation()\n\t\tconst value = propsValueToArray<string[]>(this.value);\n\t\tif (!Array.isArray(value)) return;\n\t\tif (event.detail.checked) {\n\t\t\tthis.value = [...value, event.detail.value]\n\t\t} else {\n\t\t\tthis.value = value.filter((val) => val !== event.detail.value) ?? []\n\t\t}\n\t\tthis.govChange.emit({\n\t\t\tvalue: this.value,\n\t\t\tcomponent: FormCheckboxGroupClass.root,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t\tthis.validateOrientation(this.orientation)\n\t\tthis.value = propsValueToArray(this.value)\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.rerenderComponent())\n\t}\n\n\trerenderComponent(): void {\n\t\tthis.host.querySelectorAll('gov-form-checkbox').forEach((element) => {\n\t\t\tif (!element.hasAttribute('listener-attached')) {\n\t\t\t\telement.addEventListener('gov-change', this.handleChange)\n\t\t\t}\n\t\t\telement.setAttribute('listener-attached', 'true')\n\t\t\telement.checked = this.value.includes(element.value);\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)} value={this.value}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, F as FormCheckboxClass, a as FormCheckboxSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { g as govForm, b as FormControlClass } from './form-713f26fd.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { s as splitByWhitespace } from './string.utils-1da8f8fb.js';
@@ -54,7 +54,7 @@ const GovFormControl = class {
54
54
  }
55
55
  render() {
56
56
  const Tag = this.fieldset ? "fieldset" : "div";
57
- return (h(Host, { key: '5d1b7313e297a68d4349290d98190e7a0e3039b2', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: 'd4af40d1dcd012c374e0cd43a6d6777945b8e7d7', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: 'd46ee92af80770af49c075387f534b9d538a7e39', name: "top" }), h("slot", { key: 'ce46e5d88ca4a1069436d702b27ad0c5051e63b5' }), this.h.hasSlot("bottom") && (h("div", { key: 'b9da32bf3ad735b0c8bc187fb32528c710e3383c', class: FormControlClass.bottom }, h("slot", { key: '06f43763e2e0a88a2919e33d730898dd2048dcd0', name: "bottom" }))))));
57
+ return (h(Host, { key: 'ca3d81a16858cbe4b2c06580cb2e9523a77191be', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: '4b2bdfbc3c227b910660596d5815c70ef8fa22dd', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: '21e1b5d8e989e6e4ecf9795a2d9d3ccd6dc29543', name: "top" }), h("slot", { key: 'd2acefce44c05404f9d1ce224f7f259361423d82' }), this.h.hasSlot("bottom") && (h("div", { key: 'e5c095ee40f41623e9f6a871e29724be42a8be8f', class: FormControlClass.bottom }, h("slot", { key: '941873ca1268fca177d3ff92b10a205dea0faad3', name: "bottom" }))))));
58
58
  }
59
59
  get host() { return getElement(this); }
60
60
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { g as govForm } from './form-713f26fd.js';
@@ -179,7 +179,7 @@ const GovFormFile = class {
179
179
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
180
180
  }
181
181
  render() {
182
- return (h(Host, { key: '30047bbc26c5d51b5e24a6e8ce33690b31fe3b1d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'f99d4ee71f9126f9fc72acb6adf2ea964410d738', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: 'a280d44c9b649aa8ccdc48356a0173e183dbd3ee' }), h("input", Object.assign({ key: '2abf8d4c1f0d9086fbe63d86f71c9cdc3e0867c3', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
182
+ return (h(Host, { key: '92ee90aa5d8d28d310c0229ce513be88edafd68d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'ada51c64168a7cb4dcb4f123e7f74fe401b63c82', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: '77a4e7096f1949c8c284b0d6607ffd96567669ef' }), h("input", Object.assign({ key: '63382d1ccfc1254b9073923713677af25ed0fed3', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
183
183
  }
184
184
  onRemoveFileHandler(file) {
185
185
  const index = this.files.findIndex(item => item.id === file.id);
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-4da2b3c0.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -28,7 +28,7 @@ const GovFormGroup = class {
28
28
  this.validateOrientation(this.orientation);
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: 'a6b2a022f3c8573fb1bb7424d6a5ac2dc54b101b', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: 'e1b5f38d87e9f46f555e2fc3d247a9c3c10b5872' })));
31
+ return (h(Host, { key: 'b7a379997ac1f4080471c42c23cad6f0ed055fd7', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: 'a36809822e81913ec6c8cabdee9eaf64c9f9f471' })));
32
32
  }
33
33
  get host() { return getElement(this); }
34
34
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { g as govForm, l as FormInputClass, m as FormInputSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined, d as toOnOffAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -97,11 +97,11 @@ const GovFormInput = class {
97
97
  }
98
98
  render() {
99
99
  const Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT;
100
- return (h(Host, { key: '5210373fd88e2b80df5a4206c5b25b5695f2894b', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '9215c45132a4b9dc8fd0da79ef8d082dcce0789b', name: "prefix" }), h("span", { key: 'e58ab94aa7926dbd8488ce8323b6c8dbec9ce765', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
101
- h("div", { key: '8e67ba10cfb47232f6c0d817df292668c2a4a7e8', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: 'a186f1fbe47936219f6a6a26cb2d0c2b0dbe08f8', name: "icon-start" })), h(Tag, Object.assign({ key: '1090f6e6705365ffc83b5397ad669638d996f5bd', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
102
- h("div", { key: '49cb072b3448735677c47883d851557f107dd6cb', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
103
- h("gov-icon", { key: 'f00df3e88ba3a0d695bf9f33ddb51af7a8fb4a96', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
104
- h("gov-icon", { key: '523966e75d3f3d49eff396226673c3c96cf6de60', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: 'b707c094fe32bf5864c66e40a95a22f2b27d79b3', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: '945df71d1a6c3edd76769ae3310bdd33df694d2b', name: "sufix" })));
100
+ return (h(Host, { key: '8b60864f0792fe1946d4b7cb6489cff0ffc767e1', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '4d5d0bb755acbb42033f572633e4969c8e6e8b36', name: "prefix" }), h("span", { key: 'eaac4a690052077ca631ae1e9c69a65518a1902f', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
101
+ h("div", { key: 'e8be567c923c023bce7d0ebf0cccff592ac15c5a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: '4c76013e8a7db99b43e7b8f426f3907d89708b5a', name: "icon-start" })), h(Tag, Object.assign({ key: '22e1714e66085290e7fe984a4672512324143397', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
102
+ h("div", { key: '19ab7fe83fcecde7a506f21611fae64126464b88', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
103
+ h("gov-icon", { key: '9dd7b8413b351d957a63f7df09aee8b6e3e0ac53', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
104
+ h("gov-icon", { key: '06540c7f7cf3c0fbdab8b5a63aba35cf7a78df3a', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: '8cb1103f101fa9bd5719f1657ae1a404fc3882f4', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: '78308cfef71f34839d86af88df5dadb28c01adf1', name: "sufix" })));
105
105
  }
106
106
  onFocusHandler(e) {
107
107
  e.stopPropagation();
@@ -259,7 +259,7 @@ const GovSkeleton = class {
259
259
  return Object.assign({}, dimenssionsStyles);
260
260
  }
261
261
  render() {
262
- return (h(Host, Object.assign({ key: '9e026075a3ee04f09546bb686ec04309374da466', size: this.size, color: this.color, class: {
262
+ return (h(Host, Object.assign({ key: '175dad78f57ee2e44fe3097e0595f59254e1003b', size: this.size, color: this.color, class: {
263
263
  [SkeletonClass.root]: true,
264
264
  circle: this.shape === "circle",
265
265
  line: this.shape === "line",
@@ -0,0 +1,23 @@
1
+ import { r as registerInstance, d as createEvent, h, a as Host } from './index-087b155c.js';
2
+ import { F as FormLabelClass } from './constants-43f10674.js';
3
+ import './utils-e10e994d.js';
4
+ import './sizes-5b9e579f.js';
5
+
6
+ const GovFormLabel = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.govClick = createEvent(this, "gov-click", 7);
10
+ this.identifier = undefined;
11
+ this.size = 'm';
12
+ this.required = false;
13
+ this.legend = false;
14
+ }
15
+ render() {
16
+ const Tag = this.legend ? 'legend' : 'label';
17
+ return (h(Host, { key: '3f52c93a7721a458d430874b447421f7a5d30a41', class: FormLabelClass.root, size: this.size }, h(Tag, { key: 'c122a9bce9b9a98b0c8c336190b70bc4bf5389cf', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: 'de892d47334dbd3448a33d18586c77248b08b036' }), this.required ? h("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
18
+ }
19
+ };
20
+
21
+ export { GovFormLabel as gov_form_label };
22
+
23
+ //# sourceMappingURL=gov-form-label.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"gov-form-label.entry.js","mappings":";;;;;MAMa,YAAY;;;;;oBAQsB,GAAG;wBAIZ,KAAK;sBAKP,KAAK;;IAMxC,MAAM;QACL,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;QAC5C,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAChD,EAAC,GAAG,qDAAC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,IAC9F,8DAAa,EACZ,IAAI,CAAC,QAAQ,GAAG,YAAM,KAAK,EAAC,sBAAsB,cAAe,GAAG,IAAI,CACpE,CACA,EACP;KACD;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/label/gov-form-label.tsx"],"sourcesContent":["import { Component, Event, EventEmitter, h, Prop, Host } from '@stencil/core'\nimport { FormLabelClass, FormLabelSizesTypes } from './constants'\n\n@Component({\n\ttag: 'gov-form-label',\n})\nexport class GovFormLabel {\n\t/**\n\t * Identifier for label.\n\t */\n\t@Prop({ attribute: 'identifier' }) readonly identifier: string\n\t/**\n\t * Label's size.\n\t */\n\t@Prop() readonly size?: FormLabelSizesTypes = 'm'\n\t/**\n\t * Set whether the input is required or not.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Use label as a legend for better accessibility.\n\t * Note: Don't forget to set the fieldset attribute of the gov-form-control component\n\t */\n\t@Prop() readonly legend: boolean = false\n\t/**\n\t * Emitted when the label click.\n\t */\n\t@Event({ eventName: 'gov-click' }) govClick: EventEmitter<PointerEvent>\n\n\trender() {\n\t\tconst Tag = this.legend ? 'legend' : 'label'\n\t\treturn (\n\t\t\t<Host class={FormLabelClass.root} size={this.size}>\n\t\t\t\t<Tag class={FormLabelClass.label} htmlFor={this.identifier} onClick={() => this.govClick.emit()}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t\t{this.required ? <span class=\"gov-color--error-500\">&nbsp;*</span> : null}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { g as govForm, c as FormMultiSelectClass, d as FormMultiselectSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -178,11 +178,11 @@ const GovFormMultiSelect = class {
178
178
  });
179
179
  }
180
180
  render() {
181
- return (h(Host, { key: '11352c6950674badb00870e18c17a031c81235df', class: FormMultiSelectClass.root, size: this.size }, h("div", { key: 'edd74cbfbbf116700dfdcd7d33307c6416e2ad8c', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { key: '6aa65aa9875527890bfecb2a1e6c56b2eb9ce827', name: "prefix" }), h("gov-form-autocomplete", { key: '60c5065ccb09073c2e1ca17c329f980cda52761f', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && h("gov-icon", { key: '907aac2768a9bd5384326377fcad9e90795ff170', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '7294050c2910097d6a316b37fdc1f571f3450f8a', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: 'ac4474f517f8124831c22055e69d0eb45e6e2d4f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), h("select", Object.assign({ key: '9437199c079132409bdbf0f932605474b885781e', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '59f4071b90b40ed6291b9180b5caa29101b5e95a' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
181
+ return (h(Host, { key: 'e112f9d20d170e70616fd4f089b93dd040e737fa', class: FormMultiSelectClass.root, size: this.size }, h("div", { key: 'ffc5af48051e7d24559e0c77a595b48e287771f5', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { key: '3c22442cfbcb010f240a014ba7c9c48ec4522555', name: "prefix" }), h("gov-form-autocomplete", { key: 'c02857a7ea06c203aa94b317837ea2c7c921b505', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && h("gov-icon", { key: '2b06057b6343fce21d08731f5a6675ffccfa3f6e', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '6f33cb3764c0df058b0743ba617c950cf7909cdc', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '05be66ee199dee177d0b18a7a6a59e25a724571f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), h("select", Object.assign({ key: 'd50fe47c2c859561b8aba62e6d6dedd7bceed6ae', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: 'cf2ebfd8dc2cdf49c3581ba0ba3fff959a50a221' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
182
182
  var _a;
183
183
  const selectedOption = this.selectedValueIndex(option.value);
184
184
  return (h("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
185
- })), this.h.hasSlot('sufix') && h("slot", { key: '0620c4ab3b9d9d122456f91cc3dd5cefd85e8bba', name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
185
+ })), this.h.hasSlot('sufix') && h("slot", { key: 'dddc8a99daeb345be9d778ade22622ae9ed35769', name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
186
186
  var _a, _b;
187
187
  const option = this.getOption(selected);
188
188
  if (!option)
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host } from './index-087b155c.js';
2
2
 
3
3
  const FormPasswordPowerClass = {
4
4
  root: 'gov-form-password-power',
@@ -12,7 +12,7 @@ const GovFormPasswordPower = class {
12
12
  this.power = undefined;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '9125566cb99bfc49e2e61edb5af71b5b052d6790', class: FormPasswordPowerClass.root }, h("span", { key: 'b293292f3b8faca38bbbd6cb03fdd49d8601aab3', class: FormPasswordPowerClass.bar }, h("span", { key: '20995fbc87342a8e0db8031b0ff23a9cb01b4068' }), h("span", { key: '4fec375a3f27cc35025c165badbff731c8fb26ab' }), h("span", { key: '426f641b8b8e179e25e8a1006a0afd0394615058' })), h("span", { key: '7aeaf7222b484ad59084bb20fcbff4660cdcb1db', class: FormPasswordPowerClass.text }, h("slot", { key: '57c3415c9b2dfc688ec5762c33cdad473b8110bd' }))));
15
+ return (h(Host, { key: 'ca17606a7f29175d97da93daed3005a27b38d607', class: FormPasswordPowerClass.root }, h("span", { key: 'b2b80382c10034b88adb971db02c7e3f901453ee', class: FormPasswordPowerClass.bar }, h("span", { key: '0c0de35b5c257c175281792765d3fec89f5ee498' }), h("span", { key: '92847bc51174d38543a2e0f9a1a7c3ba37fec6f4' }), h("span", { key: '7cc7a9cbda4c54c4d1269874a1f8d2b91e533bad' })), h("span", { key: 'de62cf845c51d870e4fa1b1b6156348be8460d6b', class: FormPasswordPowerClass.text }, h("slot", { key: '8132df44d6ce3f83f89d1d45b34c182850663571' }))));
16
16
  }
17
17
  };
18
18
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { d as FormRadioGroupClass, a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-4da2b3c0.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -7,7 +7,7 @@ import './utils-e10e994d.js';
7
7
  import './sizes-5b9e579f.js';
8
8
  import './gov.log-6b64cda6.js';
9
9
 
10
- const govFormGroupCss = ":root{--roboto:Roboto, sans-serif}gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0 !important;margin-bottom:0 !important;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
10
+ const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
11
11
  const GovFormRadioGroupStyle0 = govFormGroupCss;
12
12
 
13
13
  const GovFormRadioGroup = class {
@@ -54,7 +54,7 @@ const GovFormRadioGroup = class {
54
54
  });
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: '5a9b1bd507ef9c0a57cdb25fb200ab6c9fb46604', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: '34b587d61d716b51729431c52879b6fcd0285fee' })));
57
+ return (h(Host, { key: '0526062e74e480edc22bdbbdf8c1f82a91ff463d', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: 'f11696b75d4f0c4bc72da3ca70d3111825edd36a' })));
58
58
  }
59
59
  get host() { return getElement(this); }
60
60
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"gov-form-radio-group.entry.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,ywEAAywE,CAAC;AAClyE,gCAAe,eAAe;;MCmBjB,iBAAiB;IAG7B;;;QAoCA,iBAAY,GAAG,CAAC,KAAkC;YACjD,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;YAC/B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,mBAAmB,CAAC,IAAI;aACnC,CAAC,CAAA;SACF,CAAA;mBAnC2C,SAAS;2BAIK,UAAU;qBAIR,SAAS;QAfpE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,WAAW,CAAC,QAAgB;QAC3B,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAC3D;KACD;IAGD,mBAAmB,CAAC,QAAgB;QACnC,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SACjE;KACD;IAWD,iBAAiB;QAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;KAC1C;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;KACpC;IAED,iBAAiB;QAChB,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO;YAC5D,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE;gBAC/C,OAAO,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;aACzD;YACD,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;YACjD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC;SAC/C,CAAC,CAAA;KACF;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,IACjF,8DAAa,CACP,EACP;KACD;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-radio-group","../../../packages/core/src/components/gov-form/group/gov-form-radio-group.tsx"],"sourcesContent":["/* Form Control */\n\n\ngov-form-group, .gov-form-group,\ngov-form-radio-group, .gov-form-radio-group,\ngov-form-checkbox-group, .gov-form-checkbox-group {\n\t// VARIABLES\n\t@import \"./gov-form-group-variables\";\n\n\t@include reset-margin();\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// SIZES\n\t@each $size, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$size}\"] {\n\t\t\tgap: map-get($definitions, \"gap\");\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n\tFormGroupClass,\n\tFormGroupOrientation,\n\tFormGroupOrientationType,\n\tFormGroupSizes,\n\tFormGroupSizesType,\n\tFormRadioGroupClass\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioEvent} from \"../radio/gov-form-radio.types\"\nimport {FormRadioGroupEvent} from \"./gov-form-group.types\"\nimport {tick} from \"../../../utils/stencil.utils\"\n\n@Component({\n\ttag: \"gov-form-radio-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormRadioGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\t/**\n\t * Elements orientation\n\t */\n\t@Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\t/**\n\t * Group's value\n\t */\n\t@Prop({attribute: \"value\", mutable: true}) value?: string = undefined\n\t/**\n\t * Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioGroupEvent>\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\t@Watch(\"orientation\")\n\tvalidateOrientation(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\thandleChange = (event: CustomEvent<FormRadioEvent>) => {\n\t\tevent.stopPropagation()\n\t\tthis.value = event.detail.value\n\t\tthis.govChange.emit({\n\t\t\tvalue: this.value,\n\t\t\tcomponent: FormRadioGroupClass.root,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t\tthis.validateOrientation(this.orientation)\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.rerenderComponent())\n\t}\n\n\trerenderComponent(): void {\n\t\tthis.host.querySelectorAll('gov-form-radio').forEach((element) => {\n\t\t\tif (!element.hasAttribute('listener-attached')) {\n\t\t\t\telement.addEventListener('gov-change', this.handleChange)\n\t\t\t}\n\t\t\telement.setAttribute('listener-attached', 'true')\n\t\t\telement.checked = element.value === this.value;\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)} value={this.value}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-form-radio-group.entry.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,itEAAitE,CAAC;AAC1uE,gCAAe,eAAe;;MCmBjB,iBAAiB;IAG7B;;;QAoCA,iBAAY,GAAG,CAAC,KAAkC;YACjD,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;YAC/B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,mBAAmB,CAAC,IAAI;aACnC,CAAC,CAAA;SACF,CAAA;mBAnC2C,SAAS;2BAIK,UAAU;qBAIR,SAAS;QAfpE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,WAAW,CAAC,QAAgB;QAC3B,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAC3D;KACD;IAGD,mBAAmB,CAAC,QAAgB;QACnC,IAAI,QAAQ,EAAE;YACb,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SACjE;KACD;IAWD,iBAAiB;QAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;KAC1C;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAA;KACpC;IAED,iBAAiB;QAChB,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO;YAC5D,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE;gBAC/C,OAAO,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;aACzD;YACD,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;YACjD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC;SAC/C,CAAC,CAAA;KACF;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,IACjF,8DAAa,CACP,EACP;KACD;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-radio-group","../../../packages/core/src/components/gov-form/group/gov-form-radio-group.tsx"],"sourcesContent":["/* Form Control */\n\n\ngov-form-group, .gov-form-group,\ngov-form-radio-group, .gov-form-radio-group,\ngov-form-checkbox-group, .gov-form-checkbox-group {\n\t// VARIABLES\n\t@import \"./gov-form-group-variables\";\n\n\t@include reset-margin();\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// SIZES\n\t@each $size, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$size}\"] {\n\t\t\tgap: map-get($definitions, \"gap\");\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n\tFormGroupClass,\n\tFormGroupOrientation,\n\tFormGroupOrientationType,\n\tFormGroupSizes,\n\tFormGroupSizesType,\n\tFormRadioGroupClass\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioEvent} from \"../radio/gov-form-radio.types\"\nimport {FormRadioGroupEvent} from \"./gov-form-group.types\"\nimport {tick} from \"../../../utils/stencil.utils\"\n\n@Component({\n\ttag: \"gov-form-radio-group\",\n\tstyleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormRadioGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovFormGroupElement\n\t/**\n\t * Gap's size.\n\t */\n\t@Prop() readonly gap?: FormGroupSizesType = undefined\n\t/**\n\t * Elements orientation\n\t */\n\t@Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\t/**\n\t * Group's value\n\t */\n\t@Prop({attribute: \"value\", mutable: true}) value?: string = undefined\n\t/**\n\t * Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioGroupEvent>\n\n\t@Watch(\"gap\")\n\tvalidateGap(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupSizes, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\t@Watch(\"orientation\")\n\tvalidateOrientation(newValue: string): void {\n\t\tif (newValue) {\n\t\t\tvalidateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n\t\t}\n\t}\n\n\thandleChange = (event: CustomEvent<FormRadioEvent>) => {\n\t\tevent.stopPropagation()\n\t\tthis.value = event.detail.value\n\t\tthis.govChange.emit({\n\t\t\tvalue: this.value,\n\t\t\tcomponent: FormRadioGroupClass.root,\n\t\t})\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateGap(this.gap)\n\t\tthis.validateOrientation(this.orientation)\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.rerenderComponent())\n\t}\n\n\trerenderComponent(): void {\n\t\tthis.host.querySelectorAll('gov-form-radio').forEach((element) => {\n\t\t\tif (!element.hasAttribute('listener-attached')) {\n\t\t\t\telement.addEventListener('gov-change', this.handleChange)\n\t\t\t}\n\t\t\telement.setAttribute('listener-attached', 'true')\n\t\t\telement.checked = element.value === this.value;\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host gap={this.gap} class={this.h.classes(FormGroupClass.root)} value={this.value}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, e as FormRadioClass, f as FormRadioSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { C as Colors } from './colors-4cf64720.js';
3
3
  import { p as pick } from './utils-e10e994d.js';
4
4
  import { S as Sizes } from './sizes-5b9e579f.js';
@@ -16,7 +16,7 @@ const GovFormSearch = class {
16
16
  this.color = 'neutral';
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '9d628d34bd6f19132ea398437faf9023a322bdcf', class: FormSearchClass.root, color: this.color, size: this.size }, h("slot", { key: 'aa70625f5e6b754a18b36ad87634fe5be1a34fb7', name: "input" }), h("slot", { key: 'd098e011406c85877131ee57c04bc9a3f05ded18', name: "button-erase" }), h("slot", { key: '6a5226ae29cf22f4ec33ecf5604db44d8154d2fa', name: "button" })));
19
+ return (h(Host, { key: '05f033c30dffd615b36b181535329704d46665ae', class: FormSearchClass.root, color: this.color, size: this.size }, h("slot", { key: '7c7fb4e2d90ace38aef4b63454e1f9513903977c', name: "input" }), h("slot", { key: '92484cbbbae29ba45bb963f80da8237d9406a91b', name: "button-erase" }), h("slot", { key: '92ebb818ee922d790534ffb7816be400ff4a1f98', name: "button" })));
20
20
  }
21
21
  get host() { return getElement(this); }
22
22
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { g as govForm, j as FormSelectClass, k as FormSelectSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -92,10 +92,10 @@ const GovFormSelect = class {
92
92
  });
93
93
  }
94
94
  render() {
95
- return (h(Host, { key: 'b403868aaf854a9dc40f68cf093a8867cd20c4c4', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && h("slot", { key: 'de3d0cb80bd3b33a9b23b60f91739f0e23fdab4a', name: "prefix" }), h("span", { key: 'c501806b949bc6e1314922fce0ce088180fdebba', class: "element" }, h("select", Object.assign({ key: '7c1a04a65e69edda672d70b101b430d3c6105543', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '0bd46e42f5e5267366088b9902a5ef8c6aa99064' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
95
+ return (h(Host, { key: '1c2fb05a5cff0e1b1208130cc11568423f5a78a0', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && h("slot", { key: '3dadb5773f1a2abe0c54f6ee45bb3a404fc99a5b', name: "prefix" }), h("span", { key: '82bc3345147debd858c5f0eb4dd9c58faf168d5d', class: "element" }, h("select", Object.assign({ key: 'ee77d1768a549faa0e94025eb5b08390c49d2d32', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '2c6e5a91381a7a9819b92aa7844a8d512aed9577' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
96
96
  var _a;
97
97
  return (h("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
98
- })), this.success && h("gov-icon", { key: '8e919bd8dd122618b2b0233c7b14c8def277540f', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '78610616be9cdf65e9bbc1359e27bc9003c8fc34', class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '56c1ca03e5b23154a93056bba8758553a5c93f30', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && h("slot", { key: 'f3e3f1416d15a34402d446e6a72d0607cc8d90fc', name: "sufix" })));
98
+ })), this.success && h("gov-icon", { key: 'b08abba818740a7250956bf03962fb86eade55c2', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '5b9c0a3e7f7b6b678880b2e17e43ae702fff023b', class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '8b9afa5ebf08b1dd680aac751f8a0559b83132fc', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && h("slot", { key: '9178ca16301992f32c30f3609a388a2251d3bf85', name: "sufix" })));
99
99
  }
100
100
  onFocusHandler(e) {
101
101
  this.focused = true;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, h as FormSwitchClass, i as FormSwitchSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { a as GridItemClass } from './constants-2d5a0e18.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -13,7 +13,7 @@ const GovGridItem = class {
13
13
  this.h = govHost(this.host);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'd830b7cb16e1ad4a07b5b5348c05434eb31a1f9e', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, h("slot", { key: '235bd47e47d94457cdbbf1d4530cf2e0bcddc4a3' })));
16
+ return (h(Host, { key: 'e1dc6e3517618361ab3b5e3ad499a5bbbaae3d6a', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, h("slot", { key: '53780db95fa728f252302cb86923ad9e9fcd9b66' })));
17
17
  }
18
18
  get host() { return getElement(this); }
19
19
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { G as GridClass } from './constants-2d5a0e18.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -11,7 +11,7 @@ const GovGrid = class {
11
11
  }
12
12
  // vertical / horizontal align
13
13
  render() {
14
- return (h(Host, { key: '81e96a065c6472ae76e4768cf2b8373b94f0d0a4', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, h("slot", { key: 'c3965bafe6a5870352a7cded3fc96adfbeb41724' })));
14
+ return (h(Host, { key: 'd2f4e42a186e0d8020abc96ef3ca0956e1492d05', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, h("slot", { key: '46c60ccdda81ce271aeaca46bead1bf33e22c041' })));
15
15
  }
16
16
  get host() { return getElement(this); }
17
17
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { g as govHost, c as toBoolAttr } from './template-7ecee4d1.js';
3
3
  import { F as Fragment } from './Fragment-8d8d54fb.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -57,8 +57,8 @@ const GovInfobar = class {
57
57
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
58
58
  }
59
59
  render() {
60
- const closeButton = (h("gov-button", { key: '4569d98296984f33ff83947f92a95a0a3bf0d3e3', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, h("gov-icon", { key: 'aafcdbde7ca0e13d9e733036da6cc6085143966d', name: "x-lg", type: "components" })));
61
- return (h(Host, { key: '9b558a0c786862d032ed6fb5d274fc0c3cdae617', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, h("section", Object.assign({ key: '9bded4750afdfef6ace0e5a39be2d6283b30d725', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), h("slot", { key: '011f9d52f9f971a560fd0220be40b5a221a5f4b3', name: "icon" }), h("div", { key: 'd613d4ab22f89da935fe60b866ea262802c5d18f', class: InfobarClass.content }, this.h.hasSlot('headline') ? (h(Fragment, null, h("div", { class: InfobarClass.headline }, h("slot", { name: "headline" }), h("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, h("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), h("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, h("slot", null)))) : (h("slot", null))), this.closable && closeButton)));
60
+ const closeButton = (h("gov-button", { key: '2d0597a56f6edb97e7feff654ba98885fa48033a', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, h("gov-icon", { key: 'c17ba542b02a4910a136eec6cb4556d1857dffb2', name: "x-lg", type: "components" })));
61
+ return (h(Host, { key: 'd71d1b8ffe158de90f3fb520bd996a8246988d3d', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, h("section", Object.assign({ key: '12cce82faa13fa39135fe92b0ab61bc2b01fa083', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), h("slot", { key: 'bc48d4e5dfad03cd9c54054225a4c3db0ec09cd9', name: "icon" }), h("div", { key: '70422e59cb69504d1aca5d45b9f9700b35b344f0', class: InfobarClass.content }, this.h.hasSlot('headline') ? (h(Fragment, null, h("div", { class: InfobarClass.headline }, h("slot", { name: "headline" }), h("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, h("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), h("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, h("slot", null)))) : (h("slot", null))), this.closable && closeButton)));
62
62
  }
63
63
  onCloseHandler(e) {
64
64
  this.govClose.emit({
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { a as LayoutColumnClass } from './constants-f0f531b6.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -8,7 +8,7 @@ const GovLayoutColumn = class {
8
8
  this.h = govHost(this.host);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '8566cc892984b1ce728c679107e228d8320f3048', class: this.h.classes(LayoutColumnClass.root) }, h("slot", { key: 'e3a085ef568fa75ef813b775344adbd6f4ef2773' })));
11
+ return (h(Host, { key: 'ebef4ca76b1308a566c862b5a49eecf1eb3fce99', class: this.h.classes(LayoutColumnClass.root) }, h("slot", { key: 'aaeefeb1a56b294d91b1327fd52eb16486cfb918' })));
12
12
  }
13
13
  get host() { return getElement(this); }
14
14
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { L as LayoutClass } from './constants-f0f531b6.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -17,7 +17,7 @@ const GovLayout = class {
17
17
  return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'ba8fc53df2f13fcf8b87f25f073d0284b68b0a3a', type: this.type, class: this.h.classes(LayoutClass.root) }, h("section", { key: 'f645a9b32495c4fc1c0c86a0078c78c4bc00a1e8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, h("slot", { key: '5b0d1a3a137a8fe3bb90ae5dff2dbc179575af56' }))));
20
+ return (h(Host, { key: 'c35fc39e07229363bdf36be5856165e7e8eb7985', type: this.type, class: this.h.classes(LayoutClass.root) }, h("section", { key: 'dc50cf9cba8bd4e879291fddfbd41955f2d10330', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, h("slot", { key: '017a329c119529d3893e187b6a8bbccfbbc76679' }))));
21
21
  }
22
22
  get host() { return getElement(this); }
23
23
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host } from './index-087b155c.js';
2
2
  import { a as chr4 } from './string.utils-1da8f8fb.js';
3
3
 
4
4
  const GovLifecycle = class {
@@ -34,7 +34,7 @@ const GovLifecycle = class {
34
34
  console.log('componentDidUpdate', this.uniqueId);
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '7bd4b9b30b6fe4e1732232fa4e70d66756c2139d', identifier: this.uniqueId }, h("span", { key: '70d6b8d178133ee89b795c4018687c7afb2576f0' }, "lifecycle ", this.uniqueId)));
37
+ return (h(Host, { key: '506eabaae01ae888fa838c10572e55bbe6fb7015', identifier: this.uniqueId }, h("span", { key: '7604a29214fdffb1a470d83d7db37a583e5072ed' }, "lifecycle ", this.uniqueId)));
38
38
  }
39
39
  };
40
40
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { p as pick } from './utils-e10e994d.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -34,7 +34,7 @@ const GovLink = class {
34
34
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '8723fc6fc0cf3faf4a0fb48b38ad2f0d0a21704b', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, h("a", Object.assign({ key: '1bfe7837dab38690789ec818f6134a50a93d1e4e', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), h("slot", { key: '96d6ce9e164a8fa5b6d5c115d52988bdfff3eceb', name: "icon-start" }), h("slot", { key: 'bcc373fec9e7e159c6b31a2ad846dd929d189d1e' }), this.external ? h("gov-icon", { name: "box-arrow-up-right", type: "components" }) : h("slot", { name: "icon-end" }))));
37
+ return (h(Host, { key: '233af48c179501fe03ee2e5931806e1955913b59', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, h("a", Object.assign({ key: '679067805205d76500979620b1ef4405139bb339', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), h("slot", { key: 'd24c4ab99451f317a453c8131bd0506606322553', name: "icon-start" }), h("slot", { key: '276923f48cdc13985115e8d4e8860a2fb0c692e2' }), this.external ? h("gov-icon", { name: "box-arrow-up-right", type: "components" }) : h("slot", { name: "icon-end" }))));
38
38
  }
39
39
  get host() { return getElement(this); }
40
40
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { p as pick } from './utils-e10e994d.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { g as govHost, p as prepareClasses } from './template-7ecee4d1.js';
@@ -25,7 +25,7 @@ const GovLoading = class {
25
25
  this.validateSize(this.size);
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '3f7cec1f98aa0c68f42eb3049ae8d34270e17258', class: this.h.classes(LoadingClass.root), size: this.size }, h("div", { key: '9ad1ca86b0221f2668f47eb72c080e9ecd05ed68', class: LoadingClass.content }, h("gov-icon", { key: '5d75c634386c8226c553b787355b29b0581601c5', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), h("slot", { key: '99ff7f6f1c8bd8135959ea36bc484eab6c9a4b6b' })), h("gov-backdrop", { key: 'dcaa2ab6dbcca347d5934df52e0f4989701c0259', inverse: true })));
28
+ return (h(Host, { key: '4c33339523674f2f2415dfb326131858de9eecf9', class: this.h.classes(LoadingClass.root), size: this.size }, h("div", { key: '8c25628dd3072fd89665ccfedb9596383181b13d', class: LoadingClass.content }, h("gov-icon", { key: 'a9969874350b5316c61a94b12d41a0130eeded0f', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), h("slot", { key: '14c716ecc352a0d947a6e3d932d2ab9075dedb97' })), h("gov-backdrop", { key: '507610e5a61b34be2166fb4a30539a134dc1b262', inverse: true })));
29
29
  }
30
30
  get host() { return getElement(this); }
31
31
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { C as Colors } from './colors-4cf64720.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -27,7 +27,7 @@ const GovMessage = class {
27
27
  validateProp(Colors, newValue, MessageClass.root);
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: 'e9250a61d94bf14a9d32eef5a69a9347df89a1e2', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (h("slot", { key: '00a69ab91656245790d88c02cbaa14d365f48140', name: "icon" })), h("div", { key: 'c95cb839c2f24f744aff2a9580c44c18102d1fc9', class: MessageClass.content }, h("slot", { key: '71d8d21cff90b5498940d99947d62fec1f400f1e' }))));
30
+ return (h(Host, { key: 'b9e06c8f94940edf9d2c60119c35ec32baa23fc9', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (h("slot", { key: 'd478f414de8eaa276cc867ae5bb325c1090b08ac', name: "icon" })), h("div", { key: 'd5a113ca4061b445c583fb1b4f22fff594570b1e', class: MessageClass.content }, h("slot", { key: 'e9be2f4ff3603c5f77d46e042455174e6ccfb7be' }))));
31
31
  }
32
32
  get host() { return getElement(this); }
33
33
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { F as Fragment } from './Fragment-8d8d54fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { S as Sizes } from './sizes-5b9e579f.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -36,7 +36,7 @@ const GovSpacer = class {
36
36
  this.validateBreakpoint(this.breakpoint);
37
37
  }
38
38
  render() {
39
- return h(Host, { key: '49415f0b2a4bfb25ececcd115bd1e8bfad250938', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
39
+ return h(Host, { key: '23aedb7f3b112a356319aba076eedf9a4743e25b', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
40
40
  }
41
41
  get host() { return getElement(this); }
42
42
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as StepperItemClass, c as StepperColors } from './constants-372455eb.js';
4
4
  import { c as createID } from './string.utils-1da8f8fb.js';
@@ -32,7 +32,7 @@ const GovStepperItem = class {
32
32
  render() {
33
33
  const triggerId = this.identifier || this.triggerId;
34
34
  const contentId = this.contentId;
35
- return (h(Host, { key: 'f722a022748d8fcb4ca0a27108a7e2e2980a1602', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (h("span", { key: 'eed745cace26ca1d31c6441dd7be76d3dfa6bd4c', class: StepperItemClass.prefix }, h("slot", { key: 'd5cab6411231cd082468bcc5c244ee75e0dba147', name: "prefix" }))), h("div", { key: 'c13c92aa7890f8406eb5870caa93d186801c0a75' }, h("span", { key: 'ad456eb4699a3d32dfa2d5d477bd346cb1814473', class: StepperItemClass.headline }, h("slot", { key: '0dfdb036dcc108943be0795269e7e0b5f8ac0a29', name: "headline" })), h("slot", { key: '24220b19c2f3c6af35407da423bb1900dc363db8', name: "annotation" }), this.h.hasSlot('content') && (h("div", { key: '2bdd3feeaeafdcf73534bfadb5ff29d90eb9e037', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, h("slot", { key: 'f2f70633c3c2adcc7bd407a23863e0a6fba5ec89', name: "content" }))))));
35
+ return (h(Host, { key: 'c24400b8ee5917005e6e3a21f47024c7ebad2960', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (h("span", { key: '010401daa60b44eed322de007fdd6e4ca035ff8d', class: StepperItemClass.prefix }, h("slot", { key: '27287e54365c7e72e01dd21f8d07f7144dc03f3c', name: "prefix" }))), h("div", { key: 'b50e23ee80b270bb5bb781c46e2cf2de73cad1bb' }, h("span", { key: '84500822ca2e529bff5e5cf4eb7ac7c9f0fc9d97', class: StepperItemClass.headline }, h("slot", { key: '18410e07be87715a96540789a82403bfab45e55c', name: "headline" })), h("slot", { key: 'dd2c20b9f07d2bcbf4223eca8de0d7592d178e86', name: "annotation" }), this.h.hasSlot('content') && (h("div", { key: 'cd34d17b5a14816dd91ee84f91a14217952bcfe5', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, h("slot", { key: 'c90f411f8d63c6381f55a0e6ac819369a9bfd2e5', name: "content" }))))));
36
36
  }
37
37
  get host() { return getElement(this); }
38
38
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as StepperItemClass, a as StepperClass, b as StepperSizes } from './constants-372455eb.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -34,7 +34,7 @@ const GovStepper = class {
34
34
  this.hydrated = true;
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '208bca5b06fce13b8f87f0cc4497860c01d2d56b', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: 'a0ec9b8b5e03062e4b9547cb9fbfc73fddaa0519' })));
37
+ return (h(Host, { key: '0815470dbe86e888ab922139e6f02347f89f4700', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: '2585c79a48236a8c2d333a437beb4d7f1d9d9d6c' })));
38
38
  }
39
39
  get host() { return getElement(this); }
40
40
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-c263e031.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { g as govHost, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { a as TabsClass, T as TabsItemClass } from './constants-9177ea52.js';
@@ -28,7 +28,7 @@ const GovTabsItem = class {
28
28
  }
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '7cf18cf8a10a4c03dd51922e31e18dac86aa217d', class: this.h.classes(TabsItemClass.root), default: this.default }, h("div", { key: '3a707d9494c5055c3763f4cdf840522fae5e7a2a', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, h("slot", { key: '289b661851fc6d68a5d6dd376a6e31b691e25aea' }))));
31
+ return (h(Host, { key: '89b01b0d025a89f89085dba24db6b8fadcd97e68', class: this.h.classes(TabsItemClass.root), default: this.default }, h("div", { key: '8868371d0da63c1727c8b3a55b930a4d0ce30a3c', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, h("slot", { key: '0d47bea8c416b1c57aac006f9eea9101ade9427d' }))));
32
32
  }
33
33
  /**
34
34
  * Returns a unique tab content identifier