@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":"gov-app.js","sourceRoot":"","sources":["../../../../../../src/components/gov-app/gov-app.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,yBAAyB,CAAA;AAChC,OAAO,oBAAoB,CAAA;AAC3B,OAAO,kBAAkB,CAAA;AACzB,OAAO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AI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE;MAC/C,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE;MACzC,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE;MAC/C,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE;MAC3C,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE;MACrD,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,oBAAoB,EAAE;MAC3D,EAAE,IAAI,EAAE,0BAA0B,EAAE,SAAS,EAAE,8BAA8B,EAAE;MAC/E,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE;MACrD,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE;MAC7C,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE;MAC/C,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE;MACjD,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE;MACzC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE;KAC7C,CAAC,CAAA;EACH,CAAC;EAED,MAAM;IACL,OAAO,EAAC,IAAI,OAAG,CAAA;EAChB,CAAC;;;;;;;;CACD","sourcesContent":["import { Component, Host, h } from '@stencil/core'\nimport { Router } from '@vaadin/router'\nimport '../../pages/Accordion'\nimport '../../pages/Alert'\nimport '../../pages/Badge'\nimport '../../pages/Breadcrumbs'\nimport '../../pages/Button'\nimport '../../pages/Card'\nimport '../../pages/Container'\nimport '../../pages/ControlGroup'\nimport '../../pages/Cookiebar'\nimport '../../pages/Empty'\nimport '../../pages/Error'\nimport '../../pages/FormLabel'\nimport '../../pages/FormMessage'\nimport '../../pages/Forms'\nimport '../../pages/FormsRestructure'\nimport '../../pages/Grid'\nimport '../../pages/Home'\nimport '../../pages/Layout'\nimport '../../pages/Loading'\nimport '../../pages/Message'\nimport '../../pages/Modal'\nimport '../../pages/Nav'\nimport '../../pages/Pagination'\nimport '../../pages/Prompt'\nimport '../../pages/SideNav'\nimport '../../pages/Spacer'\nimport '../../pages/Statsbar'\nimport '../../pages/Stepper'\nimport '../../pages/Tabs'\nimport '../../pages/Tiles.js'\nimport '../../pages/ToastMessage'\nimport '../../pages/ToastMessageCountdown'\nimport '../../pages/Tooltip'\nimport '../../pages/Typography'\nimport '../../pages/Wizzard'\n\n@Component({\n\ttag: 'gov-app',\n\tstyleUrl: 'gov-app.scss',\n\tshadow: false,\n})\nexport class GovApp {\n\tcomponentWillLoad() {\n\t\tconst outlet = document.getElementById('outlet')\n\t\toutlet.innerHTML = ''\n\t\tconst router = new Router(outlet)\n\t\trouter.setRoutes([\n\t\t\t{ path: '/', component: 'home-page' },\n\t\t\t{ path: '/alert', component: 'alert-page' },\n\t\t\t{ path: '/accordion', component: 'accordion-page' },\n\t\t\t{ path: '/badge', component: 'badge-page' },\n\t\t\t{ path: '/button', component: 'button-page' },\n\t\t\t{ path: '/breadcrumbs', component: 'breadcrumbs-page' },\n\t\t\t{ path: '/card', component: 'card-page' },\n\t\t\t{ path: '/message', component: 'message-page' },\n\t\t\t{ path: '/cookiebar', component: 'cookiebar-page' },\n\t\t\t{ path: '/container', component: 'container-page' },\n\t\t\t{ path: '/control-group', component: 'control-group-page' },\n\t\t\t{ path: '/empty', component: 'empty-page' },\n\t\t\t{ path: '/error', component: 'error-page' },\n\t\t\t{ path: '/forms', component: 'forms-page' },\n\t\t\t{ path: '/forms-restructue', component: 'forms-restructure-page' },\n\t\t\t{ path: '/form-message', component: 'form-message-page' },\n\t\t\t{ path: '/form-label', component: 'form-label-page' },\n\t\t\t{ path: '/grid', component: 'grid-page' },\n\t\t\t{ path: '/loading', component: 'loading-page' },\n\t\t\t{ path: '/modal', component: 'modal-page' },\n\t\t\t{ path: '/nav', component: 'nav-page' },\n\t\t\t{ path: '/spacer', component: 'spacer-page' },\n\t\t\t{ path: '/statsbar', component: 'statsbar-page' },\n\t\t\t{ path: '/stepper', component: 'stepper-page' },\n\t\t\t{ path: '/tabs', component: 'tabs-page' },\n\t\t\t{ path: '/tooltip', component: 'tooltip-page' },\n\t\t\t{ path: '/tiles', component: 'tiles-page' },\n\t\t\t{ path: '/typography', component: 'typography-page' },\n\t\t\t{ path: '/toast-message', component: 'toast-message-page' },\n\t\t\t{ path: '/toast-message-countdown', component: 'toast-message-countdown-page' },\n\t\t\t{ path: '/pagination', component: 'pagination-page' },\n\t\t\t{ path: '/prompt', component: 'prompt-page' },\n\t\t\t{ path: '/wizzard', component: 'wizzard-page' },\n\t\t\t{ path: '/side-nav', component: 'side-nav-page' },\n\t\t\t{ path: '/grid', component: 'grid-page' },\n\t\t\t{ path: '/layout', component: 'layout-page' },\n\t\t])\n\t}\n\n\trender() {\n\t\treturn <Host />\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-app.js","sourceRoot":"","sources":["../../../../../../src/components/gov-app/gov-app.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,yBAAyB,CAAA;AAChC,OAAO,oBAAoB,CAAA;AAC3B,OAAO,kBAAkB,CAAA;AACzB,OAAO,uBAAuB,CAAA;AAC9B,OAAO,0BAA0B,CAAA;AACjC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,uBAAuB,CAAA;AAC9B,OAAO,yBAAyB,CAAA;AAChC,OAAO,mBAAmB,CAAA;AAC1B,OAAO,8BAA8B,CAAA;AACrC,OA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IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE;MACrD,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,oBAAoB,EAAE;MAC3D,EAAE,IAAI,EAAE,0BAA0B,EAAE,SAAS,EAAE,8BAA8B,EAAE;MAC/E,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE;MACrD,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE;MAC7C,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE;MAC7C,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE;MACjD,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE;MACzC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE;KAC7C,CAAC,CAAA;EACH,CAAC;EAED,MAAM;IACL,OAAO,EAAC,IAAI,OAAG,CAAA;EAChB,CAAC;;;;;;;;CACD","sourcesContent":["import { Component, Host, h } from '@stencil/core'\nimport { Router } from '@vaadin/router'\nimport '../../pages/Accordion'\nimport '../../pages/Alert'\nimport '../../pages/Badge'\nimport '../../pages/Breadcrumbs'\nimport '../../pages/Button'\nimport '../../pages/Card'\nimport '../../pages/Container'\nimport '../../pages/ControlGroup'\nimport '../../pages/Cookiebar'\nimport '../../pages/Empty'\nimport '../../pages/Error'\nimport '../../pages/FormLabel'\nimport '../../pages/FormMessage'\nimport '../../pages/Forms'\nimport '../../pages/FormsRestructure'\nimport '../../pages/Grid'\nimport '../../pages/Home'\nimport '../../pages/Layout'\nimport '../../pages/Loading'\nimport '../../pages/Message'\nimport '../../pages/Modal'\nimport '../../pages/Nav'\nimport '../../pages/Pagination'\nimport '../../pages/Prompt'\nimport '../../pages/SideNav'\nimport '../../pages/Spacer'\nimport '../../pages/Statsbar'\nimport '../../pages/Stepper'\nimport '../../pages/Tabs'\nimport '../../pages/Tiles.js'\nimport '../../pages/ToastMessage'\nimport '../../pages/ToastMessageCountdown'\nimport '../../pages/Tooltip'\nimport '../../pages/Typography'\nimport '../../pages/Wizard'\n\n@Component({\n\ttag: 'gov-app',\n\tstyleUrl: 'gov-app.scss',\n\tshadow: false,\n})\nexport class GovApp {\n\tcomponentWillLoad() {\n\t\tconst outlet = document.getElementById('outlet')\n\t\toutlet.innerHTML = ''\n\t\tconst router = new Router(outlet)\n\t\trouter.setRoutes([\n\t\t\t{ path: '/', component: 'home-page' },\n\t\t\t{ path: '/alert', component: 'alert-page' },\n\t\t\t{ path: '/accordion', component: 'accordion-page' },\n\t\t\t{ path: '/badge', component: 'badge-page' },\n\t\t\t{ path: '/button', component: 'button-page' },\n\t\t\t{ path: '/breadcrumbs', component: 'breadcrumbs-page' },\n\t\t\t{ path: '/card', component: 'card-page' },\n\t\t\t{ path: '/message', component: 'message-page' },\n\t\t\t{ path: '/cookiebar', component: 'cookiebar-page' },\n\t\t\t{ path: '/container', component: 'container-page' },\n\t\t\t{ path: '/control-group', component: 'control-group-page' },\n\t\t\t{ path: '/empty', component: 'empty-page' },\n\t\t\t{ path: '/error', component: 'error-page' },\n\t\t\t{ path: '/forms', component: 'forms-page' },\n\t\t\t{ path: '/forms-restructue', component: 'forms-restructure-page' },\n\t\t\t{ path: '/form-message', component: 'form-message-page' },\n\t\t\t{ path: '/form-label', component: 'form-label-page' },\n\t\t\t{ path: '/grid', component: 'grid-page' },\n\t\t\t{ path: '/loading', component: 'loading-page' },\n\t\t\t{ path: '/modal', component: 'modal-page' },\n\t\t\t{ path: '/nav', component: 'nav-page' },\n\t\t\t{ path: '/spacer', component: 'spacer-page' },\n\t\t\t{ path: '/statsbar', component: 'statsbar-page' },\n\t\t\t{ path: '/stepper', component: 'stepper-page' },\n\t\t\t{ path: '/tabs', component: 'tabs-page' },\n\t\t\t{ path: '/tooltip', component: 'tooltip-page' },\n\t\t\t{ path: '/tiles', component: 'tiles-page' },\n\t\t\t{ path: '/typography', component: 'typography-page' },\n\t\t\t{ path: '/toast-message', component: 'toast-message-page' },\n\t\t\t{ path: '/toast-message-countdown', component: 'toast-message-countdown-page' },\n\t\t\t{ path: '/pagination', component: 'pagination-page' },\n\t\t\t{ path: '/prompt', component: 'prompt-page' },\n\t\t\t{ path: '/wizard', component: 'wizard-page' },\n\t\t\t{ path: '/side-nav', component: 'side-nav-page' },\n\t\t\t{ path: '/grid', component: 'grid-page' },\n\t\t\t{ path: '/layout', component: 'layout-page' },\n\t\t])\n\t}\n\n\trender() {\n\t\treturn <Host />\n\t}\n}\n"]}
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
2
2
  import { validateProp } from "../../helpers/Validate/props";
3
3
  import { govHost } from "../../helpers/Dom/template";
4
4
  import { BadgeClass, NativeType } from "./constants";
5
- import { ButtonSizes, ButtonVariants, } from "../gov-button/default/constants";
5
+ import { ButtonSizes, ButtonVariants } from "../gov-button/default/constants";
6
6
  export class GovBadge {
7
7
  constructor() {
8
8
  this.inverse = false;
@@ -32,7 +32,7 @@ export class GovBadge {
32
32
  BadgeClass.root,
33
33
  this.h.hasSlot("right") ? BadgeClass.hasRight : undefined,
34
34
  this.h.hasSlot("left") ? BadgeClass.hasLeft : undefined,
35
- ]), disabled: this.disabled, href: this.href, variant: this.variant, size: this.size, inverse: this.inverse, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON }, h(Tag, { class: "element", href: this.href, target: this.target, "aria-label": this.wcagLabel, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), type: nativeType }, this.h.hasSlot("left") && h("slot", { name: "left" }), this.h.hasSlot("left-icon") && h("slot", { name: "left-icon" }), h("slot", null), this.h.hasSlot("right-icon") && h("slot", { name: "right-icon" }), this.h.hasSlot("right") && h("slot", { name: "right" }))));
35
+ ]), disabled: this.disabled, href: this.href, variant: this.variant, type: this.inverse ? undefined : "solid", size: this.size, inverse: this.inverse, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON }, h(Tag, { class: "element", href: this.href, target: this.target, "aria-label": this.wcagLabel, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), type: nativeType }, this.h.hasSlot("left") && h("slot", { name: "left" }), this.h.hasSlot("left-icon") && h("slot", { name: "left-icon" }), h("slot", null), this.h.hasSlot("right-icon") && h("slot", { name: "right-icon" }), this.h.hasSlot("right") && h("slot", { name: "right" }))));
36
36
  }
