@gov-design-system-ce/components 4.2.9 → 4.6.0

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 (1489) hide show
  1. package/dist/cjs/Fragment-D4qSkFah.js.map +1 -1
  2. package/dist/cjs/accessibility-BQJmIVWV.js.map +1 -1
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -1
  4. package/dist/cjs/array.utils-DOh1gCQS.js.map +1 -1
  5. package/dist/cjs/attribute-CH1-zDDl.js.map +1 -1
  6. package/dist/cjs/colors-DgrrxjsX.js.map +1 -1
  7. package/dist/cjs/constants-357ehBFU.js.map +1 -1
  8. package/dist/cjs/constants-CFAhiwqu.js.map +1 -1
  9. package/dist/cjs/constants-CYm8AK_D.js.map +1 -1
  10. package/dist/cjs/constants-CbBhWRUQ.js.map +1 -1
  11. package/dist/cjs/constants-ChDSk4SZ.js.map +1 -1
  12. package/dist/cjs/constants-D6LZ31rS.js.map +1 -1
  13. package/dist/cjs/constants-DcKnOyW4.js.map +1 -1
  14. package/dist/cjs/constants-Dmmp9FHy.js.map +1 -1
  15. package/dist/cjs/constants-WvkMgj1j.js.map +1 -1
  16. package/dist/cjs/constants-ymB2dvwV.js.map +1 -1
  17. package/dist/cjs/constants-z2ZSS2je.js.map +1 -1
  18. package/dist/cjs/core.cjs.js +3 -3
  19. package/dist/cjs/core.cjs.js.map +1 -1
  20. package/dist/cjs/form-GgXzZZ-E.js.map +1 -1
  21. package/dist/cjs/gov-accordion-item.cjs.entry.js +5 -5
  22. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  23. package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -1
  24. package/dist/cjs/gov-accordion.cjs.entry.js +3 -3
  25. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -1
  27. package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -1
  28. package/dist/cjs/gov-attachments_3.cjs.entry.js +11 -7
  29. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-backdrop.cjs.entry.js +3 -3
  31. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -1
  33. package/dist/cjs/gov-banner.cjs.entry.js +4 -4
  34. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gov-banner.entry.cjs.js.map +1 -1
  36. package/dist/cjs/gov-blockquote.cjs.entry.js +3 -3
  37. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
  38. package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -1
  39. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
  40. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  41. package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -1
  42. package/dist/cjs/gov-button.cjs.entry.js +6 -6
  43. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  44. package/dist/cjs/gov-button.entry.cjs.js.map +1 -1
  45. package/dist/cjs/gov-card.cjs.entry.js +3 -3
  46. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  47. package/dist/cjs/gov-card.entry.cjs.js.map +1 -1
  48. package/dist/cjs/gov-chip.cjs.entry.js +4 -4
  49. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  50. package/dist/cjs/gov-chip.entry.cjs.js.map +1 -1
  51. package/dist/cjs/gov-collapsible.cjs.entry.js +86 -0
  52. package/dist/cjs/gov-collapsible.cjs.entry.js.map +1 -0
  53. package/dist/cjs/gov-collapsible.entry.cjs.js.map +1 -0
  54. package/dist/cjs/gov-container.cjs.entry.js +3 -3
  55. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  56. package/dist/cjs/gov-container.entry.cjs.js.map +1 -1
  57. package/dist/cjs/gov-control-group.cjs.entry.js +3 -3
  58. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  59. package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -1
  60. package/dist/cjs/gov-cookiebar.cjs.entry.js +3 -3
  61. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  62. package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -1
  63. package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
  64. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
  65. package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -1
  66. package/dist/cjs/gov-dropdown.cjs.entry.js +3 -3
  67. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  68. package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -1
  69. package/dist/cjs/gov-empty.cjs.entry.js +3 -3
  70. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  71. package/dist/cjs/gov-empty.entry.cjs.js.map +1 -1
  72. package/dist/cjs/gov-error-code.cjs.entry.js +3 -3
  73. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  74. package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -1
  75. package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -1
  76. package/dist/cjs/gov-flex_3.cjs.entry.js +5 -5
  77. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  78. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
  79. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  80. package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -1
  81. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +4 -4
  82. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -1
  84. package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
  85. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  86. package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -1
  87. package/dist/cjs/gov-form-control.cjs.entry.js +3 -3
  88. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  89. package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -1
  90. package/dist/cjs/gov-form-file.cjs.entry.js +3 -7
  91. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  92. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
  93. package/dist/cjs/gov-form-group.cjs.entry.js +3 -3
  94. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  95. package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -1
  96. package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -1
  97. package/dist/cjs/gov-form-input_2.cjs.entry.js +8 -8
  98. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
  99. package/dist/cjs/gov-form-label.cjs.entry.js +2 -2
  100. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  101. package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -1
  102. package/dist/cjs/gov-form-multi-select.cjs.entry.js +4 -4
  103. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  104. package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -1
  105. package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
  106. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  107. package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -1
  108. package/dist/cjs/gov-form-radio-group.cjs.entry.js +4 -4
  109. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  110. package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -1
  111. package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
  112. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  113. package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -1
  114. package/dist/cjs/gov-form-range.cjs.entry.js +4 -4
  115. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -1
  116. package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -1
  117. package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
  118. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  119. package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -1
  120. package/dist/cjs/gov-form-select.cjs.entry.js +4 -4
  121. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  122. package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -1
  123. package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
  124. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  125. package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -1
  126. package/dist/cjs/gov-grid-item.cjs.entry.js +3 -3
  127. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  128. package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -1
  129. package/dist/cjs/gov-grid.cjs.entry.js +3 -3
  130. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  131. package/dist/cjs/gov-grid.entry.cjs.js.map +1 -1
  132. package/dist/cjs/gov-infobar.cjs.entry.js +4 -4
  133. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  134. package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -1
  135. package/dist/cjs/gov-layout-column.cjs.entry.js +3 -3
  136. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  137. package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -1
  138. package/dist/cjs/gov-layout.cjs.entry.js +3 -3
  139. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  140. package/dist/cjs/gov-layout.entry.cjs.js.map +1 -1
  141. package/dist/cjs/gov-lifecycle.cjs.entry.js +2 -2
  142. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -1
  143. package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -1
  144. package/dist/cjs/gov-link.cjs.entry.js +3 -3
  145. package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
  146. package/dist/cjs/gov-link.entry.cjs.js.map +1 -1
  147. package/dist/cjs/gov-loading.cjs.entry.js +3 -3
  148. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  149. package/dist/cjs/gov-loading.entry.cjs.js.map +1 -1
  150. package/dist/cjs/gov-message.cjs.entry.js +3 -3
  151. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  152. package/dist/cjs/gov-message.entry.cjs.js.map +1 -1
  153. package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
  154. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  155. package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -1
  156. package/dist/cjs/gov-spacer.cjs.entry.js +3 -3
  157. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  158. package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -1
  159. package/dist/cjs/gov-stepper-item.cjs.entry.js +3 -3
  160. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  161. package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -1
  162. package/dist/cjs/gov-stepper.cjs.entry.js +3 -3
  163. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  164. package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -1
  165. package/dist/cjs/gov-tabs-item.cjs.entry.js +3 -3
  166. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  167. package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -1
  168. package/dist/cjs/gov-tabs.cjs.entry.js +3 -3
  169. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  170. package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -1
  171. package/dist/cjs/gov-tag.cjs.entry.js +3 -3
  172. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  173. package/dist/cjs/gov-tag.entry.cjs.js.map +1 -1
  174. package/dist/cjs/gov-tile.cjs.entry.js +3 -3
  175. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  176. package/dist/cjs/gov-tile.entry.cjs.js.map +1 -1
  177. package/dist/cjs/gov-toast.cjs.entry.js +3 -3
  178. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  179. package/dist/cjs/gov-toast.entry.cjs.js.map +1 -1
  180. package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -0
  181. package/dist/cjs/{gov-tooltip.cjs.entry.js → gov-tooltip_2.cjs.entry.js} +101 -33
  182. package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -0
  183. package/dist/cjs/gov-wizard-item.cjs.entry.js +4 -4
  184. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  185. package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -1
  186. package/dist/cjs/gov-wizard.cjs.entry.js +3 -3
  187. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  188. package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -1
  189. package/dist/cjs/gov.log-C5EH15b_.js.map +1 -1
  190. package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -1
  191. package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -1
  192. package/dist/cjs/{index-pjwoybrU.js → index-BEF5cZxd.js} +148 -490
  193. package/dist/cjs/index-BEF5cZxd.js.map +1 -0
  194. package/dist/cjs/loader.cjs.js +2 -2
  195. package/dist/cjs/props-CPENhBnM.js.map +1 -1
  196. package/dist/cjs/sizes-D5zsw2g5.js.map +1 -1
  197. package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -1
  198. package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -1
  199. package/dist/cjs/{template-DS4pSCTb.js → template-Cj6PcLmR.js} +6 -2
  200. package/dist/cjs/template-Cj6PcLmR.js.map +1 -0
  201. package/dist/cjs/utils-NnC78QR3.js.map +1 -1
  202. package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -1
  203. package/dist/collection/collection-manifest.json +2 -1
  204. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  205. package/dist/collection/components/gov-accordion/gov-accordion-item.js +3 -3
  206. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  207. package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
  208. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  209. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -1
  210. package/dist/collection/components/gov-attachments/constants.js.map +1 -1
  211. package/dist/collection/components/gov-attachments/gov-attachments-item.css +20 -23
  212. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -1
  213. package/dist/collection/components/gov-attachments/gov-attachments-item.js +8 -2
  214. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  215. package/dist/collection/components/gov-attachments/gov-attachments.js +1 -1
  216. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  217. package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
  218. package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
  219. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  220. package/dist/collection/components/gov-banner/constants.js.map +1 -1
  221. package/dist/collection/components/gov-banner/gov-banner.js +2 -2
  222. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
  223. package/dist/collection/components/gov-blockquote/constants.js.map +1 -1
  224. package/dist/collection/components/gov-blockquote/gov-blockquote.js +1 -1
  225. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -1
  226. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
  227. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -1
  228. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  229. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  230. package/dist/collection/components/gov-button/button/constants.js.map +1 -1
  231. package/dist/collection/components/gov-button/button/gov-button.js +14 -14
  232. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  233. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -1
  234. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
  235. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  236. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  237. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -1
  238. package/dist/collection/components/gov-card/constants.js.map +1 -1
  239. package/dist/collection/components/gov-card/gov-card.js +1 -1
  240. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  241. package/dist/collection/components/gov-card/interfaces.js.map +1 -1
  242. package/dist/collection/components/gov-chip/constants.js.map +1 -1
  243. package/dist/collection/components/gov-chip/gov-chip.js +8 -8
  244. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  245. package/dist/collection/components/gov-collapsible/constants.js +18 -0
  246. package/dist/collection/components/gov-collapsible/constants.js.map +1 -0
  247. package/dist/collection/components/gov-collapsible/gov-collapsible.js +182 -0
  248. package/dist/collection/components/gov-collapsible/gov-collapsible.js.map +1 -0
  249. package/dist/collection/components/gov-container/constants.js.map +1 -1
  250. package/dist/collection/components/gov-container/gov-container.js +1 -1
  251. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  252. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  253. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  254. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  255. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
  256. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  257. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  258. package/dist/collection/components/gov-dialog/constants.js.map +1 -1
  259. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  260. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
  261. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  262. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  263. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  264. package/dist/collection/components/gov-error-code/constants.js.map +1 -1
  265. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  266. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  267. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  268. package/dist/collection/components/gov-flex/gov-flex.js +1 -1
  269. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  270. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  271. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -3
  272. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  273. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -1
  274. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  275. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +1 -1
  276. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  277. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -1
  278. package/dist/collection/components/gov-form/control/constants.js.map +1 -1
  279. package/dist/collection/components/gov-form/control/gov-form-control.js +4 -4
  280. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  281. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  282. package/dist/collection/components/gov-form/file/gov-form-file.js +4 -28
  283. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  284. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -1
  285. package/dist/collection/components/gov-form/group/constants.js.map +1 -1
  286. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  287. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
  288. package/dist/collection/components/gov-form/group/gov-form-group.css +12 -23
  289. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  290. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  291. package/dist/collection/components/gov-form/group/gov-form-group.types.js.map +1 -1
  292. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  293. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
  294. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  295. package/dist/collection/components/gov-form/input/gov-form-input.js +6 -6
  296. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  297. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -1
  298. package/dist/collection/components/gov-form/label/constants.js.map +1 -1
  299. package/dist/collection/components/gov-form/label/gov-form-label.js +2 -2
  300. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  301. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  302. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  303. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  304. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  305. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +4 -4
  306. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  307. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -1
  308. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
  309. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  310. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  311. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  312. package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -2
  313. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  314. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -1
  315. package/dist/collection/components/gov-form/range/constants.js.map +1 -1
  316. package/dist/collection/components/gov-form/range/gov-form-range.js +2 -2
  317. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -1
  318. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  319. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  320. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  321. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  322. package/dist/collection/components/gov-form/select/gov-form-select.js +4 -4
  323. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  324. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
  325. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  326. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  327. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -1
  328. package/dist/collection/components/gov-grid/constants.js.map +1 -1
  329. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  330. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  331. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  332. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  333. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  334. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  335. package/dist/collection/components/gov-icon/helpers.js.map +1 -1
  336. package/dist/collection/components/gov-icon/list.js.map +1 -1
  337. package/dist/collection/components/gov-infobar/constants.js.map +1 -1
  338. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  339. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  340. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -1
  341. package/dist/collection/components/gov-layout/constants.js.map +1 -1
  342. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  343. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  344. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  345. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  346. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  347. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -1
  348. package/dist/collection/components/gov-link/constants.js.map +1 -1
  349. package/dist/collection/components/gov-link/gov-link.js +1 -1
  350. package/dist/collection/components/gov-link/gov-link.js.map +1 -1
  351. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
  352. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  353. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  354. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
  355. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  356. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  357. package/dist/collection/components/gov-message/constants.js.map +1 -1
  358. package/dist/collection/components/gov-message/gov-message.js +1 -1
  359. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  360. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  361. package/dist/collection/components/gov-pagination/gov-pagination.js +1 -1
  362. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  363. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -1
  364. package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
  365. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  366. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  367. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  368. package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -1
  369. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -1
  370. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +1 -1
  371. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -1
  372. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +1 -1
  373. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -1
  374. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  375. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  376. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  377. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  378. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  379. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
  380. package/dist/collection/components/gov-tag/constants.js.map +1 -1
  381. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  382. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  383. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  384. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  385. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  386. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -1
  387. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  388. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  389. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  390. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  391. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  392. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  393. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  394. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  395. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  396. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  397. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  398. package/dist/collection/components/gov-wizard/constants.js.map +1 -1
  399. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -1
  400. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  401. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  402. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -1
  403. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  404. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  405. package/dist/collection/core/constants/colors.js.map +1 -1
  406. package/dist/collection/core/constants/sizes.js.map +1 -1
  407. package/dist/collection/core/constants/tags.js.map +1 -1
  408. package/dist/collection/core/constants/tokens.js.map +1 -1
  409. package/dist/collection/data/color-definitions.js +494 -494
  410. package/dist/collection/data/font-definitions.js +132 -132
  411. package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -1
  412. package/dist/collection/helpers/Accessibility/attributes.js.map +1 -1
  413. package/dist/collection/helpers/Dom/attribute.js.map +1 -1
  414. package/dist/collection/helpers/Dom/document.js.map +1 -1
  415. package/dist/collection/helpers/Dom/form.js.map +1 -1
  416. package/dist/collection/helpers/Dom/form.types.js.map +1 -1
  417. package/dist/collection/helpers/Dom/template.js +4 -0
  418. package/dist/collection/helpers/Dom/template.js.map +1 -1
  419. package/dist/collection/helpers/Dom/template.types.js.map +1 -1
  420. package/dist/collection/helpers/Dom/win.js.map +1 -1
  421. package/dist/collection/helpers/Fragment.js.map +1 -1
  422. package/dist/collection/helpers/Log/gov.log.js.map +1 -1
  423. package/dist/collection/helpers/Validate/props.js.map +1 -1
  424. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  425. package/dist/collection/index.js +2 -1
  426. package/dist/collection/index.js.map +1 -1
  427. package/dist/collection/types/event.types.js.map +1 -1
  428. package/dist/collection/types/interfaces.js.map +1 -1
  429. package/dist/collection/utils/array.utils.js.map +1 -1
  430. package/dist/collection/utils/bool.utils.js.map +1 -1
  431. package/dist/collection/utils/dom.utils.js.map +1 -1
  432. package/dist/collection/utils/ds.utils.js.map +1 -1
  433. package/dist/collection/utils/file.utils.js.map +1 -1
  434. package/dist/collection/utils/helpers.types.js.map +1 -1
  435. package/dist/collection/utils/icon.utils.js.map +1 -1
  436. package/dist/collection/utils/number.utils.js.map +1 -1
  437. package/dist/collection/utils/object.utils.js.map +1 -1
  438. package/dist/collection/utils/stencil.utils.js.map +1 -1
  439. package/dist/collection/utils/string.utils.js.map +1 -1
  440. package/dist/collection/utils/utils.js.map +1 -1
  441. package/dist/components/gov-accordion-item.js +1 -1
  442. package/dist/components/gov-accordion-item.js.map +1 -1
  443. package/dist/components/gov-accordion.js +1 -1
  444. package/dist/components/gov-accordion.js.map +1 -1
  445. package/dist/components/gov-attachments-item.js +1 -1
  446. package/dist/components/gov-attachments.js +1 -1
  447. package/dist/components/gov-backdrop.js +1 -1
  448. package/dist/components/gov-banner.js +1 -1
  449. package/dist/components/gov-banner.js.map +1 -1
  450. package/dist/components/gov-blockquote.js +1 -1
  451. package/dist/components/gov-blockquote.js.map +1 -1
  452. package/dist/components/gov-breadcrumbs.js +1 -1
  453. package/dist/components/gov-breadcrumbs.js.map +1 -1
  454. package/dist/components/gov-button.js +1 -1
  455. package/dist/components/gov-card.js +1 -1
  456. package/dist/components/gov-card.js.map +1 -1
  457. package/dist/components/gov-chip.js +1 -1
  458. package/dist/components/gov-collapsible.d.ts +11 -0
  459. package/dist/components/gov-collapsible.js +2 -0
  460. package/dist/components/gov-collapsible.js.map +1 -0
  461. package/dist/components/gov-container.js +1 -1
  462. package/dist/components/gov-container.js.map +1 -1
  463. package/dist/components/gov-control-group.js +1 -1
  464. package/dist/components/gov-control-group.js.map +1 -1
  465. package/dist/components/gov-cookiebar.js +1 -1
  466. package/dist/components/gov-cookiebar.js.map +1 -1
  467. package/dist/components/gov-dialog.js +1 -1
  468. package/dist/components/gov-dialog.js.map +1 -1
  469. package/dist/components/gov-dropdown.js +1 -1
  470. package/dist/components/gov-dropdown.js.map +1 -1
  471. package/dist/components/gov-empty.js +1 -1
  472. package/dist/components/gov-empty.js.map +1 -1
  473. package/dist/components/gov-error-code.js +1 -1
  474. package/dist/components/gov-error-code.js.map +1 -1
  475. package/dist/components/gov-flex.js +1 -1
  476. package/dist/components/gov-flex.js.map +1 -1
  477. package/dist/components/gov-form-autocomplete.js +1 -1
  478. package/dist/components/gov-form-checkbox-group.js +1 -1
  479. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  480. package/dist/components/gov-form-checkbox.js +1 -1
  481. package/dist/components/gov-form-checkbox.js.map +1 -1
  482. package/dist/components/gov-form-control.js +1 -1
  483. package/dist/components/gov-form-control.js.map +1 -1
  484. package/dist/components/gov-form-file.js +1 -1
  485. package/dist/components/gov-form-file.js.map +1 -1
  486. package/dist/components/gov-form-group.js +1 -1
  487. package/dist/components/gov-form-group.js.map +1 -1
  488. package/dist/components/gov-form-input.js +1 -1
  489. package/dist/components/gov-form-label.js +1 -1
  490. package/dist/components/gov-form-label.js.map +1 -1
  491. package/dist/components/gov-form-message.js +1 -1
  492. package/dist/components/gov-form-multi-select.js +1 -1
  493. package/dist/components/gov-form-multi-select.js.map +1 -1
  494. package/dist/components/gov-form-password-power.js +1 -1
  495. package/dist/components/gov-form-password-power.js.map +1 -1
  496. package/dist/components/gov-form-radio-group.js +1 -1
  497. package/dist/components/gov-form-radio-group.js.map +1 -1
  498. package/dist/components/gov-form-radio.js +1 -1
  499. package/dist/components/gov-form-radio.js.map +1 -1
  500. package/dist/components/gov-form-range.js +1 -1
  501. package/dist/components/gov-form-range.js.map +1 -1
  502. package/dist/components/gov-form-search.js +1 -1
  503. package/dist/components/gov-form-search.js.map +1 -1
  504. package/dist/components/gov-form-select.js +1 -1
  505. package/dist/components/gov-form-switch.js +1 -1
  506. package/dist/components/gov-form-switch.js.map +1 -1
  507. package/dist/components/gov-grid-item.js +1 -1
  508. package/dist/components/gov-grid-item.js.map +1 -1
  509. package/dist/components/gov-grid.js +1 -1
  510. package/dist/components/gov-grid.js.map +1 -1
  511. package/dist/components/gov-icon.js +1 -1
  512. package/dist/components/gov-infobar.js +1 -1
  513. package/dist/components/gov-infobar.js.map +1 -1
  514. package/dist/components/gov-layout-column.js +1 -1
  515. package/dist/components/gov-layout-column.js.map +1 -1
  516. package/dist/components/gov-layout.js +1 -1
  517. package/dist/components/gov-layout.js.map +1 -1
  518. package/dist/components/gov-lifecycle.js +1 -1
  519. package/dist/components/gov-lifecycle.js.map +1 -1
  520. package/dist/components/gov-link.js +1 -1
  521. package/dist/components/gov-link.js.map +1 -1
  522. package/dist/components/gov-loading.js +1 -1
  523. package/dist/components/gov-loading.js.map +1 -1
  524. package/dist/components/gov-message.js +1 -1
  525. package/dist/components/gov-message.js.map +1 -1
  526. package/dist/components/gov-pagination.js +1 -1
  527. package/dist/components/gov-pagination.js.map +1 -1
  528. package/dist/components/gov-skeleton.js +1 -1
  529. package/dist/components/gov-spacer.js +1 -1
  530. package/dist/components/gov-spacer.js.map +1 -1
  531. package/dist/components/gov-stepper-item.js +1 -1
  532. package/dist/components/gov-stepper-item.js.map +1 -1
  533. package/dist/components/gov-stepper.js +1 -1
  534. package/dist/components/gov-stepper.js.map +1 -1
  535. package/dist/components/gov-tabs-item.js +1 -1
  536. package/dist/components/gov-tabs-item.js.map +1 -1
  537. package/dist/components/gov-tabs.js +1 -1
  538. package/dist/components/gov-tabs.js.map +1 -1
  539. package/dist/components/gov-tag.js +1 -1
  540. package/dist/components/gov-tag.js.map +1 -1
  541. package/dist/components/gov-theme-switch.js +1 -1
  542. package/dist/components/gov-theme-switch.js.map +1 -1
  543. package/dist/components/gov-tile.js +1 -1
  544. package/dist/components/gov-tile.js.map +1 -1
  545. package/dist/components/gov-toast.js +1 -1
  546. package/dist/components/gov-toast.js.map +1 -1
  547. package/dist/components/gov-tooltip-content.js +1 -1
  548. package/dist/components/gov-tooltip-content.js.map +1 -1
  549. package/dist/components/gov-tooltip.js +1 -1
  550. package/dist/components/gov-tooltip.js.map +1 -1
  551. package/dist/components/gov-wizard-item.js +1 -1
  552. package/dist/components/gov-wizard-item.js.map +1 -1
  553. package/dist/components/gov-wizard.js +1 -1
  554. package/dist/components/gov-wizard.js.map +1 -1
  555. package/dist/components/index.js +1 -1
  556. package/dist/components/index.js.map +1 -1
  557. package/dist/components/p-2_-up8FX.js +2 -0
  558. package/dist/components/p-2_-up8FX.js.map +1 -0
  559. package/dist/components/p-4i8qDRtu.js.map +1 -1
  560. package/dist/components/p-5itQzbON.js.map +1 -1
  561. package/dist/components/p-9VlKyZSl.js +2 -0
  562. package/dist/components/p-9VlKyZSl.js.map +1 -0
  563. package/dist/components/p-9imLQpxb.js.map +1 -1
  564. package/dist/components/p-B0hcuYXk.js.map +1 -1
  565. package/dist/components/p-B3tdsiZv.js.map +1 -1
  566. package/dist/components/{p-B03Rpjps.js → p-BJnSrRNH.js} +2 -2
  567. package/dist/components/p-BJnSrRNH.js.map +1 -0
  568. package/dist/components/p-BKP-F1qP.js.map +1 -1
  569. package/dist/components/p-BTwdrNoS.js.map +1 -1
  570. package/dist/components/p-BUmDydor.js.map +1 -1
  571. package/dist/components/{p-9COKmDO0.js → p-Ba8Z-AIX.js} +2 -2
  572. package/dist/components/p-Ba8Z-AIX.js.map +1 -0
  573. package/dist/components/p-BcQO4NH2.js.map +1 -1
  574. package/dist/components/p-BnxqJyb_.js +2 -0
  575. package/dist/components/p-BnxqJyb_.js.map +1 -0
  576. package/dist/components/p-C6JN9gdb.js.map +1 -1
  577. package/dist/components/p-CJnwyVlG.js +2 -0
  578. package/dist/components/p-CJnwyVlG.js.map +1 -0
  579. package/dist/components/p-CNqoJU2V.js.map +1 -1
  580. package/dist/components/p-CQvUntGY.js.map +1 -1
  581. package/dist/components/p-CUVZZBqo.js.map +1 -1
  582. package/dist/components/p-CWqMiVYH.js +2 -0
  583. package/dist/components/p-CWqMiVYH.js.map +1 -0
  584. package/dist/components/p-CXgom82_.js.map +1 -1
  585. package/dist/components/p-CZr7GBEo.js.map +1 -1
  586. package/dist/components/p-CgXcNDpE.js +2 -0
  587. package/dist/components/p-CgXcNDpE.js.map +1 -0
  588. package/dist/components/p-Cjg0wpDG.js.map +1 -1
  589. package/dist/components/p-ClYmjarv.js.map +1 -1
  590. package/dist/components/{p-wlTP5ZEU.js → p-D8QfVS4O.js} +2 -2
  591. package/dist/components/p-D8QfVS4O.js.map +1 -0
  592. package/dist/components/p-DBXGhafv.js.map +1 -1
  593. package/dist/components/p-DKo9A5gq.js +2 -0
  594. package/dist/components/p-DKo9A5gq.js.map +1 -0
  595. package/dist/components/p-DW1DKFMF.js +2 -0
  596. package/dist/components/p-DW1DKFMF.js.map +1 -0
  597. package/dist/components/p-DZJk8GrA.js +2 -0
  598. package/dist/components/p-DZJk8GrA.js.map +1 -0
  599. package/dist/components/p-DfI_0WW6.js.map +1 -1
  600. package/dist/components/{p-Cy7Wk3yM.js → p-DhGb8cBK.js} +2 -2
  601. package/dist/components/p-DhGb8cBK.js.map +1 -0
  602. package/dist/components/p-DrPpH_9c.js.map +1 -1
  603. package/dist/components/p-EeKNA85D.js.map +1 -1
  604. package/dist/components/p-GYov8gU1.js.map +1 -1
  605. package/dist/components/p-Nvj7WFs_.js.map +1 -1
  606. package/dist/components/p-Q99QrOoi.js.map +1 -1
  607. package/dist/components/p-U40vKHrs.js.map +1 -1
  608. package/dist/components/{p-DJ1DN3ks.js → p-_FzmpyXv.js} +2 -2
  609. package/dist/components/p-_FzmpyXv.js.map +1 -0
  610. package/dist/components/p-vN03FcXN.js.map +1 -1
  611. package/dist/core/core.css +1252 -629
  612. package/dist/core/core.esm.js +1 -1
  613. package/dist/core/core.esm.js.map +1 -1
  614. package/dist/core/gov-accordion-item.entry.esm.js.map +1 -1
  615. package/dist/core/gov-accordion.entry.esm.js.map +1 -1
  616. package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -1
  617. package/dist/core/gov-backdrop.entry.esm.js.map +1 -1
  618. package/dist/core/gov-banner.entry.esm.js.map +1 -1
  619. package/dist/core/gov-blockquote.entry.esm.js.map +1 -1
  620. package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -1
  621. package/dist/core/gov-button.entry.esm.js.map +1 -1
  622. package/dist/core/gov-card.entry.esm.js.map +1 -1
  623. package/dist/core/gov-chip.entry.esm.js.map +1 -1
  624. package/dist/core/gov-collapsible.entry.esm.js.map +1 -0
  625. package/dist/core/gov-container.entry.esm.js.map +1 -1
  626. package/dist/core/gov-control-group.entry.esm.js.map +1 -1
  627. package/dist/core/gov-cookiebar.entry.esm.js.map +1 -1
  628. package/dist/core/gov-dialog.entry.esm.js.map +1 -1
  629. package/dist/core/gov-dropdown.entry.esm.js.map +1 -1
  630. package/dist/core/gov-empty.entry.esm.js.map +1 -1
  631. package/dist/core/gov-error-code.entry.esm.js.map +1 -1
  632. package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -1
  633. package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -1
  634. package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -1
  635. package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -1
  636. package/dist/core/gov-form-control.entry.esm.js.map +1 -1
  637. package/dist/core/gov-form-file.entry.esm.js.map +1 -1
  638. package/dist/core/gov-form-group.entry.esm.js.map +1 -1
  639. package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -1
  640. package/dist/core/gov-form-label.entry.esm.js.map +1 -1
  641. package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -1
  642. package/dist/core/gov-form-password-power.entry.esm.js.map +1 -1
  643. package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -1
  644. package/dist/core/gov-form-radio.entry.esm.js.map +1 -1
  645. package/dist/core/gov-form-range.entry.esm.js.map +1 -1
  646. package/dist/core/gov-form-search.entry.esm.js.map +1 -1
  647. package/dist/core/gov-form-select.entry.esm.js.map +1 -1
  648. package/dist/core/gov-form-switch.entry.esm.js.map +1 -1
  649. package/dist/core/gov-grid-item.entry.esm.js.map +1 -1
  650. package/dist/core/gov-grid.entry.esm.js.map +1 -1
  651. package/dist/core/gov-infobar.entry.esm.js.map +1 -1
  652. package/dist/core/gov-layout-column.entry.esm.js.map +1 -1
  653. package/dist/core/gov-layout.entry.esm.js.map +1 -1
  654. package/dist/core/gov-lifecycle.entry.esm.js.map +1 -1
  655. package/dist/core/gov-link.entry.esm.js.map +1 -1
  656. package/dist/core/gov-loading.entry.esm.js.map +1 -1
  657. package/dist/core/gov-message.entry.esm.js.map +1 -1
  658. package/dist/core/gov-pagination.entry.esm.js.map +1 -1
  659. package/dist/core/gov-spacer.entry.esm.js.map +1 -1
  660. package/dist/core/gov-stepper-item.entry.esm.js.map +1 -1
  661. package/dist/core/gov-stepper.entry.esm.js.map +1 -1
  662. package/dist/core/gov-tabs-item.entry.esm.js.map +1 -1
  663. package/dist/core/gov-tabs.entry.esm.js.map +1 -1
  664. package/dist/core/gov-tag.entry.esm.js.map +1 -1
  665. package/dist/core/gov-tile.entry.esm.js.map +1 -1
  666. package/dist/core/gov-toast.entry.esm.js.map +1 -1
  667. package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +1 -0
  668. package/dist/core/gov-wizard-item.entry.esm.js.map +1 -1
  669. package/dist/core/gov-wizard.entry.esm.js.map +1 -1
  670. package/dist/core/{p-c1a1fc45.entry.js → p-017d6340.entry.js} +2 -2
  671. package/dist/core/p-017d6340.entry.js.map +1 -0
  672. package/dist/core/p-01bc645f.entry.js +2 -0
  673. package/dist/core/p-01bc645f.entry.js.map +1 -0
  674. package/dist/core/p-0e06af2b.entry.js +2 -0
  675. package/dist/core/p-0e06af2b.entry.js.map +1 -0
  676. package/dist/core/{p-35cd4ecd.entry.js → p-1375d52d.entry.js} +2 -2
  677. package/dist/core/p-1375d52d.entry.js.map +1 -0
  678. package/dist/core/p-264cbd4e.entry.js +2 -0
  679. package/dist/core/p-264cbd4e.entry.js.map +1 -0
  680. package/dist/core/{p-2142c481.entry.js → p-2cfa670d.entry.js} +2 -2
  681. package/dist/core/p-2cfa670d.entry.js.map +1 -0
  682. package/dist/core/p-33a62c22.entry.js +2 -0
  683. package/dist/core/p-33a62c22.entry.js.map +1 -0
  684. package/dist/core/p-37f6095e.entry.js +2 -0
  685. package/dist/core/p-37f6095e.entry.js.map +1 -0
  686. package/dist/core/p-3cf20b56.entry.js +2 -0
  687. package/dist/core/p-3cf20b56.entry.js.map +1 -0
  688. package/dist/core/{p-0dbda4ab.entry.js → p-46824842.entry.js} +2 -2
  689. package/dist/core/p-46824842.entry.js.map +1 -0
  690. package/dist/core/p-46effc25.entry.js +2 -0
  691. package/dist/core/p-46effc25.entry.js.map +1 -0
  692. package/dist/core/{p-19a408eb.entry.js → p-495e25d8.entry.js} +2 -2
  693. package/dist/core/p-495e25d8.entry.js.map +1 -0
  694. package/dist/core/p-4aea131f.entry.js +2 -0
  695. package/dist/core/p-4aea131f.entry.js.map +1 -0
  696. package/dist/core/p-4ce8e721.entry.js +2 -0
  697. package/dist/core/p-4ce8e721.entry.js.map +1 -0
  698. package/dist/core/p-5283672a.entry.js +2 -0
  699. package/dist/core/p-5283672a.entry.js.map +1 -0
  700. package/dist/core/{p-90ff56f4.entry.js → p-54209c57.entry.js} +2 -2
  701. package/dist/core/p-54209c57.entry.js.map +1 -0
  702. package/dist/core/p-56dc11ba.entry.js +2 -0
  703. package/dist/core/p-56dc11ba.entry.js.map +1 -0
  704. package/dist/core/{p-d4440adf.entry.js → p-5721cf9b.entry.js} +2 -2
  705. package/dist/core/p-5721cf9b.entry.js.map +1 -0
  706. package/dist/core/p-58911028.entry.js +2 -0
  707. package/dist/core/p-58911028.entry.js.map +1 -0
  708. package/dist/core/p-5itQzbON.js.map +1 -1
  709. package/dist/core/p-617b0dbe.entry.js +2 -0
  710. package/dist/core/p-617b0dbe.entry.js.map +1 -0
  711. package/dist/core/{p-8873dc4b.entry.js → p-6781bfc0.entry.js} +2 -2
  712. package/dist/core/p-6781bfc0.entry.js.map +1 -0
  713. package/dist/core/p-67d1e6e2.entry.js +2 -0
  714. package/dist/core/p-67d1e6e2.entry.js.map +1 -0
  715. package/dist/core/p-6e42a12a.entry.js +2 -0
  716. package/dist/core/p-6e42a12a.entry.js.map +1 -0
  717. package/dist/core/{p-bbe0d727.entry.js → p-6f173022.entry.js} +2 -2
  718. package/dist/core/p-6f173022.entry.js.map +1 -0
  719. package/dist/core/p-7099beb0.entry.js +2 -0
  720. package/dist/core/p-7099beb0.entry.js.map +1 -0
  721. package/dist/core/{p-962d5767.entry.js → p-715c0e2e.entry.js} +2 -2
  722. package/dist/core/p-715c0e2e.entry.js.map +1 -0
  723. package/dist/core/p-7387370c.entry.js +2 -0
  724. package/dist/core/p-7387370c.entry.js.map +1 -0
  725. package/dist/core/p-768fe015.entry.js +2 -0
  726. package/dist/core/p-768fe015.entry.js.map +1 -0
  727. package/dist/core/p-7a3d4b6b.entry.js +2 -0
  728. package/dist/core/p-7a3d4b6b.entry.js.map +1 -0
  729. package/dist/core/p-7f4cf2f9.entry.js +2 -0
  730. package/dist/core/p-7f4cf2f9.entry.js.map +1 -0
  731. package/dist/core/{p-aaa73dc8.entry.js → p-8161e1fe.entry.js} +2 -2
  732. package/dist/core/p-8161e1fe.entry.js.map +1 -0
  733. package/dist/core/p-820eb0fb.entry.js +2 -0
  734. package/dist/core/p-820eb0fb.entry.js.map +1 -0
  735. package/dist/core/{p-e169f098.entry.js → p-8655fd24.entry.js} +2 -2
  736. package/dist/core/p-8655fd24.entry.js.map +1 -0
  737. package/dist/core/p-8f6172d4.entry.js +2 -0
  738. package/dist/core/p-8f6172d4.entry.js.map +1 -0
  739. package/dist/core/p-90cd5ffe.entry.js +2 -0
  740. package/dist/core/p-90cd5ffe.entry.js.map +1 -0
  741. package/dist/core/p-98314c19.entry.js +2 -0
  742. package/dist/core/p-98314c19.entry.js.map +1 -0
  743. package/dist/core/p-B6CqPcY_.js.map +1 -1
  744. package/dist/core/p-BUmDydor.js.map +1 -1
  745. package/dist/core/p-BcQO4NH2.js.map +1 -1
  746. package/dist/core/p-BjcqOprh.js.map +1 -1
  747. package/dist/core/p-Bo1ROm5Q.js.map +1 -1
  748. package/dist/core/p-Bz_RzYFb.js.map +1 -1
  749. package/dist/core/p-C3R1T_pg.js.map +1 -1
  750. package/dist/core/p-C6JN9gdb.js.map +1 -1
  751. package/dist/core/p-CDIRBJsi.js.map +1 -1
  752. package/dist/core/p-CQvUntGY.js.map +1 -1
  753. package/dist/core/p-Ccwpa1ck.js.map +1 -1
  754. package/dist/core/p-CgDnDrq5.js.map +1 -1
  755. package/dist/core/p-Cjg0wpDG.js.map +1 -1
  756. package/dist/core/p-ClISz4NF.js +3 -0
  757. package/dist/core/p-ClISz4NF.js.map +1 -0
  758. package/dist/core/p-CoD1xawt.js +2 -0
  759. package/dist/core/p-CoD1xawt.js.map +1 -0
  760. package/dist/core/p-Cx3bEC5v.js.map +1 -1
  761. package/dist/core/p-CzXeijOj.js.map +1 -1
  762. package/dist/core/p-D4TGB274.js.map +1 -1
  763. package/dist/core/p-DBXGhafv.js.map +1 -1
  764. package/dist/core/p-DNztiAH0.js.map +1 -1
  765. package/dist/core/p-DQuL1Twl.js.map +1 -1
  766. package/dist/core/p-DYcNEwSZ.js.map +1 -1
  767. package/dist/core/p-EeKNA85D.js.map +1 -1
  768. package/dist/core/p-GYov8gU1.js.map +1 -1
  769. package/dist/core/p-NOJjz9dT.js.map +1 -1
  770. package/dist/core/p-Q99QrOoi.js.map +1 -1
  771. package/dist/core/p-U40vKHrs.js.map +1 -1
  772. package/dist/core/p-ac962619.entry.js +2 -0
  773. package/dist/core/p-ac962619.entry.js.map +1 -0
  774. package/dist/core/p-ae6d0bcd.entry.js +2 -0
  775. package/dist/core/p-ae6d0bcd.entry.js.map +1 -0
  776. package/dist/core/p-b3b517f0.entry.js +2 -0
  777. package/dist/core/p-b3b517f0.entry.js.map +1 -0
  778. package/dist/core/p-b7306a6f.entry.js +2 -0
  779. package/dist/core/p-b7306a6f.entry.js.map +1 -0
  780. package/dist/core/{p-d48d5870.entry.js → p-b93548cc.entry.js} +2 -2
  781. package/dist/core/p-b93548cc.entry.js.map +1 -0
  782. package/dist/core/p-be3bbe06.entry.js +2 -0
  783. package/dist/core/p-be3bbe06.entry.js.map +1 -0
  784. package/dist/core/{p-5c9371da.entry.js → p-c6b55c0a.entry.js} +2 -2
  785. package/dist/core/p-c6b55c0a.entry.js.map +1 -0
  786. package/dist/core/p-cf06a38b.entry.js +2 -0
  787. package/dist/core/p-cf06a38b.entry.js.map +1 -0
  788. package/dist/core/p-dec65494.entry.js +2 -0
  789. package/dist/core/p-dec65494.entry.js.map +1 -0
  790. package/dist/core/p-df09f0be.entry.js +2 -0
  791. package/dist/core/p-df09f0be.entry.js.map +1 -0
  792. package/dist/core/p-e0634fae.entry.js +2 -0
  793. package/dist/core/p-e0634fae.entry.js.map +1 -0
  794. package/dist/core/{p-f0505205.entry.js → p-e1b2af6b.entry.js} +2 -2
  795. package/dist/core/p-e1b2af6b.entry.js.map +1 -0
  796. package/dist/core/p-e29cd545.entry.js +2 -0
  797. package/dist/core/p-e29cd545.entry.js.map +1 -0
  798. package/dist/core/p-e5e7abe0.entry.js +2 -0
  799. package/dist/core/p-e5e7abe0.entry.js.map +1 -0
  800. package/dist/core/{p-48a3bb49.entry.js → p-e7f889c7.entry.js} +2 -2
  801. package/dist/core/p-e7f889c7.entry.js.map +1 -0
  802. package/dist/core/p-ebd3d25f.entry.js +2 -0
  803. package/dist/core/p-ebd3d25f.entry.js.map +1 -0
  804. package/dist/core/p-f067af74.entry.js +2 -0
  805. package/dist/core/p-f067af74.entry.js.map +1 -0
  806. package/dist/core/p-f58a20af.entry.js +2 -0
  807. package/dist/core/p-f58a20af.entry.js.map +1 -0
  808. package/dist/core/{p-984b6020.entry.js → p-f7bdb44a.entry.js} +2 -2
  809. package/dist/core/p-f7bdb44a.entry.js.map +1 -0
  810. package/dist/core/p-fe3bd57c.entry.js +2 -0
  811. package/dist/core/p-fe3bd57c.entry.js.map +1 -0
  812. package/dist/core/p-vN03FcXN.js.map +1 -1
  813. package/dist/dist/components/gov-accordion-item.d.ts +11 -0
  814. package/dist/dist/components/gov-accordion.d.ts +11 -0
  815. package/dist/dist/components/gov-app.d.ts +11 -0
  816. package/dist/dist/components/gov-attachments-item.d.ts +11 -0
  817. package/dist/dist/components/gov-attachments.d.ts +11 -0
  818. package/dist/dist/components/gov-backdrop.d.ts +11 -0
  819. package/dist/dist/components/gov-banner.d.ts +11 -0
  820. package/dist/dist/components/gov-blockquote.d.ts +11 -0
  821. package/dist/dist/components/gov-breadcrumbs.d.ts +11 -0
  822. package/dist/dist/components/gov-button.d.ts +11 -0
  823. package/dist/dist/components/gov-card.d.ts +11 -0
  824. package/dist/dist/components/gov-chip.d.ts +11 -0
  825. package/dist/dist/components/gov-collapsible.d.ts +11 -0
  826. package/dist/dist/components/gov-container.d.ts +11 -0
  827. package/dist/dist/components/gov-control-group.d.ts +11 -0
  828. package/dist/dist/components/gov-cookiebar.d.ts +11 -0
  829. package/dist/dist/components/gov-dialog.d.ts +11 -0
  830. package/dist/dist/components/gov-dropdown.d.ts +11 -0
  831. package/dist/dist/components/gov-empty.d.ts +11 -0
  832. package/dist/dist/components/gov-error-code.d.ts +11 -0
  833. package/dist/dist/components/gov-flex.d.ts +11 -0
  834. package/dist/dist/components/gov-form-autocomplete.d.ts +11 -0
  835. package/dist/dist/components/gov-form-checkbox-group.d.ts +11 -0
  836. package/dist/dist/components/gov-form-checkbox.d.ts +11 -0
  837. package/dist/dist/components/gov-form-control.d.ts +11 -0
  838. package/dist/dist/components/gov-form-file.d.ts +11 -0
  839. package/dist/dist/components/gov-form-group.d.ts +11 -0
  840. package/dist/dist/components/gov-form-input.d.ts +11 -0
  841. package/dist/dist/components/gov-form-label.d.ts +11 -0
  842. package/dist/dist/components/gov-form-message.d.ts +11 -0
  843. package/dist/dist/components/gov-form-multi-select.d.ts +11 -0
  844. package/dist/dist/components/gov-form-password-power.d.ts +11 -0
  845. package/dist/dist/components/gov-form-radio-group.d.ts +11 -0
  846. package/dist/dist/components/gov-form-radio.d.ts +11 -0
  847. package/dist/dist/components/gov-form-range.d.ts +11 -0
  848. package/dist/dist/components/gov-form-search.d.ts +11 -0
  849. package/dist/dist/components/gov-form-select.d.ts +11 -0
  850. package/dist/dist/components/gov-form-switch.d.ts +11 -0
  851. package/dist/dist/components/gov-grid-item.d.ts +11 -0
  852. package/dist/dist/components/gov-grid.d.ts +11 -0
  853. package/dist/dist/components/gov-icon.d.ts +11 -0
  854. package/dist/dist/components/gov-infobar.d.ts +11 -0
  855. package/dist/dist/components/gov-layout-column.d.ts +11 -0
  856. package/dist/dist/components/gov-layout.d.ts +11 -0
  857. package/dist/dist/components/gov-lifecycle.d.ts +11 -0
  858. package/dist/dist/components/gov-link.d.ts +11 -0
  859. package/dist/dist/components/gov-loading.d.ts +11 -0
  860. package/dist/dist/components/gov-message.d.ts +11 -0
  861. package/dist/dist/components/gov-pagination.d.ts +11 -0
  862. package/dist/dist/components/gov-skeleton.d.ts +11 -0
  863. package/dist/dist/components/gov-spacer.d.ts +11 -0
  864. package/dist/dist/components/gov-stepper-item.d.ts +11 -0
  865. package/dist/dist/components/gov-stepper.d.ts +11 -0
  866. package/dist/dist/components/gov-tabs-item.d.ts +11 -0
  867. package/dist/dist/components/gov-tabs.d.ts +11 -0
  868. package/dist/dist/components/gov-tag.d.ts +11 -0
  869. package/dist/dist/components/gov-theme-switch.d.ts +11 -0
  870. package/dist/dist/components/gov-tile.d.ts +11 -0
  871. package/dist/dist/components/gov-toast.d.ts +11 -0
  872. package/dist/dist/components/gov-tooltip-content.d.ts +11 -0
  873. package/dist/dist/components/gov-tooltip.d.ts +11 -0
  874. package/dist/dist/components/gov-wizard-item.d.ts +11 -0
  875. package/dist/dist/components/gov-wizard.d.ts +11 -0
  876. package/dist/dist/components/index.d.ts +33 -0
  877. package/dist/dist/dist/components/index.d.ts +33 -0
  878. package/dist/dist/dist/globals.d.ts +2 -0
  879. package/dist/dist/dist/hydrate/index.d.ts +273 -0
  880. package/dist/dist/dist/types/interfaces.d.ts +1 -0
  881. package/dist/dist/dist/types/stencil-public-runtime.d.ts +1702 -0
  882. package/dist/dist/globals.d.ts +2 -0
  883. package/dist/dist/hydrate/index.d.ts +273 -0
  884. package/dist/dist/types/components/gov-accordion/constants.d.ts +19 -0
  885. package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
  886. package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
  887. package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
  888. package/dist/dist/types/components/gov-attachments/constants.d.ts +11 -0
  889. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
  890. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
  891. package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
  892. package/dist/dist/types/components/gov-backdrop/constants.d.ts +4 -0
  893. package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
  894. package/dist/dist/types/components/gov-banner/constants.d.ts +26 -0
  895. package/dist/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
  896. package/dist/dist/types/components/gov-blockquote/constants.d.ts +10 -0
  897. package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
  898. package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
  899. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
  900. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
  901. package/dist/dist/types/components/gov-button/button/constants.d.ts +29 -0
  902. package/dist/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
  903. package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
  904. package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
  905. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
  906. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
  907. package/dist/dist/types/components/gov-card/constants.d.ts +16 -0
  908. package/dist/dist/types/components/gov-card/gov-card.d.ts +57 -0
  909. package/dist/dist/types/components/gov-card/interfaces.d.ts +4 -0
  910. package/dist/dist/types/components/gov-chip/constants.d.ts +21 -0
  911. package/dist/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
  912. package/dist/dist/types/components/gov-collapsible/constants.d.ts +18 -0
  913. package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
  914. package/dist/dist/types/components/gov-container/constants.d.ts +3 -0
  915. package/dist/dist/types/components/gov-container/gov-container.d.ts +6 -0
  916. package/dist/dist/types/components/gov-control-group/constants.d.ts +7 -0
  917. package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
  918. package/dist/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
  919. package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
  920. package/dist/dist/types/components/gov-dialog/constants.d.ts +11 -0
  921. package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
  922. package/dist/dist/types/components/gov-empty/constants.d.ts +19 -0
  923. package/dist/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
  924. package/dist/dist/types/components/gov-error-code/constants.d.ts +4 -0
  925. package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
  926. package/dist/dist/types/components/gov-flex/constants.d.ts +7 -0
  927. package/dist/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
  928. package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
  929. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +149 -0
  930. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
  931. package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
  932. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
  933. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
  934. package/dist/dist/types/components/gov-form/control/constants.d.ts +9 -0
  935. package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
  936. package/dist/dist/types/components/gov-form/file/constants.d.ts +7 -0
  937. package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +129 -0
  938. package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
  939. package/dist/dist/types/components/gov-form/group/constants.d.ts +18 -0
  940. package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
  941. package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
  942. package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
  943. package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
  944. package/dist/dist/types/components/gov-form/input/constants.d.ts +28 -0
  945. package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
  946. package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
  947. package/dist/dist/types/components/gov-form/label/constants.d.ts +8 -0
  948. package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
  949. package/dist/dist/types/components/gov-form/message/constants.d.ts +11 -0
  950. package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
  951. package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
  952. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
  953. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
  954. package/dist/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  955. package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  956. package/dist/dist/types/components/gov-form/radio/constants.d.ts +10 -0
  957. package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
  958. package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
  959. package/dist/dist/types/components/gov-form/range/constants.d.ts +9 -0
  960. package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
  961. package/dist/dist/types/components/gov-form/search/constants.d.ts +10 -0
  962. package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
  963. package/dist/dist/types/components/gov-form/select/constants.d.ts +8 -0
  964. package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
  965. package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
  966. package/dist/dist/types/components/gov-form/switch/constants.d.ts +12 -0
  967. package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
  968. package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
  969. package/dist/dist/types/components/gov-grid/constants.d.ts +10 -0
  970. package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
  971. package/dist/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
  972. package/dist/dist/types/components/gov-icon/constants.d.ts +18 -0
  973. package/dist/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
  974. package/dist/dist/types/components/gov-icon/helpers.d.ts +6 -0
  975. package/dist/dist/types/components/gov-icon/list.d.ts +3 -0
  976. package/dist/dist/types/components/gov-infobar/constants.d.ts +16 -0
  977. package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
  978. package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
  979. package/dist/dist/types/components/gov-layout/constants.d.ts +20 -0
  980. package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  981. package/dist/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
  982. package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
  983. package/dist/dist/types/components/gov-link/constants.d.ts +8 -0
  984. package/dist/dist/types/components/gov-link/gov-link.d.ts +34 -0
  985. package/dist/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
  986. package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
  987. package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
  988. package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
  989. package/dist/dist/types/components/gov-message/constants.d.ts +13 -0
  990. package/dist/dist/types/components/gov-message/gov-message.d.ts +16 -0
  991. package/dist/dist/types/components/gov-pagination/constants.d.ts +22 -0
  992. package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
  993. package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
  994. package/dist/dist/types/components/gov-pagination/pagination.d.ts +12 -0
  995. package/dist/dist/types/components/gov-spacer/constants.d.ts +15 -0
  996. package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
  997. package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
  998. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
  999. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
  1000. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
  1001. package/dist/dist/types/components/gov-tabs/constants.d.ts +28 -0
  1002. package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
  1003. package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
  1004. package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
  1005. package/dist/dist/types/components/gov-tag/constants.d.ts +12 -0
  1006. package/dist/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
  1007. package/dist/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
  1008. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
  1009. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
  1010. package/dist/dist/types/components/gov-tile/constants.d.ts +13 -0
  1011. package/dist/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
  1012. package/dist/dist/types/components/gov-toast/constants.d.ts +17 -0
  1013. package/dist/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
  1014. package/dist/dist/types/components/gov-tooltip/constants.d.ts +20 -0
  1015. package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +28 -0
  1016. package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +58 -0
  1017. package/dist/dist/types/components/gov-wizard/constants.d.ts +19 -0
  1018. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  1019. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
  1020. package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
  1021. package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
  1022. package/dist/dist/types/core/constants/colors.d.ts +13 -0
  1023. package/dist/dist/types/core/constants/sizes.d.ts +13 -0
  1024. package/dist/dist/types/core/constants/tags.d.ts +12 -0
  1025. package/dist/dist/types/core/constants/tokens.d.ts +1 -0
  1026. package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
  1027. package/dist/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
  1028. package/dist/dist/types/helpers/Dom/attribute.d.ts +13 -0
  1029. package/dist/dist/types/helpers/Dom/document.d.ts +4 -0
  1030. package/dist/dist/types/helpers/Dom/form.d.ts +3 -0
  1031. package/dist/dist/types/helpers/Dom/form.types.d.ts +11 -0
  1032. package/dist/dist/types/helpers/Dom/template.d.ts +10 -0
  1033. package/dist/dist/types/helpers/Dom/template.types.d.ts +14 -0
  1034. package/dist/dist/types/helpers/Dom/win.d.ts +18 -0
  1035. package/dist/dist/types/helpers/Fragment.d.ts +2 -0
  1036. package/dist/dist/types/helpers/Log/gov.log.d.ts +8 -0
  1037. package/dist/dist/types/helpers/Validate/props.d.ts +1 -0
  1038. package/dist/dist/types/helpers/Validate/wcag.d.ts +4 -0
  1039. package/dist/dist/types/index.d.ts +0 -0
  1040. package/dist/dist/types/interfaces.d.ts +1 -0
  1041. package/dist/dist/types/stencil-public-runtime.d.ts +1702 -0
  1042. package/dist/dist/types/types/event.types.d.ts +4 -0
  1043. package/dist/dist/types/types/interfaces.d.ts +2 -0
  1044. package/dist/dist/types/types/typings.d.ts +6 -0
  1045. package/dist/dist/types/utils/array.utils.d.ts +2 -0
  1046. package/dist/dist/types/utils/bool.utils.d.ts +1 -0
  1047. package/dist/dist/types/utils/dom.utils.d.ts +1 -0
  1048. package/dist/dist/types/utils/ds.utils.d.ts +1 -0
  1049. package/dist/dist/types/utils/file.utils.d.ts +3 -0
  1050. package/dist/dist/types/utils/helpers.types.d.ts +49 -0
  1051. package/dist/dist/types/utils/icon.utils.d.ts +4 -0
  1052. package/dist/dist/types/utils/number.utils.d.ts +1 -0
  1053. package/dist/dist/types/utils/object.utils.d.ts +2 -0
  1054. package/dist/dist/types/utils/stencil.utils.d.ts +1 -0
  1055. package/dist/dist/types/utils/string.utils.d.ts +4 -0
  1056. package/dist/dist/types/utils/utils.d.ts +20 -0
  1057. package/dist/esm/Fragment-5itQzbON.js.map +1 -1
  1058. package/dist/esm/accessibility-wqNV8djF.js.map +1 -1
  1059. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
  1060. package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -1
  1061. package/dist/esm/attribute-Bz_RzYFb.js.map +1 -1
  1062. package/dist/esm/colors-U40vKHrs.js.map +1 -1
  1063. package/dist/esm/constants-BNBB_29K.js.map +1 -1
  1064. package/dist/esm/constants-BegH8u6i.js.map +1 -1
  1065. package/dist/esm/constants-BiWo5BNa.js.map +1 -1
  1066. package/dist/esm/constants-CysDgoMA.js.map +1 -1
  1067. package/dist/esm/constants-DHvN41Ek.js.map +1 -1
  1068. package/dist/esm/constants-DbTQsVRc.js.map +1 -1
  1069. package/dist/esm/constants-Du0ZtfYe.js.map +1 -1
  1070. package/dist/esm/constants-Q99QrOoi.js.map +1 -1
  1071. package/dist/esm/constants-YOtDGTm5.js.map +1 -1
  1072. package/dist/esm/constants-aqe7GX2n.js.map +1 -1
  1073. package/dist/esm/constants-oYp2tkdN.js.map +1 -1
  1074. package/dist/esm/core.js +4 -4
  1075. package/dist/esm/core.js.map +1 -1
  1076. package/dist/esm/form-DvhJiKwA.js.map +1 -1
  1077. package/dist/esm/gov-accordion-item.entry.js +5 -5
  1078. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  1079. package/dist/esm/gov-accordion.entry.js +3 -3
  1080. package/dist/esm/gov-accordion.entry.js.map +1 -1
  1081. package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +1 -1
  1082. package/dist/esm/gov-attachments_3.entry.js +11 -7
  1083. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  1084. package/dist/esm/gov-backdrop.entry.js +3 -3
  1085. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  1086. package/dist/esm/gov-banner.entry.js +4 -4
  1087. package/dist/esm/gov-banner.entry.js.map +1 -1
  1088. package/dist/esm/gov-blockquote.entry.js +3 -3
  1089. package/dist/esm/gov-blockquote.entry.js.map +1 -1
  1090. package/dist/esm/gov-breadcrumbs.entry.js +3 -3
  1091. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  1092. package/dist/esm/gov-button.entry.js +6 -6
  1093. package/dist/esm/gov-button.entry.js.map +1 -1
  1094. package/dist/esm/gov-card.entry.js +3 -3
  1095. package/dist/esm/gov-card.entry.js.map +1 -1
  1096. package/dist/esm/gov-chip.entry.js +4 -4
  1097. package/dist/esm/gov-chip.entry.js.map +1 -1
  1098. package/dist/esm/gov-collapsible.entry.js +84 -0
  1099. package/dist/esm/gov-collapsible.entry.js.map +1 -0
  1100. package/dist/esm/gov-container.entry.js +3 -3
  1101. package/dist/esm/gov-container.entry.js.map +1 -1
  1102. package/dist/esm/gov-control-group.entry.js +3 -3
  1103. package/dist/esm/gov-control-group.entry.js.map +1 -1
  1104. package/dist/esm/gov-cookiebar.entry.js +3 -3
  1105. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  1106. package/dist/esm/gov-dialog.entry.js +3 -3
  1107. package/dist/esm/gov-dialog.entry.js.map +1 -1
  1108. package/dist/esm/gov-dropdown.entry.js +3 -3
  1109. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  1110. package/dist/esm/gov-empty.entry.js +3 -3
  1111. package/dist/esm/gov-empty.entry.js.map +1 -1
  1112. package/dist/esm/gov-error-code.entry.js +3 -3
  1113. package/dist/esm/gov-error-code.entry.js.map +1 -1
  1114. package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -1
  1115. package/dist/esm/gov-flex_3.entry.js +5 -5
  1116. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  1117. package/dist/esm/gov-form-autocomplete.entry.js +3 -3
  1118. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  1119. package/dist/esm/gov-form-checkbox-group.entry.js +4 -4
  1120. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  1121. package/dist/esm/gov-form-checkbox.entry.js +2 -2
  1122. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  1123. package/dist/esm/gov-form-control.entry.js +3 -3
  1124. package/dist/esm/gov-form-control.entry.js.map +1 -1
  1125. package/dist/esm/gov-form-file.entry.js +3 -7
  1126. package/dist/esm/gov-form-file.entry.js.map +1 -1
  1127. package/dist/esm/gov-form-group.entry.js +3 -3
  1128. package/dist/esm/gov-form-group.entry.js.map +1 -1
  1129. package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -1
  1130. package/dist/esm/gov-form-input_2.entry.js +8 -8
  1131. package/dist/esm/gov-form-input_2.entry.js.map +1 -1
  1132. package/dist/esm/gov-form-label.entry.js +2 -2
  1133. package/dist/esm/gov-form-label.entry.js.map +1 -1
  1134. package/dist/esm/gov-form-multi-select.entry.js +4 -4
  1135. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  1136. package/dist/esm/gov-form-password-power.entry.js +2 -2
  1137. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  1138. package/dist/esm/gov-form-radio-group.entry.js +4 -4
  1139. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  1140. package/dist/esm/gov-form-radio.entry.js +2 -2
  1141. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  1142. package/dist/esm/gov-form-range.entry.js +4 -4
  1143. package/dist/esm/gov-form-range.entry.js.map +1 -1
  1144. package/dist/esm/gov-form-search.entry.js +2 -2
  1145. package/dist/esm/gov-form-search.entry.js.map +1 -1
  1146. package/dist/esm/gov-form-select.entry.js +4 -4
  1147. package/dist/esm/gov-form-select.entry.js.map +1 -1
  1148. package/dist/esm/gov-form-switch.entry.js +2 -2
  1149. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  1150. package/dist/esm/gov-grid-item.entry.js +3 -3
  1151. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  1152. package/dist/esm/gov-grid.entry.js +3 -3
  1153. package/dist/esm/gov-grid.entry.js.map +1 -1
  1154. package/dist/esm/gov-infobar.entry.js +4 -4
  1155. package/dist/esm/gov-infobar.entry.js.map +1 -1
  1156. package/dist/esm/gov-layout-column.entry.js +3 -3
  1157. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  1158. package/dist/esm/gov-layout.entry.js +3 -3
  1159. package/dist/esm/gov-layout.entry.js.map +1 -1
  1160. package/dist/esm/gov-lifecycle.entry.js +2 -2
  1161. package/dist/esm/gov-lifecycle.entry.js.map +1 -1
  1162. package/dist/esm/gov-link.entry.js +3 -3
  1163. package/dist/esm/gov-link.entry.js.map +1 -1
  1164. package/dist/esm/gov-loading.entry.js +3 -3
  1165. package/dist/esm/gov-loading.entry.js.map +1 -1
  1166. package/dist/esm/gov-message.entry.js +3 -3
  1167. package/dist/esm/gov-message.entry.js.map +1 -1
  1168. package/dist/esm/gov-pagination.entry.js +2 -2
  1169. package/dist/esm/gov-pagination.entry.js.map +1 -1
  1170. package/dist/esm/gov-spacer.entry.js +3 -3
  1171. package/dist/esm/gov-spacer.entry.js.map +1 -1
  1172. package/dist/esm/gov-stepper-item.entry.js +3 -3
  1173. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  1174. package/dist/esm/gov-stepper.entry.js +3 -3
  1175. package/dist/esm/gov-stepper.entry.js.map +1 -1
  1176. package/dist/esm/gov-tabs-item.entry.js +3 -3
  1177. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  1178. package/dist/esm/gov-tabs.entry.js +3 -3
  1179. package/dist/esm/gov-tabs.entry.js.map +1 -1
  1180. package/dist/esm/gov-tag.entry.js +3 -3
  1181. package/dist/esm/gov-tag.entry.js.map +1 -1
  1182. package/dist/esm/gov-tile.entry.js +3 -3
  1183. package/dist/esm/gov-tile.entry.js.map +1 -1
  1184. package/dist/esm/gov-toast.entry.js +3 -3
  1185. package/dist/esm/gov-toast.entry.js.map +1 -1
  1186. package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -0
  1187. package/dist/esm/{gov-tooltip.entry.js → gov-tooltip_2.entry.js} +78 -11
  1188. package/dist/esm/gov-tooltip_2.entry.js.map +1 -0
  1189. package/dist/esm/gov-wizard-item.entry.js +4 -4
  1190. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  1191. package/dist/esm/gov-wizard.entry.js +3 -3
  1192. package/dist/esm/gov-wizard.entry.js.map +1 -1
  1193. package/dist/esm/gov.log-BtqD9K8d.js.map +1 -1
  1194. package/dist/esm/helpers-GYov8gU1.js.map +1 -1
  1195. package/dist/esm/helpers.types-DNztiAH0.js.map +1 -1
  1196. package/dist/esm/{index-DT2tslUp.js → index-ClISz4NF.js} +148 -490
  1197. package/dist/esm/index-ClISz4NF.js.map +1 -0
  1198. package/dist/esm/loader.js +3 -3
  1199. package/dist/esm/props-CJZgTDla.js.map +1 -1
  1200. package/dist/esm/sizes-BcQO4NH2.js.map +1 -1
  1201. package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -1
  1202. package/dist/esm/string.utils-vN03FcXN.js.map +1 -1
  1203. package/dist/esm/{template-BBOh2pxy.js → template-CoD1xawt.js} +6 -2
  1204. package/dist/esm/template-CoD1xawt.js.map +1 -0
  1205. package/dist/esm/utils-CQvUntGY.js.map +1 -1
  1206. package/dist/esm/wcag-CD6_13JO.js.map +1 -1
  1207. package/dist/globals.d.ts +2 -2
  1208. package/dist/hydrate/index.js +366 -410
  1209. package/dist/hydrate/index.mjs +366 -410
  1210. package/dist/stencil.config.js +2 -4
  1211. package/dist/stencil.config.js.map +1 -1
  1212. package/dist/types/Users/KameraT/Desktop/Projects/DIA/Sarka/designSystemFinal/gov-design-system/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
  1213. package/dist/types/components/gov-button/button/gov-button.d.ts +2 -2
  1214. package/dist/types/components/gov-chip/gov-chip.d.ts +1 -1
  1215. package/dist/types/components/gov-collapsible/constants.d.ts +18 -0
  1216. package/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
  1217. package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -4
  1218. package/dist/types/components.d.ts +61 -14
  1219. package/dist/types/helpers/Dom/template.types.d.ts +2 -0
  1220. package/dist/types/index.d.ts +0 -1
  1221. package/dist/types/interfaces.d.ts +1 -1
  1222. package/dist/types/stencil-public-runtime.d.ts +5 -12
  1223. package/dist/types/types/typings.d.ts +6 -6
  1224. package/package.json +29 -29
  1225. package/dist/cjs/constants-CS58GJeI.js +0 -29
  1226. package/dist/cjs/constants-CS58GJeI.js.map +0 -1
  1227. package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -65
  1228. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
  1229. package/dist/cjs/gov-tooltip-content.entry.cjs.js.map +0 -1
  1230. package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
  1231. package/dist/cjs/gov-tooltip.entry.cjs.js.map +0 -1
  1232. package/dist/cjs/index-pjwoybrU.js.map +0 -1
  1233. package/dist/cjs/template-DS4pSCTb.js.map +0 -1
  1234. package/dist/collection/pages/Accordion.js +0 -300
  1235. package/dist/collection/pages/Accordion.js.map +0 -1
  1236. package/dist/collection/pages/AttributeSection.js +0 -59
  1237. package/dist/collection/pages/AttributeSection.js.map +0 -1
  1238. package/dist/collection/pages/Avatar.js +0 -47
  1239. package/dist/collection/pages/Avatar.js.map +0 -1
  1240. package/dist/collection/pages/Badge.js +0 -29
  1241. package/dist/collection/pages/Badge.js.map +0 -1
  1242. package/dist/collection/pages/Banner.js +0 -278
  1243. package/dist/collection/pages/Banner.js.map +0 -1
  1244. package/dist/collection/pages/Blockquote.js +0 -25
  1245. package/dist/collection/pages/Blockquote.js.map +0 -1
  1246. package/dist/collection/pages/Breadcrumbs.js +0 -62
  1247. package/dist/collection/pages/Breadcrumbs.js.map +0 -1
  1248. package/dist/collection/pages/Button.js +0 -1450
  1249. package/dist/collection/pages/Button.js.map +0 -1
  1250. package/dist/collection/pages/Card.js +0 -78
  1251. package/dist/collection/pages/Card.js.map +0 -1
  1252. package/dist/collection/pages/Chip.js +0 -265
  1253. package/dist/collection/pages/Chip.js.map +0 -1
  1254. package/dist/collection/pages/Collapsible.js +0 -43
  1255. package/dist/collection/pages/Collapsible.js.map +0 -1
  1256. package/dist/collection/pages/Container.js +0 -21
  1257. package/dist/collection/pages/Container.js.map +0 -1
  1258. package/dist/collection/pages/ControlGroup.js +0 -227
  1259. package/dist/collection/pages/ControlGroup.js.map +0 -1
  1260. package/dist/collection/pages/CookieConsent.js +0 -29
  1261. package/dist/collection/pages/CookieConsent.js.map +0 -1
  1262. package/dist/collection/pages/Dialog.js +0 -56
  1263. package/dist/collection/pages/Dialog.js.map +0 -1
  1264. package/dist/collection/pages/Empty.js +0 -64
  1265. package/dist/collection/pages/Empty.js.map +0 -1
  1266. package/dist/collection/pages/Error.js +0 -18
  1267. package/dist/collection/pages/Error.js.map +0 -1
  1268. package/dist/collection/pages/Flex.js +0 -62
  1269. package/dist/collection/pages/Flex.js.map +0 -1
  1270. package/dist/collection/pages/FormLabel.js +0 -13
  1271. package/dist/collection/pages/FormLabel.js.map +0 -1
  1272. package/dist/collection/pages/FormMessage.js +0 -82
  1273. package/dist/collection/pages/FormMessage.js.map +0 -1
  1274. package/dist/collection/pages/Forms.js +0 -2329
  1275. package/dist/collection/pages/Forms.js.map +0 -1
  1276. package/dist/collection/pages/FormsRestructure.js +0 -13
  1277. package/dist/collection/pages/FormsRestructure.js.map +0 -1
  1278. package/dist/collection/pages/Grid.js +0 -113
  1279. package/dist/collection/pages/Grid.js.map +0 -1
  1280. package/dist/collection/pages/Home.js +0 -114
  1281. package/dist/collection/pages/Home.js.map +0 -1
  1282. package/dist/collection/pages/HorizontalStepper.js +0 -85
  1283. package/dist/collection/pages/HorizontalStepper.js.map +0 -1
  1284. package/dist/collection/pages/Icon.js +0 -32
  1285. package/dist/collection/pages/Icon.js.map +0 -1
  1286. package/dist/collection/pages/Infobar.js +0 -129
  1287. package/dist/collection/pages/Infobar.js.map +0 -1
  1288. package/dist/collection/pages/Layout.js +0 -97
  1289. package/dist/collection/pages/Layout.js.map +0 -1
  1290. package/dist/collection/pages/Loading.js +0 -89
  1291. package/dist/collection/pages/Loading.js.map +0 -1
  1292. package/dist/collection/pages/Message.js +0 -82
  1293. package/dist/collection/pages/Message.js.map +0 -1
  1294. package/dist/collection/pages/Pagination.js +0 -38
  1295. package/dist/collection/pages/Pagination.js.map +0 -1
  1296. package/dist/collection/pages/Spacer.js +0 -26
  1297. package/dist/collection/pages/Spacer.js.map +0 -1
  1298. package/dist/collection/pages/Stepper.js +0 -103
  1299. package/dist/collection/pages/Stepper.js.map +0 -1
  1300. package/dist/collection/pages/Tabs.js +0 -611
  1301. package/dist/collection/pages/Tabs.js.map +0 -1
  1302. package/dist/collection/pages/Tag.js +0 -220
  1303. package/dist/collection/pages/Tag.js.map +0 -1
  1304. package/dist/collection/pages/Tiles.js +0 -107
  1305. package/dist/collection/pages/Tiles.js.map +0 -1
  1306. package/dist/collection/pages/ToastMessage.js +0 -47
  1307. package/dist/collection/pages/ToastMessage.js.map +0 -1
  1308. package/dist/collection/pages/ToastMessageCountdown.js +0 -47
  1309. package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
  1310. package/dist/collection/pages/Tooltip.js +0 -168
  1311. package/dist/collection/pages/Tooltip.js.map +0 -1
  1312. package/dist/collection/pages/Typography.js +0 -161
  1313. package/dist/collection/pages/Typography.js.map +0 -1
  1314. package/dist/collection/pages/UserNavigation.js +0 -134
  1315. package/dist/collection/pages/UserNavigation.js.map +0 -1
  1316. package/dist/collection/pages/Wizard.js +0 -106
  1317. package/dist/collection/pages/Wizard.js.map +0 -1
  1318. package/dist/components/p-9COKmDO0.js.map +0 -1
  1319. package/dist/components/p-B03Rpjps.js.map +0 -1
  1320. package/dist/components/p-CXbpWAIF.js +0 -2
  1321. package/dist/components/p-CXbpWAIF.js.map +0 -1
  1322. package/dist/components/p-Cta_74Ps.js +0 -2
  1323. package/dist/components/p-Cta_74Ps.js.map +0 -1
  1324. package/dist/components/p-Cy7Wk3yM.js.map +0 -1
  1325. package/dist/components/p-D4Z6jWqx.js +0 -2
  1326. package/dist/components/p-D4Z6jWqx.js.map +0 -1
  1327. package/dist/components/p-DJ1DN3ks.js.map +0 -1
  1328. package/dist/components/p-DTn9nVrF.js +0 -2
  1329. package/dist/components/p-DTn9nVrF.js.map +0 -1
  1330. package/dist/components/p-DfJDyRCE.js +0 -2
  1331. package/dist/components/p-DfJDyRCE.js.map +0 -1
  1332. package/dist/components/p-Dmr81UhL.js +0 -2
  1333. package/dist/components/p-Dmr81UhL.js.map +0 -1
  1334. package/dist/components/p-DnZEr-aq.js +0 -2
  1335. package/dist/components/p-DnZEr-aq.js.map +0 -1
  1336. package/dist/components/p-wlTP5ZEU.js.map +0 -1
  1337. package/dist/core/gov-tooltip-content.entry.esm.js.map +0 -1
  1338. package/dist/core/gov-tooltip.entry.esm.js.map +0 -1
  1339. package/dist/core/p-01482eb2.entry.js +0 -2
  1340. package/dist/core/p-01482eb2.entry.js.map +0 -1
  1341. package/dist/core/p-0dbda4ab.entry.js.map +0 -1
  1342. package/dist/core/p-19a408eb.entry.js.map +0 -1
  1343. package/dist/core/p-1bfbad36.entry.js +0 -2
  1344. package/dist/core/p-1bfbad36.entry.js.map +0 -1
  1345. package/dist/core/p-1f4450cc.entry.js +0 -2
  1346. package/dist/core/p-1f4450cc.entry.js.map +0 -1
  1347. package/dist/core/p-2142c481.entry.js.map +0 -1
  1348. package/dist/core/p-25a33448.entry.js +0 -2
  1349. package/dist/core/p-25a33448.entry.js.map +0 -1
  1350. package/dist/core/p-2affc4c0.entry.js +0 -2
  1351. package/dist/core/p-2affc4c0.entry.js.map +0 -1
  1352. package/dist/core/p-3477fcf1.entry.js +0 -2
  1353. package/dist/core/p-3477fcf1.entry.js.map +0 -1
  1354. package/dist/core/p-35c24ac5.entry.js +0 -2
  1355. package/dist/core/p-35c24ac5.entry.js.map +0 -1
  1356. package/dist/core/p-35cd4ecd.entry.js.map +0 -1
  1357. package/dist/core/p-35f784be.entry.js +0 -2
  1358. package/dist/core/p-35f784be.entry.js.map +0 -1
  1359. package/dist/core/p-37770cee.entry.js +0 -2
  1360. package/dist/core/p-37770cee.entry.js.map +0 -1
  1361. package/dist/core/p-37b98852.entry.js +0 -2
  1362. package/dist/core/p-37b98852.entry.js.map +0 -1
  1363. package/dist/core/p-48a3bb49.entry.js.map +0 -1
  1364. package/dist/core/p-4e170f53.entry.js +0 -2
  1365. package/dist/core/p-4e170f53.entry.js.map +0 -1
  1366. package/dist/core/p-57aac00e.entry.js +0 -2
  1367. package/dist/core/p-57aac00e.entry.js.map +0 -1
  1368. package/dist/core/p-5c9371da.entry.js.map +0 -1
  1369. package/dist/core/p-6508f953.entry.js +0 -2
  1370. package/dist/core/p-6508f953.entry.js.map +0 -1
  1371. package/dist/core/p-730b823a.entry.js +0 -2
  1372. package/dist/core/p-730b823a.entry.js.map +0 -1
  1373. package/dist/core/p-7b623100.entry.js +0 -2
  1374. package/dist/core/p-7b623100.entry.js.map +0 -1
  1375. package/dist/core/p-7f46f70a.entry.js +0 -2
  1376. package/dist/core/p-7f46f70a.entry.js.map +0 -1
  1377. package/dist/core/p-83507d07.entry.js +0 -2
  1378. package/dist/core/p-83507d07.entry.js.map +0 -1
  1379. package/dist/core/p-871d4318.entry.js +0 -2
  1380. package/dist/core/p-871d4318.entry.js.map +0 -1
  1381. package/dist/core/p-8873dc4b.entry.js.map +0 -1
  1382. package/dist/core/p-8c942041.entry.js +0 -2
  1383. package/dist/core/p-8c942041.entry.js.map +0 -1
  1384. package/dist/core/p-8d42ee97.entry.js +0 -2
  1385. package/dist/core/p-8d42ee97.entry.js.map +0 -1
  1386. package/dist/core/p-8dceba0b.entry.js +0 -2
  1387. package/dist/core/p-8dceba0b.entry.js.map +0 -1
  1388. package/dist/core/p-901cbf94.entry.js +0 -2
  1389. package/dist/core/p-901cbf94.entry.js.map +0 -1
  1390. package/dist/core/p-90b277bb.entry.js +0 -2
  1391. package/dist/core/p-90b277bb.entry.js.map +0 -1
  1392. package/dist/core/p-90ff56f4.entry.js.map +0 -1
  1393. package/dist/core/p-962d5767.entry.js.map +0 -1
  1394. package/dist/core/p-984b6020.entry.js.map +0 -1
  1395. package/dist/core/p-9d2a4eb1.entry.js +0 -2
  1396. package/dist/core/p-9d2a4eb1.entry.js.map +0 -1
  1397. package/dist/core/p-9ff7e018.entry.js +0 -2
  1398. package/dist/core/p-9ff7e018.entry.js.map +0 -1
  1399. package/dist/core/p-BBOh2pxy.js +0 -2
  1400. package/dist/core/p-BBOh2pxy.js.map +0 -1
  1401. package/dist/core/p-CLBboRhb.js +0 -2
  1402. package/dist/core/p-CLBboRhb.js.map +0 -1
  1403. package/dist/core/p-DT2tslUp.js +0 -3
  1404. package/dist/core/p-DT2tslUp.js.map +0 -1
  1405. package/dist/core/p-a18c600d.entry.js +0 -2
  1406. package/dist/core/p-a18c600d.entry.js.map +0 -1
  1407. package/dist/core/p-aaa73dc8.entry.js.map +0 -1
  1408. package/dist/core/p-ade69b24.entry.js +0 -2
  1409. package/dist/core/p-ade69b24.entry.js.map +0 -1
  1410. package/dist/core/p-b19afdd8.entry.js +0 -2
  1411. package/dist/core/p-b19afdd8.entry.js.map +0 -1
  1412. package/dist/core/p-b97b4439.entry.js +0 -2
  1413. package/dist/core/p-b97b4439.entry.js.map +0 -1
  1414. package/dist/core/p-bbe0d727.entry.js.map +0 -1
  1415. package/dist/core/p-bedd75e1.entry.js +0 -2
  1416. package/dist/core/p-bedd75e1.entry.js.map +0 -1
  1417. package/dist/core/p-c1a1fc45.entry.js.map +0 -1
  1418. package/dist/core/p-c6f52c6f.entry.js +0 -2
  1419. package/dist/core/p-c6f52c6f.entry.js.map +0 -1
  1420. package/dist/core/p-c99cc786.entry.js +0 -2
  1421. package/dist/core/p-c99cc786.entry.js.map +0 -1
  1422. package/dist/core/p-c9edada1.entry.js +0 -2
  1423. package/dist/core/p-c9edada1.entry.js.map +0 -1
  1424. package/dist/core/p-cddfc899.entry.js +0 -2
  1425. package/dist/core/p-cddfc899.entry.js.map +0 -1
  1426. package/dist/core/p-ce588d98.entry.js +0 -2
  1427. package/dist/core/p-ce588d98.entry.js.map +0 -1
  1428. package/dist/core/p-d4440adf.entry.js.map +0 -1
  1429. package/dist/core/p-d48d5870.entry.js.map +0 -1
  1430. package/dist/core/p-d8264763.entry.js +0 -2
  1431. package/dist/core/p-d8264763.entry.js.map +0 -1
  1432. package/dist/core/p-e169f098.entry.js.map +0 -1
  1433. package/dist/core/p-e3e3e9f2.entry.js +0 -2
  1434. package/dist/core/p-e3e3e9f2.entry.js.map +0 -1
  1435. package/dist/core/p-e8507630.entry.js +0 -2
  1436. package/dist/core/p-e8507630.entry.js.map +0 -1
  1437. package/dist/core/p-f0505205.entry.js.map +0 -1
  1438. package/dist/core/p-f3c873f5.entry.js +0 -2
  1439. package/dist/core/p-f3c873f5.entry.js.map +0 -1
  1440. package/dist/esm/constants-TT_l4YYj.js +0 -24
  1441. package/dist/esm/constants-TT_l4YYj.js.map +0 -1
  1442. package/dist/esm/gov-tooltip-content.entry.js +0 -63
  1443. package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
  1444. package/dist/esm/gov-tooltip.entry.js.map +0 -1
  1445. package/dist/esm/index-DT2tslUp.js.map +0 -1
  1446. package/dist/esm/template-BBOh2pxy.js.map +0 -1
  1447. package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
  1448. package/dist/types/pages/Accordion.d.ts +0 -3
  1449. package/dist/types/pages/AttributeSection.d.ts +0 -3
  1450. package/dist/types/pages/Avatar.d.ts +0 -3
  1451. package/dist/types/pages/Badge.d.ts +0 -3
  1452. package/dist/types/pages/Banner.d.ts +0 -3
  1453. package/dist/types/pages/Blockquote.d.ts +0 -3
  1454. package/dist/types/pages/Breadcrumbs.d.ts +0 -3
  1455. package/dist/types/pages/Button.d.ts +0 -3
  1456. package/dist/types/pages/Card.d.ts +0 -3
  1457. package/dist/types/pages/Chip.d.ts +0 -3
  1458. package/dist/types/pages/Collapsible.d.ts +0 -3
  1459. package/dist/types/pages/Container.d.ts +0 -3
  1460. package/dist/types/pages/ControlGroup.d.ts +0 -3
  1461. package/dist/types/pages/CookieConsent.d.ts +0 -3
  1462. package/dist/types/pages/Dialog.d.ts +0 -3
  1463. package/dist/types/pages/Empty.d.ts +0 -3
  1464. package/dist/types/pages/Error.d.ts +0 -3
  1465. package/dist/types/pages/Flex.d.ts +0 -3
  1466. package/dist/types/pages/FormLabel.d.ts +0 -3
  1467. package/dist/types/pages/FormMessage.d.ts +0 -3
  1468. package/dist/types/pages/Forms.d.ts +0 -8
  1469. package/dist/types/pages/FormsRestructure.d.ts +0 -3
  1470. package/dist/types/pages/Grid.d.ts +0 -3
  1471. package/dist/types/pages/Home.d.ts +0 -3
  1472. package/dist/types/pages/HorizontalStepper.d.ts +0 -3
  1473. package/dist/types/pages/Icon.d.ts +0 -3
  1474. package/dist/types/pages/Infobar.d.ts +0 -3
  1475. package/dist/types/pages/Layout.d.ts +0 -3
  1476. package/dist/types/pages/Loading.d.ts +0 -3
  1477. package/dist/types/pages/Message.d.ts +0 -3
  1478. package/dist/types/pages/Pagination.d.ts +0 -3
  1479. package/dist/types/pages/Spacer.d.ts +0 -3
  1480. package/dist/types/pages/Stepper.d.ts +0 -3
  1481. package/dist/types/pages/Tabs.d.ts +0 -3
  1482. package/dist/types/pages/Tag.d.ts +0 -3
  1483. package/dist/types/pages/Tiles.d.ts +0 -3
  1484. package/dist/types/pages/ToastMessage.d.ts +0 -3
  1485. package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
  1486. package/dist/types/pages/Tooltip.d.ts +0 -3
  1487. package/dist/types/pages/Typography.d.ts +0 -3
  1488. package/dist/types/pages/UserNavigation.d.ts +0 -24
  1489. package/dist/types/pages/Wizard.d.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"gov-backdrop.js","sourceRoot":"","sources":["../../../../../../src/components/gov-backdrop/gov-backdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC5F,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AACzC,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAK/C,MAAM,OAAO,WAAW;IAGvB;QAKA;;WAEG;QACc,YAAO,GAAY,KAAK,CAAA;QACzC;;WAEG;QAC4C,aAAQ,GAAY,KAAK,CAAA;QAXvE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAwBD,KAAK,CAAC,kBAAkB;QACvB,IAAI,uBAAuB,EAAE,EAAE,CAAC;YAC/B,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,CAAA;QACzC,CAAC;IACF,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO;YACrE,4DACC,IAAI,EAAE,QAAQ,mBACC,IAAI,CAAC,QAAQ,gBAChB,IAAI,CAAC,eAAe,qBACf,IAAI,CAAC,oBAAoB,EAC1C,OAAO,EAAE,CAAC,CAAC,EAAE;oBACZ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;wBACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;oBACtB,CAAC;gBACF,CAAC,EACD,KAAK,EAAE,aAAa,CAAC,EAAE,GACjB,CACD,CACP,CAAA;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,uBAAuB,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACxG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {BackdropClass} from './constants'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-backdrop',\n})\nexport class GovBackdrop {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBackdropElement\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 backdrop component disabled.\n\t */\n\t@Prop({reflect: true, mutable: true}) readonly disabled: boolean = false\n\t/**\n\t * Adds accessible label for the backdrop that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\t/**\n\t * Emitted when button clicks.\n\t */\n\t@Event({eventName: 'gov-click'}) govClick: EventEmitter<MouseEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BackdropClass.root)} inverse={this.inverse}>\n\t\t\t\t<div\n\t\t\t\t\trole={'button'}\n\t\t\t\t\taria-disabled={this.disabled}\n\t\t\t\t\taria-label={this.accessibleLabel}\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy}\n\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\tif (!this.disabled) {\n\t\t\t\t\t\t\tthis.govClick.emit(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t\tclass={BackdropClass.bg}\n\t\t\t\t></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the accessibility attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BackdropClass.root, this.host)\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-backdrop.js","sourceRoot":"","sources":["../../../../../../src/components/gov-backdrop/gov-backdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC5F,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AACzC,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B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;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\r\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\r\nimport {BackdropClass} from './constants'\r\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\r\nimport {govHost} from '../../helpers/Dom/template'\r\nimport {GovHost} from '../../helpers/Dom/template.types'\r\nimport {tick} from \"../../utils/stencil.utils\";\r\n\r\n@Component({\r\n\ttag: 'gov-backdrop',\r\n})\r\nexport class GovBackdrop {\r\n\tprivate h: GovHost\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t}\r\n\r\n\t@Element() host: HTMLGovBackdropElement\r\n\t/**\r\n\t * Determine if component should have inverse colors to be used on dark background.\r\n\t */\r\n\t@Prop() readonly inverse: boolean = false\r\n\t/**\r\n\t * Makes the backdrop component disabled.\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) readonly disabled: boolean = false\r\n\t/**\r\n\t * Adds accessible label for the backdrop that is only shown for screen readers.\r\n\t */\r\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\r\n\t/**\r\n\t * String of id's that indicate alternative labels elements\r\n\t */\r\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\r\n\t/**\r\n\t * Emitted when button clicks.\r\n\t */\r\n\t@Event({eventName: 'gov-click'}) govClick: EventEmitter<MouseEvent>\r\n\r\n\tasync componentDidRender() {\r\n\t\tif (canValidateWcagOnRender()) {\r\n\t\t\ttick(() => this.validateAccessibility())\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes(BackdropClass.root)} inverse={this.inverse}>\r\n\t\t\t\t<div\r\n\t\t\t\t\trole={'button'}\r\n\t\t\t\t\taria-disabled={this.disabled}\r\n\t\t\t\t\taria-label={this.accessibleLabel}\r\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy}\r\n\t\t\t\t\tonClick={e => {\r\n\t\t\t\t\t\tif (!this.disabled) {\r\n\t\t\t\t\t\t\tthis.govClick.emit(e)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}}\r\n\t\t\t\t\tclass={BackdropClass.bg}\r\n\t\t\t\t></div>\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\t/**\r\n\t * Validate the accessibility attributes of the component\r\n\t */\r\n\t@Method()\r\n\tasync validateAccessibility(): Promise<void> {\r\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BackdropClass.root, this.host)\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGjE,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC3B,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AAChB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAGD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAGD,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,kCAAe,CAAA;IACf,gCAAa,CAAA;AACd,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAGD,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type BannerSizesType = `${ValueOf<typeof BannerSizes>}`\n\nexport enum BannerBackground {\n\tSIMPLE = 'simple',\n\tWAVES = 'waves',\n\tSTRIPES = 'stripes',\n\tLINES = 'lines',\n}\nexport type BannerBackgroundsType = `${ValueOf<typeof BannerBackground>}`\n\nexport enum BannerForeground {\n\tIMAGE = 'image',\n\tLOGO = 'logo',\n\tICON = 'icon',\n}\nexport type BannerForegroundsType = `${ValueOf<typeof BannerForeground>}`\n\nexport enum BannerTextColor {\n\tLIGHT = 'light',\n\tDARK = 'dark',\n}\nexport type BannerTextColorsType = `${ValueOf<typeof BannerTextColor>}`\n\nexport const BannerClass = {\n\troot: 'gov-banner',\n\tcontent: 'gov-banner__content',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGjE,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC3B,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AAChB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAGD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAGD,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,kCAAe,CAAA;IACf,gCAAa,CAAA;AACd,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAGD,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\r\nimport {pick} from \"../../utils/utils\";\r\nimport {Sizes} from \"../../core/constants/sizes\";\r\n\r\nexport const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\r\nexport type BannerSizesType = `${ValueOf<typeof BannerSizes>}`\r\n\r\nexport enum BannerBackground {\r\n\tSIMPLE = 'simple',\r\n\tWAVES = 'waves',\r\n\tSTRIPES = 'stripes',\r\n\tLINES = 'lines',\r\n}\r\nexport type BannerBackgroundsType = `${ValueOf<typeof BannerBackground>}`\r\n\r\nexport enum BannerForeground {\r\n\tIMAGE = 'image',\r\n\tLOGO = 'logo',\r\n\tICON = 'icon',\r\n}\r\nexport type BannerForegroundsType = `${ValueOf<typeof BannerForeground>}`\r\n\r\nexport enum BannerTextColor {\r\n\tLIGHT = 'light',\r\n\tDARK = 'dark',\r\n}\r\nexport type BannerTextColorsType = `${ValueOf<typeof BannerTextColor>}`\r\n\r\nexport const BannerClass = {\r\n\troot: 'gov-banner',\r\n\tcontent: 'gov-banner__content',\r\n}\r\n"]}
