@gov-design-system-ce/components 0.0.53 → 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 (387) hide show
  1. package/dist/cjs/constants-440cd5c8.js +29 -0
  2. package/dist/cjs/constants-440cd5c8.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gov-accordion.cjs.entry.js +3 -3
  7. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gov-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/gov-app.cjs.entry.js +49 -43
  10. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
  12. package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
  13. package/dist/cjs/gov-badge.cjs.entry.js +1 -1
  14. package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
  15. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -2
  16. package/dist/cjs/gov-button.cjs.entry.js +2 -2
  17. package/dist/cjs/gov-card.cjs.entry.js +2 -2
  18. package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/gov-form-file.cjs.entry.js +2 -2
  20. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  22. package/dist/cjs/gov-form-input.cjs.entry.js +2 -2
  23. package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
  24. package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  26. package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-icon.cjs.entry.js +22 -15
  28. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  29. package/dist/cjs/gov-modal.cjs.entry.js +2 -2
  30. package/dist/cjs/gov-nav.cjs.entry.js +2 -2
  31. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  32. package/dist/cjs/gov-prompt.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-side-nav.cjs.entry.js +2 -2
  34. package/dist/cjs/gov-skeleton.cjs.entry.js +2 -2
  35. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  37. package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
  38. package/dist/cjs/gov-wizard-item.cjs.entry.js +114 -0
  39. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -0
  40. package/dist/cjs/{gov-wizzard.cjs.entry.js → gov-wizard.cjs.entry.js} +13 -13
  41. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -0
  42. package/dist/cjs/index-83edd4fe.js +4 -4
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/cjs/{wcag-b0321f09.js → wcag-d7912060.js} +2 -2
  45. package/dist/cjs/{wcag-b0321f09.js.map → wcag-d7912060.js.map} +1 -1
  46. package/dist/cjs/{win-53f637d4.js → win-0427c131.js} +4 -1
  47. package/dist/cjs/win-0427c131.js.map +1 -0
  48. package/dist/collection/collection-manifest.json +2 -2
  49. package/dist/collection/components/gov-accordion/gov-accordion-item.css +13 -10
  50. package/dist/collection/components/gov-accordion/gov-accordion.css +2 -2
  51. package/dist/collection/components/gov-alert/gov-alert.css +1 -1
  52. package/dist/collection/components/gov-app/gov-app.css +1 -1
  53. package/dist/collection/components/gov-app/gov-app.js +2 -2
  54. package/dist/collection/components/gov-app/gov-app.js.map +1 -1
  55. package/dist/collection/components/gov-attachments/gov-attachments-item.css +1 -1
  56. package/dist/collection/components/gov-attachments/gov-attachments.css +1 -1
  57. package/dist/collection/components/gov-backdrop/gov-backdrop.css +1 -1
  58. package/dist/collection/components/gov-badge/gov-badge.css +1 -1
  59. package/dist/collection/components/gov-badge/gov-badge.js +2 -2
  60. package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
  61. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +1 -1
  62. package/dist/collection/components/gov-button/default/gov-button.css +1 -1
  63. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +1 -1
  64. package/dist/collection/components/gov-card/gov-card.css +1 -1
  65. package/dist/collection/components/gov-container/gov-container.css +1 -1
  66. package/dist/collection/components/gov-control-group/gov-control-group.css +1 -1
  67. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +1 -1
  68. package/dist/collection/components/gov-empty/gov-empty.css +1 -1
  69. package/dist/collection/components/gov-error-code/gov-error-code.css +1 -1
  70. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +1 -1
  71. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +1 -1
  72. package/dist/collection/components/gov-form/control/gov-form-control.css +1 -1
  73. package/dist/collection/components/gov-form/file/gov-form-file.css +1 -1
  74. package/dist/collection/components/gov-form/group/gov-form-group.css +8 -8
  75. package/dist/collection/components/gov-form/input/gov-form-input.css +1 -1
  76. package/dist/collection/components/gov-form/label/gov-form-label.css +1 -1
  77. package/dist/collection/components/gov-form/message/gov-form-message.css +1 -1
  78. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +1 -1
  79. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +1 -1
  80. package/dist/collection/components/gov-form/radio/gov-form-radio.css +1 -1
  81. package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
  82. package/dist/collection/components/gov-form/select/gov-form-select.css +1 -1
  83. package/dist/collection/components/gov-form/switch/gov-form-switch.css +1 -1
  84. package/dist/collection/components/gov-grid/gov-grid-item.css +1 -1
  85. package/dist/collection/components/gov-grid/gov-grid.css +1 -1
  86. package/dist/collection/components/gov-icon/gov-icon.css +1 -1
  87. package/dist/collection/components/gov-icon/gov-icon.js +14 -7
  88. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  89. package/dist/collection/components/gov-layout/gov-layout-column.css +1 -1
  90. package/dist/collection/components/gov-layout/gov-layout.css +1 -1
  91. package/dist/collection/components/gov-loading/loading/gov-loading.css +1 -1
  92. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +1 -1
  93. package/dist/collection/components/gov-message/gov-message.css +1 -1
  94. package/dist/collection/components/gov-modal/gov-modal.css +1 -1
  95. package/dist/collection/components/gov-nav/gov-nav-item.css +1 -1
  96. package/dist/collection/components/gov-nav/gov-nav.css +1 -1
  97. package/dist/collection/components/gov-pagination/gov-pagination.css +1 -1
  98. package/dist/collection/components/gov-promp/gov-prompt.css +1 -1
  99. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +1 -1
  100. package/dist/collection/components/gov-side-nav/gov-side-nav.css +1 -1
  101. package/dist/collection/components/gov-spacer/gov-spacer.css +1 -1
  102. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +1 -1
  103. package/dist/collection/components/gov-statsbar/gov-statsbar.css +1 -1
  104. package/dist/collection/components/gov-stepper/gov-stepper-item.css +23 -23
  105. package/dist/collection/components/gov-stepper/gov-stepper.css +1 -1
  106. package/dist/collection/components/gov-tabs/gov-tabs-item.css +1 -1
  107. package/dist/collection/components/gov-tabs/gov-tabs.css +1 -1
  108. package/dist/collection/components/gov-tile/container/gov-tiles.css +1 -1
  109. package/dist/collection/components/gov-tile/gov-tile.css +1 -1
  110. package/dist/collection/components/gov-toast/gov-toast.css +1 -1
  111. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +1 -1
  112. package/dist/collection/components/gov-tooltip/gov-tooltip.css +1 -1
  113. package/dist/collection/components/gov-wizard/constants.js +20 -0
  114. package/dist/collection/components/gov-wizard/constants.js.map +1 -0
  115. package/dist/collection/components/gov-wizard/gov-wizard-item.css +471 -0
  116. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +2 -0
  117. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -0
  118. package/dist/collection/components/{gov-wizzard/gov-wizzard-item.js → gov-wizard/gov-wizard-item.js} +35 -35
  119. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -0
  120. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +2 -0
  121. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -0
  122. package/dist/collection/components/{gov-wizzard/gov-wizzard.css → gov-wizard/gov-wizard.css} +4 -4
  123. package/dist/collection/components/{gov-wizzard/gov-wizzard.js → gov-wizard/gov-wizard.js} +20 -20
  124. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -0
  125. package/dist/collection/helpers/Dom/win.js +2 -0
  126. package/dist/collection/helpers/Dom/win.js.map +1 -1
  127. package/dist/collection/pages/Accordion.js +2 -2
  128. package/dist/collection/pages/Accordion.js.map +1 -1
  129. package/dist/collection/pages/Badge.js +6 -0
  130. package/dist/collection/pages/Badge.js.map +1 -1
  131. package/dist/collection/pages/{Wizzard.js → Wizard.js} +41 -41
  132. package/dist/collection/pages/Wizard.js.map +1 -0
  133. package/dist/collection/utils/icon.utils.js +8 -7
  134. package/dist/collection/utils/icon.utils.js.map +1 -1
  135. package/dist/components/gov-accordion-item.js +1 -1
  136. package/dist/components/gov-accordion-item.js.map +1 -1
  137. package/dist/components/gov-accordion.js +1 -1
  138. package/dist/components/gov-accordion.js.map +1 -1
  139. package/dist/components/gov-alert.js +1 -1
  140. package/dist/components/gov-app.js +1 -1
  141. package/dist/components/gov-app.js.map +1 -1
  142. package/dist/components/gov-attachments-item.js +1 -1
  143. package/dist/components/gov-attachments.js +1 -1
  144. package/dist/components/gov-backdrop.js +1 -1
  145. package/dist/components/gov-badge.js +1 -1
  146. package/dist/components/gov-breadcrumbs.js +1 -1
  147. package/dist/components/gov-button.js +1 -1
  148. package/dist/components/gov-card.js +1 -1
  149. package/dist/components/gov-form-autocomplete.js +1 -1
  150. package/dist/components/gov-form-checkbox.js +1 -1
  151. package/dist/components/gov-form-file.js +1 -1
  152. package/dist/components/gov-form-group.js +1 -1
  153. package/dist/components/gov-form-group.js.map +1 -1
  154. package/dist/components/gov-form-input.js +1 -1
  155. package/dist/components/gov-form-multi-select.js +1 -1
  156. package/dist/components/gov-form-radio.js +1 -1
  157. package/dist/components/gov-form-select.js +1 -1
  158. package/dist/components/gov-form-switch.js +1 -1
  159. package/dist/components/gov-icon.js +1 -1
  160. package/dist/components/gov-loading.js +1 -1
  161. package/dist/components/gov-modal.js +1 -1
  162. package/dist/components/gov-nav.js +1 -1
  163. package/dist/components/gov-pagination.js +1 -1
  164. package/dist/components/gov-prompt.js +1 -1
  165. package/dist/components/gov-side-nav-item.js +1 -1
  166. package/dist/components/gov-side-nav.js +1 -1
  167. package/dist/components/gov-side-nav.js.map +1 -1
  168. package/dist/components/gov-skeleton.js +1 -1
  169. package/dist/components/gov-skeleton.js.map +1 -1
  170. package/dist/components/gov-stepper-item.js +1 -1
  171. package/dist/components/gov-stepper-item.js.map +1 -1
  172. package/dist/components/gov-tabs.js +1 -1
  173. package/dist/components/gov-tile.js +1 -1
  174. package/dist/components/gov-toast.js +1 -1
  175. package/dist/components/{gov-wizzard-item.d.ts → gov-wizard-item.d.ts} +4 -4
  176. package/dist/components/gov-wizard-item.js +2 -0
  177. package/dist/components/gov-wizard-item.js.map +1 -0
  178. package/dist/components/{gov-wizzard.d.ts → gov-wizard.d.ts} +4 -4
  179. package/dist/components/gov-wizard.js +2 -0
  180. package/dist/components/gov-wizard.js.map +1 -0
  181. package/dist/components/{p-db22f9ce.js → p-3a46b683.js} +2 -2
  182. package/dist/components/{p-386409dc.js → p-3e8a9e92.js} +2 -2
  183. package/dist/components/{p-7bea2390.js → p-560846c7.js} +2 -2
  184. package/dist/components/p-6834d779.js +2 -0
  185. package/dist/components/p-6834d779.js.map +1 -0
  186. package/dist/components/{p-ccc44ac1.js → p-8da17139.js} +2 -2
  187. package/dist/components/{p-cf493ba0.js → p-a2e601c5.js} +2 -2
  188. package/dist/components/p-a2e601c5.js.map +1 -0
  189. package/dist/components/p-ae894a40.js +2 -0
  190. package/dist/components/{p-a20f1683.js → p-b9388dc1.js} +2 -2
  191. package/dist/components/p-c055eb68.js +2 -0
  192. package/dist/components/p-c055eb68.js.map +1 -0
  193. package/dist/components/p-cac3881f.js +2 -0
  194. package/dist/components/p-cac3881f.js.map +1 -0
  195. package/dist/components/{p-c0e49b09.js → p-d6ab5b8a.js} +2 -2
  196. package/dist/components/{p-103c7bd5.js → p-e9a01d67.js} +2 -2
  197. package/dist/core/core.esm.js +1 -1
  198. package/dist/core/core.esm.js.map +1 -1
  199. package/dist/core/{p-e39cd83c.entry.js → p-06699657.entry.js} +2 -2
  200. package/dist/core/{p-e39cd83c.entry.js.map → p-06699657.entry.js.map} +1 -1
  201. package/dist/core/{p-41f72892.entry.js → p-0c1697ce.entry.js} +2 -2
  202. package/dist/core/{p-9a3e3ace.entry.js → p-18ef9623.entry.js} +2 -2
  203. package/dist/core/{p-eda868dc.entry.js → p-22a86871.entry.js} +2 -2
  204. package/dist/core/{p-722218fd.entry.js → p-23385300.entry.js} +2 -2
  205. package/dist/core/{p-48349167.entry.js → p-33bf5974.entry.js} +2 -2
  206. package/dist/core/p-3b236ac2.entry.js +2 -0
  207. package/dist/core/p-3b236ac2.entry.js.map +1 -0
  208. package/dist/core/{p-9f541022.entry.js → p-3d0ab343.entry.js} +2 -2
  209. package/dist/core/{p-e0c04c5f.entry.js → p-41e88980.entry.js} +2 -2
  210. package/dist/core/{p-5a855a15.entry.js → p-42c1935f.entry.js} +2 -2
  211. package/dist/core/p-44af4bc9.entry.js +2 -0
  212. package/dist/core/p-44af4bc9.entry.js.map +1 -0
  213. package/dist/core/{p-de3dc437.entry.js → p-48cfc1c6.entry.js} +2 -2
  214. package/dist/core/p-64f7e661.entry.js +2 -0
  215. package/dist/core/p-64f7e661.entry.js.map +1 -0
  216. package/dist/core/p-6834d779.js +2 -0
  217. package/dist/core/p-6834d779.js.map +1 -0
  218. package/dist/core/{p-9ad54c30.entry.js → p-70140f70.entry.js} +2 -2
  219. package/dist/core/{p-a68547b1.entry.js → p-81643870.entry.js} +2 -2
  220. package/dist/core/{p-11be550d.entry.js → p-82f64673.entry.js} +2 -2
  221. package/dist/core/{p-fa71fb92.entry.js → p-9d72d80b.entry.js} +2 -2
  222. package/dist/core/{p-1ae47d62.entry.js → p-a5d00433.entry.js} +2 -2
  223. package/dist/core/{p-3bc977e2.entry.js → p-accf8575.entry.js} +2 -2
  224. package/dist/core/p-accf8575.entry.js.map +1 -0
  225. package/dist/core/p-ae894a40.js +2 -0
  226. package/dist/core/p-b9b57928.entry.js +2 -0
  227. package/dist/core/p-b9b57928.entry.js.map +1 -0
  228. package/dist/core/p-bd1cb5bd.entry.js +2 -0
  229. package/dist/core/p-bd1cb5bd.entry.js.map +1 -0
  230. package/dist/core/{p-7d680665.entry.js → p-bfb4d904.entry.js} +2 -2
  231. package/dist/core/p-cac3881f.js +2 -0
  232. package/dist/core/p-cac3881f.js.map +1 -0
  233. package/dist/core/p-d1b7d8a6.entry.js +2 -0
  234. package/dist/core/p-d1b7d8a6.entry.js.map +1 -0
  235. package/dist/core/{p-3d720d54.entry.js → p-dbb46457.entry.js} +2 -2
  236. package/dist/core/{p-b5a560d2.entry.js → p-dfc080f2.entry.js} +2 -2
  237. package/dist/core/{p-e1b3c361.entry.js → p-e769f3ee.entry.js} +2 -2
  238. package/dist/core/p-ea4459ae.entry.js +2 -0
  239. package/dist/core/p-ea4459ae.entry.js.map +1 -0
  240. package/dist/core/{p-d921bd4b.entry.js → p-f0a5847a.entry.js} +2 -2
  241. package/dist/core/{p-5150efee.entry.js → p-fc853777.entry.js} +2 -2
  242. package/dist/esm/constants-2499979c.js +24 -0
  243. package/dist/esm/constants-2499979c.js.map +1 -0
  244. package/dist/esm/core.js +1 -1
  245. package/dist/esm/gov-accordion-item.entry.js +1 -1
  246. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  247. package/dist/esm/gov-accordion.entry.js +3 -3
  248. package/dist/esm/gov-accordion.entry.js.map +1 -1
  249. package/dist/esm/gov-alert.entry.js +2 -2
  250. package/dist/esm/gov-app.entry.js +49 -43
  251. package/dist/esm/gov-app.entry.js.map +1 -1
  252. package/dist/esm/gov-attachments_3.entry.js +2 -2
  253. package/dist/esm/gov-backdrop.entry.js +2 -2
  254. package/dist/esm/gov-badge.entry.js +1 -1
  255. package/dist/esm/gov-badge.entry.js.map +1 -1
  256. package/dist/esm/gov-breadcrumbs.entry.js +2 -2
  257. package/dist/esm/gov-button.entry.js +2 -2
  258. package/dist/esm/gov-card.entry.js +2 -2
  259. package/dist/esm/gov-form-checkbox.entry.js +2 -2
  260. package/dist/esm/gov-form-file.entry.js +2 -2
  261. package/dist/esm/gov-form-group.entry.js +1 -1
  262. package/dist/esm/gov-form-group.entry.js.map +1 -1
  263. package/dist/esm/gov-form-input.entry.js +2 -2
  264. package/dist/esm/gov-form-multi-select.entry.js +2 -2
  265. package/dist/esm/gov-form-radio.entry.js +2 -2
  266. package/dist/esm/gov-form-select.entry.js +2 -2
  267. package/dist/esm/gov-form-switch.entry.js +2 -2
  268. package/dist/esm/gov-icon.entry.js +22 -15
  269. package/dist/esm/gov-icon.entry.js.map +1 -1
  270. package/dist/esm/gov-modal.entry.js +2 -2
  271. package/dist/esm/gov-nav.entry.js +2 -2
  272. package/dist/esm/gov-pagination.entry.js +2 -2
  273. package/dist/esm/gov-prompt.entry.js +2 -2
  274. package/dist/esm/gov-side-nav.entry.js +2 -2
  275. package/dist/esm/gov-skeleton.entry.js +2 -2
  276. package/dist/esm/gov-stepper-item.entry.js +1 -1
  277. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  278. package/dist/esm/gov-tabs.entry.js +2 -2
  279. package/dist/esm/gov-wizard-item.entry.js +110 -0
  280. package/dist/esm/gov-wizard-item.entry.js.map +1 -0
  281. package/dist/esm/{gov-wizzard.entry.js → gov-wizard.entry.js} +13 -13
  282. package/dist/esm/gov-wizard.entry.js.map +1 -0
  283. package/dist/esm/index-ae3c50f1.js +4 -4
  284. package/dist/esm/loader.js +1 -1
  285. package/dist/esm/{wcag-afdfdddb.js → wcag-062e7ca9.js} +2 -2
  286. package/dist/esm/{wcag-afdfdddb.js.map → wcag-062e7ca9.js.map} +1 -1
  287. package/dist/esm/{win-7a1a8ac8.js → win-0a50f66e.js} +4 -2
  288. package/dist/esm/win-0a50f66e.js.map +1 -0
  289. package/dist/hydrate/index.js +106 -92
  290. package/dist/stencil.config.js +3 -3
  291. package/dist/stencil.config.js.map +1 -1
  292. package/dist/types/components/gov-app/gov-app.d.ts +1 -1
  293. package/dist/types/components/gov-icon/gov-icon.d.ts +1 -1
  294. package/dist/types/components/{gov-wizzard → gov-wizard}/constants.d.ts +2 -2
  295. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  296. package/dist/types/components/{gov-wizzard/gov-wizzard-item.d.ts → gov-wizard/gov-wizard-item.d.ts} +13 -13
  297. package/dist/types/components/{gov-wizzard/gov-wizzard-item.types.d.ts → gov-wizard/gov-wizard-item.types.d.ts} +1 -1
  298. package/dist/types/components/{gov-wizzard/gov-wizzard.d.ts → gov-wizard/gov-wizard.d.ts} +7 -7
  299. package/dist/types/components.d.ts +50 -50
  300. package/dist/types/helpers/Dom/win.d.ts +2 -0
  301. package/dist/types/pages/Wizard.d.ts +3 -0
  302. package/package.json +2 -2
  303. package/dist/cjs/constants-21559414.js +0 -29
  304. package/dist/cjs/constants-21559414.js.map +0 -1
  305. package/dist/cjs/gov-wizzard-item.cjs.entry.js +0 -114
  306. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +0 -1
  307. package/dist/cjs/gov-wizzard.cjs.entry.js.map +0 -1
  308. package/dist/cjs/win-53f637d4.js.map +0 -1
  309. package/dist/collection/components/gov-wizzard/constants.js +0 -20
  310. package/dist/collection/components/gov-wizzard/constants.js.map +0 -1
  311. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +0 -471
  312. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js +0 -2
  313. package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js.map +0 -1
  314. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +0 -1
  315. package/dist/collection/components/gov-wizzard/gov-wizzard-item.types.js +0 -2
  316. package/dist/collection/components/gov-wizzard/gov-wizzard-item.types.js.map +0 -1
  317. package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +0 -1
  318. package/dist/collection/pages/Wizzard.js.map +0 -1
  319. package/dist/components/gov-wizzard-item.js +0 -2
  320. package/dist/components/gov-wizzard-item.js.map +0 -1
  321. package/dist/components/gov-wizzard.js +0 -2
  322. package/dist/components/gov-wizzard.js.map +0 -1
  323. package/dist/components/p-0f5e2b0a.js +0 -2
  324. package/dist/components/p-34152b51.js +0 -2
  325. package/dist/components/p-34152b51.js.map +0 -1
  326. package/dist/components/p-64ced668.js +0 -2
  327. package/dist/components/p-64ced668.js.map +0 -1
  328. package/dist/components/p-c3f560b9.js +0 -2
  329. package/dist/components/p-c3f560b9.js.map +0 -1
  330. package/dist/components/p-cf493ba0.js.map +0 -1
  331. package/dist/core/p-05dc3d89.entry.js +0 -2
  332. package/dist/core/p-05dc3d89.entry.js.map +0 -1
  333. package/dist/core/p-0f5e2b0a.js +0 -2
  334. package/dist/core/p-16c3a489.entry.js +0 -2
  335. package/dist/core/p-16c3a489.entry.js.map +0 -1
  336. package/dist/core/p-2c7af892.entry.js +0 -2
  337. package/dist/core/p-2c7af892.entry.js.map +0 -1
  338. package/dist/core/p-34152b51.js +0 -2
  339. package/dist/core/p-34152b51.js.map +0 -1
  340. package/dist/core/p-3bc977e2.entry.js.map +0 -1
  341. package/dist/core/p-5195fd36.entry.js +0 -2
  342. package/dist/core/p-5195fd36.entry.js.map +0 -1
  343. package/dist/core/p-64ced668.js +0 -2
  344. package/dist/core/p-64ced668.js.map +0 -1
  345. package/dist/core/p-9751af2e.entry.js +0 -2
  346. package/dist/core/p-9751af2e.entry.js.map +0 -1
  347. package/dist/core/p-ac94d242.entry.js +0 -2
  348. package/dist/core/p-ac94d242.entry.js.map +0 -1
  349. package/dist/core/p-d2729599.entry.js +0 -2
  350. package/dist/core/p-d2729599.entry.js.map +0 -1
  351. package/dist/esm/constants-bf5a583f.js +0 -24
  352. package/dist/esm/constants-bf5a583f.js.map +0 -1
  353. package/dist/esm/gov-wizzard-item.entry.js +0 -110
  354. package/dist/esm/gov-wizzard-item.entry.js.map +0 -1
  355. package/dist/esm/gov-wizzard.entry.js.map +0 -1
  356. package/dist/esm/win-7a1a8ac8.js.map +0 -1
  357. package/dist/types/components/gov-wizzard/gov-wizzard-item.d.d.ts +0 -4
  358. package/dist/types/pages/Wizzard.d.ts +0 -3
  359. /package/dist/components/{p-db22f9ce.js.map → p-3a46b683.js.map} +0 -0
  360. /package/dist/components/{p-386409dc.js.map → p-3e8a9e92.js.map} +0 -0
  361. /package/dist/components/{p-7bea2390.js.map → p-560846c7.js.map} +0 -0
  362. /package/dist/components/{p-ccc44ac1.js.map → p-8da17139.js.map} +0 -0
  363. /package/dist/components/{p-0f5e2b0a.js.map → p-ae894a40.js.map} +0 -0
  364. /package/dist/components/{p-a20f1683.js.map → p-b9388dc1.js.map} +0 -0
  365. /package/dist/components/{p-c0e49b09.js.map → p-d6ab5b8a.js.map} +0 -0
  366. /package/dist/components/{p-103c7bd5.js.map → p-e9a01d67.js.map} +0 -0
  367. /package/dist/core/{p-41f72892.entry.js.map → p-0c1697ce.entry.js.map} +0 -0
  368. /package/dist/core/{p-9a3e3ace.entry.js.map → p-18ef9623.entry.js.map} +0 -0
  369. /package/dist/core/{p-eda868dc.entry.js.map → p-22a86871.entry.js.map} +0 -0
  370. /package/dist/core/{p-722218fd.entry.js.map → p-23385300.entry.js.map} +0 -0
  371. /package/dist/core/{p-48349167.entry.js.map → p-33bf5974.entry.js.map} +0 -0
  372. /package/dist/core/{p-9f541022.entry.js.map → p-3d0ab343.entry.js.map} +0 -0
  373. /package/dist/core/{p-e0c04c5f.entry.js.map → p-41e88980.entry.js.map} +0 -0
  374. /package/dist/core/{p-5a855a15.entry.js.map → p-42c1935f.entry.js.map} +0 -0
  375. /package/dist/core/{p-de3dc437.entry.js.map → p-48cfc1c6.entry.js.map} +0 -0
  376. /package/dist/core/{p-9ad54c30.entry.js.map → p-70140f70.entry.js.map} +0 -0
  377. /package/dist/core/{p-a68547b1.entry.js.map → p-81643870.entry.js.map} +0 -0
  378. /package/dist/core/{p-11be550d.entry.js.map → p-82f64673.entry.js.map} +0 -0
  379. /package/dist/core/{p-fa71fb92.entry.js.map → p-9d72d80b.entry.js.map} +0 -0
  380. /package/dist/core/{p-1ae47d62.entry.js.map → p-a5d00433.entry.js.map} +0 -0
  381. /package/dist/core/{p-0f5e2b0a.js.map → p-ae894a40.js.map} +0 -0
  382. /package/dist/core/{p-7d680665.entry.js.map → p-bfb4d904.entry.js.map} +0 -0
  383. /package/dist/core/{p-3d720d54.entry.js.map → p-dbb46457.entry.js.map} +0 -0
  384. /package/dist/core/{p-b5a560d2.entry.js.map → p-dfc080f2.entry.js.map} +0 -0
  385. /package/dist/core/{p-e1b3c361.entry.js.map → p-e769f3ee.entry.js.map} +0 -0
  386. /package/dist/core/{p-d921bd4b.entry.js.map → p-f0a5847a.entry.js.map} +0 -0
  387. /package/dist/core/{p-5150efee.entry.js.map → p-fc853777.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,qBAAqB,EAAE,KAAK;EAC5B,MAAM,EAAE;IACP,2BAA2B,EAAE,IAAI;GACjC;EACD,OAAO,EAAE;IACR,IAAI,CAAC;MACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;KACtF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;IACD;MACC,IAAI,EAAE,aAAa;MACnB,MAAM,EAAE,IAAI;KACZ;IACD;MACC,IAAI,EAAE,KAAK;MACX,IAAI,EAAE;QACL,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACtD,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACtD,EAAE,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAE;OACxD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,oBAAoB,EAAE,KAAK;MAC3B,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;MACZ,4BAA4B,EAAE,6BAA6B;KAC3D;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,2CAA2C;MACxD,2BAA2B,EAAE,IAAI;MACjC,gBAAgB,EAAE,IAAI;KACtB,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,yCAAyC;MACtD,2BAA2B,EAAE,IAAI;KACjC,CAAC;IACF,mBAAmB,CAAC;MACnB,oBAAoB,EAAE,kCAAkC;MACxD,UAAU,EAAE,WAAW;MACvB,mBAAmB,EAAE,kDAAkD;MACvE,mBAAmB,EAAE,6CAA6C;KAClE,CAAC;GACF;CACD,CAAA","sourcesContent":["import { Config } from \"@stencil/core\"\nimport { postcss } from \"@stencil/postcss\"\nimport { sass } from \"@stencil/sass\"\nimport autoprefixer from \"autoprefixer\"\nimport path from \"path\"\nimport { reactOutputTarget } from \"@stencil/react-output-target\"\nimport { vueOutputTarget } from \"@stencil/vue-output-target\"\nimport { angularOutputTarget } from '@stencil/angular-output-target';\n\nexport const config: Config = {\n\tnamespace: \"core\",\n\tglobalStyle: \"src/sass/global.scss\",\n\ttaskQueue: \"async\",\n\tsourceMap: true,\n\tinvisiblePrehydration: false,\n\textras: {\n\t\texperimentalImportInjection: true,\n\t},\n\tplugins: [\n\t\tsass({\n\t\t\tinjectGlobalPaths: [path.resolve(__dirname, `src/sass/core.scss`).replace(/\\\\/g, \"/\")],\n\t\t}),\n\t\tpostcss({\n\t\t\tplugins: [autoprefixer()],\n\t\t}),\n\t],\n\toutputTargets: [\n\t\t{\n\t\t\ttype: \"dist\",\n\t\t\tesmLoaderPath: \"../loader\",\n\t\t},\n\t\t{\n\t\t\ttype: \"docs-readme\",\n\t\t\tstrict: true,\n\t\t},\n\t\t{\n\t\t\ttype: \"www\",\n\t\t\tcopy: [\n\t\t\t\t{ src: \"../../fonts/lib\", dest: \"build/assets/fonts\" },\n\t\t\t\t{ src: \"../../icons/lib\", dest: \"build/assets/icons\" },\n\t\t\t\t{ src: \"../../styles/lib\", dest: \"build/assets/styles\" },\n\t\t\t],\n\t\t\tserviceWorker: null,\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-hydrate-script\",\n\t\t\tdir: \"dist/hydrate\",\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-custom-elements\",\n\t\t\tincludeGlobalScripts: false,\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t\tcustomElementsExportBehavior: 'auto-define-custom-elements'\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-react/lib/index.ts\",\n\t\t\tincludeDefineCustomElements: true,\n\t\t\tincludePolyfills: true\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-vue/lib/index.ts\",\n\t\t\tincludeImportCustomElements: true\n\t\t}),\n\t\tangularOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\toutputType: 'component',\n\t\t\tdirectivesProxyFile: '../../../packages/core-angular/lib/components.ts',\n\t\t\tdirectivesArrayFile: '../../../packages/core-angular/lib/index.ts',\n\t\t}),\n\t],\n}\n"]}
