@gov-design-system-ce/components 4.2.6 → 4.2.8

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 (1420) hide show
  1. package/dist/cjs/Fragment-D4qSkFah.js +8 -0
  2. package/dist/cjs/Fragment-D4qSkFah.js.map +1 -0
  3. package/dist/cjs/accessibility-BQJmIVWV.js +13 -0
  4. package/dist/cjs/accessibility-BQJmIVWV.js.map +1 -0
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/array.utils-DOh1gCQS.js +45 -0
  8. package/dist/cjs/array.utils-DOh1gCQS.js.map +1 -0
  9. package/dist/cjs/attribute-CH1-zDDl.js +103 -0
  10. package/dist/cjs/attribute-CH1-zDDl.js.map +1 -0
  11. package/dist/cjs/colors-DgrrxjsX.js +19 -0
  12. package/dist/cjs/colors-DgrrxjsX.js.map +1 -0
  13. package/dist/cjs/constants-357ehBFU.js +15 -0
  14. package/dist/cjs/constants-357ehBFU.js.map +1 -0
  15. package/dist/cjs/constants-CFAhiwqu.js +19 -0
  16. package/dist/cjs/constants-CFAhiwqu.js.map +1 -0
  17. package/dist/cjs/constants-CS58GJeI.js +29 -0
  18. package/dist/cjs/constants-CS58GJeI.js.map +1 -0
  19. package/dist/cjs/constants-CYm8AK_D.js +27 -0
  20. package/dist/cjs/constants-CYm8AK_D.js.map +1 -0
  21. package/dist/cjs/constants-CbBhWRUQ.js +26 -0
  22. package/dist/cjs/constants-CbBhWRUQ.js.map +1 -0
  23. package/dist/cjs/constants-ChDSk4SZ.js +16 -0
  24. package/dist/cjs/constants-ChDSk4SZ.js.map +1 -0
  25. package/dist/cjs/constants-D6LZ31rS.js +28 -0
  26. package/dist/cjs/constants-D6LZ31rS.js.map +1 -0
  27. package/dist/cjs/constants-DcKnOyW4.js +18 -0
  28. package/dist/cjs/constants-DcKnOyW4.js.map +1 -0
  29. package/dist/cjs/constants-Dmmp9FHy.js +37 -0
  30. package/dist/cjs/constants-Dmmp9FHy.js.map +1 -0
  31. package/dist/cjs/constants-WvkMgj1j.js +27 -0
  32. package/dist/cjs/constants-WvkMgj1j.js.map +1 -0
  33. package/dist/cjs/constants-ymB2dvwV.js +28 -0
  34. package/dist/cjs/constants-ymB2dvwV.js.map +1 -0
  35. package/dist/cjs/constants-z2ZSS2je.js +37 -0
  36. package/dist/cjs/constants-z2ZSS2je.js.map +1 -0
  37. package/dist/cjs/core.cjs.js +8 -7
  38. package/dist/cjs/core.cjs.js.map +1 -1
  39. package/dist/cjs/form-GgXzZZ-E.js +156 -0
  40. package/dist/cjs/form-GgXzZZ-E.js.map +1 -0
  41. package/dist/cjs/gov-accordion-item.cjs.entry.js +18 -16
  42. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -0
  44. package/dist/cjs/gov-accordion.cjs.entry.js +15 -10
  45. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -0
  47. package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -0
  48. package/dist/cjs/gov-attachments_3.cjs.entry.js +22 -22
  49. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  50. package/dist/cjs/gov-backdrop.cjs.entry.js +16 -13
  51. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  52. package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -0
  53. package/dist/cjs/gov-banner.cjs.entry.js +19 -8
  54. package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
  55. package/dist/cjs/gov-banner.entry.cjs.js.map +1 -0
  56. package/dist/cjs/gov-blockquote.cjs.entry.js +6 -5
  57. package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
  58. package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -0
  59. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +19 -13
  60. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  61. package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -0
  62. package/dist/cjs/gov-button.cjs.entry.js +46 -32
  63. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  64. package/dist/cjs/gov-button.entry.cjs.js.map +1 -0
  65. package/dist/cjs/gov-card.cjs.entry.js +23 -15
  66. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  67. package/dist/cjs/gov-card.entry.cjs.js.map +1 -0
  68. package/dist/cjs/gov-chip.cjs.entry.js +32 -24
  69. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  70. package/dist/cjs/gov-chip.entry.cjs.js.map +1 -0
  71. package/dist/cjs/gov-container.cjs.entry.js +3 -4
  72. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  73. package/dist/cjs/gov-container.entry.cjs.js.map +1 -0
  74. package/dist/cjs/gov-control-group.cjs.entry.js +16 -8
  75. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -0
  77. package/dist/cjs/gov-cookiebar.cjs.entry.js +3 -4
  78. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  79. package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -0
  80. package/dist/cjs/gov-dialog.cjs.entry.js +77 -15
  81. package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
  82. package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -0
  83. package/dist/cjs/gov-dropdown.cjs.entry.js +15 -11
  84. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  85. package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -0
  86. package/dist/cjs/gov-empty.cjs.entry.js +25 -10
  87. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  88. package/dist/cjs/gov-empty.entry.cjs.js.map +1 -0
  89. package/dist/cjs/gov-error-code.cjs.entry.js +3 -4
  90. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  91. package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -0
  92. package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -0
  93. package/dist/cjs/gov-flex_3.cjs.entry.js +49 -35
  94. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  95. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +43 -27
  96. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  97. package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -0
  98. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +27 -20
  99. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  100. package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -0
  101. package/dist/cjs/gov-form-checkbox.cjs.entry.js +38 -24
  102. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  103. package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -0
  104. package/dist/cjs/gov-form-control.cjs.entry.js +32 -15
  105. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  106. package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -0
  107. package/dist/cjs/gov-form-file.cjs.entry.js +60 -24
  108. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  109. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -0
  110. package/dist/cjs/gov-form-group.cjs.entry.js +15 -10
  111. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  112. package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -0
  113. package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -0
  114. package/dist/cjs/gov-form-input_2.cjs.entry.js +66 -50
  115. package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
  116. package/dist/cjs/gov-form-label.cjs.entry.js +17 -9
  117. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  118. package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -0
  119. package/dist/cjs/gov-form-multi-select.cjs.entry.js +46 -36
  120. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  121. package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -0
  122. package/dist/cjs/gov-form-password-power.cjs.entry.js +3 -5
  123. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  124. package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -0
  125. package/dist/cjs/gov-form-radio-group.cjs.entry.js +25 -18
  126. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  127. package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -0
  128. package/dist/cjs/gov-form-radio.cjs.entry.js +36 -24
  129. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  130. package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -0
  131. package/dist/cjs/gov-form-range.cjs.entry.js +37 -32
  132. package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -1
  133. package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -0
  134. package/dist/cjs/gov-form-search.cjs.entry.js +12 -7
  135. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  136. package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -0
  137. package/dist/cjs/gov-form-select.cjs.entry.js +34 -31
  138. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  139. package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -0
  140. package/dist/cjs/gov-form-switch.cjs.entry.js +38 -26
  141. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  142. package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -0
  143. package/dist/cjs/gov-grid-item.cjs.entry.js +12 -15
  144. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  145. package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -0
  146. package/dist/cjs/gov-grid.cjs.entry.js +6 -11
  147. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  148. package/dist/cjs/gov-grid.entry.cjs.js.map +1 -0
  149. package/dist/cjs/gov-infobar.cjs.entry.js +31 -14
  150. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  151. package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -0
  152. package/dist/cjs/gov-layout-column.cjs.entry.js +5 -6
  153. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  154. package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -0
  155. package/dist/cjs/gov-layout.cjs.entry.js +11 -7
  156. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  157. package/dist/cjs/gov-layout.entry.cjs.js.map +1 -0
  158. package/dist/cjs/gov-lifecycle.cjs.entry.js +4 -5
  159. package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -1
  160. package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -0
  161. package/dist/cjs/gov-link.cjs.entry.js +19 -13
  162. package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
  163. package/dist/cjs/gov-link.entry.cjs.js.map +1 -0
  164. package/dist/cjs/gov-loading.cjs.entry.js +11 -9
  165. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  166. package/dist/cjs/gov-loading.entry.cjs.js.map +1 -0
  167. package/dist/cjs/gov-message.cjs.entry.js +14 -9
  168. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  169. package/dist/cjs/gov-message.entry.cjs.js.map +1 -0
  170. package/dist/cjs/gov-pagination.cjs.entry.js +54 -19
  171. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  172. package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -0
  173. package/dist/cjs/gov-spacer.cjs.entry.js +11 -10
  174. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  175. package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -0
  176. package/dist/cjs/gov-stepper-item.cjs.entry.js +18 -14
  177. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  178. package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -0
  179. package/dist/cjs/gov-stepper.cjs.entry.js +14 -12
  180. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  181. package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -0
  182. package/dist/cjs/gov-tabs-item.cjs.entry.js +15 -15
  183. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  184. package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -0
  185. package/dist/cjs/gov-tabs.cjs.entry.js +30 -16
  186. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  187. package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -0
  188. package/dist/cjs/gov-tag.cjs.entry.js +20 -15
  189. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  190. package/dist/cjs/gov-tag.entry.cjs.js.map +1 -0
  191. package/dist/cjs/gov-tile.cjs.entry.js +12 -10
  192. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  193. package/dist/cjs/gov-tile.entry.cjs.js.map +1 -0
  194. package/dist/cjs/gov-toast.cjs.entry.js +27 -15
  195. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  196. package/dist/cjs/gov-toast.entry.cjs.js.map +1 -0
  197. package/dist/cjs/gov-tooltip-content.cjs.entry.js +23 -9
  198. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  199. package/dist/cjs/gov-tooltip-content.entry.cjs.js.map +1 -0
  200. package/dist/cjs/gov-tooltip.cjs.entry.js +28 -15
  201. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  202. package/dist/cjs/gov-tooltip.entry.cjs.js.map +1 -0
  203. package/dist/cjs/gov-wizard-item.cjs.entry.js +28 -15
  204. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  205. package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -0
  206. package/dist/cjs/gov-wizard.cjs.entry.js +17 -17
  207. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  208. package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -0
  209. package/dist/cjs/gov.log-C5EH15b_.js +53 -0
  210. package/dist/cjs/gov.log-C5EH15b_.js.map +1 -0
  211. package/dist/cjs/helpers-DmI-ZOAH.js +20 -0
  212. package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -0
  213. package/dist/cjs/helpers.types-vap8QfRH.js +17 -0
  214. package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -0
  215. package/dist/cjs/index-pjwoybrU.js +3085 -0
  216. package/dist/cjs/index-pjwoybrU.js.map +1 -0
  217. package/dist/cjs/index.cjs.js +1 -0
  218. package/dist/cjs/index.cjs.js.map +1 -1
  219. package/dist/cjs/loader.cjs.js +4 -5
  220. package/dist/cjs/loader.cjs.js.map +1 -1
  221. package/dist/cjs/props-CPENhBnM.js +17 -0
  222. package/dist/cjs/props-CPENhBnM.js.map +1 -0
  223. package/dist/cjs/sizes-D5zsw2g5.js +19 -0
  224. package/dist/cjs/sizes-D5zsw2g5.js.map +1 -0
  225. package/dist/cjs/stencil.utils-8sCYbm34.js +12 -0
  226. package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -0
  227. package/dist/cjs/string.utils-BG4pUfEi.js +26 -0
  228. package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -0
  229. package/dist/cjs/template-DS4pSCTb.js +115 -0
  230. package/dist/cjs/template-DS4pSCTb.js.map +1 -0
  231. package/dist/cjs/utils-NnC78QR3.js +42 -0
  232. package/dist/cjs/utils-NnC78QR3.js.map +1 -0
  233. package/dist/cjs/wcag-Bvzxnp5D.js +56 -0
  234. package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -0
  235. package/dist/collection/collection-manifest.json +4 -4
  236. package/dist/collection/components/gov-accordion/gov-accordion-item.js +18 -7
  237. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  238. package/dist/collection/components/gov-accordion/gov-accordion.js +12 -2
  239. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  240. package/dist/collection/components/gov-attachments/gov-attachments-item.css +19 -7
  241. package/dist/collection/components/gov-attachments/gov-attachments-item.js +6 -4
  242. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  243. package/dist/collection/components/gov-attachments/gov-attachments.js +6 -4
  244. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  245. package/dist/collection/components/gov-backdrop/gov-backdrop.js +18 -6
  246. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  247. package/dist/collection/components/gov-banner/gov-banner.js +24 -4
  248. package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
  249. package/dist/collection/components/gov-blockquote/gov-blockquote.js +9 -3
  250. package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -1
  251. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +24 -7
  252. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  253. package/dist/collection/components/gov-button/button/gov-button.js +103 -31
  254. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  255. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +15 -4
  256. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  257. package/dist/collection/components/gov-card/gov-card.js +55 -12
  258. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  259. package/dist/collection/components/gov-chip/gov-chip.js +57 -25
  260. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  261. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  262. package/dist/collection/components/gov-control-group/gov-control-group.js +18 -3
  263. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  264. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  265. package/dist/collection/components/gov-dialog/gov-dialog.js +91 -15
  266. package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
  267. package/dist/collection/components/gov-empty/constants.js +6 -0
  268. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  269. package/dist/collection/components/gov-empty/gov-empty.js +43 -3
  270. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  271. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  272. package/dist/collection/components/gov-flex/gov-flex.js +31 -15
  273. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  274. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +74 -25
  275. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  276. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +49 -14
  277. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  278. package/dist/collection/components/gov-form/control/gov-form-control.js +42 -12
  279. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  280. package/dist/collection/components/gov-form/file/constants.js +1 -0
  281. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  282. package/dist/collection/components/gov-form/file/gov-form-file.js +89 -21
  283. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  284. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +22 -7
  285. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
  286. package/dist/collection/components/gov-form/group/gov-form-group.css +17 -7
  287. package/dist/collection/components/gov-form/group/gov-form-group.js +13 -3
  288. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  289. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +22 -7
  290. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
  291. package/dist/collection/components/gov-form/input/gov-form-input.js +103 -52
  292. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  293. package/dist/collection/components/gov-form/label/gov-form-label.js +23 -6
  294. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  295. package/dist/collection/components/gov-form/message/gov-form-message.js +13 -3
  296. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  297. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +63 -26
  298. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  299. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +4 -5
  300. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  301. package/dist/collection/components/gov-form/radio/gov-form-radio.js +44 -13
  302. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  303. package/dist/collection/components/gov-form/range/gov-form-range.js +59 -25
  304. package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -1
  305. package/dist/collection/components/gov-form/search/gov-form-search.js +13 -3
  306. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  307. package/dist/collection/components/gov-form/select/gov-form-select.js +40 -18
  308. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  309. package/dist/collection/components/gov-form/switch/constants.js +1 -0
  310. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  311. package/dist/collection/components/gov-form/switch/gov-form-switch.js +46 -15
  312. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  313. package/dist/collection/components/gov-grid/gov-grid-item.js +37 -19
  314. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  315. package/dist/collection/components/gov-grid/gov-grid.js +11 -27
  316. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  317. package/dist/collection/components/gov-icon/gov-icon.js +19 -7
  318. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  319. package/dist/collection/components/gov-infobar/gov-infobar.js +38 -8
  320. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  321. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  322. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  323. package/dist/collection/components/gov-layout/gov-layout.js +16 -5
  324. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  325. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  326. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -1
  327. package/dist/collection/components/gov-link/gov-link.js +25 -8
  328. package/dist/collection/components/gov-link/gov-link.js.map +1 -1
  329. package/dist/collection/components/gov-loading/loading/gov-loading.js +7 -2
  330. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  331. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +38 -8
  332. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  333. package/dist/collection/components/gov-message/gov-message.js +13 -3
  334. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  335. package/dist/collection/components/gov-pagination/gov-pagination.js +84 -18
  336. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  337. package/dist/collection/components/gov-spacer/gov-spacer.js +10 -4
  338. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  339. package/dist/collection/components/gov-stepper/stepper/constants.js +20 -0
  340. package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -0
  341. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -0
  342. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +143 -0
  343. package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -0
  344. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +98 -0
  345. package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -0
  346. package/dist/collection/components/gov-tabs/gov-tabs-item.js +28 -13
  347. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  348. package/dist/collection/components/gov-tabs/gov-tabs.js +31 -6
  349. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  350. package/dist/collection/components/gov-tag/gov-tag.js +28 -10
  351. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  352. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +44 -14
  353. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  354. package/dist/collection/components/gov-tile/gov-tile.js +28 -15
  355. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  356. package/dist/collection/components/gov-toast/gov-toast.js +37 -10
  357. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  358. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +31 -6
  359. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  360. package/dist/collection/components/gov-tooltip/gov-tooltip.js +35 -9
  361. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  362. package/dist/collection/components/gov-wizard/gov-wizard-item.js +35 -9
  363. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  364. package/dist/collection/components/gov-wizard/gov-wizard.js +13 -6
  365. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  366. package/dist/collection/core/constants/sizes.js +1 -1
  367. package/dist/collection/core/constants/sizes.js.map +1 -1
  368. package/dist/collection/helpers/Validate/wcag.js +1 -1
  369. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  370. package/dist/collection/pages/AttributeSection.js +59 -0
  371. package/dist/collection/pages/AttributeSection.js.map +1 -0
  372. package/dist/collection/pages/Avatar.js +47 -0
  373. package/dist/collection/pages/Avatar.js.map +1 -0
  374. package/dist/collection/pages/Badge.js +29 -0
  375. package/dist/collection/pages/Badge.js.map +1 -0
  376. package/dist/collection/pages/Card.js +7 -1
  377. package/dist/collection/pages/Card.js.map +1 -1
  378. package/dist/collection/pages/Chip.js +8 -5
  379. package/dist/collection/pages/Chip.js.map +1 -1
  380. package/dist/collection/pages/Collapsible.js +43 -0
  381. package/dist/collection/pages/Collapsible.js.map +1 -0
  382. package/dist/collection/pages/Empty.js +1 -1
  383. package/dist/collection/pages/Empty.js.map +1 -1
  384. package/dist/collection/pages/Forms.js +36 -9
  385. package/dist/collection/pages/Forms.js.map +1 -1
  386. package/dist/collection/pages/Grid.js +13 -13
  387. package/dist/collection/pages/Grid.js.map +1 -1
  388. package/dist/collection/pages/HorizontalStepper.js +85 -0
  389. package/dist/collection/pages/HorizontalStepper.js.map +1 -0
  390. package/dist/collection/pages/Spacer.js +9 -8
  391. package/dist/collection/pages/Spacer.js.map +1 -1
  392. package/dist/collection/pages/Tabs.js +20 -0
  393. package/dist/collection/pages/Tabs.js.map +1 -1
  394. package/dist/collection/pages/Tag.js +75 -24
  395. package/dist/collection/pages/Tag.js.map +1 -1
  396. package/dist/collection/pages/Tooltip.js +10 -0
  397. package/dist/collection/pages/Tooltip.js.map +1 -1
  398. package/dist/collection/pages/UserNavigation.js +134 -0
  399. package/dist/collection/pages/UserNavigation.js.map +1 -0
  400. package/dist/collection/utils/dom.utils.js +6 -0
  401. package/dist/collection/utils/dom.utils.js.map +1 -0
  402. package/dist/collection/utils/object.utils.js +12 -0
  403. package/dist/collection/utils/object.utils.js.map +1 -1
  404. package/dist/components/gov-accordion-item.js +1 -1
  405. package/dist/components/gov-accordion-item.js.map +1 -1
  406. package/dist/components/gov-accordion.js +1 -1
  407. package/dist/components/gov-accordion.js.map +1 -1
  408. package/dist/components/gov-attachments-item.js +1 -1
  409. package/dist/components/gov-attachments.js +1 -1
  410. package/dist/components/gov-backdrop.js +1 -1
  411. package/dist/components/gov-banner.js +1 -1
  412. package/dist/components/gov-banner.js.map +1 -1
  413. package/dist/components/gov-blockquote.js +1 -1
  414. package/dist/components/gov-blockquote.js.map +1 -1
  415. package/dist/components/gov-breadcrumbs.js +1 -1
  416. package/dist/components/gov-breadcrumbs.js.map +1 -1
  417. package/dist/components/gov-button.js +1 -1
  418. package/dist/components/gov-card.js +1 -1
  419. package/dist/components/gov-card.js.map +1 -1
  420. package/dist/components/gov-chip.js +1 -1
  421. package/dist/components/gov-container.js +1 -1
  422. package/dist/components/gov-container.js.map +1 -1
  423. package/dist/components/gov-control-group.js +1 -1
  424. package/dist/components/gov-control-group.js.map +1 -1
  425. package/dist/components/gov-cookiebar.js +1 -1
  426. package/dist/components/gov-cookiebar.js.map +1 -1
  427. package/dist/components/gov-dialog.js +1 -1
  428. package/dist/components/gov-dialog.js.map +1 -1
  429. package/dist/components/gov-dropdown.js +1 -1
  430. package/dist/components/gov-dropdown.js.map +1 -1
  431. package/dist/components/gov-empty.js +1 -1
  432. package/dist/components/gov-empty.js.map +1 -1
  433. package/dist/components/gov-error-code.js +1 -1
  434. package/dist/components/gov-error-code.js.map +1 -1
  435. package/dist/components/gov-flex.js +1 -1
  436. package/dist/components/gov-flex.js.map +1 -1
  437. package/dist/components/gov-form-autocomplete.js +1 -1
  438. package/dist/components/gov-form-checkbox-group.js +1 -1
  439. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  440. package/dist/components/gov-form-checkbox.js +1 -1
  441. package/dist/components/gov-form-checkbox.js.map +1 -1
  442. package/dist/components/gov-form-control.js +1 -1
  443. package/dist/components/gov-form-control.js.map +1 -1
  444. package/dist/components/gov-form-file.js +1 -1
  445. package/dist/components/gov-form-file.js.map +1 -1
  446. package/dist/components/gov-form-group.js +1 -1
  447. package/dist/components/gov-form-group.js.map +1 -1
  448. package/dist/components/gov-form-input.js +1 -1
  449. package/dist/components/gov-form-label.js +1 -1
  450. package/dist/components/gov-form-label.js.map +1 -1
  451. package/dist/components/gov-form-message.js +1 -1
  452. package/dist/components/gov-form-multi-select.js +1 -1
  453. package/dist/components/gov-form-multi-select.js.map +1 -1
  454. package/dist/components/gov-form-password-power.js +1 -1
  455. package/dist/components/gov-form-password-power.js.map +1 -1
  456. package/dist/components/gov-form-radio-group.js +1 -1
  457. package/dist/components/gov-form-radio-group.js.map +1 -1
  458. package/dist/components/gov-form-radio.js +1 -1
  459. package/dist/components/gov-form-radio.js.map +1 -1
  460. package/dist/components/gov-form-range.js +1 -1
  461. package/dist/components/gov-form-range.js.map +1 -1
  462. package/dist/components/gov-form-search.js +1 -1
  463. package/dist/components/gov-form-search.js.map +1 -1
  464. package/dist/components/gov-form-select.js +1 -1
  465. package/dist/components/gov-form-switch.js +1 -1
  466. package/dist/components/gov-form-switch.js.map +1 -1
  467. package/dist/components/gov-grid-item.js +1 -1
  468. package/dist/components/gov-grid-item.js.map +1 -1
  469. package/dist/components/gov-grid.js +1 -1
  470. package/dist/components/gov-grid.js.map +1 -1
  471. package/dist/components/gov-icon.js +1 -1
  472. package/dist/components/gov-infobar.js +1 -1
  473. package/dist/components/gov-infobar.js.map +1 -1
  474. package/dist/components/gov-layout-column.js +1 -1
  475. package/dist/components/gov-layout-column.js.map +1 -1
  476. package/dist/components/gov-layout.js +1 -1
  477. package/dist/components/gov-layout.js.map +1 -1
  478. package/dist/components/gov-lifecycle.js +1 -1
  479. package/dist/components/gov-lifecycle.js.map +1 -1
  480. package/dist/components/gov-link.js +1 -1
  481. package/dist/components/gov-link.js.map +1 -1
  482. package/dist/components/gov-loading.js +1 -1
  483. package/dist/components/gov-loading.js.map +1 -1
  484. package/dist/components/gov-message.js +1 -1
  485. package/dist/components/gov-message.js.map +1 -1
  486. package/dist/components/gov-pagination.js +1 -1
  487. package/dist/components/gov-pagination.js.map +1 -1
  488. package/dist/components/gov-skeleton.js +1 -1
  489. package/dist/components/gov-spacer.js +1 -1
  490. package/dist/components/gov-spacer.js.map +1 -1
  491. package/dist/components/gov-stepper-item.js +1 -1
  492. package/dist/components/gov-stepper-item.js.map +1 -1
  493. package/dist/components/gov-stepper.js +1 -1
  494. package/dist/components/gov-stepper.js.map +1 -1
  495. package/dist/components/gov-tabs-item.js +1 -1
  496. package/dist/components/gov-tabs-item.js.map +1 -1
  497. package/dist/components/gov-tabs.js +1 -1
  498. package/dist/components/gov-tabs.js.map +1 -1
  499. package/dist/components/gov-tag.js +1 -1
  500. package/dist/components/gov-tag.js.map +1 -1
  501. package/dist/components/gov-theme-switch.js +1 -1
  502. package/dist/components/gov-theme-switch.js.map +1 -1
  503. package/dist/components/gov-tile.js +1 -1
  504. package/dist/components/gov-tile.js.map +1 -1
  505. package/dist/components/gov-toast.js +1 -1
  506. package/dist/components/gov-toast.js.map +1 -1
  507. package/dist/components/gov-tooltip-content.js +1 -1
  508. package/dist/components/gov-tooltip-content.js.map +1 -1
  509. package/dist/components/gov-tooltip.js +1 -1
  510. package/dist/components/gov-tooltip.js.map +1 -1
  511. package/dist/components/gov-wizard-item.js +1 -1
  512. package/dist/components/gov-wizard-item.js.map +1 -1
  513. package/dist/components/gov-wizard.js +1 -1
  514. package/dist/components/gov-wizard.js.map +1 -1
  515. package/dist/components/index.js +1 -1
  516. package/dist/components/index.js.map +1 -1
  517. package/dist/components/p-4i8qDRtu.js +2 -0
  518. package/dist/components/p-4i8qDRtu.js.map +1 -0
  519. package/dist/components/p-5itQzbON.js +2 -0
  520. package/dist/components/p-5itQzbON.js.map +1 -0
  521. package/dist/components/p-8QWehgod.js +2 -0
  522. package/dist/components/p-8QWehgod.js.map +1 -0
  523. package/dist/components/p-9imLQpxb.js +2 -0
  524. package/dist/components/p-9imLQpxb.js.map +1 -0
  525. package/dist/components/p-B0hcuYXk.js +2 -0
  526. package/dist/components/p-B0hcuYXk.js.map +1 -0
  527. package/dist/components/p-B3tdsiZv.js +2 -0
  528. package/dist/components/p-B3tdsiZv.js.map +1 -0
  529. package/dist/components/p-BKP-F1qP.js +2 -0
  530. package/dist/components/p-BKP-F1qP.js.map +1 -0
  531. package/dist/components/p-BTwdrNoS.js +2 -0
  532. package/dist/components/p-BTwdrNoS.js.map +1 -0
  533. package/dist/components/p-BUmDydor.js +2 -0
  534. package/dist/components/p-BUmDydor.js.map +1 -0
  535. package/dist/components/p-BcQO4NH2.js +2 -0
  536. package/dist/components/p-BcQO4NH2.js.map +1 -0
  537. package/dist/components/p-BcZ7-N5H.js +2 -0
  538. package/dist/components/p-BcZ7-N5H.js.map +1 -0
  539. package/dist/components/p-BlBAryxm.js +2 -0
  540. package/dist/components/p-BlBAryxm.js.map +1 -0
  541. package/dist/components/p-Btw6IAjS.js +2 -0
  542. package/dist/components/p-Btw6IAjS.js.map +1 -0
  543. package/dist/components/p-C4pc6Rox.js +2 -0
  544. package/dist/components/p-C4pc6Rox.js.map +1 -0
  545. package/dist/components/p-C6JN9gdb.js +2 -0
  546. package/dist/components/p-C6JN9gdb.js.map +1 -0
  547. package/dist/components/p-CNqoJU2V.js +2 -0
  548. package/dist/components/p-CNqoJU2V.js.map +1 -0
  549. package/dist/components/p-CQvUntGY.js +2 -0
  550. package/dist/components/p-CQvUntGY.js.map +1 -0
  551. package/dist/components/p-CSjqhysd.js +2 -0
  552. package/dist/components/p-CSjqhysd.js.map +1 -0
  553. package/dist/components/p-CUVZZBqo.js +2 -0
  554. package/dist/components/p-CUVZZBqo.js.map +1 -0
  555. package/dist/components/p-CXgom82_.js +2 -0
  556. package/dist/components/p-CXgom82_.js.map +1 -0
  557. package/dist/components/p-CZr7GBEo.js +2 -0
  558. package/dist/components/p-CZr7GBEo.js.map +1 -0
  559. package/dist/components/p-Cjg0wpDG.js +2 -0
  560. package/dist/components/p-Cjg0wpDG.js.map +1 -0
  561. package/dist/components/p-ClYmjarv.js +2 -0
  562. package/dist/components/p-ClYmjarv.js.map +1 -0
  563. package/dist/components/p-Cta_74Ps.js +2 -0
  564. package/dist/components/p-Cta_74Ps.js.map +1 -0
  565. package/dist/components/p-D4Z6jWqx.js +2 -0
  566. package/dist/components/p-D4Z6jWqx.js.map +1 -0
  567. package/dist/components/p-DBXGhafv.js +2 -0
  568. package/dist/components/p-DBXGhafv.js.map +1 -0
  569. package/dist/components/p-DfI_0WW6.js +2 -0
  570. package/dist/components/p-DfI_0WW6.js.map +1 -0
  571. package/dist/components/p-DfJDyRCE.js +2 -0
  572. package/dist/components/p-DfJDyRCE.js.map +1 -0
  573. package/dist/components/p-DnZEr-aq.js +2 -0
  574. package/dist/components/p-DnZEr-aq.js.map +1 -0
  575. package/dist/components/p-DrPpH_9c.js +2 -0
  576. package/dist/components/p-DrPpH_9c.js.map +1 -0
  577. package/dist/components/p-EeKNA85D.js +2 -0
  578. package/dist/components/p-EeKNA85D.js.map +1 -0
  579. package/dist/components/p-GYov8gU1.js +2 -0
  580. package/dist/components/p-GYov8gU1.js.map +1 -0
  581. package/dist/components/p-Nvj7WFs_.js +2 -0
  582. package/dist/components/p-Nvj7WFs_.js.map +1 -0
  583. package/dist/components/p-Q99QrOoi.js +2 -0
  584. package/dist/components/p-Q99QrOoi.js.map +1 -0
  585. package/dist/components/p-U40vKHrs.js +2 -0
  586. package/dist/components/p-U40vKHrs.js.map +1 -0
  587. package/dist/components/p-WmFNIuTf.js +2 -0
  588. package/dist/components/p-WmFNIuTf.js.map +1 -0
  589. package/dist/components/p-vN03FcXN.js +2 -0
  590. package/dist/components/p-vN03FcXN.js.map +1 -0
  591. package/dist/components/p-wlTP5ZEU.js +2 -0
  592. package/dist/components/p-wlTP5ZEU.js.map +1 -0
  593. package/dist/core/core.css +755 -465
  594. package/dist/core/core.esm.js +1 -1
  595. package/dist/core/core.esm.js.map +1 -1
  596. package/dist/core/gov-accordion-item.entry.esm.js.map +1 -0
  597. package/dist/core/gov-accordion.entry.esm.js.map +1 -0
  598. package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -0
  599. package/dist/core/gov-backdrop.entry.esm.js.map +1 -0
  600. package/dist/core/gov-banner.entry.esm.js.map +1 -0
  601. package/dist/core/gov-blockquote.entry.esm.js.map +1 -0
  602. package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -0
  603. package/dist/core/gov-button.entry.esm.js.map +1 -0
  604. package/dist/core/gov-card.entry.esm.js.map +1 -0
  605. package/dist/core/gov-chip.entry.esm.js.map +1 -0
  606. package/dist/core/gov-container.entry.esm.js.map +1 -0
  607. package/dist/core/gov-control-group.entry.esm.js.map +1 -0
  608. package/dist/core/gov-cookiebar.entry.esm.js.map +1 -0
  609. package/dist/core/gov-dialog.entry.esm.js.map +1 -0
  610. package/dist/core/gov-dropdown.entry.esm.js.map +1 -0
  611. package/dist/core/gov-empty.entry.esm.js.map +1 -0
  612. package/dist/core/gov-error-code.entry.esm.js.map +1 -0
  613. package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -0
  614. package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -0
  615. package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -0
  616. package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -0
  617. package/dist/core/gov-form-control.entry.esm.js.map +1 -0
  618. package/dist/core/gov-form-file.entry.esm.js.map +1 -0
  619. package/dist/core/gov-form-group.entry.esm.js.map +1 -0
  620. package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -0
  621. package/dist/core/gov-form-label.entry.esm.js.map +1 -0
  622. package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -0
  623. package/dist/core/gov-form-password-power.entry.esm.js.map +1 -0
  624. package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -0
  625. package/dist/core/gov-form-radio.entry.esm.js.map +1 -0
  626. package/dist/core/gov-form-range.entry.esm.js.map +1 -0
  627. package/dist/core/gov-form-search.entry.esm.js.map +1 -0
  628. package/dist/core/gov-form-select.entry.esm.js.map +1 -0
  629. package/dist/core/gov-form-switch.entry.esm.js.map +1 -0
  630. package/dist/core/gov-grid-item.entry.esm.js.map +1 -0
  631. package/dist/core/gov-grid.entry.esm.js.map +1 -0
  632. package/dist/core/gov-infobar.entry.esm.js.map +1 -0
  633. package/dist/core/gov-layout-column.entry.esm.js.map +1 -0
  634. package/dist/core/gov-layout.entry.esm.js.map +1 -0
  635. package/dist/core/gov-lifecycle.entry.esm.js.map +1 -0
  636. package/dist/core/gov-link.entry.esm.js.map +1 -0
  637. package/dist/core/gov-loading.entry.esm.js.map +1 -0
  638. package/dist/core/gov-message.entry.esm.js.map +1 -0
  639. package/dist/core/gov-pagination.entry.esm.js.map +1 -0
  640. package/dist/core/gov-spacer.entry.esm.js.map +1 -0
  641. package/dist/core/gov-stepper-item.entry.esm.js.map +1 -0
  642. package/dist/core/gov-stepper.entry.esm.js.map +1 -0
  643. package/dist/core/gov-tabs-item.entry.esm.js.map +1 -0
  644. package/dist/core/gov-tabs.entry.esm.js.map +1 -0
  645. package/dist/core/gov-tag.entry.esm.js.map +1 -0
  646. package/dist/core/gov-tile.entry.esm.js.map +1 -0
  647. package/dist/core/gov-toast.entry.esm.js.map +1 -0
  648. package/dist/core/gov-tooltip-content.entry.esm.js.map +1 -0
  649. package/dist/core/gov-tooltip.entry.esm.js.map +1 -0
  650. package/dist/core/gov-wizard-item.entry.esm.js.map +1 -0
  651. package/dist/core/gov-wizard.entry.esm.js.map +1 -0
  652. package/dist/core/index.esm.js.map +1 -1
  653. package/dist/core/loader.esm.js.map +1 -0
  654. package/dist/core/p-01482eb2.entry.js +2 -0
  655. package/dist/core/p-01482eb2.entry.js.map +1 -0
  656. package/dist/core/p-0dbda4ab.entry.js +2 -0
  657. package/dist/core/p-0dbda4ab.entry.js.map +1 -0
  658. package/dist/core/p-19a408eb.entry.js +2 -0
  659. package/dist/core/p-19a408eb.entry.js.map +1 -0
  660. package/dist/core/p-1bfbad36.entry.js +2 -0
  661. package/dist/core/p-1bfbad36.entry.js.map +1 -0
  662. package/dist/core/p-1f4450cc.entry.js +2 -0
  663. package/dist/core/p-1f4450cc.entry.js.map +1 -0
  664. package/dist/core/p-2142c481.entry.js +2 -0
  665. package/dist/core/p-2142c481.entry.js.map +1 -0
  666. package/dist/core/p-25a33448.entry.js +2 -0
  667. package/dist/core/p-25a33448.entry.js.map +1 -0
  668. package/dist/core/p-2affc4c0.entry.js +2 -0
  669. package/dist/core/p-2affc4c0.entry.js.map +1 -0
  670. package/dist/core/p-3477fcf1.entry.js +2 -0
  671. package/dist/core/p-3477fcf1.entry.js.map +1 -0
  672. package/dist/core/p-35c24ac5.entry.js +2 -0
  673. package/dist/core/p-35c24ac5.entry.js.map +1 -0
  674. package/dist/core/p-35f784be.entry.js +2 -0
  675. package/dist/core/p-35f784be.entry.js.map +1 -0
  676. package/dist/core/p-37770cee.entry.js +2 -0
  677. package/dist/core/p-37770cee.entry.js.map +1 -0
  678. package/dist/core/p-37b98852.entry.js +2 -0
  679. package/dist/core/p-37b98852.entry.js.map +1 -0
  680. package/dist/core/p-48a3bb49.entry.js +2 -0
  681. package/dist/core/p-48a3bb49.entry.js.map +1 -0
  682. package/dist/core/p-4e170f53.entry.js +2 -0
  683. package/dist/core/p-4e170f53.entry.js.map +1 -0
  684. package/dist/core/p-57aac00e.entry.js +2 -0
  685. package/dist/core/p-57aac00e.entry.js.map +1 -0
  686. package/dist/core/p-5c9371da.entry.js +2 -0
  687. package/dist/core/p-5c9371da.entry.js.map +1 -0
  688. package/dist/core/p-5itQzbON.js +2 -0
  689. package/dist/core/p-5itQzbON.js.map +1 -0
  690. package/dist/core/p-6508f953.entry.js +2 -0
  691. package/dist/core/p-6508f953.entry.js.map +1 -0
  692. package/dist/core/p-658c1d84.entry.js +2 -0
  693. package/dist/core/p-658c1d84.entry.js.map +1 -0
  694. package/dist/core/p-730b823a.entry.js +2 -0
  695. package/dist/core/p-730b823a.entry.js.map +1 -0
  696. package/dist/core/p-7f46f70a.entry.js +2 -0
  697. package/dist/core/p-7f46f70a.entry.js.map +1 -0
  698. package/dist/core/p-83507d07.entry.js +2 -0
  699. package/dist/core/p-83507d07.entry.js.map +1 -0
  700. package/dist/core/p-871d4318.entry.js +2 -0
  701. package/dist/core/p-871d4318.entry.js.map +1 -0
  702. package/dist/core/p-8873dc4b.entry.js +2 -0
  703. package/dist/core/p-8873dc4b.entry.js.map +1 -0
  704. package/dist/core/p-8c942041.entry.js +2 -0
  705. package/dist/core/p-8c942041.entry.js.map +1 -0
  706. package/dist/core/p-8d42ee97.entry.js +2 -0
  707. package/dist/core/p-8d42ee97.entry.js.map +1 -0
  708. package/dist/core/p-8dceba0b.entry.js +2 -0
  709. package/dist/core/p-8dceba0b.entry.js.map +1 -0
  710. package/dist/core/p-901cbf94.entry.js +2 -0
  711. package/dist/core/p-901cbf94.entry.js.map +1 -0
  712. package/dist/core/p-90b277bb.entry.js +2 -0
  713. package/dist/core/p-90b277bb.entry.js.map +1 -0
  714. package/dist/core/p-90ff56f4.entry.js +2 -0
  715. package/dist/core/p-90ff56f4.entry.js.map +1 -0
  716. package/dist/core/p-962d5767.entry.js +2 -0
  717. package/dist/core/p-962d5767.entry.js.map +1 -0
  718. package/dist/core/p-984b6020.entry.js +2 -0
  719. package/dist/core/p-984b6020.entry.js.map +1 -0
  720. package/dist/core/p-9d2a4eb1.entry.js +2 -0
  721. package/dist/core/p-9d2a4eb1.entry.js.map +1 -0
  722. package/dist/core/p-9ff7e018.entry.js +2 -0
  723. package/dist/core/p-9ff7e018.entry.js.map +1 -0
  724. package/dist/core/p-B6CqPcY_.js +2 -0
  725. package/dist/core/p-B6CqPcY_.js.map +1 -0
  726. package/dist/core/p-BBOh2pxy.js +2 -0
  727. package/dist/core/p-BBOh2pxy.js.map +1 -0
  728. package/dist/core/p-BUmDydor.js +2 -0
  729. package/dist/core/p-BUmDydor.js.map +1 -0
  730. package/dist/core/p-BcQO4NH2.js +2 -0
  731. package/dist/core/p-BcQO4NH2.js.map +1 -0
  732. package/dist/core/p-BjcqOprh.js +2 -0
  733. package/dist/core/p-BjcqOprh.js.map +1 -0
  734. package/dist/core/p-Bo1ROm5Q.js +2 -0
  735. package/dist/core/p-Bo1ROm5Q.js.map +1 -0
  736. package/dist/core/p-Bz_RzYFb.js +2 -0
  737. package/dist/core/p-Bz_RzYFb.js.map +1 -0
  738. package/dist/core/p-C3R1T_pg.js +2 -0
  739. package/dist/core/p-C3R1T_pg.js.map +1 -0
  740. package/dist/core/p-C6JN9gdb.js +2 -0
  741. package/dist/core/p-C6JN9gdb.js.map +1 -0
  742. package/dist/core/p-CDIRBJsi.js +2 -0
  743. package/dist/core/p-CDIRBJsi.js.map +1 -0
  744. package/dist/core/p-CLBboRhb.js +2 -0
  745. package/dist/core/p-CLBboRhb.js.map +1 -0
  746. package/dist/core/p-CQvUntGY.js +2 -0
  747. package/dist/core/p-CQvUntGY.js.map +1 -0
  748. package/dist/core/p-Ccwpa1ck.js +2 -0
  749. package/dist/core/p-Ccwpa1ck.js.map +1 -0
  750. package/dist/core/p-CgDnDrq5.js +2 -0
  751. package/dist/core/p-CgDnDrq5.js.map +1 -0
  752. package/dist/core/p-Cjg0wpDG.js +2 -0
  753. package/dist/core/p-Cjg0wpDG.js.map +1 -0
  754. package/dist/core/p-Cx3bEC5v.js +2 -0
  755. package/dist/core/p-Cx3bEC5v.js.map +1 -0
  756. package/dist/core/p-CzXeijOj.js +2 -0
  757. package/dist/core/p-CzXeijOj.js.map +1 -0
  758. package/dist/core/p-D4TGB274.js +2 -0
  759. package/dist/core/p-D4TGB274.js.map +1 -0
  760. package/dist/core/p-DBXGhafv.js +2 -0
  761. package/dist/core/p-DBXGhafv.js.map +1 -0
  762. package/dist/core/p-DNztiAH0.js +2 -0
  763. package/dist/core/p-DNztiAH0.js.map +1 -0
  764. package/dist/core/p-DQuL1Twl.js +2 -0
  765. package/dist/core/p-DQuL1Twl.js.map +1 -0
  766. package/dist/core/p-DT2tslUp.js +3 -0
  767. package/dist/core/p-DT2tslUp.js.map +1 -0
  768. package/dist/core/p-DYcNEwSZ.js +2 -0
  769. package/dist/core/p-DYcNEwSZ.js.map +1 -0
  770. package/dist/core/p-EeKNA85D.js +2 -0
  771. package/dist/core/p-EeKNA85D.js.map +1 -0
  772. package/dist/core/p-GYov8gU1.js +2 -0
  773. package/dist/core/p-GYov8gU1.js.map +1 -0
  774. package/dist/core/p-NOJjz9dT.js +2 -0
  775. package/dist/core/p-NOJjz9dT.js.map +1 -0
  776. package/dist/core/p-Q99QrOoi.js +2 -0
  777. package/dist/core/p-Q99QrOoi.js.map +1 -0
  778. package/dist/core/p-U40vKHrs.js +2 -0
  779. package/dist/core/p-U40vKHrs.js.map +1 -0
  780. package/dist/core/p-a18c600d.entry.js +2 -0
  781. package/dist/core/p-a18c600d.entry.js.map +1 -0
  782. package/dist/core/p-aaa73dc8.entry.js +2 -0
  783. package/dist/core/p-aaa73dc8.entry.js.map +1 -0
  784. package/dist/core/p-ade69b24.entry.js +2 -0
  785. package/dist/core/p-ade69b24.entry.js.map +1 -0
  786. package/dist/core/p-b19afdd8.entry.js +2 -0
  787. package/dist/core/p-b19afdd8.entry.js.map +1 -0
  788. package/dist/core/p-b97b4439.entry.js +2 -0
  789. package/dist/core/p-b97b4439.entry.js.map +1 -0
  790. package/dist/core/p-bbe0d727.entry.js +2 -0
  791. package/dist/core/p-bbe0d727.entry.js.map +1 -0
  792. package/dist/core/p-bedd75e1.entry.js +2 -0
  793. package/dist/core/p-bedd75e1.entry.js.map +1 -0
  794. package/dist/core/p-c1a1fc45.entry.js +2 -0
  795. package/dist/core/p-c1a1fc45.entry.js.map +1 -0
  796. package/dist/core/p-c6f52c6f.entry.js +2 -0
  797. package/dist/core/p-c6f52c6f.entry.js.map +1 -0
  798. package/dist/core/p-c99cc786.entry.js +2 -0
  799. package/dist/core/p-c99cc786.entry.js.map +1 -0
  800. package/dist/core/p-c9edada1.entry.js +2 -0
  801. package/dist/core/p-c9edada1.entry.js.map +1 -0
  802. package/dist/core/p-cddfc899.entry.js +2 -0
  803. package/dist/core/p-cddfc899.entry.js.map +1 -0
  804. package/dist/core/p-ce588d98.entry.js +2 -0
  805. package/dist/core/p-ce588d98.entry.js.map +1 -0
  806. package/dist/core/p-d4440adf.entry.js +2 -0
  807. package/dist/core/p-d4440adf.entry.js.map +1 -0
  808. package/dist/core/p-d48d5870.entry.js +2 -0
  809. package/dist/core/p-d48d5870.entry.js.map +1 -0
  810. package/dist/core/p-e169f098.entry.js +2 -0
  811. package/dist/core/p-e169f098.entry.js.map +1 -0
  812. package/dist/core/p-e3e3e9f2.entry.js +2 -0
  813. package/dist/core/p-e3e3e9f2.entry.js.map +1 -0
  814. package/dist/core/p-e8507630.entry.js +2 -0
  815. package/dist/core/p-e8507630.entry.js.map +1 -0
  816. package/dist/core/p-e9284c2b.entry.js +2 -0
  817. package/dist/core/p-e9284c2b.entry.js.map +1 -0
  818. package/dist/core/p-f01eb407.entry.js +2 -0
  819. package/dist/core/p-f01eb407.entry.js.map +1 -0
  820. package/dist/core/p-f0505205.entry.js +2 -0
  821. package/dist/core/p-f0505205.entry.js.map +1 -0
  822. package/dist/core/p-f3c873f5.entry.js +2 -0
  823. package/dist/core/p-f3c873f5.entry.js.map +1 -0
  824. package/dist/core/p-vN03FcXN.js +2 -0
  825. package/dist/core/p-vN03FcXN.js.map +1 -0
  826. package/dist/esm/Fragment-5itQzbON.js +6 -0
  827. package/dist/esm/Fragment-5itQzbON.js.map +1 -0
  828. package/dist/esm/accessibility-wqNV8djF.js +11 -0
  829. package/dist/esm/accessibility-wqNV8djF.js.map +1 -0
  830. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  831. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  832. package/dist/esm/array.utils-CJ0U_ONv.js +42 -0
  833. package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -0
  834. package/dist/esm/attribute-Bz_RzYFb.js +99 -0
  835. package/dist/esm/attribute-Bz_RzYFb.js.map +1 -0
  836. package/dist/esm/colors-U40vKHrs.js +19 -0
  837. package/dist/esm/colors-U40vKHrs.js.map +1 -0
  838. package/dist/esm/constants-BNBB_29K.js +33 -0
  839. package/dist/esm/constants-BNBB_29K.js.map +1 -0
  840. package/dist/esm/constants-BegH8u6i.js +15 -0
  841. package/dist/esm/constants-BegH8u6i.js.map +1 -0
  842. package/dist/esm/constants-BiWo5BNa.js +13 -0
  843. package/dist/esm/constants-BiWo5BNa.js.map +1 -0
  844. package/dist/esm/constants-CysDgoMA.js +13 -0
  845. package/dist/esm/constants-CysDgoMA.js.map +1 -0
  846. package/dist/esm/constants-DHvN41Ek.js +32 -0
  847. package/dist/esm/constants-DHvN41Ek.js.map +1 -0
  848. package/dist/esm/constants-DbTQsVRc.js +23 -0
  849. package/dist/esm/constants-DbTQsVRc.js.map +1 -0
  850. package/dist/esm/constants-Du0ZtfYe.js +23 -0
  851. package/dist/esm/constants-Du0ZtfYe.js.map +1 -0
  852. package/dist/esm/constants-Q99QrOoi.js +23 -0
  853. package/dist/esm/constants-Q99QrOoi.js.map +1 -0
  854. package/dist/esm/constants-TT_l4YYj.js +24 -0
  855. package/dist/esm/constants-TT_l4YYj.js.map +1 -0
  856. package/dist/esm/constants-YOtDGTm5.js +23 -0
  857. package/dist/esm/constants-YOtDGTm5.js.map +1 -0
  858. package/dist/esm/constants-aqe7GX2n.js +16 -0
  859. package/dist/esm/constants-aqe7GX2n.js.map +1 -0
  860. package/dist/esm/constants-oYp2tkdN.js +22 -0
  861. package/dist/esm/constants-oYp2tkdN.js.map +1 -0
  862. package/dist/esm/core.js +7 -5
  863. package/dist/esm/core.js.map +1 -1
  864. package/dist/esm/form-DvhJiKwA.js +141 -0
  865. package/dist/esm/form-DvhJiKwA.js.map +1 -0
  866. package/dist/esm/gov-accordion-item.entry.js +18 -14
  867. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  868. package/dist/esm/gov-accordion.entry.js +15 -8
  869. package/dist/esm/gov-accordion.entry.js.map +1 -1
  870. package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +1 -0
  871. package/dist/esm/gov-attachments_3.entry.js +22 -20
  872. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  873. package/dist/esm/gov-backdrop.entry.js +16 -11
  874. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  875. package/dist/esm/gov-banner.entry.js +19 -6
  876. package/dist/esm/gov-banner.entry.js.map +1 -1
  877. package/dist/esm/gov-blockquote.entry.js +6 -3
  878. package/dist/esm/gov-blockquote.entry.js.map +1 -1
  879. package/dist/esm/gov-breadcrumbs.entry.js +19 -11
  880. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  881. package/dist/esm/gov-button.entry.js +46 -30
  882. package/dist/esm/gov-button.entry.js.map +1 -1
  883. package/dist/esm/gov-card.entry.js +23 -13
  884. package/dist/esm/gov-card.entry.js.map +1 -1
  885. package/dist/esm/gov-chip.entry.js +32 -22
  886. package/dist/esm/gov-chip.entry.js.map +1 -1
  887. package/dist/esm/gov-container.entry.js +3 -2
  888. package/dist/esm/gov-container.entry.js.map +1 -1
  889. package/dist/esm/gov-control-group.entry.js +16 -6
  890. package/dist/esm/gov-control-group.entry.js.map +1 -1
  891. package/dist/esm/gov-cookiebar.entry.js +3 -2
  892. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  893. package/dist/esm/gov-dialog.entry.js +77 -13
  894. package/dist/esm/gov-dialog.entry.js.map +1 -1
  895. package/dist/esm/gov-dropdown.entry.js +15 -9
  896. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  897. package/dist/esm/gov-empty.entry.js +25 -8
  898. package/dist/esm/gov-empty.entry.js.map +1 -1
  899. package/dist/esm/gov-error-code.entry.js +3 -2
  900. package/dist/esm/gov-error-code.entry.js.map +1 -1
  901. package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -0
  902. package/dist/esm/gov-flex_3.entry.js +49 -33
  903. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  904. package/dist/esm/gov-form-autocomplete.entry.js +43 -25
  905. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  906. package/dist/esm/gov-form-checkbox-group.entry.js +27 -18
  907. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  908. package/dist/esm/gov-form-checkbox.entry.js +38 -22
  909. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  910. package/dist/esm/gov-form-control.entry.js +32 -13
  911. package/dist/esm/gov-form-control.entry.js.map +1 -1
  912. package/dist/esm/gov-form-file.entry.js +60 -22
  913. package/dist/esm/gov-form-file.entry.js.map +1 -1
  914. package/dist/esm/gov-form-group.entry.js +15 -8
  915. package/dist/esm/gov-form-group.entry.js.map +1 -1
  916. package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -0
  917. package/dist/esm/gov-form-input_2.entry.js +66 -48
  918. package/dist/esm/gov-form-input_2.entry.js.map +1 -1
  919. package/dist/esm/gov-form-label.entry.js +17 -7
  920. package/dist/esm/gov-form-label.entry.js.map +1 -1
  921. package/dist/esm/gov-form-multi-select.entry.js +46 -34
  922. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  923. package/dist/esm/gov-form-password-power.entry.js +3 -3
  924. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  925. package/dist/esm/gov-form-radio-group.entry.js +25 -16
  926. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  927. package/dist/esm/gov-form-radio.entry.js +36 -22
  928. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  929. package/dist/esm/gov-form-range.entry.js +37 -30
  930. package/dist/esm/gov-form-range.entry.js.map +1 -1
  931. package/dist/esm/gov-form-search.entry.js +12 -5
  932. package/dist/esm/gov-form-search.entry.js.map +1 -1
  933. package/dist/esm/gov-form-select.entry.js +34 -29
  934. package/dist/esm/gov-form-select.entry.js.map +1 -1
  935. package/dist/esm/gov-form-switch.entry.js +38 -24
  936. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  937. package/dist/esm/gov-grid-item.entry.js +12 -13
  938. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  939. package/dist/esm/gov-grid.entry.js +6 -9
  940. package/dist/esm/gov-grid.entry.js.map +1 -1
  941. package/dist/esm/gov-infobar.entry.js +31 -12
  942. package/dist/esm/gov-infobar.entry.js.map +1 -1
  943. package/dist/esm/gov-layout-column.entry.js +5 -4
  944. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  945. package/dist/esm/gov-layout.entry.js +11 -5
  946. package/dist/esm/gov-layout.entry.js.map +1 -1
  947. package/dist/esm/gov-lifecycle.entry.js +4 -3
  948. package/dist/esm/gov-lifecycle.entry.js.map +1 -1
  949. package/dist/esm/gov-link.entry.js +19 -11
  950. package/dist/esm/gov-link.entry.js.map +1 -1
  951. package/dist/esm/gov-loading.entry.js +11 -7
  952. package/dist/esm/gov-loading.entry.js.map +1 -1
  953. package/dist/esm/gov-message.entry.js +14 -7
  954. package/dist/esm/gov-message.entry.js.map +1 -1
  955. package/dist/esm/gov-pagination.entry.js +54 -17
  956. package/dist/esm/gov-pagination.entry.js.map +1 -1
  957. package/dist/esm/gov-spacer.entry.js +11 -8
  958. package/dist/esm/gov-spacer.entry.js.map +1 -1
  959. package/dist/esm/gov-stepper-item.entry.js +18 -12
  960. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  961. package/dist/esm/gov-stepper.entry.js +14 -10
  962. package/dist/esm/gov-stepper.entry.js.map +1 -1
  963. package/dist/esm/gov-tabs-item.entry.js +15 -13
  964. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  965. package/dist/esm/gov-tabs.entry.js +30 -14
  966. package/dist/esm/gov-tabs.entry.js.map +1 -1
  967. package/dist/esm/gov-tag.entry.js +20 -13
  968. package/dist/esm/gov-tag.entry.js.map +1 -1
  969. package/dist/esm/gov-tile.entry.js +12 -8
  970. package/dist/esm/gov-tile.entry.js.map +1 -1
  971. package/dist/esm/gov-toast.entry.js +27 -13
  972. package/dist/esm/gov-toast.entry.js.map +1 -1
  973. package/dist/esm/gov-tooltip-content.entry.js +23 -7
  974. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  975. package/dist/esm/gov-tooltip.entry.js +28 -13
  976. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  977. package/dist/esm/gov-wizard-item.entry.js +28 -13
  978. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  979. package/dist/esm/gov-wizard.entry.js +17 -15
  980. package/dist/esm/gov-wizard.entry.js.map +1 -1
  981. package/dist/esm/gov.log-BtqD9K8d.js +46 -0
  982. package/dist/esm/gov.log-BtqD9K8d.js.map +1 -0
  983. package/dist/esm/helpers-GYov8gU1.js +18 -0
  984. package/dist/esm/helpers-GYov8gU1.js.map +1 -0
  985. package/dist/esm/helpers.types-DNztiAH0.js +12 -0
  986. package/dist/esm/helpers.types-DNztiAH0.js.map +1 -0
  987. package/dist/esm/index-DT2tslUp.js +3056 -0
  988. package/dist/esm/index-DT2tslUp.js.map +1 -0
  989. package/dist/esm/index.js +1 -0
  990. package/dist/esm/index.js.map +1 -1
  991. package/dist/esm/loader.js +5 -4
  992. package/dist/esm/loader.js.map +1 -1
  993. package/dist/esm/props-CJZgTDla.js +15 -0
  994. package/dist/esm/props-CJZgTDla.js.map +1 -0
  995. package/dist/esm/sizes-BcQO4NH2.js +19 -0
  996. package/dist/esm/sizes-BcQO4NH2.js.map +1 -0
  997. package/dist/esm/stencil.utils-Cjg0wpDG.js +10 -0
  998. package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -0
  999. package/dist/esm/string.utils-vN03FcXN.js +21 -0
  1000. package/dist/esm/string.utils-vN03FcXN.js.map +1 -0
  1001. package/dist/esm/template-BBOh2pxy.js +107 -0
  1002. package/dist/esm/template-BBOh2pxy.js.map +1 -0
  1003. package/dist/esm/utils-CQvUntGY.js +36 -0
  1004. package/dist/esm/utils-CQvUntGY.js.map +1 -0
  1005. package/dist/esm/wcag-CD6_13JO.js +52 -0
  1006. package/dist/esm/wcag-CD6_13JO.js.map +1 -0
  1007. package/dist/hydrate/index.d.ts +44 -7
  1008. package/dist/hydrate/index.js +3260 -1462
  1009. package/dist/hydrate/index.mjs +3259 -1461
  1010. package/dist/stencil.config.js +0 -9
  1011. package/dist/stencil.config.js.map +1 -1
  1012. package/dist/types/components/gov-button/button/gov-button.d.ts +5 -0
  1013. package/dist/types/components/gov-card/gov-card.d.ts +4 -0
  1014. package/dist/types/components/gov-chip/gov-chip.d.ts +1 -1
  1015. package/dist/types/components/gov-dialog/gov-dialog.d.ts +5 -2
  1016. package/dist/types/components/gov-empty/constants.d.ts +6 -0
  1017. package/dist/types/components/gov-empty/gov-empty.d.ts +5 -1
  1018. package/dist/types/components/gov-form/control/gov-form-control.d.ts +3 -3
  1019. package/dist/types/components/gov-form/file/constants.d.ts +1 -0
  1020. package/dist/types/components/gov-form/switch/constants.d.ts +1 -0
  1021. package/dist/types/components/gov-grid/gov-grid.d.ts +0 -4
  1022. package/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
  1023. package/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
  1024. package/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
  1025. package/dist/types/components/gov-tile/gov-tile.d.ts +1 -1
  1026. package/dist/types/components.d.ts +447 -25
  1027. package/dist/types/core/constants/sizes.d.ts +1 -1
  1028. package/dist/types/pages/AttributeSection.d.ts +3 -0
  1029. package/dist/types/pages/Avatar.d.ts +3 -0
  1030. package/dist/types/pages/Badge.d.ts +3 -0
  1031. package/dist/types/pages/Collapsible.d.ts +3 -0
  1032. package/dist/types/pages/HorizontalStepper.d.ts +3 -0
  1033. package/dist/types/pages/UserNavigation.d.ts +24 -0
  1034. package/dist/types/stencil-public-runtime.d.ts +37 -2
  1035. package/dist/types/utils/dom.utils.d.ts +1 -0
  1036. package/dist/types/utils/object.utils.d.ts +1 -0
  1037. package/package.json +3 -3
  1038. package/dist/cjs/Fragment-52846f79.js +0 -7
  1039. package/dist/cjs/Fragment-52846f79.js.map +0 -1
  1040. package/dist/cjs/accessibility-c475826b.js +0 -15
  1041. package/dist/cjs/accessibility-c475826b.js.map +0 -1
  1042. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  1043. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  1044. package/dist/cjs/array.utils-211fffc0.js +0 -44
  1045. package/dist/cjs/array.utils-211fffc0.js.map +0 -1
  1046. package/dist/cjs/attribute-06dc5228.js +0 -102
  1047. package/dist/cjs/attribute-06dc5228.js.map +0 -1
  1048. package/dist/cjs/colors-f7c8eadd.js +0 -18
  1049. package/dist/cjs/colors-f7c8eadd.js.map +0 -1
  1050. package/dist/cjs/constants-47ba678b.js +0 -18
  1051. package/dist/cjs/constants-47ba678b.js.map +0 -1
  1052. package/dist/cjs/constants-49f0efa6.js +0 -36
  1053. package/dist/cjs/constants-49f0efa6.js.map +0 -1
  1054. package/dist/cjs/constants-7f713d6c.js +0 -27
  1055. package/dist/cjs/constants-7f713d6c.js.map +0 -1
  1056. package/dist/cjs/constants-82929d01.js +0 -27
  1057. package/dist/cjs/constants-82929d01.js.map +0 -1
  1058. package/dist/cjs/constants-87bab1ed.js +0 -14
  1059. package/dist/cjs/constants-87bab1ed.js.map +0 -1
  1060. package/dist/cjs/constants-a33f6e99.js +0 -25
  1061. package/dist/cjs/constants-a33f6e99.js.map +0 -1
  1062. package/dist/cjs/constants-b9fece07.js +0 -17
  1063. package/dist/cjs/constants-b9fece07.js.map +0 -1
  1064. package/dist/cjs/constants-c0886404.js +0 -28
  1065. package/dist/cjs/constants-c0886404.js.map +0 -1
  1066. package/dist/cjs/constants-c7447ffd.js +0 -29
  1067. package/dist/cjs/constants-c7447ffd.js.map +0 -1
  1068. package/dist/cjs/constants-c84c60d6.js +0 -15
  1069. package/dist/cjs/constants-c84c60d6.js.map +0 -1
  1070. package/dist/cjs/constants-e1bbb053.js +0 -27
  1071. package/dist/cjs/constants-e1bbb053.js.map +0 -1
  1072. package/dist/cjs/constants-f464dc4c.js +0 -36
  1073. package/dist/cjs/constants-f464dc4c.js.map +0 -1
  1074. package/dist/cjs/form-4e66039a.js +0 -158
  1075. package/dist/cjs/form-4e66039a.js.map +0 -1
  1076. package/dist/cjs/gov.log-bfea3151.js +0 -52
  1077. package/dist/cjs/gov.log-bfea3151.js.map +0 -1
  1078. package/dist/cjs/helpers-2ee3c9e6.js +0 -19
  1079. package/dist/cjs/helpers-2ee3c9e6.js.map +0 -1
  1080. package/dist/cjs/helpers.types-9066e4a4.js +0 -16
  1081. package/dist/cjs/helpers.types-9066e4a4.js.map +0 -1
  1082. package/dist/cjs/index-0e4f24f9.js +0 -2042
  1083. package/dist/cjs/index-0e4f24f9.js.map +0 -1
  1084. package/dist/cjs/props-d189860c.js +0 -16
  1085. package/dist/cjs/props-d189860c.js.map +0 -1
  1086. package/dist/cjs/sizes-89f8d3b2.js +0 -18
  1087. package/dist/cjs/sizes-89f8d3b2.js.map +0 -1
  1088. package/dist/cjs/stencil.utils-182382ee.js +0 -11
  1089. package/dist/cjs/stencil.utils-182382ee.js.map +0 -1
  1090. package/dist/cjs/string.utils-b84c81cf.js +0 -25
  1091. package/dist/cjs/string.utils-b84c81cf.js.map +0 -1
  1092. package/dist/cjs/template-39939fd6.js +0 -114
  1093. package/dist/cjs/template-39939fd6.js.map +0 -1
  1094. package/dist/cjs/utils-d263c5c6.js +0 -41
  1095. package/dist/cjs/utils-d263c5c6.js.map +0 -1
  1096. package/dist/cjs/wcag-f8da82da.js +0 -55
  1097. package/dist/cjs/wcag-f8da82da.js.map +0 -1
  1098. package/dist/collection/components/gov-stepper/constants.js +0 -20
  1099. package/dist/collection/components/gov-stepper/constants.js.map +0 -1
  1100. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
  1101. package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -132
  1102. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
  1103. package/dist/collection/components/gov-stepper/gov-stepper.js +0 -93
  1104. package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
  1105. package/dist/components/p-016bbea6.js +0 -2
  1106. package/dist/components/p-016bbea6.js.map +0 -1
  1107. package/dist/components/p-022e49cf.js +0 -2
  1108. package/dist/components/p-022e49cf.js.map +0 -1
  1109. package/dist/components/p-07165d99.js +0 -2
  1110. package/dist/components/p-07165d99.js.map +0 -1
  1111. package/dist/components/p-0b3574c2.js +0 -2
  1112. package/dist/components/p-0b3574c2.js.map +0 -1
  1113. package/dist/components/p-10cad7f1.js +0 -2
  1114. package/dist/components/p-10cad7f1.js.map +0 -1
  1115. package/dist/components/p-13ebd887.js +0 -2
  1116. package/dist/components/p-13ebd887.js.map +0 -1
  1117. package/dist/components/p-1c1d0bbe.js +0 -2
  1118. package/dist/components/p-1c1d0bbe.js.map +0 -1
  1119. package/dist/components/p-26618322.js +0 -2
  1120. package/dist/components/p-26618322.js.map +0 -1
  1121. package/dist/components/p-2ca5423c.js +0 -2
  1122. package/dist/components/p-2ca5423c.js.map +0 -1
  1123. package/dist/components/p-2fe7d728.js +0 -2
  1124. package/dist/components/p-2fe7d728.js.map +0 -1
  1125. package/dist/components/p-33d5d1ed.js +0 -2
  1126. package/dist/components/p-33d5d1ed.js.map +0 -1
  1127. package/dist/components/p-42200001.js +0 -3
  1128. package/dist/components/p-42200001.js.map +0 -1
  1129. package/dist/components/p-44a8a668.js +0 -2
  1130. package/dist/components/p-44a8a668.js.map +0 -1
  1131. package/dist/components/p-4fb591c3.js +0 -2
  1132. package/dist/components/p-4fb591c3.js.map +0 -1
  1133. package/dist/components/p-5697ee30.js +0 -2
  1134. package/dist/components/p-5697ee30.js.map +0 -1
  1135. package/dist/components/p-5aad3497.js +0 -2
  1136. package/dist/components/p-5aad3497.js.map +0 -1
  1137. package/dist/components/p-76d604c6.js +0 -2
  1138. package/dist/components/p-76d604c6.js.map +0 -1
  1139. package/dist/components/p-7ba4daf4.js +0 -2
  1140. package/dist/components/p-7ba4daf4.js.map +0 -1
  1141. package/dist/components/p-7f3becc5.js +0 -2
  1142. package/dist/components/p-7f3becc5.js.map +0 -1
  1143. package/dist/components/p-860520b0.js +0 -2
  1144. package/dist/components/p-860520b0.js.map +0 -1
  1145. package/dist/components/p-8a9d4e12.js +0 -2
  1146. package/dist/components/p-8a9d4e12.js.map +0 -1
  1147. package/dist/components/p-8d1d7dd5.js +0 -2
  1148. package/dist/components/p-8d1d7dd5.js.map +0 -1
  1149. package/dist/components/p-92f420cb.js +0 -2
  1150. package/dist/components/p-92f420cb.js.map +0 -1
  1151. package/dist/components/p-9908b9f0.js +0 -2
  1152. package/dist/components/p-9908b9f0.js.map +0 -1
  1153. package/dist/components/p-a7917b98.js +0 -2
  1154. package/dist/components/p-a7917b98.js.map +0 -1
  1155. package/dist/components/p-b60d627f.js +0 -2
  1156. package/dist/components/p-b60d627f.js.map +0 -1
  1157. package/dist/components/p-be086357.js +0 -2
  1158. package/dist/components/p-be086357.js.map +0 -1
  1159. package/dist/components/p-c61a5830.js +0 -2
  1160. package/dist/components/p-c61a5830.js.map +0 -1
  1161. package/dist/components/p-cd6c2938.js +0 -2
  1162. package/dist/components/p-cd6c2938.js.map +0 -1
  1163. package/dist/components/p-d2d05f02.js +0 -2
  1164. package/dist/components/p-d2d05f02.js.map +0 -1
  1165. package/dist/components/p-d4509899.js +0 -2
  1166. package/dist/components/p-d4509899.js.map +0 -1
  1167. package/dist/components/p-de989dfe.js +0 -2
  1168. package/dist/components/p-de989dfe.js.map +0 -1
  1169. package/dist/components/p-e0c3b1a7.js +0 -2
  1170. package/dist/components/p-e0c3b1a7.js.map +0 -1
  1171. package/dist/components/p-e0e2e9c1.js +0 -2
  1172. package/dist/components/p-e0e2e9c1.js.map +0 -1
  1173. package/dist/components/p-e8ec030e.js +0 -2
  1174. package/dist/components/p-e8ec030e.js.map +0 -1
  1175. package/dist/components/p-ea128b8b.js +0 -2
  1176. package/dist/components/p-ea128b8b.js.map +0 -1
  1177. package/dist/components/p-ea7fdd2e.js +0 -2
  1178. package/dist/components/p-ea7fdd2e.js.map +0 -1
  1179. package/dist/components/p-fc2afe61.js +0 -2
  1180. package/dist/components/p-fc2afe61.js.map +0 -1
  1181. package/dist/components/p-ffc3a0df.js +0 -2
  1182. package/dist/components/p-ffc3a0df.js.map +0 -1
  1183. package/dist/core/p-016bbea6.js +0 -2
  1184. package/dist/core/p-016bbea6.js.map +0 -1
  1185. package/dist/core/p-07590d84.entry.js +0 -2
  1186. package/dist/core/p-07590d84.entry.js.map +0 -1
  1187. package/dist/core/p-08552a0e.entry.js +0 -2
  1188. package/dist/core/p-08552a0e.entry.js.map +0 -1
  1189. package/dist/core/p-0b3574c2.js +0 -2
  1190. package/dist/core/p-0b3574c2.js.map +0 -1
  1191. package/dist/core/p-0c393d2f.entry.js +0 -2
  1192. package/dist/core/p-0c393d2f.entry.js.map +0 -1
  1193. package/dist/core/p-0ef1f684.entry.js +0 -2
  1194. package/dist/core/p-0ef1f684.entry.js.map +0 -1
  1195. package/dist/core/p-13ebd887.js +0 -2
  1196. package/dist/core/p-13ebd887.js.map +0 -1
  1197. package/dist/core/p-16ece889.entry.js +0 -2
  1198. package/dist/core/p-16ece889.entry.js.map +0 -1
  1199. package/dist/core/p-171e2a2f.entry.js +0 -2
  1200. package/dist/core/p-171e2a2f.entry.js.map +0 -1
  1201. package/dist/core/p-1c1d0bbe.js +0 -2
  1202. package/dist/core/p-1c1d0bbe.js.map +0 -1
  1203. package/dist/core/p-2536a8ff.entry.js +0 -2
  1204. package/dist/core/p-2536a8ff.entry.js.map +0 -1
  1205. package/dist/core/p-25615325.entry.js +0 -2
  1206. package/dist/core/p-25615325.entry.js.map +0 -1
  1207. package/dist/core/p-26618322.js +0 -2
  1208. package/dist/core/p-26618322.js.map +0 -1
  1209. package/dist/core/p-2a7bcce0.entry.js +0 -2
  1210. package/dist/core/p-2a7bcce0.entry.js.map +0 -1
  1211. package/dist/core/p-2c52dcc9.entry.js +0 -2
  1212. package/dist/core/p-2c52dcc9.entry.js.map +0 -1
  1213. package/dist/core/p-2ca5423c.js +0 -2
  1214. package/dist/core/p-2ca5423c.js.map +0 -1
  1215. package/dist/core/p-2f966102.entry.js +0 -2
  1216. package/dist/core/p-2f966102.entry.js.map +0 -1
  1217. package/dist/core/p-2fe7d728.js +0 -2
  1218. package/dist/core/p-2fe7d728.js.map +0 -1
  1219. package/dist/core/p-39d6e51d.entry.js +0 -2
  1220. package/dist/core/p-39d6e51d.entry.js.map +0 -1
  1221. package/dist/core/p-3b2267a1.entry.js +0 -2
  1222. package/dist/core/p-3b2267a1.entry.js.map +0 -1
  1223. package/dist/core/p-3bbb77a0.js +0 -2
  1224. package/dist/core/p-3bbb77a0.js.map +0 -1
  1225. package/dist/core/p-4216d8f3.entry.js +0 -2
  1226. package/dist/core/p-4216d8f3.entry.js.map +0 -1
  1227. package/dist/core/p-44c912e2.entry.js +0 -2
  1228. package/dist/core/p-44c912e2.entry.js.map +0 -1
  1229. package/dist/core/p-4d5f768f.entry.js +0 -2
  1230. package/dist/core/p-4d5f768f.entry.js.map +0 -1
  1231. package/dist/core/p-52042c7e.entry.js +0 -2
  1232. package/dist/core/p-52042c7e.entry.js.map +0 -1
  1233. package/dist/core/p-52103c05.entry.js +0 -2
  1234. package/dist/core/p-52103c05.entry.js.map +0 -1
  1235. package/dist/core/p-52bb8e4f.entry.js +0 -2
  1236. package/dist/core/p-52bb8e4f.entry.js.map +0 -1
  1237. package/dist/core/p-52c74fc5.entry.js +0 -2
  1238. package/dist/core/p-52c74fc5.entry.js.map +0 -1
  1239. package/dist/core/p-548806cb.entry.js +0 -2
  1240. package/dist/core/p-548806cb.entry.js.map +0 -1
  1241. package/dist/core/p-56efd4a2.js +0 -2
  1242. package/dist/core/p-56efd4a2.js.map +0 -1
  1243. package/dist/core/p-5aad3497.js +0 -2
  1244. package/dist/core/p-5aad3497.js.map +0 -1
  1245. package/dist/core/p-5f1000da.js +0 -2
  1246. package/dist/core/p-5f1000da.js.map +0 -1
  1247. package/dist/core/p-5fa4965e.entry.js +0 -2
  1248. package/dist/core/p-5fa4965e.entry.js.map +0 -1
  1249. package/dist/core/p-68b63bde.entry.js +0 -2
  1250. package/dist/core/p-68b63bde.entry.js.map +0 -1
  1251. package/dist/core/p-6d54ce5f.js +0 -2
  1252. package/dist/core/p-6d54ce5f.js.map +0 -1
  1253. package/dist/core/p-6f1ea21d.entry.js +0 -2
  1254. package/dist/core/p-6f1ea21d.entry.js.map +0 -1
  1255. package/dist/core/p-6f74eb08.entry.js +0 -2
  1256. package/dist/core/p-6f74eb08.entry.js.map +0 -1
  1257. package/dist/core/p-7385f6e8.entry.js +0 -2
  1258. package/dist/core/p-7385f6e8.entry.js.map +0 -1
  1259. package/dist/core/p-75dae924.entry.js +0 -2
  1260. package/dist/core/p-75dae924.entry.js.map +0 -1
  1261. package/dist/core/p-76d604c6.js +0 -2
  1262. package/dist/core/p-76d604c6.js.map +0 -1
  1263. package/dist/core/p-7ba4daf4.js +0 -2
  1264. package/dist/core/p-7ba4daf4.js.map +0 -1
  1265. package/dist/core/p-7f3becc5.js +0 -2
  1266. package/dist/core/p-7f3becc5.js.map +0 -1
  1267. package/dist/core/p-843f980a.entry.js +0 -2
  1268. package/dist/core/p-843f980a.entry.js.map +0 -1
  1269. package/dist/core/p-860520b0.js +0 -2
  1270. package/dist/core/p-860520b0.js.map +0 -1
  1271. package/dist/core/p-8a72ebcd.entry.js +0 -2
  1272. package/dist/core/p-8a72ebcd.entry.js.map +0 -1
  1273. package/dist/core/p-8cd7a120.entry.js +0 -2
  1274. package/dist/core/p-8cd7a120.entry.js.map +0 -1
  1275. package/dist/core/p-8f469270.entry.js +0 -2
  1276. package/dist/core/p-8f469270.entry.js.map +0 -1
  1277. package/dist/core/p-92f420cb.js +0 -2
  1278. package/dist/core/p-92f420cb.js.map +0 -1
  1279. package/dist/core/p-947804a8.entry.js +0 -2
  1280. package/dist/core/p-947804a8.entry.js.map +0 -1
  1281. package/dist/core/p-979ff58c.entry.js +0 -2
  1282. package/dist/core/p-979ff58c.entry.js.map +0 -1
  1283. package/dist/core/p-981f217e.entry.js +0 -2
  1284. package/dist/core/p-981f217e.entry.js.map +0 -1
  1285. package/dist/core/p-9ac55bd1.js +0 -2
  1286. package/dist/core/p-9ac55bd1.js.map +0 -1
  1287. package/dist/core/p-9c1f3e9e.entry.js +0 -2
  1288. package/dist/core/p-9c1f3e9e.entry.js.map +0 -1
  1289. package/dist/core/p-9dea2efa.js +0 -3
  1290. package/dist/core/p-9dea2efa.js.map +0 -1
  1291. package/dist/core/p-a440365f.entry.js +0 -2
  1292. package/dist/core/p-a440365f.entry.js.map +0 -1
  1293. package/dist/core/p-a70c7959.entry.js +0 -2
  1294. package/dist/core/p-a70c7959.entry.js.map +0 -1
  1295. package/dist/core/p-a8a7ae96.entry.js +0 -2
  1296. package/dist/core/p-a8a7ae96.entry.js.map +0 -1
  1297. package/dist/core/p-aacafa40.entry.js +0 -2
  1298. package/dist/core/p-aacafa40.entry.js.map +0 -1
  1299. package/dist/core/p-ac800db4.entry.js +0 -2
  1300. package/dist/core/p-ac800db4.entry.js.map +0 -1
  1301. package/dist/core/p-aeaba3ef.entry.js +0 -2
  1302. package/dist/core/p-aeaba3ef.entry.js.map +0 -1
  1303. package/dist/core/p-b87e5429.entry.js +0 -2
  1304. package/dist/core/p-b87e5429.entry.js.map +0 -1
  1305. package/dist/core/p-bca478fd.entry.js +0 -2
  1306. package/dist/core/p-bca478fd.entry.js.map +0 -1
  1307. package/dist/core/p-be086357.js +0 -2
  1308. package/dist/core/p-be086357.js.map +0 -1
  1309. package/dist/core/p-bea685cb.entry.js +0 -2
  1310. package/dist/core/p-bea685cb.entry.js.map +0 -1
  1311. package/dist/core/p-c61a5830.js +0 -2
  1312. package/dist/core/p-c61a5830.js.map +0 -1
  1313. package/dist/core/p-c88d8659.entry.js +0 -2
  1314. package/dist/core/p-c88d8659.entry.js.map +0 -1
  1315. package/dist/core/p-cba1ebca.entry.js +0 -2
  1316. package/dist/core/p-cba1ebca.entry.js.map +0 -1
  1317. package/dist/core/p-ccb64e4e.entry.js +0 -2
  1318. package/dist/core/p-ccb64e4e.entry.js.map +0 -1
  1319. package/dist/core/p-cd6c2938.js +0 -2
  1320. package/dist/core/p-cd6c2938.js.map +0 -1
  1321. package/dist/core/p-d383f977.entry.js +0 -2
  1322. package/dist/core/p-d383f977.entry.js.map +0 -1
  1323. package/dist/core/p-d45bcd43.entry.js +0 -2
  1324. package/dist/core/p-d45bcd43.entry.js.map +0 -1
  1325. package/dist/core/p-d990aae8.entry.js +0 -2
  1326. package/dist/core/p-d990aae8.entry.js.map +0 -1
  1327. package/dist/core/p-d9a299a4.js +0 -2
  1328. package/dist/core/p-d9a299a4.js.map +0 -1
  1329. package/dist/core/p-da1db6fd.js +0 -2
  1330. package/dist/core/p-da1db6fd.js.map +0 -1
  1331. package/dist/core/p-ddb3772f.entry.js +0 -2
  1332. package/dist/core/p-ddb3772f.entry.js.map +0 -1
  1333. package/dist/core/p-e0e2e9c1.js +0 -2
  1334. package/dist/core/p-e0e2e9c1.js.map +0 -1
  1335. package/dist/core/p-e1255160.js +0 -2
  1336. package/dist/core/p-e1255160.js.map +0 -1
  1337. package/dist/core/p-e2655cb7.entry.js +0 -2
  1338. package/dist/core/p-e2655cb7.entry.js.map +0 -1
  1339. package/dist/core/p-e29c9924.entry.js +0 -2
  1340. package/dist/core/p-e29c9924.entry.js.map +0 -1
  1341. package/dist/core/p-e7e00fe3.entry.js +0 -2
  1342. package/dist/core/p-e7e00fe3.entry.js.map +0 -1
  1343. package/dist/core/p-e8ec030e.js +0 -2
  1344. package/dist/core/p-e8ec030e.js.map +0 -1
  1345. package/dist/core/p-ea128b8b.js +0 -2
  1346. package/dist/core/p-ea128b8b.js.map +0 -1
  1347. package/dist/core/p-ea7fdd2e.js +0 -2
  1348. package/dist/core/p-ea7fdd2e.js.map +0 -1
  1349. package/dist/core/p-ead1f58d.entry.js +0 -2
  1350. package/dist/core/p-ead1f58d.entry.js.map +0 -1
  1351. package/dist/core/p-f83b3b08.entry.js +0 -2
  1352. package/dist/core/p-f83b3b08.entry.js.map +0 -1
  1353. package/dist/core/p-fc2afe61.js +0 -2
  1354. package/dist/core/p-fc2afe61.js.map +0 -1
  1355. package/dist/esm/Fragment-8d8d54fb.js +0 -5
  1356. package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
  1357. package/dist/esm/accessibility-f83c991a.js +0 -13
  1358. package/dist/esm/accessibility-f83c991a.js.map +0 -1
  1359. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1360. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1361. package/dist/esm/array.utils-3b213795.js +0 -41
  1362. package/dist/esm/array.utils-3b213795.js.map +0 -1
  1363. package/dist/esm/attribute-5561aca4.js +0 -98
  1364. package/dist/esm/attribute-5561aca4.js.map +0 -1
  1365. package/dist/esm/colors-4cf64720.js +0 -18
  1366. package/dist/esm/colors-4cf64720.js.map +0 -1
  1367. package/dist/esm/constants-085f9943.js +0 -15
  1368. package/dist/esm/constants-085f9943.js.map +0 -1
  1369. package/dist/esm/constants-1548499a.js +0 -22
  1370. package/dist/esm/constants-1548499a.js.map +0 -1
  1371. package/dist/esm/constants-3ab65c42.js +0 -23
  1372. package/dist/esm/constants-3ab65c42.js.map +0 -1
  1373. package/dist/esm/constants-3b914c35.js +0 -23
  1374. package/dist/esm/constants-3b914c35.js.map +0 -1
  1375. package/dist/esm/constants-43f10674.js +0 -12
  1376. package/dist/esm/constants-43f10674.js.map +0 -1
  1377. package/dist/esm/constants-51f51588.js +0 -32
  1378. package/dist/esm/constants-51f51588.js.map +0 -1
  1379. package/dist/esm/constants-7b1ce2ec.js +0 -24
  1380. package/dist/esm/constants-7b1ce2ec.js.map +0 -1
  1381. package/dist/esm/constants-8429b68f.js +0 -22
  1382. package/dist/esm/constants-8429b68f.js.map +0 -1
  1383. package/dist/esm/constants-9177ea52.js +0 -31
  1384. package/dist/esm/constants-9177ea52.js.map +0 -1
  1385. package/dist/esm/constants-bc210662.js +0 -14
  1386. package/dist/esm/constants-bc210662.js.map +0 -1
  1387. package/dist/esm/constants-dc2115cb.js +0 -12
  1388. package/dist/esm/constants-dc2115cb.js.map +0 -1
  1389. package/dist/esm/constants-f0f531b6.js +0 -22
  1390. package/dist/esm/constants-f0f531b6.js.map +0 -1
  1391. package/dist/esm/form-713f26fd.js +0 -143
  1392. package/dist/esm/form-713f26fd.js.map +0 -1
  1393. package/dist/esm/gov.log-6b64cda6.js +0 -45
  1394. package/dist/esm/gov.log-6b64cda6.js.map +0 -1
  1395. package/dist/esm/helpers-5d179d4b.js +0 -17
  1396. package/dist/esm/helpers-5d179d4b.js.map +0 -1
  1397. package/dist/esm/helpers.types-fe2f0447.js +0 -11
  1398. package/dist/esm/helpers.types-fe2f0447.js.map +0 -1
  1399. package/dist/esm/index-bf8a6f64.js +0 -2011
  1400. package/dist/esm/index-bf8a6f64.js.map +0 -1
  1401. package/dist/esm/props-9d3c7ac1.js +0 -14
  1402. package/dist/esm/props-9d3c7ac1.js.map +0 -1
  1403. package/dist/esm/sizes-5b9e579f.js +0 -18
  1404. package/dist/esm/sizes-5b9e579f.js.map +0 -1
  1405. package/dist/esm/stencil.utils-f3c6c68d.js +0 -9
  1406. package/dist/esm/stencil.utils-f3c6c68d.js.map +0 -1
  1407. package/dist/esm/string.utils-1da8f8fb.js +0 -20
  1408. package/dist/esm/string.utils-1da8f8fb.js.map +0 -1
  1409. package/dist/esm/template-7ecee4d1.js +0 -106
  1410. package/dist/esm/template-7ecee4d1.js.map +0 -1
  1411. package/dist/esm/utils-e10e994d.js +0 -35
  1412. package/dist/esm/utils-e10e994d.js.map +0 -1
  1413. package/dist/esm/wcag-bd11d341.js +0 -51
  1414. package/dist/esm/wcag-bd11d341.js.map +0 -1
  1415. package/dist/types/components/gov-stepper/constants.d.ts +0 -21
  1416. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -31
  1417. package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -22
  1418. package/loader/package.json +0 -11
  1419. /package/dist/collection/components/gov-stepper/{gov-stepper-item.d.js → stepper/gov-stepper-item.d.js} +0 -0
  1420. /package/dist/types/components/gov-stepper/{gov-stepper-item.d.d.ts → stepper/gov-stepper-item.d.d.ts} +0 -0
