@gov-design-system-ce/components 0.0.5 → 0.0.7

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 (1108) hide show
  1. package/dist/cjs/{constants-5c8f444a.js → constants-0c6c8e11.js} +8 -3
  2. package/dist/cjs/constants-0c6c8e11.js.map +1 -0
  3. package/dist/cjs/constants-1490a5eb.js +25 -0
  4. package/dist/cjs/constants-1490a5eb.js.map +1 -0
  5. package/dist/cjs/constants-20b3f7ee.js +28 -0
  6. package/dist/cjs/constants-20b3f7ee.js.map +1 -0
  7. package/dist/cjs/{constants-0c6897bc.js → constants-21559414.js} +8 -3
  8. package/dist/cjs/constants-21559414.js.map +1 -0
  9. package/dist/cjs/constants-23b7a283.js +33 -0
  10. package/dist/cjs/constants-23b7a283.js.map +1 -0
  11. package/dist/cjs/constants-245999e7.js +37 -0
  12. package/dist/cjs/constants-245999e7.js.map +1 -0
  13. package/dist/cjs/constants-61f8be34.js +26 -0
  14. package/dist/cjs/constants-61f8be34.js.map +1 -0
  15. package/dist/cjs/constants-86fb4eb4.js +19 -0
  16. package/dist/cjs/constants-86fb4eb4.js.map +1 -0
  17. package/dist/cjs/constants-caad94b4.js +16 -0
  18. package/dist/cjs/constants-caad94b4.js.map +1 -0
  19. package/dist/cjs/{constants-a44c32bc.js → constants-ded92f8a.js} +1 -3
  20. package/dist/cjs/constants-ded92f8a.js.map +1 -0
  21. package/dist/cjs/{constants-477ca85a.js → constants-e175be18.js} +7 -4
  22. package/dist/cjs/constants-e175be18.js.map +1 -0
  23. package/dist/cjs/constants-e8760a84.js +20 -0
  24. package/dist/cjs/constants-e8760a84.js.map +1 -0
  25. package/dist/cjs/core.cjs.js +1 -1
  26. package/dist/cjs/{form-d9f0f50c.js → form-49298257.js} +42 -10
  27. package/dist/cjs/form-49298257.js.map +1 -0
  28. package/dist/cjs/gov-accordion-item.cjs.entry.js +9 -9
  29. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-accordion.cjs.entry.js +12 -11
  31. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gov-alert.cjs.entry.js +7 -5
  33. package/dist/cjs/gov-alert.cjs.entry.js.map +1 -1
  34. package/dist/cjs/gov-app.cjs.entry.js +823 -204
  35. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gov-attachments_3.cjs.entry.js +10 -10
  37. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  38. package/dist/cjs/gov-backdrop.cjs.entry.js +7 -6
  39. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  40. package/dist/cjs/gov-badge.cjs.entry.js +24 -23
  41. package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +4 -5
  43. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  44. package/dist/cjs/gov-button.cjs.entry.js +13 -24
  45. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gov-card.cjs.entry.js +4 -4
  47. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  48. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  49. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  50. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  51. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  52. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +8 -8
  53. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-form-checkbox.cjs.entry.js +13 -22
  55. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  56. package/dist/cjs/gov-form-control.cjs.entry.js +30 -29
  57. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  58. package/dist/cjs/gov-form-file.cjs.entry.js +9 -9
  59. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-form-input.cjs.entry.js +15 -21
  61. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  62. package/dist/cjs/gov-form-multi-select.cjs.entry.js +13 -13
  63. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  64. package/dist/cjs/gov-form-password-power.cjs.entry.js +28 -0
  65. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -0
  66. package/dist/cjs/gov-form-radio.cjs.entry.js +12 -12
  67. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  68. package/dist/cjs/gov-form-search.cjs.entry.js +0 -2
  69. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  70. package/dist/cjs/gov-form-select.cjs.entry.js +16 -16
  71. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  72. package/dist/cjs/gov-form-switch.cjs.entry.js +12 -12
  73. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  74. package/dist/cjs/gov-grid-item.cjs.entry.js +2 -3
  75. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/gov-grid.cjs.entry.js +1 -2
  77. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  78. package/dist/cjs/gov-icon.cjs.entry.js +10 -5
  79. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  80. package/dist/cjs/gov-layout-column.cjs.entry.js +25 -0
  81. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -0
  82. package/dist/cjs/gov-layout.cjs.entry.js +12 -3
  83. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  84. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  85. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  86. package/dist/cjs/gov-message.cjs.entry.js +4 -2
  87. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  88. package/dist/cjs/gov-modal.cjs.entry.js +22 -16
  89. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
  90. package/dist/cjs/gov-nav.cjs.entry.js +3 -3
  91. package/dist/cjs/gov-pagination.cjs.entry.js +59 -19
  92. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  93. package/dist/cjs/gov-prompt.cjs.entry.js +15 -9
  94. package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
  95. package/dist/cjs/gov-side-nav-item.cjs.entry.js +1 -1
  96. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -1
  97. package/dist/cjs/gov-side-nav.cjs.entry.js +3 -3
  98. package/dist/cjs/gov-side-nav.cjs.entry.js.map +1 -1
  99. package/dist/cjs/gov-spacer.cjs.entry.js +12 -14
  100. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  101. package/dist/cjs/gov-statsbar-item.cjs.entry.js +4 -2
  102. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +1 -1
  103. package/dist/cjs/gov-statsbar.cjs.entry.js +8 -7
  104. package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
  105. package/dist/cjs/gov-stepper-item.cjs.entry.js +9 -9
  106. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  107. package/dist/cjs/gov-stepper.cjs.entry.js +9 -8
  108. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  109. package/dist/cjs/gov-tabs-item.cjs.entry.js +3 -3
  110. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  111. package/dist/cjs/gov-tabs.cjs.entry.js +12 -12
  112. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  113. package/dist/cjs/gov-tile.cjs.entry.js +2 -2
  114. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  115. package/dist/cjs/gov-tiles.cjs.entry.js +3 -2
  116. package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
  117. package/dist/cjs/gov-toast.cjs.entry.js +21 -18
  118. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  119. package/dist/cjs/gov-tooltip-content.cjs.entry.js +3 -2
  120. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  121. package/dist/cjs/gov-tooltip.cjs.entry.js +15 -14
  122. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  123. package/dist/cjs/gov-wizzard-item.cjs.entry.js +10 -11
  124. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +1 -1
  125. package/dist/cjs/gov-wizzard.cjs.entry.js +9 -9
  126. package/dist/cjs/gov-wizzard.cjs.entry.js.map +1 -1
  127. package/dist/cjs/index-356717ae.js +6 -6
  128. package/dist/cjs/loader.cjs.js +1 -1
  129. package/dist/cjs/{props-cc21d3d7.js → props-5f82e4c0.js} +4 -4
  130. package/dist/cjs/props-5f82e4c0.js.map +1 -0
  131. package/dist/cjs/template-e1c4ff78.js.map +1 -1
  132. package/dist/cjs/{utils-4ae73637.js → utils-c9b1bba3.js} +3 -1
  133. package/dist/cjs/utils-c9b1bba3.js.map +1 -0
  134. package/dist/cjs/{variants-bacf037a.js → variants-f5ffeef3.js} +3 -3
  135. package/dist/cjs/variants-f5ffeef3.js.map +1 -0
  136. package/dist/cjs/{wcag-eca97102.js → wcag-6efc0ab7.js} +2 -2
  137. package/dist/cjs/wcag-6efc0ab7.js.map +1 -0
  138. package/dist/cjs/{win-ac5c1806.js → win-84bda0aa.js} +3 -3
  139. package/dist/cjs/win-84bda0aa.js.map +1 -0
  140. package/dist/collection/collection-manifest.json +2 -2
  141. package/dist/collection/components/gov-accordion/constants.js +5 -4
  142. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  143. package/dist/collection/components/gov-accordion/gov-accordion-item.css +37 -5
  144. package/dist/collection/components/gov-accordion/gov-accordion-item.js +17 -20
  145. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  146. package/dist/collection/components/gov-accordion/gov-accordion.css +6 -0
  147. package/dist/collection/components/gov-accordion/gov-accordion.js +36 -18
  148. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  149. package/dist/collection/components/gov-alert/constants.js +3 -9
  150. package/dist/collection/components/gov-alert/constants.js.map +1 -1
  151. package/dist/collection/components/gov-alert/gov-alert.css +3 -0
  152. package/dist/collection/components/gov-alert/gov-alert.js +7 -8
  153. package/dist/collection/components/gov-alert/gov-alert.js.map +1 -1
  154. package/dist/collection/components/gov-app/gov-app.css +3 -0
  155. package/dist/collection/components/gov-app/gov-app.js +3 -3
  156. package/dist/collection/components/gov-app/gov-app.js.map +1 -1
  157. package/dist/collection/components/gov-attachments/gov-attachments-item.css +3 -0
  158. package/dist/collection/components/gov-attachments/gov-attachments-item.js +6 -6
  159. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  160. package/dist/collection/components/gov-attachments/gov-attachments.css +3 -0
  161. package/dist/collection/components/gov-attachments/gov-attachments.js +7 -7
  162. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  163. package/dist/collection/components/gov-backdrop/gov-backdrop.css +3 -0
  164. package/dist/collection/components/gov-backdrop/gov-backdrop.js +10 -9
  165. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  166. package/dist/collection/components/gov-badge/constants.js +3 -1
  167. package/dist/collection/components/gov-badge/constants.js.map +1 -1
  168. package/dist/collection/components/gov-badge/gov-badge.css +204 -96
  169. package/dist/collection/components/gov-badge/gov-badge.js +39 -62
  170. package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
  171. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +3 -0
  172. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -1
  173. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +2 -3
  174. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  175. package/dist/collection/components/gov-button/constants.js +18 -13
  176. package/dist/collection/components/gov-button/constants.js.map +1 -1
  177. package/dist/collection/components/gov-button/gov-button.css +210 -131
  178. package/dist/collection/components/gov-button/gov-button.js +40 -47
  179. package/dist/collection/components/gov-button/gov-button.js.map +1 -1
  180. package/dist/collection/components/gov-card/gov-card.css +3 -0
  181. package/dist/collection/components/gov-card/gov-card.js +1 -1
  182. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  183. package/dist/collection/components/gov-container/gov-container.css +3 -0
  184. package/dist/collection/components/gov-container/gov-container.js +3 -3
  185. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  186. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +3 -0
  187. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  188. package/dist/collection/components/gov-empty/gov-empty.css +3 -0
  189. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  190. package/dist/collection/components/gov-error-code/gov-error-code.css +3 -0
  191. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  192. package/dist/collection/components/gov-form/autocomplete/constants.js +5 -4
  193. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  194. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +3 -0
  195. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +16 -18
  196. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  197. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +2 -0
  198. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -0
  199. package/dist/collection/components/gov-form/checkbox/constants.js +3 -2
  200. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  201. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +3 -0
  202. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +11 -21
  203. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  204. package/dist/collection/components/gov-form/checkbox/interfaces.js.map +1 -1
  205. package/dist/collection/components/gov-form/control/constants.js +3 -2
  206. package/dist/collection/components/gov-form/control/constants.js.map +1 -1
  207. package/dist/collection/components/gov-form/control/gov-form-control.css +3 -0
  208. package/dist/collection/components/gov-form/control/gov-form-control.js +40 -42
  209. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  210. package/dist/collection/components/gov-form/file/gov-form-file.css +3 -0
  211. package/dist/collection/components/gov-form/file/gov-form-file.js +4 -4
  212. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  213. package/dist/collection/components/gov-form/file/gov-form-file.types.js +2 -0
  214. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -0
  215. package/dist/collection/components/gov-form/group/gov-form-group.css +3 -0
  216. package/dist/collection/components/gov-form/input/constants.js +25 -21
  217. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  218. package/dist/collection/components/gov-form/input/gov-form-input.css +6 -3
  219. package/dist/collection/components/gov-form/input/gov-form-input.js +25 -33
  220. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  221. package/dist/collection/components/gov-form/label/gov-form-label.css +3 -0
  222. package/dist/collection/components/gov-form/message/constants.js +3 -2
  223. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  224. package/dist/collection/components/gov-form/message/gov-form-message.css +3 -0
  225. package/dist/collection/components/gov-form/message/gov-form-message.js +8 -9
  226. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  227. package/dist/collection/components/gov-form/multiselect/constants.js +5 -4
  228. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  229. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +3 -3
  230. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +18 -20
  231. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  232. package/dist/collection/components/gov-form/password-power/constants.js +6 -0
  233. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -0
  234. package/dist/collection/components/{gov-layout/gov-layout-content.css → gov-form/password-power/gov-form-password-power.css} +46 -27
  235. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +43 -0
  236. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -0
  237. package/dist/collection/components/gov-form/radio/constants.js +3 -2
  238. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  239. package/dist/collection/components/gov-form/radio/gov-form-radio.css +3 -0
  240. package/dist/collection/components/gov-form/radio/gov-form-radio.js +10 -11
  241. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  242. package/dist/collection/components/gov-form/radio/interfaces.js.map +1 -1
  243. package/dist/collection/components/gov-form/search/constants.js +0 -11
  244. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  245. package/dist/collection/components/gov-form/search/gov-form-search.css +3 -0
  246. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  247. package/dist/collection/components/gov-form/select/constants.js +5 -4
  248. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  249. package/dist/collection/components/gov-form/select/gov-form-select.css +3 -3
  250. package/dist/collection/components/gov-form/select/gov-form-select.js +18 -20
  251. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  252. package/dist/collection/components/gov-form/switch/constants.js +3 -2
  253. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  254. package/dist/collection/components/gov-form/switch/gov-form-switch.css +3 -0
  255. package/dist/collection/components/gov-form/switch/gov-form-switch.js +10 -11
  256. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  257. package/dist/collection/components/gov-form/switch/interfaces.js.map +1 -1
  258. package/dist/collection/components/gov-grid/constants.js +0 -12
  259. package/dist/collection/components/gov-grid/constants.js.map +1 -1
  260. package/dist/collection/components/gov-grid/gov-grid-item.css +3 -0
  261. package/dist/collection/components/gov-grid/gov-grid-item.js +5 -5
  262. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  263. package/dist/collection/components/gov-grid/gov-grid.css +3 -0
  264. package/dist/collection/components/gov-grid/gov-grid.js +3 -3
  265. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  266. package/dist/collection/components/gov-icon/constants.js +6 -1
  267. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  268. package/dist/collection/components/gov-icon/gov-icon.css +3 -0
  269. package/dist/collection/components/gov-icon/gov-icon.js +1 -1
  270. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  271. package/dist/collection/components/gov-icon/list.js +234 -91
  272. package/dist/collection/components/gov-icon/list.js.map +1 -1
  273. package/dist/collection/components/gov-layout/constants.js +13 -7
  274. package/dist/collection/components/gov-layout/constants.js.map +1 -1
  275. package/dist/collection/components/gov-layout/{gov-layout-aside.css → gov-layout-column.css} +7 -13
  276. package/dist/collection/components/gov-layout/gov-layout-column.js +24 -0
  277. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -0
  278. package/dist/collection/components/gov-layout/gov-layout.css +38 -0
  279. package/dist/collection/components/gov-layout/gov-layout.js +80 -4
  280. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  281. package/dist/collection/components/gov-loading/gov-loading.css +3 -0
  282. package/dist/collection/components/gov-loading/gov-loading.js +4 -4
  283. package/dist/collection/components/gov-loading/gov-loading.js.map +1 -1
  284. package/dist/collection/components/gov-message/constants.js +3 -9
  285. package/dist/collection/components/gov-message/constants.js.map +1 -1
  286. package/dist/collection/components/gov-message/gov-message.css +3 -0
  287. package/dist/collection/components/gov-message/gov-message.js +4 -4
  288. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  289. package/dist/collection/components/gov-modal/gov-modal.css +6 -3
  290. package/dist/collection/components/gov-modal/gov-modal.js +35 -22
  291. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
  292. package/dist/collection/components/gov-nav/gov-nav-item.css +3 -0
  293. package/dist/collection/components/gov-nav/gov-nav.css +3 -0
  294. package/dist/collection/components/gov-pagination/constants.js +10 -5
  295. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  296. package/dist/collection/components/gov-pagination/gov-pagination.css +87 -42
  297. package/dist/collection/components/gov-pagination/gov-pagination.js +63 -31
  298. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  299. package/dist/collection/components/gov-promp/gov-prompt.css +6 -3
  300. package/dist/collection/components/gov-promp/gov-prompt.js +19 -6
  301. package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
  302. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +3 -0
  303. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +1 -1
  304. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
  305. package/dist/collection/components/gov-side-nav/gov-side-nav.css +3 -0
  306. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -1
  307. package/dist/collection/components/gov-spacer/constants.js +10 -4
  308. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  309. package/dist/collection/components/gov-spacer/gov-spacer.css +3 -0
  310. package/dist/collection/components/gov-spacer/gov-spacer.js +10 -11
  311. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  312. package/dist/collection/components/gov-statsbar/constants.js +7 -2
  313. package/dist/collection/components/gov-statsbar/constants.js.map +1 -1
  314. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +3 -0
  315. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +2 -2
  316. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -1
  317. package/dist/collection/components/gov-statsbar/gov-statsbar.css +3 -0
  318. package/dist/collection/components/gov-statsbar/gov-statsbar.js +14 -16
  319. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
  320. package/dist/collection/components/gov-stepper/constants.js +5 -11
  321. package/dist/collection/components/gov-stepper/constants.js.map +1 -1
  322. package/dist/collection/components/gov-stepper/gov-stepper-item.css +3 -0
  323. package/dist/collection/components/gov-stepper/gov-stepper-item.js +17 -20
  324. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
  325. package/dist/collection/components/gov-stepper/gov-stepper.css +3 -0
  326. package/dist/collection/components/gov-stepper/gov-stepper.js +14 -15
  327. package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
  328. package/dist/collection/components/gov-tabs/constants.js +13 -12
  329. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  330. package/dist/collection/components/gov-tabs/gov-tabs-item.css +3 -0
  331. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  332. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  333. package/dist/collection/components/gov-tabs/gov-tabs.css +31 -1
  334. package/dist/collection/components/gov-tabs/gov-tabs.js +39 -16
  335. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  336. package/dist/collection/components/gov-tabs/gov-tabs.types.js +2 -0
  337. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -0
  338. package/dist/collection/components/gov-tile/gov-tile.css +4 -1
  339. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  340. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  341. package/dist/collection/components/gov-tiles/gov-tiles.css +6 -0
  342. package/dist/collection/components/gov-tiles/gov-tiles.js +24 -5
  343. package/dist/collection/components/gov-tiles/gov-tiles.js.map +1 -1
  344. package/dist/collection/components/gov-toast/constants.js +10 -20
  345. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  346. package/dist/collection/components/gov-toast/gov-toast.css +3 -0
  347. package/dist/collection/components/gov-toast/gov-toast.js +34 -30
  348. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  349. package/dist/collection/components/gov-tooltip/constants.js +12 -12
  350. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  351. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +3 -0
  352. package/dist/collection/components/gov-tooltip/gov-tooltip.css +3 -0
  353. package/dist/collection/components/gov-tooltip/gov-tooltip.js +27 -29
  354. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  355. package/dist/collection/components/gov-wizzard/constants.js +5 -4
  356. package/dist/collection/components/gov-wizzard/constants.js.map +1 -1
  357. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +11 -17
  358. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +16 -20
  359. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +1 -1
  360. package/dist/collection/components/gov-wizzard/gov-wizzard.css +3 -0
  361. package/dist/collection/components/gov-wizzard/gov-wizzard.js +9 -10
  362. package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +1 -1
  363. package/dist/collection/core/constants/tags.js.map +1 -1
  364. package/dist/collection/helpers/Dom/form.js.map +1 -1
  365. package/dist/collection/helpers/Dom/form.types.js +2 -0
  366. package/dist/collection/helpers/Dom/form.types.js.map +1 -0
  367. package/dist/collection/helpers/Dom/template.js.map +1 -1
  368. package/dist/collection/helpers/Dom/template.types.js +2 -0
  369. package/dist/collection/helpers/Dom/template.types.js.map +1 -0
  370. package/dist/collection/helpers/Dom/win.js +2 -2
  371. package/dist/collection/helpers/Dom/win.js.map +1 -1
  372. package/dist/collection/helpers/Fragment.js.map +1 -1
  373. package/dist/collection/helpers/StorybookDocsTemplate.js +2 -2
  374. package/dist/collection/helpers/StorybookDocsTemplate.js.map +1 -1
  375. package/dist/collection/helpers/Validate/props.js +3 -3
  376. package/dist/collection/helpers/Validate/props.js.map +1 -1
  377. package/dist/collection/helpers/Validate/wcag.js +1 -1
  378. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  379. package/dist/collection/pages/Accordion.js +97 -2
  380. package/dist/collection/pages/Accordion.js.map +1 -1
  381. package/dist/collection/pages/Badge.js +27 -0
  382. package/dist/collection/pages/Badge.js.map +1 -1
  383. package/dist/collection/pages/Button.js +440 -120
  384. package/dist/collection/pages/Button.js.map +1 -1
  385. package/dist/collection/pages/Error.js +1 -1
  386. package/dist/collection/pages/Error.js.map +1 -1
  387. package/dist/collection/pages/Forms.js +32 -24
  388. package/dist/collection/pages/Forms.js.map +1 -1
  389. package/dist/collection/pages/Layout.js +65 -35
  390. package/dist/collection/pages/Layout.js.map +1 -1
  391. package/dist/collection/pages/Loading.js +3 -3
  392. package/dist/collection/pages/Loading.js.map +1 -1
  393. package/dist/collection/pages/Pagination.js +12 -2
  394. package/dist/collection/pages/Pagination.js.map +1 -1
  395. package/dist/collection/pages/Stepper.js +6 -6
  396. package/dist/collection/pages/Stepper.js.map +1 -1
  397. package/dist/collection/pages/Tabs.js +90 -0
  398. package/dist/collection/pages/Tabs.js.map +1 -1
  399. package/dist/collection/pages/Tiles.js +39 -0
  400. package/dist/collection/pages/Tiles.js.map +1 -1
  401. package/dist/collection/pages/ToastMessage.js +1 -1
  402. package/dist/collection/pages/ToastMessage.js.map +1 -1
  403. package/dist/collection/pages/ToastMessageCountdown.js +1 -1
  404. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
  405. package/dist/collection/pages/Wizzard.js +8 -8
  406. package/dist/collection/pages/Wizzard.js.map +1 -1
  407. package/dist/collection/types/interfaces.js.map +1 -1
  408. package/dist/collection/utils/array.utils.js +2 -0
  409. package/dist/collection/utils/array.utils.js.map +1 -0
  410. package/dist/collection/utils/icon.utils.js +3 -4
  411. package/dist/collection/utils/icon.utils.js.map +1 -1
  412. package/dist/collection/utils/utils.js +1 -0
  413. package/dist/collection/utils/utils.js.map +1 -1
  414. package/dist/components/constants.js +6 -4
  415. package/dist/components/constants.js.map +1 -1
  416. package/dist/components/constants11.js +9 -3
  417. package/dist/components/constants11.js.map +1 -1
  418. package/dist/components/constants12.js +6 -3
  419. package/dist/components/constants12.js.map +1 -1
  420. package/dist/components/constants13.js +14 -4
  421. package/dist/components/constants13.js.map +1 -1
  422. package/dist/components/constants14.js +11 -11
  423. package/dist/components/constants14.js.map +1 -1
  424. package/dist/components/constants15.js +6 -3
  425. package/dist/components/constants15.js.map +1 -1
  426. package/dist/components/constants3.js +19 -13
  427. package/dist/components/constants3.js.map +1 -1
  428. package/dist/components/constants5.js +4 -3
  429. package/dist/components/constants5.js.map +1 -1
  430. package/dist/components/constants6.js +0 -2
  431. package/dist/components/constants6.js.map +1 -1
  432. package/dist/components/constants7.js +14 -8
  433. package/dist/components/constants7.js.map +1 -1
  434. package/dist/components/form.js +36 -8
  435. package/dist/components/form.js.map +1 -1
  436. package/dist/components/gov-accordion-item.js +9 -10
  437. package/dist/components/gov-accordion-item.js.map +1 -1
  438. package/dist/components/gov-accordion.js +12 -9
  439. package/dist/components/gov-accordion.js.map +1 -1
  440. package/dist/components/gov-alert.js +7 -4
  441. package/dist/components/gov-alert.js.map +1 -1
  442. package/dist/components/gov-app.js +824 -204
  443. package/dist/components/gov-app.js.map +1 -1
  444. package/dist/components/gov-attachments-item2.js +4 -2
  445. package/dist/components/gov-attachments-item2.js.map +1 -1
  446. package/dist/components/gov-attachments2.js +4 -2
  447. package/dist/components/gov-attachments2.js.map +1 -1
  448. package/dist/components/gov-backdrop2.js +8 -5
  449. package/dist/components/gov-backdrop2.js.map +1 -1
  450. package/dist/components/gov-badge2.js +24 -26
  451. package/dist/components/gov-badge2.js.map +1 -1
  452. package/dist/components/gov-breadcrumbs.js +4 -3
  453. package/dist/components/gov-breadcrumbs.js.map +1 -1
  454. package/dist/components/gov-button2.js +16 -25
  455. package/dist/components/gov-button2.js.map +1 -1
  456. package/dist/components/gov-card.js +4 -2
  457. package/dist/components/gov-card.js.map +1 -1
  458. package/dist/components/gov-container.js +1 -0
  459. package/dist/components/gov-container.js.map +1 -1
  460. package/dist/components/gov-cookiebar.js +1 -0
  461. package/dist/components/gov-cookiebar.js.map +1 -1
  462. package/dist/components/gov-empty.js +1 -0
  463. package/dist/components/gov-empty.js.map +1 -1
  464. package/dist/components/gov-error-code.js +1 -0
  465. package/dist/components/gov-error-code.js.map +1 -1
  466. package/dist/components/gov-form-autocomplete2.js +8 -8
  467. package/dist/components/gov-form-autocomplete2.js.map +1 -1
  468. package/dist/components/gov-form-checkbox.js +8 -16
  469. package/dist/components/gov-form-checkbox.js.map +1 -1
  470. package/dist/components/gov-form-control.js +27 -27
  471. package/dist/components/gov-form-control.js.map +1 -1
  472. package/dist/components/gov-form-file.js +4 -2
  473. package/dist/components/gov-form-file.js.map +1 -1
  474. package/dist/components/gov-form-group.js +1 -0
  475. package/dist/components/gov-form-group.js.map +1 -1
  476. package/dist/components/gov-form-input2.js +13 -18
  477. package/dist/components/gov-form-input2.js.map +1 -1
  478. package/dist/components/gov-form-label.js +1 -0
  479. package/dist/components/gov-form-label.js.map +1 -1
  480. package/dist/components/gov-form-message2.js +5 -5
  481. package/dist/components/gov-form-message2.js.map +1 -1
  482. package/dist/components/gov-form-multi-select.js +12 -11
  483. package/dist/components/gov-form-multi-select.js.map +1 -1
  484. package/dist/components/gov-form-password-power.d.ts +11 -0
  485. package/dist/components/gov-form-password-power.js +44 -0
  486. package/dist/components/gov-form-password-power.js.map +1 -0
  487. package/dist/components/gov-form-radio.js +7 -6
  488. package/dist/components/gov-form-radio.js.map +1 -1
  489. package/dist/components/gov-form-search.js +1 -2
  490. package/dist/components/gov-form-search.js.map +1 -1
  491. package/dist/components/gov-form-select2.js +12 -11
  492. package/dist/components/gov-form-select2.js.map +1 -1
  493. package/dist/components/gov-form-switch.js +7 -6
  494. package/dist/components/gov-form-switch.js.map +1 -1
  495. package/dist/components/gov-grid-item.js +2 -1
  496. package/dist/components/gov-grid-item.js.map +1 -1
  497. package/dist/components/gov-grid.js +1 -0
  498. package/dist/components/gov-grid.js.map +1 -1
  499. package/dist/components/gov-icon2.js +9 -3
  500. package/dist/components/gov-icon2.js.map +1 -1
  501. package/dist/components/{gov-layout-aside.d.ts → gov-layout-column.d.ts} +4 -4
  502. package/dist/components/gov-layout-column.js +39 -0
  503. package/dist/components/gov-layout-column.js.map +1 -0
  504. package/dist/components/gov-layout.js +17 -3
  505. package/dist/components/gov-layout.js.map +1 -1
  506. package/dist/components/gov-loading.js +2 -1
  507. package/dist/components/gov-loading.js.map +1 -1
  508. package/dist/components/gov-message.js +4 -1
  509. package/dist/components/gov-message.js.map +1 -1
  510. package/dist/components/gov-modal.js +23 -14
  511. package/dist/components/gov-modal.js.map +1 -1
  512. package/dist/components/gov-nav-item.js +1 -0
  513. package/dist/components/gov-nav-item.js.map +1 -1
  514. package/dist/components/gov-nav.js +3 -1
  515. package/dist/components/gov-nav.js.map +1 -1
  516. package/dist/components/gov-pagination.js +61 -19
  517. package/dist/components/gov-pagination.js.map +1 -1
  518. package/dist/components/gov-prompt.js +16 -7
  519. package/dist/components/gov-prompt.js.map +1 -1
  520. package/dist/components/gov-side-nav-item.js +2 -1
  521. package/dist/components/gov-side-nav-item.js.map +1 -1
  522. package/dist/components/gov-side-nav.js +3 -1
  523. package/dist/components/gov-side-nav.js.map +1 -1
  524. package/dist/components/gov-spacer.js +13 -14
  525. package/dist/components/gov-spacer.js.map +1 -1
  526. package/dist/components/gov-statsbar-item.js +2 -1
  527. package/dist/components/gov-statsbar-item.js.map +1 -1
  528. package/dist/components/gov-statsbar.js +8 -8
  529. package/dist/components/gov-statsbar.js.map +1 -1
  530. package/dist/components/gov-stepper-item.js +8 -10
  531. package/dist/components/gov-stepper-item.js.map +1 -1
  532. package/dist/components/gov-stepper.js +7 -7
  533. package/dist/components/gov-stepper.js.map +1 -1
  534. package/dist/components/gov-tabs-item.js +1 -0
  535. package/dist/components/gov-tabs-item.js.map +1 -1
  536. package/dist/components/gov-tabs.js +13 -10
  537. package/dist/components/gov-tabs.js.map +1 -1
  538. package/dist/components/gov-tile.js +3 -2
  539. package/dist/components/gov-tile.js.map +1 -1
  540. package/dist/components/gov-tiles.js +6 -3
  541. package/dist/components/gov-tiles.js.map +1 -1
  542. package/dist/components/gov-toast.js +22 -18
  543. package/dist/components/gov-toast.js.map +1 -1
  544. package/dist/components/gov-tooltip-content.js +1 -0
  545. package/dist/components/gov-tooltip-content.js.map +1 -1
  546. package/dist/components/gov-tooltip.js +14 -15
  547. package/dist/components/gov-tooltip.js.map +1 -1
  548. package/dist/components/gov-wizzard-item.js +8 -11
  549. package/dist/components/gov-wizzard-item.js.map +1 -1
  550. package/dist/components/gov-wizzard.js +7 -6
  551. package/dist/components/gov-wizzard.js.map +1 -1
  552. package/dist/components/index.d.ts +2 -2
  553. package/dist/components/index.js +2 -2
  554. package/dist/components/props.js +3 -3
  555. package/dist/components/props.js.map +1 -1
  556. package/dist/components/template.js.map +1 -1
  557. package/dist/{esm/utils-3a968bb9.js → components/utils.js} +3 -2
  558. package/dist/components/utils.js.map +1 -0
  559. package/dist/components/variants.js +1 -1
  560. package/dist/components/variants.js.map +1 -1
  561. package/dist/components/wcag.js +1 -1
  562. package/dist/components/wcag.js.map +1 -1
  563. package/dist/components/win.js +3 -32
  564. package/dist/components/win.js.map +1 -1
  565. package/dist/core/core.esm.js +1 -1
  566. package/dist/core/core.esm.js.map +1 -1
  567. package/dist/core/p-00e1e600.entry.js +2 -0
  568. package/dist/core/p-00e1e600.entry.js.map +1 -0
  569. package/dist/core/{p-bbd48feb.entry.js → p-01bdd4a4.entry.js} +2 -2
  570. package/dist/core/{p-bbd48feb.entry.js.map → p-01bdd4a4.entry.js.map} +1 -1
  571. package/dist/core/p-0284b5e2.js +2 -0
  572. package/dist/core/p-0284b5e2.js.map +1 -0
  573. package/dist/core/{p-58691740.js → p-03990da5.js} +2 -2
  574. package/dist/core/p-03990da5.js.map +1 -0
  575. package/dist/core/p-0950ba85.entry.js +2 -0
  576. package/dist/core/p-0950ba85.entry.js.map +1 -0
  577. package/dist/core/p-1020a160.js +2 -0
  578. package/dist/core/p-1020a160.js.map +1 -0
  579. package/dist/core/p-165fe5f4.entry.js +2 -0
  580. package/dist/core/p-165fe5f4.entry.js.map +1 -0
  581. package/dist/core/p-16608a87.entry.js +2 -0
  582. package/dist/core/p-16608a87.entry.js.map +1 -0
  583. package/dist/core/p-1bb5184f.entry.js +2 -0
  584. package/dist/core/p-1bb5184f.entry.js.map +1 -0
  585. package/dist/core/p-1cc7b8d3.entry.js +2 -0
  586. package/dist/core/p-1cc7b8d3.entry.js.map +1 -0
  587. package/dist/core/p-22722ff3.entry.js +2 -0
  588. package/dist/core/p-22722ff3.entry.js.map +1 -0
  589. package/dist/core/p-24cde59e.entry.js.map +1 -1
  590. package/dist/core/p-25380da6.entry.js +2 -0
  591. package/dist/core/p-25380da6.entry.js.map +1 -0
  592. package/dist/core/p-26acf964.js +2 -0
  593. package/dist/core/p-26acf964.js.map +1 -0
  594. package/dist/core/{p-f58b9eec.js → p-364b4792.js} +2 -2
  595. package/dist/core/p-364b4792.js.map +1 -0
  596. package/dist/core/p-3e9ba1c1.entry.js +2 -0
  597. package/dist/core/p-3e9ba1c1.entry.js.map +1 -0
  598. package/dist/core/p-3f37ddb6.js.map +1 -1
  599. package/dist/core/p-404f469e.js +2 -0
  600. package/dist/core/p-404f469e.js.map +1 -0
  601. package/dist/core/p-4b375a4d.entry.js +2 -0
  602. package/dist/core/p-4b375a4d.entry.js.map +1 -0
  603. package/dist/core/p-4d73d70e.entry.js +2 -0
  604. package/dist/core/p-4d73d70e.entry.js.map +1 -0
  605. package/dist/core/p-54f367db.entry.js +2 -0
  606. package/dist/core/p-54f367db.entry.js.map +1 -0
  607. package/dist/core/p-5b4e3bdf.entry.js +2 -0
  608. package/dist/core/p-5b4e3bdf.entry.js.map +1 -0
  609. package/dist/core/p-5defdc5e.js +2 -0
  610. package/dist/core/p-5defdc5e.js.map +1 -0
  611. package/dist/core/p-613d8ed8.entry.js +2 -0
  612. package/dist/core/p-613d8ed8.entry.js.map +1 -0
  613. package/dist/core/p-6278531b.js +2 -0
  614. package/dist/core/p-6278531b.js.map +1 -0
  615. package/dist/core/{p-6e1b9f39.entry.js → p-63d2e8ec.entry.js} +2 -2
  616. package/dist/core/p-63d2e8ec.entry.js.map +1 -0
  617. package/dist/core/p-64ced668.js +2 -0
  618. package/dist/core/p-64ced668.js.map +1 -0
  619. package/dist/core/p-68d968ac.entry.js +2 -0
  620. package/dist/core/p-68d968ac.entry.js.map +1 -0
  621. package/dist/core/p-692eb701.entry.js +2 -0
  622. package/dist/core/p-692eb701.entry.js.map +1 -0
  623. package/dist/core/p-72f16a95.entry.js +2 -0
  624. package/dist/core/{p-d9ffb84e.entry.js.map → p-72f16a95.entry.js.map} +1 -1
  625. package/dist/core/p-733bd593.entry.js.map +1 -1
  626. package/dist/core/p-76542f4f.js +2 -0
  627. package/dist/core/p-76542f4f.js.map +1 -0
  628. package/dist/core/p-7ac5f119.entry.js +2 -0
  629. package/dist/core/p-7ac5f119.entry.js.map +1 -0
  630. package/dist/core/p-7be3abb5.entry.js.map +1 -1
  631. package/dist/core/p-80e30702.js +2 -0
  632. package/dist/core/p-80e30702.js.map +1 -0
  633. package/dist/core/p-833ab414.entry.js +2 -0
  634. package/dist/core/p-833ab414.entry.js.map +1 -0
  635. package/dist/core/p-84fda9dd.entry.js +2 -0
  636. package/dist/core/p-84fda9dd.entry.js.map +1 -0
  637. package/dist/core/p-86a3c0d5.entry.js +2 -0
  638. package/dist/core/p-86a3c0d5.entry.js.map +1 -0
  639. package/dist/core/p-8965f84a.entry.js +2 -0
  640. package/dist/core/p-8965f84a.entry.js.map +1 -0
  641. package/dist/core/p-8a8d846c.entry.js +2 -0
  642. package/dist/core/{p-8e8340b0.entry.js.map → p-8a8d846c.entry.js.map} +1 -1
  643. package/dist/core/p-8dacc8dc.entry.js +2 -0
  644. package/dist/core/p-8dacc8dc.entry.js.map +1 -0
  645. package/dist/core/p-9144dde1.js +2 -0
  646. package/dist/core/p-9144dde1.js.map +1 -0
  647. package/dist/core/p-99155ec0.entry.js +2 -0
  648. package/dist/core/p-99155ec0.entry.js.map +1 -0
  649. package/dist/core/p-9c844f4d.entry.js +2 -0
  650. package/dist/core/p-9c844f4d.entry.js.map +1 -0
  651. package/dist/core/{p-cbf4ad73.entry.js → p-9ca0a11c.entry.js} +2 -2
  652. package/dist/core/{p-cbf4ad73.entry.js.map → p-9ca0a11c.entry.js.map} +1 -1
  653. package/dist/core/p-9dd1bbdd.entry.js.map +1 -1
  654. package/dist/core/p-a0c491a6.entry.js +2 -0
  655. package/dist/core/p-a0c491a6.entry.js.map +1 -0
  656. package/dist/core/p-a0dd0a95.entry.js +2 -0
  657. package/dist/core/{p-e52a042f.entry.js.map → p-a0dd0a95.entry.js.map} +1 -1
  658. package/dist/core/{p-64d3cf79.entry.js → p-a5e34e93.entry.js} +2 -2
  659. package/dist/core/p-a6c8d474.entry.js.map +1 -1
  660. package/dist/core/p-ae3e2d60.entry.js +2 -0
  661. package/dist/core/p-ae3e2d60.entry.js.map +1 -0
  662. package/dist/core/p-b966062a.entry.js +2 -0
  663. package/dist/core/p-b966062a.entry.js.map +1 -0
  664. package/dist/core/p-bd560ffc.entry.js +2 -0
  665. package/dist/core/{p-08524615.entry.js.map → p-bd560ffc.entry.js.map} +1 -1
  666. package/dist/core/{p-59581b1b.entry.js → p-c0d3d3e0.entry.js} +2 -2
  667. package/dist/core/{p-59581b1b.entry.js.map → p-c0d3d3e0.entry.js.map} +1 -1
  668. package/dist/core/{p-2b4acb01.js → p-c20102ff.js} +2 -2
  669. package/dist/core/p-c20102ff.js.map +1 -0
  670. package/dist/core/p-c9948e57.entry.js +2 -0
  671. package/dist/core/p-c9948e57.entry.js.map +1 -0
  672. package/dist/core/p-cd869237.js +2 -0
  673. package/dist/core/p-cd869237.js.map +1 -0
  674. package/dist/core/p-cf6576fd.entry.js +2 -0
  675. package/dist/core/p-cf6576fd.entry.js.map +1 -0
  676. package/dist/core/{p-90f818c0.entry.js → p-da2b921e.entry.js} +2 -2
  677. package/dist/core/p-da2b921e.entry.js.map +1 -0
  678. package/dist/core/p-e57d250f.entry.js +2 -0
  679. package/dist/core/p-e57d250f.entry.js.map +1 -0
  680. package/dist/core/p-e9c94ef7.entry.js +2 -0
  681. package/dist/core/p-e9c94ef7.entry.js.map +1 -0
  682. package/dist/core/p-eb1214ab.entry.js +2 -0
  683. package/dist/core/p-eb1214ab.entry.js.map +1 -0
  684. package/dist/core/p-ec617f18.entry.js +2 -0
  685. package/dist/core/p-ec617f18.entry.js.map +1 -0
  686. package/dist/core/p-ef79904e.js +2 -0
  687. package/dist/core/p-ef79904e.js.map +1 -0
  688. package/dist/core/p-f1fe9358.entry.js +2 -0
  689. package/dist/core/p-f1fe9358.entry.js.map +1 -0
  690. package/dist/core/p-f531f5c4.entry.js +2 -0
  691. package/dist/core/p-f531f5c4.entry.js.map +1 -0
  692. package/dist/core/p-f687452c.js +2 -0
  693. package/dist/core/p-f687452c.js.map +1 -0
  694. package/dist/core/p-fac1c202.entry.js +2 -0
  695. package/dist/core/p-fac1c202.entry.js.map +1 -0
  696. package/dist/core/p-fc9d66ae.entry.js +2 -0
  697. package/dist/core/{p-9baa1a0e.entry.js.map → p-fc9d66ae.entry.js.map} +1 -1
  698. package/dist/core/{p-99cc3dba.js → p-ff7365ae.js} +2 -2
  699. package/dist/core/p-ff7365ae.js.map +1 -0
  700. package/dist/core/p-ffb7495c.js +2 -0
  701. package/dist/core/p-ffb7495c.js.map +1 -0
  702. package/dist/custom-elements/index.d.ts +10 -10
  703. package/dist/custom-elements/index.js +1 -1
  704. package/dist/custom-elements/index.js.map +1 -1
  705. package/dist/esm/constants-037c35bc.js +22 -0
  706. package/dist/esm/constants-037c35bc.js.map +1 -0
  707. package/dist/esm/constants-136d4cd3.js +16 -0
  708. package/dist/esm/constants-136d4cd3.js.map +1 -0
  709. package/dist/esm/{constants-4d4cc5e1.js → constants-14a7ba8e.js} +7 -5
  710. package/dist/esm/constants-14a7ba8e.js.map +1 -0
  711. package/dist/esm/constants-24dad929.js +29 -0
  712. package/dist/esm/constants-24dad929.js.map +1 -0
  713. package/dist/esm/{constants-2cd89f93.js → constants-2b14bb01.js} +1 -3
  714. package/dist/esm/constants-2b14bb01.js.map +1 -0
  715. package/dist/esm/constants-2e8258cf.js +15 -0
  716. package/dist/esm/constants-2e8258cf.js.map +1 -0
  717. package/dist/esm/constants-3786b01b.js +22 -0
  718. package/dist/esm/constants-3786b01b.js.map +1 -0
  719. package/dist/esm/constants-3df712e2.js +13 -0
  720. package/dist/esm/constants-3df712e2.js.map +1 -0
  721. package/dist/esm/constants-45f6db4c.js +33 -0
  722. package/dist/esm/constants-45f6db4c.js.map +1 -0
  723. package/dist/esm/{constants-ec176a77.js → constants-78474786.js} +7 -4
  724. package/dist/esm/constants-78474786.js.map +1 -0
  725. package/dist/esm/constants-bf5a583f.js +24 -0
  726. package/dist/esm/constants-bf5a583f.js.map +1 -0
  727. package/dist/esm/constants-f7b618c2.js +23 -0
  728. package/dist/esm/constants-f7b618c2.js.map +1 -0
  729. package/dist/esm/core.js +1 -1
  730. package/dist/esm/{form-121eab06.js → form-95b9a91b.js} +36 -9
  731. package/dist/esm/form-95b9a91b.js.map +1 -0
  732. package/dist/esm/gov-accordion-item.entry.js +9 -9
  733. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  734. package/dist/esm/gov-accordion.entry.js +12 -11
  735. package/dist/esm/gov-accordion.entry.js.map +1 -1
  736. package/dist/esm/gov-alert.entry.js +7 -5
  737. package/dist/esm/gov-alert.entry.js.map +1 -1
  738. package/dist/esm/gov-app.entry.js +823 -204
  739. package/dist/esm/gov-app.entry.js.map +1 -1
  740. package/dist/esm/gov-attachments_3.entry.js +10 -10
  741. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  742. package/dist/esm/gov-backdrop.entry.js +8 -7
  743. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  744. package/dist/esm/gov-badge.entry.js +24 -23
  745. package/dist/esm/gov-badge.entry.js.map +1 -1
  746. package/dist/esm/gov-breadcrumbs.entry.js +4 -5
  747. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  748. package/dist/esm/gov-button.entry.js +13 -24
  749. package/dist/esm/gov-button.entry.js.map +1 -1
  750. package/dist/esm/gov-card.entry.js +4 -4
  751. package/dist/esm/gov-card.entry.js.map +1 -1
  752. package/dist/esm/gov-container.entry.js.map +1 -1
  753. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  754. package/dist/esm/gov-empty.entry.js.map +1 -1
  755. package/dist/esm/gov-error-code.entry.js.map +1 -1
  756. package/dist/esm/gov-form-autocomplete.entry.js +8 -8
  757. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  758. package/dist/esm/gov-form-checkbox.entry.js +13 -22
  759. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  760. package/dist/esm/gov-form-control.entry.js +30 -29
  761. package/dist/esm/gov-form-control.entry.js.map +1 -1
  762. package/dist/esm/gov-form-file.entry.js +9 -9
  763. package/dist/esm/gov-form-file.entry.js.map +1 -1
  764. package/dist/esm/gov-form-input.entry.js +15 -21
  765. package/dist/esm/gov-form-input.entry.js.map +1 -1
  766. package/dist/esm/gov-form-multi-select.entry.js +13 -13
  767. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  768. package/dist/esm/gov-form-password-power.entry.js +24 -0
  769. package/dist/esm/gov-form-password-power.entry.js.map +1 -0
  770. package/dist/esm/gov-form-radio.entry.js +12 -12
  771. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  772. package/dist/esm/gov-form-search.entry.js +0 -2
  773. package/dist/esm/gov-form-search.entry.js.map +1 -1
  774. package/dist/esm/gov-form-select.entry.js +16 -16
  775. package/dist/esm/gov-form-select.entry.js.map +1 -1
  776. package/dist/esm/gov-form-switch.entry.js +12 -12
  777. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  778. package/dist/esm/gov-grid-item.entry.js +2 -3
  779. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  780. package/dist/esm/gov-grid.entry.js +1 -2
  781. package/dist/esm/gov-grid.entry.js.map +1 -1
  782. package/dist/esm/gov-icon.entry.js +10 -5
  783. package/dist/esm/gov-icon.entry.js.map +1 -1
  784. package/dist/esm/gov-layout-column.entry.js +21 -0
  785. package/dist/esm/gov-layout-column.entry.js.map +1 -0
  786. package/dist/esm/gov-layout.entry.js +12 -3
  787. package/dist/esm/gov-layout.entry.js.map +1 -1
  788. package/dist/esm/gov-loading.entry.js +1 -1
  789. package/dist/esm/gov-loading.entry.js.map +1 -1
  790. package/dist/esm/gov-message.entry.js +4 -2
  791. package/dist/esm/gov-message.entry.js.map +1 -1
  792. package/dist/esm/gov-modal.entry.js +22 -16
  793. package/dist/esm/gov-modal.entry.js.map +1 -1
  794. package/dist/esm/gov-nav.entry.js +3 -3
  795. package/dist/esm/gov-pagination.entry.js +60 -20
  796. package/dist/esm/gov-pagination.entry.js.map +1 -1
  797. package/dist/esm/gov-prompt.entry.js +15 -9
  798. package/dist/esm/gov-prompt.entry.js.map +1 -1
  799. package/dist/esm/gov-side-nav-item.entry.js +1 -1
  800. package/dist/esm/gov-side-nav-item.entry.js.map +1 -1
  801. package/dist/esm/gov-side-nav.entry.js +3 -3
  802. package/dist/esm/gov-side-nav.entry.js.map +1 -1
  803. package/dist/esm/gov-spacer.entry.js +12 -14
  804. package/dist/esm/gov-spacer.entry.js.map +1 -1
  805. package/dist/esm/gov-statsbar-item.entry.js +4 -2
  806. package/dist/esm/gov-statsbar-item.entry.js.map +1 -1
  807. package/dist/esm/gov-statsbar.entry.js +8 -7
  808. package/dist/esm/gov-statsbar.entry.js.map +1 -1
  809. package/dist/esm/gov-stepper-item.entry.js +9 -9
  810. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  811. package/dist/esm/gov-stepper.entry.js +9 -8
  812. package/dist/esm/gov-stepper.entry.js.map +1 -1
  813. package/dist/esm/gov-tabs-item.entry.js +3 -3
  814. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  815. package/dist/esm/gov-tabs.entry.js +12 -12
  816. package/dist/esm/gov-tabs.entry.js.map +1 -1
  817. package/dist/esm/gov-tile.entry.js +2 -2
  818. package/dist/esm/gov-tile.entry.js.map +1 -1
  819. package/dist/esm/gov-tiles.entry.js +3 -2
  820. package/dist/esm/gov-tiles.entry.js.map +1 -1
  821. package/dist/esm/gov-toast.entry.js +21 -18
  822. package/dist/esm/gov-toast.entry.js.map +1 -1
  823. package/dist/esm/gov-tooltip-content.entry.js +3 -2
  824. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  825. package/dist/esm/gov-tooltip.entry.js +15 -14
  826. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  827. package/dist/esm/gov-wizzard-item.entry.js +10 -11
  828. package/dist/esm/gov-wizzard-item.entry.js.map +1 -1
  829. package/dist/esm/gov-wizzard.entry.js +9 -9
  830. package/dist/esm/gov-wizzard.entry.js.map +1 -1
  831. package/dist/esm/index-00e9a0d5.js +6 -6
  832. package/dist/esm/loader.js +1 -1
  833. package/dist/esm/{props-cb992af5.js → props-789f7529.js} +4 -4
  834. package/dist/esm/props-789f7529.js.map +1 -0
  835. package/dist/esm/template-10332292.js.map +1 -1
  836. package/dist/esm/utils-c057a3fa.js +35 -0
  837. package/dist/esm/utils-c057a3fa.js.map +1 -0
  838. package/dist/esm/{variants-b5641e3d.js → variants-2b936d58.js} +2 -2
  839. package/dist/esm/variants-2b936d58.js.map +1 -0
  840. package/dist/esm/{wcag-af732bfe.js → wcag-3792d4bb.js} +2 -2
  841. package/dist/esm/wcag-3792d4bb.js.map +1 -0
  842. package/dist/esm/{win-cb090c11.js → win-9c8460bb.js} +3 -3
  843. package/dist/esm/win-9c8460bb.js.map +1 -0
  844. package/dist/hydrate/index.js +1340 -615
  845. package/dist/types/components/gov-accordion/constants.d.ts +7 -6
  846. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +3 -3
  847. package/dist/types/components/gov-accordion/gov-accordion.d.ts +7 -3
  848. package/dist/types/components/gov-alert/constants.d.ts +4 -3
  849. package/dist/types/components/gov-app/gov-app.d.ts +1 -1
  850. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +1 -1
  851. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +1 -1
  852. package/dist/types/components/gov-badge/constants.d.ts +5 -2
  853. package/dist/types/components/gov-badge/gov-badge.d.ts +7 -12
  854. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +1 -1
  855. package/dist/types/components/gov-button/constants.d.ts +21 -10
  856. package/dist/types/components/gov-button/gov-button.d.ts +6 -8
  857. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +1 -1
  858. package/dist/types/components/gov-form/autocomplete/constants.d.ts +7 -6
  859. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +3 -3
  860. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +3 -0
  861. package/dist/types/components/gov-form/checkbox/constants.d.ts +4 -3
  862. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +3 -4
  863. package/dist/types/components/gov-form/control/constants.d.ts +4 -3
  864. package/dist/types/components/gov-form/control/gov-form-control.d.ts +3 -3
  865. package/dist/types/components/gov-form/file/gov-form-file.d.ts +1 -1
  866. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +6 -0
  867. package/dist/types/components/gov-form/input/constants.d.ts +27 -10
  868. package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -5
  869. package/dist/types/components/gov-form/message/constants.d.ts +4 -3
  870. package/dist/types/components/gov-form/message/gov-form-message.d.ts +3 -3
  871. package/dist/types/components/gov-form/multiselect/constants.d.ts +7 -6
  872. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +4 -4
  873. package/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  874. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  875. package/dist/types/components/gov-form/radio/constants.d.ts +4 -3
  876. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +2 -2
  877. package/dist/types/components/gov-form/search/constants.d.ts +0 -6
  878. package/dist/types/components/gov-form/select/constants.d.ts +7 -6
  879. package/dist/types/components/gov-form/select/gov-form-select.d.ts +3 -3
  880. package/dist/types/components/gov-form/switch/constants.d.ts +4 -3
  881. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +2 -2
  882. package/dist/types/components/gov-grid/constants.d.ts +0 -3
  883. package/dist/types/components/gov-icon/constants.d.ts +8 -2
  884. package/dist/types/components/gov-layout/constants.d.ts +14 -6
  885. package/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  886. package/dist/types/components/gov-layout/gov-layout.d.ts +14 -0
  887. package/dist/types/components/gov-message/constants.d.ts +4 -3
  888. package/dist/types/components/gov-message/gov-message.d.ts +2 -2
  889. package/dist/types/components/gov-modal/gov-modal.d.ts +3 -1
  890. package/dist/types/components/gov-pagination/constants.d.ts +12 -8
  891. package/dist/types/components/gov-pagination/gov-pagination.d.ts +8 -4
  892. package/dist/types/components/gov-promp/gov-prompt.d.ts +3 -1
  893. package/dist/types/components/gov-spacer/constants.d.ts +11 -4
  894. package/dist/types/components/gov-spacer/gov-spacer.d.ts +2 -2
  895. package/dist/types/components/gov-statsbar/constants.d.ts +8 -4
  896. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +1 -1
  897. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +1 -1
  898. package/dist/types/components/gov-stepper/constants.d.ts +7 -6
  899. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +3 -3
  900. package/dist/types/components/gov-stepper/gov-stepper.d.ts +4 -4
  901. package/dist/types/components/gov-tabs/constants.d.ts +14 -8
  902. package/dist/types/components/gov-tabs/gov-tabs.d.ts +9 -5
  903. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +8 -0
  904. package/dist/types/components/gov-tiles/gov-tiles.d.ts +4 -0
  905. package/dist/types/components/gov-toast/constants.d.ts +6 -5
  906. package/dist/types/components/gov-toast/gov-toast.d.ts +7 -6
  907. package/dist/types/components/gov-tooltip/constants.d.ts +9 -9
  908. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +4 -4
  909. package/dist/types/components/gov-wizzard/constants.d.ts +7 -6
  910. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.ts +3 -3
  911. package/dist/types/components/gov-wizzard/gov-wizzard.d.ts +2 -2
  912. package/dist/types/components.d.ts +196 -163
  913. package/dist/types/helpers/Dom/form.d.ts +2 -2
  914. package/dist/types/helpers/Dom/form.types.d.ts +9 -0
  915. package/dist/types/helpers/Dom/template.d.ts +1 -1
  916. package/dist/types/helpers/Dom/template.types.d.ts +12 -0
  917. package/dist/types/helpers/Validate/props.d.ts +1 -1
  918. package/dist/types/types/interfaces.d.ts +1 -0
  919. package/dist/types/utils/array.utils.d.ts +1 -0
  920. package/dist/types/utils/utils.d.ts +1 -0
  921. package/package.json +1 -1
  922. package/dist/cjs/constants-0c6897bc.js.map +0 -1
  923. package/dist/cjs/constants-24f26d54.js +0 -15
  924. package/dist/cjs/constants-24f26d54.js.map +0 -1
  925. package/dist/cjs/constants-404ee283.js +0 -21
  926. package/dist/cjs/constants-404ee283.js.map +0 -1
  927. package/dist/cjs/constants-477ca85a.js.map +0 -1
  928. package/dist/cjs/constants-5c8f444a.js.map +0 -1
  929. package/dist/cjs/constants-5ca7e728.js +0 -18
  930. package/dist/cjs/constants-5ca7e728.js.map +0 -1
  931. package/dist/cjs/constants-8c9eeb15.js +0 -20
  932. package/dist/cjs/constants-8c9eeb15.js.map +0 -1
  933. package/dist/cjs/constants-a44c32bc.js.map +0 -1
  934. package/dist/cjs/constants-a92bbccb.js +0 -17
  935. package/dist/cjs/constants-a92bbccb.js.map +0 -1
  936. package/dist/cjs/constants-b39578d9.js +0 -29
  937. package/dist/cjs/constants-b39578d9.js.map +0 -1
  938. package/dist/cjs/constants-b3c2277b.js +0 -23
  939. package/dist/cjs/constants-b3c2277b.js.map +0 -1
  940. package/dist/cjs/constants-b8ec7b03.js +0 -32
  941. package/dist/cjs/constants-b8ec7b03.js.map +0 -1
  942. package/dist/cjs/form-d9f0f50c.js.map +0 -1
  943. package/dist/cjs/gov-layout-aside.cjs.entry.js +0 -26
  944. package/dist/cjs/gov-layout-aside.cjs.entry.js.map +0 -1
  945. package/dist/cjs/gov-layout-content.cjs.entry.js +0 -26
  946. package/dist/cjs/gov-layout-content.cjs.entry.js.map +0 -1
  947. package/dist/cjs/props-cc21d3d7.js.map +0 -1
  948. package/dist/cjs/utils-4ae73637.js.map +0 -1
  949. package/dist/cjs/variants-bacf037a.js.map +0 -1
  950. package/dist/cjs/wcag-eca97102.js.map +0 -1
  951. package/dist/cjs/win-ac5c1806.js.map +0 -1
  952. package/dist/collection/components/gov-layout/gov-layout-aside.js +0 -47
  953. package/dist/collection/components/gov-layout/gov-layout-aside.js.map +0 -1
  954. package/dist/collection/components/gov-layout/gov-layout-content.js +0 -47
  955. package/dist/collection/components/gov-layout/gov-layout-content.js.map +0 -1
  956. package/dist/collection/core/constants/breakpoint.js +0 -9
  957. package/dist/collection/core/constants/breakpoint.js.map +0 -1
  958. package/dist/components/gov-layout-aside.js +0 -41
  959. package/dist/components/gov-layout-aside.js.map +0 -1
  960. package/dist/components/gov-layout-content.d.ts +0 -11
  961. package/dist/components/gov-layout-content.js +0 -41
  962. package/dist/components/gov-layout-content.js.map +0 -1
  963. package/dist/core/p-08524615.entry.js +0 -2
  964. package/dist/core/p-097332b9.entry.js +0 -2
  965. package/dist/core/p-097332b9.entry.js.map +0 -1
  966. package/dist/core/p-09b38102.entry.js +0 -2
  967. package/dist/core/p-09b38102.entry.js.map +0 -1
  968. package/dist/core/p-1525ef03.entry.js +0 -2
  969. package/dist/core/p-1525ef03.entry.js.map +0 -1
  970. package/dist/core/p-1ffe4cac.entry.js +0 -2
  971. package/dist/core/p-1ffe4cac.entry.js.map +0 -1
  972. package/dist/core/p-22c3946b.entry.js +0 -2
  973. package/dist/core/p-22c3946b.entry.js.map +0 -1
  974. package/dist/core/p-28f08f8b.entry.js +0 -2
  975. package/dist/core/p-28f08f8b.entry.js.map +0 -1
  976. package/dist/core/p-2b19bea6.entry.js +0 -2
  977. package/dist/core/p-2b19bea6.entry.js.map +0 -1
  978. package/dist/core/p-2b4acb01.js.map +0 -1
  979. package/dist/core/p-2c25aac5.entry.js +0 -2
  980. package/dist/core/p-2c25aac5.entry.js.map +0 -1
  981. package/dist/core/p-2c9031ef.entry.js +0 -2
  982. package/dist/core/p-2c9031ef.entry.js.map +0 -1
  983. package/dist/core/p-3426a731.entry.js +0 -2
  984. package/dist/core/p-3426a731.entry.js.map +0 -1
  985. package/dist/core/p-3b8d7a9a.entry.js +0 -2
  986. package/dist/core/p-3b8d7a9a.entry.js.map +0 -1
  987. package/dist/core/p-44f22320.entry.js +0 -2
  988. package/dist/core/p-44f22320.entry.js.map +0 -1
  989. package/dist/core/p-468873ec.entry.js +0 -2
  990. package/dist/core/p-468873ec.entry.js.map +0 -1
  991. package/dist/core/p-48a7c794.entry.js +0 -2
  992. package/dist/core/p-48a7c794.entry.js.map +0 -1
  993. package/dist/core/p-4e21ca0f.entry.js +0 -2
  994. package/dist/core/p-4e21ca0f.entry.js.map +0 -1
  995. package/dist/core/p-58691740.js.map +0 -1
  996. package/dist/core/p-5f7e38b6.entry.js +0 -2
  997. package/dist/core/p-5f7e38b6.entry.js.map +0 -1
  998. package/dist/core/p-64445e87.js +0 -2
  999. package/dist/core/p-64445e87.js.map +0 -1
  1000. package/dist/core/p-68d4837b.entry.js +0 -2
  1001. package/dist/core/p-68d4837b.entry.js.map +0 -1
  1002. package/dist/core/p-6ce1f525.js +0 -2
  1003. package/dist/core/p-6ce1f525.js.map +0 -1
  1004. package/dist/core/p-6e1b9f39.entry.js.map +0 -1
  1005. package/dist/core/p-708963e6.js +0 -2
  1006. package/dist/core/p-708963e6.js.map +0 -1
  1007. package/dist/core/p-71134d97.js +0 -2
  1008. package/dist/core/p-71134d97.js.map +0 -1
  1009. package/dist/core/p-78a4be4b.entry.js +0 -2
  1010. package/dist/core/p-78a4be4b.entry.js.map +0 -1
  1011. package/dist/core/p-803629e9.entry.js +0 -2
  1012. package/dist/core/p-803629e9.entry.js.map +0 -1
  1013. package/dist/core/p-808cd4b7.entry.js +0 -2
  1014. package/dist/core/p-808cd4b7.entry.js.map +0 -1
  1015. package/dist/core/p-8e8340b0.entry.js +0 -2
  1016. package/dist/core/p-8ebc3217.js +0 -2
  1017. package/dist/core/p-8ebc3217.js.map +0 -1
  1018. package/dist/core/p-8eece26f.entry.js +0 -2
  1019. package/dist/core/p-8eece26f.entry.js.map +0 -1
  1020. package/dist/core/p-90f818c0.entry.js.map +0 -1
  1021. package/dist/core/p-951d9c21.js +0 -2
  1022. package/dist/core/p-951d9c21.js.map +0 -1
  1023. package/dist/core/p-9680b966.entry.js +0 -2
  1024. package/dist/core/p-9680b966.entry.js.map +0 -1
  1025. package/dist/core/p-9711e4e5.entry.js +0 -2
  1026. package/dist/core/p-9711e4e5.entry.js.map +0 -1
  1027. package/dist/core/p-99cc3dba.js.map +0 -1
  1028. package/dist/core/p-9baa1a0e.entry.js +0 -2
  1029. package/dist/core/p-a2f9daba.js +0 -2
  1030. package/dist/core/p-a2f9daba.js.map +0 -1
  1031. package/dist/core/p-a32723d4.entry.js +0 -2
  1032. package/dist/core/p-a32723d4.entry.js.map +0 -1
  1033. package/dist/core/p-a5b02584.js +0 -2
  1034. package/dist/core/p-a5b02584.js.map +0 -1
  1035. package/dist/core/p-b4581984.js +0 -2
  1036. package/dist/core/p-b4581984.js.map +0 -1
  1037. package/dist/core/p-b5935207.entry.js +0 -2
  1038. package/dist/core/p-b5935207.entry.js.map +0 -1
  1039. package/dist/core/p-ba500f74.entry.js +0 -2
  1040. package/dist/core/p-ba500f74.entry.js.map +0 -1
  1041. package/dist/core/p-c9e7a558.entry.js +0 -2
  1042. package/dist/core/p-c9e7a558.entry.js.map +0 -1
  1043. package/dist/core/p-c9f0d988.entry.js +0 -2
  1044. package/dist/core/p-c9f0d988.entry.js.map +0 -1
  1045. package/dist/core/p-cbe6523f.entry.js +0 -2
  1046. package/dist/core/p-cbe6523f.entry.js.map +0 -1
  1047. package/dist/core/p-cd4f034f.js +0 -2
  1048. package/dist/core/p-cd4f034f.js.map +0 -1
  1049. package/dist/core/p-d4aaff74.js +0 -2
  1050. package/dist/core/p-d4aaff74.js.map +0 -1
  1051. package/dist/core/p-d65f71e1.js +0 -2
  1052. package/dist/core/p-d65f71e1.js.map +0 -1
  1053. package/dist/core/p-d9ffb84e.entry.js +0 -2
  1054. package/dist/core/p-dc87f017.entry.js +0 -2
  1055. package/dist/core/p-dc87f017.entry.js.map +0 -1
  1056. package/dist/core/p-e52a042f.entry.js +0 -2
  1057. package/dist/core/p-eadaa1d1.entry.js +0 -2
  1058. package/dist/core/p-eadaa1d1.entry.js.map +0 -1
  1059. package/dist/core/p-ef3e7866.js +0 -2
  1060. package/dist/core/p-ef3e7866.js.map +0 -1
  1061. package/dist/core/p-f1226ef1.entry.js +0 -2
  1062. package/dist/core/p-f1226ef1.entry.js.map +0 -1
  1063. package/dist/core/p-f2dc8ce3.entry.js +0 -2
  1064. package/dist/core/p-f2dc8ce3.entry.js.map +0 -1
  1065. package/dist/core/p-f4030908.entry.js +0 -2
  1066. package/dist/core/p-f4030908.entry.js.map +0 -1
  1067. package/dist/core/p-f58b9eec.js.map +0 -1
  1068. package/dist/core/p-f82535b7.js +0 -2
  1069. package/dist/core/p-f82535b7.js.map +0 -1
  1070. package/dist/core/p-fc3c7246.entry.js +0 -2
  1071. package/dist/core/p-fc3c7246.entry.js.map +0 -1
  1072. package/dist/core/p-fd62c386.entry.js +0 -2
  1073. package/dist/core/p-fd62c386.entry.js.map +0 -1
  1074. package/dist/esm/constants-129909d1.js +0 -14
  1075. package/dist/esm/constants-129909d1.js.map +0 -1
  1076. package/dist/esm/constants-1f1d1d3e.js +0 -16
  1077. package/dist/esm/constants-1f1d1d3e.js.map +0 -1
  1078. package/dist/esm/constants-2cd89f93.js.map +0 -1
  1079. package/dist/esm/constants-3b157470.js +0 -23
  1080. package/dist/esm/constants-3b157470.js.map +0 -1
  1081. package/dist/esm/constants-3de0521d.js +0 -27
  1082. package/dist/esm/constants-3de0521d.js.map +0 -1
  1083. package/dist/esm/constants-4331e6d9.js +0 -12
  1084. package/dist/esm/constants-4331e6d9.js.map +0 -1
  1085. package/dist/esm/constants-4cdfde31.js +0 -14
  1086. package/dist/esm/constants-4cdfde31.js.map +0 -1
  1087. package/dist/esm/constants-4d4cc5e1.js.map +0 -1
  1088. package/dist/esm/constants-8f0bcad2.js +0 -21
  1089. package/dist/esm/constants-8f0bcad2.js.map +0 -1
  1090. package/dist/esm/constants-b49812cd.js +0 -16
  1091. package/dist/esm/constants-b49812cd.js.map +0 -1
  1092. package/dist/esm/constants-c8f57790.js +0 -19
  1093. package/dist/esm/constants-c8f57790.js.map +0 -1
  1094. package/dist/esm/constants-ec176a77.js.map +0 -1
  1095. package/dist/esm/form-121eab06.js.map +0 -1
  1096. package/dist/esm/gov-layout-aside.entry.js +0 -22
  1097. package/dist/esm/gov-layout-aside.entry.js.map +0 -1
  1098. package/dist/esm/gov-layout-content.entry.js +0 -22
  1099. package/dist/esm/gov-layout-content.entry.js.map +0 -1
  1100. package/dist/esm/props-cb992af5.js.map +0 -1
  1101. package/dist/esm/utils-3a968bb9.js.map +0 -1
  1102. package/dist/esm/variants-b5641e3d.js.map +0 -1
  1103. package/dist/esm/wcag-af732bfe.js.map +0 -1
  1104. package/dist/esm/win-cb090c11.js.map +0 -1
  1105. package/dist/types/components/gov-layout/gov-layout-aside.d.ts +0 -10
  1106. package/dist/types/components/gov-layout/gov-layout-content.d.ts +0 -10
  1107. package/dist/types/core/constants/breakpoint.d.ts +0 -8
  1108. /package/dist/core/{p-64d3cf79.entry.js.map → p-a5e34e93.entry.js.map} +0 -0