@@ -41,10 +41,10 @@ export class GovBanner {
41
41
  this.validateTextColor(this.textColor);
42
42
  }
43
43
  render() {
44
- return (h(Host, Object.assign({ key: '67c767ffc6ac1912bb691c8bb11158dac573e70f', class: this.h.classes(BannerClass.root), role: "region", size: this.size }, (this.size !== "xl" ? {
44
+ return (h(Host, Object.assign({ key: 'c035b04b0715ffcc996d66a1f673d1bd9518284c', class: this.h.classes(BannerClass.root), role: "region", size: this.size }, (this.size !== "xl" ? {
45
45
  background: this.background,
46
46
  foreground: this.foreground
47
- } : { 'text-color': this.textColor })), h("div", { key: '624b24b1e621ef7f7ad4666b56f48ffec9881aee' }, h("div", { key: '90b322dca74ca90be13489d519534ebff0656593', class: BannerClass.content }, h("slot", { key: '272f89cbe0649af7edfd7230861f6232272c8da4', name: "headline" }), h("slot", { key: '1bfa7690842ba1a023af5b7da4edec5acb6c65fe' })), this.h.hasSlot('button') && (h("slot", { key: '5d9611292a76aee4654b16429a89fd46ad610884', name: "button" }))), h("slot", { key: '00000b185434b0d85112beaa2374c7f7b12c19b0', name: "image" })));
47
+ } : { 'text-color': this.textColor })), h("div", { key: 'd5a59901f7a1a707c3679ffc20677163bbf31dc7' }, h("div", { key: '366d4ce913119a38f3166fdc70d9ae06181e7a5d', class: BannerClass.content }, h("slot", { key: '92baa67137573e91b5eb74884b2fa1cb68d5bf90', name: "headline" }), h("slot", { key: '2630dbd6c23e8ec71b136d76df977b0bef7aa830' })), this.h.hasSlot('button') && (h("slot", { key: '0e8b200648c9a4af27da49a5f725be48159ad595', name: "button" }))), h("slot", { key: '79bdb4c7d136d66561aab55012c8d5669503469f', name: "image" })));
48
48
  }