@@ -1 +1 @@
1
- {"file":"gov-form-file.entry.js","mappings":";;;;;;;;;;;;;AAAO,MAAM,aAAa,GAAG;IAC5B,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,qBAAqB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,4BAA4B;CACzC;;SCLe,WAAW,CAAC,KAAU;IACrC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IAC/E,IAAI,CAAC,GAA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MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;YACtB,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC,CAAA;YACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;gBACvB,SAAS,EAAE,aAAa,CAAC,IAAI;gBAC7B,IAAI,EAAE,UAAU;aAChB,CAAC,CAAA;YACF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,aAAa,CAAC,IAAI;gBAC7B,KAAK;aACL,CAAC,CAAA;SACF;KACD;IAEO,cAAc,CAAC,CAAa;QACnC,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAClB,SAAS,EAAE,aAAa,CAAC,IAAI;YAC7B,aAAa,EAAE,CAAC;SAChB,CAAC,CAAA;KACF;IAEO,aAAa,CAAC,CAAa;QAClC,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,aAAa,CAAC,IAAI;YAC7B,aAAa,EAAE,CAAC;SAChB,CAAC,CAAA;KACF;IAEO,eAAe,CAAC,CAAQ;QAC/B,CAAC,CAAC,eAAe,EAAE,CAAA;KACnB;;;;IAMD,MAAM,MAAM;QACX,OAAO,IAAI,CAAC,QAAQ,CAAA;KACpB;;;;IAMD,MAAM,UAAU;QACf,OAAO,IAAI,CAAC,OAAO,CAAA;KACnB;;;;IAMD,MAAM,KAAK;QACV,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,QAAQ,CAAC,KAAK,GAAG,EAAE,CAAC;KACzB;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/file/constants.ts","../../../packages/core/src/utils/file.utils.ts","../../../packages/core/src/components/gov-form/file/gov-form-file.tsx"],"sourcesContent":["export const FormFileClass = {\n\troot: 'gov-form-file',\n\tarea: 'gov-form-file__area',\n\tinput: 'gov-form-file__input',\n\tattachments: 'gov-form-file__attachments',\n}\n","export function formatBytes(bytes: any): string {\n\tconst units = ['bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']\n\tlet l = 0,\n\t\tn = parseInt(bytes, 10) || 0\n\n\twhile (n >= 1024 && ++l) {\n\t\tn = n / 1024\n\t}\n\n\treturn n.toFixed(n < 10 && l > 0 ? 1 : 0) + ' ' + units[l]\n}\n\nexport function fileAcceptValidation(file: File, accept: string): boolean {\n\tif (typeof accept === 'string' && accept.length) {\n\t\treturn (\n\t\t\taccept\n\t\t\t\t.replace(/\\s/g, '')\n\t\t\t\t.split(',')\n\t\t\t\t.filter(accept => {\n\t\t\t\t\treturn new RegExp(accept.replace('*', '.*')).test(file.type)\n\t\t\t\t}).length > 0\n\t\t)\n\t} else {\n\t\treturn true\n\t}\n}\n\nexport function fileSizeValidation(file: File, maxSize: number): boolean {\n\tconst fileSize = Math.round(file.size)\n\treturn fileSize <= maxSize\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormFileClass} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {fileAcceptValidation, fileSizeValidation, formatBytes} from \"../../../utils/file.utils\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovFormFileEvent, GovFormFileItem} from \"./gov-form-file.types\"\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-file\",\n})\nexport class GovFormFile {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\n\tprivate areaRef?: HTMLDivElement\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly fileId: string\n\tprivate attributeObserver: AttributeObserver\n\tprivate eventsRegistered = false\n\n\tconstructor() {\n\t\tthis.fileId = createID(\"GovInputFile\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormFileElement\n\t/**\n\t * Expands the file input to fill 100% of the container width.\n\t */\n\t@Prop() readonly expanded: boolean = 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 File component disabled.\n\t * This prevents users from being able to interact with the File, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * After selecting the files, the main input element will be reset.\n\t * The propagation of the event with the selected files will not be affected.\n\t */\n\t@Prop({attribute: \"reset-after-pick\"}) readonly resetAfterPick: boolean = false\n\t/**\n\t * Selected files will not be checked for duplicates based on name and size.\n\t */\n\t@Prop({attribute: \"ignore-file-duplication-check\"}) readonly ignoreFileDuplicationCheck: boolean = false\n\t/**\n\t * Show list of attachments\n\t */\n\t@Prop({attribute: \"display-attachments\"}) readonly displayAttachments: boolean = true\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept\n\t */\n\t@Prop() readonly accept: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple\n\t */\n\t@Prop() readonly multiple: boolean = false\n\t/**\n\t * Maximum embedded file size\n\t */\n\t@Prop({attribute: \"max-file-size\"}) readonly maxFileSize: number = -1\n\t/**\n\t * Custom File 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 * Error message when the maximum file size is exceeded\n\t */\n\t@Prop({attribute: \"error-size\"}) readonly errorSize: string = \"Soubor je větší než povolená velikost {FILE_SIZE}\"\n\t/**\n\t * Insert unsupported file error message\n\t */\n\t@Prop({attribute: \"error-accept\"}) readonly errorAccept: string = \"Soubor tohoto typu není povolen\"\n\t/**\n\t * Adds accessible label for the remove button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: \"accessible-remove-label\"}) readonly accessibleRemoveLabel: string = \"Odebrat soubor {FILE_NAME}\"\n\t/**\n\t * Adds accessible label for the list of attachments.\n\t */\n\t@Prop({attribute: \"accessible-attachments-label\"}) readonly accessibleAttachmentsLabel: string = \"Přílohy\"\n\t/**\n\t * Emitted when the File has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Emitted when the File loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when the list of inserted files is changed\n\t */\n\t@Event({eventName: \"gov-files\"}) govFiles: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when a new file is added\n\t */\n\t@Event({eventName: \"gov-add-file\"}) govAddFile: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when a file is removed from the list\n\t */\n\t@Event({eventName: \"gov-remove-file\"}) govRemoveFile: EventEmitter<GovFormFileEvent>\n\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() files: GovFormFileItem[] = []\n\t@State() inheritedAttributes: Attributes = {}\n\n\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"File\")\n\t}\n\n\n\tprivate registerListeners() {\n\t\tif (this.eventsRegistered) {\n\t\t\treturn\n\t\t}\n\t\tthis.eventsRegistered = true\n\n\t\tfunction highlight() {\n\t\t\tthis.areaRef.classList.add(\"highlight\")\n\t\t}\n\n\t\tfunction unhighlight() {\n\t\t\tthis.areaRef.classList.remove(\"highlight\")\n\t\t}\n\n\t\tthis.inputRef.addEventListener(\n\t\t\t\"change\",\n\t\t\te => {\n\t\t\t\te.preventDefault()\n\t\t\t\te.stopPropagation()\n\t\t\t\tconst files = (e.target as HTMLInputElement).files\n\t\t\t\tif (this.resetAfterPick) {\n\t\t\t\t\tif (files.length) {\n\t\t\t\t\t\tthis.validateFiles(files)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.validateFiles(files)\n\t\t\t\t}\n\t\t\t},\n\t\t\tfalse,\n\t\t)\n\n\t\tif (this.expanded) {\n\t\t\tconst events = [\"dragover\", \"dragleave\"]\n\t\t\tconst inEvents = [\"dragenter\", \"dragover\", \"mouseenter\"]\n\t\t\tconst outEvents = [\"dragleave\", \"mouseleave\"]\n\n\t\t\tevents.map(eventName => this.inputRef.addEventListener(eventName, this.preventDefaults.bind(this), false))\n\t\t\tinEvents.map(eventName => this.inputRef.addEventListener(eventName, highlight.bind(this), false))\n\t\t\toutEvents.forEach(eventName => this.inputRef.addEventListener(eventName, unhighlight.bind(this), false))\n\t\t}\n\t}\n\n\tpreventDefaults(e) {\n\t\te.preventDefault()\n\t\te.stopPropagation()\n\t}\n\n\thandleDrop(e: DragEvent) {\n\t\tconst dataTransfer = e.dataTransfer\n\t\tthis.validateFiles(dataTransfer.files)\n\t}\n\n\tprivate validateFiles(files: FileList) {\n\t\tlet filesBuffer: GovFormFileItem[] = []\n\t\tArray.from(files).map(file => {\n\t\t\tconst isFile = this.files.find(item => item.file.name === file.name && item.file.size === file.size) || null\n\t\t\tif (isFile === null || this.ignoreFileDuplicationCheck) {\n\t\t\t\tconst isSizeValid = typeof this.maxFileSize === \"number\" && this.maxFileSize > 0 ? fileSizeValidation(file, this.maxFileSize) : true\n\t\t\t\tconst isAcceptValid = fileAcceptValidation(file, this.accept)\n\t\t\t\tconst newFile = {\n\t\t\t\t\tid: createID(\"GovFormFile\"),\n\t\t\t\t\tfile,\n\t\t\t\t\tacceptValid: isAcceptValid,\n\t\t\t\t\tsizeValid: isSizeValid,\n\t\t\t\t}\n\t\t\t\tif (this.displayAttachments) {\n\t\t\t\t\tthis.files = [...this.files, newFile]\n\t\t\t\t} else {\n\t\t\t\t\tfilesBuffer = [...filesBuffer, newFile]\n\t\t\t\t}\n\t\t\t\tthis.govAddFile.emit({\n\t\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\t\tfile: newFile,\n\t\t\t\t})\n\t\t\t}\n\t\t})\n\n\t\tthis.govFiles.emit({\n\t\t\tcomponent: FormFileClass.root,\n\t\t\tfiles: filesBuffer.length ? filesBuffer : this.files,\n\t\t})\n\n\t\tif (this.resetAfterPick) {\n\t\t\tthis.reset().finally()\n\t\t}\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() {\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.registerListeners()\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\treturn (\n\t\t\t<Host class={this.h.classes([FormFileClass.root])}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t expanded={toBoolAttrIfDefined(this.expanded)}>\n\t\t\t\t<div class={FormFileClass.area} ref={el => (this.areaRef = el as HTMLDivElement)}>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<input\n\t\t\t\t\t\tclass={FormFileClass.input}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tid={this.identifier || this.fileId}\n\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\taccept={this.accept}\n\t\t\t\t\t\tmultiple={this.multiple}\n\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\n\t\t\t\t{this.h.hasSlot(\"attachments\") ? (\n\t\t\t\t\t<div class={FormFileClass.attachments}>\n\t\t\t\t\t\t<slot name={\"attachments\"}/>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t{this.files.length && this.displayAttachments ? (\n\t\t\t\t\t<div class={FormFileClass.attachments}>\n\t\t\t\t\t\t<gov-attachments label={this.accessibleAttachmentsLabel}\n\t\t\t\t\t\t\t\t\t\t accessible-label={this.accessibleAttachmentsLabel}>\n\t\t\t\t\t\t\t{this.files.map(item => (\n\t\t\t\t\t\t\t\t<gov-attachments-item accessible-remove-labelledby={item.id}\n\t\t\t\t\t\t\t\t\t\t\t\t\t on-gov-remove={() => this.onRemoveFileHandler(item)}>\n\t\t\t\t\t\t\t\t\t<span class={\"sr-only\"} id={item.id}>\n\t\t\t\t\t\t\t\t\t\t{this.accessibleRemoveLabel.replace(\"{FILE_NAME}\", item.file.name)}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t{item.file.name}\n\t\t\t\t\t\t\t\t\t{item.acceptValid === false ? (\n\t\t\t\t\t\t\t\t\t\t<gov-form-message slot=\"message\" color=\"error\">\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon\" name=\"exclamation-triangle-fill\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t\t\t{item.acceptValid === false ? this.errorAccept : null}\n\t\t\t\t\t\t\t\t\t\t</gov-form-message>\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t{item.sizeValid === false ? (\n\t\t\t\t\t\t\t\t\t\t<gov-form-message slot=\"message\" color=\"error\">\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon\" name=\"exclamation-triangle-fill\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t\t\t{this.errorSize.replace(\"{FILE_SIZE}\", formatBytes(this.maxFileSize))}\n\t\t\t\t\t\t\t\t\t\t</gov-form-message>\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t<span slot=\"info\">({formatBytes(item.file.size)})</span>\n\t\t\t\t\t\t\t\t</gov-attachments-item>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</gov-attachments>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onRemoveFileHandler(file: GovFormFileItem) {\n\t\tconst index = this.files.findIndex(item => item.id === file.id)\n\t\tif (index !== -1) {\n\t\t\tconst files = this.files\n\t\t\tconst removeFile = this.files[index]\n\t\t\tfiles.splice(index, 1)\n\t\t\tthis.files = [...files]\n\t\t\tthis.govRemoveFile.emit({\n\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\tfile: removeFile,\n\t\t\t})\n\t\t\tthis.govFiles.emit({\n\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\tfiles,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormFileClass.root,\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: FormFileClass.root,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\te.stopPropagation()\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\t/**\n\t * Returns the reference of the native area element\n\t */\n\t@Method()\n\tasync getAreaRef(): Promise<HTMLDivElement> {\n\t\treturn this.areaRef\n\t}\n\n\t/**\n\t * Remove all files from component state\n\t */\n\t@Method()\n\tasync reset(): Promise<void> {\n\t\tthis.files = []\n\t\tthis.inputRef.value = '';\n\t}\n}\n"],"version":3}
1
+ {"version":3,"file":"gov-form-file.entry.js","sources":["../../../packages/core/src/components/gov-form/file/constants.ts","../../../packages/core/src/utils/file.utils.ts","../../../packages/core/src/components/gov-form/file/gov-form-file.tsx"],"sourcesContent":["export const FormFileClass = {\n\troot: 'gov-form-file',\n\tarea: 'gov-form-file__area',\n\tinput: 'gov-form-file__input',\n\tinputFocus: 'gov-form-file__input-focus',\n\tattachments: 'gov-form-file__attachments',\n}\n","export function formatBytes(bytes: any): string {\n\tconst units = ['bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']\n\tlet l = 0,\n\t\tn = parseInt(bytes, 10) || 0\n\n\twhile (n >= 1024 && ++l) {\n\t\tn = n / 1024\n\t}\n\n\treturn n.toFixed(n < 10 && l > 0 ? 1 : 0) + ' ' + units[l]\n}\n\nexport function fileAcceptValidation(file: File, accept: string): boolean {\n\tif (typeof accept === 'string' && accept.length) {\n\t\treturn (\n\t\t\taccept\n\t\t\t\t.replace(/\\s/g, '')\n\t\t\t\t.split(',')\n\t\t\t\t.filter(accept => {\n\t\t\t\t\treturn new RegExp(accept.replace('*', '.*')).test(file.type)\n\t\t\t\t}).length > 0\n\t\t)\n\t} else {\n\t\treturn true\n\t}\n}\n\nexport function fileSizeValidation(file: File, maxSize: number): boolean {\n\tconst fileSize = Math.round(file.size)\n\treturn fileSize <= maxSize\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormFileClass} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {fileAcceptValidation, fileSizeValidation, formatBytes} from \"../../../utils/file.utils\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovFormFileEvent, GovFormFileItem} from \"./gov-form-file.types\"\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-file\",\n})\nexport class GovFormFile {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\n\tprivate areaRef?: HTMLDivElement\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly fileId: string\n\tprivate attributeObserver: AttributeObserver\n\tprivate eventsRegistered = false\n\n\tconstructor() {\n\t\tthis.fileId = createID(\"GovInputFile\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormFileElement\n\t/**\n\t * Expands the file input to fill 100% of the container width.\n\t */\n\t@Prop() readonly expanded: boolean = 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 File component disabled.\n\t * This prevents users from being able to interact with the File, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * After selecting the files, the main input element will be reset.\n\t * The propagation of the event with the selected files will not be affected.\n\t */\n\t@Prop({attribute: \"reset-after-pick\"}) readonly resetAfterPick: boolean = false\n\t/**\n\t * Selected files will not be checked for duplicates based on name and size.\n\t */\n\t@Prop({attribute: \"ignore-file-duplication-check\"}) readonly ignoreFileDuplicationCheck: boolean = false\n\t/**\n\t * Show list of attachments\n\t */\n\t@Prop({attribute: \"display-attachments\"}) readonly displayAttachments: boolean = true\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept\n\t */\n\t@Prop() readonly accept: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple\n\t */\n\t@Prop() readonly multiple: boolean = false\n\t/**\n\t * Maximum embedded file size\n\t */\n\t@Prop({attribute: \"max-file-size\"}) readonly maxFileSize: number = -1\n\t/**\n\t * Custom File 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 * Error message when the maximum file size is exceeded\n\t */\n\t@Prop({attribute: \"error-size\"}) readonly errorSize: string = \"Soubor je větší než povolená velikost {FILE_SIZE}\"\n\t/**\n\t * Insert unsupported file error message\n\t */\n\t@Prop({attribute: \"error-accept\"}) readonly errorAccept: string = \"Soubor tohoto typu není povolen\"\n\t/**\n\t * Adds accessible label for the remove button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: \"accessible-remove-label\"}) readonly accessibleRemoveLabel: string = \"Odebrat soubor {FILE_NAME}\"\n\t/**\n\t * Adds accessible label for the list of attachments.\n\t */\n\t@Prop({attribute: \"accessible-attachments-label\"}) readonly accessibleAttachmentsLabel: string = \"Přílohy\"\n\t/**\n\t * Emitted when the File has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Emitted when the File loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when the list of inserted files is changed\n\t */\n\t@Event({eventName: \"gov-files\"}) govFiles: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when a new file is added\n\t */\n\t@Event({eventName: \"gov-add-file\"}) govAddFile: EventEmitter<GovFormFileEvent>\n\t/**\n\t * Called when a file is removed from the list\n\t */\n\t@Event({eventName: \"gov-remove-file\"}) govRemoveFile: EventEmitter<GovFormFileEvent>\n\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() files: GovFormFileItem[] = []\n\t@State() inheritedAttributes: Attributes = {}\n\n\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"File\")\n\t}\n\n\n\tprivate registerListeners() {\n\t\tif (this.eventsRegistered) {\n\t\t\treturn\n\t\t}\n\t\tthis.eventsRegistered = true\n\n\t\tfunction highlight() {\n\t\t\tthis.areaRef.classList.add(\"highlight\")\n\t\t}\n\n\t\tfunction unhighlight() {\n\t\t\tthis.areaRef.classList.remove(\"highlight\")\n\t\t}\n\n\t\tthis.inputRef.addEventListener(\n\t\t\t\"change\",\n\t\t\te => {\n\t\t\t\te.preventDefault()\n\t\t\t\te.stopPropagation()\n\t\t\t\tconst files = (e.target as HTMLInputElement).files\n\t\t\t\tif (this.resetAfterPick) {\n\t\t\t\t\tif (files.length) {\n\t\t\t\t\t\tthis.validateFiles(files)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.validateFiles(files)\n\t\t\t\t}\n\t\t\t},\n\t\t\tfalse,\n\t\t)\n\n\t\tif (this.expanded) {\n\t\t\tconst events = [\"dragover\", \"dragleave\"]\n\t\t\tconst inEvents = [\"dragenter\", \"dragover\", \"mouseenter\"]\n\t\t\tconst outEvents = [\"dragleave\", \"mouseleave\"]\n\n\t\t\tevents.map(eventName => this.inputRef.addEventListener(eventName, this.preventDefaults.bind(this), false))\n\t\t\tinEvents.map(eventName => this.inputRef.addEventListener(eventName, highlight.bind(this), false))\n\t\t\toutEvents.forEach(eventName => this.inputRef.addEventListener(eventName, unhighlight.bind(this), false))\n\t\t}\n\t}\n\n\tpreventDefaults(e) {\n\t\te.preventDefault()\n\t\te.stopPropagation()\n\t}\n\n\thandleDrop(e: DragEvent) {\n\t\tconst dataTransfer = e.dataTransfer\n\t\tthis.validateFiles(dataTransfer.files)\n\t}\n\n\tprivate validateFiles(files: FileList) {\n\t\tlet filesBuffer: GovFormFileItem[] = []\n\t\tArray.from(files).map(file => {\n\t\t\tconst isFile = this.files.find(item => item.file.name === file.name && item.file.size === file.size) || null\n\t\t\tif (isFile === null || this.ignoreFileDuplicationCheck) {\n\t\t\t\tconst isSizeValid = typeof this.maxFileSize === \"number\" && this.maxFileSize > 0 ? fileSizeValidation(file, this.maxFileSize) : true\n\t\t\t\tconst isAcceptValid = fileAcceptValidation(file, this.accept)\n\t\t\t\tconst newFile = {\n\t\t\t\t\tid: createID(\"GovFormFile\"),\n\t\t\t\t\tfile,\n\t\t\t\t\tacceptValid: isAcceptValid,\n\t\t\t\t\tsizeValid: isSizeValid,\n\t\t\t\t}\n\t\t\t\tif (this.displayAttachments) {\n\t\t\t\t\tthis.files = [...this.files, newFile]\n\t\t\t\t} else {\n\t\t\t\t\tfilesBuffer = [...filesBuffer, newFile]\n\t\t\t\t}\n\t\t\t\tthis.govAddFile.emit({\n\t\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\t\tfile: newFile,\n\t\t\t\t})\n\t\t\t}\n\t\t})\n\n\t\tthis.govFiles.emit({\n\t\t\tcomponent: FormFileClass.root,\n\t\t\tfiles: filesBuffer.length ? filesBuffer : this.files,\n\t\t})\n\n\t\tif (this.resetAfterPick) {\n\t\t\tthis.reset().finally()\n\t\t}\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() {\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.registerListeners()\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\treturn (\n\t\t\t<Host class={this.h.classes([FormFileClass.root])}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t expanded={toBoolAttrIfDefined(this.expanded)}>\n\t\t\t\t<div class={FormFileClass.area} ref={el => (this.areaRef = el as HTMLDivElement)}>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<input\n\t\t\t\t\t\tclass={FormFileClass.input}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tid={this.identifier || this.fileId}\n\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\taccept={this.accept}\n\t\t\t\t\t\tmultiple={this.multiple}\n\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t<div class={FormFileClass.inputFocus}/>\n\t\t\t\t</div>\n\n\t\t\t\t{this.h.hasSlot(\"attachments\") ? (\n\t\t\t\t\t<div class={FormFileClass.attachments}>\n\t\t\t\t\t\t<slot name={\"attachments\"}/>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t{this.files.length && this.displayAttachments ? (\n\t\t\t\t\t<div class={FormFileClass.attachments}>\n\t\t\t\t\t\t<gov-attachments label={this.accessibleAttachmentsLabel}\n\t\t\t\t\t\t\t\t\t\t accessible-label={this.accessibleAttachmentsLabel}>\n\t\t\t\t\t\t\t{this.files.map(item => (\n\t\t\t\t\t\t\t\t<gov-attachments-item accessible-remove-labelledby={item.id}\n\t\t\t\t\t\t\t\t\t\t\t\t\t on-gov-remove={() => this.onRemoveFileHandler(item)}>\n\t\t\t\t\t\t\t\t\t<span class={\"sr-only\"} id={item.id}>\n\t\t\t\t\t\t\t\t\t\t{this.accessibleRemoveLabel.replace(\"{FILE_NAME}\", item.file.name)}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t{item.file.name}\n\t\t\t\t\t\t\t\t\t{item.acceptValid === false ? (\n\t\t\t\t\t\t\t\t\t\t<gov-form-message slot=\"message\" color=\"error\">\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon\" name=\"exclamation-triangle-fill\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t\t\t{item.acceptValid === false ? this.errorAccept : null}\n\t\t\t\t\t\t\t\t\t\t</gov-form-message>\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t{item.sizeValid === false ? (\n\t\t\t\t\t\t\t\t\t\t<gov-form-message slot=\"message\" color=\"error\">\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon\" name=\"exclamation-triangle-fill\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t\t\t\t{this.errorSize.replace(\"{FILE_SIZE}\", formatBytes(this.maxFileSize))}\n\t\t\t\t\t\t\t\t\t\t</gov-form-message>\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t<span slot=\"info\">({formatBytes(item.file.size)})</span>\n\t\t\t\t\t\t\t\t</gov-attachments-item>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</gov-attachments>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onRemoveFileHandler(file: GovFormFileItem) {\n\t\tconst index = this.files.findIndex(item => item.id === file.id)\n\t\tif (index !== -1) {\n\t\t\tconst files = this.files\n\t\t\tconst removeFile = this.files[index]\n\t\t\tfiles.splice(index, 1)\n\t\t\tthis.files = [...files]\n\t\t\tthis.govRemoveFile.emit({\n\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\tfile: removeFile,\n\t\t\t})\n\t\t\tthis.govFiles.emit({\n\t\t\t\tcomponent: FormFileClass.root,\n\t\t\t\tfiles,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormFileClass.root,\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: FormFileClass.root,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\te.stopPropagation()\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\t/**\n\t * Returns the reference of the native area element\n\t */\n\t@Method()\n\tasync getAreaRef(): Promise<HTMLDivElement> {\n\t\treturn this.areaRef\n\t}\n\n\t/**\n\t * Remove all files from component state\n\t */\n\t@Method()\n\tasync reset(): Promise<void> {\n\t\tthis.files = []\n\t\tthis.inputRef.value = '';\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAO,MAAM,aAAa,GAAG;AAC5B,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,KAAK,EAAE,sBAAsB;AAC7B,IAAA,UAAU,EAAE,4BAA4B;AACxC,IAAA,WAAW,EAAE,4BAA4B;CACzC;;ACNK,SAAU,WAAW,CAAC,KAAU,EAAA;IACrC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;AAC/E,IAAA,IAAI,CAAC,GAAG,CAAC,EACR,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC;AAE7B,IAAA,OAAO,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC,EAAE;AACxB,QAAA,CAAC,GAAG,CAAC,GAAG,IAAI;;IAGb,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG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,CAAC;AACtB,YAAA,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC;AACvB,YAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;gBACvB,SAAS,EAAE,aAAa,CAAC,IAAI;AAC7B,gBAAA,IAAI,EAAE,UAAU;AAChB,aAAA,CAAC;AACF,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,aAAa,CAAC,IAAI;gBAC7B,KAAK;AACL,aAAA,CAAC;;;AAII,IAAA,cAAc,CAAC,CAAa,EAAA;QACnC,CAAC,CAAC,eAAe,EAAE;AACnB,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAClB,SAAS,EAAE,aAAa,CAAC,IAAI;AAC7B,YAAA,aAAa,EAAE,CAAC;AAChB,SAAA,CAAC;;AAGK,IAAA,aAAa,CAAC,CAAa,EAAA;QAClC,CAAC,CAAC,eAAe,EAAE;AACnB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,aAAa,CAAC,IAAI;AAC7B,YAAA,aAAa,EAAE,CAAC;AAChB,SAAA,CAAC;;AAGK,IAAA,eAAe,CAAC,CAAQ,EAAA;QAC/B,CAAC,CAAC,eAAe,EAAE;;AAGpB;;AAEG;AAEH,IAAA,MAAM,MAAM,GAAA;QACX,OAAO,IAAI,CAAC,QAAQ;;AAGrB;;AAEG;AAEH,IAAA,MAAM,UAAU,GAAA;QACf,OAAO,IAAI,CAAC,OAAO;;AAGpB;;AAEG;AAEH,IAAA,MAAM,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,KAAK,GAAG,EAAE;AACf,QAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,GAAG,EAAE;;;;;;;;;;;"}
@@ -1,15 +1,21 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
- import { a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-1548499a.js';
3
- import { g as govHost } from './template-7ecee4d1.js';
4
- import { v as validateProp } from './props-9d3c7ac1.js';
5
- import './utils-e10e994d.js';
6
- import './sizes-5b9e579f.js';
7
- import './gov.log-6b64cda6.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-DT2tslUp.js';
2
+ import { F as FormGroupClass, a as FormGroupSizes, b as FormGroupOrientation } from './constants-Du0ZtfYe.js';
3
+ import { g as govHost } from './template-BBOh2pxy.js';
4
+ import { v as validateProp } from './props-CJZgTDla.js';
5
+ import './utils-CQvUntGY.js';
6
+ import './sizes-BcQO4NH2.js';
7
+ import './gov.log-BtqD9K8d.js';
8
8
 
9
9
  const GovFormGroup = class {
10
10
  constructor(hostRef) {
11
11
  registerInstance(this, hostRef);
12
+ /**
13
+ * Gap's size.
14
+ */
12
15
  this.gap = undefined;
16
+ /**
17
+ * Elements orientation
18
+ */
13
19
  this.orientation = 'vertical';
14
20
  this.h = govHost(this.host);
15
21
  }
@@ -28,7 +34,7 @@ const GovFormGroup = class {
28
34
  this.validateOrientation(this.orientation);
29
35
  }
30
36
  render() {
31
- return (h(Host, { key: 'a16a99205899fe2a9e49702708c8f879c363b111', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: '871900cb0682f57fa0856d90b38a683a005240dd' })));
37
+ return (h(Host, { key: '23bc665133af4d63acae967405c379aef79f9125', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: '11d303816dae7149170180b450542c2cd1a322c6' })));
32
38
  }
33
39
  get host() { return getElement(this); }
34
40
  static get watchers() { return {
@@ -38,5 +44,6 @@ const GovFormGroup = class {
38
44
  };
39
45
 
40
46
  export { GovFormGroup as gov_form_group };
47
+ //# sourceMappingURL=gov-form-group.entry.js.map
41
48
 
42
49
  //# sourceMappingURL=gov-form-group.entry.js.map
@@ -1 +1 @@
1
- {"file":"gov-form-group.entry.js","mappings":";;;;;;;;MAea,YAAY;IAGvB;;mBAQ4C,SAAS;2BAIK,UAAU;QAXlE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC5B;IAaD,WAAW,CAAC,QAAgB;QAC1B,IAAI,QAAQ,EAAE;YACZ,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAC5D;KACF;IAGD,mBAAmB,CAAC,QAAgB;QAClC,IAAI,QAAQ,EAAE;YACZ,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;SAClE;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;KAC3C;IAID,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAC7D,8DAAa,CACR,EACR;KACF;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.tsx"],"sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n FormGroupClass,\n FormGroupOrientation,\n FormGroupOrientationType,\n FormGroupSizes,\n FormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\n\n@Component({\n tag: \"gov-form-group\",\n})\nexport class GovFormGroup {\n private readonly h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovFormGroupElement\n /**\n * Gap's size.\n */\n @Prop() readonly gap?: FormGroupSizesType = undefined\n /**\n * Elements orientation\n */\n @Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\n @Watch(\"gap\")\n validateGap(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupSizes, newValue, FormGroupClass.root)\n }\n }\n\n @Watch(\"orientation\")\n validateOrientation(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n }\n }\n\n componentWillLoad(): void {\n this.validateGap(this.gap)\n this.validateOrientation(this.orientation)\n }\n\n\n\n render() {\n return (\n <Host gap={this.gap} class={this.h.classes(FormGroupClass.root)}>\n <slot></slot>\n </Host>\n )\n }\n}\n"],"version":3}
1
+ {"version":3,"file":"gov-form-group.entry.js","sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.tsx"],"sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n FormGroupClass,\n FormGroupOrientation,\n FormGroupOrientationType,\n FormGroupSizes,\n FormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\n\n@Component({\n tag: \"gov-form-group\",\n})\nexport class GovFormGroup {\n private readonly h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovFormGroupElement\n /**\n * Gap's size.\n */\n @Prop() readonly gap?: FormGroupSizesType = undefined\n /**\n * Elements orientation\n */\n @Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\n @Watch(\"gap\")\n validateGap(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupSizes, newValue, FormGroupClass.root)\n }\n }\n\n @Watch(\"orientation\")\n validateOrientation(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n }\n }\n\n componentWillLoad(): void {\n this.validateGap(this.gap)\n this.validateOrientation(this.orientation)\n }\n\n\n\n render() {\n return (\n <Host gap={this.gap} class={this.h.classes(FormGroupClass.root)}>\n <slot></slot>\n </Host>\n )\n }\n}\n"],"names":[],"mappings":";;;;;;;;MAea,YAAY,GAAA,MAAA;AAGvB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAKA;;AAEG;AACc,QAAA,IAAG,CAAA,GAAA,GAAwB,SAAS;AACrD;;AAEG;AACc,QAAA,IAAW,CAAA,WAAA,GAA8B,UAAU;QAXlE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AAC5B;AAaD,IAAA,WAAW,CAAC,QAAgB,EAAA;QAC1B,IAAI,QAAQ,EAAE;YACZ,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC;;;AAK/D,IAAA,mBAAmB,CAAC,QAAgB,EAAA;QAClC,IAAI,QAAQ,EAAE;YACZ,YAAY,CAAC,oBAAoB,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC;;;IAIrE,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;AAC1B,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC;;IAK5C,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAA,EAC7D,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gov-form-input.gov-skeleton.entry.js","sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx","../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\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({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\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(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\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\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{(this.h.hasSlot(\"icon-start\") && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t<slot name=\"icon-start\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{((this.success || this.invalid || this.h.hasSlot(\"icon-end\") || this.inputType === 'password') && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"check-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"exclamation-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && this.inputType !== 'password' && <slot name=\"icon-end\"/>}\n\t\t\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"eye\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n","import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\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-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop({reflect: true}) readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) width?: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) height?: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\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\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={{width: this.width, height: this.height}}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAcA,IAAK,IAGJ;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,GAAC;;IAGpF,IAAI,GAAA;AACH,QAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;;IAGnB,MAAM,GAAA;QACL,QACC,CAAC,CAAA,IAAI,EAAC,MAAA,CAAA,MAAA,CAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,IAAI,EAClB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE;AACN,gBAAA,CAAC,aAAa,CAAC,IAAI,GAAG,IAAI;AAC1B,gBAAA,MAAM,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;AAC/B,gBAAA,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,MAAM;AAC3B,gBAAA,QAAQ,EAAE,IAAI,CAAC,SAAS,KAAK,UAAU;AACvC,gBAAA,KAAK,EAAE,IAAI,CAAC,SAAS,KAAK,OAAO;aACjC,EAAA,EACG,IAAI,CAAC,mBAAmB,EAAA,EAAA,WAAA,EAClB,MAAM,EACF,eAAA,EAAA,GAAG,EACH,eAAA,EAAA,KAAK,EACnB,IAAI,EAAC,aAAa,EAClB,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,EAAA,CAAA,CAC3C;;;;;;;;;;;;"}
@@ -1,17 +1,17 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
- import { g as govForm, l as FormInputClass, m as FormInputSizes } from './form-713f26fd.js';
3
- import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined, d as toOnOffAttrIfDefined } from './template-7ecee4d1.js';
4
- import { v as validateProp } from './props-9d3c7ac1.js';
5
- import { c as createID } from './string.utils-1da8f8fb.js';
6
- import { A as AttributeObserver, a as ariaAttributes } from './attribute-5561aca4.js';
7
- import { i as inheritAriaAttributes } from './accessibility-f83c991a.js';
8
- import { p as pick } from './utils-e10e994d.js';
9
- import { S as Sizes } from './sizes-5b9e579f.js';
10
- import { C as Colors } from './colors-4cf64720.js';
11
- import './constants-bc210662.js';
12
- import './constants-085f9943.js';
13
- import './constants-43f10674.js';
14
- import './gov.log-6b64cda6.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-DT2tslUp.js';
2
+ import { g as govForm, l as FormInputClass, m as FormInputSizes } from './form-DvhJiKwA.js';
3
+ import { g as govHost, a as toBoolAttr, d as toOnOffAttrIfDefined, t as toBoolAttrIfDefined } from './template-BBOh2pxy.js';
4
+ import { v as validateProp } from './props-CJZgTDla.js';
5
+ import { c as createID } from './string.utils-vN03FcXN.js';
6
+ import { A as AttributeObserver, a as ariaAttributes } from './attribute-Bz_RzYFb.js';
7
+ import { i as inheritAriaAttributes } from './accessibility-wqNV8djF.js';
8
+ import { p as pick } from './utils-CQvUntGY.js';
9
+ import { S as Sizes } from './sizes-BcQO4NH2.js';
10
+ import { C as Colors } from './colors-U40vKHrs.js';
11
+ import './constants-BegH8u6i.js';
12
+ import './constants-aqe7GX2n.js';
13
+ import './constants-CysDgoMA.js';
14
+ import './gov.log-BtqD9K8d.js';
15
15
 