37
37
  onClickHandler(e) {
38
38
  e.stopPropagation();
@@ -1 +1 @@
1
- {"version":3,"file":"gov-badge.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/gov-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErG,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAmB,MAAM,aAAa,CAAA;AACrE,OAAO,EACN,WAAW,EAEX,cAAc,GAEd,MAA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B,OAAO,IAAI,CAAC,UAAU,CAAA;EACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { BadgeClass, NativeType, NativeTypesType } from \"./constants\"\nimport {\n\tButtonSizes,\n\tButtonSizesType,\n\tButtonVariants,\n\tButtonVariantType,\n} from \"../gov-button/default/constants\"\n\n@Component({\n\ttag: \"gov-badge\",\n\tstyleUrl: \"gov-badge.scss\",\n})\nexport class GovBadge {\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBadgeElement\n\n\t/**\n\t * Determine if component should have inverse colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Makes the badge component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target: string\n\t/**\n\t * Badge’s size.\n\t */\n\t@Prop() readonly size: ButtonSizesType = ButtonSizes._M\n\t/**\n\t * Used to change the HTML tag in the badge\n\t */\n\t@Prop() readonly tag: NativeTypesType = \"span\"\n\t/**\n\t * Style variation of the badge.\n\t */\n\t@Prop() readonly variant: ButtonVariantType = ButtonVariants.PRIMARY\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers.\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({ eventName: \"gov-click\" }) govClick: EventEmitter<PointerEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, BadgeClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, BadgeClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? NativeType.A : this.tag\n\t\tconst nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([\n\t\t\t\t\tBadgeClass.root,\n\t\t\t\t\tthis.h.hasSlot(\"right\") ? BadgeClass.hasRight : undefined,\n\t\t\t\t\tthis.h.hasSlot(\"left\") ? BadgeClass.hasLeft : undefined,\n\t\t\t\t])}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tvariant={this.variant}\n\t\t\t\tsize={this.size}\n\t\t\t\tinverse={this.inverse}\n\t\t\t\thoverable={Tag == NativeType.A || Tag == NativeType.BUTTON}\n\t\t\t>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLButtonElement | HTMLSpanElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\ttype={nativeType}>\n\t\t\t\t\t{this.h.hasSlot(\"left\") && <slot name=\"left\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot />\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"right\") && <slot name=\"right\"></slot>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false && this.tag === NativeType.BUTTON) {\n\t\t\tthis.govClick.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-badge.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/gov-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErG,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAmB,MAAM,aAAa,CAAA;AACrE,OAAO,EAAE,WAAW,EAAmB,cAAc,EAAqB,MAAM,iCAAiC,CAAA;AAMjH,MAAM,OAAO,QAAQ;EAIpB;mBASoC,KAAK;oBAKJ,KAAK;;;gBAcD,WAAW,CAAC,EAAE;eAIf,MAAM;mBAIA,cAAc,CAAC,OAAO;;IAnCnE,IAAI,CAAC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { BadgeClass, NativeType, NativeTypesType } from \"./constants\"\nimport { ButtonSizes, ButtonSizesType, ButtonVariants, ButtonVariantType } from \"../gov-button/default/constants\"\n\n@Component({\n\ttag: \"gov-badge\",\n\tstyleUrl: \"gov-badge.scss\",\n})\nexport class GovBadge {\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBadgeElement\n\n\t/**\n\t * Determine if component should have inverse colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Makes the badge component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target: string\n\t/**\n\t * Badge’s size.\n\t */\n\t@Prop() readonly size: ButtonSizesType = ButtonSizes._M\n\t/**\n\t * Used to change the HTML tag in the badge\n\t */\n\t@Prop() readonly tag: NativeTypesType = \"span\"\n\t/**\n\t * Style variation of the badge.\n\t */\n\t@Prop() readonly variant: ButtonVariantType = ButtonVariants.PRIMARY\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers.\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({ eventName: \"gov-click\" }) govClick: EventEmitter<PointerEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, BadgeClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, BadgeClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? NativeType.A : this.tag\n\t\tconst nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([\n\t\t\t\t\tBadgeClass.root,\n\t\t\t\t\tthis.h.hasSlot(\"right\") ? BadgeClass.hasRight : undefined,\n\t\t\t\t\tthis.h.hasSlot(\"left\") ? BadgeClass.hasLeft : undefined,\n\t\t\t\t])}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tvariant={this.variant}\n\t\t\t\ttype={this.inverse ? undefined : \"solid\"}\n\t\t\t\tsize={this.size}\n\t\t\t\tinverse={this.inverse}\n\t\t\t\thoverable={Tag == NativeType.A || Tag == NativeType.BUTTON}\n\t\t\t>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLButtonElement | HTMLSpanElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\ttype={nativeType}>\n\t\t\t\t\t{this.h.hasSlot(\"left\") && <slot name=\"left\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot />\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"right\") && <slot name=\"right\"></slot>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false && this.tag === NativeType.BUTTON) {\n\t\t\tthis.govClick.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n}\n"]}
@@ -184,7 +184,7 @@
184
184
  - Variables - Toast Message