@@ -4,14 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-356717ae.js');
6
6
  const gov_log = require('./gov.log-0c9dca27.js');
7
- const props = require('./props-cc21d3d7.js');
8
- const constants = require('./constants-0c6897bc.js');
7
+ const props = require('./props-5f82e4c0.js');
8
+ const constants = require('./constants-21559414.js');
9
9
  const string_utils = require('./string.utils-0f08c48c.js');
10
10
  const template = require('./template-e1c4ff78.js');
11
- const variants = require('./variants-bacf037a.js');
12
- const sizes = require('./sizes-79872c2a.js');
11
+ require('./variants-f5ffeef3.js');
12
+ require('./sizes-79872c2a.js');
13
+ require('./utils-c9b1bba3.js');
13
14
 
14
- const govWizzardItemCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-wizzard-item{position:relative;display:block;width:100%;margin-bottom:1rem;background:var(--gov-wizzard-bg-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{position:relative;width:100%}.gov-wizzard-item__arrow{flex:0 0 auto;width:0.75rem;height:0.75rem}.gov-wizzard-item__title{margin:0;padding:0;font-family:var(--gov-font-family, \"Roboto\", sans-serif);font-weight:400;box-sizing:border-box;display:flex;gap:1rem;align-items:baseline}.gov-wizzard-item__prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;border-radius:50%;text-align:center}.gov-wizzard-item__prefix .gov-icon{width:45%;height:45%}.gov-wizzard-item__name{display:flex;flex-direction:column}.gov-wizzard-item__label{display:flex;gap:0.5rem;align-items:center}.gov-wizzard-item__annot{color:var(--gov-color-secondary)}.gov-wizzard-item__content>*:last-child{margin-bottom:0}.gov-wizzard-item[variant=primary] .gov-wizzard-item__header{color:var(--gov-wizzard-primary-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=primary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-primary-indicator-bg, var(--gov-color-primary-300));color:var(--gov-wizzard-primary-indicator-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__header{color:var(--gov-wizzard-secondary-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-secondary-indicator-bg, var(--gov-color-secondary-400));color:var(--gov-wizzard-secondary-indicator-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=success] .gov-wizzard-item__header{color:var(--gov-wizzard-success-color, var(--gov-color-success-500))}.gov-wizzard-item[variant=success] .gov-wizzard-item__prefix{background:var(--gov-wizzard-success-indicator-bg, var(--gov-color-success));color:var(--gov-wizzard-success-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=error] .gov-wizzard-item__header{color:var(--gov-wizzard-error-color, var(--gov-color-error-500))}.gov-wizzard-item[variant=error] .gov-wizzard-item__prefix{background:var(--gov-wizzard-error-indicator-bg, var(--gov-color-error));color:var(--gov-wizzard-error-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__header{color:var(--gov-wizzard-warning-color, var(--gov-color-warning-500))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__prefix{background:var(--gov-wizzard-warning-indicator-bg, var(--gov-color-warning));color:var(--gov-wizzard-warning-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{gap:1rem;padding:1rem;border-radius:0;text-align:left;transition:150ms linear color}.gov-wizzard-item__header:focus{outline:none}.gov-wizzard-item__header:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-wizzard-item__header[aria-expanded=true] .gov-icon{transform:scale(-1)}.gov-wizzard-item[size=xs] .gov-wizzard-item__title,.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__annot,.gov-wizzard-item[size=s] .gov-wizzard-item__annot,.gov-wizzard-item[size=m] .gov-wizzard-item__annot{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__prefix,.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);width:var(--gov-wizzard-xs-indicator-size, 1.5rem);height:var(--gov-wizzard-xs-indicator-size, 1.5rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__content,.gov-wizzard-item[size=s] .gov-wizzard-item__content,.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-xs-content-padding, 0rem 1rem 1rem 3.5rem)}@media not all and (pointer: coarse){.gov-wizzard-item[variant=primary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-primary-hover-color, var(--gov-color-primary-900))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=secondary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-secondary-hover-color, var(--gov-color-secondary-800))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=success][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-success-hover-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=error][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-error-hover-color, var(--gov-color-error-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=warning][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-warning-hover-color, var(--gov-color-warning-600))}}button.gov-wizzard-item__header{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:flex-start;text-align:left}button.gov-wizzard-item__header:focus{outline:none}@media (min-width: 30em){.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=s] .gov-wizzard-item__annot,.gov-wizzard-item[size=m] .gov-wizzard-item__annot{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-s-indicator-size, 2rem);height:var(--gov-wizzard-s-indicator-size, 2rem)}.gov-wizzard-item[size=s] .gov-wizzard-item__content,.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-m-content-padding, 0rem 1rem 1rem 4.5rem)}}@media (min-width: 48em){.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=m] .gov-wizzard-item__annot{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-m-indicator-size, 2.5rem);height:var(--gov-wizzard-m-indicator-size, 2.5rem)}.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-m-content-padding, 0rem 1rem 1rem 4.5rem)}}";
15
+ const govWizzardItemCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-wizzard-item{position:relative;display:block;width:100%;margin-bottom:1rem;background:var(--gov-wizzard-bg-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{position:relative;width:100%}.gov-wizzard-item__arrow{flex:0 0 auto;width:0.75rem;height:0.75rem}.gov-wizzard-item__title{margin:0;padding:0;font-family:var(--gov-font-family, \"Roboto\", sans-serif);font-weight:400;box-sizing:border-box;display:flex;gap:1rem;align-items:baseline}.gov-wizzard-item__prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;border-radius:50%;text-align:center}.gov-wizzard-item__prefix .gov-icon{width:45%;height:45%}.gov-wizzard-item__name{display:flex;flex-direction:column}.gov-wizzard-item__label{display:flex;gap:0.5rem;align-items:center}.gov-wizzard-item__annot{color:var(--gov-color-secondary)}.gov-wizzard-item__content>*:last-child{margin-bottom:0}.gov-wizzard-item[variant=primary] .gov-wizzard-item__header{color:var(--gov-wizzard-primary-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=primary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-primary-indicator-bg, var(--gov-color-primary-300));color:var(--gov-wizzard-primary-indicator-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__header{color:var(--gov-wizzard-secondary-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-secondary-indicator-bg, var(--gov-color-secondary-400));color:var(--gov-wizzard-secondary-indicator-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=success] .gov-wizzard-item__header{color:var(--gov-wizzard-success-color, var(--gov-color-success-500))}.gov-wizzard-item[variant=success] .gov-wizzard-item__prefix{background:var(--gov-wizzard-success-indicator-bg, var(--gov-color-success));color:var(--gov-wizzard-success-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=error] .gov-wizzard-item__header{color:var(--gov-wizzard-error-color, var(--gov-color-error-500))}.gov-wizzard-item[variant=error] .gov-wizzard-item__prefix{background:var(--gov-wizzard-error-indicator-bg, var(--gov-color-error));color:var(--gov-wizzard-error-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__header{color:var(--gov-wizzard-warning-color, var(--gov-color-warning-500))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__prefix{background:var(--gov-wizzard-warning-indicator-bg, var(--gov-color-warning));color:var(--gov-wizzard-warning-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{gap:1rem;padding:1rem;border-radius:0;text-align:left;transition:150ms linear color}.gov-wizzard-item__header:focus{outline:none}.gov-wizzard-item__header:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-wizzard-item__header[aria-expanded=true] .gov-wizzard-item__label .gov-icon{transform:scale(-1)}.gov-wizzard-item[size=xs] .gov-wizzard-item__title,.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__annot,.gov-wizzard-item[size=s] .gov-wizzard-item__annot,.gov-wizzard-item[size=m] .gov-wizzard-item__annot{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__prefix,.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);width:var(--gov-wizzard-xs-indicator-size, 1.5rem);height:var(--gov-wizzard-xs-indicator-size, 1.5rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__content,.gov-wizzard-item[size=s] .gov-wizzard-item__content,.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-content-padding, 0rem 1rem 1rem 1rem)}@media not all and (pointer: coarse){.gov-wizzard-item[variant=primary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-primary-hover-color, var(--gov-color-primary-900))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=secondary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-secondary-hover-color, var(--gov-color-secondary-800))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=success][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-success-hover-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=error][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-error-hover-color, var(--gov-color-error-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=warning][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-warning-hover-color, var(--gov-color-warning-600))}}button.gov-wizzard-item__header{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:flex-start;text-align:left}button.gov-wizzard-item__header:focus{outline:none}@media (min-width: 30em){.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-s-indicator-size, 2rem);height:var(--gov-wizzard-s-indicator-size, 2rem)}}@media (min-width: 48em){.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-m-indicator-size, 2.5rem);height:var(--gov-wizzard-m-indicator-size, 2.5rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__content{padding:var(--gov-wizzard-xs-content-padding, 0rem 1rem 1rem 3.5rem)}.gov-wizzard-item[size=s] .gov-wizzard-item__content{padding:var(--gov-wizzard-s-content-padding, 0rem 1rem 1rem 4rem)}.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-m-content-padding, 0rem 1rem 1rem 4.5rem)}}";
15
16
 
16
17
  var Tags;
17
18
  (function (Tags) {
@@ -22,8 +23,8 @@ const GovWizzardItem = class {
22
23
  constructor(hostRef) {
23
24
  index.registerInstance(this, hostRef);
24
25
  this.govChange = index.createEvent(this, "gov-change", 7);
25
- this.variant = variants.Variants.PRIMARY;
26
- this.size = sizes.Sizes._M;
26
+ this.variant = 'primary';
27
+ this.size = 'm';
27
28
  this.identifier = undefined;
28
29
  this.collapsible = false;
29
30
  this.annotation = undefined;
@@ -50,7 +51,7 @@ const GovWizzardItem = class {
50
51
  }
51
52
  }
52
53
  validateVariant(newValue) {
53
- props.validateProp(variants.Variants, newValue, constants.WizzardItemClass.root);
54
+ props.validateProp(constants.WizardVariants, newValue, constants.WizzardItemClass.root);
54
55
  }
55
56
  emmitChange() {
56
57
  this.govChange.emit({ open: this.isExpandedState, element: this.host });
@@ -65,9 +66,7 @@ const GovWizzardItem = class {
65
66
  const triggerId = this.identifier || this.triggerId;
66
67
  const LabelTag = this.labelTag;
67
68
  const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
68
- const label = (index.h(LabelTag, { class: constants.WizzardItemClass.title }, this.h.hasSlot('prefix') && (index.h("span", { class: constants.WizzardItemClass.prefix }, index.h("slot", { name: "prefix" }))), index.h("span", { class: constants.WizzardItemClass.name }, index.h("span", { class: constants.WizzardItemClass.label }, index.h("span", null, this.label), this.collapsible &&
69
- index.h("gov-icon", { class: constants.WizzardItemClass.arrow, name: "arrow-down" })), this.annotation &&
70
- index.h("span", { class: constants.WizzardItemClass.annot }, this.annotation))));
69
+ const label = (index.h(LabelTag, { class: constants.WizzardItemClass.title }, this.h.hasSlot('prefix') && (index.h("span", { class: constants.WizzardItemClass.prefix }, index.h("slot", { name: "prefix" }))), index.h("span", { class: constants.WizzardItemClass.name }, index.h("span", { class: constants.WizzardItemClass.label }, index.h("span", null, this.label), this.collapsible && index.h("gov-icon", { class: constants.WizzardItemClass.arrow, name: "chevron-down" })), this.annotation && index.h("span", { class: constants.WizzardItemClass.annot }, this.annotation))));
71
70
  return (index.h(index.Host, { class: this.h.classes(constants.WizzardItemClass.root), variant: this.variant, size: this.size, role: "listitem", collapsible: this.collapsible }, this.collapsible ? (index.h(Tag, { id: triggerId, class: constants.WizzardItemClass.header, "aria-expanded": template.booleanString(this.isExpandedState), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: () => (this.collapsible ? this.toggle() : false) }, label)) : (index.h("div", { class: constants.WizzardItemClass.header }, label)), this.collapsible ? (index.h("div", { class: constants.WizzardItemClass.content, id: this.contentId, "aria-hidden": template.booleanString(!this.isExpandedState), hidden: !this.isExpandedState, "aria-labelledby": triggerId }, index.h("slot", null))) : (index.h("div", { class: constants.WizzardItemClass.content, "aria-hidden": template.booleanString(!this.isExpandedState), hidden: !this.isExpandedState }, index.h("slot", null)))));
72
71
  }
73
72
  /**
@@ -1 +1 @@
1
- {"file":"gov-wizzard-item.entry.cjs.js","mappings":"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","names":["Variants","Sizes","govHost","createID","govErrorLog","WizzardItemClass","validateProp","h","Host","booleanString","toBoolAttrIfDefined"],"sources":["../../../packages/core/src/components/gov-wizzard/gov-wizzard-item.scss?tag=gov-wizzard-item","../../../packages/core/src/components/gov-wizzard/gov-wizzard-item.tsx"],"sourcesContent":["/*\n * Wizzard - Item\n */\n\n@import \"../gov-wizzard/gov-wizzard-item-core.scss\";\n$class: \".gov-wizzard-item\";\n\n#{$class} {\n\t@include wizzard-item-core;\n\tmargin-bottom: rem-calc(16);\n\tbackground: $wizzard-bg-color;\n\t&__header {\n\t\t@include focus-outline();\n\t\tgap: rem-calc(16);\n\t\tpadding: rem-calc(16);\n\t\tborder-radius: 0;\n\t\ttext-align: left;\n\t\ttransition: $t linear color;\n\t}\n\n\t// STATES\n\t&__header[aria-expanded=\"true\"] {\n\t\t.gov-icon {\n\t\t\ttransform: scale(-1);\n\t\t}\n\t}\n\n\t// VARIANTS\n\t&[size=\"#{$size-xs}\"],\n\t&[size=\"#{$size-s}\"],\n\t&[size=\"#{$size-m}\"] {\n\t\t#{$class} {\n\t\t\t&__title {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size\"));\n\t\t\t}\n\t\t\t&__annot {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-annot\"));\n\t\t\t}\n\t\t\t&__prefix {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-indicator\"));\n\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-xs, \"indicator-size\");\n\t\t\t\theight: deep-map-get($wizzard-sizes, $size-xs, \"indicator-size\");\n\t\t\t}\n\t\t\t&__content {\n\t\t\t\tpadding: deep-map-get($wizzard-sizes, $size-xs, \"content-padding\");\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $wizzard-core-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t@include parameter(\"collapsible\") {\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__header {\n\t\t\t\t\t\t@include hover() {\n\t\t\t\t\t\t\tcolor: get(\"hover-color\", $definitions);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// HOVERS\n\t@at-root button#{&}__header {\n\t\t@include button-core();\n\t\tjustify-content: flex-start;\n\t\ttext-align: left;\n\t}\n\n\t// MQ\n\t@include mq($from: sm) {\n\t\t&[size=\"#{$size-s}\"],\n\t\t&[size=\"#{$size-m}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-s, \"font-size\"));\n\t\t\t\t}\n\t\t\t\t&__annot {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-annot\"));\n\t\t\t\t}\n\t\t\t\t&__prefix {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-s, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizzard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tpadding: deep-map-get($wizzard-sizes, $size-m, \"content-padding\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: md) {\n\t\t&[size=\"#{$size-m}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-m, \"font-size\"));\n\t\t\t\t}\n\t\t\t\t&__annot {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-annot\"));\n\t\t\t\t}\n\t\t\t\t&__prefix {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-m, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizzard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tpadding: deep-map-get($wizzard-sizes, $size-m, \"content-padding\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { WizzardItemClass, VariantType, SizesType } from \"./constants\"\nimport { createID } from '../../utils/string.utils'\nimport { booleanString, toBoolAttrIfDefined, govHost } from '../../helpers/Dom/template'\nimport { GovWizzardItemChangeEvent } from './gov-wizzard-item.d'\nimport { Variants } from '../../core/constants/variants'\nimport { GovHost } from '../../helpers/Dom/template.d'\nimport { Sizes } from \"../../core/constants/sizes\"\n\nenum Tags {\n\tDIV = 'div',\n\tBUTTON = 'button',\n}\n\n@Component({\n\ttag: 'gov-wizzard-item',\n\tstyleUrl: 'gov-wizzard-item.scss',\n})\nexport class GovWizzardItem {\n\tprivate h: GovHost\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID('GovWizzardItem')\n\t\tthis.contentId = createID('GovWizzardContent')\n\t}\n\n\t@Element() readonly host: HTMLGovWizzardItemElement\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant: VariantType = Variants.PRIMARY\n\t/**\n\t * Size of wizzard\n\t */\n\t@Prop() readonly size: SizesType = Sizes._M\n\t/**\n\t * Custom wizzard item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defines wether the wizzard item can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Item annotation of the wizzard\n\t */\n\t@Prop() readonly annotation: string\n\t/**\n\t * Item label of the wizzard\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the wizzard component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by default\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Used to change the HMTL tag in the accordion trigger for correct semantic structure\n\t */\n\t@Prop({ attribute: 'label-tag' }) readonly labelTag: string = 'h3'\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovWizzardItemChangeEvent>\n\n\t@State() isExpandedState: boolean\n\n\t@Watch('label')\n\tprivate validateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${WizzardItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\t@Watch('labelTag')\n\tprivate validateTriggerTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${WizzardItemClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('variant')\n\tprivate validateVariant(newValue: string): void {\n\t\tvalidateProp(Variants, newValue, WizzardItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ open: this.isExpandedState, element: this.host })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpandedState = this.isExpanded\n\t\tthis.validateLabel(this.label)\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateTriggerTag(this.labelTag)\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst LabelTag = this.labelTag\n\t\tconst Tag = this.collapsible ? Tags.BUTTON : Tags.DIV\n\n\t\tconst label = (\n\t\t\t<LabelTag class={WizzardItemClass.title}>\n\t\t\t\t{this.h.hasSlot('prefix') && (\n\t\t\t\t\t<span class={WizzardItemClass.prefix}>\n\t\t\t\t\t\t<slot name=\"prefix\" />\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t\t<span class={WizzardItemClass.name}>\n\t\t\t\t\t<span class={WizzardItemClass.label}>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.collapsible &&\n\t\t\t\t\t\t\t<gov-icon class={WizzardItemClass.arrow} name=\"arrow-down\"></gov-icon>\n\t\t\t\t\t\t}\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{this.annotation &&\n\t\t\t\t\t\t<span class={WizzardItemClass.annot}>{this.annotation}</span>\n\t\t\t\t\t}\n\t\t\t\t</span>\n\t\t\t</LabelTag>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizzardItemClass.root)}\n\t\t\t variant={this.variant}\n\t\t\t size={this.size}\n\t\t\t role=\"listitem\"\n\t\t\t collapsible={this.collapsible}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<Tag\n\t\t\t\t\t\tid={triggerId}\n\t\t\t\t\t\tclass={WizzardItemClass.header}\n\t\t\t\t\t\taria-expanded={booleanString(this.isExpandedState)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\tonClick={() => (this.collapsible ? this.toggle() : false)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</Tag>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizzardItemClass.header}>{label}</div>\n\t\t\t\t)}\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={WizzardItemClass.content}\n\t\t\t\t\t\tid={this.contentId}\n\t\t\t\t\t\taria-hidden={booleanString(!this.isExpandedState)}\n\t\t\t\t\t\thidden={!this.isExpandedState}\n\t\t\t\t\t\taria-labelledby={triggerId}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizzardItemClass.content} aria-hidden={booleanString(!this.isExpandedState)} hidden={!this.isExpandedState}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the Wizzard\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpandedState = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the Wizzard\n\t */\n\t@Method()\n\tpublic async close(): Promise<void> {\n\t\tthis.isExpandedState = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Wizzard switch\n\t */\n\t@Method()\n\tpublic async toggle(): Promise<void> {\n\t\tthis.isExpandedState = !this.isExpandedState\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tpublic async currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-wizzard-item.entry.cjs.js","mappings":"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","names":["govHost","createID","govErrorLog","WizzardItemClass","validateProp","WizardVariants","h","Host","booleanString","toBoolAttrIfDefined"],"sources":["../../../packages/core/src/components/gov-wizzard/gov-wizzard-item.scss?tag=gov-wizzard-item","../../../packages/core/src/components/gov-wizzard/gov-wizzard-item.tsx"],"sourcesContent":["/*\n * Wizzard - Item\n */\n\n@import \"../gov-wizzard/gov-wizzard-item-core.scss\";\n$class: \".gov-wizzard-item\";\n\n#{$class} {\n\t@include wizzard-item-core;\n\tmargin-bottom: rem-calc(16);\n\tbackground: $wizzard-bg-color;\n\t&__header {\n\t\t@include focus-outline();\n\t\tgap: rem-calc(16);\n\t\tpadding: rem-calc(16);\n\t\tborder-radius: 0;\n\t\ttext-align: left;\n\t\ttransition: $t linear color;\n\t}\n\n\t// STATES\n\t&__header[aria-expanded=\"true\"] {\n\t\t#{$class}__label {\n\t\t\t.gov-icon {\n\t\t\t\ttransform: scale(-1);\n\t\t\t}\n\t\t}\n\t}\n\n\t// VARIANTS\n\t&[size=\"#{$size-xs}\"],\n\t&[size=\"#{$size-s}\"],\n\t&[size=\"#{$size-m}\"] {\n\t\t#{$class} {\n\t\t\t&__title {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size\"));\n\t\t\t}\n\t\t\t&__annot {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-annot\"));\n\t\t\t}\n\t\t\t&__prefix {\n\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-xs, \"font-size-indicator\"));\n\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-xs, \"indicator-size\");\n\t\t\t\theight: deep-map-get($wizzard-sizes, $size-xs, \"indicator-size\");\n\t\t\t}\n\t\t\t&__content {\n\t\t\t\tpadding: $wizzard-content-padding;\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $wizzard-core-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t@include parameter(\"collapsible\") {\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__header {\n\t\t\t\t\t\t@include hover() {\n\t\t\t\t\t\t\tcolor: get(\"hover-color\", $definitions);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// HOVERS\n\t@at-root button#{&}__header {\n\t\t@include button-core();\n\t\tjustify-content: flex-start;\n\t\ttext-align: left;\n\t}\n\n\t// MQ\n\t@include mq($from: sm) {\n\t\t&[size=\"#{$size-s}\"],\n\t\t&[size=\"#{$size-m}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-s, \"font-size\"));\n\t\t\t\t}\n\t\t\t\t&__prefix {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-s, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizzard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: md) {\n\t\t&[size=\"#{$size-m}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-m, \"font-size\"));\n\t\t\t\t}\n\t\t\t\t&__prefix {\n\t\t\t\t\t@include typography(deep-map-get($wizzard-sizes, $size-m, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizzard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizzard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t@each $size, $definitions in $wizzard-sizes {\n\t\t\t&[size=\"#{$size}\"] {\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__content {\n\t\t\t\t\t\tpadding: get(\"content-padding\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { WizzardItemClass, WizardVariantsType, WizardSizesType, WizardVariants } from './constants'\nimport { createID } from '../../utils/string.utils'\nimport { booleanString, toBoolAttrIfDefined, govHost } from '../../helpers/Dom/template'\nimport { GovWizzardItemChangeEvent } from './gov-wizzard-item.d'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\nenum Tags {\n\tDIV = 'div',\n\tBUTTON = 'button',\n}\n\n@Component({\n\ttag: 'gov-wizzard-item',\n\tstyleUrl: 'gov-wizzard-item.scss',\n})\nexport class GovWizzardItem {\n\tprivate h: GovHost\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID('GovWizzardItem')\n\t\tthis.contentId = createID('GovWizzardContent')\n\t}\n\n\t@Element() readonly host: HTMLGovWizzardItemElement\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant?: WizardVariantsType = 'primary'\n\t/**\n\t * Size of wizzard\n\t */\n\t@Prop() readonly size?: WizardSizesType = 'm'\n\t/**\n\t * Custom wizzard item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defines wether the wizzard item can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Item annotation of the wizzard\n\t */\n\t@Prop() readonly annotation: string\n\t/**\n\t * Item label of the wizzard\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the wizzard component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by default\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Used to change the HMTL tag in the accordion trigger for correct semantic structure\n\t */\n\t@Prop({ attribute: 'label-tag' }) readonly labelTag: string = 'h3'\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovWizzardItemChangeEvent>\n\n\t@State() isExpandedState: boolean\n\n\t@Watch('label')\n\tprivate validateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${WizzardItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\t@Watch('labelTag')\n\tprivate validateTriggerTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${WizzardItemClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('variant')\n\tprivate validateVariant(newValue: string): void {\n\t\tvalidateProp(WizardVariants, newValue, WizzardItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ open: this.isExpandedState, element: this.host })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpandedState = this.isExpanded\n\t\tthis.validateLabel(this.label)\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateTriggerTag(this.labelTag)\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst LabelTag = this.labelTag\n\t\tconst Tag = this.collapsible ? Tags.BUTTON : Tags.DIV\n\n\t\tconst label = (\n\t\t\t<LabelTag class={WizzardItemClass.title}>\n\t\t\t\t{this.h.hasSlot('prefix') && (\n\t\t\t\t\t<span class={WizzardItemClass.prefix}>\n\t\t\t\t\t\t<slot name=\"prefix\" />\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t\t<span class={WizzardItemClass.name}>\n\t\t\t\t\t<span class={WizzardItemClass.label}>\n\t\t\t\t\t\t<span>{this.label}</span>\n\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizzardItemClass.arrow} name=\"chevron-down\"></gov-icon>}\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{this.annotation && <span class={WizzardItemClass.annot}>{this.annotation}</span>}\n\t\t\t\t</span>\n\t\t\t</LabelTag>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizzardItemClass.root)} variant={this.variant} size={this.size} role=\"listitem\" collapsible={this.collapsible}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<Tag\n\t\t\t\t\t\tid={triggerId}\n\t\t\t\t\t\tclass={WizzardItemClass.header}\n\t\t\t\t\t\taria-expanded={booleanString(this.isExpandedState)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\tonClick={() => (this.collapsible ? this.toggle() : false)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</Tag>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizzardItemClass.header}>{label}</div>\n\t\t\t\t)}\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={WizzardItemClass.content}\n\t\t\t\t\t\tid={this.contentId}\n\t\t\t\t\t\taria-hidden={booleanString(!this.isExpandedState)}\n\t\t\t\t\t\thidden={!this.isExpandedState}\n\t\t\t\t\t\taria-labelledby={triggerId}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizzardItemClass.content} aria-hidden={booleanString(!this.isExpandedState)} hidden={!this.isExpandedState}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the Wizzard\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpandedState = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the Wizzard\n\t */\n\t@Method()\n\tpublic async close(): Promise<void> {\n\t\tthis.isExpandedState = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Wizzard switch\n\t */\n\t@Method()\n\tpublic async toggle(): Promise<void> {\n\t\tthis.isExpandedState = !this.isExpandedState\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tpublic async currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"version":3}
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-356717ae.js');
6
- const props = require('./props-cc21d3d7.js');
7
- const constants = require('./constants-0c6897bc.js');
8
- const sizes = require('./sizes-79872c2a.js');
6
+ const props = require('./props-5f82e4c0.js');
7
+ const constants = require('./constants-21559414.js');
9
8
  const template = require('./template-e1c4ff78.js');
10
- const wcag = require('./wcag-eca97102.js');
11
- const win = require('./win-ac5c1806.js');
12
- const utils = require('./utils-4ae73637.js');
9
+ const wcag = require('./wcag-6efc0ab7.js');
10
+ const win = require('./win-84bda0aa.js');
11
+ const utils = require('./utils-c9b1bba3.js');
13
12
  require('./gov.log-0c9dca27.js');
14
- require('./variants-bacf037a.js');
13
+ require('./variants-f5ffeef3.js');
14
+ require('./sizes-79872c2a.js');
15
15
  require('./string.utils-0f08c48c.js');
16
16
 
17
17
  const govWizzardCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-wizzard{position:relative;display:block;width:100%}.gov-wizzard>*:last-child{margin-bottom:0}";
@@ -20,13 +20,13 @@ const GovWizzard = class {
20
20
  constructor(hostRef) {
21
21
  index.registerInstance(this, hostRef);
22
22
  this.govChange = index.createEvent(this, "gov-change", 7);
23
- this.size = sizes.Sizes._M;
23
+ this.size = 'm';
24
24
  this.wcagLabel = undefined;
25
25
  this.wcagLabelledBy = undefined;
26
26
  this.h = template.govHost(this.host);
27
27
  }
28
28
  validateSize(newValue) {
29
- props.validateProp(sizes.Sizes, newValue, constants.WizzardClass.root);
29
+ props.validateProp(constants.WizardSizes, newValue, constants.WizzardClass.root);
30
30
  }
31
31
  componentWillLoad() {
32
32
  this.validateSize(this.size);
@@ -1 +1 @@
1
- {"file":"gov-wizzard.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa,GAAG,yRAAyR;;MCgBlS,UAAU;EAItB;;;gBAMmCA,WAAK,CAAC,EAAE;;;IAL1C,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAmBO,YAAY,CAAC,QAAgB;IACpCC,kBAAY,CAACF,WAAK,EAAE,QAAQ,EAAEG,sBAAY,CAAC,IAAI,CAAC,CAAA;GAChD;EAED,iBAAiB;IAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC5B;EAED,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAACC,0BAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAgC;MAC1F,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;MACrC,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAuD;QAC5F,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;OAC7B,CAAC,CAAA;KACF,CAAC,CAAA;GACF;EAED,MAAM,kBAAkB;IACvB,IAAIC,2BAAuB,EAAE,EAAE;MAC9B,MAAMC,WAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAACL,sBAAY,CAAC,IAAI,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAC1EI,qBAAQ,CACF,EACP;GACD;;;;EAMM,MAAM,YAAY;IACxBE,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAEN,sBAAY,CAAC,IAAI,CAAC,CAAA;GACzE;;;;;;;;;;","names":["Sizes","govHost","validateProp","WizzardClass","WizzardItemClass","canValidateWcagOnRender","delay","h","Host","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-wizzard/gov-wizzard.scss?tag=gov-wizzard","../../../packages/core/src/components/gov-wizzard/gov-wizzard.tsx"],"sourcesContent":["/*\n * Wizzard\n */\n\n$class: \".gov-wizzard\";\n\n#{$class} {\n\t@include base();\n\t@include reset-last-margin();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { WizzardClass, WizzardItemClass, SizesType } from './constants'\nimport { GovWizzardItemCustomEvent } from '../../components'\nimport { GovWizzardItemChangeEvent } from './gov-wizzard-item.d'\nimport { Sizes } from '../../core/constants/sizes'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.d'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\n\n@Component({\n\ttag: 'gov-wizzard',\n\tstyleUrl: 'gov-wizzard.scss',\n})\nexport class GovWizzard {\n\tprivate h: GovHost\n\n\t@Element() readonly host: HTMLGovWizzardElement\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t/**\n\t * Size of wizzard\n\t */\n\t@Prop() readonly size: SizesType = Sizes._M\n\t/**\n\t * Adds accessible label for the wizzard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizzard children state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovWizzardItemChangeEvent>\n\n\t@Watch('size')\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, WizzardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizzardItemClass.root).forEach((child: HTMLGovWizzardItemElement) => {\n\t\t\tchild.setAttribute('size', this.size)\n\t\t\tchild.addEventListener('gov-change', (e: GovWizzardItemCustomEvent<GovWizzardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizzardClass.root)} role=\"list\" size={this.size}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, WizzardClass.root)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-wizzard.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa,GAAG,yRAAyR;;MCelS,UAAU;EAItB;;;gBAM0C,GAAG;;;IAL5C,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAmBO,YAAY,CAAC,QAAgB;IACpCC,kBAAY,CAACC,qBAAW,EAAE,QAAQ,EAAEC,sBAAY,CAAC,IAAI,CAAC,CAAA;GACtD;EAED,iBAAiB;IAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC5B;EAED,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAACC,0BAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAgC;MAC1F,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;MACrC,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAuD;QAC5F,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;OAC7B,CAAC,CAAA;KACF,CAAC,CAAA;GACF;EAED,MAAM,kBAAkB;IACvB,IAAIC,2BAAuB,EAAE,EAAE;MAC9B,MAAMC,WAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAACL,sBAAY,CAAC,IAAI,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAC1EI,qBAAQ,CACF,EACP;GACD;;;;EAMM,MAAM,YAAY;IACxBE,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAEN,sBAAY,CAAC,IAAI,CAAC,CAAA;GACzE;;;;;;;;;;","names":["govHost","validateProp","WizardSizes","WizzardClass","WizzardItemClass","canValidateWcagOnRender","delay","h","Host","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-wizzard/gov-wizzard.scss?tag=gov-wizzard","../../../packages/core/src/components/gov-wizzard/gov-wizzard.tsx"],"sourcesContent":["/*\n * Wizzard\n */\n\n$class: \".gov-wizzard\";\n\n#{$class} {\n\t@include base();\n\t@include reset-last-margin();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { WizzardClass, WizzardItemClass, WizardSizesType, WizardSizes } from './constants'\nimport { GovWizzardItemCustomEvent } from '../../components'\nimport { GovWizzardItemChangeEvent } from './gov-wizzard-item.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\n\n@Component({\n\ttag: 'gov-wizzard',\n\tstyleUrl: 'gov-wizzard.scss',\n})\nexport class GovWizzard {\n\tprivate h: GovHost\n\n\t@Element() readonly host: HTMLGovWizzardElement\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t/**\n\t * Size of wizzard\n\t */\n\t@Prop() readonly size?: WizardSizesType = 'm'\n\t/**\n\t * Adds accessible label for the wizzard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizzard children state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovWizzardItemChangeEvent>\n\n\t@Watch('size')\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizzardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizzardItemClass.root).forEach((child: HTMLGovWizzardItemElement) => {\n\t\t\tchild.setAttribute('size', this.size)\n\t\t\tchild.addEventListener('gov-change', (e: GovWizzardItemCustomEvent<GovWizzardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizzardClass.root)} role=\"list\" size={this.size}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, WizzardClass.root)\n\t}\n}\n"],"version":3}
@@ -2015,6 +2015,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2015
2015
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2016
2016
  /* webpackMode: "lazy" */
2017
2017
  './gov-form-multi-select.cjs.entry.js')); }).then(processMod, consoleError);
2018
+ case 'gov-form-password-power.cjs':
2019
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2020
+ /* webpackMode: "lazy" */
2021
+ './gov-form-password-power.cjs.entry.js')); }).then(processMod, consoleError);
2018
2022
  case 'gov-form-radio.cjs':
2019
2023
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2020
2024
  /* webpackMode: "lazy" */
@@ -2039,14 +2043,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2039
2043
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2040
2044
  /* webpackMode: "lazy" */
2041
2045
  './gov-layout.cjs.entry.js')); }).then(processMod, consoleError);
2042
- case 'gov-layout-aside.cjs':
2043
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2044
- /* webpackMode: "lazy" */
2045
- './gov-layout-aside.cjs.entry.js')); }).then(processMod, consoleError);
2046
- case 'gov-layout-content.cjs':
2046
+ case 'gov-layout-column.cjs':
2047
2047
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2048
2048
  /* webpackMode: "lazy" */