16
16
  var Tags;
17
17
  (function (Tags) {
@@ -21,39 +21,38 @@ var Tags;
21
21
  const GovFormInput = class {
22
22
  constructor(hostRef) {
23
23
  registerInstance(this, hostRef);
24
- this.govFocus = createEvent(this, "gov-focus", 7);
25
- this.govBlur = createEvent(this, "gov-blur", 7);
26
- this.govInput = createEvent(this, "gov-input", 7);
27
- this.govKeyUp = createEvent(this, "gov-keyup", 7);
28
- this.govHydrated = createEvent(this, "gov-hydrated", 7);
29
- this.govKeyDown = createEvent(this, "gov-keydown", 7);
30
- this.value = undefined;
31
- this.identifier = undefined;
32
- this.success = undefined;
24
+ this.govFocus = createEvent(this, "gov-focus");
25
+ this.govBlur = createEvent(this, "gov-blur");
26
+ this.govInput = createEvent(this, "gov-input");
27
+ this.govKeyUp = createEvent(this, "gov-keyup");
28
+ this.govHydrated = createEvent(this, "gov-hydrated");
29
+ this.govKeyDown = createEvent(this, "gov-keydown");
30
+ /**
31
+ * Input’s size.
32
+ */
33
33
  this.size = "m";
34
- this.name = undefined;
35
- this.multiline = undefined;
36
- this.rows = undefined;
37
- this.cols = undefined;
34
+ /**
35
+ * 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.
36
+ * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
37
+ */
38
38
  this.required = false;
39
+ /**
40
+ * Makes the input component disabled.
41
+ */
39
42
  this.disabled = false;
40
- this.placeholder = undefined;
41
- this.readonly = undefined;
42
- this.minlength = undefined;
43
- this.maxlength = undefined;
44
- this.min = undefined;
45
- this.max = undefined;
46
- this.autocomplete = undefined;
47
- this.autocorrect = undefined;
48
- this.spellcheck = undefined;
49
- this.inputLang = undefined;
50
- this.type = undefined;
43
+ /**
44
+ * Same as original parameter
45
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
46
+ */
51
47
  this.inputType = "text";
52
- this.role = undefined;
53
- this.invalid = undefined;
48
+ /**
49
+ * Accessible text for password display
50
+ */
54
51
  this.accessibleShowPasswordLabel = 'Zobrazit heslo';
52
+ /**
53
+ * Accessible text to hide the password
54
+ */
55
55
  this.accessibleHidePasswordLabel = 'Skrýt heslo';
56
- this.focused = undefined;
57
56
  this.showPassword = false;
58
57
  this.inheritedAttributes = {};
59
58
  this.h = govHost(this.host);
@@ -98,11 +97,11 @@ const GovFormInput = class {
98
97
  }
99
98
  render() {
100
99
  const Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT;
101
- return (h(Host, { key: 'f2b0e3a105b6a3904d59821bc68e13bfa01acea9', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '13ff8da008e08322cd0eb241600751f8e896416b', name: "prefix" }), h("span", { key: '22c1467190afaf1a2c8e98d0cd4500f123494885', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
102
- h("div", { key: '1ab85a6556b44fd92959c0311b57028a8e3b8d74', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: 'dcc9f5a1da1245bd4eccc0a919b08b73a556efe7', name: "icon-start" })), h(Tag, Object.assign({ key: 'f05f59a1ad7d28acfd005942fdd22e7ba04e2d73', 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: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(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": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
103
- h("div", { key: 'ab940283ca797a54590c73881aabe6e4032d4a77', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
104
- h("gov-icon", { key: 'af0b7c6e3c815eb74318052f490db2241f246707', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
105
- h("gov-icon", { key: '4feef0479c061b9b073dea6c04e2bc428464a9de', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: 'fa3f4ac957a08d066706c273b008edef401f0a2b', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: 'ce4b50ff45632098c4457339538bac4a5a685df8', name: "sufix" })));
100
+ return (h(Host, { key: 'bdbab2105ea328155d7a023e2070c4ca22a5afba', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '71be98f4ba1933c8a5affd3f41b496633528bcc8', name: "prefix" }), h("span", { key: '820a6cc14d90fb52b3fa809858c9b7223d7dec21', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
101
+ h("div", { key: '6c001fb96074d4f5b7779a14cbceee9169b4a70a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: '15da634518db7ac788de51911296d1a0ca87c993', name: "icon-start" })), h(Tag, Object.assign({ key: 'f43777146426ddbe5d37408a734ca61aa51e0e69', 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: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(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": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
102
+ h("div", { key: '716e004caf2077ce8d5ee5101bcb541fbdb45d38', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
103
+ h("gov-icon", { key: '96c5fcdad8332c08d3eaf9a5a6af573962a96744', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
104
+ h("gov-icon", { key: '4883e137f51052a2659f46a09270c656bc3347f7', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: 'a74b2df0932087834fc33de45aa341444c61042a', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: '9d15adccc023a5501114982c4417df6db9a4d8c1', name: "sufix" })));
106
105
  }
107
106
  onFocusHandler(e) {
108
107
  e.stopPropagation();
@@ -201,13 +200,31 @@ const SkeletonClass = {
201
200
  const GovSkeleton = class {
202
201
  constructor(hostRef) {
203
202
  registerInstance(this, hostRef);
204
- this.items = [];
203
+ /**
204
+ * Input’s size.
205
+ */
205
206
  this.size = "m";
207
+ /**
208
+ * Style variation of the skeleton.
209
+ */
206
210
  this.color = "neutral";
211
+ /**
212
+ * Shape of the skeleton
213
+ */
207
214
  this.shape = "line";
215
+ /**
216
+ * Width of the skeleton ex. 100px, 100%, auto etc.
217
+ */
208
218
  this.width = null;
219
+ /**
220
+ * Height of the skeleton ex. 100px, 100%, auto etc.
221
+ */
209
222
  this.height = null;
223
+ /**
224
+ * Animation type
225
+ */
210
226
  this.animation = "progress";
227
+ this.items = [];
211
228
  this.inheritedAttributes = {};
212
229
  this.h = govHost(this.host);
213
230
  }
@@ -248,7 +265,7 @@ const GovSkeleton = class {
248
265
  this.items.fill(1);
249
266
  }
250
267
  render() {
251
- return (h(Host, Object.assign({ key: '3bad110a20779275c899c8a8d5d1086ec4cf59fd', size: this.size, color: this.color, class: {
268
+ return (h(Host, Object.assign({ key: '25734d3a4d1d1db5de3ce47019cfdc1e41bf8aa5', size: this.size, color: this.color, class: {
252
269
  [SkeletonClass.root]: true,
253
270
  circle: this.shape === "circle",
254
271
  line: this.shape === "line",
@@ -265,5 +282,6 @@ const GovSkeleton = class {
265
282
  };
266
283
 
267
284
  export { GovFormInput as gov_form_input, GovSkeleton as gov_skeleton };
285
+ //# sourceMappingURL=gov-form-input.gov-skeleton.entry.js.map
268
286
 
269
287
  //# sourceMappingURL=gov-form-input_2.entry.js.map
@@ -1 +1 @@
1
- {"file":"gov-form-input.gov-skeleton.entry.js","mappings":";;;;;;;;;;;;;;;AAcA,IAAK,IAGJ;AAHD,WAAK,IAAI;IACR,uBAAe,CAAA;IACf,6BAAqB,CAAA;AACtB,CAAC,EAHI,IAAI,KAAJ,IAAI,QAGR;MAKY,YAAY;IAOxB;;;;;;;;;;;oBAsB6C,GAAG;;;;;wBAqBG,KAAK;wBAIL,KAAK;;;;;;;;;;;;yBAiDS,MAAM;;;2CAaqB,gBAAgB;2CAIhB,aAAa;;4BA0BxE,KAAK;mCAeK,EAAE;QAzJ5C,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAA;QACnC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;KACxB;IA0ID,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;KAC3D;IAMD,iBAAiB;QAChB,IAAI,CAAC,gBAAgB,EAAE,CAAA;KACvB;IAIO,gBAAgB;QACvB,IAAI,CAAC,CA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I,CAAC,KAAK,KAAK,QAAQ;gBAC/B,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,MAAM;gBAC3B,QAAQ,EAAE,IAAI,CAAC,SAAS,KAAK,UAAU;gBACvC,KAAK,EAAE,IAAI,CAAC,SAAS,KAAK,OAAO;aACjC,IACG,IAAI,CAAC,mBAAmB,iBAClB,MAAM,mBACF,GAAG,mBACH,KAAK,EACnB,IAAI,EAAC,aAAa,EAClB,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,IAC3C,EACP;KACD;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx","../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\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({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\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(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\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\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{(this.h.hasSlot(\"icon-start\") && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t<slot name=\"icon-start\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{((this.success || this.invalid || this.h.hasSlot(\"icon-end\") || this.inputType === 'password') && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"check-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"exclamation-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && this.inputType !== 'password' && <slot name=\"icon-end\"/>}\n\t\t\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"eye\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n","import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\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-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop({reflect: true}) readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) width?: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) height?: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\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\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={{width: this.width, height: this.height}}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-form-input.gov-skeleton.entry.js","mappings":";;;;;;;;;;;;;;;AAcA,IAAK,IAGJ;AAHD,CAAA,UAAK,IAAI,EAAA;AACR,IAAA,IAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,IAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACtB,CAAC,EAHI,IAAI,KAAJ,IAAI,GAGR,EAAA,CAAA,CAAA;MAKY,YAAY,GAAA,MAAA;AAOxB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAmBA;;AAEG;AACc,QAAA,IAAI,CAAA,IAAA,GAAwB,GAAG;AAiBhD;;;AAGG;AAC4B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AACxD;;AAEG;AAC4B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AA6CxD;;;AAGG;AACuC,QAAA,IAAS,CAAA,SAAA,GAAc,MAAM;AAUvE;;AAEG;AAC2D,QAAA,I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,EAAE,IAAI,CAAC,SAAS,KAAK,OAAO;aACjC,EAAA,EACG,IAAI,CAAC,mBAAmB,EAAA,EAAA,WAAA,EAClB,MAAM,EACF,eAAA,EAAA,GAAG,EACH,eAAA,EAAA,KAAK,EACnB,IAAI,EAAC,aAAa,EAClB,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,EAAA,CAAA,CAC3C;;;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx","../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\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({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\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(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\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\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{(this.h.hasSlot(\"icon-start\") && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t<slot name=\"icon-start\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{((this.success || this.invalid || this.h.hasSlot(\"icon-end\") || this.inputType === 'password') && !this.multiline) &&\n\t\t\t\t\t\t<div class={FormInputClass.icons} onClick={() => this.inputRef.focus()}>\n\t\t\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"check-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t\t\t<gov-icon class=\"validation-icon\" name=\"exclamation-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon-end\") && this.inputType !== 'password' && <slot name=\"icon-end\"/>}\n\t\t\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"eye\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n","import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\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-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop({reflect: true}) readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) width?: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop({reflect: true}) height?: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\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\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={{width: this.width, height: this.height}}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,23 +1,33 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host } from './index-bf8a6f64.js';
2
- import { F as FormLabelClass } from './constants-43f10674.js';
3
- import './utils-e10e994d.js';
4
- import './sizes-5b9e579f.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DT2tslUp.js';
2
+ import { F as FormLabelClass } from './constants-CysDgoMA.js';
3
+ import './utils-CQvUntGY.js';
4
+ import './sizes-BcQO4NH2.js';
5
5
 
6
6
  const GovFormLabel = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
- this.govClick = createEvent(this, "gov-click", 7);
10
- this.identifier = undefined;
9
+ this.govClick = createEvent(this, "gov-click");
10
+ /**
11
+ * Label's size.
12
+ */
11
13
  this.size = 'm';
14
+ /**
15
+ * Set whether the input is required or not.
16
+ */
12
17
  this.required = false;
18
+ /**
19
+ * Use label as a legend for better accessibility.
20
+ * Note: Don't forget to set the fieldset attribute of the gov-form-control component
21
+ */
13
22
  this.legend = false;
14
23
  }
15
24
  render() {
16
25
  const Tag = this.legend ? 'legend' : 'label';
17
- return (h(Host, { key: '5227d00ebe3e8923687d4e8d0f3a74bad0da82b3', class: FormLabelClass.root, size: this.size }, h(Tag, { key: '981d363fdf7435a0b242b9610a7dd68e11d4f05e', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: 'bdf282178e200fa69d9f871354786ecbd024fa90' }), this.required ? h("span", { class: "gov-color--text-status-error" }, "\u00A0*") : null)));
26
+ return (h(Host, { key: 'e06447dd79c3204d5641bc58ba823d0744373dd5', class: FormLabelClass.root, size: this.size }, h(Tag, { key: '69dfe126eb3f26aae0360e8c5f831e61345d3dc2', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: '3005e820b094c191fc0422a8586264053a4c403f' }), this.required ? h("span", { class: "gov-color--text-status-error" }, "\u00A0*") : null)));
18
27
  }
19
28
  };
20
29
 
21
30
  export { GovFormLabel as gov_form_label };
31
+ //# sourceMappingURL=gov-form-label.entry.js.map
22
32
 
23
33
  //# sourceMappingURL=gov-form-label.entry.js.map