1
+ {"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,qBAAqB,EAAE,KAAK;EAC5B,MAAM,EAAE;IACP,2BAA2B,EAAE,IAAI;GACjC;EACD,OAAO,EAAE;IACR,IAAI,CAAC;MACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;KACtF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;IACD;MACC,IAAI,EAAE,aAAa;MACnB,MAAM,EAAE,IAAI;KACZ;IACD;MACC,IAAI,EAAE,KAAK;MACX,IAAI,EAAE;QACL,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACtD,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACtD,EAAE,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAE;OACxD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,oBAAoB,EAAE,KAAK;MAC3B,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;MACZ,4BAA4B,EAAE,6BAA6B;KAC3D;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,2CAA2C;MACxD,2BAA2B,EAAE,IAAI;MACjC,gBAAgB,EAAE,IAAI;KACtB,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,uBAAuB;MAC7C,WAAW,EAAE,yCAAyC;MACtD,2BAA2B,EAAE,IAAI;KACjC,CAAC;IACF,mBAAmB,CAAC;MACnB,oBAAoB,EAAE,kCAAkC;MACxD,UAAU,EAAE,WAAW;MACvB,mBAAmB,EAAE,0DAA0D;MAC/E,mBAAmB,EAAE,+DAA+D;KACpF,CAAC;GACF;CACD,CAAA","sourcesContent":["import { Config } from \"@stencil/core\"\nimport { postcss } from \"@stencil/postcss\"\nimport { sass } from \"@stencil/sass\"\nimport autoprefixer from \"autoprefixer\"\nimport path from \"path\"\nimport { reactOutputTarget } from \"@stencil/react-output-target\"\nimport { vueOutputTarget } from \"@stencil/vue-output-target\"\nimport { angularOutputTarget } from '@stencil/angular-output-target';\n\nexport const config: Config = {\n\tnamespace: \"core\",\n\tglobalStyle: \"src/sass/global.scss\",\n\ttaskQueue: \"async\",\n\tsourceMap: true,\n\tinvisiblePrehydration: false,\n\textras: {\n\t\texperimentalImportInjection: true,\n\t},\n\tplugins: [\n\t\tsass({\n\t\t\tinjectGlobalPaths: [path.resolve(__dirname, `src/sass/core.scss`).replace(/\\\\/g, \"/\")],\n\t\t}),\n\t\tpostcss({\n\t\t\tplugins: [autoprefixer()],\n\t\t}),\n\t],\n\toutputTargets: [\n\t\t{\n\t\t\ttype: \"dist\",\n\t\t\tesmLoaderPath: \"../loader\",\n\t\t},\n\t\t{\n\t\t\ttype: \"docs-readme\",\n\t\t\tstrict: true,\n\t\t},\n\t\t{\n\t\t\ttype: \"www\",\n\t\t\tcopy: [\n\t\t\t\t{ src: \"../../fonts/lib\", dest: \"build/assets/fonts\" },\n\t\t\t\t{ src: \"../../icons/lib\", dest: \"build/assets/icons\" },\n\t\t\t\t{ src: \"../../styles/lib\", dest: \"build/assets/styles\" },\n\t\t\t],\n\t\t\tserviceWorker: null,\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-hydrate-script\",\n\t\t\tdir: \"dist/hydrate\",\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-custom-elements\",\n\t\t\tincludeGlobalScripts: false,\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t\tcustomElementsExportBehavior: 'auto-define-custom-elements'\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-react/lib/index.ts\",\n\t\t\tincludeDefineCustomElements: true,\n\t\t\tincludePolyfills: true\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce\",\n\t\t\tproxiesFile: \"../../../packages/core-vue/lib/index.ts\",\n\t\t\tincludeImportCustomElements: true\n\t\t}),\n\t\tangularOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\toutputType: 'component',\n\t\t\tdirectivesProxyFile: '../../../packages/core-angular/src/directives/proxies.ts',\n\t\t\tdirectivesArrayFile: '../../../packages/core-angular/src/directives/proxies-list.ts',\n\t\t}),\n\t],\n}\n"]}
@@ -32,7 +32,7 @@ import '../../pages/ToastMessage';
32
32
  import '../../pages/ToastMessageCountdown';