2049
- './gov-layout-content.cjs.entry.js')); }).then(processMod, consoleError);
2049
+ './gov-layout-column.cjs.entry.js')); }).then(processMod, consoleError);
2050
2050
  case 'gov-loading.cjs':
2051
2051
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2052
2052
  /* webpackMode: "lazy" */
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy(JSON.parse("[[\"gov-form-file.cjs\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"validateWcag\":[64]}]]],[\"gov-form-multi-select.cjs\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[8],\"size\":[8],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-modal.cjs\",[[4,\"gov-modal\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination.cjs\",[[0,\"gov-pagination\",{\"type\":[8],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[8],\"variant\":[8],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt.cjs\",[[4,\"gov-prompt\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs.cjs\",[[4,\"gov-tabs\",{\"type\":[8],\"variant\":[8],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-alert.cjs\",[[4,\"gov-alert\",{\"variant\":[8],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"closable\":[4]}]]],[\"gov-breadcrumbs.cjs\",[[0,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelded-by\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"validateWcag\":[64]}]]],[\"gov-loading.cjs\",[[4,\"gov-loading\",{\"loading\":[4]}]]],[\"gov-side-nav-item.cjs\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast.cjs\",[[4,\"gov-toast\",{\"variant\":[8],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-accordion-item.cjs\",[[4,\"gov-accordion-item\",{\"variant\":[8],\"identifier\":[1],\"size\":[8],\"label\":[1],\"annotation\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card.cjs\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox.cjs\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[8],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1]}]]],[\"gov-wizzard-item.cjs\",[[4,\"gov-wizzard-item\",{\"variant\":[1],\"size\":[8],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion.cjs\",[[4,\"gov-accordion\",{\"size\":[8],\"variant\":[8],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app.cjs\",[[0,\"gov-app\"]]],[\"gov-container.cjs\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-empty.cjs\",[[4,\"gov-empty\"]]],[\"gov-error-code.cjs\",[[4,\"gov-error-code\"]]],[\"gov-form-control.cjs\",[[4,\"gov-form-control\",{\"gap\":[8],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[8]}]]],[\"gov-form-group.cjs\",[[4,\"gov-form-group\"]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"legend\":[4]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[8],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\"]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[8],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-grid.cjs\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item.cjs\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout.cjs\",[[4,\"gov-layout\"]]],[\"gov-layout-aside.cjs\",[[4,\"gov-layout-aside\",{\"position\":[1]}]]],[\"gov-layout-content.cjs\",[[4,\"gov-layout-content\",{\"align\":[1]}]]],[\"gov-message.cjs\",[[4,\"gov-message\",{\"variant\":[8]}]]],[\"gov-nav.cjs\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item.cjs\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav.cjs\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-spacer.cjs\",[[0,\"gov-spacer\",{\"size\":[8],\"breakpoint\":[1]}]]],[\"gov-statsbar.cjs\",[[4,\"gov-statsbar\",{\"iconPosition\":[8,\"icon-position\"],\"variant\":[8]}]]],[\"gov-statsbar-item.cjs\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[8,\"icon-position\"]}]]],[\"gov-stepper.cjs\",[[4,\"gov-stepper\",{\"size\":[8]}]]],[\"gov-stepper-item.cjs\",[[4,\"gov-stepper-item\",{\"variant\":[8],\"size\":[8],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item.cjs\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[1],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tiles.cjs\",[[4,\"gov-tiles\",{\"columns\":[2]}]]],[\"gov-tooltip.cjs\",[[4,\"gov-tooltip\",{\"variant\":[8],\"size\":[8],\"position\":[1],\"message\":[1],\"identifier\":[1],\"icon\":[4],\"show\":[64],\"hide\":[64]}]]],[\"gov-tooltip-content.cjs\",[[4,\"gov-tooltip-content\",{\"isVisible\":[4,\"is-visible\"]}]]],[\"gov-wizzard.cjs\",[[4,\"gov-wizzard\",{\"size\":[8],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon.cjs\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input.cjs\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[8],\"success\":[4],\"size\":[8],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[8],\"inputType\":[8,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete.cjs\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[8],\"success\":[4],\"size\":[8],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"clearValue\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select.cjs\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[8],\"size\":[8],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-badge.cjs\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[8],\"type\":[8],\"tag\":[1],\"nativeType\":[8,\"native-type\"],\"variant\":[8],\"wcagLabel\":[1,\"wcag-label\"]}]]],[\"gov-attachments_3.cjs\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[8],\"identifier\":[64]}]]],[\"gov-backdrop.cjs\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"visible\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button.cjs\",[[4,\"gov-button\",{\"variant\":[8],\"size\":[8],\"type\":[8],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[4],\"nativeType\":[8,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"validateWcag\":[64]}]]]]"), options);
17
+ return index.bootstrapLazy(JSON.parse("[[\"gov-form-file.cjs\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"validateWcag\":[64]}]]],[\"gov-form-multi-select.cjs\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-modal.cjs\",[[4,\"gov-modal\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination.cjs\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[1],\"variant\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt.cjs\",[[4,\"gov-prompt\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs.cjs\",[[4,\"gov-tabs\",{\"type\":[1],\"variant\":[1],\"orientation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-alert.cjs\",[[4,\"gov-alert\",{\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"closable\":[4]}]]],[\"gov-breadcrumbs.cjs\",[[0,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelded-by\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"validateWcag\":[64]}]]],[\"gov-loading.cjs\",[[4,\"gov-loading\",{\"loading\":[4]}]]],[\"gov-side-nav-item.cjs\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast.cjs\",[[4,\"gov-toast\",{\"variant\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-accordion-item.cjs\",[[4,\"gov-accordion-item\",{\"variant\":[1],\"identifier\":[1],\"size\":[1],\"label\":[1],\"annotation\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card.cjs\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox.cjs\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1]}]]],[\"gov-wizzard-item.cjs\",[[4,\"gov-wizzard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion.cjs\",[[4,\"gov-accordion\",{\"size\":[1],\"variant\":[1],\"noBorder\":[4,\"no-border\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app.cjs\",[[0,\"gov-app\"]]],[\"gov-container.cjs\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-empty.cjs\",[[4,\"gov-empty\"]]],[\"gov-error-code.cjs\",[[4,\"gov-error-code\"]]],[\"gov-form-control.cjs\",[[4,\"gov-form-control\",{\"gap\":[1],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group.cjs\",[[4,\"gov-form-group\"]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"legend\":[4]}]]],[\"gov-form-password-power.cjs\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\"]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-grid.cjs\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item.cjs\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout.cjs\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column.cjs\",[[4,\"gov-layout-column\"]]],[\"gov-message.cjs\",[[4,\"gov-message\",{\"variant\":[1]}]]],[\"gov-nav.cjs\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item.cjs\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav.cjs\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-spacer.cjs\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]}]]],[\"gov-statsbar.cjs\",[[4,\"gov-statsbar\",{\"iconPosition\":[1,\"icon-position\"],\"variant\":[1]}]]],[\"gov-statsbar-item.cjs\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[1,\"icon-position\"]}]]],[\"gov-stepper.cjs\",[[4,\"gov-stepper\",{\"size\":[1]}]]],[\"gov-stepper-item.cjs\",[[4,\"gov-stepper-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item.cjs\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[1],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tiles.cjs\",[[4,\"gov-tiles\",{\"columns\":[2],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-tooltip.cjs\",[[4,\"gov-tooltip\",{\"variant\":[1],\"size\":[1],\"position\":[1],\"message\":[1],\"identifier\":[1],\"icon\":[4],\"show\":[64],\"hide\":[64]}]]],[\"gov-tooltip-content.cjs\",[[4,\"gov-tooltip-content\",{\"isVisible\":[4,\"is-visible\"]}]]],[\"gov-wizzard.cjs\",[[4,\"gov-wizzard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon.cjs\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input.cjs\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete.cjs\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"clearValue\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select.cjs\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-badge.cjs\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"tag\":[1],\"variant\":[1],\"wcagLabel\":[1,\"wcag-label\"]}]]],[\"gov-attachments_3.cjs\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[1],\"identifier\":[64]}]]],[\"gov-backdrop.cjs\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"visible\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button.cjs\",[[4,\"gov-button\",{\"variant\":[513],\"size\":[513],\"type\":[513],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"validateWcag\":[64]}]]]]"), options);
18
18
  });
