@gov-design-system-ce/components 0.0.52 → 0.0.54

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 (523) hide show
  1. package/dist/cjs/{constants-0883e74c.js → constants-393e915a.js} +2 -2
  2. package/dist/cjs/{constants-0883e74c.js.map → constants-393e915a.js.map} +1 -1
  3. package/dist/cjs/constants-440cd5c8.js +29 -0
  4. package/dist/cjs/constants-440cd5c8.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +1 -1
  6. package/dist/cjs/gov-accordion-item.cjs.entry.js +13 -37
  7. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gov-accordion.cjs.entry.js +5 -5
  9. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  10. package/dist/cjs/gov-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/gov-app.cjs.entry.js +205 -367
  12. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  13. package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
  14. package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
  15. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  16. package/dist/cjs/gov-badge.cjs.entry.js +5 -11
  17. package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
  18. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -2
  19. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  20. package/dist/cjs/gov-button.cjs.entry.js +2 -2
  21. package/dist/cjs/gov-card.cjs.entry.js +2 -2
  22. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
  24. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gov-form-file.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-form-group.cjs.entry.js +7 -1
  28. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  29. package/dist/cjs/gov-form-input.cjs.entry.js +16 -14
  30. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  31. package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
  32. package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  34. package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
  35. package/dist/cjs/gov-icon.cjs.entry.js +26 -17
  36. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  37. package/dist/cjs/gov-modal.cjs.entry.js +2 -2
  38. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
  39. package/dist/cjs/gov-nav.cjs.entry.js +2 -2
  40. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/gov-prompt.cjs.entry.js +2 -2
  42. package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gov-side-nav.cjs.entry.js +2 -2
  44. package/dist/cjs/gov-skeleton.cjs.entry.js +2 -2
  45. package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
  46. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  47. package/dist/cjs/gov-statsbar.cjs.entry.js +3 -3
  48. package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
  49. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  51. package/dist/cjs/gov-tabs.cjs.entry.js +3 -3
  52. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  53. package/dist/cjs/gov-wizard-item.cjs.entry.js +114 -0
  54. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -0
  55. package/dist/cjs/{gov-wizzard.cjs.entry.js → gov-wizard.cjs.entry.js} +13 -13
  56. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -0
  57. package/dist/cjs/index-83edd4fe.js +4 -4
  58. package/dist/cjs/loader.cjs.js +1 -1
  59. package/dist/cjs/{wcag-b0321f09.js → wcag-d7912060.js} +2 -2
  60. package/dist/cjs/{wcag-b0321f09.js.map → wcag-d7912060.js.map} +1 -1
  61. package/dist/cjs/{win-53f637d4.js → win-0427c131.js} +4 -1
  62. package/dist/cjs/win-0427c131.js.map +1 -0
  63. package/dist/collection/collection-manifest.json +2 -2
  64. package/dist/collection/components/gov-accordion/constants.js +1 -1
  65. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  66. package/dist/collection/components/gov-accordion/gov-accordion-item.css +91 -90
  67. package/dist/collection/components/gov-accordion/gov-accordion-item.js +16 -117
  68. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  69. package/dist/collection/components/gov-accordion/gov-accordion.css +2 -2
  70. package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
  71. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  72. package/dist/collection/components/gov-alert/gov-alert.css +1 -1
  73. package/dist/collection/components/gov-app/gov-app.css +1 -1
  74. package/dist/collection/components/gov-app/gov-app.js +2 -2
  75. package/dist/collection/components/gov-app/gov-app.js.map +1 -1
  76. package/dist/collection/components/gov-attachments/gov-attachments-item.css +1 -1
  77. package/dist/collection/components/gov-attachments/gov-attachments.css +1 -1
  78. package/dist/collection/components/gov-backdrop/gov-backdrop.css +1 -1
  79. package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
  80. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  81. package/dist/collection/components/gov-badge/gov-badge.css +21 -21
  82. package/dist/collection/components/gov-badge/gov-badge.js +8 -40
  83. package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
  84. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +1 -1
  85. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +3 -3
  86. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  87. package/dist/collection/components/gov-button/default/gov-button.css +1 -1
  88. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +1 -1
  89. package/dist/collection/components/gov-card/gov-card.css +1 -1
  90. package/dist/collection/components/gov-container/gov-container.css +1 -1
  91. package/dist/collection/components/gov-control-group/constants.js +1 -1
  92. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  93. package/dist/collection/components/gov-control-group/gov-control-group.css +1 -1
  94. package/dist/collection/components/gov-control-group/gov-control-group.js +3 -3
  95. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  96. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +1 -1
  97. package/dist/collection/components/gov-empty/gov-empty.css +1 -1
  98. package/dist/collection/components/gov-error-code/gov-error-code.css +1 -1
  99. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +1 -1
  100. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +1 -1
  101. package/dist/collection/components/gov-form/control/gov-form-control.css +5 -5
  102. package/dist/collection/components/gov-form/file/gov-form-file.css +1 -1
  103. package/dist/collection/components/gov-form/group/constants.js +5 -0
  104. package/dist/collection/components/gov-form/group/constants.js.map +1 -1
  105. package/dist/collection/components/gov-form/group/gov-form-group.css +9 -2
  106. package/dist/collection/components/gov-form/group/gov-form-group.js +25 -0
  107. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  108. package/dist/collection/components/gov-form/input/gov-form-input.css +1 -1
  109. package/dist/collection/components/gov-form/input/gov-form-input.js +27 -19
  110. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  111. package/dist/collection/components/gov-form/label/gov-form-label.css +1 -1
  112. package/dist/collection/components/gov-form/message/gov-form-message.css +1 -1
  113. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +1 -1
  114. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +1 -1
  115. package/dist/collection/components/gov-form/radio/gov-form-radio.css +1 -1
  116. package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
  117. package/dist/collection/components/gov-form/select/gov-form-select.css +1 -1
  118. package/dist/collection/components/gov-form/switch/gov-form-switch.css +1 -1
  119. package/dist/collection/components/gov-grid/gov-grid-item.css +1 -1
  120. package/dist/collection/components/gov-grid/gov-grid.css +1 -1
  121. package/dist/collection/components/gov-icon/gov-icon.css +1 -1
  122. package/dist/collection/components/gov-icon/gov-icon.js +18 -9
  123. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  124. package/dist/collection/components/gov-layout/gov-layout-column.css +1 -1
  125. package/dist/collection/components/gov-layout/gov-layout.css +1 -1
  126. package/dist/collection/components/gov-loading/loading/gov-loading.css +1 -1
  127. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +1 -1
  128. package/dist/collection/components/gov-message/gov-message.css +1 -1
  129. package/dist/collection/components/gov-modal/gov-modal.css +1 -1
  130. package/dist/collection/components/gov-modal/gov-modal.js +8 -2
  131. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
  132. package/dist/collection/components/gov-nav/gov-nav-item.css +1 -1
  133. package/dist/collection/components/gov-nav/gov-nav.css +1 -1
  134. package/dist/collection/components/gov-pagination/gov-pagination.css +1 -1
  135. package/dist/collection/components/gov-promp/gov-prompt.css +1 -1
  136. package/dist/collection/components/gov-promp/gov-prompt.js +9 -4
  137. package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
  138. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +1 -1
  139. package/dist/collection/components/gov-side-nav/gov-side-nav.css +1 -1
  140. package/dist/collection/components/gov-spacer/constants.js +1 -1
  141. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  142. package/dist/collection/components/gov-spacer/gov-spacer.css +1 -1
  143. package/dist/collection/components/gov-spacer/gov-spacer.js +3 -3
  144. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  145. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +1 -1
  146. package/dist/collection/components/gov-statsbar/gov-statsbar.css +1 -1
  147. package/dist/collection/components/gov-statsbar/gov-statsbar.js +5 -5
  148. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
  149. package/dist/collection/components/gov-stepper/gov-stepper-item.css +23 -23
  150. package/dist/collection/components/gov-stepper/gov-stepper.css +1 -1
  151. package/dist/collection/components/gov-tabs/gov-tabs-item.css +1 -1
  152. package/dist/collection/components/gov-tabs/gov-tabs.css +1 -1
  153. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  154. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  155. package/dist/collection/components/gov-tile/container/gov-tiles.css +1 -1
  156. package/dist/collection/components/gov-tile/gov-tile.css +1 -1
  157. package/dist/collection/components/gov-toast/gov-toast.css +1 -1
  158. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +1 -1
  159. package/dist/collection/components/gov-tooltip/gov-tooltip.css +1 -1
  160. package/dist/collection/components/gov-wizard/constants.js +20 -0
  161. package/dist/collection/components/gov-wizard/constants.js.map +1 -0
  162. package/dist/collection/components/gov-wizard/gov-wizard-item.css +471 -0
  163. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +2 -0
  164. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -0
  165. package/dist/collection/components/{gov-wizzard/gov-wizzard-item.js → gov-wizard/gov-wizard-item.js} +35 -35
  166. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -0
  167. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +2 -0
  168. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -0
  169. package/dist/collection/components/{gov-wizzard/gov-wizzard.css → gov-wizard/gov-wizard.css} +4 -4
  170. package/dist/collection/components/{gov-wizzard/gov-wizzard.js → gov-wizard/gov-wizard.js} +20 -20
  171. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -0
  172. package/dist/collection/core/constants/tokens.js +17 -0
  173. package/dist/collection/core/constants/tokens.js.map +1 -0
  174. package/dist/collection/helpers/Dom/win.js +2 -0
  175. package/dist/collection/helpers/Dom/win.js.map +1 -1
  176. package/dist/collection/pages/Accordion.js +158 -326
  177. package/dist/collection/pages/Accordion.js.map +1 -1
  178. package/dist/collection/pages/Badge.js +6 -0
  179. package/dist/collection/pages/Badge.js.map +1 -1
  180. package/dist/collection/pages/{Wizzard.js → Wizard.js} +41 -41
  181. package/dist/collection/pages/Wizard.js.map +1 -0
  182. package/dist/collection/utils/icon.utils.js +8 -7
  183. package/dist/collection/utils/icon.utils.js.map +1 -1
  184. package/dist/components/gov-accordion-item.js +1 -1
  185. package/dist/components/gov-accordion-item.js.map +1 -1
  186. package/dist/components/gov-accordion.js +1 -1
  187. package/dist/components/gov-accordion.js.map +1 -1
  188. package/dist/components/gov-alert.js +1 -1
  189. package/dist/components/gov-alert.js.map +1 -1
  190. package/dist/components/gov-app.js +1 -1
  191. package/dist/components/gov-app.js.map +1 -1
  192. package/dist/components/gov-attachments-item.js +1 -1
  193. package/dist/components/gov-attachments.js +1 -1
  194. package/dist/components/gov-backdrop.js +1 -1
  195. package/dist/components/gov-badge.js +1 -1
  196. package/dist/components/gov-breadcrumbs.js +1 -1
  197. package/dist/components/gov-breadcrumbs.js.map +1 -1
  198. package/dist/components/gov-button.js +1 -1
  199. package/dist/components/gov-card.js +1 -1
  200. package/dist/components/gov-control-group.js.map +1 -1
  201. package/dist/components/gov-form-autocomplete.js +1 -1
  202. package/dist/components/gov-form-checkbox.js +1 -1
  203. package/dist/components/gov-form-control.js +1 -1
  204. package/dist/components/gov-form-control.js.map +1 -1
  205. package/dist/components/gov-form-file.js +1 -1
  206. package/dist/components/gov-form-group.js +1 -1
  207. package/dist/components/gov-form-group.js.map +1 -1
  208. package/dist/components/gov-form-input.js +1 -1
  209. package/dist/components/gov-form-multi-select.js +1 -1
  210. package/dist/components/gov-form-radio.js +1 -1
  211. package/dist/components/gov-form-select.js +1 -1
  212. package/dist/components/gov-form-switch.js +1 -1
  213. package/dist/components/gov-icon.js +1 -1
  214. package/dist/components/gov-loading.js +1 -1
  215. package/dist/components/gov-modal.js +1 -1
  216. package/dist/components/gov-modal.js.map +1 -1
  217. package/dist/components/gov-nav.js +1 -1
  218. package/dist/components/gov-pagination.js +1 -1
  219. package/dist/components/gov-prompt.js +1 -1
  220. package/dist/components/gov-prompt.js.map +1 -1
  221. package/dist/components/gov-side-nav-item.js +1 -1
  222. package/dist/components/gov-side-nav.js +1 -1
  223. package/dist/components/gov-side-nav.js.map +1 -1
  224. package/dist/components/gov-skeleton.js +1 -1
  225. package/dist/components/gov-skeleton.js.map +1 -1
  226. package/dist/components/gov-spacer.js +1 -1
  227. package/dist/components/gov-spacer.js.map +1 -1
  228. package/dist/components/gov-statsbar-item.js +1 -1
  229. package/dist/components/gov-statsbar.js +1 -1
  230. package/dist/components/gov-statsbar.js.map +1 -1
  231. package/dist/components/gov-stepper-item.js +1 -1
  232. package/dist/components/gov-stepper-item.js.map +1 -1
  233. package/dist/components/gov-tabs.js +1 -1
  234. package/dist/components/gov-tabs.js.map +1 -1
  235. package/dist/components/gov-tile.js +1 -1
  236. package/dist/components/gov-toast.js +1 -1
  237. package/dist/components/{gov-wizzard-item.d.ts → gov-wizard-item.d.ts} +4 -4
  238. package/dist/components/gov-wizard-item.js +2 -0
  239. package/dist/components/gov-wizard-item.js.map +1 -0
  240. package/dist/components/{gov-wizzard.d.ts → gov-wizard.d.ts} +4 -4
  241. package/dist/components/gov-wizard.js +2 -0
  242. package/dist/components/gov-wizard.js.map +1 -0
  243. package/dist/components/{p-1020a160.js → p-17ebfe85.js} +2 -2
  244. package/dist/components/p-37a7409e.js +2 -0
  245. package/dist/components/p-37a7409e.js.map +1 -0
  246. package/dist/components/{p-80b2c231.js → p-3a46b683.js} +2 -2
  247. package/dist/components/{p-386409dc.js → p-3e8a9e92.js} +2 -2
  248. package/dist/components/{p-386409dc.js.map → p-3e8a9e92.js.map} +1 -1
  249. package/dist/components/{p-ec26407a.js → p-560846c7.js} +2 -2
  250. package/dist/components/p-6834d779.js +2 -0
  251. package/dist/components/p-6834d779.js.map +1 -0
  252. package/dist/components/{p-ccc44ac1.js → p-8da17139.js} +2 -2
  253. package/dist/components/p-a2e601c5.js +2 -0
  254. package/dist/components/p-a2e601c5.js.map +1 -0
  255. package/dist/components/p-ae894a40.js +2 -0
  256. package/dist/components/{p-cd440c95.js → p-b9388dc1.js} +2 -2
  257. package/dist/components/p-b9388dc1.js.map +1 -0
  258. package/dist/components/p-c055eb68.js +2 -0
  259. package/dist/components/p-c055eb68.js.map +1 -0
  260. package/dist/components/p-cac3881f.js +2 -0
  261. package/dist/components/p-cac3881f.js.map +1 -0
  262. package/dist/components/{p-1026d931.js → p-d6ab5b8a.js} +2 -2
  263. package/dist/components/{p-d305407a.js → p-e9a01d67.js} +2 -2
  264. package/dist/core/core.esm.js +1 -1
  265. package/dist/core/core.esm.js.map +1 -1
  266. package/dist/core/p-06699657.entry.js +2 -0
  267. package/dist/core/p-06699657.entry.js.map +1 -0
  268. package/dist/core/{p-f969eec7.entry.js → p-0c1697ce.entry.js} +2 -2
  269. package/dist/core/p-0c1697ce.entry.js.map +1 -0
  270. package/dist/core/{p-a857915f.entry.js → p-0c769f1a.entry.js} +2 -2
  271. package/dist/core/{p-1020a160.js → p-17ebfe85.js} +2 -2
  272. package/dist/core/{p-9a3e3ace.entry.js → p-18ef9623.entry.js} +2 -2
  273. package/dist/core/{p-9a3e3ace.entry.js.map → p-18ef9623.entry.js.map} +1 -1
  274. package/dist/core/{p-eda868dc.entry.js → p-22a86871.entry.js} +2 -2
  275. package/dist/core/p-22a86871.entry.js.map +1 -0
  276. package/dist/core/{p-722218fd.entry.js → p-23385300.entry.js} +2 -2
  277. package/dist/core/p-23385300.entry.js.map +1 -0
  278. package/dist/core/{p-48349167.entry.js → p-33bf5974.entry.js} +2 -2
  279. package/dist/core/p-37a7409e.js +2 -0
  280. package/dist/core/p-37a7409e.js.map +1 -0
  281. package/dist/core/p-3b236ac2.entry.js +2 -0
  282. package/dist/core/p-3b236ac2.entry.js.map +1 -0
  283. package/dist/core/{p-3dbf7f49.js → p-3bacd021.js} +2 -2
  284. package/dist/core/{p-9f541022.entry.js → p-3d0ab343.entry.js} +2 -2
  285. package/dist/core/{p-e0c04c5f.entry.js → p-41e88980.entry.js} +2 -2
  286. package/dist/core/{p-e0c04c5f.entry.js.map → p-41e88980.entry.js.map} +1 -1
  287. package/dist/core/{p-5a855a15.entry.js → p-42c1935f.entry.js} +2 -2
  288. package/dist/core/p-44af4bc9.entry.js +2 -0
  289. package/dist/core/p-44af4bc9.entry.js.map +1 -0
  290. package/dist/core/{p-de3dc437.entry.js → p-48cfc1c6.entry.js} +2 -2
  291. package/dist/core/p-64f7e661.entry.js +2 -0
  292. package/dist/core/p-64f7e661.entry.js.map +1 -0
  293. package/dist/core/p-6834d779.js +2 -0
  294. package/dist/core/p-6834d779.js.map +1 -0
  295. package/dist/core/{p-9ad54c30.entry.js → p-70140f70.entry.js} +2 -2
  296. package/dist/core/{p-a68547b1.entry.js → p-81643870.entry.js} +2 -2
  297. package/dist/core/{p-11be550d.entry.js → p-82f64673.entry.js} +2 -2
  298. package/dist/core/p-82f64673.entry.js.map +1 -0
  299. package/dist/core/{p-6dacb8d3.entry.js → p-88010439.entry.js} +2 -2
  300. package/dist/core/p-88010439.entry.js.map +1 -0
  301. package/dist/core/p-89921159.entry.js.map +1 -1
  302. package/dist/core/{p-fa71fb92.entry.js → p-9d72d80b.entry.js} +2 -2
  303. package/dist/core/{p-1ae47d62.entry.js → p-a5d00433.entry.js} +2 -2
  304. package/dist/core/p-ab426e50.entry.js +2 -0
  305. package/dist/core/p-ab426e50.entry.js.map +1 -0
  306. package/dist/core/p-accf8575.entry.js +2 -0
  307. package/dist/core/p-accf8575.entry.js.map +1 -0
  308. package/dist/core/p-ae894a40.js +2 -0
  309. package/dist/core/p-b9b57928.entry.js +2 -0
  310. package/dist/core/p-b9b57928.entry.js.map +1 -0
  311. package/dist/core/p-bd1cb5bd.entry.js +2 -0
  312. package/dist/core/p-bd1cb5bd.entry.js.map +1 -0
  313. package/dist/core/{p-02c3a3fd.entry.js → p-bfb4d904.entry.js} +2 -2
  314. package/dist/core/{p-1e3cad4b.entry.js → p-c81d62db.entry.js} +2 -2
  315. package/dist/core/p-cac3881f.js +2 -0
  316. package/dist/core/p-cac3881f.js.map +1 -0
  317. package/dist/core/p-d1b7d8a6.entry.js +2 -0
  318. package/dist/core/p-d1b7d8a6.entry.js.map +1 -0
  319. package/dist/core/{p-3d720d54.entry.js → p-dbb46457.entry.js} +2 -2
  320. package/dist/core/{p-b5a560d2.entry.js → p-dfc080f2.entry.js} +2 -2
  321. package/dist/core/{p-2790d89e.entry.js → p-e1780dba.entry.js} +2 -2
  322. package/dist/core/p-e1780dba.entry.js.map +1 -0
  323. package/dist/core/{p-e1b3c361.entry.js → p-e769f3ee.entry.js} +2 -2
  324. package/dist/core/p-ea4459ae.entry.js +2 -0
  325. package/dist/core/p-ea4459ae.entry.js.map +1 -0
  326. package/dist/core/{p-d921bd4b.entry.js → p-f0a5847a.entry.js} +2 -2
  327. package/dist/core/{p-5150efee.entry.js → p-fc853777.entry.js} +2 -2
  328. package/dist/esm/constants-2499979c.js +24 -0
  329. package/dist/esm/constants-2499979c.js.map +1 -0
  330. package/dist/esm/{constants-037c35bc.js → constants-27b48cd1.js} +2 -2
  331. package/dist/esm/{constants-037c35bc.js.map → constants-27b48cd1.js.map} +1 -1
  332. package/dist/esm/{constants-ab132d9c.js → constants-858966b9.js} +2 -2
  333. package/dist/esm/{constants-ab132d9c.js.map → constants-858966b9.js.map} +1 -1
  334. package/dist/esm/{constants-5708696f.js → constants-ba92640d.js} +2 -2
  335. package/dist/esm/{constants-5708696f.js.map → constants-ba92640d.js.map} +1 -1
  336. package/dist/esm/core.js +1 -1
  337. package/dist/esm/gov-accordion-item.entry.js +13 -37
  338. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  339. package/dist/esm/gov-accordion.entry.js +5 -5
  340. package/dist/esm/gov-accordion.entry.js.map +1 -1
  341. package/dist/esm/gov-alert.entry.js +2 -2
  342. package/dist/esm/gov-app.entry.js +205 -367
  343. package/dist/esm/gov-app.entry.js.map +1 -1
  344. package/dist/esm/gov-attachments_3.entry.js +2 -2
  345. package/dist/esm/gov-backdrop.entry.js +2 -2
  346. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  347. package/dist/esm/gov-badge.entry.js +6 -12
  348. package/dist/esm/gov-badge.entry.js.map +1 -1
  349. package/dist/esm/gov-breadcrumbs.entry.js +2 -2
  350. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  351. package/dist/esm/gov-button.entry.js +3 -3
  352. package/dist/esm/gov-card.entry.js +2 -2
  353. package/dist/esm/gov-control-group.entry.js.map +1 -1
  354. package/dist/esm/gov-dropdown.entry.js +1 -1
  355. package/dist/esm/gov-form-checkbox.entry.js +2 -2
  356. package/dist/esm/gov-form-control.entry.js +1 -1
  357. package/dist/esm/gov-form-control.entry.js.map +1 -1
  358. package/dist/esm/gov-form-file.entry.js +2 -2
  359. package/dist/esm/gov-form-group.entry.js +7 -1
  360. package/dist/esm/gov-form-group.entry.js.map +1 -1
  361. package/dist/esm/gov-form-input.entry.js +16 -14
  362. package/dist/esm/gov-form-input.entry.js.map +1 -1
  363. package/dist/esm/gov-form-multi-select.entry.js +2 -2
  364. package/dist/esm/gov-form-radio.entry.js +2 -2
  365. package/dist/esm/gov-form-select.entry.js +2 -2
  366. package/dist/esm/gov-form-switch.entry.js +2 -2
  367. package/dist/esm/gov-icon.entry.js +26 -17
  368. package/dist/esm/gov-icon.entry.js.map +1 -1
  369. package/dist/esm/gov-modal.entry.js +2 -2
  370. package/dist/esm/gov-modal.entry.js.map +1 -1
  371. package/dist/esm/gov-nav.entry.js +2 -2
  372. package/dist/esm/gov-pagination.entry.js +2 -2
  373. package/dist/esm/gov-prompt.entry.js +2 -2
  374. package/dist/esm/gov-prompt.entry.js.map +1 -1
  375. package/dist/esm/gov-side-nav.entry.js +2 -2
  376. package/dist/esm/gov-skeleton.entry.js +2 -2
  377. package/dist/esm/gov-spacer.entry.js +2 -2
  378. package/dist/esm/gov-spacer.entry.js.map +1 -1
  379. package/dist/esm/gov-statsbar-item.entry.js +1 -1
  380. package/dist/esm/gov-statsbar.entry.js +4 -4
  381. package/dist/esm/gov-statsbar.entry.js.map +1 -1
  382. package/dist/esm/gov-stepper-item.entry.js +1 -1
  383. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  384. package/dist/esm/gov-tabs.entry.js +3 -3
  385. package/dist/esm/gov-tabs.entry.js.map +1 -1
  386. package/dist/esm/gov-wizard-item.entry.js +110 -0
  387. package/dist/esm/gov-wizard-item.entry.js.map +1 -0
  388. package/dist/esm/{gov-wizzard.entry.js → gov-wizard.entry.js} +13 -13
  389. package/dist/esm/gov-wizard.entry.js.map +1 -0
  390. package/dist/esm/index-ae3c50f1.js +4 -4
  391. package/dist/esm/loader.js +1 -1
  392. package/dist/esm/{wcag-afdfdddb.js → wcag-062e7ca9.js} +2 -2
  393. package/dist/esm/{wcag-afdfdddb.js.map → wcag-062e7ca9.js.map} +1 -1
  394. package/dist/esm/{win-7a1a8ac8.js → win-0a50f66e.js} +4 -2
  395. package/dist/esm/win-0a50f66e.js.map +1 -0
  396. package/dist/hydrate/index.js +311 -491
  397. package/dist/stencil.config.js +4 -5
  398. package/dist/stencil.config.js.map +1 -1
  399. package/dist/types/components/gov-accordion/constants.d.ts +1 -1
  400. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +1 -19
  401. package/dist/types/components/gov-app/gov-app.d.ts +1 -1
  402. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +1 -1
  403. package/dist/types/components/gov-badge/gov-badge.d.ts +3 -8
  404. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +2 -2
  405. package/dist/types/components/gov-control-group/constants.d.ts +2 -2
  406. package/dist/types/components/gov-control-group/gov-control-group.d.ts +2 -2
  407. package/dist/types/components/gov-form/group/constants.d.ts +5 -0
  408. package/dist/types/components/gov-form/group/gov-form-group.d.ts +5 -1
  409. package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -4
  410. package/dist/types/components/gov-icon/gov-icon.d.ts +1 -1
  411. package/dist/types/components/gov-modal/gov-modal.d.ts +2 -1
  412. package/dist/types/components/gov-promp/gov-prompt.d.ts +2 -1
  413. package/dist/types/components/gov-spacer/constants.d.ts +1 -1
  414. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +1 -1
  415. package/dist/types/components/{gov-wizzard → gov-wizard}/constants.d.ts +2 -2
  416. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  417. package/dist/types/components/{gov-wizzard/gov-wizzard-item.d.ts → gov-wizard/gov-wizard-item.d.ts} +13 -13
  418. package/dist/types/components/{gov-wizzard/gov-wizzard-item.types.d.ts → gov-wizard/gov-wizard-item.types.d.ts} +1 -1
  419. package/dist/types/components/{gov-wizzard/gov-wizzard.d.ts → gov-wizard/gov-wizard.d.ts} +7 -7
  420. package/dist/types/components.d.ts +81 -113
  421. package/dist/types/core/constants/tokens.d.ts +1 -0
  422. package/dist/types/helpers/Dom/win.d.ts +2 -0
  423. package/dist/types/pages/Wizard.d.ts +3 -0
  424. package/package.json +2 -2
  425. package/dist/cjs/constants-21559414.js +0 -29
  426. package/dist/cjs/constants-21559414.js.map +0 -1
  427. package/dist/cjs/gov-wizzard-item.cjs.entry.js +0 -114
  428. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +0 -1
  429. package/dist/cjs/gov-wizzard.cjs.entry.js.map +0 -1
  430. package/dist/cjs/win-53f637d4.js.map +0 -1
  431. package/dist/collection/components/gov-wizzard/constants.js +0 -20
  432. package/dist/collection/components/gov-wizzard/constants.js.map +0 -1
  433. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +0 -471
  434. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js +0 -2
  435. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js.map +0 -1
  436. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +0 -1
  437. package/dist/collection/components/gov-wizzard/gov-wizzard-item.types.js +0 -2
  438. package/dist/collection/components/gov-wizzard/gov-wizzard-item.types.js.map +0 -1
  439. package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +0 -1
  440. package/dist/collection/pages/Wizzard.js.map +0 -1
  441. package/dist/components/gov-wizzard-item.js +0 -2
  442. package/dist/components/gov-wizzard-item.js.map +0 -1
  443. package/dist/components/gov-wizzard.js +0 -2
  444. package/dist/components/gov-wizzard.js.map +0 -1
  445. package/dist/components/p-0f5e2b0a.js +0 -2
  446. package/dist/components/p-34152b51.js +0 -2
  447. package/dist/components/p-34152b51.js.map +0 -1
  448. package/dist/components/p-5bf5a42e.js +0 -2
  449. package/dist/components/p-5bf5a42e.js.map +0 -1
  450. package/dist/components/p-64ced668.js +0 -2
  451. package/dist/components/p-64ced668.js.map +0 -1
  452. package/dist/components/p-9da782bf.js +0 -2
  453. package/dist/components/p-9da782bf.js.map +0 -1
  454. package/dist/components/p-a5d69694.js +0 -2
  455. package/dist/components/p-a5d69694.js.map +0 -1
  456. package/dist/components/p-cd440c95.js.map +0 -1
  457. package/dist/core/p-0eadfb3e.entry.js +0 -2
  458. package/dist/core/p-0eadfb3e.entry.js.map +0 -1
  459. package/dist/core/p-0f5e2b0a.js +0 -2
  460. package/dist/core/p-11be550d.entry.js.map +0 -1
  461. package/dist/core/p-2790d89e.entry.js.map +0 -1
  462. package/dist/core/p-34152b51.js +0 -2
  463. package/dist/core/p-34152b51.js.map +0 -1
  464. package/dist/core/p-42cd2cc4.entry.js +0 -2
  465. package/dist/core/p-42cd2cc4.entry.js.map +0 -1
  466. package/dist/core/p-64ced668.js +0 -2
  467. package/dist/core/p-64ced668.js.map +0 -1
  468. package/dist/core/p-6dacb8d3.entry.js.map +0 -1
  469. package/dist/core/p-722218fd.entry.js.map +0 -1
  470. package/dist/core/p-7ab82a55.entry.js +0 -2
  471. package/dist/core/p-7ab82a55.entry.js.map +0 -1
  472. package/dist/core/p-9751af2e.entry.js +0 -2
  473. package/dist/core/p-9751af2e.entry.js.map +0 -1
  474. package/dist/core/p-9e208f40.entry.js +0 -2
  475. package/dist/core/p-9e208f40.entry.js.map +0 -1
  476. package/dist/core/p-a5d69694.js +0 -2
  477. package/dist/core/p-a5d69694.js.map +0 -1
  478. package/dist/core/p-abfa0beb.entry.js +0 -2
  479. package/dist/core/p-abfa0beb.entry.js.map +0 -1
  480. package/dist/core/p-ac94d242.entry.js +0 -2
  481. package/dist/core/p-ac94d242.entry.js.map +0 -1
  482. package/dist/core/p-d2729599.entry.js +0 -2
  483. package/dist/core/p-d2729599.entry.js.map +0 -1
  484. package/dist/core/p-e86db39c.entry.js +0 -2
  485. package/dist/core/p-e86db39c.entry.js.map +0 -1
  486. package/dist/core/p-eda868dc.entry.js.map +0 -1
  487. package/dist/core/p-f95bca5f.entry.js +0 -2
  488. package/dist/core/p-f95bca5f.entry.js.map +0 -1
  489. package/dist/core/p-f969eec7.entry.js.map +0 -1
  490. package/dist/esm/constants-bf5a583f.js +0 -24
  491. package/dist/esm/constants-bf5a583f.js.map +0 -1
  492. package/dist/esm/gov-wizzard-item.entry.js +0 -110
  493. package/dist/esm/gov-wizzard-item.entry.js.map +0 -1
  494. package/dist/esm/gov-wizzard.entry.js.map +0 -1
  495. package/dist/esm/win-7a1a8ac8.js.map +0 -1
  496. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.d.ts +0 -4
  497. package/dist/types/pages/Wizzard.d.ts +0 -3
  498. /package/dist/components/{p-1020a160.js.map → p-17ebfe85.js.map} +0 -0
  499. /package/dist/components/{p-80b2c231.js.map → p-3a46b683.js.map} +0 -0
  500. /package/dist/components/{p-ec26407a.js.map → p-560846c7.js.map} +0 -0
  501. /package/dist/components/{p-ccc44ac1.js.map → p-8da17139.js.map} +0 -0
  502. /package/dist/components/{p-0f5e2b0a.js.map → p-ae894a40.js.map} +0 -0
  503. /package/dist/components/{p-1026d931.js.map → p-d6ab5b8a.js.map} +0 -0
  504. /package/dist/components/{p-d305407a.js.map → p-e9a01d67.js.map} +0 -0
  505. /package/dist/core/{p-a857915f.entry.js.map → p-0c769f1a.entry.js.map} +0 -0
  506. /package/dist/core/{p-1020a160.js.map → p-17ebfe85.js.map} +0 -0
  507. /package/dist/core/{p-48349167.entry.js.map → p-33bf5974.entry.js.map} +0 -0
  508. /package/dist/core/{p-3dbf7f49.js.map → p-3bacd021.js.map} +0 -0
  509. /package/dist/core/{p-9f541022.entry.js.map → p-3d0ab343.entry.js.map} +0 -0
  510. /package/dist/core/{p-5a855a15.entry.js.map → p-42c1935f.entry.js.map} +0 -0
  511. /package/dist/core/{p-de3dc437.entry.js.map → p-48cfc1c6.entry.js.map} +0 -0
  512. /package/dist/core/{p-9ad54c30.entry.js.map → p-70140f70.entry.js.map} +0 -0
  513. /package/dist/core/{p-a68547b1.entry.js.map → p-81643870.entry.js.map} +0 -0
  514. /package/dist/core/{p-fa71fb92.entry.js.map → p-9d72d80b.entry.js.map} +0 -0
  515. /package/dist/core/{p-1ae47d62.entry.js.map → p-a5d00433.entry.js.map} +0 -0
  516. /package/dist/core/{p-0f5e2b0a.js.map → p-ae894a40.js.map} +0 -0
  517. /package/dist/core/{p-02c3a3fd.entry.js.map → p-bfb4d904.entry.js.map} +0 -0
  518. /package/dist/core/{p-1e3cad4b.entry.js.map → p-c81d62db.entry.js.map} +0 -0
  519. /package/dist/core/{p-3d720d54.entry.js.map → p-dbb46457.entry.js.map} +0 -0
  520. /package/dist/core/{p-b5a560d2.entry.js.map → p-dfc080f2.entry.js.map} +0 -0
  521. /package/dist/core/{p-e1b3c361.entry.js.map → p-e769f3ee.entry.js.map} +0 -0
  522. /package/dist/core/{p-d921bd4b.entry.js.map → p-f0a5847a.entry.js.map} +0 -0
  523. /package/dist/core/{p-5150efee.entry.js.map → p-fc853777.entry.js.map} +0 -0