49
49
  static get is() { return "gov-banner"; }
50
50
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"gov-banner.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/gov-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EACH,gBAAgB,EAEhB,WAAW,EACX,gBAAgB,EAEhB,WAAW,EAEX,eAAe,EAElB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAK1D,MAAM,OAAO,SAAS;IAGlB;QAKA;;WAEG;QAC6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C,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC;YACtB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;SAC9B,CAAC,CAAC,CAAC,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,EAAC,CAAC;YACrC;gBACI,4DAAK,KAAK,EAAE,WAAW,CAAC,OAAO;oBAC3B,6DAAM,IAAI,EAAC,UAAU,GAAE;oBACvB,8DAAO,CACL;gBACL,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CACzB,6DAAM,IAAI,EAAC,QAAQ,GAAE,CACxB,CACC;YACN,6DAAM,IAAI,EAAC,OAAO,GAAE,CACjB,CACV,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {\n BannerBackground,\n BannerBackgroundsType,\n BannerClass,\n BannerForeground,\n BannerForegroundsType,\n BannerSizes,\n BannerSizesType,\n BannerTextColor,\n BannerTextColorsType\n} from \"./constants\";\nimport {validateProp} from \"../../helpers/Validate/props\";\n\n@Component({\n tag: 'gov-banner',\n})\nexport class GovBanner {\n private h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovBannerElement\n /**\n * Banner’s size.\n */\n @Prop({reflect: true}) readonly size: BannerSizesType = BannerSizes._M\n /**\n * Banner’s background\n */\n @Prop() readonly background: BannerBackgroundsType = BannerBackground.SIMPLE\n /**\n * Banner’s foreground\n */\n @Prop() readonly foreground: BannerForegroundsType = BannerForeground.LOGO\n /**\n * XL Banner’s text color\n */\n @Prop({attribute: 'text-color'}) readonly textColor: BannerTextColorsType = BannerTextColor.LIGHT\n\n @Watch('size')\n validateSize(newValue: string): void {\n validateProp(BannerSizes, newValue, BannerClass.root)\n }\n\n @Watch('background')\n validateBackground(newValue: string): void {\n validateProp(BannerBackground, newValue, BannerClass.root)\n }\n\n @Watch('foreground')\n validateForeground(newValue: string): void {\n validateProp(BannerForeground, newValue, BannerClass.root)\n }\n\n @Watch('text-color')\n validateTextColor(newValue: string): void {\n validateProp(BannerTextColor, newValue, BannerClass.root)\n }\n\n componentWillLoad(): void {\n this.validateSize(this.size)\n this.validateBackground(this.background)\n this.validateForeground(this.foreground)\n this.validateTextColor(this.textColor)\n }\n\n render() {\n return (\n <Host class={this.h.classes(BannerClass.root)}\n role=\"region\"\n size={this.size}\n {...(this.size !== \"xl\" ? {\n background: this.background,\n foreground: this.foreground\n } : {'text-color': this.textColor})}>\n <div>\n <div class={BannerClass.content}>\n <slot name=\"headline\"/>\n <slot/>\n </div>\n {this.h.hasSlot('button') && (\n <slot name=\"button\"/>\n )}\n </div>\n <slot name=\"image\"/>\n </Host>\n )\n }\n}\n"]}
1
+ {"version":3,"file":"gov-banner.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/gov-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EACH,gBAAgB,EAEhB,WAAW,EACX,gBAAgB,EAEhB,WAAW,EAEX,eAAe,EAElB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAK1D,MAAM,OAAO,SAAS;IAGlB;QAKA;;WAEG;QAC6B,SAAI,GAAoB,WAAW,CAAC,EAAE,CAAA;QACtE;;WAEG;QACc,eAAU,GAA0B,gBAAgB,CAAC,MAAM,CAAA;QAC5E;;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UAAU;SAC9B,CAAC,CAAC,CAAC,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,EAAC,CAAC;YACrC;gBACI,4DAAK,KAAK,EAAE,WAAW,CAAC,OAAO;oBAC3B,6DAAM,IAAI,EAAC,UAAU,GAAE;oBACvB,8DAAO,CACL;gBACL,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CACzB,6DAAM,IAAI,EAAC,QAAQ,GAAE,CACxB,CACC;YACN,6DAAM,IAAI,EAAC,OAAO,GAAE,CACjB,CACV,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\r\nimport {govHost} from '../../helpers/Dom/template'\r\nimport {GovHost} from '../../helpers/Dom/template.types'\r\nimport {\r\n BannerBackground,\r\n BannerBackgroundsType,\r\n BannerClass,\r\n BannerForeground,\r\n BannerForegroundsType,\r\n BannerSizes,\r\n BannerSizesType,\r\n BannerTextColor,\r\n BannerTextColorsType\r\n} from \"./constants\";\r\nimport {validateProp} from \"../../helpers/Validate/props\";\r\n\r\n@Component({\r\n tag: 'gov-banner',\r\n})\r\nexport class GovBanner {\r\n private h: GovHost\r\n\r\n constructor() {\r\n this.h = govHost(this.host)\r\n }\r\n\r\n @Element() host: HTMLGovBannerElement\r\n /**\r\n * Banner’s size.\r\n */\r\n @Prop({reflect: true}) readonly size: BannerSizesType = BannerSizes._M\r\n /**\r\n * Banner’s background\r\n */\r\n @Prop() readonly background: BannerBackgroundsType = BannerBackground.SIMPLE\r\n /**\r\n * Banner’s foreground\r\n */\r\n @Prop() readonly foreground: BannerForegroundsType = BannerForeground.LOGO\r\n /**\r\n * XL Banner’s text color\r\n */\r\n @Prop({attribute: 'text-color'}) readonly textColor: BannerTextColorsType = BannerTextColor.LIGHT\r\n\r\n @Watch('size')\r\n validateSize(newValue: string): void {\r\n validateProp(BannerSizes, newValue, BannerClass.root)\r\n }\r\n\r\n @Watch('background')\r\n validateBackground(newValue: string): void {\r\n validateProp(BannerBackground, newValue, BannerClass.root)\r\n }\r\n\r\n @Watch('foreground')\r\n validateForeground(newValue: string): void {\r\n validateProp(BannerForeground, newValue, BannerClass.root)\r\n }\r\n\r\n @Watch('text-color')\r\n validateTextColor(newValue: string): void {\r\n validateProp(BannerTextColor, newValue, BannerClass.root)\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.validateSize(this.size)\r\n this.validateBackground(this.background)\r\n this.validateForeground(this.foreground)\r\n this.validateTextColor(this.textColor)\r\n }\r\n\r\n render() {\r\n return (\r\n <Host class={this.h.classes(BannerClass.root)}\r\n role=\"region\"\r\n size={this.size}\r\n {...(this.size !== \"xl\" ? {\r\n background: this.background,\r\n foreground: this.foreground\r\n } : {'text-color': this.textColor})}>\r\n <div>\r\n <div class={BannerClass.content}>\r\n <slot name=\"headline\"/>\r\n <slot/>\r\n </div>\r\n {this.h.hasSlot('button') && (\r\n <slot name=\"button\"/>\r\n )}\r\n </div>\r\n <slot name=\"image\"/>\r\n </Host>\r\n )\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blockquote/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAGD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,IAAI,EAAE,gBAAgB;CACtB,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum BlockquoteType {\n\tPRIMARY = 'primary',\n\tSUBTLE = 'subtle',\n\tNEUTRAL = 'neutral',\n}\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\n\nexport const BlockquoteClass = {\n\troot: 'gov-blockquote',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blockquote/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAGD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,IAAI,EAAE,gBAAgB;CACtB,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\r\n\r\nexport enum BlockquoteType {\r\n\tPRIMARY = 'primary',\r\n\tSUBTLE = 'subtle',\r\n\tNEUTRAL = 'neutral',\r\n}\r\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\r\n\r\nexport const BlockquoteClass = {\r\n\troot: 'gov-blockquote',\r\n}\r\n"]}
@@ -10,7 +10,7 @@ export class GovBlockquote {
10
10
  this.h = govHost(this.host);
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '0d4b930791ee54ea55552b1a8ab9a2f248b5109e', class: this.h.classes(BlockquoteClass.root), type: this.type }, h("gov-icon", { key: 'f27a6a5059203b000bede13c47aa7e5eb150e4cd', type: "components", name: "quote", size: "3xl" }), h("blockquote", { key: '3206cd993309f5636920e5b552e3cd97be98b334', cite: this.cite }, h("slot", { key: '16ac7ec3098d37e1c5b444fe18e47986a5afa915' })), h("slot", { key: 'ae4f20fbf0820346cc9919014ab6a3fc9f9ef96e', name: "image" }), h("slot", { key: 'f43c96fef744f2d6147f8579fad0c808c064c81a', name: "author" })));
13
+ return (h(Host, { key: '5a45752fb485b9bc990fad76dc05e3262c6c402b', class: this.h.classes(BlockquoteClass.root), type: this.type }, h("gov-icon", { key: '125a8fbd29e3300795e0396daf99d83a0c8a2939', type: "components", name: "quote", size: "3xl" }), h("blockquote", { key: '7f7df8129d1186fe7cd1c7d7212906b4db5e0acf', cite: this.cite }, h("slot", { key: '5f7b8ca8f487708b5d9e39df5d12daa29cd53dc7' })), h("slot", { key: '5e7e0ec56c25b3cecdc75757c053a5cd751b074d', name: "image" }), h("slot", { key: '6a29244bb9a019b273043cd651917a560d9a21b6', name: "author" })));
14
14
  }
