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

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 (1274) 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/form-GgXzZZ-E.js.map +1 -1
  19. package/dist/cjs/gov-accordion-item.cjs.entry.js +3 -3
  20. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -1
  22. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  23. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -1
  25. package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -1
  26. package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
  27. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -1
  31. package/dist/cjs/gov-banner.cjs.entry.js +2 -2
  32. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/gov-banner.entry.cjs.js.map +1 -1
  34. package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -1
  37. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  39. package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -1
  40. package/dist/cjs/gov-button.cjs.entry.js +3 -3
  41. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gov-button.entry.cjs.js.map +1 -1
  43. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gov-card.entry.cjs.js.map +1 -1
  46. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  47. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  48. package/dist/cjs/gov-chip.entry.cjs.js.map +1 -1
  49. package/dist/cjs/gov-collapsible.cjs.entry.js +2 -2
  50. package/dist/cjs/gov-collapsible.cjs.entry.js.map +1 -1
  51. package/dist/cjs/gov-collapsible.entry.cjs.js.map +1 -1
  52. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-container.entry.cjs.js.map +1 -1
  55. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  56. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  57. package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -1
  58. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  59. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -1
  61. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  62. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
  63. package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -1
  64. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  65. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  66. package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -1
  67. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  68. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  69. package/dist/cjs/gov-empty.entry.cjs.js.map +1 -1
  70. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  71. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  72. package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -1
  73. package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -1
  74. package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
  75. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  76. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  77. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  78. package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -1
  79. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
  80. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -1
  82. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  83. package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -1
  84. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  85. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  86. package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -1
  87. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  88. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  89. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
  90. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  91. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  92. package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -1
  93. package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -1
  94. package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
  95. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
  96. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  97. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  98. package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -1
  99. package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
  100. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  101. package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -1
  102. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  103. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  104. package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -1
  105. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  106. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -1
  108. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  109. package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -1
  110. package/dist/cjs/gov-form-range.cjs.entry.js +2 -2
  111. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -1
  112. package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -1
  113. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  114. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  115. package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -1
  116. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  117. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  118. package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -1
  119. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  120. package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -1
  121. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  122. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  123. package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -1
  124. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  125. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  126. package/dist/cjs/gov-grid.entry.cjs.js.map +1 -1
  127. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  128. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  129. package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -1
  130. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  131. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  132. package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -1
  133. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  134. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  135. package/dist/cjs/gov-layout.entry.cjs.js.map +1 -1
  136. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  137. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -1
  138. package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -1
  139. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  140. package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
  141. package/dist/cjs/gov-link.entry.cjs.js.map +1 -1
  142. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  143. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  144. package/dist/cjs/gov-loading.entry.cjs.js.map +1 -1
  145. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  146. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  147. package/dist/cjs/gov-message.entry.cjs.js.map +1 -1
  148. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  149. package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -1
  150. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  151. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  152. package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -1
  153. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  154. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  155. package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -1
  156. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  157. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  158. package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -1
  159. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  160. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  161. package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -1
  162. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  163. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  164. package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -1
  165. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  166. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  167. package/dist/cjs/gov-tag.entry.cjs.js.map +1 -1
  168. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  169. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  170. package/dist/cjs/gov-tile.entry.cjs.js.map +1 -1
  171. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  172. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  173. package/dist/cjs/gov-toast.entry.cjs.js.map +1 -1
  174. package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -1
  175. package/dist/cjs/gov-tooltip_2.cjs.entry.js +3 -3
  176. package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -1
  177. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  178. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  179. package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -1
  180. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  181. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  182. package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -1
  183. package/dist/cjs/gov.log-C5EH15b_.js.map +1 -1
  184. package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -1
  185. package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -1
  186. package/dist/cjs/props-CPENhBnM.js.map +1 -1
  187. package/dist/cjs/sizes-D5zsw2g5.js.map +1 -1
  188. package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -1
  189. package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -1
  190. package/dist/cjs/template-Cj6PcLmR.js.map +1 -1
  191. package/dist/cjs/utils-NnC78QR3.js.map +1 -1
  192. package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -1
  193. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  194. package/dist/collection/components/gov-accordion/gov-accordion-item.js +3 -3
  195. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  196. package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
  197. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  198. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -1
  199. package/dist/collection/components/gov-attachments/constants.js.map +1 -1
  200. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -1
  201. package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
  202. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  203. package/dist/collection/components/gov-attachments/gov-attachments.js +1 -1
  204. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  205. package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
  206. package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
  207. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  208. package/dist/collection/components/gov-banner/constants.js.map +1 -1
  209. package/dist/collection/components/gov-banner/gov-banner.js +2 -2
  210. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
  211. package/dist/collection/components/gov-blockquote/constants.js.map +1 -1
  212. package/dist/collection/components/gov-blockquote/gov-blockquote.js +1 -1
  213. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -1
  214. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
  215. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -1
  216. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  217. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  218. package/dist/collection/components/gov-button/button/constants.js.map +1 -1
  219. package/dist/collection/components/gov-button/button/gov-button.js +5 -5
  220. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  221. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -1
  222. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
  223. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
  224. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  225. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -1
  226. package/dist/collection/components/gov-card/constants.js.map +1 -1
  227. package/dist/collection/components/gov-card/gov-card.js +1 -1
  228. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  229. package/dist/collection/components/gov-card/interfaces.js.map +1 -1
  230. package/dist/collection/components/gov-chip/constants.js.map +1 -1
  231. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  232. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  233. package/dist/collection/components/gov-collapsible/constants.js.map +1 -1
  234. package/dist/collection/components/gov-collapsible/gov-collapsible.js +2 -2
  235. package/dist/collection/components/gov-collapsible/gov-collapsible.js.map +1 -1
  236. package/dist/collection/components/gov-container/constants.js.map +1 -1
  237. package/dist/collection/components/gov-container/gov-container.js +1 -1
  238. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  239. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  240. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  241. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  242. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
  243. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  244. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  245. package/dist/collection/components/gov-dialog/constants.js.map +1 -1
  246. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  247. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
  248. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  249. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  250. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  251. package/dist/collection/components/gov-error-code/constants.js.map +1 -1
  252. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  253. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  254. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  255. package/dist/collection/components/gov-flex/gov-flex.js +1 -1
  256. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  257. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  258. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -3
  259. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  260. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -1
  261. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  262. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +1 -1
  263. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  264. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -1
  265. package/dist/collection/components/gov-form/control/constants.js.map +1 -1
  266. package/dist/collection/components/gov-form/control/gov-form-control.js +4 -4
  267. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  268. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  269. package/dist/collection/components/gov-form/file/gov-form-file.js +4 -4
  270. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  271. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -1
  272. package/dist/collection/components/gov-form/group/constants.js.map +1 -1
  273. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  274. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
  275. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  276. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  277. package/dist/collection/components/gov-form/group/gov-form-group.types.js.map +1 -1
  278. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  279. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
  280. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  281. package/dist/collection/components/gov-form/input/gov-form-input.js +6 -6
  282. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  283. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -1
  284. package/dist/collection/components/gov-form/label/constants.js.map +1 -1
  285. package/dist/collection/components/gov-form/label/gov-form-label.js +2 -2
  286. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  287. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  288. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  289. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  290. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  291. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +4 -4
  292. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  293. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -1
  294. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
  295. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  296. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  297. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  298. package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -2
  299. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  300. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -1
  301. package/dist/collection/components/gov-form/range/constants.js.map +1 -1
  302. package/dist/collection/components/gov-form/range/gov-form-range.js +2 -2
  303. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -1
  304. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  305. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  306. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  307. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  308. package/dist/collection/components/gov-form/select/gov-form-select.js +4 -4
  309. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  310. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
  311. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  312. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  313. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -1
  314. package/dist/collection/components/gov-grid/constants.js.map +1 -1
  315. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  316. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  317. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  318. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  319. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  320. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  321. package/dist/collection/components/gov-icon/helpers.js.map +1 -1
  322. package/dist/collection/components/gov-icon/list.js.map +1 -1
  323. package/dist/collection/components/gov-infobar/constants.js.map +1 -1
  324. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  325. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  326. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -1
  327. package/dist/collection/components/gov-layout/constants.js.map +1 -1
  328. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  329. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  330. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  331. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  332. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  333. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -1
  334. package/dist/collection/components/gov-link/constants.js.map +1 -1
  335. package/dist/collection/components/gov-link/gov-link.js +1 -1
  336. package/dist/collection/components/gov-link/gov-link.js.map +1 -1
  337. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
  338. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  339. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  340. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
  341. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  342. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  343. package/dist/collection/components/gov-message/constants.js.map +1 -1
  344. package/dist/collection/components/gov-message/gov-message.js +1 -1
  345. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  346. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  347. package/dist/collection/components/gov-pagination/gov-pagination.js +1 -1
  348. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  349. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -1
  350. package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
  351. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  352. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  353. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  354. package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -1
  355. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -1
  356. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +1 -1
  357. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -1
  358. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +1 -1
  359. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -1
  360. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  361. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  362. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  363. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  364. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  365. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
  366. package/dist/collection/components/gov-tag/constants.js.map +1 -1
  367. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  368. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  369. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  370. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  371. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  372. package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -1
  373. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  374. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  375. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  376. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  377. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  378. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  379. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  380. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  381. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  382. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  383. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  384. package/dist/collection/components/gov-wizard/constants.js.map +1 -1
  385. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -1
  386. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  387. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  388. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -1
  389. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  390. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  391. package/dist/collection/core/constants/colors.js.map +1 -1
  392. package/dist/collection/core/constants/sizes.js.map +1 -1
  393. package/dist/collection/core/constants/tags.js.map +1 -1
  394. package/dist/collection/core/constants/tokens.js.map +1 -1
  395. package/dist/collection/data/color-definitions.js +500 -494
  396. package/dist/collection/data/font-definitions.js +132 -132
  397. package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -1
  398. package/dist/collection/helpers/Accessibility/attributes.js.map +1 -1
  399. package/dist/collection/helpers/Dom/attribute.js.map +1 -1
  400. package/dist/collection/helpers/Dom/document.js.map +1 -1
  401. package/dist/collection/helpers/Dom/form.js.map +1 -1
  402. package/dist/collection/helpers/Dom/form.types.js.map +1 -1
  403. package/dist/collection/helpers/Dom/template.js.map +1 -1
  404. package/dist/collection/helpers/Dom/template.types.js.map +1 -1
  405. package/dist/collection/helpers/Dom/win.js.map +1 -1
  406. package/dist/collection/helpers/Fragment.js.map +1 -1
  407. package/dist/collection/helpers/Log/gov.log.js.map +1 -1
  408. package/dist/collection/helpers/Validate/props.js.map +1 -1
  409. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  410. package/dist/collection/index.js.map +1 -1
  411. package/dist/collection/types/event.types.js.map +1 -1
  412. package/dist/collection/types/interfaces.js.map +1 -1
  413. package/dist/collection/utils/array.utils.js.map +1 -1
  414. package/dist/collection/utils/bool.utils.js.map +1 -1
  415. package/dist/collection/utils/dom.utils.js.map +1 -1
  416. package/dist/collection/utils/ds.utils.js.map +1 -1
  417. package/dist/collection/utils/file.utils.js.map +1 -1
  418. package/dist/collection/utils/helpers.types.js.map +1 -1
  419. package/dist/collection/utils/icon.utils.js.map +1 -1
  420. package/dist/collection/utils/number.utils.js.map +1 -1
  421. package/dist/collection/utils/object.utils.js.map +1 -1
  422. package/dist/collection/utils/stencil.utils.js.map +1 -1
  423. package/dist/collection/utils/string.utils.js.map +1 -1
  424. package/dist/collection/utils/utils.js.map +1 -1
  425. package/dist/components/gov-accordion-item.js +1 -1
  426. package/dist/components/gov-accordion-item.js.map +1 -1
  427. package/dist/components/gov-accordion.js +1 -1
  428. package/dist/components/gov-accordion.js.map +1 -1
  429. package/dist/components/gov-attachments-item.js +1 -1
  430. package/dist/components/gov-attachments.js +1 -1
  431. package/dist/components/gov-backdrop.js +1 -1
  432. package/dist/components/gov-banner.js +1 -1
  433. package/dist/components/gov-banner.js.map +1 -1
  434. package/dist/components/gov-blockquote.js +1 -1
  435. package/dist/components/gov-blockquote.js.map +1 -1
  436. package/dist/components/gov-breadcrumbs.js +1 -1
  437. package/dist/components/gov-breadcrumbs.js.map +1 -1
  438. package/dist/components/gov-button.js +1 -1
  439. package/dist/components/gov-card.js +1 -1
  440. package/dist/components/gov-card.js.map +1 -1
  441. package/dist/components/gov-chip.js +1 -1
  442. package/dist/components/gov-collapsible.js +1 -1
  443. package/dist/components/gov-collapsible.js.map +1 -1
  444. package/dist/components/gov-container.js +1 -1
  445. package/dist/components/gov-container.js.map +1 -1
  446. package/dist/components/gov-control-group.js +1 -1
  447. package/dist/components/gov-control-group.js.map +1 -1
  448. package/dist/components/gov-cookiebar.js +1 -1
  449. package/dist/components/gov-cookiebar.js.map +1 -1
  450. package/dist/components/gov-dialog.js +1 -1
  451. package/dist/components/gov-dialog.js.map +1 -1
  452. package/dist/components/gov-dropdown.js +1 -1
  453. package/dist/components/gov-dropdown.js.map +1 -1
  454. package/dist/components/gov-empty.js +1 -1
  455. package/dist/components/gov-empty.js.map +1 -1
  456. package/dist/components/gov-error-code.js +1 -1
  457. package/dist/components/gov-error-code.js.map +1 -1
  458. package/dist/components/gov-flex.js +1 -1
  459. package/dist/components/gov-flex.js.map +1 -1
  460. package/dist/components/gov-form-autocomplete.js +1 -1
  461. package/dist/components/gov-form-checkbox-group.js +1 -1
  462. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  463. package/dist/components/gov-form-checkbox.js +1 -1
  464. package/dist/components/gov-form-checkbox.js.map +1 -1
  465. package/dist/components/gov-form-control.js +1 -1
  466. package/dist/components/gov-form-control.js.map +1 -1
  467. package/dist/components/gov-form-file.js +1 -1
  468. package/dist/components/gov-form-file.js.map +1 -1
  469. package/dist/components/gov-form-group.js +1 -1
  470. package/dist/components/gov-form-group.js.map +1 -1
  471. package/dist/components/gov-form-input.js +1 -1
  472. package/dist/components/gov-form-label.js +1 -1
  473. package/dist/components/gov-form-label.js.map +1 -1
  474. package/dist/components/gov-form-message.js +1 -1
  475. package/dist/components/gov-form-multi-select.js +1 -1
  476. package/dist/components/gov-form-multi-select.js.map +1 -1
  477. package/dist/components/gov-form-password-power.js +1 -1
  478. package/dist/components/gov-form-password-power.js.map +1 -1
  479. package/dist/components/gov-form-radio-group.js +1 -1
  480. package/dist/components/gov-form-radio-group.js.map +1 -1
  481. package/dist/components/gov-form-radio.js.map +1 -1
  482. package/dist/components/gov-form-range.js +1 -1
  483. package/dist/components/gov-form-range.js.map +1 -1
  484. package/dist/components/gov-form-search.js +1 -1
  485. package/dist/components/gov-form-search.js.map +1 -1
  486. package/dist/components/gov-form-select.js +1 -1
  487. package/dist/components/gov-form-switch.js +1 -1
  488. package/dist/components/gov-form-switch.js.map +1 -1
  489. package/dist/components/gov-grid-item.js +1 -1
  490. package/dist/components/gov-grid-item.js.map +1 -1
  491. package/dist/components/gov-grid.js +1 -1
  492. package/dist/components/gov-grid.js.map +1 -1
  493. package/dist/components/gov-icon.js +1 -1
  494. package/dist/components/gov-infobar.js +1 -1
  495. package/dist/components/gov-infobar.js.map +1 -1
  496. package/dist/components/gov-layout-column.js +1 -1
  497. package/dist/components/gov-layout-column.js.map +1 -1
  498. package/dist/components/gov-layout.js +1 -1
  499. package/dist/components/gov-layout.js.map +1 -1
  500. package/dist/components/gov-lifecycle.js +1 -1
  501. package/dist/components/gov-lifecycle.js.map +1 -1
  502. package/dist/components/gov-link.js +1 -1
  503. package/dist/components/gov-link.js.map +1 -1
  504. package/dist/components/gov-loading.js +1 -1
  505. package/dist/components/gov-loading.js.map +1 -1
  506. package/dist/components/gov-message.js +1 -1
  507. package/dist/components/gov-message.js.map +1 -1
  508. package/dist/components/gov-pagination.js +1 -1
  509. package/dist/components/gov-pagination.js.map +1 -1
  510. package/dist/components/gov-skeleton.js +1 -1
  511. package/dist/components/gov-spacer.js +1 -1
  512. package/dist/components/gov-spacer.js.map +1 -1
  513. package/dist/components/gov-stepper-item.js +1 -1
  514. package/dist/components/gov-stepper-item.js.map +1 -1
  515. package/dist/components/gov-stepper.js +1 -1
  516. package/dist/components/gov-stepper.js.map +1 -1
  517. package/dist/components/gov-tabs-item.js +1 -1
  518. package/dist/components/gov-tabs-item.js.map +1 -1
  519. package/dist/components/gov-tabs.js +1 -1
  520. package/dist/components/gov-tabs.js.map +1 -1
  521. package/dist/components/gov-tag.js +1 -1
  522. package/dist/components/gov-tag.js.map +1 -1
  523. package/dist/components/gov-theme-switch.js +1 -1
  524. package/dist/components/gov-theme-switch.js.map +1 -1
  525. package/dist/components/gov-tile.js +1 -1
  526. package/dist/components/gov-tile.js.map +1 -1
  527. package/dist/components/gov-toast.js +1 -1
  528. package/dist/components/gov-toast.js.map +1 -1
  529. package/dist/components/gov-tooltip-content.js +1 -1
  530. package/dist/components/gov-tooltip.js +1 -1
  531. package/dist/components/gov-wizard-item.js +1 -1
  532. package/dist/components/gov-wizard-item.js.map +1 -1
  533. package/dist/components/gov-wizard.js +1 -1
  534. package/dist/components/gov-wizard.js.map +1 -1
  535. package/dist/components/p-4i8qDRtu.js.map +1 -1
  536. package/dist/components/p-5itQzbON.js.map +1 -1
  537. package/dist/components/p-9imLQpxb.js.map +1 -1
  538. package/dist/components/p-B0KFtEn3.js +2 -0
  539. package/dist/components/p-B0KFtEn3.js.map +1 -0
  540. package/dist/components/p-B0hcuYXk.js.map +1 -1
  541. package/dist/components/p-B3tdsiZv.js.map +1 -1
  542. package/dist/components/p-BKP-F1qP.js.map +1 -1
  543. package/dist/components/{p-D8QfVS4O.js → p-BNnuBQvo.js} +2 -2
  544. package/dist/components/p-BNnuBQvo.js.map +1 -0
  545. package/dist/components/p-BTwdrNoS.js.map +1 -1
  546. package/dist/components/p-BUmDydor.js.map +1 -1
  547. package/dist/components/{p-DW1DKFMF.js → p-BZTY3MxF.js} +2 -2
  548. package/dist/components/p-BZTY3MxF.js.map +1 -0
  549. package/dist/components/p-BcQO4NH2.js.map +1 -1
  550. package/dist/components/{p-BJnSrRNH.js → p-BrdXh0mI.js} +2 -2
  551. package/dist/components/p-BrdXh0mI.js.map +1 -0
  552. package/dist/components/{p-_FzmpyXv.js → p-Bv5L0j6n.js} +2 -2
  553. package/dist/components/p-Bv5L0j6n.js.map +1 -0
  554. package/dist/components/p-C6JN9gdb.js.map +1 -1
  555. package/dist/components/p-CNqoJU2V.js.map +1 -1
  556. package/dist/components/p-CQvUntGY.js.map +1 -1
  557. package/dist/components/p-CUVZZBqo.js.map +1 -1
  558. package/dist/components/p-CXgom82_.js.map +1 -1
  559. package/dist/components/p-CZr7GBEo.js.map +1 -1
  560. package/dist/components/p-CfaJM4SA.js +2 -0
  561. package/dist/components/p-CfaJM4SA.js.map +1 -0
  562. package/dist/components/p-Cjg0wpDG.js.map +1 -1
  563. package/dist/components/p-ClYmjarv.js.map +1 -1
  564. package/dist/components/p-DBXGhafv.js.map +1 -1
  565. package/dist/components/{p-Ba8Z-AIX.js → p-DFu5UVoP.js} +2 -2
  566. package/dist/components/p-DFu5UVoP.js.map +1 -0
  567. package/dist/components/p-DKo9A5gq.js.map +1 -1
  568. package/dist/components/{p-9VlKyZSl.js → p-DMVQRz4f.js} +2 -2
  569. package/dist/components/p-DMVQRz4f.js.map +1 -0
  570. package/dist/components/{p-2_-up8FX.js → p-DesycS6d.js} +2 -2
  571. package/dist/components/p-DesycS6d.js.map +1 -0
  572. package/dist/components/p-DfI_0WW6.js.map +1 -1
  573. package/dist/components/p-DrPpH_9c.js.map +1 -1
  574. package/dist/components/p-EeKNA85D.js.map +1 -1
  575. package/dist/components/p-GYov8gU1.js.map +1 -1
  576. package/dist/components/p-Nvj7WFs_.js.map +1 -1
  577. package/dist/components/p-Q99QrOoi.js.map +1 -1
  578. package/dist/components/p-U40vKHrs.js.map +1 -1
  579. package/dist/components/{p-DZJk8GrA.js → p-UDT3DloZ.js} +2 -2
  580. package/dist/components/p-UDT3DloZ.js.map +1 -0
  581. package/dist/components/{p-CWqMiVYH.js → p-djqfSbq-.js} +2 -2
  582. package/dist/components/p-djqfSbq-.js.map +1 -0
  583. package/dist/components/p-vN03FcXN.js.map +1 -1
  584. package/dist/components/{p-DhGb8cBK.js → p-x3w8Mun_.js} +2 -2
  585. package/dist/components/p-x3w8Mun_.js.map +1 -0
  586. package/dist/components/p-yqJEurSE.js +2 -0
  587. package/dist/components/p-yqJEurSE.js.map +1 -0
  588. package/dist/core/core.css +38 -38
  589. package/dist/core/core.esm.js +1 -1
  590. package/dist/core/gov-accordion-item.entry.esm.js.map +1 -1
  591. package/dist/core/gov-accordion.entry.esm.js.map +1 -1
  592. package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -1
  593. package/dist/core/gov-backdrop.entry.esm.js.map +1 -1
  594. package/dist/core/gov-banner.entry.esm.js.map +1 -1
  595. package/dist/core/gov-blockquote.entry.esm.js.map +1 -1
  596. package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -1
  597. package/dist/core/gov-button.entry.esm.js.map +1 -1
  598. package/dist/core/gov-card.entry.esm.js.map +1 -1
  599. package/dist/core/gov-chip.entry.esm.js.map +1 -1
  600. package/dist/core/gov-collapsible.entry.esm.js.map +1 -1
  601. package/dist/core/gov-container.entry.esm.js.map +1 -1
  602. package/dist/core/gov-control-group.entry.esm.js.map +1 -1
  603. package/dist/core/gov-cookiebar.entry.esm.js.map +1 -1
  604. package/dist/core/gov-dialog.entry.esm.js.map +1 -1
  605. package/dist/core/gov-dropdown.entry.esm.js.map +1 -1
  606. package/dist/core/gov-empty.entry.esm.js.map +1 -1
  607. package/dist/core/gov-error-code.entry.esm.js.map +1 -1
  608. package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -1
  609. package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -1
  610. package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -1
  611. package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -1
  612. package/dist/core/gov-form-control.entry.esm.js.map +1 -1
  613. package/dist/core/gov-form-file.entry.esm.js.map +1 -1
  614. package/dist/core/gov-form-group.entry.esm.js.map +1 -1
  615. package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -1
  616. package/dist/core/gov-form-label.entry.esm.js.map +1 -1
  617. package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -1
  618. package/dist/core/gov-form-password-power.entry.esm.js.map +1 -1
  619. package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -1
  620. package/dist/core/gov-form-radio.entry.esm.js.map +1 -1
  621. package/dist/core/gov-form-range.entry.esm.js.map +1 -1
  622. package/dist/core/gov-form-search.entry.esm.js.map +1 -1
  623. package/dist/core/gov-form-select.entry.esm.js.map +1 -1
  624. package/dist/core/gov-form-switch.entry.esm.js.map +1 -1
  625. package/dist/core/gov-grid-item.entry.esm.js.map +1 -1
  626. package/dist/core/gov-grid.entry.esm.js.map +1 -1
  627. package/dist/core/gov-infobar.entry.esm.js.map +1 -1
  628. package/dist/core/gov-layout-column.entry.esm.js.map +1 -1
  629. package/dist/core/gov-layout.entry.esm.js.map +1 -1
  630. package/dist/core/gov-lifecycle.entry.esm.js.map +1 -1
  631. package/dist/core/gov-link.entry.esm.js.map +1 -1
  632. package/dist/core/gov-loading.entry.esm.js.map +1 -1
  633. package/dist/core/gov-message.entry.esm.js.map +1 -1
  634. package/dist/core/gov-pagination.entry.esm.js.map +1 -1
  635. package/dist/core/gov-spacer.entry.esm.js.map +1 -1
  636. package/dist/core/gov-stepper-item.entry.esm.js.map +1 -1
  637. package/dist/core/gov-stepper.entry.esm.js.map +1 -1
  638. package/dist/core/gov-tabs-item.entry.esm.js.map +1 -1
  639. package/dist/core/gov-tabs.entry.esm.js.map +1 -1
  640. package/dist/core/gov-tag.entry.esm.js.map +1 -1
  641. package/dist/core/gov-tile.entry.esm.js.map +1 -1
  642. package/dist/core/gov-toast.entry.esm.js.map +1 -1
  643. package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +1 -1
  644. package/dist/core/gov-wizard-item.entry.esm.js.map +1 -1
  645. package/dist/core/gov-wizard.entry.esm.js.map +1 -1
  646. package/dist/core/{p-37f6095e.entry.js → p-04ec45ab.entry.js} +2 -2
  647. package/dist/core/p-04ec45ab.entry.js.map +1 -0
  648. package/dist/core/p-0af96cc0.entry.js +2 -0
  649. package/dist/core/p-0af96cc0.entry.js.map +1 -0
  650. package/dist/core/{p-b93548cc.entry.js → p-11fc3899.entry.js} +2 -2
  651. package/dist/core/p-11fc3899.entry.js.map +1 -0
  652. package/dist/core/{p-67d1e6e2.entry.js → p-157a1636.entry.js} +2 -2
  653. package/dist/core/p-157a1636.entry.js.map +1 -0
  654. package/dist/core/p-1626cc67.entry.js +2 -0
  655. package/dist/core/p-1626cc67.entry.js.map +1 -0
  656. package/dist/core/{p-46effc25.entry.js → p-187c0eda.entry.js} +2 -2
  657. package/dist/core/p-187c0eda.entry.js.map +1 -0
  658. package/dist/core/p-3314505d.entry.js +2 -0
  659. package/dist/core/p-3314505d.entry.js.map +1 -0
  660. package/dist/core/p-33209782.entry.js +2 -0
  661. package/dist/core/p-33209782.entry.js.map +1 -0
  662. package/dist/core/{p-715c0e2e.entry.js → p-33b462c9.entry.js} +2 -2
  663. package/dist/core/p-33b462c9.entry.js.map +1 -0
  664. package/dist/core/{p-f067af74.entry.js → p-3e07bf07.entry.js} +2 -2
  665. package/dist/core/p-3e07bf07.entry.js.map +1 -0
  666. package/dist/core/p-3e5ae012.entry.js +2 -0
  667. package/dist/core/p-3e5ae012.entry.js.map +1 -0
  668. package/dist/core/p-46824842.entry.js.map +1 -1
  669. package/dist/core/{p-1375d52d.entry.js → p-469f14db.entry.js} +2 -2
  670. package/dist/core/p-469f14db.entry.js.map +1 -0
  671. package/dist/core/p-4c02094d.entry.js +2 -0
  672. package/dist/core/p-4c02094d.entry.js.map +1 -0
  673. package/dist/core/{p-6f173022.entry.js → p-4d365881.entry.js} +2 -2
  674. package/dist/core/p-4d365881.entry.js.map +1 -0
  675. package/dist/core/p-4d36cd18.entry.js +2 -0
  676. package/dist/core/p-4d36cd18.entry.js.map +1 -0
  677. package/dist/core/p-4d902f20.entry.js +2 -0
  678. package/dist/core/p-4d902f20.entry.js.map +1 -0
  679. package/dist/core/p-4da8ac1d.entry.js +2 -0
  680. package/dist/core/p-4da8ac1d.entry.js.map +1 -0
  681. package/dist/core/p-511eed88.entry.js +2 -0
  682. package/dist/core/p-511eed88.entry.js.map +1 -0
  683. package/dist/core/{p-8655fd24.entry.js → p-5305e82e.entry.js} +2 -2
  684. package/dist/core/p-5305e82e.entry.js.map +1 -0
  685. package/dist/core/p-558e75a6.entry.js +2 -0
  686. package/dist/core/p-558e75a6.entry.js.map +1 -0
  687. package/dist/core/p-5721cf9b.entry.js.map +1 -1
  688. package/dist/core/p-57ca8ac7.entry.js +2 -0
  689. package/dist/core/p-57ca8ac7.entry.js.map +1 -0
  690. package/dist/core/{p-8161e1fe.entry.js → p-5c872d64.entry.js} +2 -2
  691. package/dist/core/p-5c872d64.entry.js.map +1 -0
  692. package/dist/core/p-5itQzbON.js.map +1 -1
  693. package/dist/core/p-65a09763.entry.js +2 -0
  694. package/dist/core/p-65a09763.entry.js.map +1 -0
  695. package/dist/core/{p-e7f889c7.entry.js → p-6b44890d.entry.js} +2 -2
  696. package/dist/core/p-6b44890d.entry.js.map +1 -0
  697. package/dist/core/p-6d2ce4c7.entry.js +2 -0
  698. package/dist/core/p-6d2ce4c7.entry.js.map +1 -0
  699. package/dist/core/{p-b3b517f0.entry.js → p-70b5555f.entry.js} +2 -2
  700. package/dist/core/p-70b5555f.entry.js.map +1 -0
  701. package/dist/core/p-73bd93f9.entry.js +2 -0
  702. package/dist/core/p-73bd93f9.entry.js.map +1 -0
  703. package/dist/core/p-852310d9.entry.js +2 -0
  704. package/dist/core/p-852310d9.entry.js.map +1 -0
  705. package/dist/core/p-90ab65b4.entry.js +2 -0
  706. package/dist/core/p-90ab65b4.entry.js.map +1 -0
  707. package/dist/core/{p-2cfa670d.entry.js → p-91cbee1b.entry.js} +2 -2
  708. package/dist/core/p-91cbee1b.entry.js.map +1 -0
  709. package/dist/core/p-9d9e9401.entry.js +2 -0
  710. package/dist/core/p-9d9e9401.entry.js.map +1 -0
  711. package/dist/core/p-B6CqPcY_.js.map +1 -1
  712. package/dist/core/p-BUmDydor.js.map +1 -1
  713. package/dist/core/p-BcQO4NH2.js.map +1 -1
  714. package/dist/core/p-BjcqOprh.js.map +1 -1
  715. package/dist/core/p-Bo1ROm5Q.js.map +1 -1
  716. package/dist/core/p-Bz_RzYFb.js.map +1 -1
  717. package/dist/core/p-C3R1T_pg.js.map +1 -1
  718. package/dist/core/p-C6JN9gdb.js.map +1 -1
  719. package/dist/core/p-CDIRBJsi.js.map +1 -1
  720. package/dist/core/p-CQvUntGY.js.map +1 -1
  721. package/dist/core/p-Ccwpa1ck.js.map +1 -1
  722. package/dist/core/p-CgDnDrq5.js.map +1 -1
  723. package/dist/core/p-Cjg0wpDG.js.map +1 -1
  724. package/dist/core/p-CoD1xawt.js.map +1 -1
  725. package/dist/core/p-Cx3bEC5v.js.map +1 -1
  726. package/dist/core/p-CzXeijOj.js.map +1 -1
  727. package/dist/core/p-D4TGB274.js.map +1 -1
  728. package/dist/core/p-DBXGhafv.js.map +1 -1
  729. package/dist/core/p-DNztiAH0.js.map +1 -1
  730. package/dist/core/p-DQuL1Twl.js.map +1 -1
  731. package/dist/core/p-DYcNEwSZ.js.map +1 -1
  732. package/dist/core/p-EeKNA85D.js.map +1 -1
  733. package/dist/core/p-GYov8gU1.js.map +1 -1
  734. package/dist/core/p-NOJjz9dT.js.map +1 -1
  735. package/dist/core/p-Q99QrOoi.js.map +1 -1
  736. package/dist/core/p-U40vKHrs.js.map +1 -1
  737. package/dist/core/p-a2c61d50.entry.js +2 -0
  738. package/dist/core/p-a2c61d50.entry.js.map +1 -0
  739. package/dist/core/p-abb7780e.entry.js +2 -0
  740. package/dist/core/p-abb7780e.entry.js.map +1 -0
  741. package/dist/core/p-bd2df430.entry.js +2 -0
  742. package/dist/core/p-bd2df430.entry.js.map +1 -0
  743. package/dist/core/p-bd389bfd.entry.js +2 -0
  744. package/dist/core/p-bd389bfd.entry.js.map +1 -0
  745. package/dist/core/{p-7387370c.entry.js → p-be9af807.entry.js} +2 -2
  746. package/dist/core/p-be9af807.entry.js.map +1 -0
  747. package/dist/core/p-bf573a56.entry.js +2 -0
  748. package/dist/core/p-bf573a56.entry.js.map +1 -0
  749. package/dist/core/p-c1b9f1ab.entry.js +2 -0
  750. package/dist/core/p-c1b9f1ab.entry.js.map +1 -0
  751. package/dist/core/{p-01bc645f.entry.js → p-c21bc8f9.entry.js} +2 -2
  752. package/dist/core/p-c21bc8f9.entry.js.map +1 -0
  753. package/dist/core/{p-dec65494.entry.js → p-c4734357.entry.js} +2 -2
  754. package/dist/core/p-c4734357.entry.js.map +1 -0
  755. package/dist/core/p-c6b55c0a.entry.js.map +1 -1
  756. package/dist/core/p-cd163299.entry.js +2 -0
  757. package/dist/core/p-cd163299.entry.js.map +1 -0
  758. package/dist/core/p-d43959a0.entry.js +2 -0
  759. package/dist/core/p-d43959a0.entry.js.map +1 -0
  760. package/dist/core/p-d9c574f0.entry.js +2 -0
  761. package/dist/core/p-d9c574f0.entry.js.map +1 -0
  762. package/dist/core/p-da997fb3.entry.js +2 -0
  763. package/dist/core/p-da997fb3.entry.js.map +1 -0
  764. package/dist/core/{p-017d6340.entry.js → p-db860031.entry.js} +2 -2
  765. package/dist/core/p-db860031.entry.js.map +1 -0
  766. package/dist/core/p-def34832.entry.js +2 -0
  767. package/dist/core/p-def34832.entry.js.map +1 -0
  768. package/dist/core/p-e30968b3.entry.js +2 -0
  769. package/dist/core/p-e30968b3.entry.js.map +1 -0
  770. package/dist/core/{p-e1b2af6b.entry.js → p-e39e5dc7.entry.js} +2 -2
  771. package/dist/core/p-e39e5dc7.entry.js.map +1 -0
  772. package/dist/core/p-eb3f6808.entry.js +2 -0
  773. package/dist/core/p-eb3f6808.entry.js.map +1 -0
  774. package/dist/core/{p-f58a20af.entry.js → p-eb766437.entry.js} +2 -2
  775. package/dist/core/p-eb766437.entry.js.map +1 -0
  776. package/dist/core/{p-495e25d8.entry.js → p-f3887d6d.entry.js} +2 -2
  777. package/dist/core/p-f3887d6d.entry.js.map +1 -0
  778. package/dist/core/p-f7bdb44a.entry.js.map +1 -1
  779. package/dist/core/p-fca7a0d6.entry.js +2 -0
  780. package/dist/core/p-fca7a0d6.entry.js.map +1 -0
  781. package/dist/core/p-vN03FcXN.js.map +1 -1
  782. package/dist/esm/Fragment-5itQzbON.js.map +1 -1
  783. package/dist/esm/accessibility-wqNV8djF.js.map +1 -1
  784. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
  785. package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -1
  786. package/dist/esm/attribute-Bz_RzYFb.js.map +1 -1
  787. package/dist/esm/colors-U40vKHrs.js.map +1 -1
  788. package/dist/esm/constants-BNBB_29K.js.map +1 -1
  789. package/dist/esm/constants-BegH8u6i.js.map +1 -1
  790. package/dist/esm/constants-BiWo5BNa.js.map +1 -1
  791. package/dist/esm/constants-CysDgoMA.js.map +1 -1
  792. package/dist/esm/constants-DHvN41Ek.js.map +1 -1
  793. package/dist/esm/constants-DbTQsVRc.js.map +1 -1
  794. package/dist/esm/constants-Du0ZtfYe.js.map +1 -1
  795. package/dist/esm/constants-Q99QrOoi.js.map +1 -1
  796. package/dist/esm/constants-YOtDGTm5.js.map +1 -1
  797. package/dist/esm/constants-aqe7GX2n.js.map +1 -1
  798. package/dist/esm/constants-oYp2tkdN.js.map +1 -1
  799. package/dist/esm/form-DvhJiKwA.js.map +1 -1
  800. package/dist/esm/gov-accordion-item.entry.js +3 -3
  801. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  802. package/dist/esm/gov-accordion.entry.js +1 -1
  803. package/dist/esm/gov-accordion.entry.js.map +1 -1
  804. package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +1 -1
  805. package/dist/esm/gov-attachments_3.entry.js +3 -3
  806. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  807. package/dist/esm/gov-backdrop.entry.js +1 -1
  808. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  809. package/dist/esm/gov-banner.entry.js +2 -2
  810. package/dist/esm/gov-banner.entry.js.map +1 -1
  811. package/dist/esm/gov-blockquote.entry.js +1 -1
  812. package/dist/esm/gov-blockquote.entry.js.map +1 -1
  813. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  814. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  815. package/dist/esm/gov-button.entry.js +3 -3
  816. package/dist/esm/gov-button.entry.js.map +1 -1
  817. package/dist/esm/gov-card.entry.js +1 -1
  818. package/dist/esm/gov-card.entry.js.map +1 -1
  819. package/dist/esm/gov-chip.entry.js +2 -2
  820. package/dist/esm/gov-chip.entry.js.map +1 -1
  821. package/dist/esm/gov-collapsible.entry.js +2 -2
  822. package/dist/esm/gov-collapsible.entry.js.map +1 -1
  823. package/dist/esm/gov-container.entry.js +1 -1
  824. package/dist/esm/gov-container.entry.js.map +1 -1
  825. package/dist/esm/gov-control-group.entry.js +1 -1
  826. package/dist/esm/gov-control-group.entry.js.map +1 -1
  827. package/dist/esm/gov-cookiebar.entry.js +1 -1
  828. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  829. package/dist/esm/gov-dialog.entry.js +1 -1
  830. package/dist/esm/gov-dialog.entry.js.map +1 -1
  831. package/dist/esm/gov-dropdown.entry.js +1 -1
  832. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  833. package/dist/esm/gov-empty.entry.js +1 -1
  834. package/dist/esm/gov-empty.entry.js.map +1 -1
  835. package/dist/esm/gov-error-code.entry.js +1 -1
  836. package/dist/esm/gov-error-code.entry.js.map +1 -1
  837. package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -1
  838. package/dist/esm/gov-flex_3.entry.js +3 -3
  839. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  840. package/dist/esm/gov-form-autocomplete.entry.js +1 -1
  841. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  842. package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
  843. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  844. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  845. package/dist/esm/gov-form-control.entry.js +1 -1
  846. package/dist/esm/gov-form-control.entry.js.map +1 -1
  847. package/dist/esm/gov-form-file.entry.js +1 -1
  848. package/dist/esm/gov-form-file.entry.js.map +1 -1
  849. package/dist/esm/gov-form-group.entry.js +1 -1
  850. package/dist/esm/gov-form-group.entry.js.map +1 -1
  851. package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -1
  852. package/dist/esm/gov-form-input_2.entry.js +6 -6
  853. package/dist/esm/gov-form-input_2.entry.js.map +1 -1
  854. package/dist/esm/gov-form-label.entry.js +1 -1
  855. package/dist/esm/gov-form-label.entry.js.map +1 -1
  856. package/dist/esm/gov-form-multi-select.entry.js +2 -2
  857. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  858. package/dist/esm/gov-form-password-power.entry.js +1 -1
  859. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  860. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  861. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  862. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  863. package/dist/esm/gov-form-range.entry.js +2 -2
  864. package/dist/esm/gov-form-range.entry.js.map +1 -1
  865. package/dist/esm/gov-form-search.entry.js +1 -1
  866. package/dist/esm/gov-form-search.entry.js.map +1 -1
  867. package/dist/esm/gov-form-select.entry.js +2 -2
  868. package/dist/esm/gov-form-select.entry.js.map +1 -1
  869. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  870. package/dist/esm/gov-grid-item.entry.js +1 -1
  871. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  872. package/dist/esm/gov-grid.entry.js +1 -1
  873. package/dist/esm/gov-grid.entry.js.map +1 -1
  874. package/dist/esm/gov-infobar.entry.js +2 -2
  875. package/dist/esm/gov-infobar.entry.js.map +1 -1
  876. package/dist/esm/gov-layout-column.entry.js +1 -1
  877. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  878. package/dist/esm/gov-layout.entry.js +1 -1
  879. package/dist/esm/gov-layout.entry.js.map +1 -1
  880. package/dist/esm/gov-lifecycle.entry.js +1 -1
  881. package/dist/esm/gov-lifecycle.entry.js.map +1 -1
  882. package/dist/esm/gov-link.entry.js +1 -1
  883. package/dist/esm/gov-link.entry.js.map +1 -1
  884. package/dist/esm/gov-loading.entry.js +1 -1
  885. package/dist/esm/gov-loading.entry.js.map +1 -1
  886. package/dist/esm/gov-message.entry.js +1 -1
  887. package/dist/esm/gov-message.entry.js.map +1 -1
  888. package/dist/esm/gov-pagination.entry.js.map +1 -1
  889. package/dist/esm/gov-spacer.entry.js +1 -1
  890. package/dist/esm/gov-spacer.entry.js.map +1 -1
  891. package/dist/esm/gov-stepper-item.entry.js +1 -1
  892. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  893. package/dist/esm/gov-stepper.entry.js +1 -1
  894. package/dist/esm/gov-stepper.entry.js.map +1 -1
  895. package/dist/esm/gov-tabs-item.entry.js +1 -1
  896. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  897. package/dist/esm/gov-tabs.entry.js +1 -1
  898. package/dist/esm/gov-tabs.entry.js.map +1 -1
  899. package/dist/esm/gov-tag.entry.js +1 -1
  900. package/dist/esm/gov-tag.entry.js.map +1 -1
  901. package/dist/esm/gov-tile.entry.js +1 -1
  902. package/dist/esm/gov-tile.entry.js.map +1 -1
  903. package/dist/esm/gov-toast.entry.js +1 -1
  904. package/dist/esm/gov-toast.entry.js.map +1 -1
  905. package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -1
  906. package/dist/esm/gov-tooltip_2.entry.js +3 -3
  907. package/dist/esm/gov-tooltip_2.entry.js.map +1 -1
  908. package/dist/esm/gov-wizard-item.entry.js +2 -2
  909. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  910. package/dist/esm/gov-wizard.entry.js +1 -1
  911. package/dist/esm/gov-wizard.entry.js.map +1 -1
  912. package/dist/esm/gov.log-BtqD9K8d.js.map +1 -1
  913. package/dist/esm/helpers-GYov8gU1.js.map +1 -1
  914. package/dist/esm/helpers.types-DNztiAH0.js.map +1 -1
  915. package/dist/esm/props-CJZgTDla.js.map +1 -1
  916. package/dist/esm/sizes-BcQO4NH2.js.map +1 -1
  917. package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -1
  918. package/dist/esm/string.utils-vN03FcXN.js.map +1 -1
  919. package/dist/esm/template-CoD1xawt.js.map +1 -1
  920. package/dist/esm/utils-CQvUntGY.js.map +1 -1
  921. package/dist/esm/wcag-CD6_13JO.js.map +1 -1
  922. package/dist/globals.d.ts +2 -2
  923. package/dist/hydrate/index.js +75 -75
  924. package/dist/hydrate/index.mjs +75 -75
  925. package/dist/stencil.config.js.map +1 -1
  926. package/dist/types/interfaces.d.ts +1 -1
  927. package/dist/types/types/typings.d.ts +6 -6
  928. package/dist/types/work/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
  929. package/package.json +29 -29
  930. package/dist/components/p-2_-up8FX.js.map +0 -1
  931. package/dist/components/p-9VlKyZSl.js.map +0 -1
  932. package/dist/components/p-BJnSrRNH.js.map +0 -1
  933. package/dist/components/p-Ba8Z-AIX.js.map +0 -1
  934. package/dist/components/p-BnxqJyb_.js +0 -2
  935. package/dist/components/p-BnxqJyb_.js.map +0 -1
  936. package/dist/components/p-CJnwyVlG.js +0 -2
  937. package/dist/components/p-CJnwyVlG.js.map +0 -1
  938. package/dist/components/p-CWqMiVYH.js.map +0 -1
  939. package/dist/components/p-CgXcNDpE.js +0 -2
  940. package/dist/components/p-CgXcNDpE.js.map +0 -1
  941. package/dist/components/p-D8QfVS4O.js.map +0 -1
  942. package/dist/components/p-DW1DKFMF.js.map +0 -1
  943. package/dist/components/p-DZJk8GrA.js.map +0 -1
  944. package/dist/components/p-DhGb8cBK.js.map +0 -1
  945. package/dist/components/p-_FzmpyXv.js.map +0 -1
  946. package/dist/core/p-017d6340.entry.js.map +0 -1
  947. package/dist/core/p-01bc645f.entry.js.map +0 -1
  948. package/dist/core/p-0e06af2b.entry.js +0 -2
  949. package/dist/core/p-0e06af2b.entry.js.map +0 -1
  950. package/dist/core/p-1375d52d.entry.js.map +0 -1
  951. package/dist/core/p-264cbd4e.entry.js +0 -2
  952. package/dist/core/p-264cbd4e.entry.js.map +0 -1
  953. package/dist/core/p-2cfa670d.entry.js.map +0 -1
  954. package/dist/core/p-33a62c22.entry.js +0 -2
  955. package/dist/core/p-33a62c22.entry.js.map +0 -1
  956. package/dist/core/p-37f6095e.entry.js.map +0 -1
  957. package/dist/core/p-3cf20b56.entry.js +0 -2
  958. package/dist/core/p-3cf20b56.entry.js.map +0 -1
  959. package/dist/core/p-46effc25.entry.js.map +0 -1
  960. package/dist/core/p-495e25d8.entry.js.map +0 -1
  961. package/dist/core/p-4aea131f.entry.js +0 -2
  962. package/dist/core/p-4aea131f.entry.js.map +0 -1
  963. package/dist/core/p-4ce8e721.entry.js +0 -2
  964. package/dist/core/p-4ce8e721.entry.js.map +0 -1
  965. package/dist/core/p-5283672a.entry.js +0 -2
  966. package/dist/core/p-5283672a.entry.js.map +0 -1
  967. package/dist/core/p-54209c57.entry.js +0 -2
  968. package/dist/core/p-54209c57.entry.js.map +0 -1
  969. package/dist/core/p-56dc11ba.entry.js +0 -2
  970. package/dist/core/p-56dc11ba.entry.js.map +0 -1
  971. package/dist/core/p-58911028.entry.js +0 -2
  972. package/dist/core/p-58911028.entry.js.map +0 -1
  973. package/dist/core/p-617b0dbe.entry.js +0 -2
  974. package/dist/core/p-617b0dbe.entry.js.map +0 -1
  975. package/dist/core/p-6781bfc0.entry.js +0 -2
  976. package/dist/core/p-6781bfc0.entry.js.map +0 -1
  977. package/dist/core/p-67d1e6e2.entry.js.map +0 -1
  978. package/dist/core/p-6e42a12a.entry.js +0 -2
  979. package/dist/core/p-6e42a12a.entry.js.map +0 -1
  980. package/dist/core/p-6f173022.entry.js.map +0 -1
  981. package/dist/core/p-7099beb0.entry.js +0 -2
  982. package/dist/core/p-7099beb0.entry.js.map +0 -1
  983. package/dist/core/p-715c0e2e.entry.js.map +0 -1
  984. package/dist/core/p-7387370c.entry.js.map +0 -1
  985. package/dist/core/p-768fe015.entry.js +0 -2
  986. package/dist/core/p-768fe015.entry.js.map +0 -1
  987. package/dist/core/p-7a3d4b6b.entry.js +0 -2
  988. package/dist/core/p-7a3d4b6b.entry.js.map +0 -1
  989. package/dist/core/p-7f4cf2f9.entry.js +0 -2
  990. package/dist/core/p-7f4cf2f9.entry.js.map +0 -1
  991. package/dist/core/p-8161e1fe.entry.js.map +0 -1
  992. package/dist/core/p-820eb0fb.entry.js +0 -2
  993. package/dist/core/p-820eb0fb.entry.js.map +0 -1
  994. package/dist/core/p-8655fd24.entry.js.map +0 -1
  995. package/dist/core/p-8f6172d4.entry.js +0 -2
  996. package/dist/core/p-8f6172d4.entry.js.map +0 -1
  997. package/dist/core/p-90cd5ffe.entry.js +0 -2
  998. package/dist/core/p-90cd5ffe.entry.js.map +0 -1
  999. package/dist/core/p-98314c19.entry.js +0 -2
  1000. package/dist/core/p-98314c19.entry.js.map +0 -1
  1001. package/dist/core/p-ac962619.entry.js +0 -2
  1002. package/dist/core/p-ac962619.entry.js.map +0 -1
  1003. package/dist/core/p-ae6d0bcd.entry.js +0 -2
  1004. package/dist/core/p-ae6d0bcd.entry.js.map +0 -1
  1005. package/dist/core/p-b3b517f0.entry.js.map +0 -1
  1006. package/dist/core/p-b7306a6f.entry.js +0 -2
  1007. package/dist/core/p-b7306a6f.entry.js.map +0 -1
  1008. package/dist/core/p-b93548cc.entry.js.map +0 -1
  1009. package/dist/core/p-be3bbe06.entry.js +0 -2
  1010. package/dist/core/p-be3bbe06.entry.js.map +0 -1
  1011. package/dist/core/p-cf06a38b.entry.js +0 -2
  1012. package/dist/core/p-cf06a38b.entry.js.map +0 -1
  1013. package/dist/core/p-dec65494.entry.js.map +0 -1
  1014. package/dist/core/p-df09f0be.entry.js +0 -2
  1015. package/dist/core/p-df09f0be.entry.js.map +0 -1
  1016. package/dist/core/p-e0634fae.entry.js +0 -2
  1017. package/dist/core/p-e0634fae.entry.js.map +0 -1
  1018. package/dist/core/p-e1b2af6b.entry.js.map +0 -1
  1019. package/dist/core/p-e29cd545.entry.js +0 -2
  1020. package/dist/core/p-e29cd545.entry.js.map +0 -1
  1021. package/dist/core/p-e5e7abe0.entry.js +0 -2
  1022. package/dist/core/p-e5e7abe0.entry.js.map +0 -1
  1023. package/dist/core/p-e7f889c7.entry.js.map +0 -1
  1024. package/dist/core/p-ebd3d25f.entry.js +0 -2
  1025. package/dist/core/p-ebd3d25f.entry.js.map +0 -1
  1026. package/dist/core/p-f067af74.entry.js.map +0 -1
  1027. package/dist/core/p-f58a20af.entry.js.map +0 -1
  1028. package/dist/core/p-fe3bd57c.entry.js +0 -2
  1029. package/dist/core/p-fe3bd57c.entry.js.map +0 -1
  1030. package/dist/dist/components/gov-accordion-item.d.ts +0 -11
  1031. package/dist/dist/components/gov-accordion.d.ts +0 -11
  1032. package/dist/dist/components/gov-app.d.ts +0 -11
  1033. package/dist/dist/components/gov-attachments-item.d.ts +0 -11
  1034. package/dist/dist/components/gov-attachments.d.ts +0 -11
  1035. package/dist/dist/components/gov-backdrop.d.ts +0 -11
  1036. package/dist/dist/components/gov-banner.d.ts +0 -11
  1037. package/dist/dist/components/gov-blockquote.d.ts +0 -11
  1038. package/dist/dist/components/gov-breadcrumbs.d.ts +0 -11
  1039. package/dist/dist/components/gov-button.d.ts +0 -11
  1040. package/dist/dist/components/gov-card.d.ts +0 -11
  1041. package/dist/dist/components/gov-chip.d.ts +0 -11
  1042. package/dist/dist/components/gov-collapsible.d.ts +0 -11
  1043. package/dist/dist/components/gov-container.d.ts +0 -11
  1044. package/dist/dist/components/gov-control-group.d.ts +0 -11
  1045. package/dist/dist/components/gov-cookiebar.d.ts +0 -11
  1046. package/dist/dist/components/gov-dialog.d.ts +0 -11
  1047. package/dist/dist/components/gov-dropdown.d.ts +0 -11
  1048. package/dist/dist/components/gov-empty.d.ts +0 -11
  1049. package/dist/dist/components/gov-error-code.d.ts +0 -11
  1050. package/dist/dist/components/gov-flex.d.ts +0 -11
  1051. package/dist/dist/components/gov-form-autocomplete.d.ts +0 -11
  1052. package/dist/dist/components/gov-form-checkbox-group.d.ts +0 -11
  1053. package/dist/dist/components/gov-form-checkbox.d.ts +0 -11
  1054. package/dist/dist/components/gov-form-control.d.ts +0 -11
  1055. package/dist/dist/components/gov-form-file.d.ts +0 -11
  1056. package/dist/dist/components/gov-form-group.d.ts +0 -11
  1057. package/dist/dist/components/gov-form-input.d.ts +0 -11
  1058. package/dist/dist/components/gov-form-label.d.ts +0 -11
  1059. package/dist/dist/components/gov-form-message.d.ts +0 -11
  1060. package/dist/dist/components/gov-form-multi-select.d.ts +0 -11
  1061. package/dist/dist/components/gov-form-password-power.d.ts +0 -11
  1062. package/dist/dist/components/gov-form-radio-group.d.ts +0 -11
  1063. package/dist/dist/components/gov-form-radio.d.ts +0 -11
  1064. package/dist/dist/components/gov-form-range.d.ts +0 -11
  1065. package/dist/dist/components/gov-form-search.d.ts +0 -11
  1066. package/dist/dist/components/gov-form-select.d.ts +0 -11
  1067. package/dist/dist/components/gov-form-switch.d.ts +0 -11
  1068. package/dist/dist/components/gov-grid-item.d.ts +0 -11
  1069. package/dist/dist/components/gov-grid.d.ts +0 -11
  1070. package/dist/dist/components/gov-icon.d.ts +0 -11
  1071. package/dist/dist/components/gov-infobar.d.ts +0 -11
  1072. package/dist/dist/components/gov-layout-column.d.ts +0 -11
  1073. package/dist/dist/components/gov-layout.d.ts +0 -11
  1074. package/dist/dist/components/gov-lifecycle.d.ts +0 -11
  1075. package/dist/dist/components/gov-link.d.ts +0 -11
  1076. package/dist/dist/components/gov-loading.d.ts +0 -11
  1077. package/dist/dist/components/gov-message.d.ts +0 -11
  1078. package/dist/dist/components/gov-pagination.d.ts +0 -11
  1079. package/dist/dist/components/gov-skeleton.d.ts +0 -11
  1080. package/dist/dist/components/gov-spacer.d.ts +0 -11
  1081. package/dist/dist/components/gov-stepper-item.d.ts +0 -11
  1082. package/dist/dist/components/gov-stepper.d.ts +0 -11
  1083. package/dist/dist/components/gov-tabs-item.d.ts +0 -11
  1084. package/dist/dist/components/gov-tabs.d.ts +0 -11
  1085. package/dist/dist/components/gov-tag.d.ts +0 -11
  1086. package/dist/dist/components/gov-theme-switch.d.ts +0 -11
  1087. package/dist/dist/components/gov-tile.d.ts +0 -11
  1088. package/dist/dist/components/gov-toast.d.ts +0 -11
  1089. package/dist/dist/components/gov-tooltip-content.d.ts +0 -11
  1090. package/dist/dist/components/gov-tooltip.d.ts +0 -11
  1091. package/dist/dist/components/gov-wizard-item.d.ts +0 -11
  1092. package/dist/dist/components/gov-wizard.d.ts +0 -11
  1093. package/dist/dist/components/index.d.ts +0 -33
  1094. package/dist/dist/dist/components/index.d.ts +0 -33
  1095. package/dist/dist/dist/globals.d.ts +0 -2
  1096. package/dist/dist/dist/hydrate/index.d.ts +0 -273
  1097. package/dist/dist/dist/types/interfaces.d.ts +0 -1
  1098. package/dist/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
  1099. package/dist/dist/globals.d.ts +0 -2
  1100. package/dist/dist/hydrate/index.d.ts +0 -273
  1101. package/dist/dist/types/components/gov-accordion/constants.d.ts +0 -19
  1102. package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -43
  1103. package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -26
  1104. package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
  1105. package/dist/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1106. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1107. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1108. package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1109. package/dist/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1110. package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -32
  1111. package/dist/dist/types/components/gov-banner/constants.d.ts +0 -26
  1112. package/dist/dist/types/components/gov-banner/gov-banner.d.ts +0 -28
  1113. package/dist/dist/types/components/gov-blockquote/constants.d.ts +0 -10
  1114. package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +0 -15
  1115. package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1116. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1117. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -42
  1118. package/dist/dist/types/components/gov-button/button/constants.d.ts +0 -29
  1119. package/dist/dist/types/components/gov-button/button/gov-button.d.ts +0 -133
  1120. package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
  1121. package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
  1122. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -40
  1123. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
  1124. package/dist/dist/types/components/gov-card/constants.d.ts +0 -16
  1125. package/dist/dist/types/components/gov-card/gov-card.d.ts +0 -57
  1126. package/dist/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1127. package/dist/dist/types/components/gov-chip/constants.d.ts +0 -21
  1128. package/dist/dist/types/components/gov-chip/gov-chip.d.ts +0 -82
  1129. package/dist/dist/types/components/gov-collapsible/constants.d.ts +0 -18
  1130. package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +0 -36
  1131. package/dist/dist/types/components/gov-container/constants.d.ts +0 -3
  1132. package/dist/dist/types/components/gov-container/gov-container.d.ts +0 -6
  1133. package/dist/dist/types/components/gov-control-group/constants.d.ts +0 -7
  1134. package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -24
  1135. package/dist/dist/types/components/gov-cookiebar/constants.d.ts +0 -7
  1136. package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1137. package/dist/dist/types/components/gov-dialog/constants.d.ts +0 -11
  1138. package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +0 -70
  1139. package/dist/dist/types/components/gov-empty/constants.d.ts +0 -19
  1140. package/dist/dist/types/components/gov-empty/gov-empty.d.ts +0 -21
  1141. package/dist/dist/types/components/gov-error-code/constants.d.ts +0 -4
  1142. package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1143. package/dist/dist/types/components/gov-flex/constants.d.ts +0 -7
  1144. package/dist/dist/types/components/gov-flex/gov-flex.d.ts +0 -39
  1145. package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -11
  1146. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -149
  1147. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
  1148. package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +0 -10
  1149. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -86
  1150. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
  1151. package/dist/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1152. package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -40
  1153. package/dist/dist/types/components/gov-form/file/constants.d.ts +0 -7
  1154. package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -129
  1155. package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
  1156. package/dist/dist/types/components/gov-form/group/constants.d.ts +0 -18
  1157. package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +0 -32
  1158. package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
  1159. package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +0 -7
  1160. package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +0 -32
  1161. package/dist/dist/types/components/gov-form/input/constants.d.ts +0 -28
  1162. package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -178
  1163. package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
  1164. package/dist/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1165. package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1166. package/dist/dist/types/components/gov-form/message/constants.d.ts +0 -11
  1167. package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -23
  1168. package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +0 -10
  1169. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -127
  1170. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -10
  1171. package/dist/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1172. package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1173. package/dist/dist/types/components/gov-form/radio/constants.d.ts +0 -10
  1174. package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -83
  1175. package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
  1176. package/dist/dist/types/components/gov-form/range/constants.d.ts +0 -9
  1177. package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +0 -116
  1178. package/dist/dist/types/components/gov-form/search/constants.d.ts +0 -10
  1179. package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -13
  1180. package/dist/dist/types/components/gov-form/select/constants.d.ts +0 -8
  1181. package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -89
  1182. package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
  1183. package/dist/dist/types/components/gov-form/switch/constants.d.ts +0 -12
  1184. package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -81
  1185. package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
  1186. package/dist/dist/types/components/gov-grid/constants.d.ts +0 -10
  1187. package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -46
  1188. package/dist/dist/types/components/gov-grid/gov-grid.d.ts +0 -19
  1189. package/dist/dist/types/components/gov-icon/constants.d.ts +0 -18
  1190. package/dist/dist/types/components/gov-icon/gov-icon.d.ts +0 -34
  1191. package/dist/dist/types/components/gov-icon/helpers.d.ts +0 -6
  1192. package/dist/dist/types/components/gov-icon/list.d.ts +0 -3
  1193. package/dist/dist/types/components/gov-infobar/constants.d.ts +0 -16
  1194. package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -51
  1195. package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
  1196. package/dist/dist/types/components/gov-layout/constants.d.ts +0 -20
  1197. package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1198. package/dist/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1199. package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
  1200. package/dist/dist/types/components/gov-link/constants.d.ts +0 -8
  1201. package/dist/dist/types/components/gov-link/gov-link.d.ts +0 -34
  1202. package/dist/dist/types/components/gov-loading/loading/constants.d.ts +0 -9
  1203. package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -13
  1204. package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -21
  1205. package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -46
  1206. package/dist/dist/types/components/gov-message/constants.d.ts +0 -13
  1207. package/dist/dist/types/components/gov-message/gov-message.d.ts +0 -16
  1208. package/dist/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1209. package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -97
  1210. package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
  1211. package/dist/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1212. package/dist/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1213. package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1214. package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +0 -21
  1215. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +0 -4
  1216. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +0 -31
  1217. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +0 -22
  1218. package/dist/dist/types/components/gov-tabs/constants.d.ts +0 -28
  1219. package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -54
  1220. package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -70
  1221. package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -14
  1222. package/dist/dist/types/components/gov-tag/constants.d.ts +0 -12
  1223. package/dist/dist/types/components/gov-tag/gov-tag.d.ts +0 -35
  1224. package/dist/dist/types/components/gov-theme-switch/constants.d.ts +0 -12
  1225. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +0 -46
  1226. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +0 -10
  1227. package/dist/dist/types/components/gov-tile/constants.d.ts +0 -13
  1228. package/dist/dist/types/components/gov-tile/gov-tile.d.ts +0 -34
  1229. package/dist/dist/types/components/gov-toast/constants.d.ts +0 -17
  1230. package/dist/dist/types/components/gov-toast/gov-toast.d.ts +0 -58
  1231. package/dist/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1232. package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
  1233. package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -58
  1234. package/dist/dist/types/components/gov-wizard/constants.d.ts +0 -19
  1235. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
  1236. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -60
  1237. package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
  1238. package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -35
  1239. package/dist/dist/types/core/constants/colors.d.ts +0 -13
  1240. package/dist/dist/types/core/constants/sizes.d.ts +0 -13
  1241. package/dist/dist/types/core/constants/tags.d.ts +0 -12
  1242. package/dist/dist/types/core/constants/tokens.d.ts +0 -1
  1243. package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +0 -1
  1244. package/dist/dist/types/helpers/Accessibility/attributes.d.ts +0 -1
  1245. package/dist/dist/types/helpers/Dom/attribute.d.ts +0 -13
  1246. package/dist/dist/types/helpers/Dom/document.d.ts +0 -4
  1247. package/dist/dist/types/helpers/Dom/form.d.ts +0 -3
  1248. package/dist/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1249. package/dist/dist/types/helpers/Dom/template.d.ts +0 -10
  1250. package/dist/dist/types/helpers/Dom/template.types.d.ts +0 -14
  1251. package/dist/dist/types/helpers/Dom/win.d.ts +0 -18
  1252. package/dist/dist/types/helpers/Fragment.d.ts +0 -2
  1253. package/dist/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1254. package/dist/dist/types/helpers/Validate/props.d.ts +0 -1
  1255. package/dist/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1256. package/dist/dist/types/index.d.ts +0 -0
  1257. package/dist/dist/types/interfaces.d.ts +0 -1
  1258. package/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
  1259. package/dist/dist/types/types/event.types.d.ts +0 -4
  1260. package/dist/dist/types/types/interfaces.d.ts +0 -2
  1261. package/dist/dist/types/types/typings.d.ts +0 -6
  1262. package/dist/dist/types/utils/array.utils.d.ts +0 -2
  1263. package/dist/dist/types/utils/bool.utils.d.ts +0 -1
  1264. package/dist/dist/types/utils/dom.utils.d.ts +0 -1
  1265. package/dist/dist/types/utils/ds.utils.d.ts +0 -1
  1266. package/dist/dist/types/utils/file.utils.d.ts +0 -3
  1267. package/dist/dist/types/utils/helpers.types.d.ts +0 -49
  1268. package/dist/dist/types/utils/icon.utils.d.ts +0 -4
  1269. package/dist/dist/types/utils/number.utils.d.ts +0 -1
  1270. package/dist/dist/types/utils/object.utils.d.ts +0 -2
  1271. package/dist/dist/types/utils/stencil.utils.d.ts +0 -1
  1272. package/dist/dist/types/utils/string.utils.d.ts +0 -4
  1273. package/dist/dist/types/utils/utils.d.ts +0 -20
  1274. package/dist/types/Users/KameraT/Desktop/Projects/DIA/Sarka/designSystemFinal/gov-design-system/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