@@ -0,0 +1,114 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-83edd4fe.js');
6
+ const gov_log = require('./gov.log-0c9dca27.js');
7
+ const props = require('./props-5f82e4c0.js');
8
+ const constants = require('./constants-440cd5c8.js');
9
+ const string_utils = require('./string.utils-0f08c48c.js');
10
+ const template = require('./template-e1c4ff78.js');
11
+ const Fragment = require('./Fragment-52846f79.js');
12
+ require('./variants-f5ffeef3.js');
13
+ require('./sizes-79872c2a.js');
14
+ require('./utils-c9b1bba3.js');
15
+
16
+ const govWizardItemCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-wizard-item{position:relative;display:block;width:100%;margin-bottom:1rem;background:var(--gov-wizard-bg-color, var(--gov-color-neutral-white))}.gov-wizard-item__header{position:relative;width:100%}.gov-wizard-item__arrow{flex:0 0 auto;width:0.75rem;height:0.75rem}.gov-wizard-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-wizard-item__prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;border-radius:50%;text-align:center}.gov-wizard-item__prefix .gov-icon{width:45%;height:45%}.gov-wizard-item__prefix span[slot=prefix]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.gov-wizard-item__name{display:flex;flex-direction:column}.gov-wizard-item__label{display:flex;gap:0.5rem;align-items:center;font-weight:var(--gov-wizard-title-font-weight, 400)}.gov-wizard-item__annot{color:var(--gov-color-secondary)}.gov-wizard-item__content>*:last-child{margin-bottom:0}.gov-wizard-item[variant=primary] .gov-wizard-item__header{color:var(--gov-wizard-primary-color, var(--gov-color-primary-800))}.gov-wizard-item[variant=primary] .gov-wizard-item__prefix{background:var(--gov-wizard-primary-indicator-bg, var(--gov-color-primary-300));color:var(--gov-wizard-primary-indicator-color, var(--gov-color-primary-800))}.gov-wizard-item[variant=secondary] .gov-wizard-item__header{color:var(--gov-wizard-secondary-color, var(--gov-color-secondary-700))}.gov-wizard-item[variant=secondary] .gov-wizard-item__prefix{background:var(--gov-wizard-secondary-indicator-bg, var(--gov-color-secondary-400));color:var(--gov-wizard-secondary-indicator-color, var(--gov-color-secondary-700))}.gov-wizard-item[variant=success] .gov-wizard-item__header{color:var(--gov-wizard-success-color, var(--gov-color-success-500))}.gov-wizard-item[variant=success] .gov-wizard-item__prefix{background:var(--gov-wizard-success-indicator-bg, var(--gov-color-success));color:var(--gov-wizard-success-indicator-color, var(--gov-color-neutral-white))}.gov-wizard-item[variant=error] .gov-wizard-item__header{color:var(--gov-wizard-error-color, var(--gov-color-error-500))}.gov-wizard-item[variant=error] .gov-wizard-item__prefix{background:var(--gov-wizard-error-indicator-bg, var(--gov-color-error));color:var(--gov-wizard-error-indicator-color, var(--gov-color-neutral-white))}.gov-wizard-item[variant=warning] .gov-wizard-item__header{color:var(--gov-wizard-warning-color, var(--gov-color-warning-500))}.gov-wizard-item[variant=warning] .gov-wizard-item__prefix{background:var(--gov-wizard-warning-indicator-bg, var(--gov-color-warning));color:var(--gov-wizard-warning-indicator-color, var(--gov-color-neutral-white))}.gov-wizard-item__header{gap:1rem;padding:1rem;border-radius:0;text-align:left;transition:150ms linear color}.gov-wizard-item__header:focus{outline:none}.gov-wizard-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-wizard-item__prefix{position:absolute;left:1rem}.gov-wizard-item__header[aria-expanded=true] .gov-wizard-item__label .gov-icon{transform:scale(-1)}.gov-wizard-item[size=xs] .gov-wizard-item__title,.gov-wizard-item[size=s] .gov-wizard-item__title,.gov-wizard-item[size=m] .gov-wizard-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-wizard-item[size=xs] .gov-wizard-item__annot,.gov-wizard-item[size=s] .gov-wizard-item__annot,.gov-wizard-item[size=m] .gov-wizard-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-wizard-item[size=xs] .gov-wizard-item__prefix,.gov-wizard-item[size=s] .gov-wizard-item__prefix,.gov-wizard-item[size=m] .gov-wizard-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-wizard-xs-indicator-size, 1.5rem);height:var(--gov-wizard-xs-indicator-size, 1.5rem);top:var(--gov-wizard-xs-top, 1rem)}.gov-wizard-item[size=xs] .gov-wizard-item__prefix+.gov-wizard-item__header,.gov-wizard-item[size=s] .gov-wizard-item__prefix+.gov-wizard-item__header,.gov-wizard-item[size=m] .gov-wizard-item__prefix+.gov-wizard-item__header{padding:var(--gov-wizard-xs-header-padding, 1rem 1rem 1rem 3.5rem)}.gov-wizard-item[size=xs] .gov-wizard-item__content,.gov-wizard-item[size=s] .gov-wizard-item__content,.gov-wizard-item[size=m] .gov-wizard-item__content{padding:var(--gov-wizard-content-padding, 0rem 1rem 1rem 1rem)}@media not all and (pointer: coarse){.gov-wizard-item[variant=primary][collapsible=\"\"] .gov-wizard-item__header:hover,.gov-wizard-item[variant=primary][collapsible=true i] .gov-wizard-item__header:hover,.gov-wizard-item[variant=primary][collapsible=\"1\"] .gov-wizard-item__header:hover{color:var(--gov-wizard-primary-hover-color, var(--gov-color-primary-900))}}@media not all and (pointer: coarse){.gov-wizard-item[variant=secondary][collapsible=\"\"] .gov-wizard-item__header:hover,.gov-wizard-item[variant=secondary][collapsible=true i] .gov-wizard-item__header:hover,.gov-wizard-item[variant=secondary][collapsible=\"1\"] .gov-wizard-item__header:hover{color:var(--gov-wizard-secondary-hover-color, var(--gov-color-secondary-800))}}@media not all and (pointer: coarse){.gov-wizard-item[variant=success][collapsible=\"\"] .gov-wizard-item__header:hover,.gov-wizard-item[variant=success][collapsible=true i] .gov-wizard-item__header:hover,.gov-wizard-item[variant=success][collapsible=\"1\"] .gov-wizard-item__header:hover{color:var(--gov-wizard-success-hover-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){.gov-wizard-item[variant=error][collapsible=\"\"] .gov-wizard-item__header:hover,.gov-wizard-item[variant=error][collapsible=true i] .gov-wizard-item__header:hover,.gov-wizard-item[variant=error][collapsible=\"1\"] .gov-wizard-item__header:hover{color:var(--gov-wizard-error-hover-color, var(--gov-color-error-600))}}@media not all and (pointer: coarse){.gov-wizard-item[variant=warning][collapsible=\"\"] .gov-wizard-item__header:hover,.gov-wizard-item[variant=warning][collapsible=true i] .gov-wizard-item__header:hover,.gov-wizard-item[variant=warning][collapsible=\"1\"] .gov-wizard-item__header:hover{color:var(--gov-wizard-warning-hover-color, var(--gov-color-warning-600))}}button.gov-wizard-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-wizard-item__header:focus{outline:none}@media (min-width: 30em){.gov-wizard-item[size=s] .gov-wizard-item__title,.gov-wizard-item[size=m] .gov-wizard-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-wizard-item[size=s] .gov-wizard-item__prefix,.gov-wizard-item[size=m] .gov-wizard-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-wizard-s-indicator-size, 2rem);height:var(--gov-wizard-s-indicator-size, 2rem);top:var(--gov-wizard-s-top, 0.8125rem)}.gov-wizard-item[size=s] .gov-wizard-item__prefix+.gov-wizard-item__header,.gov-wizard-item[size=m] .gov-wizard-item__prefix+.gov-wizard-item__header{padding:var(--gov-wizard-s-header-padding, 1rem 1rem 1rem 4rem)}}@media (min-width: 48em){.gov-wizard-item[size=m] .gov-wizard-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-wizard-item[size=m] .gov-wizard-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-wizard-m-indicator-size, 2.5rem);height:var(--gov-wizard-m-indicator-size, 2.5rem);top:var(--gov-wizard-m-top, 0.5625rem)}.gov-wizard-item[size=m] .gov-wizard-item__prefix+.gov-wizard-item__header{padding:var(--gov-wizard-m-header-padding, 1rem 1rem 1rem 4.5rem)}.gov-wizard-item[size=xs] .gov-wizard-item__content{padding:var(--gov-wizard-xs-content-padding, 0rem 1rem 1rem 3.5rem)}.gov-wizard-item[size=s] .gov-wizard-item__content{padding:var(--gov-wizard-s-content-padding, 0rem 1rem 1rem 4rem)}.gov-wizard-item[size=m] .gov-wizard-item__content{padding:var(--gov-wizard-m-content-padding, 0rem 1rem 1rem 4.5rem)}}";
17
+
18
+ var Tags;
19
+ (function (Tags) {
20
+ Tags["DIV"] = "div";
21
+ Tags["BUTTON"] = "button";
22
+ })(Tags || (Tags = {}));
23
+ const GovWizardItem = class {
24
+ constructor(hostRef) {
25
+ index.registerInstance(this, hostRef);
26
+ this.govChange = index.createEvent(this, "gov-change", 7);
27
+ this.variant = "primary";
28
+ this.size = "m";
29
+ this.identifier = undefined;
30
+ this.collapsible = false;
31
+ this.annotation = undefined;
32
+ this.label = undefined;
33
+ this.disabled = false;
34
+ this.isExpanded = false;
35
+ this.labelTag = "h3";
36
+ this.h = template.govHost(this.host);
37
+ this.triggerId = string_utils.createID("GovWizardItem");
38
+ this.contentId = string_utils.createID("GovWizardContent");
39
+ }
40
+ validateLabel(newValue) {
41
+ if (!newValue) {
42
+ gov_log.govErrorLog(`[${constants.WizardItemClass.root}]: Parameter label is required.`);
43
+ }
44
+ }
45
+ validateTriggerTag(newValue) {
46
+ const validTags = ["h1", "h2", "h3", "h4", "h5", "h6", "span"];
47
+ if (newValue) {
48
+ if (!validTags.includes(newValue)) {
49
+ gov_log.govErrorLog(`[${constants.WizardItemClass.root}]: Tag ${newValue} is not allowed.`);
50
+ }
51
+ }
52
+ }
53
+ validateVariant(newValue) {
54
+ props.validateProp(constants.WizardVariants, newValue, constants.WizardItemClass.root);
55
+ }
56
+ emmitChange() {
57
+ this.govChange.emit({ expanded: this.isExpanded, component: constants.WizardItemClass.root });
58
+ }
59
+ componentWillLoad() {
60
+ this.validateLabel(this.label);
61
+ this.validateVariant(this.variant);
62
+ this.validateTriggerTag(this.labelTag);
63
+ }
64
+ render() {
65
+ const triggerId = this.identifier || this.triggerId;
66
+ const LabelTag = this.labelTag;
67
+ const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
68
+ const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { class: constants.WizardItemClass.prefix }, index.h("slot", { name: "prefix" })));
69
+ const label = (index.h(LabelTag, { class: constants.WizardItemClass.title }, index.h("span", { class: constants.WizardItemClass.name }, index.h("span", { class: constants.WizardItemClass.label }, index.h("span", null, this.label), this.collapsible && index.h("gov-icon", { class: constants.WizardItemClass.arrow, name: "chevron-down" })), this.annotation && index.h("span", { class: constants.WizardItemClass.annot }, this.annotation))));
70
+ return (index.h(index.Host, { class: this.h.classes(constants.WizardItemClass.root), "is-expanded": this.isExpanded, variant: this.variant, size: this.size, role: "listitem", collapsible: this.collapsible }, this.collapsible ? (index.h(Fragment.Fragment, null, prefixSlot, index.h(Tag, { id: triggerId, class: constants.WizardItemClass.header, "aria-expanded": template.booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: (e) => {
71
+ e.preventDefault();
72
+ e.stopPropagation();
73
+ this.collapsible ? this.toggle() : false;
74
+ } }, label))) : (index.h(Fragment.Fragment, null, prefixSlot, index.h("div", { class: constants.WizardItemClass.header }, label))), this.collapsible ? (index.h("div", { class: constants.WizardItemClass.content, id: this.contentId, "aria-hidden": template.booleanString(!this.isExpanded), hidden: !this.isExpanded, "aria-labelledby": triggerId }, index.h("slot", null))) : (index.h("div", { class: constants.WizardItemClass.content, "aria-hidden": template.booleanString(!this.isExpanded), hidden: !this.isExpanded }, index.h("slot", null)))));
75
+ }
76
+ /**
77
+ * Opening the Wizard
78
+ */
79
+ async open() {
80
+ this.isExpanded = true;
81
+ this.emmitChange();
82
+ }
83
+ /**
84
+ * Closing the Wizard
85
+ */
86
+ async close() {
87
+ this.isExpanded = false;
88
+ this.emmitChange();
89
+ }
90
+ /**
91
+ * Wizard switch
92
+ */
93
+ async toggle() {
94
+ this.isExpanded = !this.isExpanded;
95
+ this.emmitChange();
96
+ }
97
+ /**
98
+ * Returns the current state of the component
99
+ */
100
+ async currentState() {
101
+ return this.isExpanded;
102
+ }
103
+ get host() { return index.getElement(this); }
104
+ static get watchers() { return {
105
+ "label": ["validateLabel"],
106
+ "labelTag": ["validateTriggerTag"],
107
+ "variant": ["validateVariant"]
108
+ }; }
109
+ };
110
+ GovWizardItem.style = govWizardItemCss;
111
+
112
+ exports.gov_wizard_item = GovWizardItem;
113
+
114
+ //# sourceMappingURL=gov-wizard-item.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"gov-wizard-item.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,wrSAAwrS;;ACUjtS,IAAK,IAGJ;AAHD,WAAK,IAAI;EACR,mBAAW,CAAA;EACX,yBAAiB,CAAA;AAClB,CAAC,EAHI,IAAI,KAAJ,IAAI,QAGR;MAMY,aAAa;EAKzB;;;mBAUgD,SAAS;gBAIf,GAAG;;uBAQL,KAAK;;;oBAYR,KAAK;sBAIsB,KAAK;oBAIP,IAAI;IAzCjE,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,IAAI,CAAC,SAAS,GAAGC,qBAAQ,CAAC,eAAe,CAAC,CAAA;IAC1C,IAAI,CAAC,SAAS,GAAGA,qBAAQ,CAAC,kBAAkB,CAAC,CAAA;GAC7C;EA6CO,aAAa,CAAC,QAAgB;IACrC,IAAI,CAAC,QAAQ,EAAE;MACdC,mBAAW,CAAC,IAAIC,yBAAe,CAAC,IAAI,iCAAiC,CAAC,CAAA;KACtE;GACD;EAGO,kBAAkB,CAAC,QAAgB;IAC1C,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;IAC9D,IAAI,QAAQ,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClCD,mBAAW,CAAC,IAAIC,yBAAe,CAAC,IAAI,UAAU,QAAQ,kBAAkB,CAAC,CAAA;OACzE;KACD;GACD;EAGO,eAAe,CAAC,QAAgB;IACvCC,kBAAY,CAACC,wBAAc,EAAE,QAAQ,EAAEF,yBAAe,CAAC,IAAI,CAAC,CAAA;GAC5D;EAEO,WAAW;IAClB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,EAAEA,yBAAe,CAAC,IAAI,EAAE,CAAC,CAAA;GACnF;EAED,iBAAiB;IAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC9B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAClC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;GACtC;EAED,MAAM;IACL,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,CAAA;IACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;IAC9B,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAA;IACrD,MAAM,UAAU,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAKG,kBAAM,KAAK,EAAEH,yBAAe,CAAC,MAAM,IAAEG,kBAAM,IAAI,EAAC,QAAQ,GAAG,CAAO,CAAC,CAAA;IAEnH,MAAM,KAAK,IACVA,QAAC,QAAQ,IAAC,KAAK,EAAEH,yBAAe,CAAC,KAAK,IACrCG,kBAAM,KAAK,EAAEH,yBAAe,CAAC,IAAI,IAChCG,kBAAM,KAAK,EAAEH,yBAAe,CAAC,KAAK,IACjCG,sBAAO,IAAI,CAAC,KAAK,CAAQ,EACxB,IAAI,CAAC,WAAW,IAAIA,sBAAU,KAAK,EAAEH,yBAAe,CAAC,KAAK,EAAE,IAAI,EAAC,cAAc,GAAY,CACtF,EAEN,IAAI,CAAC,UAAU,IAAIG,kBAAM,KAAK,EAAEH,yBAAe,CAAC,KAAK,IAAG,IAAI,CAAC,UAAU,CAAQ,CAC1E,CACG,CACX,CAAA;IAED,QACCG,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAACJ,yBAAe,CAAC,IAAI,CAAC,iBAAe,IAAI,CAAC,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,UAAU,EAAC,WAAW,EAAE,IAAI,CAAC,WAAW,IACpK,IAAI,CAAC,WAAW,IAChBG,QAACE,iBAAQ,QACP,UAAU,EACXF,QAAC,GAAG,IACH,EAAE,EAAE,SAAS,EACb,KAAK,EAAEH,yBAAe,CAAC,MAAM,mBACdM,sBAAa,CAAC,IAAI,CAAC,UAAU,CAAC,mBAC9B,IAAI,CAAC,SAAS,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,mBACRC,4BAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,EACjD,OAAO,EAAE,CAAC,CAAC;QACV,CAAC,CAAC,cAAc,EAAE,CAAA;QAClB,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAA;OACxC,IAEA,KAAK,CACD,CACI,KAEXJ,QAACE,iBAAQ,QACP,UAAU,EACXF,iBAAK,KAAK,EAAEH,yBAAe,CAAC,MAAM,IAAG,KAAK,CAAO,CACvC,CACX,EACA,IAAI,CAAC,WAAW,IAChBG,iBACC,KAAK,EAAEH,yBAAe,CAAC,OAAO,EAC9B,EAAE,EAAE,IAAI,CAAC,SAAS,iBACLM,sBAAa,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAC5C,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,qBACP,SAAS,IAE1BH,qBAAQ,CACH,KAENA,iBAAK,KAAK,EAAEH,yBAAe,CAAC,OAAO,iBAAeM,sBAAa,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,IAC1GH,qBAAQ,CACH,CACN,CACK,EACP;GACD;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;IACtB,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMM,MAAM,KAAK;IACjB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;IACvB,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMM,MAAM,MAAM;IAClB,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAA;IAClC,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMM,MAAM,YAAY;IACxB,OAAO,IAAI,CAAC,UAAU,CAAA;GACtB;;;;;;;;;;;;","names":["govHost","createID","govErrorLog","WizardItemClass","validateProp","WizardVariants","h","Host","Fragment","booleanString","toBoolAttrIfDefined"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard-item.scss?tag=gov-wizard-item","../../../packages/core/src/components/gov-wizard/gov-wizard-item.tsx"],"sourcesContent":["/*\n * Wizard - Item\n */\n\n@import \"../gov-wizard/gov-wizard-item-core.scss\";\n$class: \".gov-wizard-item\";\n\n#{$class} {\n\t@include wizard-item-core;\n\tmargin-bottom: rem-calc(16);\n\tbackground: $wizard-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\t&__prefix {\n\t\tposition: absolute;\n\t\tleft: rem-calc(16);\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($wizard-sizes, $size-xs, \"font-size\"));\n\t\t\t}\n\t\t\t&__annot {\n\t\t\t\t@include typography(deep-map-get($wizard-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($wizard-sizes, $size-xs, \"font-size-indicator\"));\n\t\t\t\twidth: deep-map-get($wizard-sizes, $size-xs, \"indicator-size\");\n\t\t\t\theight: deep-map-get($wizard-sizes, $size-xs, \"indicator-size\");\n\t\t\t\ttop: deep-map-get($wizard-sizes, $size-xs, \"top\");\n\t\t\t\t+ #{$class}__header {\n\t\t\t\t\tpadding: deep-map-get($wizard-sizes, $size-xs, \"header-padding\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t&__content {\n\t\t\t\tpadding: $wizard-content-padding;\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $wizard-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($wizard-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($wizard-sizes, $size-s, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizard-sizes, $size-s, \"indicator-size\");\n\t\t\t\t\ttop: deep-map-get($wizard-sizes, $size-s, \"top\");\n\t\t\t\t\t+ #{$class}__header {\n\t\t\t\t\t\tpadding: deep-map-get($wizard-sizes, $size-s, \"header-padding\");\n\t\t\t\t\t}\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($wizard-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($wizard-sizes, $size-m, \"font-size-indicator\"));\n\t\t\t\t\twidth: deep-map-get($wizard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t\theight: deep-map-get($wizard-sizes, $size-m, \"indicator-size\");\n\t\t\t\t\ttop: deep-map-get($wizard-sizes, $size-m, \"top\");\n\t\t\t\t\t+ #{$class}__header {\n\t\t\t\t\t\tpadding: deep-map-get($wizard-sizes, $size-m, \"header-padding\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t@each $size, $definitions in $wizard-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, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { govErrorLog } from \"../../helpers/Log/gov.log\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizesType, WizardVariants, WizardVariantsType, WizardItemClass } from \"./constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport { booleanString, govHost, toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { WizardItemEvent } from \"./gov-wizard-item.types\"\nimport Fragment from \"../../helpers/Fragment\"\n\nenum Tags {\n\tDIV = \"div\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-wizard-item\",\n\tstyleUrl: \"gov-wizard-item.scss\",\n})\nexport class GovWizardItem {\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(\"GovWizardItem\")\n\t\tthis.contentId = createID(\"GovWizardContent\")\n\t}\n\n\t@Element() readonly host: HTMLGovWizardItemElement\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant?: WizardVariantsType = \"primary\"\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Custom wizard item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defines weather the wizard item can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Item annotation of the wizard\n\t */\n\t@Prop() readonly annotation: string\n\t/**\n\t * Item label of the wizard\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the wizard 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\", mutable: true }) isExpanded = false\n\t/**\n\t * Used to change the HTML 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<WizardItemEvent>\n\n\t@Watch(\"label\")\n\tprivate validateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${WizardItemClass.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(`[${WizardItemClass.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, WizardItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ expanded: this.isExpanded, component: WizardItemClass.root })\n\t}\n\n\tcomponentWillLoad(): void {\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\t\tconst prefixSlot = this.h.hasSlot(\"prefix\") && (<span class={WizardItemClass.prefix}><slot name=\"prefix\" /></span>)\n\n\t\tconst label = (\n\t\t\t<LabelTag class={WizardItemClass.title}>\n\t\t\t\t<span class={WizardItemClass.name}>\n\t\t\t\t\t<span class={WizardItemClass.label}>\n\t\t\t\t\t\t<span>{this.label}</span>\n\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizardItemClass.arrow} name=\"chevron-down\"></gov-icon>}\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{this.annotation && <span class={WizardItemClass.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(WizardItemClass.root)} is-expanded={this.isExpanded} variant={this.variant} size={this.size} role=\"listitem\" collapsible={this.collapsible}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t{prefixSlot}\n\t\t\t\t\t\t<Tag\n\t\t\t\t\t\t\tid={triggerId}\n\t\t\t\t\t\t\tclass={WizardItemClass.header}\n\t\t\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\te.preventDefault()\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.collapsible ? this.toggle() : false\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</Tag>\n\t\t\t\t\t</Fragment>\n\t\t\t\t) : (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t{prefixSlot}\n\t\t\t\t\t\t<div class={WizardItemClass.header}>{label}</div>\n\t\t\t\t\t</Fragment>\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={WizardItemClass.content}\n\t\t\t\t\t\tid={this.contentId}\n\t\t\t\t\t\taria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\t\thidden={!this.isExpanded}\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={WizardItemClass.content} aria-hidden={booleanString(!this.isExpanded)} hidden={!this.isExpanded}>\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 Wizard\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpanded = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the Wizard\n\t */\n\t@Method()\n\tpublic async close(): Promise<void> {\n\t\tthis.isExpanded = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Wizard switch\n\t */\n\t@Method()\n\tpublic async toggle(): Promise<void> {\n\t\tthis.isExpanded = !this.isExpanded\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.isExpanded\n\t}\n}\n"],"version":3}
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-83edd4fe.js');
6
6
  const props = require('./props-5f82e4c0.js');