19
19
  };
20
20
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  const gov_log = require('./gov.log-0c9dca27.js');
4
4
 
5
- const validateProp = (values, value, component) => {
6
- if (Array.isArray(values) === false)
7
- return;
5
+ // @TODO: deal with optional values
6
+ const validateProp = (valueEnum, value, component) => {
7
+ const values = Object.values(valueEnum);
8
8
  const isValid = values.indexOf(value) > -1;
9
9
  if (!isValid) {
10
10
  gov_log.govWarningLog(`[${component}]: Bad parameter with value (${value}). Available parameters are (${values.join(', ')}).`);
@@ -13,4 +13,4 @@ const validateProp = (values, value, component) => {
13
13
 
14
14
  exports.validateProp = validateProp;
15
15
 
16
- //# sourceMappingURL=props-cc21d3d7.js.map
16
+ //# sourceMappingURL=props-5f82e4c0.js.map
@@ -0,0 +1 @@
1
+ {"file":"props-5f82e4c0.js","mappings":";;;;AAEA;MACa,YAAY,GAAG,CAAmC,SAAY,EAAE,KAAa,EAAE,SAAiB;EAC5G,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;EACvC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;EAC1C,IAAI,CAAC,OAAO,EAAE;IACbA,qBAAa,CAAC,IAAI,SAAS,gCAAgC,KAAK,gCAAgC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GACtH;AACF;;;;","names":["govWarningLog"],"sources":["../../../packages/core/src/helpers/Validate/props.ts"],"sourcesContent":["import { govWarningLog } from '../Log/gov.log'\n\n// @TODO: deal with optional values\nexport const validateProp = <T extends Record<string, string>>(valueEnum: T, value: string, component: string): void => {\n\tconst values = Object.values(valueEnum)\n\tconst isValid = values.indexOf(value) > -1\n\tif (!isValid) {\n\t\tgovWarningLog(`[${component}]: Bad parameter with value (${value}). Available parameters are (${values.join(', ')}).`)\n\t}\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"template-e1c4ff78.js","mappings":"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","names":[],"sources":["../../../packages/core/src/helpers/Dom/template.ts"],"sourcesContent":["import { HTMLStencilElement } from '@stencil/core/internal'\nimport { GovHost } from './template.d'\nimport { Nullable } from \"../../types/interfaces\";\n\nexport const prepareClasses = (classes: string[]): string => {\n\tif (Array.isArray(classes) === false) return\n\treturn classes\n\t\t.filter(classname => !!classname)\n\t\t.join(' ')\n\t\t.trim()\n}\n\nexport const slottedChildren = (host: HTMLStencilElement): Node[] => {\n\tconst slotted = host.querySelector('slot') as HTMLSlotElement\n\tif (slotted) {\n\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\treturn node.nodeName !== '#text'\n\t\t})\n\t}\n\treturn []\n}\n\nexport const booleanString = (value: boolean): string => {\n\treturn value ? 'true' : 'false'\n}\n\nexport const govHost = (host: HTMLStencilElement): GovHost => {\n\treturn {\n\t\tget hostElement(): HTMLStencilElement {\n\t\t\treturn host\n\t\t},\n\t\tget name(): string {\n\t\t\treturn this.hostElement.nodeName.toLowerCase()\n\t\t},\n\t\thasSlot(name: string): boolean {\n\t\t\treturn !!this.getSlot(name)\n\t\t},\n\t\tgetSlot(name: string): HTMLElement {\n\t\t\treturn this.hostElement.querySelector('[slot=\"' + name + '\"]')\n\t\t},\n\t\tgetParent(element): Nullable<HTMLElement> {\n\t\t\treturn this.hostElement.closest(element)\n\t\t},\n\t\tpassChildAttr(selector: string | string[], name: string, value: any): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t}\n\t\t},\n\t\tremoveChildAttr(selector: string | string[], name: string): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t}\n\t\t},\n\t\tget slottedChildren(): Node[] {\n\t\t\tconst slotted = this.hostElement.shadowRoot.querySelector('slot') as HTMLSlotElement\n\t\t\tif (slotted) {\n\t\t\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\t\t\treturn node.nodeName !== '#text'\n\t\t\t\t})\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tclasses(classes: string | string[]): string {\n\t\t\tconst clearClasses = Array.isArray(classes) ? classes.join(' ') : classes\n\t\t\tif (this.hostElement) {\n\t\t\t\treturn this.hostElement.classList.toString() + ' ' + clearClasses\n\t\t\t}\n\t\t\treturn clearClasses\n\t\t},\n\t}\n}\n\nexport const toBoolAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1 ? 'true' : 'false'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'true' : 'false'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'true' : 'false'\n\t} else {\n\t\treturn value ? 'true' : 'false'\n\t}\n}\n\nexport const toOnOffAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1', 'On', 'on', 'ON'].indexOf(value) !== -1 ? 'on' : 'off'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'on' : 'off'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'on' : 'off'\n\t} else {\n\t\treturn value ? 'on' : 'off'\n\t}\n}\n\nexport const toBoolAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toBoolAttr(value)\n}\n\nexport const toOnOffAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toOnOffAttr(value)\n}\n"],"version":3}
1
+ {"file":"template-e1c4ff78.js","mappings":"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","names":[],"sources":["../../../packages/core/src/helpers/Dom/template.ts"],"sourcesContent":["import { HTMLStencilElement } from '@stencil/core/internal'\nimport { GovHost } from './template.types'\nimport { Nullable } from '../../types/interfaces'\n\nexport const prepareClasses = (classes: string[]): string => {\n\tif (Array.isArray(classes) === false) return\n\treturn classes\n\t\t.filter(classname => !!classname)\n\t\t.join(' ')\n\t\t.trim()\n}\n\nexport const slottedChildren = (host: HTMLStencilElement): Node[] => {\n\tconst slotted = host.querySelector('slot') as HTMLSlotElement\n\tif (slotted) {\n\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\treturn node.nodeName !== '#text'\n\t\t})\n\t}\n\treturn []\n}\n\nexport const booleanString = (value: boolean): string => {\n\treturn value ? 'true' : 'false'\n}\n\nexport const govHost = (host: HTMLStencilElement): GovHost => {\n\treturn {\n\t\tget hostElement(): HTMLStencilElement {\n\t\t\treturn host\n\t\t},\n\t\tget name(): string {\n\t\t\treturn this.hostElement.nodeName.toLowerCase()\n\t\t},\n\t\thasSlot(name: string): boolean {\n\t\t\treturn !!this.getSlot(name)\n\t\t},\n\t\tgetSlot(name: string): HTMLElement {\n\t\t\treturn this.hostElement.querySelector('[slot=\"' + name + '\"]')\n\t\t},\n\t\tgetParent(element): Nullable<HTMLElement> {\n\t\t\treturn this.hostElement.closest(element)\n\t\t},\n\t\tpassChildAttr(selector: string | string[], name: string, value: any): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t}\n\t\t},\n\t\tremoveChildAttr(selector: string | string[], name: string): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t}\n\t\t},\n\t\tget slottedChildren(): Node[] {\n\t\t\tconst slotted = this.hostElement.shadowRoot.querySelector('slot') as HTMLSlotElement\n\t\t\tif (slotted) {\n\t\t\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\t\t\treturn node.nodeName !== '#text'\n\t\t\t\t})\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tclasses(classes: string | string[]): string {\n\t\t\tconst clearClasses = Array.isArray(classes) ? classes.join(' ') : classes\n\t\t\tif (this.hostElement) {\n\t\t\t\treturn this.hostElement.classList.toString() + ' ' + clearClasses\n\t\t\t}\n\t\t\treturn clearClasses\n\t\t},\n\t}\n}\n\nexport const toBoolAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1 ? 'true' : 'false'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'true' : 'false'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'true' : 'false'\n\t} else {\n\t\treturn value ? 'true' : 'false'\n\t}\n}\n\nexport const toOnOffAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1', 'On', 'on', 'ON'].indexOf(value) !== -1 ? 'on' : 'off'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'on' : 'off'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'on' : 'off'\n\t} else {\n\t\treturn value ? 'on' : 'off'\n\t}\n}\n\nexport const toBoolAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toBoolAttr(value)\n}\n\nexport const toOnOffAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toOnOffAttr(value)\n}\n"],"version":3}
@@ -30,10 +30,12 @@ const has = (prop, obj) => {
30
30
  const property = (name, object) => {
31
31
  return has(name, object) ? object[name] : undefined;
32
32
  };
33
+ const pick = (obj, keys) => Object.fromEntries(Object.entries(obj).filter(([key]) => keys.includes(key)));
33
34
 
34
35
  exports.delay = delay;
35
36
  exports.has = has;
37
+ exports.pick = pick;
36
38
  exports.property = property;
37
39
  exports.throttle = throttle;
38
40
 
39
- //# sourceMappingURL=utils-4ae73637.js.map
41
+ //# sourceMappingURL=utils-c9b1bba3.js.map
@@ -0,0 +1 @@
1
+ {"file":"utils-c9b1bba3.js","mappings":";;AAIO,eAAe,KAAK,CAAC,WAAmB;EAC9C,OAAO,IAAI,OAAO,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAA;AAChE,CAAC;SAEe,QAAQ,CAAC,CAAoB,EAAE,KAAa;EAC3D,IAAI,KAAK,GAAQ,CAAC,CAAA;EAClB,OAAO,UAAU,GAAG,IAAI;IACvB,YAAY,CAAC,KAAK,CAAC,CAAA;IACnB,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA;GACpD,CAAA;AACF,CAAC;AAED;;;;;;;MAOa,GAAG,GAAG,CAA6C,IAAO,EAAE,GAAM;EAC9E,OAAO,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;AACvD,EAAC;AAED;;;;;;;MAOa,QAAQ,GAAG,CAAsC,IAAO,EAAE,MAAS;EAC/E,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAA;AACpD,EAAC;MAEY,IAAI,GAAG,CAAuD,GAAM,EAAE,IAAkB,KACpG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAM,IAA0B,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;;;;;;;;","names":[],"sources":["../../../packages/core/src/utils/utils.ts"],"sourcesContent":["export function format(first: string, middle: string, last: string): string {\n\treturn (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '')\n}\n\nexport async function delay(miliseconds: number): Promise<void> {\n\treturn new Promise(resolve => setTimeout(resolve, miliseconds))\n}\n\nexport function throttle(f: (entries) => void, delay: number) {\n\tlet timer: any = 0\n\treturn function (...args) {\n\t\tclearTimeout(timer)\n\t\ttimer = setTimeout(() => f.apply(this, args), delay)\n\t}\n}\n\n/**\n * Checks if object has that property\n *\n * @param {K} prop\n * @param {T} obj\n * @return {obj is T & Record<K, V>}\n */\nexport const has = <T extends object, K extends PropertyKey, V>(prop: K, obj: T): obj is T & Record<K, V> => {\n\treturn Object.prototype.hasOwnProperty.call(obj, prop)\n}\n\n/**\n * Returns property of given Object\n *\n * @param {K} name\n * @param {T} object\n * @return {(T & Record<K, unknown>)[K]}\n */\nexport const property = <T extends object, K extends keyof T>(name: K, object: T) => {\n\treturn has(name, object) ? object[name] : undefined\n}\n\nexport const pick = <T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: readonly K[]): Pick<T, K> =>\n\tObject.fromEntries(Object.entries(obj).filter(([key]) => (keys as readonly string[]).includes(key))) as Pick<T, K>\n"],"version":3}
@@ -9,10 +9,10 @@ exports.Variants = void 0;
9
9
  Variants["WARNING"] = "warning";
10
10
  Variants["CUSTOM"] = "custom";
11
11
  })(exports.Variants || (exports.Variants = {}));
12
- var Types;
12
+ exports.Types = void 0;
13
13
  (function (Types) {
14
14
  Types["CLASSIC"] = "classic";
15
15
  Types["SOLID"] = "solid";
16
- })(Types || (Types = {}));
16
+ })(exports.Types || (exports.Types = {}));
17
17
 
18
- //# sourceMappingURL=variants-bacf037a.js.map
18
+ //# sourceMappingURL=variants-f5ffeef3.js.map
@@ -0,0 +1 @@
1
+ {"file":"variants-f5ffeef3.js","mappings":";;AAAYA;AAAZ,WAAY,QAAQ;EACnB,+BAAmB,CAAA;EACnB,mCAAuB,CAAA;EACvB,+BAAmB,CAAA;EACnB,2BAAe,CAAA;EACf,+BAAmB,CAAA;EACnB,6BAAiB,CAAA;AAClB,CAAC,EAPWA,gBAAQ,KAARA,gBAAQ,QAOnB;AAEWC;AAAZ,WAAY,KAAK;EAChB,4BAAmB,CAAA;EACnB,wBAAe,CAAA;AAChB,CAAC,EAHWA,aAAK,KAALA,aAAK;;","names":["Variants","Types"],"sources":["../../../packages/core/src/core/constants/variants.ts"],"sourcesContent":["export enum Variants {\n\tPRIMARY = 'primary',\n\tSECONDARY = 'secondary',\n\tSUCCESS = 'success',\n\tERROR = 'error',\n\tWARNING = 'warning',\n\tCUSTOM = 'custom',\n}\n\nexport enum Types {\n\tCLASSIC = 'classic',\n\tSOLID = 'solid',\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  const gov_log = require('./gov.log-0c9dca27.js');
4
4
  const string_utils = require('./string.utils-0f08c48c.js');
5
- const win = require('./win-ac5c1806.js');
5
+ const win = require('./win-84bda0aa.js');
6
6
 
7
7
  const validateWcagProp = (value, propName, component) => {
8
8
  if (value === undefined || String(value).length === 0) {
@@ -64,4 +64,4 @@ exports.validateWcagLabelFor = validateWcagLabelFor;
64
64
  exports.validateWcagProp = validateWcagProp;
65
65
  exports.validateWcagRef = validateWcagRef;
66
66
 
67
- //# sourceMappingURL=wcag-eca97102.js.map
67
+ //# sourceMappingURL=wcag-6efc0ab7.js.map
@@ -0,0 +1 @@
1
+ {"file":"wcag-6efc0ab7.js","mappings":";;;;;;MAIa,gBAAgB,GAAG,CAAC,KAAyB,EAAE,QAAgB,EAAE,SAAiB;EAC9F,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;IACtDA,qBAAa,CAAC,IAAI,SAAS,WAAW,QAAQ,qDAAqD,CAAC,CAAA;GACpG;AACF,EAAC;MAEY,eAAe,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,SAAiB;EACnF,IAAI,OAAO,WAAW,KAAK,WAAW,IAAI,WAAW,KAAK,SAAS,EAAE;IACpE,OAAO,IAAI,CAAA;GACX;EACD,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;IACrCA,qBAAa,CAAC,IAAI,SAAS,iBAAiB,IAAI,mCAAmC,CAAC,CAAA;IACpF,OAAO,KAAK,CAAA;GACZ;EACD,IAAI,OAAO,GAAG,EAAE,CAAA;EAChB,MAAM,YAAY,GAAGC,8BAAiB,CAAC,WAAW,CAAC,CAAA;EACnD,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;IAChC,OAAO,GAAG,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC;MACxC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAA;KAC1B,CAAC,CAAA;GACF;EAED,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW;IAClC,IAAIC,gBAAY,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,EAAE;;MAExD,OAAO,KAAK,CAAA;KACZ;SAAM;MACN,OAAO,IAAI,CAAA;KACX;GACD,CAAC,CAAC,MAAM,CAAA;AACV,EAAC;MAEY,oBAAoB,GAAG,CAAC,OAAe,EAAE,UAA8B,EAAE,SAAiB;EACtG,MAAM,OAAO,GAAGA,gBAAY,EAAE,CAAC,aAAa,CAAC,QAAQ,OAAO,GAAG,CAAC,CAAA;EAChE,IAAI,OAAO,KAAK,IAAI,EAAE;IACrB,MAAM,YAAY,GAAGA,gBAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAA;IAC9D,IAAI,YAAY,KAAK,IAAI,EAAE;MAC1BF,qBAAa,CAAC,IAAI,SAAS,8EAA8E,CAAC,CAAA;MAC1G,OAAO,KAAK,CAAA;KACZ;GACD;EACD,OAAO,IAAI,CAAA;AACZ,EAAC;MAEY,iBAAiB,GAAG,CAAC,KAAyB,EAAE,UAA8B,EAAE,SAAiB;EAC7G,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;IAClD,OAAO,IAAI,CAAA;GACX;EACD,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;IAC5D,MAAM,YAAY,GAAGE,gBAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAA;IAC9D,IAAI,YAAY,EAAE;MACjB,OAAO,IAAI,CAAA;KACX;GACD;EACDF,qBAAa,CAAC,IAAI,SAAS,yEAAyE,CAAC,CAAA;EACrG,OAAO,KAAK,CAAA;AACb;;;;;;;","names":["govWarningLog","splitByWhitespace","documentNode"],"sources":["../../../packages/core/src/helpers/Validate/wcag.ts"],"sourcesContent":["import { govWarningLog } from '../Log/gov.log'\nimport { splitByWhitespace } from '../../utils/string.utils'\nimport { documentNode } from '../Dom/win'\n\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\n\tif (value === undefined || String(value).length === 0) {\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\n\t}\n}\n\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\n\t\treturn true\n\t}\n\tif (String(referenceId).length === 0) {\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\n\t\treturn false\n\t}\n\tlet strings = []\n\tconst referenceIds = splitByWhitespace(referenceId)\n\tif (Array.isArray(referenceIds)) {\n\t\tstrings = referenceIds.filter(function (e) {\n\t\t\treturn e.trim().length > 0\n\t\t})\n\t}\n\n\treturn !!strings.filter(referenceId => {\n\t\tif (documentNode().getElementById(referenceId) === null) {\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\n\t\t\treturn false\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}).length\n}\n\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\n\tif (labelEl === null) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl === null) {\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n\nexport const validateWcagLabel = (label: string | undefined, labelledBy: string | undefined, component: string): boolean => {\n\tif (typeof label === 'string' && label.length > 0) {\n\t\treturn true\n\t}\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl) {\n\t\t\treturn true\n\t\t}\n\t}\n\tgovWarningLog(`[${component}]: The element has no defined wcag-label or wcag-labelled-by attribute.`)\n\treturn false\n}\n"],"version":3}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- const utils = require('./utils-4ae73637.js');
3
+ const utils = require('./utils-c9b1bba3.js');
4
4
 
5
5
  const getWindowProperty = (name) => window && utils.property(name, window);
6
6
  const config = () => {
7
7
  const defaultConfig = {
8
8
  canValidateWcagOnRender: false,
9
9
  iconsPath: './assets/icons',
10
- documentNode: document ? document : null
10
+ documentNode: document ? document : null,
11
11
  };
12
12
  const windowProperty = getWindowProperty('GOV_DS_CONFIG');
13
13
  if (windowProperty) {
@@ -23,4 +23,4 @@ exports.canValidateWcagOnRender = canValidateWcagOnRender;
23
23
  exports.documentNode = documentNode;
24
24
  exports.iconsPath = iconsPath;
25
25
 
26
- //# sourceMappingURL=win-ac5c1806.js.map
26
+ //# sourceMappingURL=win-84bda0aa.js.map
@@ -0,0 +1 @@
1
+ {"file":"win-84bda0aa.js","mappings":";;;;AAQA,MAAM,iBAAiB,GAAG,CAAI,IAAY,KAA6B,MAAM,IAAIA,cAAQ,CAAC,IAA2B,EAAE,MAAM,CAAC,CAAA;AAE9H,MAAM,MAAM,GAAG;EACd,MAAM,aAAa,GAAY;IAC9B,uBAAuB,EAAE,KAAK;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,YAAY,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI;GACxC,CAAA;EAED,MAAM,cAAc,GAAG,iBAAiB,CAAU,eAAe,CAAC,CAAA;EAClE,IAAI,cAAc,EAAE;IACnB,uCAAY,aAAa,GAAK,cAAc,EAAE;GAC9C;EAED,OAAO,aAAa,CAAA;AACrB,CAAC,CAAA;MAEY,uBAAuB,GAAG,MAA0C,MAAM,EAAE,CAAC,wBAAuB;MACpG,SAAS,GAAG,MAA4B,MAAM,EAAE,CAAC,UAAS;MAC1D,YAAY,GAAG,MAA+B,MAAM,EAAE,CAAC;;;;;;","names":["property"],"sources":["../../../packages/core/src/helpers/Dom/win.ts"],"sourcesContent":["import { property } from '../../utils/utils'\n\ninterface IConfig {\n\tcanValidateWcagOnRender: boolean\n\ticonsPath: string\n\tdocumentNode: Document\n}\n\nconst getWindowProperty = <T>(name: string): Partial<T> | undefined => window && property(name as keyof typeof window, window)\n\nconst config = (): IConfig => {\n\tconst defaultConfig: IConfig = {\n\t\tcanValidateWcagOnRender: false,\n\t\ticonsPath: './assets/icons',\n\t\tdocumentNode: document ? document : null,\n\t}\n\n\tconst windowProperty = getWindowProperty<IConfig>('GOV_DS_CONFIG')\n\tif (windowProperty) {\n\t\treturn { ...defaultConfig, ...windowProperty }\n\t}\n\n\treturn defaultConfig\n}\n\nexport const canValidateWcagOnRender = (): IConfig['canValidateWcagOnRender'] => config().canValidateWcagOnRender\nexport const iconsPath = (): IConfig['iconsPath'] => config().iconsPath\nexport const documentNode = (): IConfig['documentNode'] => config().documentNode\n"],"version":3}
@@ -24,6 +24,7 @@
24
24
  "./components/gov-form/label/gov-form-label.js",
25
25
  "./components/gov-form/message/gov-form-message.js",
26
26
  "./components/gov-form/multiselect/gov-form-multi-select.js",
27
+ "./components/gov-form/password-power/gov-form-password-power.js",
27
28
  "./components/gov-form/radio/gov-form-radio.js",
28
29
  "./components/gov-form/search/gov-form-search.js",
29
30
  "./components/gov-form/select/gov-form-select.js",
@@ -31,8 +32,7 @@
31
32
  "./components/gov-grid/gov-grid-item.js",
32
33
  "./components/gov-grid/gov-grid.js",
33
34
  "./components/gov-icon/gov-icon.js",
34
- "./components/gov-layout/gov-layout-aside.js",
35
- "./components/gov-layout/gov-layout-content.js",
35
+ "./components/gov-layout/gov-layout-column.js",
36
36
  "./components/gov-layout/gov-layout.js",
37
37
  "./components/gov-loading/gov-loading.js",
38
38
  "./components/gov-message/gov-message.js",
@@ -1,7 +1,8 @@
1
- import { Sizes as GlobalSizes } from '../../core/constants/sizes';
2
- import { Variants as GlobalVariants } from '../../core/constants/variants';
3
- export const Sizes = [GlobalSizes._S, GlobalSizes._M, GlobalSizes._L, undefined];
4
- export const Variants = [undefined, GlobalVariants.PRIMARY, GlobalVariants.SECONDARY, GlobalVariants.CUSTOM];
1
+ import { Sizes } from '../../core/constants/sizes';
2
+ import { Variants } from '../../core/constants/variants';
3
+ import { pick } from '../../utils/utils';
4
+ export const AccordionSizes = pick(Sizes, ['_S', '_M', '_L']);
5
+ export const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM']);
5
6
  export const AccordionClass = {
6
7
  root: 'gov-accordion',
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-accordion/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAE1E,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,WAAW,CAAC,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,SAAS,CAAU,CAAA;AAGzF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,SAAS,EAAE,cAAc,CAAC,MAAM,CAAU,CAAA;AAGrH,MAAM,CAAC,MAAM,cAAc,GAAG;EAC7B,IAAI,EAAE,eAAe;CACrB,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG;EACjC,IAAI,EAAE,oBAAoB;EAC1B,MAAM,EAAE,4BAA4B;EACpC,KAAK,EAAE,2BAA2B;EAClC,IAAI,EAAE,0BAA0B;EAChC,MAAM,EAAE,4BAA4B;EACpC,KAAK,EAAE,2BAA2B;EAClC,KAAK,EAAE,2BAA2B;EAClC,IAAI,EAAE,0BAA0B;EAChC,KAAK,EAAE,2BAA2B;EAClC,OAAO,EAAE,6BAA6B;CACtC,CAAA","sourcesContent":["import { Sizes as GlobalSizes } from '../../core/constants/sizes'\nimport { Variants as GlobalVariants } from '../../core/constants/variants'\n\nexport const Sizes = [GlobalSizes._S, GlobalSizes._M, GlobalSizes._L, undefined] as const\nexport type SizeType = (typeof Sizes)[number]\n\nexport const Variants = [undefined, GlobalVariants.PRIMARY, GlobalVariants.SECONDARY, GlobalVariants.CUSTOM] as const\nexport type VariantType = (typeof Variants)[number]\n\nexport const AccordionClass = {\n\troot: 'gov-accordion',\n}\n\nexport const AccordionItemClass = {\n\troot: 'gov-accordion-item',\n\theader: 'gov-accordion-item__header',\n\tarrow: 'gov-accordion-item__arrow',\n\ticon: 'gov-accordion-item__icon',\n\tsuffix: 'gov-accordion-item__suffix',\n\ttitle: 'gov-accordion-item__title',\n\tlabel: 'gov-accordion-item__label',\n\tname: 'gov-accordion-item__name',\n\tannot: 'gov-accordion-item__annot',\n\tcontent: 'gov-accordion-item__content',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-accordion/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAGxC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAG7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAA;AAGnF,MAAM,CAAC,MAAM,cAAc,GAAG;EAC7B,IAAI,EAAE,eAAe;CACrB,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG;EACjC,IAAI,EAAE,oBAAoB;EAC1B,MAAM,EAAE,4BAA4B;EACpC,KAAK,EAAE,2BAA2B;EAClC,IAAI,EAAE,0BAA0B;EAChC,MAAM,EAAE,4BAA4B;EACpC,KAAK,EAAE,2BAA2B;EAClC,KAAK,EAAE,2BAA2B;EAClC,IAAI,EAAE,0BAA0B;EAChC,KAAK,EAAE,2BAA2B;EAClC,OAAO,EAAE,6BAA6B;CACtC,CAAA","sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const AccordionSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type AccordionSizeType = `${ValueOf<typeof AccordionSizes>}`\n\nexport const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM'])\nexport type AccordionVariantType = `${ValueOf<typeof AccordionVariants>}`\n\nexport const AccordionClass = {\n\troot: 'gov-accordion',\n}\n\nexport const AccordionItemClass = {\n\troot: 'gov-accordion-item',\n\theader: 'gov-accordion-item__header',\n\tarrow: 'gov-accordion-item__arrow',\n\ticon: 'gov-accordion-item__icon',\n\tsuffix: 'gov-accordion-item__suffix',\n\ttitle: 'gov-accordion-item__title',\n\tlabel: 'gov-accordion-item__label',\n\tname: 'gov-accordion-item__name',\n\tannot: 'gov-accordion-item__annot',\n\tcontent: 'gov-accordion-item__content',\n}\n"]}