185
185
  */
186
186
  /*
187
- - Variables - Wizzard
187
+ - Variables - Wizard
188
188
  */
189
189
  /*
190
190
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -184,7 +184,7 @@
184
184
  - Variables - Toast Message
185
185
  */
186
186
  /*
187
- - Variables - Wizzard
187
+ - Variables - Wizard
188
188
  */
189
189
  /*
190
190
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -234,6 +234,13 @@
234
234
  .gov-form-group .gov-form-label__label {
235
235
  margin: 0;
236
236
  }
237
+ .gov-form-group[orientation=horizontal] {
238
+ flex-direction: row;
239
+ flex-wrap: wrap;
240
+ }
241
+ .gov-form-group[orientation=horizontal] .gov-form-label__label {
242
+ white-space: nowrap;
243
+ }
237
244
  .gov-form-group[gap="2xs"] {
238
245
  gap: 0.25rem;
239
246
  }
@@ -248,11 +255,4 @@
248
255
  }
249
256
  .gov-form-group[gap=l] {
250
257
  gap: 1.25rem;
251
- }
252
- .gov-form-group[orientation=horizontal] {
253
- flex-direction: row;
254
- flex-wrap: wrap;
255
- }
256
- .gov-form-group[orientation=horizontal] .gov-form-label__label {
257
- white-space: nowrap;
258
258
  }
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -184,7 +184,7 @@
184
184
  - Variables - Toast Message
185
185
  */