7
- const constants = require('./constants-21559414.js');
7
+ const constants = require('./constants-440cd5c8.js');
8
8
  const template = require('./template-e1c4ff78.js');
9
- const wcag = require('./wcag-b0321f09.js');
10
- const win = require('./win-53f637d4.js');
9
+ const wcag = require('./wcag-d7912060.js');
10
+ const win = require('./win-0427c131.js');
11
11
  const utils = require('./utils-c9b1bba3.js');
12
12
  require('./gov.log-0c9dca27.js');
13
13
  require('./variants-f5ffeef3.js');
14
14
  require('./sizes-79872c2a.js');
15
15
  require('./string.utils-0f08c48c.js');
16
16
 
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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-wizzard{position:relative;display:block;width:100%}.gov-wizzard>*:last-child{margin-bottom:0}";
17
+ const govWizardCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-wizard{position:relative;display:block;width:100%}.gov-wizard>*:last-child{margin-bottom:0}";
18
18
 
19
- const GovWizzard = class {
19
+ const GovWizard = class {
20
20
  constructor(hostRef) {
21
21
  index.registerInstance(this, hostRef);
22
22
  this.govChange = index.createEvent(this, "gov-change", 7);
@@ -26,16 +26,16 @@ const GovWizzard = class {
26
26
  this.h = template.govHost(this.host);
27
27
  }
28
28
  validateSize(newValue) {
29
- props.validateProp(constants.WizardSizes, newValue, constants.WizzardClass.root);
29
+ props.validateProp(constants.WizardSizes, newValue, constants.WizardClass.root);
30
30
  }
31
31
  componentWillLoad() {
32
32
  this.validateSize(this.size);
33
33
  }
34
34
  componentDidLoad() {
35
- this.host.querySelectorAll(constants.WizzardItemClass.root).forEach((child) => {
35
+ this.host.querySelectorAll(constants.WizardItemClass.root).forEach((child) => {
36
36
  child.setAttribute("size", this.size);
37
37
  /*
38
- child.addEventListener('gov-change', (e: GovWizzardItemCustomEvent<GovWizzardItemChangeEvent>) => {
38
+ child.addEventListener('gov-change', (e: GovWizardItemCustomEvent<GovWizardItemChangeEvent>) => {
39
39
  e.stopPropagation()
40
40
  this.govChange.emit(e.detail)
41
41
  })
@@ -49,21 +49,21 @@ const GovWizzard = class {
49
49
  }
50
50
  }
51
51
  render() {
52
- return (index.h(index.Host, { class: this.h.classes(constants.WizzardClass.root), role: "list", size: this.size }, index.h("slot", null)));
52
+ return (index.h(index.Host, { class: this.h.classes(constants.WizardClass.root), role: "list", size: this.size }, index.h("slot", null)));
53
53
  }
54
54
  /**
55
55
  * Validate the WCAG attributes of the component
56
56
  */
57
57
  async validateWcag() {
58
- wcag.validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, constants.WizzardClass.root);
58
+ wcag.validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, constants.WizardClass.root);
59
59
  }
60
60
  get host() { return index.getElement(this); }
61
61
  static get watchers() { return {
62
62
  "size": ["validateSize"]
63
63
  }; }
64
64
  };
65
- GovWizzard.style = govWizzardCss;
65
+ GovWizard.style = govWizardCss;
66
66
 
67
- exports.gov_wizzard = GovWizzard;
67
+ exports.gov_wizard = GovWizard;
68
68
 
69
- //# sourceMappingURL=gov-wizzard.cjs.entry.js.map
69
+ //# sourceMappingURL=gov-wizard.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"gov-wizard.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,wbAAwb;;MCchc,SAAS;EAKrB;;;gBAO0C,GAAG;;;IAN5C,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAoBO,YAAY,CAAC,QAAgB;IACpCC,kBAAY,CAACC,qBAAW,EAAE,QAAQ,EAAEC,qBAAW,CAAC,IAAI,CAAC,CAAA;GACrD;EAED,iBAAiB;IAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC5B;EAED,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAACC,yBAAe,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAA+B;MACxF,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;;;;;;;KAOrC,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,qBAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACzEI,qBAAQ,CACF,EACP;GACD;;;;EAMM,MAAM,YAAY;IACxBE,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAEN,qBAAW,CAAC,IAAI,CAAC,CAAA;GACxE;;;;;;;;;;","names":["govHost","validateProp","WizardSizes","WizardClass","WizardItemClass","canValidateWcagOnRender","delay","h","Host","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard.scss?tag=gov-wizard","../../../packages/core/src/components/gov-wizard/gov-wizard.tsx"],"sourcesContent":["/*\n * Wizard\n */\n\n$class: \".gov-wizard\";\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 { WizardSizes, WizardSizesType, WizardClass, WizardItemClass } from \"./constants\"\nimport { GovWizardItemChangeEvent } from \"./gov-wizard-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-wizard\",\n\tstyleUrl: \"gov-wizard.scss\",\n})\nexport class GovWizard {\n\tprivate h: GovHost\n\n\t@Element() readonly host: HTMLGovWizardElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Adds accessible label for the wizard 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 wizard children state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<GovWizardItemChangeEvent>\n\n\t@Watch(\"size\")\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizardItemClass.root).forEach((child: HTMLGovWizardItemElement) => {\n\t\t\tchild.setAttribute(\"size\", this.size)\n\t\t\t/*\n\t\t\tchild.addEventListener('gov-change', (e: GovWizardItemCustomEvent<GovWizardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\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(WizardClass.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, WizardClass.root)\n\t}\n}\n"],"version":3}
@@ -2440,14 +2440,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2440
2440
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2441
2441
  /* webpackMode: "lazy" */
2442
2442
  './gov-tooltip-content.cjs.entry.js')); }).then(processMod, consoleError);
2443
- case 'gov-wizzard.cjs':
2443
+ case 'gov-wizard.cjs':
2444
2444
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2445
2445
  /* webpackMode: "lazy" */
2446
- './gov-wizzard.cjs.entry.js')); }).then(processMod, consoleError);
2447
- case 'gov-wizzard-item.cjs':
2446
+ './gov-wizard.cjs.entry.js')); }).then(processMod, consoleError);
2447
+ case 'gov-wizard-item.cjs':
2448
2448
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2449
2449
  /* webpackMode: "lazy" */