15
15
  static get is() { return "gov-blockquote"; }
16
16
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"gov-blockquote.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blockquote/gov-blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,eAAe,EAAE,cAAc,EAAsB,MAAM,aAAa,CAAC;AAMjF,MAAM,OAAO,aAAa;IAGzB;QAKA;;WAEG;QAC6B,SAAI,GAAwB,cAAc,CAAC,MAAM,CAAA;QAPhF,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAYD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;YACjE,iEAAU,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,GAAY;YAC/D,mEAAY,IAAI,EAAE,IAAI,CAAC,IAAI;gBAC1B,8DAAQ,CACI;YACb,6DAAM,IAAI,EAAC,OAAO,GAAG;YACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop} from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\n\n\n@Component({\n\ttag: 'gov-blockquote',\n})\nexport class GovBlockquote {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBlockquoteElement\n\t/**\n\t * Blockquote’s type\n\t */\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\n\t/**\n\t * Blockquote’s cite url\n\t */\n\t@Prop({attribute: 'cite'}) readonly cite: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\n\t\t\t\t<blockquote cite={this.cite}>\n\t\t\t\t\t<slot />\n\t\t\t\t</blockquote>\n\t\t\t\t<slot name=\"image\" />\n\t\t\t\t<slot name=\"author\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-blockquote.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blockquote/gov-blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,eAAe,EAAE,cAAc,EAAsB,MAAM,aAAa,CAAC;AAMjF,MAAM,OAAO,aAAa;IAGzB;QAKA;;WAEG;QAC6B,SAAI,GAAwB,cAAc,CAAC,MAAM,CAAA;QAPhF,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAYD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;YACjE,iEAAU,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,GAAY;YAC/D,mEAAY,IAAI,EAAE,IAAI,CAAC,IAAI;gBAC1B,8DAAQ,CACI;YACb,6DAAM,IAAI,EAAC,OAAO,GAAG;YACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop} from '@stencil/core'\r\nimport { govHost } from '../../helpers/Dom/template'\r\nimport { GovHost } from '../../helpers/Dom/template.types'\r\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\r\n\r\n\r\n@Component({\r\n\ttag: 'gov-blockquote',\r\n})\r\nexport class GovBlockquote {\r\n\tprivate h: GovHost\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t}\r\n\r\n\t@Element() host: HTMLGovBlockquoteElement\r\n\t/**\r\n\t * Blockquote’s type\r\n\t */\r\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\r\n\t/**\r\n\t * Blockquote’s cite url\r\n\t */\r\n\t@Prop({attribute: 'cite'}) readonly cite: string\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\r\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\r\n\t\t\t\t<blockquote cite={this.cite}>\r\n\t\t\t\t\t<slot />\r\n\t\t\t\t</blockquote>\r\n\t\t\t\t<slot name=\"image\" />\r\n\t\t\t\t<slot name=\"author\" />\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,iBAAiB;CACvB,CAAA","sourcesContent":["export const BreadcrumbsClass = {\n\troot: 'gov-breadcrumbs',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,iBAAiB;CACvB,CAAA","sourcesContent":["export const BreadcrumbsClass = {\r\n\troot: 'gov-breadcrumbs',\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"gov-breadcrumbs.d.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/gov-breadcrumbs.d.tsx"],"names":[],"mappings":"","sourcesContent":["export interface GovBreadcrumbsChangeEvent {\n\topen: boolean\n\telement: HTMLGovBreadcrumbsElement\n}\n"]}
1
+ {"version":3,"file":"gov-breadcrumbs.d.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/gov-breadcrumbs.d.tsx"],"names":[],"mappings":"","sourcesContent":["export interface GovBreadcrumbsChangeEvent {\r\n\topen: boolean\r\n\telement: HTMLGovBreadcrumbsElement\r\n}\r\n"]}
@@ -47,7 +47,7 @@ export class GovBreadcrumbs {
47
47
  this.toggleOption = sumOfWidths > hostWidth;
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: 'dadd8de710050476be68e3f6fa0b317d6ccedfc1', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, h("nav", { key: '468a3b605408c943421243024733b0381809f931', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, h("slot", { key: '2c9f85b826c8c54340ab5abba51c1861282c9cb7' })), this.toggleOption ? (h("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, h("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down', type: "components" }))) : null));
50
+ return (h(Host, { key: '5a2d10c3705a0d19458ea76e65ab6e0449eb620d', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, h("nav", { key: '41b98c6ee95ea397f9802f5ac120d2674859cb4d', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, h("slot", { key: '10fed9d58caa49017c34665e4b711252854040b7' })), this.toggleOption ? (h("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, h("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down', type: "components" }))) : null));
51
51
  }
52
52
  /**
53
53
  * Validate the WCAG attributes of the component
@@ -1 +1 @@
1
- {"version":3,"file":"gov-breadcrumbs.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAK/C,MAAM,OAAO,cAAc;IAI1B;QAHQ,WAAM,GAAG,KAAK,CAAC;QAQvB;;WAEG;QACc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,EAAE,IAAI,CAAC,QAAQ;YAC1E,0EAAiB,IAAI,CAAC,eAAe,qBAAmB,IAAI,CAAC,oBAAoB;gBAChF,8DAAO,CACF;YACL,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CACpB,kBACC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,MAAM,gBACA,IAAI,CAAC,qBAAqB,kBACxB,IAAI,CAAC,QAAQ,mBACZ,IAAI,CAAC,QAAQ,kBACd,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ;gBAElD,gBAAU,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,EAAE,IAAI,EAAC,YAAY,GAAY,CAChF,CACb,CAAC,CAAC,CAAC,IAAI,CACF,CACP,CAAA;IACF,CAAC;IAGD;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,uBAAuB,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAC1G,uBAAuB,CAAC,IAAI,CAAC,qBAAqB,EAAE,SAAS,EAAE,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACjG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State} from '@stencil/core'\nimport {BreadcrumbsClass} from './constants'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {GovBreadcrumbsChangeEvent} from './gov-breadcrumbs.d'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-breadcrumbs',\n})\nexport class GovBreadcrumbs {\n\tprivate inited = false;\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\n\t/**\n\t * Defines whether the components can be collapsible when element doesn't fit in one row.\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the breadcrumbs are open or closed by button\n\t */\n\t@Prop({attribute: 'is-expanded'}) readonly isExpanded: boolean = false\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\t/**\n\t * Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.\n\t */\n\t@Prop({attribute: 'accessible-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit či skrýt navigaci'\n\t/**\n\t * Called when the Breadcrumbs state changes\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\n\n\t@State() expanded = false;\n\t@State() toggleOption = false;\n\n\tasync componentDidRender() {\n\t\tthis.scheduleContentVerification()\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\tprivate scheduleContentVerification() {\n\t\tif (this.inited) return;\n\t\tthis.inited = true;\n\t\ttick(() => {\n\t\t\tthis.calculateWidthOfItems();\n\t\t\tthis.inited = false;\n\t\t});\n\t}\n\n\tprivate calculateWidthOfItems() {\n\t\tconst hostWidth = this.host.getBoundingClientRect().width;\n\t\tlet sumOfWidths = 0;\n\t\tthis.host.querySelectorAll('li').forEach((li) => {\n\t\t\tsumOfWidths += li.getBoundingClientRect().width\n\t\t})\n\t\tthis.toggleOption = sumOfWidths > hostWidth;\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)} expanded={this.expanded}>\n\t\t\t\t<nav aria-label={this.accessibleLabel} aria-labelledby={this.accessibleLabelledBy}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</nav>\n\t\t\t\t{this.toggleOption ? (\n\t\t\t\t\t<gov-button\n\t\t\t\t\t\tsize={'xs'}\n\t\t\t\t\t\tcolor={'primary'}\n\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\taria-label={this.accessibleToggleLabel}\n\t\t\t\t\t\taria-pressed={this.expanded}\n\t\t\t\t\t\taria-expanded={this.expanded}\n\t\t\t\t\t\ton-gov-click={() => this.expanded = !this.expanded}\n\t\t\t\t\t>\n\t\t\t\t\t\t<gov-icon name={this.expanded ? 'chevron-up' : 'chevron-down'} type=\"components\"></gov-icon>\n\t\t\t\t\t</gov-button>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BreadcrumbsClass.root, this.host)\n\t\tvalidateAccessibleLabel(this.accessibleToggleLabel, undefined, BreadcrumbsClass.root, this.host)\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-breadcrumbs.js","sourceRoot":"","sources":["../../../../../../src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAC,uBAAu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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State} from '@stencil/core'\r\nimport {BreadcrumbsClass} from './constants'\r\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\r\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\r\nimport {GovBreadcrumbsChangeEvent} from './gov-breadcrumbs.d'\r\nimport {govHost} from '../../helpers/Dom/template'\r\nimport {GovHost} from '../../helpers/Dom/template.types'\r\nimport {tick} from \"../../utils/stencil.utils\";\r\n\r\n@Component({\r\n\ttag: 'gov-breadcrumbs',\r\n})\r\nexport class GovBreadcrumbs {\r\n\tprivate inited = false;\r\n\tprivate h: GovHost\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t}\r\n\r\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\r\n\t/**\r\n\t * Defines whether the components can be collapsible when element doesn't fit in one row.\r\n\t */\r\n\t@Prop() readonly collapsible: boolean = false\r\n\t/**\r\n\t * Defines whether the breadcrumbs are open or closed by button\r\n\t */\r\n\t@Prop({attribute: 'is-expanded'}) readonly isExpanded: boolean = false\r\n\t/**\r\n\t * Adds accessible label for the pagination that is only shown for screen readers.\r\n\t */\r\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\r\n\t/**\r\n\t * Indicates the id of a component that labels the pagination.\r\n\t */\r\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\r\n\t/**\r\n\t * Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.\r\n\t */\r\n\t@Prop({attribute: 'accessible-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit či skrýt navigaci'\r\n\t/**\r\n\t * Called when the Breadcrumbs state changes\r\n\t */\r\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\r\n\r\n\t@State() expanded = false;\r\n\t@State() toggleOption = false;\r\n\r\n\tasync componentDidRender() {\r\n\t\tthis.scheduleContentVerification()\r\n\t\tif (canValidateWcagOnRender()) {\r\n\t\t\ttick(() => this.validateAccessibility())\r\n\t\t}\r\n\t}\r\n\r\n\tprivate scheduleContentVerification() {\r\n\t\tif (this.inited) return;\r\n\t\tthis.inited = true;\r\n\t\ttick(() => {\r\n\t\t\tthis.calculateWidthOfItems();\r\n\t\t\tthis.inited = false;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate calculateWidthOfItems() {\r\n\t\tconst hostWidth = this.host.getBoundingClientRect().width;\r\n\t\tlet sumOfWidths = 0;\r\n\t\tthis.host.querySelectorAll('li').forEach((li) => {\r\n\t\t\tsumOfWidths += li.getBoundingClientRect().width\r\n\t\t})\r\n\t\tthis.toggleOption = sumOfWidths > hostWidth;\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)} expanded={this.expanded}>\r\n\t\t\t\t<nav aria-label={this.accessibleLabel} aria-labelledby={this.accessibleLabelledBy}>\r\n\t\t\t\t\t<slot/>\r\n\t\t\t\t</nav>\r\n\t\t\t\t{this.toggleOption ? (\r\n\t\t\t\t\t<gov-button\r\n\t\t\t\t\t\tsize={'xs'}\r\n\t\t\t\t\t\tcolor={'primary'}\r\n\t\t\t\t\t\ttype={'base'}\r\n\t\t\t\t\t\taria-label={this.accessibleToggleLabel}\r\n\t\t\t\t\t\taria-pressed={this.expanded}\r\n\t\t\t\t\t\taria-expanded={this.expanded}\r\n\t\t\t\t\t\ton-gov-click={() => this.expanded = !this.expanded}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<gov-icon name={this.expanded ? 'chevron-up' : 'chevron-down'} type=\"components\"></gov-icon>\r\n\t\t\t\t\t</gov-button>\r\n\t\t\t\t) : null}\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Validate the WCAG attributes of the component\r\n\t */\r\n\t@Method()\r\n\tasync validateAccessibility(): Promise<void> {\r\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BreadcrumbsClass.root, this.host)\r\n\t\tvalidateAccessibleLabel(this.accessibleToggleLabel, undefined, BreadcrumbsClass.root, this.host)\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAA;AAEvD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGxE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAA;AAG5G,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACrB,6BAAe,CAAA;IACf,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;AACd,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,gCAAgB,CAAA;IAChB,8BAAc,CAAA;IACd,4BAAY,CAAA;AACb,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAGD,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;CAClB,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Colors } from '../../../core/constants/colors'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\n\nexport const ButtonColors = pick(Colors, ['PRIMARY', 'SECONDARY', 'NEUTRAL', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ButtonColorType = `${ValueOf<typeof ButtonColors>}`\n\nexport enum ButtonType {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n\tBASE = 'base',\n\tLINK = 'link',\n}\nexport type ButtonTypesType = `${ValueOf<typeof ButtonType>}`\n\nexport enum NativeType {\n\tSUBMIT = 'submit',\n\tBUTTON = 'button',\n\tRESET = 'reset',\n}\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport enum ButtonTarget {\n\tBLANK = '_blank',\n\tSELF = '_self',\n\tNEW = '_new',\n}\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\n\nexport const ButtonClass = {\n\troot: 'gov-button',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAA;AAEvD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGxE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAA;AAG5G,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACrB,6BAAe,CAAA;IACf,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;AACd,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,gCAAgB,CAAA;IAChB,8BAAc,CAAA;IACd,4BAAY,CAAA;AACb,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAGD,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;CAClB,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\r\nimport { Colors } from '../../../core/constants/colors'\r\nimport { ValueOf } from '../../../types/interfaces'\r\nimport { pick } from '../../../utils/utils'\r\n\r\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\r\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\r\n\r\nexport const ButtonColors = pick(Colors, ['PRIMARY', 'SECONDARY', 'NEUTRAL', 'SUCCESS', 'ERROR', 'WARNING'])\r\nexport type ButtonColorType = `${ValueOf<typeof ButtonColors>}`\r\n\r\nexport enum ButtonType {\r\n\tSOLID = 'solid',\r\n\tOUTLINED = 'outlined',\r\n\tBASE = 'base',\r\n\tLINK = 'link',\r\n}\r\nexport type ButtonTypesType = `${ValueOf<typeof ButtonType>}`\r\n\r\nexport enum NativeType {\r\n\tSUBMIT = 'submit',\r\n\tBUTTON = 'button',\r\n\tRESET = 'reset',\r\n}\r\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\r\n\r\nexport enum ButtonTarget {\r\n\tBLANK = '_blank',\r\n\tSELF = '_self',\r\n\tNEW = '_new',\r\n}\r\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\r\n\r\nexport const ButtonClass = {\r\n\troot: 'gov-button',\r\n}\r\n"]}
@@ -44,7 +44,7 @@ export class GovButton {
44
44
  * Same as original parameter
45
45
  * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
46
46
  */
47
- this.tabindex = 0;
47
+ this.tab = 0;
48
48
  /**
49
49
  * Same as original parameter
50
50
  * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable
@@ -98,9 +98,9 @@ export class GovButton {
98
98
  render() {
99
99
  const Tag = this.href ? Tags.A : Tags.BUTTON;
100
100
  const nativeType = Tag === Tags.A ? undefined : this.nativeType;
101
- return (h(Host, { key: '121d16797366f30c7d5cd3af18171cb8b22bc789', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, h(Tag, Object.assign({ key: 'ad4a83ffacbb5360e81988e9e8d709611be7276e', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : this.tabindex }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("icon-end") &&
102
- h("gov-icon", { key: '449464e921e45abda79ccbb855a1ad94b244fd08', name: "loader", class: "gov-spin-animation", type: "components" }), this.h.hasSlot("icon-start") && h("slot", { key: 'fa432280096722ed9fc96de54b1ac4c4213f635f', name: "icon-start" }), h("slot", { key: '2b3121e1c8ad64cf84922bb328850c2e32cbf2a7' }), this.h.hasSlot("icon-end") && h("slot", { key: '406b3f6413eb0cd206fcb059dfdfcaae6571083f', name: "icon-end" }), toBool(this.loading) && this.h.hasSlot("icon-end") &&
103
- h("gov-icon", { key: '737635b06a56fb1ce7cc9d675f0588686b3867e4', name: "loader", class: "gov-spin-animation", type: "components" }))));
101
+ return (h(Host, { key: '0d010913c0331fcb11918152cb9bb2598923c5eb', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, h(Tag, Object.assign({ key: 'd413645e924857fb5451c8e03c986013d85ddc06', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : this.tab }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("icon-end") &&
102
+ h("gov-icon", { key: '13528203c29059fe167ca9b6f1f9134415517d47', name: "loader", class: "gov-spin-animation", type: "components" }), this.h.hasSlot("icon-start") && h("slot", { key: '304d82f1e7136a3f11ab44ce5e5b3166c2be2976', name: "icon-start" }), h("slot", { key: '6bc84a79e2acc72405c7b6831951d4984e5a6092' }), this.h.hasSlot("icon-end") && h("slot", { key: '044971729141feb76253c649de01db88e9459ccf', name: "icon-end" }), toBool(this.loading) && this.h.hasSlot("icon-end") &&
103
+ h("gov-icon", { key: 'b55541b4d8ec377ec0aa9c80596b212306a5c02a', name: "loader", class: "gov-spin-animation", type: "components" }))));
104
104
  }
105
105
  onClickHandler(e) {
106
106
  e.stopPropagation();
@@ -299,7 +299,7 @@ export class GovButton {
299
299
  "optional": false,
300
300
  "docs": {
301
301
  "tags": [],
302
- "text": "Makes the button component disabled.\nThis prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies"
302
+ "text": "Makes the button component disabled.\r\nThis prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies"
303
303
  },
304
304
  "getter": false,
305
305
  "setter": false,
@@ -325,7 +325,7 @@ export class GovButton {
325
325
  "optional": true,
326
326
  "docs": {
327
327
  "tags": [],
328
- "text": "Same as original parameter\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"
328
+ "text": "Same as original parameter\r\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"
329
329
  },
330
330
  "getter": false,
331
331
  "setter": false,
@@ -404,9 +404,9 @@ export class GovButton {
404
404
  "setter": false,
405
405
  "reflect": false
406
406
  },
407
- "tabindex": {
407
+ "tab": {
408
408
  "type": "number",
409
- "attribute": "tabindex",
409
+ "attribute": "tab",
410
410
  "mutable": false,
411
411
  "complexType": {
412
412
  "original": "number",
@@ -648,23 +648,23 @@ export class GovButton {
648
648
  },
649
649
  "getRef": {
650
650
  "complexType": {
651
- "signature": "() => Promise<HTMLButtonElement | HTMLLinkElement>",
651
+ "signature": "() => Promise<HTMLLinkElement | HTMLButtonElement>",
652
652
  "parameters": [],
653
653
  "references": {
654
654
  "Promise": {
655
655
  "location": "global",
656
656
  "id": "global::Promise"
657
657
  },
658
- "HTMLButtonElement": {
659
- "location": "global",
660
- "id": "global::HTMLButtonElement"
661
- },
662
658
  "HTMLLinkElement": {
663
659
  "location": "global",
664
660
  "id": "global::HTMLLinkElement"
661
+ },
662
+ "HTMLButtonElement": {
663
+ "location": "global",
664
+ "id": "global::HTMLButtonElement"
665
665
  }
666
666
  },
667
- "return": "Promise<HTMLButtonElement | HTMLLinkElement>"
667
+ "return": "Promise<HTMLLinkElement | HTMLButtonElement>"
668
668
  },
669
669
  "docs": {
670
670
  "text": "Returns a clickable element instance",
@@ -1 +1 @@
1
- {"version":3,"file":"gov-button.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/gov-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {\n\tButtonClass,\n\tButtonColors,\n\tButtonColorType,\n\tButtonSizesType,\n\tButtonTargetType,\n\tButtonType,\n\tButtonTypesType,\n\tNativeType,\n\tNativeTypesType,\n} from \"./constants\"\nimport {govHost, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {toBool} from \"../../../utils/bool.utils\"\nimport {Sizes} from \"../../../core/constants/sizes\"\nimport {validateAccessibleLabel} from \"../../../helpers/Validate/wcag\"\nimport {canValidateWcagOnRender} from \"../../../helpers/Dom/win\"\nimport {delay} from \"../../../utils/utils\"\nimport {ButtonEvent} from \"./gov-button.types\"\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\n\nenum Tags {\n\tA = \"a\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-button\",\n})\nexport class GovButton {\n\tprivate h: GovHost\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement\n\tprivate attributeObserver: AttributeObserver\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\n\t/**\n\t * Style variation of the button\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType\n\t/**\n\t * Button’s size\n\t */\n\t@Prop({reflect: true}) readonly size?: ButtonSizesType = \"m\"\n\t/**\n\t * Button's type\n\t */\n\t@Prop({reflect: true}) readonly type: ButtonTypesType\n\t/**\n\t * Expands the button to fill 100% of the container width\n\t */\n\t@Prop({reflect: true}) readonly expanded: boolean = false\n\t/**\n\t * Expands the button to fill 100% of the container width only on mobile\n\t */\n\t@Prop({reflect: true, attribute: \"expanded-mobile\"}) readonly expandedMobile: boolean = false\n\t/**\n\t * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Makes the button 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({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\n\t */\n\t@Prop() readonly nativeType?: NativeTypesType = \"button\"\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?: ButtonTargetType\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n\t */\n\t@Prop() readonly download: boolean\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n\t */\n\t@Prop() readonly tabindex: number = 0\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang\n\t */\n\t@Prop() readonly hreflang: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy\n\t */\n\t@Prop() readonly referrerpolicy: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel\n\t */\n\t@Prop() readonly rel: string\n\t/**\n\t * Indicates whether an asynchronous process is running\n\t */\n\t@Prop() readonly loading: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom button identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Emitted when the button click\n\t */\n\t@Event({eventName: \"gov-click\"}) govClick: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button has focus\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button loses focus\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<ButtonEvent>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(ButtonType, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"nativeType\")\n\tvalidateNativeType(newValue: string): void {\n\t\tvalidateProp(NativeType, newValue, ButtonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateType(this.type)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateNativeType(this.nativeType)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.BUTTON\n\t\tconst nativeType = Tag === Tags.A ? undefined : this.nativeType\n\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t hydrated={this.hydrated}\n\t\t\t\t color={this.color}\n\t\t\t\t class={this.h.classes(ButtonClass.root)}\n\t\t\t\t type={this.type}>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLButtonElement | HTMLLinkElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tdownload={this.download}\n\t\t\t\t\threflang={this.hreflang}\n\t\t\t\t\trel={this.rel}\n\t\t\t\t\tname={this.name}\n\t\t\t\t\ttype={nativeType}\n\t\t\t\t\ttabindex={this.disabled ? \"-1\" : this.tabindex}\n\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t>\n\t\t\t\t\t{toBool(this.loading) && !this.h.hasSlot(\"icon-end\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\" type=\"components\"></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot(\"icon-start\") && <slot name=\"icon-start\"></slot>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && <slot name=\"icon-end\"></slot>}\n\t\t\t\t\t{toBool(this.loading) && this.h.hasSlot(\"icon-end\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\" type=\"components\"></gov-icon>}\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) {\n\t\t\tthis.govClick.emit({\n\t\t\t\tcomponent: ButtonClass.root,\n\t\t\t\toriginalEvent: e,\n\t\t\t\tref: this.host,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getRef() {\n\t\treturn this.triggerRef\n\t}\n\n\t/**\n\t * Validate the Accessibility attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tif (this.focusable) {\n\t\t\tvalidateAccessibleLabel(this.triggerRef.getAttribute('aria-label'), this.triggerRef.getAttribute('aria-labelledby'), ButtonClass.root, this.host)\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-button.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/gov-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC1G,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EACN,WAAW,EACX,YAAY,EAIZ,UAAU,EAEV,UAAU,GAEV,MAAM,aAAa,CAAA;AACpB,OAAO,EAAC,OAAO,EAAE,mBAAmB,EAAC,MAAM,+BAA+B,CAAA;AAE1E,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAA;AAChD,OAAO,EAAC,KAAK,EAAC,MAAM,+BAA+B,CAAA;AACnD,OAAO,EAAC,uBAAuB,EAAC,MAAM,gCAAgC,CAAA;AACtE,OAAO,EAAC,uBAAuB,EAAC,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAA;AAE1C,OAAO,EAAC,qBAAqB,EAAC,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAC,cAAc,EAAC,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAC,iBAAiB,EAAa,MAAM,gCAAgC,CAAC;AAE7E,IAAK,IAGJ;AAHD,WAAK,IAAI;IACR,eAAO,CAAA;IACP,yBAAiB,CAA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AC,UAAU,CAAC,KAAK,EAAE,CAAA;IACxB,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,MAAM;QACX,OAAO,IAAI,CAAC,UAAU,CAAA;IACvB,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,uBAAuB,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAClJ,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\r\nimport {validateProp} from \"../../../helpers/Validate/props\"\r\nimport {\r\n\tButtonClass,\r\n\tButtonColors,\r\n\tButtonColorType,\r\n\tButtonSizesType,\r\n\tButtonTargetType,\r\n\tButtonType,\r\n\tButtonTypesType,\r\n\tNativeType,\r\n\tNativeTypesType,\r\n} from \"./constants\"\r\nimport {govHost, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\r\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\r\nimport {toBool} from \"../../../utils/bool.utils\"\r\nimport {Sizes} from \"../../../core/constants/sizes\"\r\nimport {validateAccessibleLabel} from \"../../../helpers/Validate/wcag\"\r\nimport {canValidateWcagOnRender} from \"../../../helpers/Dom/win\"\r\nimport {delay} from \"../../../utils/utils\"\r\nimport {ButtonEvent} from \"./gov-button.types\"\r\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\r\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\r\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\r\n\r\nenum Tags {\r\n\tA = \"a\",\r\n\tBUTTON = \"button\",\r\n}\r\n\r\n@Component({\r\n\ttag: \"gov-button\",\r\n})\r\nexport class GovButton {\r\n\tprivate h: GovHost\r\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement\r\n\tprivate attributeObserver: AttributeObserver\r\n\tprivate hydrated = false\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t}\r\n\r\n\t@Element() host: HTMLGovButtonElement\r\n\r\n\t/**\r\n\t * Style variation of the button\r\n\t */\r\n\t@Prop({reflect: true}) readonly color: ButtonColorType\r\n\t/**\r\n\t * Button’s size\r\n\t */\r\n\t@Prop({reflect: true}) readonly size?: ButtonSizesType = \"m\"\r\n\t/**\r\n\t * Button's type\r\n\t */\r\n\t@Prop({reflect: true}) readonly type: ButtonTypesType\r\n\t/**\r\n\t * Expands the button to fill 100% of the container width\r\n\t */\r\n\t@Prop({reflect: true}) readonly expanded: boolean = false\r\n\t/**\r\n\t * Expands the button to fill 100% of the container width only on mobile\r\n\t */\r\n\t@Prop({reflect: true, attribute: \"expanded-mobile\"}) readonly expandedMobile: boolean = false\r\n\t/**\r\n\t * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute\r\n\t */\r\n\t@Prop() readonly name: string\r\n\t/**\r\n\t * Makes the button component disabled.\r\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies\r\n\t */\r\n\t@Prop({reflect: true}) readonly disabled: boolean = false\r\n\t/**\r\n\t * Same as original parameter\r\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\r\n\t */\r\n\t@Prop() readonly nativeType?: NativeTypesType = \"button\"\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\r\n\t */\r\n\t@Prop() readonly href: string\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\r\n\t */\r\n\t@Prop() readonly target?: ButtonTargetType\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\r\n\t */\r\n\t@Prop() readonly download: boolean\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\r\n\t */\r\n\t@Prop() readonly tab: number = 0\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang\r\n\t */\r\n\t@Prop() readonly hreflang: string\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy\r\n\t */\r\n\t@Prop() readonly referrerpolicy: string\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel\r\n\t */\r\n\t@Prop() readonly rel: string\r\n\t/**\r\n\t * Indicates whether an asynchronous process is running\r\n\t */\r\n\t@Prop() readonly loading: string\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\r\n\t */\r\n\t@Prop() readonly focusable: boolean = true\r\n\t/**\r\n\t * Custom button identifier\r\n\t */\r\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\r\n\t/**\r\n\t * Emitted when the button click\r\n\t */\r\n\t@Event({eventName: \"gov-click\"}) govClick: EventEmitter<ButtonEvent>\r\n\t/**\r\n\t * Emitted when the button has focus\r\n\t */\r\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<ButtonEvent>\r\n\t/**\r\n\t * Emitted when the button loses focus\r\n\t */\r\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<ButtonEvent>\r\n\r\n\t@Watch(\"color\")\r\n\tvalidateColor(newValue: string): void {\r\n\t\tvalidateProp(ButtonColors, newValue, ButtonClass.root)\r\n\t}\r\n\r\n\t@Watch(\"type\")\r\n\tvalidateType(newValue: string): void {\r\n\t\tvalidateProp(ButtonType, newValue, ButtonClass.root)\r\n\t}\r\n\r\n\t@Watch(\"size\")\r\n\tvalidateSize(newValue: string): void {\r\n\t\tvalidateProp(Sizes, newValue, ButtonClass.root)\r\n\t}\r\n\r\n\t@Watch(\"nativeType\")\r\n\tvalidateNativeType(newValue: string): void {\r\n\t\tvalidateProp(NativeType, newValue, ButtonClass.root)\r\n\t}\r\n\r\n\t@State() inheritedAttributes: Attributes = {}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\r\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\r\n\t\t});\r\n\r\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\r\n\t}\r\n\r\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\r\n\t\tthis.host.removeAttribute(attributeName)\r\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\r\n\t}\r\n\r\n\tdisconnectedCallback() {\r\n\t\tthis.attributeObserver?.stopObserving();\r\n\t}\r\n\r\n\tcomponentWillLoad(): void {\r\n\t\tthis.validateColor(this.color)\r\n\t\tthis.validateType(this.type)\r\n\t\tthis.validateSize(this.size)\r\n\t\tthis.validateNativeType(this.nativeType)\r\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\r\n\t}\r\n\r\n\tasync componentDidRender() {\r\n\t\tif (canValidateWcagOnRender()) {\r\n\t\t\tawait delay(500)\r\n\t\t\tawait this.validateAccessibility()\r\n\t\t}\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tthis.hydrated = true\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst Tag = this.href ? Tags.A : Tags.BUTTON\r\n\t\tconst nativeType = Tag === Tags.A ? undefined : this.nativeType\r\n\r\n\t\treturn (\r\n\t\t\t<Host size={this.size}\r\n\t\t\t\t hydrated={this.hydrated}\r\n\t\t\t\t color={this.color}\r\n\t\t\t\t class={this.h.classes(ButtonClass.root)}\r\n\t\t\t\t type={this.type}>\r\n\t\t\t\t<Tag\r\n\t\t\t\t\tclass=\"element\"\r\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLButtonElement | HTMLLinkElement)}\r\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\r\n\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\r\n\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\r\n\t\t\t\t\tdisabled={this.disabled}\r\n\t\t\t\t\tid={this.identifier}\r\n\t\t\t\t\thref={this.href}\r\n\t\t\t\t\ttarget={this.target}\r\n\t\t\t\t\tdownload={this.download}\r\n\t\t\t\t\threflang={this.hreflang}\r\n\t\t\t\t\trel={this.rel}\r\n\t\t\t\t\tname={this.name}\r\n\t\t\t\t\ttype={nativeType}\r\n\t\t\t\t\ttabindex={this.disabled ? \"-1\" : this.tab}\r\n\t\t\t\t\t{...this.inheritedAttributes}\r\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\r\n\t\t\t\t>\r\n\t\t\t\t\t{toBool(this.loading) && !this.h.hasSlot(\"icon-end\") &&\r\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\" type=\"components\"></gov-icon>}\r\n\t\t\t\t\t{this.h.hasSlot(\"icon-start\") && <slot name=\"icon-start\"></slot>}\r\n\t\t\t\t\t<slot/>\r\n\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && <slot name=\"icon-end\"></slot>}\r\n\t\t\t\t\t{toBool(this.loading) && this.h.hasSlot(\"icon-end\") &&\r\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\" type=\"components\"></gov-icon>}\r\n\t\t\t\t</Tag>\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\tprivate onClickHandler(e: PointerEvent): void {\r\n\t\te.stopPropagation()\r\n\t\tif (this.disabled === false) {\r\n\t\t\tthis.govClick.emit({\r\n\t\t\t\tcomponent: ButtonClass.root,\r\n\t\t\t\toriginalEvent: e,\r\n\t\t\t\tref: this.host,\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\tprivate onFocusHandler(e: FocusEvent) {\r\n\t\te.stopPropagation()\r\n\t\tthis.govFocus.emit({\r\n\t\t\tcomponent: ButtonClass.root,\r\n\t\t\toriginalEvent: e,\r\n\t\t\tref: this.host,\r\n\t\t})\r\n\t}\r\n\r\n\tprivate onBlurHandler(e: FocusEvent) {\r\n\t\te.stopPropagation()\r\n\t\tthis.govBlur.emit({\r\n\t\t\tcomponent: ButtonClass.root,\r\n\t\t\toriginalEvent: e,\r\n\t\t\tref: this.host,\r\n\t\t})\r\n\t}\r\n\r\n\t/**\r\n\t * Focus button element\r\n\t */\r\n\t@Method()\r\n\tasync setFocus(): Promise<void> {\r\n\t\tthis.triggerRef.focus()\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a clickable element instance\r\n\t */\r\n\t@Method()\r\n\tasync getRef() {\r\n\t\treturn this.triggerRef\r\n\t}\r\n\r\n\t/**\r\n\t * Validate the Accessibility attributes of the component\r\n\t */\r\n\t@Method()\r\n\tasync validateAccessibility(): Promise<void> {\r\n\t\tif (this.focusable) {\r\n\t\t\tvalidateAccessibleLabel(this.triggerRef.getAttribute('aria-label'), this.triggerRef.getAttribute('aria-labelledby'), ButtonClass.root, this.host)\r\n\t\t}\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"gov-button.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/gov-button.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\n\nexport interface ButtonEvent extends GovBaseEvent {\n\tref: HTMLGovButtonElement\n}\n\n"]}
1
+ {"version":3,"file":"gov-button.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/button/gov-button.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\r\n\r\nexport interface ButtonEvent extends GovBaseEvent {\r\n\tref: HTMLGovButtonElement\r\n}\r\n\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IACnB,yBAAa,CAAA;IACb,2BAAe,CAAA;AAChB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAID,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,oBAAoB;CAC1B,CAAA","sourcesContent":["import { ValueOf } from \"../../../types/interfaces\"\n\nexport enum Position {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n}\n\nexport type PositionType = `${ValueOf<typeof Position>}`\n\nexport const DropdownClass = {\n\troot: 'gov-dropdown',\n\tlist: 'gov-dropdown__list'\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IACnB,yBAAa,CAAA;IACb,2BAAe,CAAA;AAChB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAID,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,oBAAoB;CAC1B,CAAA","sourcesContent":["import { ValueOf } from \"../../../types/interfaces\"\r\n\r\nexport enum Position {\r\n\tLEFT = 'left',\r\n\tRIGHT = 'right',\r\n}\r\n\r\nexport type PositionType = `${ValueOf<typeof Position>}`\r\n\r\nexport const DropdownClass = {\r\n\troot: 'gov-dropdown',\r\n\tlist: 'gov-dropdown__list'\r\n}\r\n"]}
@@ -48,7 +48,7 @@ export class GovDropdown {
48
48
  });
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: 'ed9beb8952cacb4b76fc73ab31345bbe8c5d206d', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, h("slot", { key: '49d4da21a53be27e687622d17e21474c7cedb26d' }), h("div", { key: '941b05aab703a6bfd981d912763f4576899fd617', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, h("slot", { key: 'cd0c1f28b7d717efd0fe8faa964df78dfbeca49f', name: "list" }))));
51
+ return (h(Host, { key: '24e596043840ec3b4e2ae0c59cecd1ec5425f5b5', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, h("slot", { key: '5c9c344162c6842585b134b327e9d45e4c1df19e' }), h("div", { key: 'b424408e77eaebc2eedfe5ac1c7a916808af21f7', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, h("slot", { key: 'b39d21fd27642fd5e7ece4b9d68de2e8468b93ae', name: "list" }))));
52
52
  }
53
53
  /**
54
54
  * Returns the current state of the dropdown
@@ -1 +1 @@
1
- {"version":3,"file":"gov-dropdown.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/gov-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,+BAA+B,CAAA;AAGjE,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAe,MAAM,aAAa,CAAA;AAMjE,MAAM,OAAO,WAAW;IAKvB;QAYA;;WAEG;QACoB,SAAI,GAAG,KAAK,CAAA;QACnC;;WAEG;QACc,aAAQ,GAAiB,QAAQ,CAAC,IAAI,CAAA;QAlBtD,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAA;QACzC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAA;KAC/C;IAsBD,SAAS;;QACR,MAAA,IAAI,CAAC,OAAO,0CAAE,YAAY,CAAC,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACnE,CAAC;IAED,IAAI,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,WAAW,CAAC,IAAI,EAAE,CAAyB,CAAA;IAClF,CAAC;IAED,IAAI,IAAI;QACP,OAAO,IAAI,CAAC,CA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AE,EAAE,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,EAClE,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,EAAE,EAAE,IAAI,CAAC,MAAM,qBACE,IAAI,CAAC,SAAS,iBAClB,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI;gBAClB,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACpB,CACA,CACP,CAAA;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,QAAQ;QACb,OAAO,IAAI,CAAC,IAAI,CAAA;IACjB,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,MAAM;QACX,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;IACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from \"@stencil/core\"\nimport {registerClickOutside} from \"stencil-click-outside\"\nimport {govHost, toBoolAttr} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {ButtonClass} from \"../button/constants\"\nimport {DropdownClass, Position, PositionType} from \"./constants\"\nimport {DropdownEvent} from \"./gov-dropdown.types\"\n\n@Component({\n\ttag: \"gov-dropdown\",\n})\nexport class GovDropdown {\n\tprivate h: GovHost\n\tprivate readonly listId: string\n\tprivate readonly controlId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.listId = createID(\"GovDropdownList\")\n\t\tthis.controlId = createID(\"GovDropdownControl\")\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\n\t/**\n\t * Custom trigger identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Dropdown state\n\t */\n\t@Prop({mutable: true}) open = false\n\t/**\n\t * Menu display position\n\t */\n\t@Prop() readonly position: PositionType = Position.LEFT\n\t/**\n\t * Emitted when the dropdown change state\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<DropdownEvent>\n\n\t@Watch('open')\n\twatchOpen() {\n\t\tthis.trigger?.setAttribute(\"aria-expanded\", toBoolAttr(this.open))\n\t}\n\n\tget trigger() {\n\t\treturn this.host.querySelector(`* > ${ButtonClass.root}`) as HTMLGovButtonElement\n\t}\n\n\tget list() {\n\t\treturn this.h.getSlot(\"list\") as Nullable<HTMLUListElement>\n\t}\n\n\tcomponentWillLoad() {\n\t\tif (!this.trigger) return;\n\n\t\tthis.trigger.setAttribute(\"aria-controls\", this.listId)\n\t\tthis.trigger.setAttribute(\"aria-haspopup\", toBoolAttr(!!this.list))\n\t\tthis.trigger.setAttribute(\"aria-expanded\", toBoolAttr(this.open))\n\t\tthis.trigger.setAttribute(\"identifier\", this.identifier ?? this.controlId)\n\n\t\tthis.trigger.addEventListener(\"gov-click\", (e) => {\n\t\t\te.preventDefault()\n\t\t\te.stopPropagation()\n\t\t\tthis.open = !this.open\n\n\t\t\tthis.govChange.emit({\n\t\t\t\tcomponent: DropdownClass.root,\n\t\t\t\toriginalEvent: e,\n\t\t\t\topen: this.open,\n\t\t\t})\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes([DropdownClass.root])} open={this.open} position={this.position}>\n\t\t\t\t<slot></slot>\n\t\t\t\t<div\n\t\t\t\t\tref={el => registerClickOutside(this, el, () => this.open = false)}\n\t\t\t\t\tclass={DropdownClass.list}\n\t\t\t\t\tid={this.listId}\n\t\t\t\t\taria-labelledby={this.controlId}\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\thidden={!this.open}>\n\t\t\t\t\t<slot name=\"list\"></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns the current state of the dropdown\n\t */\n\t@Method()\n\tasync getState() {\n\t\treturn this.open\n\t}\n\n\t/**\n\t * Toggle state of dropdown\n\t */\n\t@Method()\n\tasync toggle() {\n\t\tthis.open = !this.open\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-dropdown.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/gov-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,+BAA+B,CAAA;AAGjE,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAe,MAAM,aAAa,CAAA;AAMjE,MAAM,OAAO,WAAW;IAKvB;QAYA;;WAEG;QACoB,SAAI,GAAG,KAAK,CAAA;QACnC;;WAEG;QACc,aAAQ,GAAiB,QAAQ,CAAC,IAAI,CAAA;QAlBtD,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAA;QACzC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAA;KAC/C;IAsBD,SAAS;;QACR,MAAA,IAAI,CAAC,OAAO,0CAAE,YAAY,CAAC,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA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AI,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAC1F,8DAAa;YACb,4DACC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,EAClE,KAAK,EAAE,aAAa,CAAC,IAAI,EACzB,EAAE,EAAE,IAAI,CAAC,MAAM,qBACE,IAAI,CAAC,SAAS,iBAClB,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI;gBAClB,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACpB,CACA,CACP,CAAA;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,QAAQ;QACb,OAAO,IAAI,CAAC,IAAI,CAAA;IACjB,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,MAAM;QACX,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;IACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from \"@stencil/core\"\r\nimport {registerClickOutside} from \"stencil-click-outside\"\r\nimport {govHost, toBoolAttr} from \"../../../helpers/Dom/template\"\r\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\r\nimport {Nullable} from \"../../../types/interfaces\"\r\nimport {createID} from \"../../../utils/string.utils\"\r\nimport {ButtonClass} from \"../button/constants\"\r\nimport {DropdownClass, Position, PositionType} from \"./constants\"\r\nimport {DropdownEvent} from \"./gov-dropdown.types\"\r\n\r\n@Component({\r\n\ttag: \"gov-dropdown\",\r\n})\r\nexport class GovDropdown {\r\n\tprivate h: GovHost\r\n\tprivate readonly listId: string\r\n\tprivate readonly controlId: string\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t\tthis.listId = createID(\"GovDropdownList\")\r\n\t\tthis.controlId = createID(\"GovDropdownControl\")\r\n\t}\r\n\r\n\t@Element() host: HTMLGovButtonElement\r\n\r\n\t/**\r\n\t * Custom trigger identifier\r\n\t */\r\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\r\n\t/**\r\n\t * Dropdown state\r\n\t */\r\n\t@Prop({mutable: true}) open = false\r\n\t/**\r\n\t * Menu display position\r\n\t */\r\n\t@Prop() readonly position: PositionType = Position.LEFT\r\n\t/**\r\n\t * Emitted when the dropdown change state\r\n\t */\r\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<DropdownEvent>\r\n\r\n\t@Watch('open')\r\n\twatchOpen() {\r\n\t\tthis.trigger?.setAttribute(\"aria-expanded\", toBoolAttr(this.open))\r\n\t}\r\n\r\n\tget trigger() {\r\n\t\treturn this.host.querySelector(`* > ${ButtonClass.root}`) as HTMLGovButtonElement\r\n\t}\r\n\r\n\tget list() {\r\n\t\treturn this.h.getSlot(\"list\") as Nullable<HTMLUListElement>\r\n\t}\r\n\r\n\tcomponentWillLoad() {\r\n\t\tif (!this.trigger) return;\r\n\r\n\t\tthis.trigger.setAttribute(\"aria-controls\", this.listId)\r\n\t\tthis.trigger.setAttribute(\"aria-haspopup\", toBoolAttr(!!this.list))\r\n\t\tthis.trigger.setAttribute(\"aria-expanded\", toBoolAttr(this.open))\r\n\t\tthis.trigger.setAttribute(\"identifier\", this.identifier ?? this.controlId)\r\n\r\n\t\tthis.trigger.addEventListener(\"gov-click\", (e) => {\r\n\t\t\te.preventDefault()\r\n\t\t\te.stopPropagation()\r\n\t\t\tthis.open = !this.open\r\n\r\n\t\t\tthis.govChange.emit({\r\n\t\t\t\tcomponent: DropdownClass.root,\r\n\t\t\t\toriginalEvent: e,\r\n\t\t\t\topen: this.open,\r\n\t\t\t})\r\n\t\t})\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes([DropdownClass.root])} open={this.open} position={this.position}>\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<div\r\n\t\t\t\t\tref={el => registerClickOutside(this, el, () => this.open = false)}\r\n\t\t\t\t\tclass={DropdownClass.list}\r\n\t\t\t\t\tid={this.listId}\r\n\t\t\t\t\taria-labelledby={this.controlId}\r\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\r\n\t\t\t\t\thidden={!this.open}>\r\n\t\t\t\t\t<slot name=\"list\"></slot>\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the current state of the dropdown\r\n\t */\r\n\t@Method()\r\n\tasync getState() {\r\n\t\treturn this.open\r\n\t}\r\n\r\n\t/**\r\n\t * Toggle state of dropdown\r\n\t */\r\n\t@Method()\r\n\tasync toggle() {\r\n\t\tthis.open = !this.open\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"gov-dropdown.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/gov-dropdown.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\n\nexport interface DropdownEvent extends GovBaseEvent {\n\topen: boolean\n}\n"]}
1
+ {"version":3,"file":"gov-dropdown.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-button/dropdown/gov-dropdown.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\r\n\r\nexport interface DropdownEvent extends GovBaseEvent {\r\n\topen: boolean\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;AACtB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAGD,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;IACxB,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,mBAAmB;IAC5B,MAAM,EAAE,kBAAkB;CAC1B,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum CardDirection {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type CardDirectionType = `${ValueOf<typeof CardDirection>}`\n\nexport const CardClass = {\n\troot: 'gov-card',\n\theader: 'gov-card__header',\n\tarrow: 'gov-card__arrow',\n\tinner: 'gov-card__inner',\n\timg: 'gov-card__img',\n\ticon: 'gov-card__icon',\n\tcontent: 'gov-card__content',\n\tfooter: 'gov-card__footer',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;AACtB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAGD,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;IACxB,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,mBAAmB;IAC5B,MAAM,EAAE,kBAAkB;CAC1B,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\r\n\r\nexport enum CardDirection {\r\n\tHORIZONTAL = 'horizontal',\r\n\tVERTICAL = 'vertical',\r\n}\r\nexport type CardDirectionType = `${ValueOf<typeof CardDirection>}`\r\n\r\nexport const CardClass = {\r\n\troot: 'gov-card',\r\n\theader: 'gov-card__header',\r\n\tarrow: 'gov-card__arrow',\r\n\tinner: 'gov-card__inner',\r\n\timg: 'gov-card__img',\r\n\ticon: 'gov-card__icon',\r\n\tcontent: 'gov-card__content',\r\n\tfooter: 'gov-card__footer',\r\n}\r\n"]}
@@ -44,7 +44,7 @@ export class GovCard {
44
44
  }
45
45
  render() {
46
46
  const Tag = this.href ? Tags.A : Tags.DIV;
47
- return (h(Host, { key: 'f82c40e7efa575ba9d64bd8caa0209403ffc20fb', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), clickable: this.clickable, direction: this.direction, hydrated: this.hydrated }, this.collapsible ? (h("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, h("slot", { name: "headline" }), h("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (h("div", { class: CardClass.header }, h("slot", { name: "headline" }))) : null, h(Tag, { key: '2df6c292a0cfc9804826bb607dc27936f7ab00f8', href: this.href, target: this.target, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined, class: CardClass.inner }, this.h.hasSlot('img') && (h("div", { key: '0c237bd7dd87b4f3a5842615e47666cbe2118d02', class: CardClass.img }, h("slot", { key: 'b4e7582ca06d9dec6b6b55b51d50cb14671268cd', name: "img" }))), this.h.hasSlot('icon') && (h("div", { key: 'eb0c31816aea23cfcc25335a8b2493f21da0cd3b', class: CardClass.icon }, h("slot", { key: '2dead413f83bd5ca42d277b8696d44e566b83f26', name: "icon" }))), h("div", { key: '52461c6aaf6344c2d4486fbf381bd49a570a1b02', class: CardClass.content }, h("slot", { key: '7e629cf403a3de59bd9740ffbd11686de793074b' })), this.h.hasSlot('footer') && (h("div", { key: '61dac1a4fc6e08c7bc8a3783987f001e8abb1c51', class: CardClass.footer }, h("slot", { key: 'cacb424a31b54a7eb463ec993c606aa85e0af2a0', name: "footer" }))))));
47
+ return (h(Host, { key: 'cdfd3d0c4298a3bf933073c558dad83f3765b6c2', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), clickable: this.clickable, direction: this.direction, hydrated: this.hydrated }, this.collapsible ? (h("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, h("slot", { name: "headline" }), h("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (h("div", { class: CardClass.header }, h("slot", { name: "headline" }))) : null, h(Tag, { key: '6bb81b9dd553397f508a8042316fd09579154461', href: this.href, target: this.target, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined, class: CardClass.inner }, this.h.hasSlot('img') && (h("div", { key: '740547f9bc6e9be839cbf8edc44faddb6aaa5246', class: CardClass.img }, h("slot", { key: 'abb25299c0f9b0b4ac1a4826648dd7a774894514', name: "img" }))), this.h.hasSlot('icon') && (h("div", { key: 'c768f9fd3f3ac79f907dd26601c109265d6d903d', class: CardClass.icon }, h("slot", { key: '8cf8ffde300503c874e32644d6c4111e6b608e36', name: "icon" }))), h("div", { key: '1e3218226ffc179f0afb0da94c48a939b248c311', class: CardClass.content }, h("slot", { key: '2a0ac8f1ecd6a83537bfb2da85d06c9d9b3f2706' })), this.h.hasSlot('footer') && (h("div", { key: '04b7f39f60eab3db295b82072d1b06648d687b0b', class: CardClass.footer }, h("slot", { key: '4ec8ee6bf3b4ec9a02b30d5d2dc6b2fab6bb5065', name: "footer" }))))));
48
48
  }
49
49
  onClickHandler(e) {
50
50
  e.stopPropagation();
@@ -1 +1 @@
1
- {"version":3,"file":"gov-card.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/gov-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC5F,OAAO,EAAC,SAAS,EAAoB,MAAM,aAAa,CAAA;AACxD,OAAO,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAA;AAIvC,IAAK,IAGJ;AAHD,WAAK,IAAI;IACR,eAAO,CAAA;IACP,mBAAW,CAAA;AACZ,CAAC,EAHI,IAAI,KAAJ,IAAI,QAGR;AAKD,MAAM,OAAO,OAAO;IAMnB;QAFQ,aAAQ,GAAG,KAAK,CAAA;QAUxB;;WAEG;QACc,cAAS,GAAsB,UAAU,CAAA;QAC1D;;WAEG;QACc,gBAAW,GAAY,KAAK,CAAA;QAC7C;;WAEG;QACc,cAAS,GAAY,KAAK,CAAA;QAC3C;;WAEG;QACmC,SAAI,GAAG,IAAI,CAAA;QAtBhD,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAA;QAC7C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAA;KAC3C;IA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C;YACtB,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAC,CAAC,CAAA;QAC3D,CAAC;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,uBAAuB,CAAC,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,2BAA2B,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAClH,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\nimport {CardClass, CardDirectionType} from './constants'\nimport {booleanString, govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {createID} from '../../utils/string.utils'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {delay} from '../../utils/utils'\nimport {GovCardChangeEvent} from './interfaces'\nimport {ButtonTargetType} from \"../gov-button/button/constants\";\n\nenum Tags {\n\tA = \"a\",\n\tDIV = \"div\",\n}\n\n@Component({\n\ttag: 'gov-card',\n})\nexport class GovCard {\n\tprivate h: GovHost\n\tprivate readonly headlineId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.headlineId = createID('GovCardHeadline')\n\t\tthis.contentId = createID('GovCardContent')\n\t}\n\n\t@Element() host: HTMLGovCardElement\n\n\t/**\n\t * Card direction\n\t */\n\t@Prop() readonly direction: CardDirectionType = \"vertical\"\n\t/**\n\t * Defines weather the card can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines weather the card can be clickable with hover effect\n\t */\n\t@Prop() readonly clickable: boolean = false\n\t/**\n\t * Defines whether the card is open or closed\n\t */\n\t@Prop({reflect: true, mutable: true}) open = true\n\t/**\n\t * Link on whole card\n\t */\n\t@Prop({reflect: true}) 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?: ButtonTargetType\n\t/**\n\t * Adds accessible label for the collapsible button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) accessibleTriggerLabel: string\n\t/**\n\t * A string of identifiers that indicate alternative label elements for collapsible card\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) accessibleTriggerLabelledBy: string\n\t/**\n\t * Called when the card toggle state changes\n\t */\n\t@Event({eventName: 'gov-toggle'}) govToggle: EventEmitter<GovCardChangeEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.DIV\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(CardClass.root)} open={this.open}\n\t\t\t\t collapsible={booleanString(this.collapsible)}\n\t\t\t\t clickable={this.clickable}\n\t\t\t\t direction={this.direction} hydrated={this.hydrated}>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<button\n\t\t\t\t\t\tid={this.headlineId}\n\t\t\t\t\t\tclass={CardClass.header}\n\t\t\t\t\t\taria-label={this.accessibleTriggerLabel}\n\t\t\t\t\t\taria-labelledby={this.accessibleTriggerLabelledBy}\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t\t<gov-icon class={CardClass.arrow} name=\"chevron-down\" type=\"components\"></gov-icon>\n\t\t\t\t\t</button>\n\t\t\t\t) : this.h.hasSlot(\"headline\") ? (\n\t\t\t\t\t<div class={CardClass.header}>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t<Tag href={this.href}\n\t\t\t\t\t target={this.target}\n\t\t\t\t\t id={this.contentId}\n\t\t\t\t\t aria-hidden={this.collapsible ? booleanString(!this.open) : undefined}\n\t\t\t\t\t hidden={this.collapsible ? !this.open : undefined}\n\t\t\t\t\t aria-labelledby={this.collapsible ? this.headlineId : undefined}\n\t\t\t\t\t class={CardClass.inner}>\n\n\t\t\t\t\t{this.h.hasSlot('img') && (\n\t\t\t\t\t\t<div class={CardClass.img}>\n\t\t\t\t\t\t\t<slot name=\"img\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={CardClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div class={CardClass.content}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t<div class={CardClass.footer}>\n\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e) {\n\t\te.stopPropagation()\n\t\tif (this.collapsible) {\n\t\t\tthis.open = !this.open\n\t\t\tthis.govToggle.emit({open: this.open, element: this.host})\n\t\t}\n\t}\n\n\t/**\n\t * Validate the accessible attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tvalidateAccessibleLabel(this.accessibleTriggerLabel, this.accessibleTriggerLabelledBy, CardClass.root, this.host)\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-card.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/gov-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC5F,OAAO,EAAC,SAAS,EAAoB,MAAM,aAAa,CAAA;AACxD,OAAO,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAA;AAIvC,IAAK,IAGJ;AAHD,WAAK,IAAI;IACR,eAAO,CAAA;IACP,mBAAW,CAAA;AACZ,CAAC,EAHI,IAAI,KAAJ,IAAI,QAGR;AAKD,MAAM,OAAO,OAAO;IAMnB;QAFQ,aAAQ,GAAG,KAAK,CAAA;QAUxB;;WAEG;QACc,cAAS,GAAsB,UAAU,CAAA;QAC1D;;WAEG;QACc,gBAAW,GAAY,KAAK,CAAA;QAC7C;;WAEG;QACc,cAAS,GAAY,KAAK,CAAA;QAC3C;;WAEG;QACmC,SAAI,GAAG,IAAI,CAAA;QAtBhD,IAAI,CAAC,CAA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,MAAM;oBAC3B,6DAAM,IAAI,EAAC,QAAQ,GAAE,CAChB,CACN,CACI,CACA,CACP,CAAA;IACF,CAAC;IAEO,cAAc,CAAC,CAAC;QACvB,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAC,CAAC,CAAA;QAC3D,CAAC;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,uBAAuB,CAAC,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,2BAA2B,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAClH,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop} from '@stencil/core'\r\nimport {CardClass, CardDirectionType} from './constants'\r\nimport {booleanString, govHost} from '../../helpers/Dom/template'\r\nimport {GovHost} from '../../helpers/Dom/template.types'\r\nimport {createID} from '../../utils/string.utils'\r\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\r\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\r\nimport {delay} from '../../utils/utils'\r\nimport {GovCardChangeEvent} from './interfaces'\r\nimport {ButtonTargetType} from \"../gov-button/button/constants\";\r\n\r\nenum Tags {\r\n\tA = \"a\",\r\n\tDIV = \"div\",\r\n}\r\n\r\n@Component({\r\n\ttag: 'gov-card',\r\n})\r\nexport class GovCard {\r\n\tprivate h: GovHost\r\n\tprivate readonly headlineId: string\r\n\tprivate readonly contentId: string\r\n\tprivate hydrated = false\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t\tthis.headlineId = createID('GovCardHeadline')\r\n\t\tthis.contentId = createID('GovCardContent')\r\n\t}\r\n\r\n\t@Element() host: HTMLGovCardElement\r\n\r\n\t/**\r\n\t * Card direction\r\n\t */\r\n\t@Prop() readonly direction: CardDirectionType = \"vertical\"\r\n\t/**\r\n\t * Defines weather the card can be collapsible\r\n\t */\r\n\t@Prop() readonly collapsible: boolean = false\r\n\t/**\r\n\t * Defines weather the card can be clickable with hover effect\r\n\t */\r\n\t@Prop() readonly clickable: boolean = false\r\n\t/**\r\n\t * Defines whether the card is open or closed\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) open = true\r\n\t/**\r\n\t * Link on whole card\r\n\t */\r\n\t@Prop({reflect: true}) readonly href: string\r\n\t/**\r\n\t * Same as original parameter\r\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\r\n\t */\r\n\t@Prop() readonly target?: ButtonTargetType\r\n\t/**\r\n\t * Adds accessible label for the collapsible button that is only shown for screen readers.\r\n\t */\r\n\t@Prop({attribute: 'accessible-label'}) accessibleTriggerLabel: string\r\n\t/**\r\n\t * A string of identifiers that indicate alternative label elements for collapsible card\r\n\t */\r\n\t@Prop({attribute: 'accessible-labelledby'}) accessibleTriggerLabelledBy: string\r\n\t/**\r\n\t * Called when the card toggle state changes\r\n\t */\r\n\t@Event({eventName: 'gov-toggle'}) govToggle: EventEmitter<GovCardChangeEvent>\r\n\r\n\tasync componentDidRender() {\r\n\t\tif (canValidateWcagOnRender()) {\r\n\t\t\tawait delay(500)\r\n\t\t\tawait this.validateAccessibility()\r\n\t\t}\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tthis.hydrated = true\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst Tag = this.href ? Tags.A : Tags.DIV\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes(CardClass.root)} open={this.open}\r\n\t\t\t\t collapsible={booleanString(this.collapsible)}\r\n\t\t\t\t clickable={this.clickable}\r\n\t\t\t\t direction={this.direction} hydrated={this.hydrated}>\r\n\t\t\t\t{this.collapsible ? (\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\tid={this.headlineId}\r\n\t\t\t\t\t\tclass={CardClass.header}\r\n\t\t\t\t\t\taria-label={this.accessibleTriggerLabel}\r\n\t\t\t\t\t\taria-labelledby={this.accessibleTriggerLabelledBy}\r\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\r\n\t\t\t\t\t\taria-controls={this.contentId}\r\n\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<slot name=\"headline\"/>\r\n\t\t\t\t\t\t<gov-icon class={CardClass.arrow} name=\"chevron-down\" type=\"components\"></gov-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t) : this.h.hasSlot(\"headline\") ? (\r\n\t\t\t\t\t<div class={CardClass.header}>\r\n\t\t\t\t\t\t<slot name=\"headline\"/>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t) : null}\r\n\r\n\t\t\t\t<Tag href={this.href}\r\n\t\t\t\t\t target={this.target}\r\n\t\t\t\t\t id={this.contentId}\r\n\t\t\t\t\t aria-hidden={this.collapsible ? booleanString(!this.open) : undefined}\r\n\t\t\t\t\t hidden={this.collapsible ? !this.open : undefined}\r\n\t\t\t\t\t aria-labelledby={this.collapsible ? this.headlineId : undefined}\r\n\t\t\t\t\t class={CardClass.inner}>\r\n\r\n\t\t\t\t\t{this.h.hasSlot('img') && (\r\n\t\t\t\t\t\t<div class={CardClass.img}>\r\n\t\t\t\t\t\t\t<slot name=\"img\"/>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t{this.h.hasSlot('icon') && (\r\n\t\t\t\t\t\t<div class={CardClass.icon}>\r\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t<div class={CardClass.content}>\r\n\t\t\t\t\t\t<slot/>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t{this.h.hasSlot('footer') && (\r\n\t\t\t\t\t\t<div class={CardClass.footer}>\r\n\t\t\t\t\t\t\t<slot name=\"footer\"/>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</Tag>\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\tprivate onClickHandler(e) {\r\n\t\te.stopPropagation()\r\n\t\tif (this.collapsible) {\r\n\t\t\tthis.open = !this.open\r\n\t\t\tthis.govToggle.emit({open: this.open, element: this.host})\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Validate the accessible attributes of the component\r\n\t */\r\n\t@Method()\r\n\tasync validateAccessibility(): Promise<void> {\r\n\t\tif (this.collapsible) {\r\n\t\t\tvalidateAccessibleLabel(this.accessibleTriggerLabel, this.accessibleTriggerLabelledBy, CardClass.root, this.host)\r\n\t\t}\r\n\t}\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface GovCardChangeEvent {\n\topen: boolean\n\telement: HTMLGovCardElement\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/components/gov-card/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface GovCardChangeEvent {\r\n\topen: boolean\r\n\telement: HTMLGovCardElement\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-chip/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGzD,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IACnB,2BAAe,CAAA;IACf,iCAAqB,CAAA;AACtB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,qBAAO,CAAA;IACP,2BAAa,CAAA;IACb,+BAAiB,CAAA;AAClB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EAAE,qBAAqB;IAC/B,OAAO,EAAE,oBAAoB;CAC7B,CAAA","sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const ChipSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type ChipSizesType = `${ValueOf<typeof ChipSizes>}`\n\nexport enum ChipType {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n}\nexport type ChipTypesType = `${ValueOf<typeof ChipType>}`\n\nexport enum NativeType {\n\tA = 'a',\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport const ChipClass = {\n\troot: 'gov-chip',\n\tinner: 'gov-chip__inner',\n\thasRight: 'gov-chip--has-right',\n\thasLeft: 'gov-chip--has-left',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-chip/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGzD,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IACnB,2BAAe,CAAA;IACf,iCAAqB,CAAA;AACtB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,qBAAO,CAAA;IACP,2BAAa,CAAA;IACb,+BAAiB,CAAA;AAClB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EAAE,qBAAqB;IAC/B,OAAO,EAAE,oBAAoB;CAC7B,CAAA","sourcesContent":["import { ValueOf } from '../../types/interfaces'\r\nimport {pick} from \"../../utils/utils\";\r\nimport {Sizes} from \"../../core/constants/sizes\";\r\n\r\nexport const ChipSizes = pick(Sizes, ['_XS', '_S', '_M'])\r\nexport type ChipSizesType = `${ValueOf<typeof ChipSizes>}`\r\n\r\nexport enum ChipType {\r\n\tSOLID = 'solid',\r\n\tOUTLINED = 'outlined',\r\n}\r\nexport type ChipTypesType = `${ValueOf<typeof ChipType>}`\r\n\r\nexport enum NativeType {\r\n\tA = 'a',\r\n\tSPAN = 'span',\r\n\tBUTTON = 'button',\r\n}\r\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\r\n\r\nexport const ChipClass = {\r\n\troot: 'gov-chip',\r\n\tinner: 'gov-chip__inner',\r\n\thasRight: 'gov-chip--has-right',\r\n\thasLeft: 'gov-chip--has-left',\r\n}\r\n"]}