186
186
  /*
187
- - Variables - Wizzard
187
+ - Variables - Wizard
188
188
  */
189
189
  /*
190
190
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -2,10 +2,11 @@ import { Build, h, Host } from "@stencil/core";
2
2
  import { IconClass } from "./constants";
3
3
  import { fetchIcon } from "../../utils/icon.utils";
4
4
  import { govHost } from "../../helpers/Dom/template";
5
+ import { iconsLazyLoad } from "../../helpers/Dom/win";
5
6
  export class GovIcon {
6
7
  constructor() {
7
8
  this.name = null;
8
- this.type = 'basic';
9
+ this.type = "basic";
9
10
  this.iconData = undefined;
10
11
  this.visible = false;
11
12
  this.error = false;
@@ -24,10 +25,16 @@ export class GovIcon {
24
25
  }
25
26
  }
26
27
  connectedCallback() {
27
- this.waitUntilVisible(async () => {
28
+ if (iconsLazyLoad()) {
28
29
  this.visible = true;
29
- await this.loadIconPathData();
30
- });
30
+ this.loadIconPathData().finally();
31
+ }
32
+ else {
33
+ this.waitUntilVisible(async () => {
34
+ this.visible = true;
35
+ await this.loadIconPathData();
36
+ });
37
+ }
31
38
  }
32
39
  disconnectedCallback() {
33
40
  if (this.intersectionObserver) {
@@ -39,7 +46,7 @@ export class GovIcon {
39
46
  await this.loadIconPathData();
40
47
  }
41
48
  waitUntilVisible(callback) {
42
- if (!Build.isBrowser || typeof window === 'undefined' || !window.IntersectionObserver) {
49
+ if (!Build.isBrowser || typeof window === "undefined" || !window.IntersectionObserver) {
43
50
  callback();
44
51
  return;
45
52
  }
@@ -53,7 +60,7 @@ export class GovIcon {
53
60
  callback();
54
61
  }
55
62
  });
56
- }, { rootMargin: '50px' });
63
+ }, { rootMargin: "50px" });
57
64
  this.intersectionObserver.observe(this.host);
58
65
  }
59
66
  render() {
@@ -116,7 +123,7 @@ export class GovIcon {
116
123
  },
117
124
  "attribute": "type",
118
125
  "reflect": false,
119
- "defaultValue": "'basic'"
126
+ "defaultValue": "\"basic\""
120
127
  }
121
128
  };
122
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gov-icon.js","sourceRoot":"","sources":["../../../../../../src/components/gov-icon/gov-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACtF,OAAO,EAAE,SAAS,EAAQ,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAQpD,MAAM,OAAO,OAAO;EAGnB;gBAOuB,IAAI;gBAIN,OAAO;;mBAED,KAAK;iBACP,KAAK;IAb7B,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAgBO,KAAK,CAAC,gBAAgB;IAC7B,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,CAAA;IACpC,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE;MAC1C,OAAM;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,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;EAC7C,CAAC;EAED,MAAM;IACL,IAAI,IAAI,CAAC,KAAK,EAAE;MACf,OAAO,IAAI,CAAA;KACX;IACD,OAAO,CACN,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;MAC1C,YAAM,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,GAAS,CAC1D,CACP,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Build, Component, Element, h, Prop, State, Watch, Host } from '@stencil/core'\nimport { IconClass, Type } from './constants'\nimport { fetchIcon } from '../../utils/icon.utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\tassetsDirs: ['assets'],\n\tstyleUrl: 'gov-icon.scss',\n\ttag: 'gov-icon',\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Name of icon\n\t */\n\t@Prop() name: string = null\n\t/**\n\t * Type of icon\n\t */\n\t@Prop() type: Type = 'basic'\n\t@State() private iconData: string\n\t@State() private visible = false\n\t@State() private error = false\n\tprivate intersectionObserver: IntersectionObserver\n\n\t@Watch('name')\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst { name, visible, type } = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\ttry {\n\t\t\tthis.iconData = await fetchIcon({ name, type })\n\t\t} catch (e) {\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\tconnectedCallback(): void {\n\t\tthis.waitUntilVisible(async () => {\n\t\t\tthis.visible = true\n\t\t\tawait this.loadIconPathData()\n\t\t})\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === 'undefined' || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif(this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{ rootMargin: '50px' }\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)}>\n\t\t\t\t<span class={IconClass.holder} innerHTML={this.iconData}></span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-icon.js","sourceRoot":"","sources":["../../../../../../src/components/gov-icon/gov-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACtF,OAAO,EAAE,SAAS,EAAQ,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,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AI,OAAO,MAAM,KAAK,WAAW,IAAI,CAAE,MAAc,CAAC,oBAAoB,EAAE;MAC/F,QAAQ,EAAE,CAAA;MACV,OAAM;KACN;IACD,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CACnD,OAAO,CAAC,EAAE;MACT,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACvB,IAAI,KAAK,CAAC,cAAc,EAAE;UACzB,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC9B,IAAI,CAAC,oBAAoB,CAAC,UAAU,EAAE,CAAA;YACtC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAA;WAChC;UACD,QAAQ,EAAE,CAAA;SACV;MACF,CAAC,CAAC,CAAA;IACH,CAAC,EACD,EAAE,UAAU,EAAE,MAAM,EAAE,CACtB,CAAA;IACD,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;EAC7C,CAAC;EAED,MAAM;IACL,IAAI,IAAI,CAAC,KAAK,EAAE;MACf,OAAO,IAAI,CAAA;KACX;IACD,OAAO,CACN,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;MAC1C,YAAM,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,GAAS,CAC1D,CACP,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Build, Component, Element, h, Host, Prop, State, Watch } from \"@stencil/core\"\nimport { IconClass, Type } from \"./constants\"\nimport { fetchIcon } from \"../../utils/icon.utils\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { iconsLazyLoad } from \"../../helpers/Dom/win\"\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\tstyleUrl: \"gov-icon.scss\",\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Name of icon\n\t */\n\t@Prop() name: string = null\n\t/**\n\t * Type of icon\n\t */\n\t@Prop() type: Type = \"basic\"\n\t@State() private iconData: string\n\t@State() private visible = false\n\t@State() private error = false\n\tprivate intersectionObserver: IntersectionObserver\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst { name, visible, type } = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\ttry {\n\t\t\tthis.iconData = await fetchIcon({ name, type })\n\t\t} catch (e) {\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\tconnectedCallback(): void {\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{ rootMargin: \"50px\" },\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)}>\n\t\t\t\t<span class={IconClass.holder} innerHTML={this.iconData}></span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -184,7 +184,7 @@
184
184
  - Variables - Toast Message
185
185
  */
186
186
  /*
187
- - Variables - Wizzard
187
+ - Variables - Wizard
188
188
  */
189
189
  /*
190
190
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper
@@ -170,7 +170,7 @@
170
170
  - Variables - Toast Message
171
171
  */
172
172
  /*
173
- - Variables - Wizzard
173
+ - Variables - Wizard
174
174
  */
175
175
  /*
176
176
  - Variables - Stepper