2450
- './gov-wizzard-item.cjs.entry.js')); }).then(processMod, consoleError);
2450
+ './gov-wizard-item.cjs.entry.js')); }).then(processMod, consoleError);
2451
2451
  case 'gov-attachments_3.cjs':
2452
2452
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2453
2453
  /* webpackMode: "lazy" */
@@ -6,7 +6,7 @@ const index = require('./index-83edd4fe.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
9
- 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],\"multiple\":[4],\"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],\"getRef\":[64],\"getAreaRef\":[64],\"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],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-modal.cjs\",[[4,\"gov-modal\",{\"open\":[1028],\"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\":[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\":[1028],\"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\":[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\",{\"headline\":[1],\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagToggleLabel\":[1,\"wcag-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"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\":[1025],\"identifier\":[1],\"size\":[1025],\"label\":[1],\"annotation\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"triggerTag\":[1,\"trigger-tag\"],\"noBorder\":[4,\"no-border\"],\"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\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizzard-item.cjs\",[[4,\"gov-wizzard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"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-breadcrumbs.cjs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelded-by\"],\"validateWcag\":[64]}]]],[\"gov-container.cjs\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group.cjs\",[[4,\"gov-control-group\",{\"variant\":[1],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown.cjs\",[[4,\"gov-dropdown\",{\"open\":[1028],\"position\":[1],\"getState\":[64],\"setOpen\":[64]}]]],[\"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\",{\"gap\":[1]}]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power.cjs\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\",{\"variant\":[1]}]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"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-skeleton.cjs\",[[0,\"gov-skeleton\",{\"variant\":[1],\"count\":[2],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"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],\"min\":[8],\"max\":[8],\"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],\"getRef\":[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],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[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],\"getRef\":[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\"],\"getTriggerRef\":[64]}]]],[\"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],\"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],\"getTriggerRef\":[64],\"validateWcag\":[64]}]]]]"), options);
9
+ 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],\"multiple\":[4],\"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],\"getRef\":[64],\"getAreaRef\":[64],\"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],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-modal.cjs\",[[4,\"gov-modal\",{\"open\":[1028],\"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\":[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\":[1028],\"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\":[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\",{\"headline\":[1],\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagToggleLabel\":[1,\"wcag-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"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],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"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\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item.cjs\",[[4,\"gov-wizard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"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-breadcrumbs.cjs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labeled-by\"],\"validateWcag\":[64]}]]],[\"gov-container.cjs\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-control-group.cjs\",[[4,\"gov-control-group\",{\"variant\":[1],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown.cjs\",[[4,\"gov-dropdown\",{\"open\":[1028],\"position\":[1],\"getState\":[64],\"setOpen\":[64]}]]],[\"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\",{\"gap\":[1],\"orientation\":[1]}]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power.cjs\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\",{\"variant\":[1]}]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"getRef\":[64],\"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-skeleton.cjs\",[[0,\"gov-skeleton\",{\"variant\":[1],\"count\":[2],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"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-wizard.cjs\",[[4,\"gov-wizard\",{\"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],\"min\":[8],\"max\":[8],\"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],\"getRef\":[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],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[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],\"getRef\":[64],\"validateWcag\":[64]}]]],[\"gov-badge.cjs\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"tag\":[1],\"variant\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"getTriggerRef\":[64]}]]],[\"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],\"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],\"getTriggerRef\":[64],\"validateWcag\":[64]}]]]]"), options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -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-53f637d4.js');
5
+ const win = require('./win-0427c131.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-b0321f09.js.map
67
+ //# sourceMappingURL=wcag-d7912060.js.map
@@ -1 +1 @@
1
- {"file":"wcag-b0321f09.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
+ {"file":"wcag-d7912060.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}
@@ -8,6 +8,7 @@ const config = () => {
8
8
  const defaultConfig = {
9
9
  canValidateWcagOnRender: false,
10
10
  iconsPath: './assets/icons',
11
+ iconsLazyLoad: true,
11
12
  documentNode: document ? document : null,
12
13
  };
13
14
  const windowProperty = getWindowProperty('GOV_DS_CONFIG');
@@ -18,10 +19,12 @@ const config = () => {
18
19
  };
19
20
  const canValidateWcagOnRender = () => config().canValidateWcagOnRender;
20
21
  const iconsPath = () => config().iconsPath;
22
+ const iconsLazyLoad = () => config().iconsLazyLoad;
21
23
  const documentNode = () => config().documentNode;
22
24
 
23
25
  exports.canValidateWcagOnRender = canValidateWcagOnRender;
24
26
  exports.documentNode = documentNode;
27
+ exports.iconsLazyLoad = iconsLazyLoad;
25
28
  exports.iconsPath = iconsPath;
26
29
 
27
- //# sourceMappingURL=win-53f637d4.js.map
30
+ //# sourceMappingURL=win-0427c131.js.map
@@ -0,0 +1 @@
1
+ {"file":"win-0427c131.js","mappings":";;;;AASO,MAAM,QAAQ,GAAG,OAAO,MAAM,KAAK,WAAW,CAAA;AAErD,MAAM,iBAAiB,GAAG,CAAI,IAAY,KAA6B,QAAQ,IAAI,MAAM,IAAIA,cAAQ,CAAC,IAA2B,EAAE,MAAM,CAAC,CAAA;AAE1I,MAAM,MAAM,GAAG;EACd,MAAM,aAAa,GAAY;IAC9B,uBAAuB,EAAE,KAAK;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,aAAa,EAAE,IAAI;IACnB,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,aAAa,GAAG,MAAgC,MAAM,EAAE,CAAC,cAAa;MACtE,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\ticonsLazyLoad: boolean\n\tdocumentNode: Document\n}\n\nexport const isWindow = typeof window !== \"undefined\"\n\nconst getWindowProperty = <T>(name: string): Partial<T> | undefined => isWindow && 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\ticonsLazyLoad: true,\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 iconsLazyLoad = (): IConfig['iconsLazyLoad'] => config().iconsLazyLoad\nexport const documentNode = (): IConfig['documentNode'] => config().documentNode\n"],"version":3}
@@ -58,8 +58,8 @@
58
58
  "components/gov-toast/gov-toast.js",
59
59
  "components/gov-tooltip/gov-tooltip-content.js",
60
60
  "components/gov-tooltip/gov-tooltip.js",
61
- "components/gov-wizzard/gov-wizzard-item.js",
62
- "components/gov-wizzard/gov-wizzard.js"
61
+ "components/gov-wizard/gov-wizard-item.js",
62
+ "components/gov-wizard/gov-wizard.js"
63
63
  ],
64
64
  "compiler": {
65
65
  "name": "@stencil/core",
@@ -15,7 +15,7 @@ export const AccordionItemClass = {
15
15
  title: 'gov-accordion-item__title',
16
16
  label: 'gov-accordion-item__label',
17
17
  name: 'gov-accordion-item__name',
18
- annot: 'gov-accordion-item__annot',
18
+ annotation: 'gov-accordion-item__annotation',
19
19
  content: 'gov-accordion-item__content',
20
20
  };
21
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
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,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGpE,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, ['_XS', '_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"]}
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,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGpE,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,UAAU,EAAE,gCAAgC;EAC5C,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, ['_XS', '_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\tannotation: 'gov-accordion-item__annotation',\n\tcontent: 'gov-accordion-item__content',\n}\n"]}