33
33
  import '../../pages/Tooltip';
34
34
  import '../../pages/Typography';
35
- import '../../pages/Wizzard';
35
+ import '../../pages/Wizard';
36
36
  export declare class GovApp {
37
37
  componentWillLoad(): void;
38
38
  render(): any;
@@ -1,4 +1,4 @@
1
- import { Type } from './constants';
1
+ import { Type } from "./constants";
2
2
  export declare class GovIcon {
3
3
  private h;
4
4
  constructor();
@@ -5,10 +5,10 @@ export declare const WizardVariants: Pick<typeof Variants, "PRIMARY" | "SECONDAR
5
5
  export type WizardVariantsType = `${ValueOf<typeof WizardVariants>}`;
6
6
  export declare const WizardSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M">;
7
7
  export type WizardSizesType = `${ValueOf<typeof WizardSizes>}`;
8
- export declare const WizzardClass: {
8
+ export declare const WizardClass: {
9
9
  root: string;
10
10
  };
11
- export declare const WizzardItemClass: {
11
+ export declare const WizardItemClass: {
12
12
  root: string;
13
13
  header: string;
14
14
  arrow: string;
@@ -0,0 +1,4 @@
1
+ export interface GovWizardItemChangeEvent {
2
+ open: boolean;
3
+ element: HTMLGovWizardItemElement;
4
+ }
@@ -1,38 +1,38 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  import { WizardSizesType, WizardVariantsType } from "./constants";
3
- import { WizzardItemEvent } from "./gov-wizzard-item.types";
4
- export declare class GovWizzardItem {
3
+ import { WizardItemEvent } from "./gov-wizard-item.types";
4
+ export declare class GovWizardItem {
5
5
  private h;
6
6
  private readonly triggerId;
7
7
  private readonly contentId;
8
8
  constructor();
9
- readonly host: HTMLGovWizzardItemElement;
9
+ readonly host: HTMLGovWizardItemElement;
10
10
  /**
11
11
  * Style variation of the button.
12
12
  */
13
13
  readonly variant?: WizardVariantsType;
14
14
  /**
15
- * Size of wizzard
15
+ * Size of wizard
16
16
  */
17
17
  readonly size?: WizardSizesType;
18
18
  /**
19
- * Custom wizzard item identifier. Otherwise, it will be generated
19
+ * Custom wizard item identifier. Otherwise, it will be generated
20
20
  */
21
21
  readonly identifier: string;
22
22
  /**
23
- * Defines weather the wizzard item can be collapsible
23
+ * Defines weather the wizard item can be collapsible
24
24
  */
25
25
  readonly collapsible: boolean;
26
26
  /**
27
- * Item annotation of the wizzard
27
+ * Item annotation of the wizard
28
28
  */
29
29
  readonly annotation: string;
30
30
  /**
31
- * Item label of the wizzard
31
+ * Item label of the wizard
32
32
  */
33
33
  readonly label: string;
34
34
  /**
35
- * Makes the wizzard component disabled.
35
+ * Makes the wizard component disabled.
36
36
  */
37
37
  readonly disabled: boolean;
38
38
  /**
@@ -46,7 +46,7 @@ export declare class GovWizzardItem {
46
46
  /**
47
47
  * Called when the accordion state changes
48
48
  */
49
- govChange: EventEmitter<WizzardItemEvent>;
49
+ govChange: EventEmitter<WizardItemEvent>;
50
50
  private validateLabel;
51
51
  private validateTriggerTag;
52
52
  private validateVariant;
@@ -54,15 +54,15 @@ export declare class GovWizzardItem {
54
54
  componentWillLoad(): void;
55
55
  render(): any;
56
56
  /**
57
- * Opening the Wizzard
57
+ * Opening the Wizard
58
58
  */
59
59
  open(): Promise<void>;
60
60
  /**
61
- * Closing the Wizzard
61
+ * Closing the Wizard
62
62
  */
63
63
  close(): Promise<void>;
64
64
  /**
65
- * Wizzard switch
65
+ * Wizard switch
66
66
  */
67
67
  toggle(): Promise<void>;
68
68
  /**
@@ -1,4 +1,4 @@
1
1
  import { GovBaseEvent } from "../../types/event.types";
2
- export interface WizzardItemEvent extends GovBaseEvent {
2
+ export interface WizardItemEvent extends GovBaseEvent {
3
3
  expanded: boolean;
4
4
  }
@@ -1,16 +1,16 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  import { WizardSizesType } from "./constants";
3
- import { GovWizzardItemChangeEvent } from "./gov-wizzard-item.d";
4
- export declare class GovWizzard {
3
+ import { GovWizardItemChangeEvent } from "./gov-wizard-item.d";
4
+ export declare class GovWizard {
5
5
  private h;
6
- readonly host: HTMLGovWizzardElement;
6
+ readonly host: HTMLGovWizardElement;
7
7
  constructor();
8
8
  /**
9
- * Size of wizzard
9
+ * Size of wizard
10
10
  */
11
11
  readonly size?: WizardSizesType;
12
12
  /**
13
- * Adds accessible label for the wizzard that is only shown for screen readers.
13
+ * Adds accessible label for the wizard that is only shown for screen readers.
14
14
  */
15
15
  readonly wcagLabel: string;
16
16
  /**
@@ -18,9 +18,9 @@ export declare class GovWizzard {
18
18
  */
19
19
  readonly wcagLabelledBy: string;
20
20
  /**
21
- * Called when the wizzard children state changes
21
+ * Called when the wizard children state changes
22
22
  */
23
- govChange: EventEmitter<GovWizzardItemChangeEvent>;
23
+ govChange: EventEmitter<GovWizardItemChangeEvent>;
24
24
  private validateSize;
25
25
  componentWillLoad(): void;
26
26
  componentDidLoad(): void;
@@ -52,9 +52,9 @@ import { GovStepperItemChangeEvent } from "./components/gov-stepper/gov-stepper-
52
52
  import { TabOrientationType, TabType, VariantType as VariantType2 } from "./components/gov-tabs/constants";
53
53
  import { ToastTypesType, ToastVariantType } from "./components/gov-toast/constants";
54
54
  import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./components/gov-tooltip/constants";
55
- import { WizardSizesType, WizardVariantsType } from "./components/gov-wizzard/constants";
56
- import { GovWizzardItemChangeEvent } from "./components/gov-wizzard/gov-wizzard-item.d";
57
- import { WizzardItemEvent } from "./components/gov-wizzard/gov-wizzard-item.types";
55
+ import { WizardSizesType, WizardVariantsType } from "./components/gov-wizard/constants";
56
+ import { GovWizardItemChangeEvent } from "./components/gov-wizard/gov-wizard-item.d";
57
+ import { WizardItemEvent } from "./components/gov-wizard/gov-wizard-item.types";
58
58
  export { AccordionSizeType, AccordionVariantType } from "./components/gov-accordion/constants";
59
59
  export { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
60
60
  export { VariantType } from "./components/gov-alert/constants";
@@ -102,9 +102,9 @@ export { GovStepperItemChangeEvent } from "./components/gov-stepper/gov-stepper-
102
102
  export { TabOrientationType, TabType, VariantType as VariantType2 } from "./components/gov-tabs/constants";
103
103
  export { ToastTypesType, ToastVariantType } from "./components/gov-toast/constants";
104
104
  export { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./components/gov-tooltip/constants";
105
- export { WizardSizesType, WizardVariantsType } from "./components/gov-wizzard/constants";
106
- export { GovWizzardItemChangeEvent } from "./components/gov-wizzard/gov-wizzard-item.d";
107
- export { WizzardItemEvent } from "./components/gov-wizzard/gov-wizzard-item.types";
105
+ export { WizardSizesType, WizardVariantsType } from "./components/gov-wizard/constants";
106
+ export { GovWizardItemChangeEvent } from "./components/gov-wizard/gov-wizard-item.d";
107
+ export { WizardItemEvent } from "./components/gov-wizard/gov-wizard-item.types";
108
108
  export namespace Components {
109
109
  interface GovAccordion {
110
110
  /**
@@ -1811,9 +1811,9 @@ export namespace Components {
1811
1811
  */
1812
1812
  "isVisible": boolean;
1813
1813
  }
1814
- interface GovWizzard {
1814
+ interface GovWizard {
1815
1815
  /**
1816
- * Size of wizzard
1816
+ * Size of wizard
1817
1817
  */
1818
1818
  "size"?: WizardSizesType;
1819
1819
  /**
@@ -1821,7 +1821,7 @@ export namespace Components {
1821
1821
  */
1822
1822
  "validateWcag": () => Promise<void>;
1823
1823
  /**
1824
- * Adds accessible label for the wizzard that is only shown for screen readers.
1824
+ * Adds accessible label for the wizard that is only shown for screen readers.
1825
1825
  */
1826
1826
  "wcagLabel": string;
1827
1827
  /**
@@ -1829,17 +1829,17 @@ export namespace Components {
1829
1829
  */
1830
1830
  "wcagLabelledBy": string;
1831
1831
  }
1832
- interface GovWizzardItem {
1832
+ interface GovWizardItem {
1833
1833
  /**
1834
- * Item annotation of the wizzard
1834
+ * Item annotation of the wizard
1835
1835
  */
1836
1836
  "annotation": string;
1837
1837
  /**
1838
- * Closing the Wizzard
1838
+ * Closing the Wizard
1839
1839
  */
1840
1840
  "close": () => Promise<void>;
1841
1841
  /**
1842
- * Defines weather the wizzard item can be collapsible
1842
+ * Defines weather the wizard item can be collapsible
1843
1843
  */
1844
1844
  "collapsible": boolean;
1845
1845
  /**
@@ -1847,11 +1847,11 @@ export namespace Components {
1847
1847
  */
1848
1848
  "currentState": () => Promise<boolean>;
1849
1849
  /**
1850
- * Makes the wizzard component disabled.
1850
+ * Makes the wizard component disabled.
1851
1851
  */
1852
1852
  "disabled": boolean;
1853
1853
  /**
1854
- * Custom wizzard item identifier. Otherwise, it will be generated
1854
+ * Custom wizard item identifier. Otherwise, it will be generated
1855
1855
  */
1856
1856
  "identifier": string;
1857
1857
  /**
@@ -1859,7 +1859,7 @@ export namespace Components {
1859
1859
  */
1860
1860
  "isExpanded": boolean;
1861
1861
  /**
1862
- * Item label of the wizzard
1862
+ * Item label of the wizard
1863
1863
  */
1864
1864
  "label": string;
1865
1865
  /**
@@ -1867,15 +1867,15 @@ export namespace Components {
1867
1867
  */
1868
1868
  "labelTag": string;
1869
1869
  /**
1870
- * Opening the Wizzard
1870
+ * Opening the Wizard
1871
1871
  */
1872
1872
  "open": () => Promise<void>;
1873
1873
  /**
1874
- * Size of wizzard
1874
+ * Size of wizard
1875
1875
  */
1876
1876
  "size"?: WizardSizesType;
1877
1877
  /**
1878
- * Wizzard switch
1878
+ * Wizard switch
1879
1879
  */
1880
1880
  "toggle": () => Promise<void>;
1881
1881
  /**
@@ -1996,13 +1996,13 @@ export interface GovToastCustomEvent<T> extends CustomEvent<T> {
1996
1996
  detail: T;
1997
1997
  target: HTMLGovToastElement;
1998
1998
  }
1999
- export interface GovWizzardCustomEvent<T> extends CustomEvent<T> {
1999
+ export interface GovWizardCustomEvent<T> extends CustomEvent<T> {
2000
2000
  detail: T;
2001
- target: HTMLGovWizzardElement;
2001
+ target: HTMLGovWizardElement;
2002
2002
  }
2003
- export interface GovWizzardItemCustomEvent<T> extends CustomEvent<T> {
2003
+ export interface GovWizardItemCustomEvent<T> extends CustomEvent<T> {
2004
2004
  detail: T;
2005
- target: HTMLGovWizzardItemElement;
2005
+ target: HTMLGovWizardItemElement;
2006
2006
  }
2007
2007
  declare global {
2008
2008
  interface HTMLGovAccordionElement extends Components.GovAccordion, HTMLStencilElement {
@@ -2353,17 +2353,17 @@ declare global {
2353
2353
  prototype: HTMLGovTooltipContentElement;
2354
2354
  new (): HTMLGovTooltipContentElement;
2355
2355
  };
2356
- interface HTMLGovWizzardElement extends Components.GovWizzard, HTMLStencilElement {
2356
+ interface HTMLGovWizardElement extends Components.GovWizard, HTMLStencilElement {
2357
2357
  }
2358
- var HTMLGovWizzardElement: {
2359
- prototype: HTMLGovWizzardElement;
2360
- new (): HTMLGovWizzardElement;
2358
+ var HTMLGovWizardElement: {
2359
+ prototype: HTMLGovWizardElement;
2360
+ new (): HTMLGovWizardElement;
2361
2361
  };
2362
- interface HTMLGovWizzardItemElement extends Components.GovWizzardItem, HTMLStencilElement {
2362
+ interface HTMLGovWizardItemElement extends Components.GovWizardItem, HTMLStencilElement {
2363
2363
  }
2364
- var HTMLGovWizzardItemElement: {
2365
- prototype: HTMLGovWizzardItemElement;
2366
- new (): HTMLGovWizzardItemElement;
2364
+ var HTMLGovWizardItemElement: {
2365
+ prototype: HTMLGovWizardItemElement;
2366
+ new (): HTMLGovWizardItemElement;
2367
2367
  };
2368
2368
  interface HTMLElementTagNameMap {
2369
2369
  "gov-accordion": HTMLGovAccordionElement;
@@ -2424,8 +2424,8 @@ declare global {
2424
2424
  "gov-toast": HTMLGovToastElement;
2425
2425
  "gov-tooltip": HTMLGovTooltipElement;
2426
2426
  "gov-tooltip-content": HTMLGovTooltipContentElement;
2427
- "gov-wizzard": HTMLGovWizzardElement;
2428
- "gov-wizzard-item": HTMLGovWizzardItemElement;
2427
+ "gov-wizard": HTMLGovWizardElement;
2428
+ "gov-wizard-item": HTMLGovWizardItemElement;
2429
2429
  }
2430
2430
  }
2431
2431
  declare namespace LocalJSX {
@@ -4036,17 +4036,17 @@ declare namespace LocalJSX {
4036
4036
  */
4037
4037
  "isVisible"?: boolean;
4038
4038
  }
4039
- interface GovWizzard {
4039
+ interface GovWizard {
4040
4040
  /**
4041
- * Called when the wizzard children state changes
4041
+ * Called when the wizard children state changes
4042
4042
  */
4043
- "onGov-change"?: (event: GovWizzardCustomEvent<GovWizzardItemChangeEvent>) => void;
4043
+ "onGov-change"?: (event: GovWizardCustomEvent<GovWizardItemChangeEvent>) => void;
4044
4044
  /**
4045
- * Size of wizzard
4045
+ * Size of wizard
4046
4046
  */
4047
4047
  "size"?: WizardSizesType;
4048
4048
  /**
4049
- * Adds accessible label for the wizzard that is only shown for screen readers.
4049
+ * Adds accessible label for the wizard that is only shown for screen readers.
4050
4050
  */
4051
4051
  "wcagLabel"?: string;
4052
4052
  /**
@@ -4054,21 +4054,21 @@ declare namespace LocalJSX {
4054
4054
  */
4055
4055
  "wcagLabelledBy"?: string;
4056
4056
  }
4057
- interface GovWizzardItem {
4057
+ interface GovWizardItem {
4058
4058
  /**
4059
- * Item annotation of the wizzard
4059
+ * Item annotation of the wizard
4060
4060
  */
4061
4061
  "annotation"?: string;
4062
4062
  /**
4063
- * Defines weather the wizzard item can be collapsible
4063
+ * Defines weather the wizard item can be collapsible
4064
4064
  */
4065
4065
  "collapsible"?: boolean;
4066
4066
  /**
4067
- * Makes the wizzard component disabled.
4067
+ * Makes the wizard component disabled.
4068
4068
  */
4069
4069
  "disabled"?: boolean;
4070
4070
  /**
4071
- * Custom wizzard item identifier. Otherwise, it will be generated
4071
+ * Custom wizard item identifier. Otherwise, it will be generated
4072
4072
  */
4073
4073
  "identifier"?: string;
4074
4074
  /**
@@ -4076,7 +4076,7 @@ declare namespace LocalJSX {
4076
4076
  */
4077
4077
  "isExpanded"?: boolean;
4078
4078
  /**
4079
- * Item label of the wizzard
4079
+ * Item label of the wizard
4080
4080
  */
4081
4081
  "label"?: string;
4082
4082
  /**
@@ -4086,9 +4086,9 @@ declare namespace LocalJSX {
4086
4086
  /**
4087
4087
  * Called when the accordion state changes
4088
4088
  */
4089
- "onGov-change"?: (event: GovWizzardItemCustomEvent<WizzardItemEvent>) => void;
4089
+ "onGov-change"?: (event: GovWizardItemCustomEvent<WizardItemEvent>) => void;
4090
4090
  /**
4091
- * Size of wizzard
4091
+ * Size of wizard
4092
4092
  */
4093
4093
  "size"?: WizardSizesType;
4094
4094
  /**
@@ -4155,8 +4155,8 @@ declare namespace LocalJSX {
4155
4155
  "gov-toast": GovToast;
4156
4156
  "gov-tooltip": GovTooltip;
4157
4157
  "gov-tooltip-content": GovTooltipContent;
4158
- "gov-wizzard": GovWizzard;
4159
- "gov-wizzard-item": GovWizzardItem;
4158
+ "gov-wizard": GovWizard;
4159
+ "gov-wizard-item": GovWizardItem;
4160
4160
  }
4161
4161
  }
4162
4162
  export { LocalJSX as JSX };
@@ -4221,8 +4221,8 @@ declare module "@stencil/core" {
4221
4221
  "gov-toast": LocalJSX.GovToast & JSXBase.HTMLAttributes<HTMLGovToastElement>;
4222
4222
  "gov-tooltip": LocalJSX.GovTooltip & JSXBase.HTMLAttributes<HTMLGovTooltipElement>;
4223
4223
  "gov-tooltip-content": LocalJSX.GovTooltipContent & JSXBase.HTMLAttributes<HTMLGovTooltipContentElement>;
4224
- "gov-wizzard": LocalJSX.GovWizzard & JSXBase.HTMLAttributes<HTMLGovWizzardElement>;
4225
- "gov-wizzard-item": LocalJSX.GovWizzardItem & JSXBase.HTMLAttributes<HTMLGovWizzardItemElement>;
4224
+ "gov-wizard": LocalJSX.GovWizard & JSXBase.HTMLAttributes<HTMLGovWizardElement>;
4225
+ "gov-wizard-item": LocalJSX.GovWizardItem & JSXBase.HTMLAttributes<HTMLGovWizardItemElement>;
4226
4226
  }
4227
4227
  }
4228
4228
  }
@@ -1,10 +1,12 @@
1
1
  interface IConfig {
2
2
  canValidateWcagOnRender: boolean;
3
3
  iconsPath: string;
4
+ iconsLazyLoad: boolean;
4
5
  documentNode: Document;
5
6
  }
6
7
  export declare const isWindow: boolean;
7
8
  export declare const canValidateWcagOnRender: () => IConfig['canValidateWcagOnRender'];
8
9
  export declare const iconsPath: () => IConfig['iconsPath'];
10
+ export declare const iconsLazyLoad: () => IConfig['iconsLazyLoad'];
9
11
  export declare const documentNode: () => IConfig['documentNode'];
10
12
  export {};
@@ -0,0 +1,3 @@
1
+ declare class WizardPage extends HTMLElement {
2
+ connectedCallback(): void;
3
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gov-design-system-ce/components",
3
3
  "description": "This package includes Gov Design System Web Components and related utilities.",
4
4
  "author": "Zdeněk Vítek",
5
- "version": "0.0.53",
5
+ "version": "0.0.54",
6
6
  "license": "EUPL v1.2 Licensed",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "unpkg": "./dist/core/core.esm.js",
@@ -24,6 +24,6 @@
24
24
  "dependencies" : {
25
25
  "@gov-design-system-ce/icons": "0.0.9",
26
26
  "@gov-design-system-ce/fonts": "0.0.2",
27
- "@gov-design-system-ce/styles": "0.0.2"
27
+ "@gov-design-system-ce/styles": "0.0.5"
28
28
  }
29
29
  }
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- const variants = require('./variants-f5ffeef3.js');
4
- const sizes = require('./sizes-79872c2a.js');
5
- const utils = require('./utils-c9b1bba3.js');
6
-
7
- const WizardVariants = utils.pick(variants.Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS']);
8
- const WizardSizes = utils.pick(sizes.Sizes, ['_XS', '_S', '_M']);
9
- const WizzardClass = {
10
- root: 'gov-wizzard',
11
- };
12
- const WizzardItemClass = {
13
- root: 'gov-wizzard-item',
14
- header: 'gov-wizzard-item__header',
15
- arrow: 'gov-wizzard-item__arrow',
16
- title: 'gov-wizzard-item__title',
17
- name: 'gov-wizzard-item__name',
18
- label: 'gov-wizzard-item__label',
19
- annot: 'gov-wizzard-item__annot',
20
- prefix: 'gov-wizzard-item__prefix',
21
- content: 'gov-wizzard-item__content',
22
- };
23
-
24
- exports.WizardSizes = WizardSizes;
25
- exports.WizardVariants = WizardVariants;
26
- exports.WizzardClass = WizzardClass;
27
- exports.WizzardItemClass = WizzardItemClass;
28
-
29
- //# sourceMappingURL=constants-21559414.js.map
@@ -1 +0,0 @@
1
- {"file":"constants-21559414.js","mappings":";;;;;;MAKa,cAAc,GAAGA,UAAI,CAACC,iBAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;MAGxF,WAAW,GAAGD,UAAI,CAACE,WAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;MAG9C,YAAY,GAAG;EAC3B,IAAI,EAAE,aAAa;EACnB;MAEY,gBAAgB,GAAG;EAC/B,IAAI,EAAE,kBAAkB;EACxB,MAAM,EAAE,0BAA0B;EAClC,KAAK,EAAE,yBAAyB;EAChC,KAAK,EAAE,yBAAyB;EAChC,IAAI,EAAE,wBAAwB;EAC9B,KAAK,EAAE,yBAAyB;EAChC,KAAK,EAAE,yBAAyB;EAChC,MAAM,EAAE,0BAA0B;EAClC,OAAO,EAAE,2BAA2B;;;;;;;;","names":["pick","Variants","Sizes"],"sources":["../../../packages/core/src/components/gov-wizzard/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const WizardVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type WizardVariantsType = `${ValueOf<typeof WizardVariants>}`\n\nexport const WizardSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\n\nexport const WizzardClass = {\n\troot: 'gov-wizzard',\n}\n\nexport const WizzardItemClass = {\n\troot: 'gov-wizzard-item',\n\theader: 'gov-wizzard-item__header',\n\tarrow: 'gov-wizzard-item__arrow',\n\ttitle: 'gov-wizzard-item__title',\n\tname: 'gov-wizzard-item__name',\n\tlabel: 'gov-wizzard-item__label',\n\tannot: 'gov-wizzard-item__annot',\n\tprefix: 'gov-wizzard-item__prefix',\n\tcontent: 'gov-wizzard-item__content',\n}\n"],"version":3}
@@ -1,114 +0,0 @@
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-21559414.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 govWizzardItemCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@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-item{position:relative;display:block;width:100%;margin-bottom:1rem;background:var(--gov-wizzard-bg-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{position:relative;width:100%}.gov-wizzard-item__arrow{flex:0 0 auto;width:0.75rem;height:0.75rem}.gov-wizzard-item__title{margin:0;padding:0;font-family:var(--gov-font-family, \"Roboto\", sans-serif);font-weight:400;box-sizing:border-box;display:flex;gap:1rem;align-items:baseline}.gov-wizzard-item__prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;border-radius:50%;text-align:center}.gov-wizzard-item__prefix .gov-icon{width:45%;height:45%}.gov-wizzard-item__prefix span[slot=prefix]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.gov-wizzard-item__name{display:flex;flex-direction:column}.gov-wizzard-item__label{display:flex;gap:0.5rem;align-items:center;font-weight:var(--gov-wizzard-title-font-weight, 400)}.gov-wizzard-item__annot{color:var(--gov-color-secondary)}.gov-wizzard-item__content>*:last-child{margin-bottom:0}.gov-wizzard-item[variant=primary] .gov-wizzard-item__header{color:var(--gov-wizzard-primary-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=primary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-primary-indicator-bg, var(--gov-color-primary-300));color:var(--gov-wizzard-primary-indicator-color, var(--gov-color-primary-800))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__header{color:var(--gov-wizzard-secondary-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=secondary] .gov-wizzard-item__prefix{background:var(--gov-wizzard-secondary-indicator-bg, var(--gov-color-secondary-400));color:var(--gov-wizzard-secondary-indicator-color, var(--gov-color-secondary-700))}.gov-wizzard-item[variant=success] .gov-wizzard-item__header{color:var(--gov-wizzard-success-color, var(--gov-color-success-500))}.gov-wizzard-item[variant=success] .gov-wizzard-item__prefix{background:var(--gov-wizzard-success-indicator-bg, var(--gov-color-success));color:var(--gov-wizzard-success-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=error] .gov-wizzard-item__header{color:var(--gov-wizzard-error-color, var(--gov-color-error-500))}.gov-wizzard-item[variant=error] .gov-wizzard-item__prefix{background:var(--gov-wizzard-error-indicator-bg, var(--gov-color-error));color:var(--gov-wizzard-error-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__header{color:var(--gov-wizzard-warning-color, var(--gov-color-warning-500))}.gov-wizzard-item[variant=warning] .gov-wizzard-item__prefix{background:var(--gov-wizzard-warning-indicator-bg, var(--gov-color-warning));color:var(--gov-wizzard-warning-indicator-color, var(--gov-color-neutral-white))}.gov-wizzard-item__header{gap:1rem;padding:1rem;border-radius:0;text-align:left;transition:150ms linear color}.gov-wizzard-item__header:focus{outline:none}.gov-wizzard-item__header:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-wizzard-item__prefix{position:absolute;left:1rem}.gov-wizzard-item__header[aria-expanded=true] .gov-wizzard-item__label .gov-icon{transform:scale(-1)}.gov-wizzard-item[size=xs] .gov-wizzard-item__title,.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__annot,.gov-wizzard-item[size=s] .gov-wizzard-item__annot,.gov-wizzard-item[size=m] .gov-wizzard-item__annot{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-wizzard-item[size=xs] .gov-wizzard-item__prefix,.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);width:var(--gov-wizzard-xs-indicator-size, 1.5rem);height:var(--gov-wizzard-xs-indicator-size, 1.5rem);top:var(--gov-wizzard-xs-top, 1rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__prefix+.gov-wizzard-item__header,.gov-wizzard-item[size=s] .gov-wizzard-item__prefix+.gov-wizzard-item__header,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix+.gov-wizzard-item__header{padding:var(--gov-wizzard-xs-header-padding, 1rem 1rem 1rem 3.5rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__content,.gov-wizzard-item[size=s] .gov-wizzard-item__content,.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-content-padding, 0rem 1rem 1rem 1rem)}@media not all and (pointer: coarse){.gov-wizzard-item[variant=primary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=primary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-primary-hover-color, var(--gov-color-primary-900))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=secondary][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=secondary][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-secondary-hover-color, var(--gov-color-secondary-800))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=success][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=success][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-success-hover-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=error][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=error][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-error-hover-color, var(--gov-color-error-600))}}@media not all and (pointer: coarse){.gov-wizzard-item[variant=warning][collapsible=\"\"] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=true i] .gov-wizzard-item__header:hover,.gov-wizzard-item[variant=warning][collapsible=\"1\"] .gov-wizzard-item__header:hover{color:var(--gov-wizzard-warning-hover-color, var(--gov-color-warning-600))}}button.gov-wizzard-item__header{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:flex-start;text-align:left}button.gov-wizzard-item__header:focus{outline:none}@media (min-width: 30em){.gov-wizzard-item[size=s] .gov-wizzard-item__title,.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=s] .gov-wizzard-item__prefix,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-s-indicator-size, 2rem);height:var(--gov-wizzard-s-indicator-size, 2rem);top:var(--gov-wizzard-s-top, 0.8125rem)}.gov-wizzard-item[size=s] .gov-wizzard-item__prefix+.gov-wizzard-item__header,.gov-wizzard-item[size=m] .gov-wizzard-item__prefix+.gov-wizzard-item__header{padding:var(--gov-wizzard-s-header-padding, 1rem 1rem 1rem 4rem)}}@media (min-width: 48em){.gov-wizzard-item[size=m] .gov-wizzard-item__title{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-wizzard-item[size=m] .gov-wizzard-item__prefix{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);width:var(--gov-wizzard-m-indicator-size, 2.5rem);height:var(--gov-wizzard-m-indicator-size, 2.5rem);top:var(--gov-wizzard-m-top, 0.5625rem)}.gov-wizzard-item[size=m] .gov-wizzard-item__prefix+.gov-wizzard-item__header{padding:var(--gov-wizzard-m-header-padding, 1rem 1rem 1rem 4.5rem)}.gov-wizzard-item[size=xs] .gov-wizzard-item__content{padding:var(--gov-wizzard-xs-content-padding, 0rem 1rem 1rem 3.5rem)}.gov-wizzard-item[size=s] .gov-wizzard-item__content{padding:var(--gov-wizzard-s-content-padding, 0rem 1rem 1rem 4rem)}.gov-wizzard-item[size=m] .gov-wizzard-item__content{padding:var(--gov-wizzard-m-content-padding, 0rem 1rem 1rem 4.5rem)}}";
17
-
18
- var Tags;
19
- (function (Tags) {
20
- Tags["DIV"] = "div";
21
- Tags["BUTTON"] = "button";
22
- })(Tags || (Tags = {}));
23
- const GovWizzardItem = 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("GovWizzardItem");
38
- this.contentId = string_utils.createID("GovWizzardContent");
39
- }
40
- validateLabel(newValue) {
41
- if (!newValue) {
42
- gov_log.govErrorLog(`[${constants.WizzardItemClass.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.WizzardItemClass.root}]: Tag ${newValue} is not allowed.`);
50
- }
51
- }
52
- }
53
- validateVariant(newValue) {
54
- props.validateProp(constants.WizardVariants, newValue, constants.WizzardItemClass.root);
55
- }
56
- emmitChange() {
57
- this.govChange.emit({ expanded: this.isExpanded, component: constants.WizzardItemClass.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.WizzardItemClass.prefix }, index.h("slot", { name: "prefix" })));
69
- const label = (index.h(LabelTag, { class: constants.WizzardItemClass.title }, index.h("span", { class: constants.WizzardItemClass.name }, index.h("span", { class: constants.WizzardItemClass.label }, index.h("span", null, this.label), this.collapsible && index.h("gov-icon", { class: constants.WizzardItemClass.arrow, name: "chevron-down" })), this.annotation && index.h("span", { class: constants.WizzardItemClass.annot }, this.annotation))));
70
- return (index.h(index.Host, { class: this.h.classes(constants.WizzardItemClass.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.WizzardItemClass.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.WizzardItemClass.header }, label))), this.collapsible ? (index.h("div", { class: constants.WizzardItemClass.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.WizzardItemClass.content, "aria-hidden": template.booleanString(!this.isExpanded), hidden: !this.isExpanded }, index.h("slot", null)))));
75
- }
76
- /**
77
- * Opening the Wizzard
78
- */
79
- async open() {
80
- this.isExpanded = true;
81
- this.emmitChange();
82
- }
83
- /**
84
- * Closing the Wizzard
85
- */
86
- async close() {
87
- this.isExpanded = false;
88
- this.emmitChange();
89
- }
90
- /**
91
- * Wizzard 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
- GovWizzardItem.style = govWizzardItemCss;
111
-
112
- exports.gov_wizzard_item = GovWizzardItem;
113
-
114
- //# sourceMappingURL=gov-wizzard-item.cjs.entry.js.map