@@ -1 +1 @@
1
- {"version":3,"names":["GovFormRadio","constructor","hostRef","this","hydrated","noLabel","checked","required","disabled","size","inheritedAttributes","radioId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormRadioSizes","FormRadioClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","invalid","componentWillLoad","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","connectedCallback","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","render","wrapRadio","children","class","label","Host","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/radio/gov-form-radio.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\r\nimport {createID} from \"../../../utils/string.utils\"\r\nimport {validateProp} from \"../../../helpers/Validate/props\"\r\nimport {FormRadioClass, FormRadioSizes, FormRadioSizesType} from \"./constants\"\r\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\r\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\r\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\r\nimport {govForm} from \"../../../helpers/Dom/form\"\r\nimport Fragment from \"../../../helpers/Fragment\"\r\nimport {FormRadioEvent} from \"./gov-form-radio.types\"\r\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\r\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\r\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\r\n\r\n@Component({\r\n\ttag: \"gov-form-radio\",\r\n})\r\nexport class GovFormRadio {\r\n\tprivate readonly h: GovHost\r\n\tprivate f: GovForm\r\n\tprivate inputRef?: HTMLInputElement\r\n\tprivate attributeObserver: AttributeObserver\r\n\r\n\tprivate readonly radioId: string\r\n\tprivate hydrated = false\r\n\r\n\tconstructor() {\r\n\t\tthis.radioId = createID(\"GovRadio\")\r\n\r\n\t\tthis.h = govHost(this.host)\r\n\t\tthis.f = govForm(this.h)\r\n\t}\r\n\r\n\t@Element() host: HTMLGovFormRadioElement\r\n\t/**\r\n\t * Value of radio\r\n\t */\r\n\t@Prop() readonly value: string\r\n\t/**\r\n\t * When you can't use the form label.\r\n\t */\r\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\r\n\t/**\r\n\t * Radio button state\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) checked = false\r\n\t/**\r\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\r\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\r\n\t */\r\n\t@Prop() readonly required: boolean = false\r\n\t/**\r\n\t * Makes the radio component disabled.\r\n\t * This prevents users from being able to interact with the radio, 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 * Name of the radio.\r\n\t */\r\n\t@Prop() readonly name: string\r\n\t/**\r\n\t * Radio's size.\r\n\t */\r\n\t@Prop() readonly size?: FormRadioSizesType = \"m\"\r\n\t/**\r\n\t * Custom radio identifier.\r\n\t */\r\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\r\n\t/**\r\n\t * Indicates the entered value does not conform to the format expected by the application.\r\n\t */\r\n\t@Prop() readonly invalid: boolean\r\n\t/**\r\n\t * Emitted when the radio has focus.\r\n\t */\r\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormRadioEvent>\r\n\t/**\r\n\t * Emitted when the radio loses focus.\r\n\t */\r\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormRadioEvent>\r\n\t/**\r\n\t * Emitted when the radio change value.\r\n\t */\r\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioEvent>\r\n\r\n\t@Watch(\"size\")\r\n\tvalidateSize(newValue: string): void {\r\n\t\tvalidateProp(FormRadioSizes, newValue, FormRadioClass.root)\r\n\t}\r\n\r\n\t@Watch(\"disabled\")\r\n\t@Watch(\"invalid\")\r\n\t@Watch(\"size\")\r\n\twatchControlAttrs(): void {\r\n\t\tthis.passControlAttrs()\r\n\t}\r\n\r\n\t@State() inheritedAttributes: Attributes = {}\r\n\r\n\tprivate passControlAttrs() {\r\n\t\tthis.f.passAttrToControl(\"size\", this.size)\r\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\r\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\r\n\t\tthis.f.passAttrToControl(\"type\", \"radio\")\r\n\t}\r\n\r\n\r\n\tcomponentWillLoad() {\r\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\r\n\t}\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\tasync componentDidRender() {\r\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.radioId)\r\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\r\n\t\tthis.passControlAttrs()\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tthis.hydrated = true\r\n\t}\r\n\r\n\tdisconnectedCallback() {\r\n\t\tthis.attributeObserver?.stopObserving();\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\trender() {\r\n\t\tconst wrapRadio = (children) => {\r\n\t\t\tif (this.noLabel) {\r\n\t\t\t\treturn <label class={FormRadioClass.label}>{children}</label>\r\n\t\t\t}\r\n\t\t\treturn children\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={FormRadioClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\r\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}>\r\n\t\t\t\t{wrapRadio(\r\n\t\t\t\t\t<Fragment>\r\n\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\tclass={FormRadioClass.input}\r\n\t\t\t\t\t\t\tid={this.identifier || this.radioId}\r\n\t\t\t\t\t\t\ttype=\"radio\"\r\n\t\t\t\t\t\t\tvalue={this.value}\r\n\t\t\t\t\t\t\tname={this.name}\r\n\t\t\t\t\t\t\tchecked={this.checked}\r\n\t\t\t\t\t\t\tdisabled={this.disabled}\r\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\r\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\r\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\r\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\r\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\r\n\t\t\t\t\t\t\trequired={this.required}\r\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\r\n\t\t\t\t\t\t\taria-checked={this.checked}\r\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\r\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\r\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t<slot name=\"label\"/>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</Fragment>,\r\n\t\t\t\t)}\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\tprivate onClickHandler(e: PointerEvent) {\r\n\t\te.stopPropagation()\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: FormRadioClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\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: FormRadioClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\r\n\t\t})\r\n\t}\r\n\r\n\tprivate onChangeHandler(e: Event) {\r\n\t\tthis.checked = (e.target as HTMLInputElement).checked\r\n\t\te.stopPropagation()\r\n\t\tthis.govChange.emit({\r\n\t\t\tcomponent: FormRadioClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\r\n\t\t})\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the reference of the native element\r\n\t */\r\n\t@Method()\r\n\tasync getRef(): Promise<HTMLInputElement> {\r\n\t\treturn this.inputRef\r\n\t}\r\n}\r\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["GovFormRadio","constructor","hostRef","this","hydrated","noLabel","checked","required","disabled","size","inheritedAttributes","radioId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormRadioSizes","FormRadioClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","invalid","componentWillLoad","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","connectedCallback","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","render","wrapRadio","children","class","label","Host","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/radio/gov-form-radio.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioClass, FormRadioSizes, FormRadioSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormRadioEvent} from \"./gov-form-radio.types\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-radio\",\n})\nexport class GovFormRadio {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly radioId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.radioId = createID(\"GovRadio\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormRadioElement\n\t/**\n\t * Value of radio\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Radio button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the radio component disabled.\n\t * This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Name of the radio.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Radio's size.\n\t */\n\t@Prop() readonly size?: FormRadioSizesType = \"m\"\n\t/**\n\t * Custom radio identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the radio has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormRadioSizes, newValue, FormRadioClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"radio\")\n\t}\n\n\n\tcomponentWillLoad() {\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\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\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.radioId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\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\trender() {\n\t\tconst wrapRadio = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn <label class={FormRadioClass.label}>{children}</label>\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormRadioClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapRadio(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={FormRadioClass.input}\n\t\t\t\t\t\t\tid={this.identifier || this.radioId}\n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as s,H as e,g as i,c as n}from"./p-ClISz4NF.js";import{S as o}from"./p-BcQO4NH2.js";import{g as a}from"./p-CoD1xawt.js";import{p as c}from"./p-CQvUntGY.js";import{C as r}from"./p-U40vKHrs.js";import{i as h,a as l,b as f}from"./p-CgDnDrq5.js";import{v as u}from"./p-NOJjz9dT.js";const m={root:"gov-flex"};const d=class{constructor(s){t(this,s);this.direction="row";this.responsive="true";this.h=a(this.host)}render(){return s(e,{key:"1c88a4c6aaf69a13c514bc24c10fd2a32316a7c0",class:this.h.classes(m.root)},s("slot",{key:"b055e2aff7056be660e53d5036341fbaabe796b1"}))}get host(){return i(this)}};c(o,["_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL","_5XL"]);const p=c(r,["DEFAULT","PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING","DISABLED","WHITE","BLACK"]);var b;(function(t){t["BASIC"]="basic";t["COMPLEX"]="complex";t["COLORED"]="colored"})(b||(b={}));const v={root:"gov-icon"};const g="4.6.0";const w=()=>g;const _={};const y={};const S=t=>t.startsWith("http://")||t.startsWith("https://");const C=(t,s,e)=>{if(S(t)){return`${t}/${e}/${s}.svg?v=${w()}`}return`${t}/${e}/${s}.svg`+`?v=${w()}`};async function k({name:t,type:s}){const e=s+"-"+t;if(_[e]){return _[e]}if(!y[e]){y[e]=fetch(C(h(),t,s)).then((t=>{if(t.status===200){return t.text()}else{throw new Error("Gov Icon doesn't exists")}}))}const i=await y[e];_[e]=i;return i}const L=(t,s,e)=>{if(!l){return}let i="";document.cookie=`${t}=${encodeURIComponent(s)}${i}; path=/`};const D=t=>{if(!l){return null}const s=t+"=";const e=document.cookie.split(";");for(let t=0;t<e.length;t++){let i=e[t].trim();if(i.startsWith(s)){return decodeURIComponent(i.substring(s.length))}}return null};const I=t=>{try{const s=new DOMParser;const e=s.parseFromString(t,"image/svg+xml");const i=e.querySelector("parsererror");if(i){return false}const n=e.documentElement;if(n.tagName.toLowerCase()!=="svg"){return false}return true}catch(t){return false}};const $=class{constructor(s){t(this,s);this.name=null;this.type="components";this.visible=false;this.error=false;this.h=a(this.host)}validateSize(t){u(o,t,v.root)}validateColor(t){u(p,t,v.root)}async loadIconPathData(){const{name:t,visible:s}=this;if(!t||!s){return}await this.loadIcon()}connectedCallback(){if(f()){this.visible=true;this.loadIconPathData().finally()}else{this.waitUntilVisible((async()=>{this.visible=true;await this.loadIconPathData()}))}}disconnectedCallback(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}}async componentWillLoad(){this.validateSize(this.size);this.validateColor(this.color);await this.loadIconPathData()}waitUntilVisible(t){if(typeof window==="undefined"||!window.IntersectionObserver){t();return}this.intersectionObserver=new IntersectionObserver((s=>{s.forEach((s=>{if(s.isIntersecting){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}t()}}))}),{rootMargin:"50px"});this.intersectionObserver.observe(this.host)}async loadIcon(){try{const{name:t,type:s}=this;const e=await k({name:t,type:s});const i=I(e);this.host.innerHTML=i?e:null}catch(t){this.host.innerHTML="";this.error=true}}render(){if(this.error){return null}return s(e,{class:this.h.classes(v.root),size:this.size,color:this.color})}static get assetsDirs(){return["assets"]}get host(){return i(this)}static get watchers(){return{size:["validateSize"],color:["validateColor"],name:["loadIconPathData"]}}};const j=c(o,["_XS","_S","_M","_L","_XL"]);const z={root:"gov-theme-switch",indicator:"gov-theme-switch__indicator",label:"gov-theme-switch__label",iconLight:"gov-theme-switch__icon-light",iconDark:"gov-theme-switch__icon-dark"};const R="data-theme";var E;(function(t){t["auto"]="auto";t["light"]="light";t["dark"]="dark"})(E||(E={}));const x=class{constructor(s){t(this,s);this.govChange=n(this,"gov-change");this.size="m";this.displayLabel=false;this.ariaLabelLight="Přepnout na tmavý mód";this.ariaLabelDark="Přepnout na světlý mód";this.labelLight="Světlý mód";this.labelDark="Tmavý mód";this.theme=E.auto;this.setThemeState=t=>{this.theme=t;this.govChange.emit({component:z.root,state:this.theme,ref:this.host})};this.h=a(this.host)}validateSize(t){u(j,t,z.root)}watchTheme(t){this.htmlElement.setAttribute(R,t);this.htmlElement.classList.remove(...Object.keys(E));this.htmlElement.classList.add(t);L(R,t)}get storageValue(){return D(R)}get htmlElement(){return document.documentElement}get isSystemPrefersColorDark(){return l&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}componentWillLoad(){this.initDefaultState();this.validateSize(this.size)}initDefaultState(){const t=Object.keys(E);let s=this.storageValue;const e=this.htmlElement.getAttribute(R);if(s&&t.includes(s)){this.theme=s}else if(e&&t.includes(e)){this.theme=e}else{this.theme=E.auto}}render(){let t=this.theme===E.dark;if(this.theme===E.auto){t=this.isSystemPrefersColorDark}return s(e,{key:"77b26165b2a824ff9649ac9c28d7b300cdb76280",class:this.h.classes(z.root),theme:t?E.dark:E.light,size:this.size},s("button",{key:"c46058c2a0e797fef9c7e1ab4975ff379bbc3fb4",onClick:()=>this.setThemeState(t?E.light:E.dark),"aria-current":this.theme,"aria-label":t?this.ariaLabelDark:this.ariaLabelLight},s("span",{key:"c1d8824467dc7bfa5d23f1f99db686e91e93087b"},s("span",{key:"62da0a9fecc5fc713b98ac9e4e728e3e19b9aa67",class:z.indicator},E.light&&s("gov-icon",{key:"7c9dd1cf819afbd7f63609916d6c845c2236fbca",name:"sun",class:z.iconLight,type:"components"}),E.dark&&s("gov-icon",{key:"3f1acf71f8afb5ca893c460b7d0b6e49fe6f5c2d",name:"moon",class:z.iconDark,type:"components"})),this.displayLabel?s("span",{class:z.label},t?this.labelDark:this.labelLight):null)))}get host(){return i(this)}static get watchers(){return{size:["validateSize"],theme:["watchTheme"]}}};export{d as gov_flex,$ as gov_icon,x as gov_theme_switch};
2
- //# sourceMappingURL=p-1375d52d.entry.js.map
1
+ import{r as t,h as s,H as e,g as i,c as n}from"./p-ClISz4NF.js";import{S as o}from"./p-BcQO4NH2.js";import{g as a}from"./p-CoD1xawt.js";import{p as r}from"./p-CQvUntGY.js";import{C as c}from"./p-U40vKHrs.js";import{i as h,a as l,b as f}from"./p-CgDnDrq5.js";import{v as d}from"./p-NOJjz9dT.js";const u={root:"gov-flex"};const m=class{constructor(s){t(this,s);this.direction="row";this.responsive="true";this.h=a(this.host)}render(){return s(e,{key:"a6d1aed0cf8fd8c94ef83821d142756943bc55f3",class:this.h.classes(u.root)},s("slot",{key:"34551ed862ff8384c3eade0d12762847772a0331"}))}get host(){return i(this)}};r(o,["_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL","_5XL"]);const p=r(c,["DEFAULT","PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING","DISABLED","WHITE","BLACK"]);var v;(function(t){t["BASIC"]="basic";t["COMPLEX"]="complex";t["COLORED"]="colored"})(v||(v={}));const g={root:"gov-icon"};const w="4.6.3";const b=()=>w;const _={};const y={};const S=t=>t.startsWith("http://")||t.startsWith("https://");const C=(t,s,e)=>{if(S(t)){return`${t}/${e}/${s}.svg?v=${b()}`}return`${t}/${e}/${s}.svg`+`?v=${b()}`};async function k({name:t,type:s}){const e=s+"-"+t;if(_[e]){return _[e]}if(!y[e]){y[e]=fetch(C(h(),t,s)).then((t=>{if(t.status===200){return t.text()}else{throw new Error("Gov Icon doesn't exists")}}))}const i=await y[e];_[e]=i;return i}const L=(t,s,e)=>{if(!l){return}let i="";document.cookie=`${t}=${encodeURIComponent(s)}${i}; path=/`};const D=t=>{if(!l){return null}const s=t+"=";const e=document.cookie.split(";");for(let t=0;t<e.length;t++){let i=e[t].trim();if(i.startsWith(s)){return decodeURIComponent(i.substring(s.length))}}return null};const I=t=>{try{const s=new DOMParser;const e=s.parseFromString(t,"image/svg+xml");const i=e.querySelector("parsererror");if(i){return false}const n=e.documentElement;if(n.tagName.toLowerCase()!=="svg"){return false}return true}catch(t){return false}};const $=class{constructor(s){t(this,s);this.name=null;this.type="components";this.visible=false;this.error=false;this.h=a(this.host)}validateSize(t){d(o,t,g.root)}validateColor(t){d(p,t,g.root)}async loadIconPathData(){const{name:t,visible:s}=this;if(!t||!s){return}await this.loadIcon()}connectedCallback(){if(f()){this.visible=true;this.loadIconPathData().finally()}else{this.waitUntilVisible((async()=>{this.visible=true;await this.loadIconPathData()}))}}disconnectedCallback(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}}async componentWillLoad(){this.validateSize(this.size);this.validateColor(this.color);await this.loadIconPathData()}waitUntilVisible(t){if(typeof window==="undefined"||!window.IntersectionObserver){t();return}this.intersectionObserver=new IntersectionObserver((s=>{s.forEach((s=>{if(s.isIntersecting){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}t()}}))}),{rootMargin:"50px"});this.intersectionObserver.observe(this.host)}async loadIcon(){try{const{name:t,type:s}=this;const e=await k({name:t,type:s});const i=I(e);this.host.innerHTML=i?e:null}catch(t){this.host.innerHTML="";this.error=true}}render(){if(this.error){return null}return s(e,{class:this.h.classes(g.root),size:this.size,color:this.color})}static get assetsDirs(){return["assets"]}get host(){return i(this)}static get watchers(){return{size:["validateSize"],color:["validateColor"],name:["loadIconPathData"]}}};const j=r(o,["_XS","_S","_M","_L","_XL"]);const z={root:"gov-theme-switch",indicator:"gov-theme-switch__indicator",label:"gov-theme-switch__label",iconLight:"gov-theme-switch__icon-light",iconDark:"gov-theme-switch__icon-dark"};const R="data-theme";var E;(function(t){t["auto"]="auto";t["light"]="light";t["dark"]="dark"})(E||(E={}));const x=class{constructor(s){t(this,s);this.govChange=n(this,"gov-change");this.size="m";this.displayLabel=false;this.ariaLabelLight="Přepnout na tmavý mód";this.ariaLabelDark="Přepnout na světlý mód";this.labelLight="Světlý mód";this.labelDark="Tmavý mód";this.theme=E.auto;this.setThemeState=t=>{this.theme=t;this.govChange.emit({component:z.root,state:this.theme,ref:this.host})};this.h=a(this.host)}validateSize(t){d(j,t,z.root)}watchTheme(t){this.htmlElement.setAttribute(R,t);this.htmlElement.classList.remove(...Object.keys(E));this.htmlElement.classList.add(t);L(R,t)}get storageValue(){return D(R)}get htmlElement(){return document.documentElement}get isSystemPrefersColorDark(){return l&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}componentWillLoad(){this.initDefaultState();this.validateSize(this.size)}initDefaultState(){const t=Object.keys(E);let s=this.storageValue;const e=this.htmlElement.getAttribute(R);if(s&&t.includes(s)){this.theme=s}else if(e&&t.includes(e)){this.theme=e}else{this.theme=E.auto}}render(){let t=this.theme===E.dark;if(this.theme===E.auto){t=this.isSystemPrefersColorDark}return s(e,{key:"3015dd1049b1c9a2b5902d1d56c8b3872a275c10",class:this.h.classes(z.root),theme:t?E.dark:E.light,size:this.size},s("button",{key:"ca4b331189fca45f66c4eef138db66482add2834",onClick:()=>this.setThemeState(t?E.light:E.dark),"aria-current":this.theme,"aria-label":t?this.ariaLabelDark:this.ariaLabelLight},s("span",{key:"ed2a779f1e9fe1a0e722439598c9a413e9b39071"},s("span",{key:"f58e164a6b1b389ecfe93f7d2673ea5749a8fd96",class:z.indicator},E.light&&s("gov-icon",{key:"24663f2d33ea2bead59df37fef9932e549070ce4",name:"sun",class:z.iconLight,type:"components"}),E.dark&&s("gov-icon",{key:"a4482c64c35b9c70122a687aca4bb90bfa1000f3",name:"moon",class:z.iconDark,type:"components"})),this.displayLabel?s("span",{class:z.label},t?this.labelDark:this.labelLight):null)))}get host(){return i(this)}static get watchers(){return{size:["validateSize"],theme:["watchTheme"]}}};export{m as gov_flex,$ as gov_icon,x as gov_theme_switch};
2
+ //# sourceMappingURL=p-469f14db.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FlexClass","root","GovFlex","constructor","hostRef","this","direction","responsive","h","govHost","host","render","Host","key","class","classes","pick","Sizes","IconColors","Colors","Types","IconClass","dsVersion","version","iconCache","requestCache","isExternalUrl","path","startsWith","iconUrl","name","type","async","fetchIcon","cacheKey","fetch","iconsPath","then","resp","status","text","Error","setCookie","value","days","isWindow","expires","document","cookie","encodeURIComponent","getCookie","nameEQ","cookies","split","i","length","trim","decodeURIComponent","substring","isValidSVG","svgContent","parser","DOMParser","doc","parseFromString","parseError","querySelector","svgElement","documentElement","tagName","toLowerCase","error","GovIcon","visible","validateSize","newValue","validateProp","validateColor","loadIconPathData","loadIcon","connectedCallback","iconsLazyLoad","finally","waitUntilVisible","disconnectedCallback","intersectionObserver","disconnect","componentWillLoad","size","color","callback","window","IntersectionObserver","entries","forEach","entry","isIntersecting","rootMargin","observe","data","isValid","innerHTML","e","ThemeSwitchSizes","ThemeSwitchClass","indicator","label","iconLight","iconDark","ATTRIBUTE_THEME_NAME","ThemeList","GovThemeSwitch","displayLabel","ariaLabelLight","ariaLabelDark","labelLight","labelDark","theme","auto","setThemeState","state","govChange","emit","component","ref","watchTheme","htmlElement","setAttribute","classList","remove","Object","keys","add","storageValue","isSystemPrefersColorDark","matchMedia","matches","initDefaultState","options","currentState","htmlState","getAttribute","includes","isDark","dark","light","onClick"],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop({reflect: true}) direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\t/**\n\t * Option to turn off responsive\n\t */\n\t@Prop({reflect: true}) readonly responsive: string = \"true\"\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import {dsVersion} from \"./ds.utils\"\nimport {iconsPath} from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n if (isExternalUrl(path)) {\n return `${path}/${type}/${name}.svg?v=${dsVersion()}`\n }\n return `${path}/${type}/${name}.svg` + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({name, type}: { name: string; type: string }): Promise<string> {\n const cacheKey = type + \"-\" + name\n if (iconCache[cacheKey]) {\n return iconCache[cacheKey]\n }\n\n if (!requestCache[cacheKey]) {\n requestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n if (resp.status === 200) {\n return resp.text()\n } else {\n throw new Error(\"Gov Icon doesn't exists\")\n }\n })\n }\n const path = await requestCache[cacheKey]\n iconCache[cacheKey] = path\n return path\n}\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass, IconColors, type IconColorType, IconSizesType} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {isValidSVG} from \"../../helpers/Dom/document\";\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Icon size\n\t */\n\t@Prop({reflect: true}) readonly size?: IconSizesType\n\t/**\n\t * Icon color\n\t */\n\t@Prop({reflect: true}) readonly color?: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"components\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isValidSVG(data)\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}/>\n\t\t)\n\t}\n}\n","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\tlabel: 'gov-theme-switch__label',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přepnout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel ? (\n\t\t\t\t\t\t\t<span class={ThemeSwitchClass.label}>\n\t\t\t\t\t\t\t\t{isDark ? this.labelDark : this.labelLight}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t) : null\n\t\t\t\t\t\t}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"sSAMO,MAAMA,EAAY,CACxBC,KAAM,Y,MCCMC,EAAO,MAGnB,WAAAC,CAAAC,G,UASuBC,KAASC,UAAyD,MAkDzDD,KAAUE,WAAW,OA1DpDF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CA2DD,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOT,KAAKG,EAAEO,QAAQf,EAAUC,OACrCO,EAAa,QAAAK,IAAA,6C,6BCtEQG,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,MAAO,OAAQ,OAAQ,OAAQ,SAGvF,MAAMC,EAAaF,EAAKG,EAAQ,CACtC,UACA,UACA,YACA,UACA,QACA,UACA,UACA,WACA,QACA,UAID,IAAKC,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,qBACAA,EAAA,oBACA,EAJD,CAAKA,MAIJ,KAGM,MAAMC,EAAY,CACxBpB,KAAM,Y,gBC5BA,MAAMqB,EAAY,IACjBC,ECAR,MAAMC,EAAuC,GAC7C,MAAMC,EAAmD,GAEzD,MAAMC,EAAiBC,GAAiBA,EAAKC,WAAW,YAAcD,EAAKC,WAAW,YACtF,MAAMC,EAAU,CAACF,EAAcG,EAAcC,KACzC,GAAIL,EAAcC,GAAO,CACrB,MAAO,GAAGA,KAAQI,KAAQD,WAAcR,K,CAE5C,MAAO,GAAGK,KAAQI,KAAQD,QAAa,MAAMR,KAAa,EAGvDU,eAAeC,GAAUH,KAACA,EAAIC,KAAEA,IACnC,MAAMG,EAAWH,EAAO,IAAMD,EAC9B,GAAIN,EAAUU,GAAW,CACrB,OAAOV,EAAUU,E,CAGrB,IAAKT,EAAaS,GAAW,CACzBT,EAAaS,GAAYC,MAAMN,EAAQO,IAAaN,EAAMC,IAAOM,MAAKC,IAClE,GAAIA,EAAKC,SAAW,IAAK,CACrB,OAAOD,EAAKE,M,KACT,CACH,MAAM,IAAIC,MAAM,0B,KAI5B,MAAMd,QAAaF,EAAaS,GAChCV,EAAUU,GAAYP,EACtB,OAAOA,CACX,CC7BO,MAAMe,EAAY,CAACZ,EAAca,EAAeC,KACtD,IAAKC,EAAU,CACd,M,CAED,IAAIC,EAAU,GAMdC,SAASC,OAAS,GAAGlB,KAAQmB,mBAAmBN,KAASG,WAAiB,EAGpE,MAAMI,EAAapB,IACzB,IAAKe,EAAU,CACd,OAAO,I,CAER,MAAMM,EAASrB,EAAO,IACtB,MAAMsB,EAAUL,SAASC,OAAOK,MAAM,KACtC,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAQG,OAAQD,IAAK,CACxC,IAAIN,EAASI,EAAQE,GAAGE,OACxB,GAAIR,EAAOpB,WAAWuB,GAAS,CAC9B,OAAOM,mBAAmBT,EAAOU,UAAUP,EAAOI,Q,EAGpD,OAAO,IAAI,EAGL,MAAMI,EAAcC,IAC1B,IACC,MAAMC,EAAS,IAAIC,UACnB,MAAMC,EAAMF,EAAOG,gBAAgBJ,EAAY,iBAC/C,MAAMK,EAAaF,EAAIG,cAAc,eACrC,GAAID,EAAY,CACf,OAAO,K,CAER,MAAME,EAAaJ,EAAIK,gBACvB,GAAID,EAAWE,QAAQC,gBAAkB,MAAO,CAC/C,OAAO,K,CAER,OAAO,I,CACN,MAAOC,GACR,OAAO,K,SC/BIC,EAAO,MAInB,WAAArE,CAAAC,G,UAgBuBC,KAAIyB,KAAW,KAIfzB,KAAI0B,KAAG,aAEb1B,KAAOoE,QAAG,MACVpE,KAAKkE,MAAG,MAtBxBlE,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAwBD,YAAAgE,CAAaC,GACZC,EAAa3D,EAAO0D,EAAUtD,EAAUpB,K,CAIzC,aAAA4E,CAAcF,GACbC,EAAa1D,EAAYyD,EAAUtD,EAAUpB,K,CAItC,sBAAM6E,GACb,MAAMhD,KAACA,EAAI2C,QAAEA,GAAWpE,KACxB,IAAyByB,IAAS2C,EAAS,CAC1C,M,OAEKpE,KAAK0E,U,CAGZ,iBAAAC,GACC,GAAIC,IAAiB,CACpB5E,KAAKoE,QAAU,KACfpE,KAAKyE,mBAAmBI,S,KAClB,CACN7E,KAAK8E,kBAAiBnD,UACrB3B,KAAKoE,QAAU,WACTpE,KAAKyE,kBAAkB,G,EAKhC,oBAAAM,GACC,GAAI/E,KAAKgF,qBAAsB,CAC9BhF,KAAKgF,qBAAqBC,aAC1BjF,KAAKgF,qBAAuB,I,EAI9B,uBAAME,GACLlF,KAAKqE,aAAarE,KAAKmF,MACvBnF,KAAKwE,cAAcxE,KAAKoF,aAClBpF,KAAKyE,kB,CAGJ,gBAAAK,CAAiBO,GACxB,UAA+BC,SAAW,cAAiBA,OAAeC,qBAAsB,CAC/FF,IACA,M,CAEDrF,KAAKgF,qBAAuB,IAAIO,sBAC/BC,IACCA,EAAQC,SAAQC,IACf,GAAIA,EAAMC,eAAgB,CACzB,GAAI3F,KAAKgF,qBAAsB,CAC9BhF,KAAKgF,qBAAqBC,aAC1BjF,KAAKgF,qBAAuB,I,CAE7BK,G,IAEA,GAEH,CAACO,WAAY,SAEd5F,KAAKgF,qBAAqBa,QAAQ7F,KAAKK,K,CAGhC,cAAMqE,GACb,IACC,MAAMjD,KAACA,EAAIC,KAAEA,GAAQ1B,KACrB,MAAM8F,QAAalE,EAAU,CAACH,OAAMC,SACpC,MAAMqE,EAAUzC,EAAWwC,GAC3B9F,KAAKK,KAAK2F,UAAYD,EAAUD,EAAO,I,CACtC,MAAOG,GACRjG,KAAKK,KAAK2F,UAAY,GACtBhG,KAAKkE,MAAQ,I,EAIf,MAAA5D,GACC,GAAIN,KAAKkE,MAAO,CACf,OAAO,I,CAER,OACC/D,EAACI,EAAI,CAACE,MAAOT,KAAKG,EAAEO,QAAQM,EAAUpB,MAAOuF,KAAMnF,KAAKmF,KAAMC,MAAOpF,KAAKoF,O,4KC1HtE,MAAMc,EAAmBvF,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,QAG/D,MAAMuF,EAAmB,CAC/BvG,KAAM,mBACNwG,UAAW,8BACXC,MAAO,0BACPC,UAAW,+BACXC,SAAU,+BAGJ,MAAMC,EAAuB,aCbpC,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,iBACAA,EAAA,cACA,EAJD,CAAYA,MAIX,K,MCMYC,EAAc,MAG1B,WAAA5G,CAAAC,G,8CASiBC,KAAImF,KAA0B,IAIFnF,KAAY2G,aAAI,MAIb3G,KAAc4G,eAAI,wBAInB5G,KAAa6G,cAAI,yBAIrB7G,KAAU8G,WAAK,aAIhB9G,KAAS+G,UAAI,YAmB9C/G,KAAAgH,MAAmBP,EAAUQ,KAiC9BjH,KAAAkH,cAAiBC,IACxBnH,KAAKgH,MAAQG,EAEbnH,KAAKoH,UAAUC,KAAK,CACnBC,UAAWnB,EAAiBvG,KAC5BuH,MAAOnH,KAAKgH,MACZO,IAAKvH,KAAKK,MACT,EAvFFL,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAkCD,YAAAgE,CAAaC,GACZC,EAAa2B,EAAkB5B,EAAU6B,EAAiBvG,K,CAI3D,UAAA4H,CAAWlD,GACVtE,KAAKyH,YAAYC,aAAalB,EAAsBlC,GACpDtE,KAAKyH,YAAYE,UAAUC,UAAUC,OAAOC,KAAKrB,IACjDzG,KAAKyH,YAAYE,UAAUI,IAAIzD,GAC/BjC,EAAUmE,EAAsBlC,E,CAKjC,gBAAY0D,GACX,OAAOnF,EAAU2D,E,CAGlB,eAAYiB,GACX,OAAO/E,SAASqB,e,CAGjB,4BAAYkE,GACX,OAAOzF,GAAY8C,OAAO4C,YAAc5C,OAAO4C,WAAW,gCAAgCC,O,CAG3F,iBAAAjD,GACClF,KAAKoI,mBACLpI,KAAKqE,aAAarE,KAAKmF,K,CAGhB,gBAAAiD,GACP,MAAMC,EAAUR,OAAOC,KAAKrB,GAC5B,IAAI6B,EAAetI,KAAKgI,aACxB,MAAMO,EAAYvI,KAAKyH,YAAYe,aAAahC,GAEhD,GAAI8B,GAAgBD,EAAQI,SAASH,GAAe,CACnDtI,KAAKgH,MAAQsB,C,MACP,GAAIC,GAAaF,EAAQI,SAASF,GAAY,CACpDvI,KAAKgH,MAAQuB,C,KACP,CACNvI,KAAKgH,MAAQP,EAAUQ,I,EAczB,MAAA3G,GACC,IAAIoI,EAAS1I,KAAKgH,QAAUP,EAAUkC,KACtC,GAAI3I,KAAKgH,QAAUP,EAAUQ,KAAM,CAClCyB,EAAS1I,KAAKiI,wB,CAEf,OACC9H,EAACI,EAAK,CAAAC,IAAA,2CAAAC,MAAOT,KAAKG,EAAEO,QAAQyF,EAAiBvG,MAC1CoH,MAAO0B,EAASjC,EAAUkC,KAAOlC,EAAUmC,MAC3CzD,KAAMnF,KAAKmF,MACbhF,EAAA,UAAAK,IAAA,2CAAQqI,QAAS,IAAM7I,KAAKkH,cAAcwB,EAASjC,EAAUmC,MAAQnC,EAAUkC,MAC/D,eAAA3I,KAAKgH,MAAK,aACZ0B,EAAS1I,KAAK6G,cAAgB7G,KAAK4G,gBAChDzG,EAAA,QAAAK,IAAA,4CACCL,EAAA,QAAAK,IAAA,2CAAMC,MAAO0F,EAAiBC,WAC5BK,EAAUmC,OAASzI,EAAU,YAAAK,IAAA,2CAAAiB,KAAK,MAAMhB,MAAO0F,EAAiBG,UAAW5E,KAAK,eAChF+E,EAAUkC,MAAQxI,EAAA,YAAAK,IAAA,2CAAUiB,KAAK,OAAOhB,MAAO0F,EAAiBI,SAAU7E,KAAK,gBAEhF1B,KAAK2G,aACLxG,EAAM,QAAAM,MAAO0F,EAAiBE,OAC5BqC,EAAS1I,KAAK+G,UAAY/G,KAAK8G,YAE7B,O","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,F as s,H as i,g as o}from"./p-ClISz4NF.js";import{p as a}from"./p-CQvUntGY.js";import{S as n}from"./p-BcQO4NH2.js";import{g as c}from"./p-CoD1xawt.js";a(n,["_S","_M","_L"]);const l={root:"gov-tile",link:"gov-tile__link",content:"gov-tile__content",text:"gov-tile__text",title:"gov-tile__title",icon:"gov-tile__icon",annotation:"gov-tile__annotation"};const f=class{constructor(e){t(this,e);this.size="m";this.noBorder=false;this.h=c(this.host)}render(){return e(i,{key:"675f324a6b643d22ae4b737f2049f0f1a51e4972",class:this.h.classes(l.root),size:this.size,orientation:this.orientation,clickable:this.href?true:null},e("slot",{key:"4dc974090359d27cd89e7b7af38f56fd016608d5",name:"icon"}),e("div",{key:"9d3c42f854fe4178886d6218cc99de44c6a27335",class:l.content},e("div",{key:"97891e205f08b2b4c81110bcb7bb3c4ed48362ed",class:l.text},e("div",{key:"6446384bd51f13aff4b9ff0144a4240fe1465b8d",class:l.title},this.href?e(s,null,e("a",{href:this.href,target:this.target,class:l.link,ref:t=>this.triggerRef=t},e("slot",{name:"title"})),e("span",{class:l.icon},e("gov-icon",{name:"chevron-right",type:"components"}))):e("slot",{name:"title"})),e("div",{key:"e25fe83f7f147582005341bb951ac2221bebbfbf",class:`${l.annotation} ${this.href?`${l.annotation}--padding`:""}`},e("slot",{key:"5c87e54b826d3e4fbb8231c19e66db7961e63a60"}))),e("slot",{key:"ab53f48d63dbc279788e4f83d77beb7eaabc1425",name:"button"})))}async getTriggerRef(){return this.triggerRef}get host(){return o(this)}};export{f as gov_tile};
2
+ //# sourceMappingURL=p-4c02094d.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pick","Sizes","TileClass","root","link","content","text","title","icon","annotation","GovTile","constructor","hostRef","this","size","noBorder","h","govHost","host","render","Host","key","class","classes","orientation","clickable","href","name","Fragment","target","ref","el","triggerRef","type","getTriggerRef"],"sources":["../../../packages/core/src/components/gov-tile/constants.ts","../../../packages/core/src/components/gov-tile/gov-tile.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TileSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type TileSizesType = `${ValueOf<typeof TileSizes>}`\n\nexport const TileClass = {\n\troot: 'gov-tile',\n\tlink: 'gov-tile__link',\n\tcontent: 'gov-tile__content',\n\ttext: 'gov-tile__text',\n\ttitle: 'gov-tile__title',\n\ticon: 'gov-tile__icon',\n\tannotation: 'gov-tile__annotation',\n}\n","import {Component, Element, Fragment, h, Host, Method, Prop} from \"@stencil/core\"\nimport {TileClass, TileSizesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {ButtonTargetType} from \"../gov-button/button/constants\"\n\n@Component({\n\ttag: \"gov-tile\",\n})\nexport class GovTile {\n\t@Element() host: HTMLGovTileElement\n\t/**\n\t * Tile’s size\n\t */\n\t@Prop({reflect: true}) readonly size?: TileSizesType = \"m\"\n\t/**\n\t * Style variation of the tile.\n\t */\n\t@Prop() readonly orientation: \"vertical\" | \"horizontal\"\n\t/**\n\t * Tiles border\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\t/**\n\t * Link on whole tile\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\tprivate triggerRef?: HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TileClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t orientation={this.orientation}\n\t\t\t\t clickable={this.href ? true : null}\n\t\t\t>\n\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t<div class={TileClass.content}>\n\t\t\t\t\t<div class={TileClass.text}>\n\t\t\t\t\t\t<div class={TileClass.title}>\n\t\t\t\t\t\t\t{this.href ? (\n\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\thref={this.href}\n\t\t\t\t\t\t\t\t\t\ttarget={this.target}\n\t\t\t\t\t\t\t\t\t\tclass={TileClass.link}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLSpanElement)}>\n\t\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t<span class={TileClass.icon}>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-right\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={`${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}`}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot name=\"button\"/>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n}\n"],"mappings":"4KAIyBA,EAAKC,EAAO,CAAC,KAAM,KAAM,OAG3C,MAAMC,EAAY,CACxBC,KAAM,WACNC,KAAM,iBACNC,QAAS,oBACTC,KAAM,iBACNC,MAAO,kBACPC,KAAM,iBACNC,WAAY,wB,MCLAC,EAAO,MA0BnB,WAAAC,CAAAC,G,UArBgCC,KAAIC,KAAmB,IAQZD,KAAQE,SAAY,MAc9DF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAED,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOT,KAAKG,EAAEO,QAAQrB,EAAUC,MACnCW,KAAMD,KAAKC,KACXU,YAAaX,KAAKW,YAClBC,UAAWZ,KAAKa,KAAO,KAAO,MAEhCV,EAAM,QAAAK,IAAA,2CAAAM,KAAK,SACXX,EAAA,OAAAK,IAAA,2CAAKC,MAAOpB,EAAUG,SACrBW,EAAA,OAAAK,IAAA,2CAAKC,MAAOpB,EAAUI,MACrBU,EAAA,OAAAK,IAAA,2CAAKC,MAAOpB,EAAUK,OACpBM,KAAKa,KACLV,EAACY,EAAQ,KACRZ,EAAA,KACCU,KAAMb,KAAKa,KACXG,OAAQhB,KAAKgB,OACbP,MAAOpB,EAAUE,KACjB0B,IAAKC,GAAOlB,KAAKmB,WAAaD,GAC9Bf,EAAA,QAAMW,KAAK,WAEZX,EAAA,QAAMM,MAAOpB,EAAUM,MACtBQ,EAAU,YAAAW,KAAK,gBAAgBM,KAAK,iBAItCjB,EAAA,QAAMW,KAAK,WAGbX,EAAK,OAAAK,IAAA,2CAAAC,MAAO,GAAGpB,EAAUO,cAAcI,KAAKa,KAAO,GAAGxB,EAAUO,sBAAwB,MACvFO,EAAA,QAAAK,IAAA,+CAGFL,EAAA,QAAAK,IAAA,2CAAMM,KAAK,Y,CAUf,mBAAMO,GACL,OAAOrB,KAAKmB,U","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as s,c as t,h as i,H as a,g as e}from"./p-ClISz4NF.js";import{v as o}from"./p-NOJjz9dT.js";import{W as n,c as h}from"./p-BjcqOprh.js";import{c}from"./p-vN03FcXN.js";import{g as r,b as l,t as d}from"./p-CoD1xawt.js";import"./p-CgDnDrq5.js";import"./p-CQvUntGY.js";import"./p-U40vKHrs.js";import"./p-BcQO4NH2.js";var p;(function(s){s["DIV"]="div";s["BUTTON"]="button"})(p||(p={}));const m=class{constructor(i){s(this,i);this.govChange=t(this,"gov-change");this.hydrated=false;this.color="primary";this.size="m";this.collapsible=false;this.disabled=false;this.isExpanded=false;this.h=r(this.host);this.triggerId=c("GovWizardItem");this.contentId=c("GovWizardContent")}validateColor(s){o(h,s,n.root)}emmitChange(){this.govChange.emit({expanded:this.isExpanded,component:n.root})}componentWillLoad(){this.validateColor(this.color)}connectedCallback(){this.hydrated=true}render(){const s=this.identifier||this.triggerId;const t=this.collapsible?p.BUTTON:p.DIV;const e=this.h.hasSlot("prefix")&&i("span",{key:"7a71f037abd3c10c7754b96089ca6d6ac9cdd9b8",class:n.prefix},i("slot",{key:"2098b7afb20be95e403b4306bc904828dd4a038e",name:"prefix"}));return i(a,{key:"2b152deb4456bad539e85ca2ccf815eefc0cb311",class:this.h.classes(n.root),"is-expanded":this.isExpanded,color:this.color,size:this.size,role:"listitem",collapsible:this.collapsible,hydrated:this.hydrated},i("div",{key:"8ad3628d1c591c3bb83c7aab740eb4f27b585cdb",class:n.header},e,this.collapsible?i(t,{id:s,class:this.h.classes(n.label),"aria-expanded":l(this.isExpanded),"aria-controls":this.contentId,disabled:this.disabled,"aria-disabled":d(this.disabled),onClick:s=>{s.preventDefault();s.stopPropagation();this.toggle()}},i("span",{class:n.headline},i("slot",{name:"headline"}),this.collapsible&&i("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),i("slot",{name:"annotation"})):i(t,{class:this.h.classes(n.label)},i("span",{class:n.headline},i("slot",{name:"headline"}),this.collapsible&&i("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),i("slot",{name:"annotation"}))),this.collapsible?i("div",{class:n.content,id:this.contentId,"aria-hidden":l(!this.isExpanded),hidden:!this.isExpanded,"aria-labelledby":s},i("slot",null)):i("div",{class:n.content,"aria-hidden":l(!this.isExpanded),hidden:!this.isExpanded},i("slot",null)))}async open(){this.isExpanded=true;this.emmitChange()}async close(){this.isExpanded=false;this.emmitChange()}async toggle(){this.isExpanded=!this.isExpanded;this.emmitChange()}async currentState(){return this.isExpanded}get host(){return e(this)}static get watchers(){return{color:["validateColor"]}}};export{m as gov_wizard_item};
2
- //# sourceMappingURL=p-6f173022.entry.js.map
1
+ import{r as s,c as t,h as i,H as a,g as e}from"./p-ClISz4NF.js";import{v as o}from"./p-NOJjz9dT.js";import{W as n,c}from"./p-BjcqOprh.js";import{c as h}from"./p-vN03FcXN.js";import{g as r,b as l,t as d}from"./p-CoD1xawt.js";import"./p-CgDnDrq5.js";import"./p-CQvUntGY.js";import"./p-U40vKHrs.js";import"./p-BcQO4NH2.js";var p;(function(s){s["DIV"]="div";s["BUTTON"]="button"})(p||(p={}));const m=class{constructor(i){s(this,i);this.govChange=t(this,"gov-change");this.hydrated=false;this.color="primary";this.size="m";this.collapsible=false;this.disabled=false;this.isExpanded=false;this.h=r(this.host);this.triggerId=h("GovWizardItem");this.contentId=h("GovWizardContent")}validateColor(s){o(c,s,n.root)}emmitChange(){this.govChange.emit({expanded:this.isExpanded,component:n.root})}componentWillLoad(){this.validateColor(this.color)}connectedCallback(){this.hydrated=true}render(){const s=this.identifier||this.triggerId;const t=this.collapsible?p.BUTTON:p.DIV;const e=this.h.hasSlot("prefix")&&i("span",{key:"10144e93de98bf60873fa6c244c4129b040b8bae",class:n.prefix},i("slot",{key:"a946028d94e0c159cf4c91fa1773467c8203a5f2",name:"prefix"}));return i(a,{key:"f33ced4d5d8f57bec50cc8ebce6f12cf2145833d",class:this.h.classes(n.root),"is-expanded":this.isExpanded,color:this.color,size:this.size,role:"listitem",collapsible:this.collapsible,hydrated:this.hydrated},i("div",{key:"872e3e164b4cca4955c2ba4cf0a2d88563f50fc5",class:n.header},e,this.collapsible?i(t,{id:s,class:this.h.classes(n.label),"aria-expanded":l(this.isExpanded),"aria-controls":this.contentId,disabled:this.disabled,"aria-disabled":d(this.disabled),onClick:s=>{s.preventDefault();s.stopPropagation();this.toggle()}},i("span",{class:n.headline},i("slot",{name:"headline"}),this.collapsible&&i("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),i("slot",{name:"annotation"})):i(t,{class:this.h.classes(n.label)},i("span",{class:n.headline},i("slot",{name:"headline"}),this.collapsible&&i("gov-icon",{class:n.chevron,name:"chevron-down",type:"components"})),i("slot",{name:"annotation"}))),this.collapsible?i("div",{class:n.content,id:this.contentId,"aria-hidden":l(!this.isExpanded),hidden:!this.isExpanded,"aria-labelledby":s},i("slot",null)):i("div",{class:n.content,"aria-hidden":l(!this.isExpanded),hidden:!this.isExpanded},i("slot",null)))}async open(){this.isExpanded=true;this.emmitChange()}async close(){this.isExpanded=false;this.emmitChange()}async toggle(){this.isExpanded=!this.isExpanded;this.emmitChange()}async currentState(){return this.isExpanded}get host(){return e(this)}static get watchers(){return{color:["validateColor"]}}};export{m as gov_wizard_item};
2
+ //# sourceMappingURL=p-4d365881.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Tags","GovWizardItem","constructor","hostRef","this","hydrated","color","size","collapsible","disabled","isExpanded","h","govHost","host","triggerId","createID","contentId","validateColor","newValue","validateProp","WizardColors","WizardItemClass","root","emmitChange","govChange","emit","expanded","component","componentWillLoad","connectedCallback","render","identifier","Tag","BUTTON","DIV","prefixSlot","hasSlot","key","class","prefix","name","Host","classes","role","header","id","label","booleanString","toBoolAttrIfDefined","onClick","e","preventDefault","stopPropagation","toggle","headline","chevron","type","content","hidden","open","close","currentState"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard-item.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizesType, WizardColors, WizardColorType, WizardItemClass } from \"./constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport { booleanString, govHost, toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { WizardItemEvent } from \"./gov-wizard-item.types\"\n\nenum Tags {\n\tDIV = \"div\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-wizard-item\",\n})\nexport class GovWizardItem {\n\tprivate h: GovHost\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID(\"GovWizardItem\")\n\t\tthis.contentId = createID(\"GovWizardContent\")\n\t}\n\n\t@Element() readonly host: HTMLGovWizardItemElement\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly color?: WizardColorType = \"primary\"\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Custom wizard item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defines weather the wizard item can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Makes the wizard component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by button\n\t */\n\t@Prop({ attribute: \"is-expanded\", mutable: true }) isExpanded = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<WizardItemEvent>\n\n\t@Watch(\"color\")\n\tprivate validateColor(newValue: string): void {\n\t\tvalidateProp(WizardColors, newValue, WizardItemClass.root)\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ expanded: this.isExpanded, component: WizardItemClass.root })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst Tag = this.collapsible ? Tags.BUTTON : Tags.DIV\n\t\tconst prefixSlot = this.h.hasSlot(\"prefix\") && (<span class={WizardItemClass.prefix}><slot name=\"prefix\" /></span>)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizardItemClass.root)}\n\t\t\t\t is-expanded={this.isExpanded}\n\t\t\t\t color={this.color}\n\t\t\t\t size={this.size}\n\t\t\t\t role=\"listitem\"\n\t\t\t\t collapsible={this.collapsible}\n\t\t\t\t hydrated={this.hydrated}>\n\t\t\t\t<div class={WizardItemClass.header}>\n\t\t\t\t\t{prefixSlot}\n\t\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t\t<Tag\n\t\t\t\t\t\t\tid={triggerId}\n\t\t\t\t\t\t\tclass={this.h.classes(WizardItemClass.label)}\n\t\t\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\te.preventDefault()\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.toggle()\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class={WizardItemClass.headline}>\n\t\t\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizardItemClass.chevron} name=\"chevron-down\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</Tag>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<Tag class={this.h.classes(WizardItemClass.label)}>\n\t\t\t\t\t\t\t<span class={WizardItemClass.headline}>\n\t\t\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t\t\t{this.collapsible && <gov-icon class={WizardItemClass.chevron} name=\"chevron-down\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</Tag>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{this.collapsible ? (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={WizardItemClass.content}\n\t\t\t\t\t\tid={this.contentId}\n\t\t\t\t\t\taria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\t\thidden={!this.isExpanded}\n\t\t\t\t\t\taria-labelledby={triggerId}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={WizardItemClass.content}\n\t\t\t\t\t\t aria-hidden={booleanString(!this.isExpanded)}\n\t\t\t\t\t\t hidden={!this.isExpanded}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the Wizard\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpanded = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the Wizard\n\t */\n\t@Method()\n\tpublic async close(): Promise<void> {\n\t\tthis.isExpanded = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Wizard switch\n\t */\n\t@Method()\n\tpublic async toggle(): Promise<void> {\n\t\tthis.isExpanded = !this.isExpanded\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tpublic async currentState(): Promise<boolean> {\n\t\treturn this.isExpanded\n\t}\n}\n"],"mappings":"gUAQA,IAAKA,GAAL,SAAKA,GACJA,EAAA,aACAA,EAAA,kBACA,EAHD,CAAKA,MAGJ,K,MAKYC,EAAa,MAMzB,WAAAC,CAAAC,G,8CAFQC,KAAQC,SAAG,MAYFD,KAAKE,MAAqB,UAI1BF,KAAIG,KAAqB,IAQzBH,KAAWI,YAAY,MAIvBJ,KAAQK,SAAY,MAIcL,KAAUM,WAAG,MA7B/DN,KAAKO,EAAIC,EAAQR,KAAKS,MACtBT,KAAKU,UAAYC,EAAS,iBAC1BX,KAAKY,UAAYD,EAAS,mBAC1B,CAiCO,aAAAE,CAAcC,GACrBC,EAAaC,EAAcF,EAAUG,EAAgBC,K,CAG9C,WAAAC,GACPnB,KAAKoB,UAAUC,KAAK,CAAEC,SAAUtB,KAAKM,WAAYiB,UAAWN,EAAgBC,M,CAG7E,iBAAAM,GACCxB,KAAKa,cAAcb,KAAKE,M,CAGzB,iBAAAuB,GACCzB,KAAKC,SAAW,I,CAGjB,MAAAyB,GACC,MAAMhB,EAAYV,KAAK2B,YAAc3B,KAAKU,UAC1C,MAAMkB,EAAM5B,KAAKI,YAAcR,EAAKiC,OAASjC,EAAKkC,IAClD,MAAMC,EAAa/B,KAAKO,EAAEyB,QAAQ,WAAczB,EAAA,QAAA0B,IAAA,2CAAMC,MAAOjB,EAAgBkB,QAAQ5B,EAAA,QAAA0B,IAAA,2CAAMG,KAAK,YAEhG,OACC7B,EAAC8B,EAAI,CAAAJ,IAAA,2CAACC,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgBC,MAAK,cACjClB,KAAKM,WAClBJ,MAAOF,KAAKE,MACZC,KAAMH,KAAKG,KACXoC,KAAK,WACLnC,YAAaJ,KAAKI,YAClBH,SAAUD,KAAKC,UACjBM,EAAA,OAAA0B,IAAA,2CAAKC,MAAOjB,EAAgBuB,QAC1BT,EACA/B,KAAKI,YACLG,EAACqB,EACA,CAAAa,GAAI/B,EACJwB,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgByB,OACvB,gBAAAC,EAAc3C,KAAKM,YACnB,gBAAAN,KAAKY,UACpBP,SAAUL,KAAKK,SAAQ,gBACRuC,EAAoB5C,KAAKK,UACxCwC,QAAUC,IACTA,EAAEC,iBACFD,EAAEE,kBACFhD,KAAKiD,QAAQ,GAGd1C,EAAA,QAAM2B,MAAOjB,EAAgBiC,UAC5B3C,EAAM,QAAA6B,KAAK,aACVpC,KAAKI,aAAeG,EAAA,YAAU2B,MAAOjB,EAAgBkC,QAASf,KAAK,eAAegB,KAAK,gBAEzF7C,EAAM,QAAA6B,KAAK,gBAGZ7B,EAACqB,EAAG,CAACM,MAAOlC,KAAKO,EAAE+B,QAAQrB,EAAgByB,QAC1CnC,EAAA,QAAM2B,MAAOjB,EAAgBiC,UAC5B3C,EAAM,QAAA6B,KAAK,aACVpC,KAAKI,aAAeG,EAAA,YAAU2B,MAAOjB,EAAgBkC,QAASf,KAAK,eAAegB,KAAK,gBAEzF7C,EAAA,QAAM6B,KAAK,iBAIbpC,KAAKI,YACLG,EAAA,OACC2B,MAAOjB,EAAgBoC,QACvBZ,GAAIzC,KAAKY,UAAS,cACL+B,GAAe3C,KAAKM,YACjCgD,QAAStD,KAAKM,WAAU,kBACPI,GAEjBH,EAAQ,cAGTA,EAAA,OAAK2B,MAAOjB,EAAgBoC,QAAO,cACpBV,GAAe3C,KAAKM,YACjCgD,QAAStD,KAAKM,YAEfC,EAAA,c,CAWL,UAAMgD,GACLvD,KAAKM,WAAa,KAClBN,KAAKmB,a,CAOC,WAAMqC,GACZxD,KAAKM,WAAa,MAClBN,KAAKmB,a,CAOC,YAAM8B,GACZjD,KAAKM,YAAcN,KAAKM,WACxBN,KAAKmB,a,CAOC,kBAAMsC,GACZ,OAAOzD,KAAKM,U","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as s,h as a,H as t,g as i}from"./p-ClISz4NF.js";import{v as c}from"./p-NOJjz9dT.js";import{a as o,A as b,b as n}from"./p-Cx3bEC5v.js";import{g as d,t as r,b as f}from"./p-CoD1xawt.js";import{i as h}from"./p-CzXeijOj.js";import{t as p}from"./p-Cjg0wpDG.js";import"./p-CgDnDrq5.js";import"./p-CQvUntGY.js";import"./p-BcQO4NH2.js";import"./p-Bz_RzYFb.js";const l=class{constructor(a){e(this,a);this.govChange=s(this,"gov-change");this.inheritedAttributes={};this.disabled=false;this.open=false;this.h=d(this.host)}validateSize(e){c(n,e,b.root)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=h(this.host)}componentDidRender(){p((()=>this.getPropsFromParents()))}getPropsFromParents(){const e=this.h.getParent(o.root);if(e){this.size=e.getAttribute("size")}}render(){return a(t,{key:"1beb62527ea9274e6280ce0b64c9d52c12e4a993",class:this.h.classes([b.root,this.disabled&&b.disabled]),size:this.size,role:"listitem"},a("details",{key:"53ca7688e8f26e85cd76feb073a26d04c5505d2b",class:b.details,id:this.identifier,"aria-disabled":r(this.disabled),open:this.open},a("summary",Object.assign({key:"19fec49b0066b7a6162a6010e0ee20431c2a578b",onClick:e=>{e.stopPropagation();e.preventDefault();!this.disabled&&this.toggle().finally()},class:b.summary,tabIndex:this.disabled?-1:0,"aria-expanded":f(this.open)},this.inheritedAttributes),this.h.hasSlot("icon")&&a("span",{key:"19254947c22fa2b1a2fa4e26eacb22c0c89b40c9",class:b.icon},a("slot",{key:"262be1640f250fabf9918f4162c071bb68dc4fb3",name:"icon"})),a("span",{key:"ebb5ef762ef51921b68a8063fd09c979d7d0d32d",class:b.title},a("slot",{key:"75783345d2276f06e53c401761cb4e57d241e5e0",name:"label"}),a("slot",{key:"f2d9cdff693edbcae6293921fde7996d1b1251b6",name:"annotation"})),a("span",{key:"f7e28ea54455756c7d146c7b88be7001e80b07a8",class:b.right},a("slot",{key:"e76b31bf1c349a8a86d4b91ec1cfa650a75edf60",name:"suffix"}),a("span",{key:"87ea99c9862deb3ff9820fa383cec52956b4655a",class:b.arrow},a("slot",{key:"c8b64a90455a731f359e12550664ba5aa905abbc",name:"toggle-icon"},a("gov-icon",{key:"867406c5634d6446683529f5f647492b9b289a31",name:"chevron-down",type:"components"}))))),a("div",{key:"2adf7441dd470ae1b32a08fb374cd1d9e2d1f789",class:b.content},a("slot",{key:"8eb27d0b33689933b6e71850324c35c89d71c4c0"}))))}async toggle(){this.open=!this.open;this.govChange.emit({open:this.open,component:b.root,ref:this.host})}async currentState(){return this.open}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{l as gov_accordion_item};
2
+ //# sourceMappingURL=p-4d36cd18.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovAccordionItem","constructor","hostRef","this","inheritedAttributes","disabled","open","h","govHost","host","validateSize","newValue","validateProp","AccordionSizes","AccordionItemClass","root","componentWillLoad","size","inheritAriaAttributes","componentDidRender","tick","getPropsFromParents","accordion","getParent","AccordionClass","getAttribute","render","Host","key","class","classes","role","details","id","identifier","toBoolAttrIfDefined","Object","assign","onClick","e","stopPropagation","preventDefault","toggle","finally","summary","tabIndex","booleanString","hasSlot","icon","name","title","right","arrow","type","content","govChange","emit","component","ref","currentState"],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion-item.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {AccordionClass, AccordionItemClass, AccordionSizes, AccordionSizeType,} from \"./constants\"\nimport {booleanString, govHost, toBoolAttrIfDefined} from \"../../helpers/Dom/template\"\nimport {AccordionItemEvent} from \"./gov-accordion.types\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\nimport {Attributes} from \"../../helpers/Dom/attribute\";\nimport {tick} from \"../../utils/stencil.utils\";\n\n@Component({\n\ttag: \"gov-accordion-item\",\n})\nexport class GovAccordionItem {\n\tprivate h: GovHost\n\tprivate inheritedAttributes: Attributes = {};\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionItemElement\n\t@State() openState: boolean\n\n\t/**\n\t * Custom accordion item identifier.\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop({ mutable: true }) size?: AccordionSizeType\n\t/**\n\t * Makes the button component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by button\n\t */\n\t@Prop({attribute: \"open\", mutable: true}) open = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<AccordionItemEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionItemClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender(): void {\n\t\ttick(() => this.getPropsFromParents())\n\t}\n\n\tprivate getPropsFromParents() {\n\t\tconst accordion = this.h.getParent(AccordionClass.root)\n\t\tif (accordion) {\n\t\t\tthis.size = accordion.getAttribute(\"size\") as AccordionSizeType\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes([AccordionItemClass.root,\n\t\t\t\tthis.disabled && AccordionItemClass.disabled])}\n\t\t\t\t size={this.size}\n\t\t\t\t role=\"listitem\">\n\t\t\t\t<details\n\t\t\t\t\tclass={AccordionItemClass.details}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t>\n\t\t\t\t\t<summary\n\t\t\t\t\t\tonClick={(e: Event) => {\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t!this.disabled && this.toggle().finally()\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tclass={AccordionItemClass.summary}\n\t\t\t\t\t\ttabIndex={this.disabled ? -1 : 0}\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.h.hasSlot('icon') &&\n\t\t\t\t\t\t\t<span class={AccordionItemClass.icon}>\n\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t<span class={AccordionItemClass.title}>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t<span class={AccordionItemClass.right}>\n\t\t\t\t\t\t\t<slot name=\"suffix\"/>\n\t\t\t\t\t\t\t<span class={AccordionItemClass.arrow}>\n\t\t\t\t\t\t\t\t<slot name=\"toggle-icon\">\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t</slot>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</summary>\n\t\t\t\t\t<div class={AccordionItemClass.content}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\t\t\t\t</details>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Accordion switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.open = !this.open\n\t\tthis.govChange.emit({\n\t\t\topen: this.open,\n\t\t\tcomponent: AccordionItemClass.root,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.open\n\t}\n}\n"],"mappings":"sXAaaA,EAAgB,MAI5B,WAAAC,CAAAC,G,8CAFQC,KAAmBC,oBAAe,GAoBzBD,KAAQE,SAAY,MAIKF,KAAIG,KAAG,MArBhDH,KAAKI,EAAIC,EAAQL,KAAKM,KACtB,CA2BD,YAAAC,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAmBC,K,CAG3D,iBAAAC,GACCb,KAAKO,aAAaP,KAAKc,MACvBd,KAAKC,oBAAsBc,EAAsBf,KAAKM,K,CAGvD,kBAAAU,GACCC,GAAK,IAAMjB,KAAKkB,uB,CAGT,mBAAAA,GACP,MAAMC,EAAYnB,KAAKI,EAAEgB,UAAUC,EAAeT,MAClD,GAAIO,EAAW,CACdnB,KAAKc,KAAOK,EAAUG,aAAa,O,EAIrC,MAAAC,GACC,OACCnB,EAACoB,EAAI,CAAAC,IAAA,2CAACC,MAAO1B,KAAKI,EAAEuB,QAAQ,CAAChB,EAAmBC,KAC/CZ,KAAKE,UAAYS,EAAmBT,WAClCY,KAAMd,KAAKc,KACXc,KAAK,YACPxB,EACC,WAAAqB,IAAA,2CAAAC,MAAOf,EAAmBkB,QAC1BC,GAAI9B,KAAK+B,WAAU,gBACJC,EAAoBhC,KAAKE,UACxCC,KAAMH,KAAKG,MAEXC,EAAA,UAAA6B,OAAAC,OAAA,CAAAT,IAAA,2CACCU,QAAUC,IACTA,EAAEC,kBACFD,EAAEE,kBACDtC,KAAKE,UAAYF,KAAKuC,SAASC,SAAS,EAE1Cd,MAAOf,EAAmB8B,QAC1BC,SAAU1C,KAAKE,UAAW,EAAK,EAAC,gBACjByC,EAAc3C,KAAKG,OAC9BH,KAAKC,qBAERD,KAAKI,EAAEwC,QAAQ,SACfxC,EAAA,QAAAqB,IAAA,2CAAMC,MAAOf,EAAmBkC,MAC/BzC,EAAA,QAAAqB,IAAA,2CAAMqB,KAAK,UAIb1C,EAAA,QAAAqB,IAAA,2CAAMC,MAAOf,EAAmBoC,OAC/B3C,EAAM,QAAAqB,IAAA,2CAAAqB,KAAK,UACX1C,EAAA,QAAAqB,IAAA,2CAAMqB,KAAK,gBAGZ1C,EAAA,QAAAqB,IAAA,2CAAMC,MAAOf,EAAmBqC,OAC/B5C,EAAM,QAAAqB,IAAA,2CAAAqB,KAAK,WACX1C,EAAA,QAAAqB,IAAA,2CAAMC,MAAOf,EAAmBsC,OAC/B7C,EAAM,QAAAqB,IAAA,2CAAAqB,KAAK,eACV1C,EAAU,YAAAqB,IAAA,2CAAAqB,KAAK,eAAeI,KAAK,mBAKvC9C,EAAA,OAAAqB,IAAA,2CAAKC,MAAOf,EAAmBwC,SAC9B/C,EAAA,QAAAqB,IAAA,+C,CAWL,YAAMc,GACLvC,KAAKG,MAAQH,KAAKG,KAClBH,KAAKoD,UAAUC,KAAK,CACnBlD,KAAMH,KAAKG,KACXmD,UAAW3C,EAAmBC,KAC9B2C,IAAKvD,KAAKM,M,CAQZ,kBAAMkD,GACL,OAAOxD,KAAKG,I","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,H as o,g as s}from"./p-ClISz4NF.js";import{g as c}from"./p-CoD1xawt.js";var a;(function(e){e["PRIMARY"]="primary";e["SUBTLE"]="subtle";e["NEUTRAL"]="neutral"})(a||(a={}));const d={root:"gov-blockquote"};const r=class{constructor(t){e(this,t);this.type=a.SUBTLE;this.h=c(this.host)}render(){return t(o,{key:"c12f0f01c2db5025112edd1ebc834a18ff754546",class:this.h.classes(d.root),type:this.type},t("gov-icon",{key:"f043fdebbbd95c4eb3909985243f5ef253eb0335",type:"components",name:"quote",size:"3xl"}),t("blockquote",{key:"57cdec66772ad7732a79dd9a55cad1d9e5058ed7",cite:this.cite},t("slot",{key:"71a0e5ca7f377e22f4c12c44c517f142d45e47a9"})),t("slot",{key:"b0c7f4796b12e1baec71c03d20cb2ff99ae51311",name:"image"}),t("slot",{key:"55e5588b7e9793743a6b8ef403d363ddde8300d8",name:"author"}))}get host(){return s(this)}};export{r as gov_blockquote};
2
+ //# sourceMappingURL=p-4d902f20.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BlockquoteType","BlockquoteClass","root","GovBlockquote","constructor","hostRef","this","type","SUBTLE","h","govHost","host","render","Host","key","class","classes","name","size","cite"],"sources":["../../../packages/core/src/components/gov-blockquote/constants.ts","../../../packages/core/src/components/gov-blockquote/gov-blockquote.tsx"],"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","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"],"mappings":"6FAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,qBACAA,EAAA,mBACAA,EAAA,oBACA,EAJD,CAAYA,MAIX,KAGM,MAAMC,EAAkB,CAC9BC,KAAM,kB,MCDMC,EAAa,MAGzB,WAAAC,CAAAC,G,UAQgCC,KAAAC,KAA4BP,EAAeQ,OAP1EF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAYD,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOT,KAAKG,EAAEO,QAAQf,EAAgBC,MAAOK,KAAMD,KAAKC,MAC7DE,EAAU,YAAAK,IAAA,2CAAAP,KAAK,aAAaU,KAAK,QAAQC,KAAK,QAC9CT,EAAA,cAAAK,IAAA,2CAAYK,KAAMb,KAAKa,MACtBV,EAAA,QAAAK,IAAA,8CAEDL,EAAM,QAAAK,IAAA,2CAAAG,KAAK,UACXR,EAAA,QAAAK,IAAA,2CAAMG,KAAK,W","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as t,h as i,H as a,g as r}from"./p-ClISz4NF.js";import{v as e}from"./p-NOJjz9dT.js";import{W as o,a as c,b as p}from"./p-BjcqOprh.js";import{g as h}from"./p-CoD1xawt.js";import{v as d}from"./p-CDIRBJsi.js";import{c as m}from"./p-CgDnDrq5.js";import{d as n}from"./p-CQvUntGY.js";import"./p-U40vKHrs.js";import"./p-BcQO4NH2.js";import"./p-vN03FcXN.js";import"./p-DNztiAH0.js";const l=class{constructor(i){s(this,i);this.govChange=t(this,"gov-change");this.hydrated=false;this.size="m";this.h=h(this.host)}validateSize(s){e(p,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(o.root).forEach((s=>{s.setAttribute("size",this.size)}))}async componentDidRender(){if(m()){await n(500);await this.validateWcag()}}connectedCallback(){this.hydrated=true}render(){return i(a,{key:"5d1d08b27c5a8b266d209841d4cfda654081124c",class:this.h.classes(c.root),role:"list",size:this.size,hydrated:this.hydrated},i("slot",{key:"c17071c8a7bed0dee95deec69c0ce1c668160209"}))}async validateWcag(){d(this.wcagLabel,this.wcagLabelledBy,c.root)}get host(){return r(this)}static get watchers(){return{size:["validateSize"]}}};export{l as gov_wizard};
2
+ //# sourceMappingURL=p-4da8ac1d.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovWizard","constructor","hostRef","this","hydrated","size","h","govHost","host","validateSize","newValue","validateProp","WizardSizes","WizardClass","root","componentWillLoad","componentDidLoad","querySelectorAll","WizardItemClass","forEach","child","setAttribute","componentDidRender","canValidateWcagOnRender","delay","validateWcag","connectedCallback","render","Host","key","class","classes","role","validateAccessibleLabel","wcagLabel","wcagLabelledBy"],"sources":["../../../packages/core/src/components/gov-wizard/gov-wizard.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { WizardSizes, WizardSizesType, WizardClass, WizardItemClass } from \"./constants\"\nimport { GovWizardItemChangeEvent } from \"./gov-wizard-item.d\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateAccessibleLabel } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay } from \"../../utils/utils\"\n\n@Component({\n\ttag: \"gov-wizard\",\n})\nexport class GovWizard {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\n\t@Element() readonly host: HTMLGovWizardElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t/**\n\t * Size of wizard\n\t */\n\t@Prop() readonly size?: WizardSizesType = \"m\"\n\t/**\n\t * Adds accessible label for the wizard that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the wizard children state changes\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<GovWizardItemChangeEvent>\n\n\t@Watch(\"size\")\n\tprivate validateSize(newValue: string): void {\n\t\tvalidateProp(WizardSizes, newValue, WizardClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(WizardItemClass.root).forEach((child: HTMLGovWizardItemElement) => {\n\t\t\tchild.setAttribute(\"size\", this.size)\n\t\t\t/*\n\t\t\tchild.addEventListener('gov-change', (e: GovWizardItemCustomEvent<GovWizardItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t\t*/\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(WizardClass.root)} role=\"list\" size={this.size} hydrated={this.hydrated}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tpublic async validateWcag(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.wcagLabel, this.wcagLabelledBy, WizardClass.root)\n\t}\n}\n"],"mappings":"4YAaaA,EAAS,MAMrB,WAAAC,CAAAC,G,8CAJQC,KAAQC,SAAG,MAWFD,KAAIE,KAAqB,IANzCF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAoBO,YAAAC,CAAaC,GACpBC,EAAaC,EAAaF,EAAUG,EAAYC,K,CAGjD,iBAAAC,GACCZ,KAAKM,aAAaN,KAAKE,K,CAGxB,gBAAAW,GACCb,KAAKK,KAAKS,iBAAiBC,EAAgBJ,MAAMK,SAASC,IACzDA,EAAMC,aAAa,OAAQlB,KAAKE,KAAK,G,CAUvC,wBAAMiB,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNrB,KAAKsB,c,EAIb,iBAAAC,GACCvB,KAAKC,SAAW,I,CAGjB,MAAAuB,GACC,OACCrB,EAACsB,EAAI,CAAAC,IAAA,2CAACC,MAAO3B,KAAKG,EAAEyB,QAAQlB,EAAYC,MAAOkB,KAAK,OAAO3B,KAAMF,KAAKE,KAAMD,SAAUD,KAAKC,UAC1FE,EAAQ,QAAAuB,IAAA,6C,CASJ,kBAAMJ,GACZQ,EAAwB9B,KAAK+B,UAAW/B,KAAKgC,eAAgBtB,EAAYC,K","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as t,h as i,H as a,g as o}from"./p-ClISz4NF.js";import{v as r}from"./p-CDIRBJsi.js";import{c as e}from"./p-CgDnDrq5.js";import{g as c}from"./p-CoD1xawt.js";import{t as p}from"./p-Cjg0wpDG.js";import"./p-vN03FcXN.js";import"./p-DNztiAH0.js";import"./p-CQvUntGY.js";const h={root:"gov-backdrop",bg:"gov-backdrop__background"};const d=class{constructor(i){s(this,i);this.govClick=t(this,"gov-click");this.inverse=false;this.disabled=false;this.h=c(this.host)}async componentDidRender(){if(e()){p((()=>this.validateAccessibility()))}}render(){return i(a,{key:"364e63a9a8a66920d463a8763773dd2f36ffc814",class:this.h.classes(h.root),inverse:this.inverse},i("div",{key:"81d25e5aa67f0291f8c9d8e806ab17f7cd9a400e",role:"button","aria-disabled":this.disabled,"aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,onClick:s=>{if(!this.disabled){this.govClick.emit(s)}},class:h.bg}))}async validateAccessibility(){r(this.accessibleLabel,this.accessibleLabelledBy,h.root,this.host)}get host(){return o(this)}};export{d as gov_backdrop};
2
+ //# sourceMappingURL=p-511eed88.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BackdropClass","root","bg","GovBackdrop","constructor","hostRef","this","inverse","disabled","h","govHost","host","componentDidRender","canValidateWcagOnRender","tick","validateAccessibility","render","Host","key","class","classes","role","accessibleLabel","accessibleLabelledBy","onClick","e","govClick","emit","validateAccessibleLabel"],"sources":["../../../packages/core/src/components/gov-backdrop/constants.ts","../../../packages/core/src/components/gov-backdrop/gov-backdrop.tsx"],"sourcesContent":["export const BackdropClass = {\n\troot: 'gov-backdrop',\n\tbg: 'gov-backdrop__background',\n}\n","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"],"mappings":"wRAAO,MAAMA,EAAgB,CAC5BC,KAAM,eACNC,GAAI,4B,MCSQC,EAAW,MAGvB,WAAAC,CAAAC,G,4CAQiBC,KAAOC,QAAY,MAIWD,KAAQE,SAAY,MAXlEF,KAAKG,EAAIC,EAAQJ,KAAKK,KACtB,CAwBD,wBAAMC,GACL,GAAIC,IAA2B,CAC9BC,GAAK,IAAMR,KAAKS,yB,EAIlB,MAAAC,GACC,OACCP,EAACQ,EAAI,CAAAC,IAAA,2CAACC,MAAOb,KAAKG,EAAEW,QAAQpB,EAAcC,MAAOM,QAASD,KAAKC,SAC9DE,EACC,OAAAS,IAAA,2CAAAG,KAAM,SAAQ,gBACCf,KAAKE,SAAQ,aAChBF,KAAKgB,gBACA,kBAAAhB,KAAKiB,qBACtBC,QAASC,IACR,IAAKnB,KAAKE,SAAU,CACnBF,KAAKoB,SAASC,KAAKF,E,GAGrBN,MAAOnB,EAAcE,K,CAUzB,2BAAMa,GACLa,EAAwBtB,KAAKgB,gBAAiBhB,KAAKiB,qBAAsBvB,EAAcC,KAAMK,KAAKK,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,H as o,g as e}from"./p-ClISz4NF.js";import{g as a,a as n}from"./p-CoD1xawt.js";import{F as r}from"./p-5itQzbON.js";import{v as h}from"./p-NOJjz9dT.js";import{C as c}from"./p-U40vKHrs.js";import{p as l}from"./p-CQvUntGY.js";import{A as d,a as b}from"./p-Bz_RzYFb.js";import{i as f}from"./p-CzXeijOj.js";import"./p-CgDnDrq5.js";const p=l(c,["PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var v;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(v||(v={}));const m={root:"gov-infobar",section:"gov-infobar__section",content:"gov-infobar__content",headline:"gov-infobar__headline",close:"gov-infobar__close"};const g=class{constructor(i){t(this,i);this.govClose=s(this,"gov-close");this.hydrated=false;this.color="primary";this.type="bold";this.role=undefined;this.accessibleCloseLabel="Zavřít informační lištu";this.accessibleToggleLabel="Zobrazit více informací";this.closable=false;this.toggleContent=false;this.inheritedAttributes={};this.h=a(this.host)}validateColor(t){h(p,t,m.root)}componentDidLoad(){this.attributeObserver=new d(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(b)}componentWillLoad(){this.validateColor(this.color);this.inheritedAttributes=f(this.host)}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}connectedCallback(){this.hydrated=true}render(){const t=i("gov-button",{key:"aaaf43a5b48ccded5f30061b7b6dfd09da11e970",size:"s","aria-label":this.accessibleCloseLabel,type:"base",color:this.isBold?this.color:"neutral","on-gov-click":this.onCloseHandler.bind(this),class:m.close},i("gov-icon",{key:"3f4f5c3b15842ff258035badfbf9286dacdba8b5",name:"x-lg",type:"components"}));return i(o,{key:"7d52bcf1a541c5c536755a16e13dd66209d7ba98",class:this.h.classes(m.root),color:this.color,type:this.type,hydrated:this.hydrated},i("section",Object.assign({key:"e52815b07de6e3fae05bb4429ab925300fde0a50",class:m.section},this.inheritedAttributes,{role:this.role}),this.h.hasSlot("icon")&&i("span",{key:"d1424933f1f122693d45803eb500aff8c7b45dd7"},i("slot",{key:"94ab048d5e2e506773402a55d399f3c315307153",name:"icon"})),i("div",{key:"b59bbe4b7516d0b4e96e19618613d9e82551cd39",class:m.content},this.h.hasSlot("headline")?i(r,null,i("div",{class:m.headline},i("slot",{name:"headline"}),i("gov-button",{size:"s",type:"base",color:this.isBold?this.color:"neutral","aria-label":this.accessibleToggleLabel,"on-gov-click":()=>this.toggleContent=!this.toggleContent},i("gov-icon",{name:this.toggleContent?"chevron-up":"chevron-down",type:"components"}))),i("div",{hidden:!this.toggleContent,"aria-hidden":n(this.toggleContent)},i("slot",null))):i("slot",null)),this.closable&&t))}onCloseHandler(t){this.govClose.emit({component:m.root,ref:this.host,originalEvent:t})}get isBold(){return this.type==="bold"}get host(){return e(this)}static get watchers(){return{color:["validateColor"]}}};export{g as gov_infobar};
2
- //# sourceMappingURL=p-8655fd24.entry.js.map
1
+ import{r as t,c as s,h as i,H as o,g as e}from"./p-ClISz4NF.js";import{g as a,a as n}from"./p-CoD1xawt.js";import{F as c}from"./p-5itQzbON.js";import{v as r}from"./p-NOJjz9dT.js";import{C as h}from"./p-U40vKHrs.js";import{p as l}from"./p-CQvUntGY.js";import{A as d,a as b}from"./p-Bz_RzYFb.js";import{i as f}from"./p-CzXeijOj.js";import"./p-CgDnDrq5.js";const p=l(h,["PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var v;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(v||(v={}));const m={root:"gov-infobar",section:"gov-infobar__section",content:"gov-infobar__content",headline:"gov-infobar__headline",close:"gov-infobar__close"};const g=class{constructor(i){t(this,i);this.govClose=s(this,"gov-close");this.hydrated=false;this.color="primary";this.type="bold";this.role=undefined;this.accessibleCloseLabel="Zavřít informační lištu";this.accessibleToggleLabel="Zobrazit více informací";this.closable=false;this.toggleContent=false;this.inheritedAttributes={};this.h=a(this.host)}validateColor(t){r(p,t,m.root)}componentDidLoad(){this.attributeObserver=new d(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(b)}componentWillLoad(){this.validateColor(this.color);this.inheritedAttributes=f(this.host)}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}connectedCallback(){this.hydrated=true}render(){const t=i("gov-button",{key:"c52201d2fd9a489e8eb152e8f7b3080cc9d347f0",size:"s","aria-label":this.accessibleCloseLabel,type:"base",color:this.isBold?this.color:"neutral","on-gov-click":this.onCloseHandler.bind(this),class:m.close},i("gov-icon",{key:"c5d79b9980d755afae94643836d58ab2dd5b4e4f",name:"x-lg",type:"components"}));return i(o,{key:"f7c79cc67ee83527ff3c56d8e96f325b5366154f",class:this.h.classes(m.root),color:this.color,type:this.type,hydrated:this.hydrated},i("section",Object.assign({key:"dceb21332d31d55cb2f63d078efc5284439978ae",class:m.section},this.inheritedAttributes,{role:this.role}),this.h.hasSlot("icon")&&i("span",{key:"5dcf6a77672669228e8b94b7c39141624706254b"},i("slot",{key:"b158350430cf7249f9f7ea59fbf675879a195c39",name:"icon"})),i("div",{key:"17894bba1c6538d205a64e055aa6ee82825176a0",class:m.content},this.h.hasSlot("headline")?i(c,null,i("div",{class:m.headline},i("slot",{name:"headline"}),i("gov-button",{size:"s",type:"base",color:this.isBold?this.color:"neutral","aria-label":this.accessibleToggleLabel,"on-gov-click":()=>this.toggleContent=!this.toggleContent},i("gov-icon",{name:this.toggleContent?"chevron-up":"chevron-down",type:"components"}))),i("div",{hidden:!this.toggleContent,"aria-hidden":n(this.toggleContent)},i("slot",null))):i("slot",null)),this.closable&&t))}onCloseHandler(t){this.govClose.emit({component:m.root,ref:this.host,originalEvent:t})}get isBold(){return this.type==="bold"}get host(){return e(this)}static get watchers(){return{color:["validateColor"]}}};export{g as gov_infobar};
2
+ //# sourceMappingURL=p-5305e82e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["InfobarColors","pick","Colors","InfobarType","InfobarClass","root","section","content","headline","close","GovInfobar","constructor","hostRef","this","hydrated","color","type","role","undefined","accessibleCloseLabel","accessibleToggleLabel","closable","toggleContent","inheritedAttributes","h","govHost","host","validateColor","newValue","validateProp","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","inheritAriaAttributes","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","connectedCallback","render","closeButton","key","size","isBold","onCloseHandler","bind","class","name","Host","classes","hasSlot","Fragment","hidden","toBoolAttr","e","govClose","emit","component","ref","originalEvent"],"sources":["../../../packages/core/src/components/gov-infobar/constants.ts","../../../packages/core/src/components/gov-infobar/gov-infobar.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const InfobarColors = pick(Colors, ['PRIMARY', 'SECONDARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ColorType = `${ValueOf<typeof InfobarColors>}`\n\nexport enum InfobarType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type InfobarTypesType = `${ValueOf<typeof InfobarType>}`\n\nexport const InfobarClass = {\n\troot: 'gov-infobar',\n\tsection: 'gov-infobar__section',\n\tcontent: 'gov-infobar__content',\n\theadline: 'gov-infobar__headline',\n\tclose: 'gov-infobar__close',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from '@stencil/core'\nimport {govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport Fragment from '../../helpers/Fragment'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonEvent} from '../gov-button/button/gov-button.types'\nimport {ColorType, InfobarClass, InfobarColors, InfobarTypesType} from './constants'\nimport {InfobarEvent} from './gov-infobar.types'\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: 'gov-infobar',\n})\nexport class GovInfobar {\n\tprivate h: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovInfobarElement\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly color: ColorType = 'primary'\n\t/**\n\t * Infobar appearance\n\t */\n\t@Prop() readonly type?: InfobarTypesType = \"bold\"\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly role: HTMLElement['role'] = undefined\n\t/**\n\t * Aria label for the closing button. It is mandatory if the infobar is closable\n\t */\n\t@Prop({attribute: 'accessible-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít informační lištu'\n\t/**\n\t * Aria label for the toggle button. It is mandatory if the infobar has headline\n\t */\n\t@Prop({attribute: 'accessible-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit více informací'\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<InfobarEvent>\n\t/**\n\t * Displays the option to close the infobar\n\t */\n\t@Prop() readonly closable?: boolean = false\n\n\t@State() toggleContent = false\n\t@State() inheritedAttributes: Attributes = {}\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(InfobarColors, newValue, InfobarClass.root)\n\t}\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\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\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\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst closeButton = (\n\t\t\t<gov-button size=\"s\"\n\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\tclass={InfobarClass.close}>\n\t\t\t\t<gov-icon name=\"x-lg\" type=\"components\"></gov-icon>\n\t\t\t</gov-button>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(InfobarClass.root)} color={this.color} type={this.type} hydrated={this.hydrated}>\n\t\t\t\t<section class={InfobarClass.section} {...this.inheritedAttributes} role={this.role}>\n\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={InfobarClass.content}>\n\t\t\t\t\t\t{this.h.hasSlot('headline') ? (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t<div class={InfobarClass.headline}>\n\t\t\t\t\t\t\t\t\t<slot name={\"headline\"}/>\n\t\t\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\t\t\t\t\t\taria-label={this.accessibleToggleLabel}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => (this.toggleContent = !this.toggleContent)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name={this.toggleContent ? 'chevron-up' : 'chevron-down'} type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div hidden={!this.toggleContent} aria-hidden={toBoolAttr(this.toggleContent)}>\n\t\t\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.closable && closeButton}\n\t\t\t\t</section>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tonCloseHandler(e: CustomEvent<ButtonEvent>) {\n\t\tthis.govClose.emit({\n\t\t\tcomponent: InfobarClass.root,\n\t\t\tref: this.host,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as i,h as t,H as a,g as s}from"./p-ClISz4NF.js";import{g as c,b as o}from"./p-CoD1xawt.js";import{c as d}from"./p-vN03FcXN.js";import{v as n}from"./p-CDIRBJsi.js";import{c as r}from"./p-CgDnDrq5.js";import{d as h}from"./p-CQvUntGY.js";import"./p-DNztiAH0.js";var l;(function(e){e["HORIZONTAL"]="horizontal";e["VERTICAL"]="vertical"})(l||(l={}));const f={root:"gov-card",header:"gov-card__header",arrow:"gov-card__arrow",inner:"gov-card__inner",img:"gov-card__img",icon:"gov-card__icon",content:"gov-card__content",footer:"gov-card__footer"};var b;(function(e){e["A"]="a";e["DIV"]="div"})(b||(b={}));const v=class{constructor(t){e(this,t);this.govToggle=i(this,"gov-toggle");this.hydrated=false;this.direction="vertical";this.collapsible=false;this.clickable=false;this.open=true;this.h=c(this.host);this.headlineId=d("GovCardHeadline");this.contentId=d("GovCardContent")}async componentDidRender(){if(r()){await h(500);await this.validateAccessibility()}}connectedCallback(){this.hydrated=true}render(){const e=this.href?b.A:b.DIV;return t(a,{key:"8e06f44b5b92bdbbdd47121d3e136485b83ce64e",class:this.h.classes(f.root),open:this.open,collapsible:o(this.collapsible),clickable:this.clickable,direction:this.direction,hydrated:this.hydrated},this.collapsible?t("button",{id:this.headlineId,class:f.header,"aria-label":this.accessibleTriggerLabel,"aria-labelledby":this.accessibleTriggerLabelledBy,"aria-expanded":o(this.open),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},t("slot",{name:"headline"}),t("gov-icon",{class:f.arrow,name:"chevron-down",type:"components"})):this.h.hasSlot("headline")?t("div",{class:f.header},t("slot",{name:"headline"})):null,t(e,{key:"e10c86ffa82d2e6227f0212295f4eed2ec68adac",href:this.href,target:this.target,id:this.contentId,"aria-hidden":this.collapsible?o(!this.open):undefined,hidden:this.collapsible?!this.open:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined,class:f.inner},this.h.hasSlot("img")&&t("div",{key:"f3c3a6f840fb6c8c6a4816e821bc3678fb696140",class:f.img},t("slot",{key:"d935568b7eeab4ce60cd699c301bf735a62e8862",name:"img"})),this.h.hasSlot("icon")&&t("div",{key:"a11162b8aa9820facd7e141cecd95327c1d299f4",class:f.icon},t("slot",{key:"e8dbb0a3e4f24eeed4254f8b91e9491029eb0221",name:"icon"})),t("div",{key:"76953be0ece73a123389d5d3e5f5accf5da9fd27",class:f.content},t("slot",{key:"a424223d3cd41e382cb97685c40a11ac43c8f836"})),this.h.hasSlot("footer")&&t("div",{key:"4ab1cfaa4d814f1bf693b44c4a56169caf8cea45",class:f.footer},t("slot",{key:"3427ccf260355c8b8b3b8d1dea54d8e82ec44da5",name:"footer"}))))}onClickHandler(e){e.stopPropagation();if(this.collapsible){this.open=!this.open;this.govToggle.emit({open:this.open,element:this.host})}}async validateAccessibility(){if(this.collapsible){n(this.accessibleTriggerLabel,this.accessibleTriggerLabelledBy,f.root,this.host)}}get host(){return s(this)}};export{v as gov_card};
2
+ //# sourceMappingURL=p-558e75a6.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CardDirection","CardClass","root","header","arrow","inner","img","icon","content","footer","Tags","GovCard","constructor","hostRef","this","hydrated","direction","collapsible","clickable","open","h","govHost","host","headlineId","createID","contentId","componentDidRender","canValidateWcagOnRender","delay","validateAccessibility","connectedCallback","render","Tag","href","A","DIV","Host","key","class","classes","booleanString","id","accessibleTriggerLabel","accessibleTriggerLabelledBy","onClick","onClickHandler","bind","name","type","hasSlot","target","undefined","hidden","e","stopPropagation","govToggle","emit","element","validateAccessibleLabel"],"sources":["../../../packages/core/src/components/gov-card/constants.ts","../../../packages/core/src/components/gov-card/gov-card.tsx"],"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","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"],"mappings":"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","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["GovFormCheckbox","constructor","hostRef","this","hydrated","checked","required","disabled","indeterminate","size","noLabel","inheritedAttributes","checkboxId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormCheckboxSizes","FormCheckboxClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","invalid","componentWillLoad","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","connectedCallback","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","render","wrapCheckbox","children","class","label","Host","toBoolAttrIfDefined","Fragment","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","check","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/checkbox/gov-form-checkbox.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\r\nimport {createID} from \"../../../utils/string.utils\"\r\nimport {validateProp} from \"../../../helpers/Validate/props\"\r\nimport {FormCheckboxClass, FormCheckboxSizes, FormCheckboxSizesType} from \"./constants\"\r\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\r\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\r\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\r\nimport {govForm} from \"../../../helpers/Dom/form\"\r\nimport Fragment from \"../../../helpers/Fragment\"\r\nimport {FormCheckboxEvent} from \"./gov-form-checkbox.types\"\r\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\r\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\r\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\r\n\r\n@Component({\r\n\ttag: \"gov-form-checkbox\",\r\n})\r\nexport class GovFormCheckbox {\r\n\tprivate readonly h: GovHost\r\n\tprivate f: GovForm\r\n\tprivate inputRef?: HTMLInputElement\r\n\tprivate attributeObserver: AttributeObserver\r\n\r\n\tprivate readonly checkboxId: string\r\n\tprivate hydrated = false\r\n\r\n\tconstructor() {\r\n\t\tthis.checkboxId = createID(\"GovCheckbox\")\r\n\r\n\t\tthis.h = govHost(this.host)\r\n\t\tthis.f = govForm(this.h)\r\n\t}\r\n\r\n\t@Element() host: HTMLGovFormCheckboxElement\r\n\t/**\r\n\t * Value of checkbox\r\n\t */\r\n\t@Prop() readonly value: string\r\n\t/**\r\n\t * Checkbox button state\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) checked = false\r\n\t/**\r\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\r\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\r\n\t */\r\n\t@Prop() readonly required: boolean = false\r\n\t/**\r\n\t * Makes the checkbox component disabled.\r\n\t */\r\n\t@Prop({reflect: true}) readonly disabled: boolean = false\r\n\t/**\r\n\t * Same as original parameter (https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate)\r\n\t */\r\n\t@Prop({reflect: true}) readonly indeterminate: boolean = false\r\n\t/**\r\n\t * Name of the checkbox.\r\n\t */\r\n\t@Prop() readonly name: string\r\n\t/**\r\n\t * Checkboxes size.\r\n\t */\r\n\t@Prop({reflect: true}) readonly size?: FormCheckboxSizesType = \"m\"\r\n\t/**\r\n\t * Custom checkbox identifier.\r\n\t */\r\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\r\n\t/**\r\n\t * When you can't use the form label.\r\n\t */\r\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\r\n\t/**\r\n\t * Indicates the entered value does not conform to the format expected by the application.\r\n\t */\r\n\t@Prop() readonly invalid: boolean\r\n\t/**\r\n\t * Emitted when the checkbox has focus.\r\n\t */\r\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormCheckboxEvent>\r\n\t/**\r\n\t * Emitted when the checkbox loses focus.\r\n\t */\r\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormCheckboxEvent>\r\n\t/**\r\n\t * Emitted when the checkbox change value.\r\n\t */\r\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxEvent>\r\n\r\n\t@Watch(\"size\")\r\n\tvalidateSize(newValue: string): void {\r\n\t\tvalidateProp(FormCheckboxSizes, newValue, FormCheckboxClass.root)\r\n\t}\r\n\r\n\t@Watch(\"disabled\")\r\n\t@Watch(\"invalid\")\r\n\t@Watch(\"size\")\r\n\twatchControlAttrs(): void {\r\n\t\tthis.passControlAttrs()\r\n\t}\r\n\r\n\t@State() inheritedAttributes: Attributes = {}\r\n\r\n\tprivate passControlAttrs() {\r\n\t\tthis.f.passAttrToControl(\"size\", this.size)\r\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\r\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\r\n\t\tthis.f.passAttrToControl(\"type\", \"checkbox\")\r\n\t}\r\n\r\n\tcomponentWillLoad() {\r\n\t\tthis.passControlAttrs()\r\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\r\n\t}\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\tasync componentDidRender() {\r\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.checkboxId)\r\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\r\n\t\tthis.passControlAttrs()\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tthis.hydrated = true\r\n\t}\r\n\r\n\tdisconnectedCallback() {\r\n\t\tthis.attributeObserver?.stopObserving();\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\trender() {\r\n\t\tconst wrapCheckbox = (children) => {\r\n\t\t\tif (this.noLabel) {\r\n\t\t\t\treturn (\r\n\t\t\t\t\t<label class={FormCheckboxClass.label}>\r\n\t\t\t\t\t\t{children}\r\n\t\t\t\t\t</label>\r\n\t\t\t\t)\r\n\t\t\t}\r\n\t\t\treturn children\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={FormCheckboxClass.root}\r\n\t\t\t\t\t\thydrated={this.hydrated}\r\n\t\t\t\t\t\tchecked={this.checked}\r\n\t\t\t\t\t\tsize={this.size}\r\n\t\t\t\t\t\tinvalid={toBoolAttrIfDefined(this.invalid)}>\r\n\t\t\t\t{wrapCheckbox(\r\n\t\t\t\t\t<Fragment>\r\n\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\tid={this.identifier || this.checkboxId}\r\n\t\t\t\t\t\t\ttype=\"checkbox\"\r\n\t\t\t\t\t\t\tvalue={this.value}\r\n\t\t\t\t\t\t\tname={this.name}\r\n\t\t\t\t\t\t\tchecked={this.checked}\r\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\r\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\r\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\r\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\r\n\t\t\t\t\t\t\trequired={this.required}\r\n\t\t\t\t\t\t\tdisabled={this.disabled}\r\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\r\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\r\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\r\n\t\t\t\t\t\t\taria-checked={toBoolAttr(this.checked)}\r\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\r\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\r\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t<slot name=\"label\"/>\r\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.check} name=\"check-lg\" type=\"components\"></gov-icon>\r\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.indeterminate} name=\"dash-lg\" type=\"components\"></gov-icon>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</Fragment>,\r\n\t\t\t\t)}\r\n\t\t\t</Host>\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: FormCheckboxClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\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: FormCheckboxClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\r\n\t\t})\r\n\t}\r\n\r\n\tprivate onClickHandler(e: PointerEvent) {\r\n\t\te.stopPropagation()\r\n\t}\r\n\r\n\tprivate onChangeHandler(e: Event) {\r\n\t\tthis.checked = (e.target as HTMLInputElement).checked\r\n\t\te.stopPropagation()\r\n\t\tthis.govChange.emit({\r\n\t\t\tcomponent: FormCheckboxClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tchecked: this.checked,\r\n\t\t\toriginalEvent: e,\r\n\t\t})\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the reference of the native element\r\n\t */\r\n\t@Method()\r\n\tasync getRef(): Promise<HTMLInputElement> {\r\n\t\treturn this.inputRef\r\n\t}\r\n}\r\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["GovFormCheckbox","constructor","hostRef","this","hydrated","checked","required","disabled","indeterminate","size","noLabel","inheritedAttributes","checkboxId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormCheckboxSizes","FormCheckboxClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","toBoolAttr","invalid","componentWillLoad","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","connectedCallback","disconnectedCallback","_a","stopObserving","removeAttribute","Object","assign","render","wrapCheckbox","children","class","label","Host","toBoolAttrIfDefined","Fragment","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","check","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/checkbox/gov-form-checkbox.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormCheckboxClass, FormCheckboxSizes, FormCheckboxSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormCheckboxEvent} from \"./gov-form-checkbox.types\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-form-checkbox\",\n})\nexport class GovFormCheckbox {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly checkboxId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.checkboxId = createID(\"GovCheckbox\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormCheckboxElement\n\t/**\n\t * Value of checkbox\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * Checkbox button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the checkbox component disabled.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter (https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate)\n\t */\n\t@Prop({reflect: true}) readonly indeterminate: boolean = false\n\t/**\n\t * Name of the checkbox.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Checkboxes size.\n\t */\n\t@Prop({reflect: true}) readonly size?: FormCheckboxSizesType = \"m\"\n\t/**\n\t * Custom checkbox identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the checkbox has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormCheckboxEvent>\n\t/**\n\t * Emitted when the checkbox loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormCheckboxEvent>\n\t/**\n\t * Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormCheckboxSizes, newValue, FormCheckboxClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", \"checkbox\")\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.passControlAttrs()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\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\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.checkboxId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\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\trender() {\n\t\tconst wrapCheckbox = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn (\n\t\t\t\t\t<label class={FormCheckboxClass.label}>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</label>\n\t\t\t\t)\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormCheckboxClass.root}\n\t\t\t\t\t\thydrated={this.hydrated}\n\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tinvalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapCheckbox(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tid={this.identifier || this.checkboxId}\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={toBoolAttr(this.checked)}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.check} name=\"check-lg\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.indeterminate} name=\"dash-lg\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,h as t,H as o,g as r}from"./p-ClISz4NF.js";import{g as e}from"./p-CoD1xawt.js";const a={root:"gov-container"};const c=class{constructor(t){s(this,t);this.h=e(this.host)}render(){return t(o,{key:"57f372b12f582a563cd0191ccac3574a54fa026f",class:this.h.classes(a.root)},t("slot",{key:"ee902cd336fe794ee49d655b59054dbd3c852036"}))}get host(){return r(this)}};export{c as gov_container};
2
+ //# sourceMappingURL=p-57ca8ac7.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ContainerClass","root","GovContainer","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes"],"sources":["../../../packages/core/src/components/gov-container/constants.tsx","../../../packages/core/src/components/gov-container/gov-container.tsx"],"sourcesContent":["export const ContainerClass = {\n\troot: 'gov-container',\n}\n","import { Component, Element, h, Host } from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { ContainerClass } from './constants'\n\n@Component({\n\ttag: 'gov-container',\n})\nexport class GovContainer {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovContainerElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ContainerClass.root)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6FAAO,MAAMA,EAAiB,CAC7BC,KAAM,iB,MCOMC,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,KACtB,CAID,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQb,EAAeC,OAC1CK,EAAQ,QAAAK,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as o,h as e,H as n}from"./p-ClISz4NF.js";import{a as c}from"./p-vN03FcXN.js";const t=class{constructor(e){o(this,e);this.uniqueId="lifecycle-"+c()}connectedCallback(){console.log("connectedCallback",this.uniqueId)}disconnectedCallback(){console.log("disconnectedCallback",this.uniqueId)}componentWillLoad(){console.log("componentWillLoad",this.uniqueId)}componentDidLoad(){console.log("componentDidLoad",this.uniqueId)}componentShouldUpdate(){console.log("componentShouldUpdate",this.uniqueId)}componentWillRender(){console.log("componentWillRender",this.uniqueId)}componentDidRender(){console.log("componentDidRender",this.uniqueId)}componentWillUpdate(){console.log("componentWillUpdate",this.uniqueId)}componentDidUpdate(){console.log("componentDidUpdate",this.uniqueId)}render(){return e(n,{key:"5764a6d1dd18127a3b71f9a9a5bfac9116b94d1e",identifier:this.uniqueId},e("span",{key:"d5ae2d686dcc55523aa9a0ea500aff9e4de4fb3f"},"lifecycle ",this.uniqueId))}};export{t as gov_lifecycle};
2
- //# sourceMappingURL=p-8161e1fe.entry.js.map
1
+ import{r as e,h as o,H as n}from"./p-ClISz4NF.js";import{a as c}from"./p-vN03FcXN.js";const t=class{constructor(o){e(this,o);this.uniqueId="lifecycle-"+c()}connectedCallback(){console.log("connectedCallback",this.uniqueId)}disconnectedCallback(){console.log("disconnectedCallback",this.uniqueId)}componentWillLoad(){console.log("componentWillLoad",this.uniqueId)}componentDidLoad(){console.log("componentDidLoad",this.uniqueId)}componentShouldUpdate(){console.log("componentShouldUpdate",this.uniqueId)}componentWillRender(){console.log("componentWillRender",this.uniqueId)}componentDidRender(){console.log("componentDidRender",this.uniqueId)}componentWillUpdate(){console.log("componentWillUpdate",this.uniqueId)}componentDidUpdate(){console.log("componentDidUpdate",this.uniqueId)}render(){return o(n,{key:"eeda9523c33256ff4687e071bf2546383aad6ffc",identifier:this.uniqueId},o("span",{key:"ae7cbbfca20d4a882c2021a309746359e8296eee"},"lifecycle ",this.uniqueId))}};export{t as gov_lifecycle};
2
+ //# sourceMappingURL=p-5c872d64.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GovLifecycle","constructor","hostRef","this","uniqueId","chr4","connectedCallback","console","log","disconnectedCallback","componentWillLoad","componentDidLoad","componentShouldUpdate","componentWillRender","componentDidRender","componentWillUpdate","componentDidUpdate","render","h","Host","key","identifier"],"sources":["../../../packages/core/src/components/gov-lifecycle-tester/gov-lifecycle-tester.tsx"],"sourcesContent":["import {Component, h, Host} from '@stencil/core';\nimport {chr4} from \"../../utils/string.utils\";\n\n@Component({\n\ttag: 'gov-lifecycle',\n})\nexport class GovLifecycle {\n\tprivate readonly uniqueId: string;\n\n\tconstructor() {\n\t\tthis.uniqueId = 'lifecycle-' + chr4();\n\t}\n\n\tconnectedCallback() {\n\t\tconsole.log('connectedCallback', this.uniqueId);\n\t}\n\n\tdisconnectedCallback() {\n\t\tconsole.log('disconnectedCallback', this.uniqueId);\n\t}\n\n\tcomponentWillLoad() {\n\t\tconsole.log('componentWillLoad', this.uniqueId);\n\t}\n\n\tcomponentDidLoad() {\n\t\tconsole.log('componentDidLoad', this.uniqueId);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tconsole.log('componentShouldUpdate', this.uniqueId);\n\t}\n\n\tcomponentWillRender() {\n\t\tconsole.log('componentWillRender', this.uniqueId);\n\t}\n\n\tcomponentDidRender() {\n\t\tconsole.log('componentDidRender', this.uniqueId);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tconsole.log('componentWillUpdate', this.uniqueId);\n\t}\n\n\tcomponentDidUpdate() {\n\t\tconsole.log('componentDidUpdate', this.uniqueId);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host identifier={this.uniqueId}>\n\t\t\t\t<span>lifecycle {this.uniqueId}</span>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"4FAMaA,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,SAAW,aAAeC,GAC/B,CAED,iBAAAC,GACCC,QAAQC,IAAI,oBAAqBL,KAAKC,S,CAGvC,oBAAAK,GACCF,QAAQC,IAAI,uBAAwBL,KAAKC,S,CAG1C,iBAAAM,GACCH,QAAQC,IAAI,oBAAqBL,KAAKC,S,CAGvC,gBAAAO,GACCJ,QAAQC,IAAI,mBAAoBL,KAAKC,S,CAGtC,qBAAAQ,GACCL,QAAQC,IAAI,wBAAyBL,KAAKC,S,CAG3C,mBAAAS,GACCN,QAAQC,IAAI,sBAAuBL,KAAKC,S,CAGzC,kBAAAU,GACCP,QAAQC,IAAI,qBAAsBL,KAAKC,S,CAGxC,mBAAAW,GACCR,QAAQC,IAAI,sBAAuBL,KAAKC,S,CAGzC,kBAAAY,GACCT,QAAQC,IAAI,qBAAsBL,KAAKC,S,CAGxC,MAAAa,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,WAAYlB,KAAKC,UACtBc,EAAA,QAAAE,IAAA,yDAAiBjB,KAAKC,U","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"p-5itQzbON.js","sources":["../../../packages/core/src/helpers/Fragment.tsx"],"sourcesContent":["export default (_, children) => [...children]\r\n"],"names":[],"mappings":"AAAA,eAAe,CAAC,CAAC,EAAE,QAAQ,KAAK,CAAC,GAAG,QAAQ,CAAC;;;;"}
1
+ {"version":3,"file":"p-5itQzbON.js","sources":["../../../packages/core/src/helpers/Fragment.tsx"],"sourcesContent":["export default (_, children) => [...children]\n"],"names":[],"mappings":"AAAA,eAAe,CAAC,CAAC,EAAE,QAAQ,KAAK,CAAC,GAAG,QAAQ,CAAC;;;;"}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as e,H as s}from"./p-ClISz4NF.js";const o={root:"gov-form-password-power",bar:"gov-form-password-power__bar",text:"gov-form-password-power__text"};const d=class{constructor(e){a(this,e)}render(){return e(s,{key:"259a9deb3c0ee50d133d51185e0a4f32fb7bbb22",class:o.root},e("span",{key:"28ef4f7e8a3588929e5a58d7c2a0c1c5e792a4e5",class:o.bar},e("span",{key:"84430e3aa8975955a1d071b6c55ef92dabdb9da5"}),e("span",{key:"3a3b278664a4d5713a6e88e263d339d5787ed719"}),e("span",{key:"b524dfa5680ce613cfbdbb6b2796c9c2d22ab82d"})),e("span",{key:"64ad4e07768ffe8fb91bf2441a043347a0d40a68",class:o.text},e("slot",{key:"d3ec539e4e3fae3a60b4c42432563c250e571bdf"})))}};export{d as gov_form_password_power};
2
+ //# sourceMappingURL=p-65a09763.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FormPasswordPowerClass","root","bar","text","GovFormPasswordPower","render","h","Host","key","class"],"sources":["../../../packages/core/src/components/gov-form/password-power/constants.ts","../../../packages/core/src/components/gov-form/password-power/gov-form-password-power.tsx"],"sourcesContent":["export const FormPasswordPowerClass = {\n\troot: 'gov-form-password-power',\n bar: 'gov-form-password-power__bar',\n text: 'gov-form-password-power__text',\n}\n","import {Component, h, Host, Prop} from '@stencil/core'\nimport {FormPasswordPowerClass} from './constants'\n\n@Component({\n\ttag: 'gov-form-password-power',\n})\nexport class GovFormPasswordPower {\n\t/**\n\t * Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong\n\t */\n\t@Prop({reflect: true}) readonly power: number\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormPasswordPowerClass.root}>\n\t\t\t\t\t<span class={FormPasswordPowerClass.bar}>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class={FormPasswordPowerClass.text}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"kDAAO,MAAMA,EAAyB,CACrCC,KAAM,0BACHC,IAAK,+BACLC,KAAM,iC,MCGGC,EAAoB,M,yBAMhC,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAOT,EAAuBC,MAClCK,EAAA,QAAAE,IAAA,2CAAMC,MAAOT,EAAuBE,KAClCI,EAAa,QAAAE,IAAA,6CACbF,EAAa,QAAAE,IAAA,6CACbF,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,MAAOT,EAAuBG,MAClCG,EAAO,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,H as e,g as h}from"./p-ClISz4NF.js";import{g as a,l as o,m as n}from"./p-B6CqPcY_.js";import{g as r,a as c,d as l,t as d}from"./p-CoD1xawt.js";import{v as p}from"./p-NOJjz9dT.js";import{c as m}from"./p-vN03FcXN.js";import{A as u,a as b}from"./p-Bz_RzYFb.js";import{i as v}from"./p-CzXeijOj.js";import{p as f}from"./p-CQvUntGY.js";import{S as g}from"./p-BcQO4NH2.js";import{C as y}from"./p-U40vKHrs.js";import"./p-EeKNA85D.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";import"./p-CgDnDrq5.js";var k;(function(t){t["INPUT"]="input";t["TEXTAREA"]="textarea"})(k||(k={}));const j=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus");this.govBlur=s(this,"gov-blur");this.govInput=s(this,"gov-input");this.govKeyUp=s(this,"gov-keyup");this.govHydrated=s(this,"gov-hydrated");this.govKeyDown=s(this,"gov-keydown");this.size="m";this.required=false;this.disabled=false;this.inputType="text";this.accessibleShowPasswordLabel="Zobrazit heslo";this.accessibleHidePasswordLabel="Skrýt heslo";this.showPassword=false;this.inheritedAttributes={};this.h=r(this.host);this.inputId=m("GovInput");this.f=a(this.h)}validateSize(t){p(n,t,o.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",c(this.success));this.f.passAttrToControl("disabled",c(this.disabled));this.f.passAttrToControl("invalid",c(this.invalid));this.f.passAttrToControl("type",this.multiline?k.TEXTAREA:k.INPUT)}componentDidLoad(){this.attributeObserver=new u(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(b);this.govHydrated.emit()}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=v(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}render(){const t=this.multiline?k.TEXTAREA:k.INPUT;return i(e,{key:"77dae47e06d063a2487a5ddbb1259306b5cdbfc3",class:o.root,size:this.size,type:this.type},this.h.hasSlot("prefix")&&i("slot",{key:"e8e2f433d1ef4132ea11deccd0430d1e629b939b",name:"prefix"}),i("span",{key:"d6ccd3199c302f2bdefec80c9b1d41e221f5c996",class:"element"},this.h.hasSlot("icon-start")&&!this.multiline&&i("div",{key:"9bdfc91aeb6b5f9c9c16cf902d092caeb5c5d9c5",class:o.icons,onClick:()=>this.inputRef.focus()},i("slot",{key:"2a2d7b03fbe85a18353ac360a822721b2e76da78",name:"icon-start"})),i(t,Object.assign({key:"e43d026dbb5138a6b69363805df462d18d3e1e1f",type:this.inputType==="password"&&this.showPassword?"text":this.inputType,disabled:this.disabled,id:this.identifier||this.inputId,name:this.name,onFocus:this.onFocusHandler.bind(this),onInput:this.onInputHandler.bind(this),onBlur:this.onBlurHandler.bind(this),onKeyUp:this.onKeyUpHandler.bind(this),onKeyDown:this.onKeyDownHandler.bind(this),ref:t=>this.inputRef=t,placeholder:this.placeholder,spellcheck:d(this.spellcheck),lang:this.inputLang,readonly:d(this.readonly),autocomplete:l(this.autocomplete),autocorrect:l(this.autocorrect),minlength:this.minlength,maxlength:this.maxlength,min:this.min,max:this.max,required:this.required,rows:this.rows,cols:this.cols,role:this.role,value:this.value},this.inheritedAttributes,{"aria-required":d(this.required),"aria-invalid":d(this.invalid),"aria-disabled":d(this.disabled)})),(this.success||this.invalid||this.h.hasSlot("icon-end")||this.inputType==="password")&&!this.multiline&&i("div",{key:"43025915f216c0153e069acdddbece0e059f3ec7",class:o.icons,onClick:()=>this.inputRef.focus()},this.success&&!this.multiline&&i("gov-icon",{key:"13b34f7a5e705afdb92877850f116895318bb876",class:"validation-icon",name:"check-lg",type:"components"}),this.invalid&&!this.multiline&&i("gov-icon",{key:"d671025577334714519c12956863a3a3c6f3af81",class:"validation-icon",name:"exclamation-lg",type:"components"}),this.h.hasSlot("icon-end")&&this.inputType!=="password"&&i("slot",{key:"f26ff9842ab606917ff1fe10e5fa83e0707f923f",name:"icon-end"}),this.inputType==="password"?i("gov-button",{color:"primary",type:"base",size:this.size,"aria-label":this.showPassword?this.accessibleHidePasswordLabel:this.accessibleShowPasswordLabel,"on-gov-click":()=>this.showPassword=!this.showPassword},i("gov-icon",{slot:"icon-start",name:"eye",type:"components"})):null)),this.h.hasSlot("sufix")&&i("slot",{key:"666b152801bc34d6cdb66e88c22d695c4b4d169c",name:"sufix"}))}onFocusHandler(t){t.stopPropagation();this.focused=true;this.govFocus.emit({component:o.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.focused=false;this.govBlur.emit({component:o.root,value:this.value,originalEvent:t})}onKeyUpHandler(t){t.stopPropagation();this.govKeyUp.emit({component:o.root,value:this.value,originalEvent:t})}onKeyDownHandler(t){t.stopPropagation();this.govKeyDown.emit({component:o.root,value:this.value,originalEvent:t})}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:o.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}};const w=f(g,["_XS","_S","_M","_L","_XL"]);f(y,["PRIMARY","NEUTRAL"]);var C;(function(t){t["CIRCLE"]="circle";t["LINE"]="line"})(C||(C={}));var z;(function(t){t["PULSE"]="pulse";t["PROGRESS"]="progress";t["FALSE"]="false"})(z||(z={}));const A={root:"gov-skeleton"};const x=class{constructor(s){t(this,s);this.size="m";this.color="neutral";this.shape="line";this.width=null;this.height=null;this.animation="progress";this.items=[];this.inheritedAttributes={};this.h=r(this.host)}validateSize(t){p(w,t,A.root)}validateShape(t){p(C,t,A.root)}validateAnimation(t){p(z,t,A.root)}componentDidLoad(){this.attributeObserver=new u(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(b)}componentWillLoad(){this.validateSize(this.size);this.validateShape(this.shape);this.validateAnimation(this.animation);this.init();this.inheritedAttributes=v(this.host)}componentWillUpdate(){this.init()}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}init(){this.items.fill(1)}render(){return i(e,Object.assign({key:"871f22b2b3bd0c92c75b81b4d649246414c01b97",size:this.size,color:this.color,class:{[A.root]:true,circle:this.shape==="circle",line:this.shape==="line",progress:this.animation==="progress",pulse:this.animation==="pulse"}},this.inheritedAttributes,{"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100",role:"progressbar",tabindex:"0",style:{width:this.width,height:this.height}}))}get host(){return h(this)}static get watchers(){return{size:["validateSize"],shape:["validateShape"],animation:["validateAnimation"]}}};export{j as gov_form_input,x as gov_skeleton};
2
- //# sourceMappingURL=p-e7f889c7.entry.js.map
1
+ import{r as t,c as s,h as i,H as e,g as a}from"./p-ClISz4NF.js";import{g as h,l as o,m as n}from"./p-B6CqPcY_.js";import{g as c,a as r,d as l,t as d}from"./p-CoD1xawt.js";import{v as p}from"./p-NOJjz9dT.js";import{c as m}from"./p-vN03FcXN.js";import{A as u,a as v}from"./p-Bz_RzYFb.js";import{i as f}from"./p-CzXeijOj.js";import{p as b}from"./p-CQvUntGY.js";import{S as g}from"./p-BcQO4NH2.js";import{C as y}from"./p-U40vKHrs.js";import"./p-EeKNA85D.js";import"./p-DYcNEwSZ.js";import"./p-DBXGhafv.js";import"./p-CgDnDrq5.js";var k;(function(t){t["INPUT"]="input";t["TEXTAREA"]="textarea"})(k||(k={}));const j=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus");this.govBlur=s(this,"gov-blur");this.govInput=s(this,"gov-input");this.govKeyUp=s(this,"gov-keyup");this.govHydrated=s(this,"gov-hydrated");this.govKeyDown=s(this,"gov-keydown");this.size="m";this.required=false;this.disabled=false;this.inputType="text";this.accessibleShowPasswordLabel="Zobrazit heslo";this.accessibleHidePasswordLabel="Skrýt heslo";this.showPassword=false;this.inheritedAttributes={};this.h=c(this.host);this.inputId=m("GovInput");this.f=h(this.h)}validateSize(t){p(n,t,o.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",r(this.success));this.f.passAttrToControl("disabled",r(this.disabled));this.f.passAttrToControl("invalid",r(this.invalid));this.f.passAttrToControl("type",this.multiline?k.TEXTAREA:k.INPUT)}componentDidLoad(){this.attributeObserver=new u(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(v);this.govHydrated.emit()}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=f(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}render(){const t=this.multiline?k.TEXTAREA:k.INPUT;return i(e,{key:"470bdae759d1432aebbffcf4c13b228b1a50c21a",class:o.root,size:this.size,type:this.type},this.h.hasSlot("prefix")&&i("slot",{key:"0963159d9d3f2ce33a994d85bc87b72ba7b52358",name:"prefix"}),i("span",{key:"ac3fd14a01fff348764c8d7ce583cb9335f1fc54",class:"element"},this.h.hasSlot("icon-start")&&!this.multiline&&i("div",{key:"24bf34d61668b77b7c8c673f8046dec464a1ced4",class:o.icons,onClick:()=>this.inputRef.focus()},i("slot",{key:"11c141e20982053571112b8b8abe1c714ffa1618",name:"icon-start"})),i(t,Object.assign({key:"4cdf4caf3597527525bc0d858895d6588e510a69",type:this.inputType==="password"&&this.showPassword?"text":this.inputType,disabled:this.disabled,id:this.identifier||this.inputId,name:this.name,onFocus:this.onFocusHandler.bind(this),onInput:this.onInputHandler.bind(this),onBlur:this.onBlurHandler.bind(this),onKeyUp:this.onKeyUpHandler.bind(this),onKeyDown:this.onKeyDownHandler.bind(this),ref:t=>this.inputRef=t,placeholder:this.placeholder,spellcheck:d(this.spellcheck),lang:this.inputLang,readonly:d(this.readonly),autocomplete:l(this.autocomplete),autocorrect:l(this.autocorrect),minlength:this.minlength,maxlength:this.maxlength,min:this.min,max:this.max,required:this.required,rows:this.rows,cols:this.cols,role:this.role,value:this.value},this.inheritedAttributes,{"aria-required":d(this.required),"aria-invalid":d(this.invalid),"aria-disabled":d(this.disabled)})),(this.success||this.invalid||this.h.hasSlot("icon-end")||this.inputType==="password")&&!this.multiline&&i("div",{key:"fb1083c88c21dd1ed9651c3ed419c86acfcb29a0",class:o.icons,onClick:()=>this.inputRef.focus()},this.success&&!this.multiline&&i("gov-icon",{key:"5e3b97be29c7a1e5fe019f4b39a266283b097876",class:"validation-icon",name:"check-lg",type:"components"}),this.invalid&&!this.multiline&&i("gov-icon",{key:"71082970477091c678241cf81a834b241203ea93",class:"validation-icon",name:"exclamation-lg",type:"components"}),this.h.hasSlot("icon-end")&&this.inputType!=="password"&&i("slot",{key:"cc1cc59a5e806ecc90b7a5da3d437e80a340ac30",name:"icon-end"}),this.inputType==="password"?i("gov-button",{color:"primary",type:"base",size:this.size,"aria-label":this.showPassword?this.accessibleHidePasswordLabel:this.accessibleShowPasswordLabel,"on-gov-click":()=>this.showPassword=!this.showPassword},i("gov-icon",{slot:"icon-start",name:"eye",type:"components"})):null)),this.h.hasSlot("sufix")&&i("slot",{key:"c8e382b5dfa2973b9e36bf5074860439f5f13236",name:"sufix"}))}onFocusHandler(t){t.stopPropagation();this.focused=true;this.govFocus.emit({component:o.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.focused=false;this.govBlur.emit({component:o.root,value:this.value,originalEvent:t})}onKeyUpHandler(t){t.stopPropagation();this.govKeyUp.emit({component:o.root,value:this.value,originalEvent:t})}onKeyDownHandler(t){t.stopPropagation();this.govKeyDown.emit({component:o.root,value:this.value,originalEvent:t})}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:o.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return a(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}};const w=b(g,["_XS","_S","_M","_L","_XL"]);b(y,["PRIMARY","NEUTRAL"]);var C;(function(t){t["CIRCLE"]="circle";t["LINE"]="line"})(C||(C={}));var z;(function(t){t["PULSE"]="pulse";t["PROGRESS"]="progress";t["FALSE"]="false"})(z||(z={}));const A={root:"gov-skeleton"};const x=class{constructor(s){t(this,s);this.size="m";this.color="neutral";this.shape="line";this.width=null;this.height=null;this.animation="progress";this.items=[];this.inheritedAttributes={};this.h=c(this.host)}validateSize(t){p(w,t,A.root)}validateShape(t){p(C,t,A.root)}validateAnimation(t){p(z,t,A.root)}componentDidLoad(){this.attributeObserver=new u(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(v)}componentWillLoad(){this.validateSize(this.size);this.validateShape(this.shape);this.validateAnimation(this.animation);this.init();this.inheritedAttributes=f(this.host)}componentWillUpdate(){this.init()}disconnectedCallback(){var t;(t=this.attributeObserver)===null||t===void 0?void 0:t.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}init(){this.items.fill(1)}render(){return i(e,Object.assign({key:"88cc98a811553c74d60d4b97c283cc918d3f3405",size:this.size,color:this.color,class:{[A.root]:true,circle:this.shape==="circle",line:this.shape==="line",progress:this.animation==="progress",pulse:this.animation==="pulse"}},this.inheritedAttributes,{"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100",role:"progressbar",tabindex:"0",style:{width:this.width,height:this.height}}))}get host(){return a(this)}static get watchers(){return{size:["validateSize"],shape:["validateShape"],animation:["validateAnimation"]}}};export{j as gov_form_input,x as gov_skeleton};
2
+ //# sourceMappingURL=p-6b44890d.entry.js.map