@gov-design-system-ce/components 4.0.8-rc09 → 4.0.8-rc11

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 (1566) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/array.utils-fcdab10c.js +46 -0
  4. package/dist/cjs/array.utils-fcdab10c.js.map +1 -0
  5. package/dist/cjs/{constants-9dc978dd.js → constants-02aec493.js} +8 -8
  6. package/dist/cjs/{constants-9dc978dd.js.map → constants-02aec493.js.map} +1 -1
  7. package/dist/cjs/{constants-20b3f7ee.js → constants-11f3de8f.js} +10 -10
  8. package/dist/cjs/{constants-20b3f7ee.js.map → constants-11f3de8f.js.map} +1 -1
  9. package/dist/cjs/constants-1b3eeb21.js +20 -0
  10. package/dist/cjs/{constants-66cb0615.js.map → constants-1b3eeb21.js.map} +1 -1
  11. package/dist/cjs/constants-29b9825f.js +33 -0
  12. package/dist/cjs/{constants-427a2843.js.map → constants-29b9825f.js.map} +1 -1
  13. package/dist/cjs/constants-2f0a11e5.js +30 -0
  14. package/dist/cjs/{constants-dde21dcf.js.map → constants-2f0a11e5.js.map} +1 -1
  15. package/dist/cjs/{constants-a31344ad.js → constants-4fefc173.js} +16 -16
  16. package/dist/cjs/{constants-a31344ad.js.map → constants-4fefc173.js.map} +1 -1
  17. package/dist/cjs/{constants-ded92f8a.js → constants-52053f2d.js} +3 -3
  18. package/dist/cjs/{constants-ded92f8a.js.map → constants-52053f2d.js.map} +1 -1
  19. package/dist/cjs/{constants-61f8be34.js → constants-7a5540d0.js} +10 -10
  20. package/dist/cjs/{constants-61f8be34.js.map → constants-7a5540d0.js.map} +1 -1
  21. package/dist/cjs/constants-87bab1ed.js +14 -0
  22. package/dist/cjs/{constants-97eea364.js.map → constants-87bab1ed.js.map} +1 -1
  23. package/dist/cjs/constants-8f194b53.js +30 -0
  24. package/dist/cjs/{constants-0c6c8e11.js.map → constants-8f194b53.js.map} +1 -1
  25. package/dist/cjs/{constants-1490a5eb.js → constants-a33f6e99.js} +9 -9
  26. package/dist/cjs/{constants-1490a5eb.js.map → constants-a33f6e99.js.map} +1 -1
  27. package/dist/cjs/constants-b7813ab1.js +16 -0
  28. package/dist/cjs/{constants-caad94b4.js.map → constants-b7813ab1.js.map} +1 -1
  29. package/dist/cjs/constants-b8a9f758.js +22 -0
  30. package/dist/cjs/{constants-25f7a6be.js.map → constants-b8a9f758.js.map} +1 -1
  31. package/dist/cjs/constants-d5fe1cee.js +29 -0
  32. package/dist/cjs/{constants-440cd5c8.js.map → constants-d5fe1cee.js.map} +1 -1
  33. package/dist/cjs/constants-fb915aae.js +21 -0
  34. package/dist/cjs/{constants-6df82618.js.map → constants-fb915aae.js.map} +1 -1
  35. package/dist/cjs/constants-fdc5268a.js +15 -0
  36. package/dist/cjs/{constants-2b1c31b8.js.map → constants-fdc5268a.js.map} +1 -1
  37. package/dist/cjs/core.cjs.js +32 -32
  38. package/dist/cjs/core.cjs.js.map +1 -1
  39. package/dist/cjs/form-f93c3a0a.js +163 -0
  40. package/dist/cjs/form-f93c3a0a.js.map +1 -0
  41. package/dist/cjs/gov-accordion-item.cjs.entry.js +89 -88
  42. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gov-accordion.cjs.entry.js +63 -62
  44. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gov-attachments_3.cjs.entry.js +91 -88
  46. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  47. package/dist/cjs/gov-backdrop.cjs.entry.js +34 -33
  48. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  49. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +57 -56
  50. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  51. package/dist/cjs/gov-button.cjs.entry.js +166 -165
  52. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  53. package/dist/cjs/gov-card.cjs.entry.js +91 -90
  54. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  55. package/dist/cjs/gov-chip.cjs.entry.js +90 -89
  56. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
  57. package/dist/cjs/gov-container.cjs.entry.js +21 -20
  58. package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
  59. package/dist/cjs/gov-control-group.cjs.entry.js +27 -26
  60. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/gov-cookiebar.cjs.entry.js +18 -17
  62. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
  63. package/dist/cjs/gov-dropdown.cjs.entry.js +62 -59
  64. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  65. package/dist/cjs/gov-empty.cjs.entry.js +16 -15
  66. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
  67. package/dist/cjs/gov-error-code.cjs.entry.js +16 -15
  68. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
  69. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +237 -236
  70. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  71. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +70 -69
  72. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  73. package/dist/cjs/gov-form-checkbox.cjs.entry.js +121 -120
  74. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  75. package/dist/cjs/gov-form-control.cjs.entry.js +91 -90
  76. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
  77. package/dist/cjs/gov-form-file.cjs.entry.js +226 -225
  78. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  79. package/dist/cjs/gov-form-group.cjs.entry.js +36 -35
  80. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/gov-form-input.cjs.entry.js +180 -178
  82. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  83. package/dist/cjs/gov-form-label.cjs.entry.js +18 -17
  84. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  85. package/dist/cjs/gov-form-multi-select.cjs.entry.js +261 -264
  86. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  87. package/dist/cjs/gov-form-password-power.cjs.entry.js +13 -12
  88. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
  89. package/dist/cjs/gov-form-radio-group.cjs.entry.js +59 -58
  90. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  91. package/dist/cjs/gov-form-radio.cjs.entry.js +121 -120
  92. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  93. package/dist/cjs/gov-form-search.cjs.entry.js +16 -15
  94. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  95. package/dist/cjs/gov-form-select.cjs.entry.js +151 -150
  96. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  97. package/dist/cjs/gov-form-switch.cjs.entry.js +121 -120
  98. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  99. package/dist/cjs/gov-grid-item.cjs.entry.js +18 -17
  100. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
  101. package/dist/cjs/gov-grid.cjs.entry.js +16 -15
  102. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
  103. package/dist/cjs/gov-icon.cjs.entry.js +96 -95
  104. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  105. package/dist/cjs/gov-infobar.cjs.entry.js +71 -70
  106. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
  107. package/dist/cjs/gov-layout-column.cjs.entry.js +13 -12
  108. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
  109. package/dist/cjs/gov-layout.cjs.entry.js +22 -21
  110. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
  111. package/dist/cjs/gov-loading.cjs.entry.js +15 -14
  112. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
  113. package/dist/cjs/gov-message.cjs.entry.js +28 -27
  114. package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
  115. package/dist/cjs/gov-modal.cjs.entry.js +93 -90
  116. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
  117. package/dist/cjs/gov-nav-item.cjs.entry.js +26 -25
  118. package/dist/cjs/gov-nav-item.cjs.entry.js.map +1 -1
  119. package/dist/cjs/gov-nav.cjs.entry.js +29 -28
  120. package/dist/cjs/gov-nav.cjs.entry.js.map +1 -1
  121. package/dist/cjs/gov-pagination.cjs.entry.js +193 -192
  122. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  123. package/dist/cjs/gov-prompt.cjs.entry.js +89 -88
  124. package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
  125. package/dist/cjs/gov-side-nav-item.cjs.entry.js +74 -73
  126. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -1
  127. package/dist/cjs/gov-side-nav.cjs.entry.js +43 -42
  128. package/dist/cjs/gov-side-nav.cjs.entry.js.map +1 -1
  129. package/dist/cjs/gov-skeleton.cjs.entry.js +92 -91
  130. package/dist/cjs/gov-skeleton.cjs.entry.js.map +1 -1
  131. package/dist/cjs/gov-spacer.cjs.entry.js +39 -38
  132. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  133. package/dist/cjs/gov-statsbar-item.cjs.entry.js +28 -27
  134. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +1 -1
  135. package/dist/cjs/gov-statsbar.cjs.entry.js +41 -40
  136. package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
  137. package/dist/cjs/gov-stepper-item.cjs.entry.js +64 -63
  138. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  139. package/dist/cjs/gov-stepper.cjs.entry.js +39 -38
  140. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
  141. package/dist/cjs/gov-tabs-item.cjs.entry.js +48 -40
  142. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
  143. package/dist/cjs/gov-tabs.cjs.entry.js +196 -183
  144. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  145. package/dist/cjs/gov-tag.cjs.entry.js +43 -42
  146. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  147. package/dist/cjs/gov-tile.cjs.entry.js +27 -26
  148. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  149. package/dist/cjs/gov-tiles.cjs.entry.js +18 -17
  150. package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
  151. package/dist/cjs/gov-toast.cjs.entry.js +81 -80
  152. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  153. package/dist/cjs/gov-tooltip-content.cjs.entry.js +39 -38
  154. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  155. package/dist/cjs/gov-tooltip.cjs.entry.js +216 -207
  156. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  157. package/dist/cjs/gov-wizard-item.cjs.entry.js +97 -96
  158. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  159. package/dist/cjs/gov-wizard.cjs.entry.js +56 -55
  160. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
  161. package/dist/cjs/gov.log-8887c6bc.js +28 -0
  162. package/dist/cjs/{gov.log-b842920d.js.map → gov.log-8887c6bc.js.map} +1 -1
  163. package/dist/cjs/helpers-2ee3c9e6.js +19 -0
  164. package/dist/cjs/helpers-2ee3c9e6.js.map +1 -0
  165. package/dist/cjs/index-d7a6145d.js +2041 -0
  166. package/dist/cjs/index-d7a6145d.js.map +1 -0
  167. package/dist/cjs/loader.cjs.js +5 -3
  168. package/dist/cjs/loader.cjs.js.map +1 -1
  169. package/dist/cjs/props-edd0d46f.js +16 -0
  170. package/dist/cjs/{props-d6146e54.js.map → props-edd0d46f.js.map} +1 -1
  171. package/dist/cjs/sizes-89f8d3b2.js +18 -0
  172. package/dist/cjs/{sizes-79872c2a.js.map → sizes-89f8d3b2.js.map} +1 -1
  173. package/dist/cjs/stencil.utils-07182a8a.js +11 -0
  174. package/dist/cjs/{stencil.utils-22814956.js.map → stencil.utils-07182a8a.js.map} +1 -1
  175. package/dist/cjs/string.utils-2335838f.js +24 -0
  176. package/dist/cjs/{string.utils-0f08c48c.js.map → string.utils-2335838f.js.map} +1 -1
  177. package/dist/cjs/template-431f0737.js +132 -0
  178. package/dist/cjs/template-431f0737.js.map +1 -0
  179. package/dist/cjs/{utils-c9b1bba3.js → utils-d263c5c6.js} +9 -9
  180. package/dist/cjs/{utils-c9b1bba3.js.map → utils-d263c5c6.js.map} +1 -1
  181. package/dist/cjs/variants-85b514ea.js +18 -0
  182. package/dist/cjs/{variants-f5ffeef3.js.map → variants-85b514ea.js.map} +1 -1
  183. package/dist/cjs/wcag-53ebeed1.js +67 -0
  184. package/dist/cjs/{wcag-e6257f27.js.map → wcag-53ebeed1.js.map} +1 -1
  185. package/dist/cjs/{win-5521073d.js → win-03714165.js} +16 -16
  186. package/dist/cjs/{win-5521073d.js.map → win-03714165.js.map} +1 -1
  187. package/dist/collection/collection-manifest.json +2 -2
  188. package/dist/collection/components/gov-accordion/constants.js +11 -11
  189. package/dist/collection/components/gov-accordion/constants.js.map +1 -1
  190. package/dist/collection/components/gov-accordion/gov-accordion-item.js +292 -292
  191. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  192. package/dist/collection/components/gov-accordion/gov-accordion.js +211 -211
  193. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  194. package/dist/collection/components/gov-attachments/constants.js +7 -7
  195. package/dist/collection/components/gov-attachments/constants.js.map +1 -1
  196. package/dist/collection/components/gov-attachments/gov-attachments-item.js +111 -111
  197. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  198. package/dist/collection/components/gov-attachments/gov-attachments.js +89 -89
  199. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
  200. package/dist/collection/components/gov-backdrop/constants.js +2 -2
  201. package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
  202. package/dist/collection/components/gov-backdrop/gov-backdrop.js +130 -130
  203. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  204. package/dist/collection/components/gov-breadcrumbs/constants.js +1 -1
  205. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
  206. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +197 -197
  207. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  208. package/dist/collection/components/gov-button/button/constants.js +12 -12
  209. package/dist/collection/components/gov-button/button/constants.js.map +1 -1
  210. package/dist/collection/components/gov-button/button/gov-button.css +45 -45
  211. package/dist/collection/components/gov-button/button/gov-button.js +864 -864
  212. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
  213. package/dist/collection/components/gov-button/dropdown/constants.js +4 -4
  214. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
  215. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +184 -164
  216. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
  217. package/dist/collection/components/gov-card/constants.js +11 -11
  218. package/dist/collection/components/gov-card/constants.js.map +1 -1
  219. package/dist/collection/components/gov-card/gov-card.js +290 -290
  220. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  221. package/dist/collection/components/gov-chip/constants.js +7 -7
  222. package/dist/collection/components/gov-chip/constants.js.map +1 -1
  223. package/dist/collection/components/gov-chip/gov-chip.css +40 -40
  224. package/dist/collection/components/gov-chip/gov-chip.js +448 -448
  225. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
  226. package/dist/collection/components/gov-container/constants.js +1 -1
  227. package/dist/collection/components/gov-container/constants.js.map +1 -1
  228. package/dist/collection/components/gov-container/gov-container.js +53 -53
  229. package/dist/collection/components/gov-container/gov-container.js.map +1 -1
  230. package/dist/collection/components/gov-control-group/constants.js +1 -1
  231. package/dist/collection/components/gov-control-group/constants.js.map +1 -1
  232. package/dist/collection/components/gov-control-group/gov-control-group.js +75 -75
  233. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
  234. package/dist/collection/components/gov-cookiebar/constants.js +6 -6
  235. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
  236. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +18 -18
  237. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
  238. package/dist/collection/components/gov-empty/constants.js +4 -4
  239. package/dist/collection/components/gov-empty/constants.js.map +1 -1
  240. package/dist/collection/components/gov-empty/gov-empty.js +18 -18
  241. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
  242. package/dist/collection/components/gov-error-code/constants.js +4 -4
  243. package/dist/collection/components/gov-error-code/constants.js.map +1 -1
  244. package/dist/collection/components/gov-error-code/gov-error-code.js +18 -18
  245. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
  246. package/dist/collection/components/gov-form/autocomplete/constants.js +5 -5
  247. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
  248. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +881 -879
  249. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  250. package/dist/collection/components/gov-form/checkbox/constants.js +3 -3
  251. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
  252. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +427 -427
  253. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  254. package/dist/collection/components/gov-form/control/constants.js +3 -3
  255. package/dist/collection/components/gov-form/control/constants.js.map +1 -1
  256. package/dist/collection/components/gov-form/control/gov-form-control.js +228 -228
  257. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
  258. package/dist/collection/components/gov-form/file/constants.js +7 -7
  259. package/dist/collection/components/gov-form/file/constants.js.map +1 -1
  260. package/dist/collection/components/gov-form/file/gov-form-file.js +722 -722
  261. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  262. package/dist/collection/components/gov-form/group/constants.js +5 -5
  263. package/dist/collection/components/gov-form/group/constants.js.map +1 -1
  264. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +164 -164
  265. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
  266. package/dist/collection/components/gov-form/group/gov-form-group.js +92 -92
  267. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
  268. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +154 -154
  269. package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
  270. package/dist/collection/components/gov-form/input/constants.js +15 -15
  271. package/dist/collection/components/gov-form/input/constants.js.map +1 -1
  272. package/dist/collection/components/gov-form/input/gov-form-input.js +949 -929
  273. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  274. package/dist/collection/components/gov-form/label/constants.js +2 -2
  275. package/dist/collection/components/gov-form/label/constants.js.map +1 -1
  276. package/dist/collection/components/gov-form/label/gov-form-label.js +124 -124
  277. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
  278. package/dist/collection/components/gov-form/message/constants.js +3 -3
  279. package/dist/collection/components/gov-form/message/constants.js.map +1 -1
  280. package/dist/collection/components/gov-form/message/gov-form-message.js +85 -85
  281. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
  282. package/dist/collection/components/gov-form/multiselect/constants.js +4 -4
  283. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
  284. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +788 -790
  285. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  286. package/dist/collection/components/gov-form/password-power/constants.js +3 -3
  287. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
  288. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +38 -38
  289. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
  290. package/dist/collection/components/gov-form/radio/constants.js +5 -5
  291. package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
  292. package/dist/collection/components/gov-form/radio/gov-form-radio.js +427 -427
  293. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  294. package/dist/collection/components/gov-form/search/constants.js +3 -3
  295. package/dist/collection/components/gov-form/search/constants.js.map +1 -1
  296. package/dist/collection/components/gov-form/search/gov-form-search.js +45 -45
  297. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
  298. package/dist/collection/components/gov-form/select/constants.js +2 -2
  299. package/dist/collection/components/gov-form/select/constants.js.map +1 -1
  300. package/dist/collection/components/gov-form/select/gov-form-select.js +568 -567
  301. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  302. package/dist/collection/components/gov-form/switch/constants.js +4 -4
  303. package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
  304. package/dist/collection/components/gov-form/switch/gov-form-switch.js +427 -427
  305. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  306. package/dist/collection/components/gov-grid/constants.js +2 -2
  307. package/dist/collection/components/gov-grid/constants.js.map +1 -1
  308. package/dist/collection/components/gov-grid/gov-grid-item.js +113 -113
  309. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
  310. package/dist/collection/components/gov-grid/gov-grid.js +59 -59
  311. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
  312. package/dist/collection/components/gov-icon/constants.js +5 -5
  313. package/dist/collection/components/gov-icon/constants.js.map +1 -1
  314. package/dist/collection/components/gov-icon/gov-icon.js +122 -122
  315. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  316. package/dist/collection/components/gov-icon/helpers.js +10 -10
  317. package/dist/collection/components/gov-icon/helpers.js.map +1 -1
  318. package/dist/collection/components/gov-icon/list.js +276 -276
  319. package/dist/collection/components/gov-icon/list.js.map +1 -1
  320. package/dist/collection/components/gov-infobar/constants.js +7 -7
  321. package/dist/collection/components/gov-infobar/constants.js.map +1 -1
  322. package/dist/collection/components/gov-infobar/gov-infobar.js +253 -253
  323. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
  324. package/dist/collection/components/gov-layout/constants.js +8 -8
  325. package/dist/collection/components/gov-layout/constants.js.map +1 -1
  326. package/dist/collection/components/gov-layout/gov-layout-column.js +18 -18
  327. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
  328. package/dist/collection/components/gov-layout/gov-layout.js +95 -95
  329. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
  330. package/dist/collection/components/gov-loading/loading/constants.js +3 -3
  331. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
  332. package/dist/collection/components/gov-loading/loading/gov-loading.js +18 -18
  333. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
  334. package/dist/collection/components/gov-loading/skeleton/constants.js +8 -8
  335. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
  336. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +256 -256
  337. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
  338. package/dist/collection/components/gov-message/constants.js +4 -4
  339. package/dist/collection/components/gov-message/constants.js.map +1 -1
  340. package/dist/collection/components/gov-message/gov-message.js +55 -55
  341. package/dist/collection/components/gov-message/gov-message.js.map +1 -1
  342. package/dist/collection/components/gov-modal/constants.js +12 -12
  343. package/dist/collection/components/gov-modal/constants.js.map +1 -1
  344. package/dist/collection/components/gov-modal/gov-modal.js +375 -337
  345. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
  346. package/dist/collection/components/gov-nav/constants.js +4 -4
  347. package/dist/collection/components/gov-nav/constants.js.map +1 -1
  348. package/dist/collection/components/gov-nav/gov-nav-item.js +61 -61
  349. package/dist/collection/components/gov-nav/gov-nav-item.js.map +1 -1
  350. package/dist/collection/components/gov-nav/gov-nav.js +88 -88
  351. package/dist/collection/components/gov-nav/gov-nav.js.map +1 -1
  352. package/dist/collection/components/gov-pagination/constants.js +10 -10
  353. package/dist/collection/components/gov-pagination/constants.js.map +1 -1
  354. package/dist/collection/components/gov-pagination/gov-pagination.js +509 -509
  355. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  356. package/dist/collection/components/gov-pagination/pagination.js +48 -48
  357. package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
  358. package/dist/collection/components/gov-promp/constants.js +10 -10
  359. package/dist/collection/components/gov-promp/constants.js.map +1 -1
  360. package/dist/collection/components/gov-promp/gov-prompt.js +317 -317
  361. package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
  362. package/dist/collection/components/gov-side-nav/constants.js +11 -11
  363. package/dist/collection/components/gov-side-nav/constants.js.map +1 -1
  364. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +324 -324
  365. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
  366. package/dist/collection/components/gov-side-nav/gov-side-nav.js +159 -159
  367. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -1
  368. package/dist/collection/components/gov-spacer/constants.js +6 -6
  369. package/dist/collection/components/gov-spacer/constants.js.map +1 -1
  370. package/dist/collection/components/gov-spacer/gov-spacer.js +89 -89
  371. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  372. package/dist/collection/components/gov-statsbar/constants.js +7 -7
  373. package/dist/collection/components/gov-statsbar/constants.js.map +1 -1
  374. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +58 -58
  375. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -1
  376. package/dist/collection/components/gov-statsbar/gov-statsbar.js +95 -95
  377. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
  378. package/dist/collection/components/gov-stepper/constants.js +11 -11
  379. package/dist/collection/components/gov-stepper/constants.js.map +1 -1
  380. package/dist/collection/components/gov-stepper/gov-stepper-item.js +236 -236
  381. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
  382. package/dist/collection/components/gov-stepper/gov-stepper.js +91 -91
  383. package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
  384. package/dist/collection/components/gov-tabs/constants.js +11 -11
  385. package/dist/collection/components/gov-tabs/constants.js.map +1 -1
  386. package/dist/collection/components/gov-tabs/gov-tabs-item.js +221 -178
  387. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
  388. package/dist/collection/components/gov-tabs/gov-tabs.css +13 -10
  389. package/dist/collection/components/gov-tabs/gov-tabs.js +432 -419
  390. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  391. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
  392. package/dist/collection/components/gov-tag/constants.js +1 -1
  393. package/dist/collection/components/gov-tag/constants.js.map +1 -1
  394. package/dist/collection/components/gov-tag/gov-tag.css +40 -40
  395. package/dist/collection/components/gov-tag/gov-tag.js +147 -147
  396. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  397. package/dist/collection/components/gov-tile/constants.js +7 -7
  398. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  399. package/dist/collection/components/gov-tile/container/constants.js +1 -1
  400. package/dist/collection/components/gov-tile/container/constants.js.map +1 -1
  401. package/dist/collection/components/gov-tile/container/gov-tiles.js +63 -63
  402. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -1
  403. package/dist/collection/components/gov-tile/gov-tile.js +100 -100
  404. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  405. package/dist/collection/components/gov-toast/constants.js +6 -6
  406. package/dist/collection/components/gov-toast/constants.js.map +1 -1
  407. package/dist/collection/components/gov-toast/gov-toast.js +253 -253
  408. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  409. package/dist/collection/components/gov-tooltip/constants.js +6 -6
  410. package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
  411. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +149 -149
  412. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  413. package/dist/collection/components/gov-tooltip/gov-tooltip.js +382 -372
  414. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  415. package/dist/collection/components/gov-wizard/constants.js +10 -10
  416. package/dist/collection/components/gov-wizard/constants.js.map +1 -1
  417. package/dist/collection/components/gov-wizard/gov-wizard-item.js +368 -368
  418. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
  419. package/dist/collection/components/gov-wizard/gov-wizard.js +160 -160
  420. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
  421. package/dist/collection/core/constants/sizes.js +11 -11
  422. package/dist/collection/core/constants/sizes.js.map +1 -1
  423. package/dist/collection/core/constants/tags.js +9 -9
  424. package/dist/collection/core/constants/tags.js.map +1 -1
  425. package/dist/collection/core/constants/tokens.js +5 -5
  426. package/dist/collection/core/constants/tokens.js.map +1 -1
  427. package/dist/collection/core/constants/variants.js +8 -8
  428. package/dist/collection/core/constants/variants.js.map +1 -1
  429. package/dist/collection/helpers/Dom/form.js +59 -59
  430. package/dist/collection/helpers/Dom/form.js.map +1 -1
  431. package/dist/collection/helpers/Dom/template.js +101 -101
  432. package/dist/collection/helpers/Dom/template.js.map +1 -1
  433. package/dist/collection/helpers/Dom/win.js +14 -14
  434. package/dist/collection/helpers/Dom/win.js.map +1 -1
  435. package/dist/collection/helpers/Log/gov.log.js +10 -10
  436. package/dist/collection/helpers/Log/gov.log.js.map +1 -1
  437. package/dist/collection/helpers/Validate/props.js +5 -5
  438. package/dist/collection/helpers/Validate/props.js.map +1 -1
  439. package/dist/collection/helpers/Validate/wcag.js +42 -42
  440. package/dist/collection/helpers/Validate/wcag.js.map +1 -1
  441. package/dist/collection/pages/Accordion.js +4 -4
  442. package/dist/collection/pages/Accordion.js.map +1 -1
  443. package/dist/collection/pages/Breadcrumbs.js +4 -4
  444. package/dist/collection/pages/Breadcrumbs.js.map +1 -1
  445. package/dist/collection/pages/Button.js +4 -4
  446. package/dist/collection/pages/Button.js.map +1 -1
  447. package/dist/collection/pages/Card.js +4 -4
  448. package/dist/collection/pages/Card.js.map +1 -1
  449. package/dist/collection/pages/Chip.js +4 -4
  450. package/dist/collection/pages/Chip.js.map +1 -1
  451. package/dist/collection/pages/Container.js +4 -4
  452. package/dist/collection/pages/Container.js.map +1 -1
  453. package/dist/collection/pages/ControlGroup.js +4 -4
  454. package/dist/collection/pages/ControlGroup.js.map +1 -1
  455. package/dist/collection/pages/Cookiebar.js +4 -4
  456. package/dist/collection/pages/Cookiebar.js.map +1 -1
  457. package/dist/collection/pages/Empty.js +4 -4
  458. package/dist/collection/pages/Empty.js.map +1 -1
  459. package/dist/collection/pages/Error.js +4 -4
  460. package/dist/collection/pages/Error.js.map +1 -1
  461. package/dist/collection/pages/FormLabel.js +4 -4
  462. package/dist/collection/pages/FormLabel.js.map +1 -1
  463. package/dist/collection/pages/FormMessage.js +4 -4
  464. package/dist/collection/pages/FormMessage.js.map +1 -1
  465. package/dist/collection/pages/Forms.js +120 -120
  466. package/dist/collection/pages/Forms.js.map +1 -1
  467. package/dist/collection/pages/FormsRestructure.js +4 -4
  468. package/dist/collection/pages/FormsRestructure.js.map +1 -1
  469. package/dist/collection/pages/Grid.js +4 -4
  470. package/dist/collection/pages/Grid.js.map +1 -1
  471. package/dist/collection/pages/Home.js +4 -4
  472. package/dist/collection/pages/Home.js.map +1 -1
  473. package/dist/collection/pages/Infobar.js +4 -4
  474. package/dist/collection/pages/Infobar.js.map +1 -1
  475. package/dist/collection/pages/Layout.js +4 -4
  476. package/dist/collection/pages/Layout.js.map +1 -1
  477. package/dist/collection/pages/Loading.js +9 -9
  478. package/dist/collection/pages/Loading.js.map +1 -1
  479. package/dist/collection/pages/Message.js +4 -4
  480. package/dist/collection/pages/Message.js.map +1 -1
  481. package/dist/collection/pages/Modal.js +10 -10
  482. package/dist/collection/pages/Modal.js.map +1 -1
  483. package/dist/collection/pages/Nav.js +4 -4
  484. package/dist/collection/pages/Nav.js.map +1 -1
  485. package/dist/collection/pages/Pagination.js +13 -13
  486. package/dist/collection/pages/Pagination.js.map +1 -1
  487. package/dist/collection/pages/Prompt.js +9 -9
  488. package/dist/collection/pages/Prompt.js.map +1 -1
  489. package/dist/collection/pages/SideNav.js +4 -4
  490. package/dist/collection/pages/SideNav.js.map +1 -1
  491. package/dist/collection/pages/Spacer.js +4 -4
  492. package/dist/collection/pages/Spacer.js.map +1 -1
  493. package/dist/collection/pages/Statsbar.js +4 -4
  494. package/dist/collection/pages/Statsbar.js.map +1 -1
  495. package/dist/collection/pages/Stepper.js +4 -4
  496. package/dist/collection/pages/Stepper.js.map +1 -1
  497. package/dist/collection/pages/Tabs.js +15 -6
  498. package/dist/collection/pages/Tabs.js.map +1 -1
  499. package/dist/collection/pages/Tag.js +4 -4
  500. package/dist/collection/pages/Tag.js.map +1 -1
  501. package/dist/collection/pages/Tiles.js +4 -4
  502. package/dist/collection/pages/Tiles.js.map +1 -1
  503. package/dist/collection/pages/ToastMessage.js +4 -4
  504. package/dist/collection/pages/ToastMessage.js.map +1 -1
  505. package/dist/collection/pages/ToastMessageCountdown.js +4 -4
  506. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
  507. package/dist/collection/pages/Tooltip.js +4 -4
  508. package/dist/collection/pages/Tooltip.js.map +1 -1
  509. package/dist/collection/pages/Typography.js +4 -4
  510. package/dist/collection/pages/Typography.js.map +1 -1
  511. package/dist/collection/pages/Wizard.js +4 -4
  512. package/dist/collection/pages/Wizard.js.map +1 -1
  513. package/dist/collection/utils/array.utils.js +13 -13
  514. package/dist/collection/utils/array.utils.js.map +1 -1
  515. package/dist/collection/utils/bool.utils.js +12 -12
  516. package/dist/collection/utils/bool.utils.js.map +1 -1
  517. package/dist/collection/utils/ds.utils.js +1 -1
  518. package/dist/collection/utils/ds.utils.js.map +1 -1
  519. package/dist/collection/utils/file.utils.js +19 -19
  520. package/dist/collection/utils/file.utils.js.map +1 -1
  521. package/dist/collection/utils/helpers.types.js +15 -15
  522. package/dist/collection/utils/helpers.types.js.map +1 -1
  523. package/dist/collection/utils/icon.utils.js +21 -21
  524. package/dist/collection/utils/icon.utils.js.map +1 -1
  525. package/dist/collection/utils/number.utils.js +1 -1
  526. package/dist/collection/utils/number.utils.js.map +1 -1
  527. package/dist/collection/utils/object.utils.js +13 -13
  528. package/dist/collection/utils/object.utils.js.map +1 -1
  529. package/dist/collection/utils/stencil.utils.js +3 -3
  530. package/dist/collection/utils/stencil.utils.js.map +1 -1
  531. package/dist/collection/utils/string.utils.js +8 -8
  532. package/dist/collection/utils/string.utils.js.map +1 -1
  533. package/dist/collection/utils/utils.js +9 -9
  534. package/dist/collection/utils/utils.js.map +1 -1
  535. package/dist/components/gov-accordion-item.d.ts +2 -2
  536. package/dist/components/gov-accordion-item.js +1 -1
  537. package/dist/components/gov-accordion-item.js.map +1 -1
  538. package/dist/components/gov-accordion.d.ts +2 -2
  539. package/dist/components/gov-accordion.js +1 -2
  540. package/dist/components/gov-accordion.js.map +1 -1
  541. package/dist/components/gov-attachments-item.d.ts +2 -2
  542. package/dist/components/gov-attachments-item.js +1 -1
  543. package/dist/components/gov-attachments-item.js.map +1 -1
  544. package/dist/components/gov-attachments.d.ts +2 -2
  545. package/dist/components/gov-attachments.js +1 -1
  546. package/dist/components/gov-attachments.js.map +1 -1
  547. package/dist/components/gov-backdrop.d.ts +2 -2
  548. package/dist/components/gov-backdrop.js +1 -1
  549. package/dist/components/gov-backdrop.js.map +1 -1
  550. package/dist/components/gov-breadcrumbs.d.ts +2 -2
  551. package/dist/components/gov-breadcrumbs.js +1 -1
  552. package/dist/components/gov-breadcrumbs.js.map +1 -1
  553. package/dist/components/gov-button.d.ts +2 -2
  554. package/dist/components/gov-button.js +1 -1
  555. package/dist/components/gov-button.js.map +1 -1
  556. package/dist/components/gov-card.d.ts +2 -2
  557. package/dist/components/gov-card.js +1 -1
  558. package/dist/components/gov-card.js.map +1 -1
  559. package/dist/components/gov-chip.d.ts +2 -2
  560. package/dist/components/gov-chip.js +1 -1
  561. package/dist/components/gov-chip.js.map +1 -1
  562. package/dist/components/gov-container.d.ts +2 -2
  563. package/dist/components/gov-container.js +1 -1
  564. package/dist/components/gov-container.js.map +1 -1
  565. package/dist/components/gov-control-group.d.ts +2 -2
  566. package/dist/components/gov-control-group.js +1 -1
  567. package/dist/components/gov-control-group.js.map +1 -1
  568. package/dist/components/gov-cookiebar.d.ts +2 -2
  569. package/dist/components/gov-cookiebar.js +1 -1
  570. package/dist/components/gov-cookiebar.js.map +1 -1
  571. package/dist/components/gov-dropdown.d.ts +2 -2
  572. package/dist/components/gov-dropdown.js +1 -1
  573. package/dist/components/gov-dropdown.js.map +1 -1
  574. package/dist/components/gov-empty.d.ts +2 -2
  575. package/dist/components/gov-empty.js +1 -1
  576. package/dist/components/gov-empty.js.map +1 -1
  577. package/dist/components/gov-error-code.d.ts +2 -2
  578. package/dist/components/gov-error-code.js +1 -1
  579. package/dist/components/gov-error-code.js.map +1 -1
  580. package/dist/components/gov-form-autocomplete.d.ts +2 -2
  581. package/dist/components/gov-form-autocomplete.js +1 -1
  582. package/dist/components/gov-form-autocomplete.js.map +1 -1
  583. package/dist/components/gov-form-checkbox-group.d.ts +2 -2
  584. package/dist/components/gov-form-checkbox-group.js +1 -1
  585. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  586. package/dist/components/gov-form-checkbox.d.ts +2 -2
  587. package/dist/components/gov-form-checkbox.js +1 -1
  588. package/dist/components/gov-form-checkbox.js.map +1 -1
  589. package/dist/components/gov-form-control.d.ts +2 -2
  590. package/dist/components/gov-form-control.js +1 -1
  591. package/dist/components/gov-form-control.js.map +1 -1
  592. package/dist/components/gov-form-file.d.ts +2 -2
  593. package/dist/components/gov-form-file.js +1 -1
  594. package/dist/components/gov-form-file.js.map +1 -1
  595. package/dist/components/gov-form-group.d.ts +2 -2
  596. package/dist/components/gov-form-group.js +1 -1
  597. package/dist/components/gov-form-group.js.map +1 -1
  598. package/dist/components/gov-form-input.d.ts +2 -2
  599. package/dist/components/gov-form-input.js +1 -1
  600. package/dist/components/gov-form-input.js.map +1 -1
  601. package/dist/components/gov-form-label.d.ts +2 -2
  602. package/dist/components/gov-form-label.js +1 -1
  603. package/dist/components/gov-form-label.js.map +1 -1
  604. package/dist/components/gov-form-message.d.ts +2 -2
  605. package/dist/components/gov-form-message.js +1 -1
  606. package/dist/components/gov-form-message.js.map +1 -1
  607. package/dist/components/gov-form-multi-select.d.ts +2 -2
  608. package/dist/components/gov-form-multi-select.js +1 -1
  609. package/dist/components/gov-form-multi-select.js.map +1 -1
  610. package/dist/components/gov-form-password-power.d.ts +2 -2
  611. package/dist/components/gov-form-password-power.js +1 -1
  612. package/dist/components/gov-form-password-power.js.map +1 -1
  613. package/dist/components/gov-form-radio-group.d.ts +2 -2
  614. package/dist/components/gov-form-radio-group.js +1 -1
  615. package/dist/components/gov-form-radio-group.js.map +1 -1
  616. package/dist/components/gov-form-radio.d.ts +2 -2
  617. package/dist/components/gov-form-radio.js +1 -2
  618. package/dist/components/gov-form-radio.js.map +1 -1
  619. package/dist/components/gov-form-search.d.ts +2 -2
  620. package/dist/components/gov-form-search.js +1 -1
  621. package/dist/components/gov-form-search.js.map +1 -1
  622. package/dist/components/gov-form-select.d.ts +2 -2
  623. package/dist/components/gov-form-select.js +1 -1
  624. package/dist/components/gov-form-select.js.map +1 -1
  625. package/dist/components/gov-form-switch.d.ts +2 -2
  626. package/dist/components/gov-form-switch.js +1 -2
  627. package/dist/components/gov-form-switch.js.map +1 -1
  628. package/dist/components/gov-grid-item.d.ts +2 -2
  629. package/dist/components/gov-grid-item.js +1 -1
  630. package/dist/components/gov-grid-item.js.map +1 -1
  631. package/dist/components/gov-grid.d.ts +2 -2
  632. package/dist/components/gov-grid.js +1 -1
  633. package/dist/components/gov-grid.js.map +1 -1
  634. package/dist/components/gov-icon.d.ts +2 -2
  635. package/dist/components/gov-icon.js +1 -1
  636. package/dist/components/gov-icon.js.map +1 -1
  637. package/dist/components/gov-infobar.d.ts +2 -2
  638. package/dist/components/gov-infobar.js +1 -1
  639. package/dist/components/gov-infobar.js.map +1 -1
  640. package/dist/components/gov-layout-column.d.ts +2 -2
  641. package/dist/components/gov-layout-column.js +1 -1
  642. package/dist/components/gov-layout-column.js.map +1 -1
  643. package/dist/components/gov-layout.d.ts +2 -2
  644. package/dist/components/gov-layout.js +1 -1
  645. package/dist/components/gov-layout.js.map +1 -1
  646. package/dist/components/gov-loading.d.ts +2 -2
  647. package/dist/components/gov-loading.js +1 -1
  648. package/dist/components/gov-loading.js.map +1 -1
  649. package/dist/components/gov-message.d.ts +2 -2
  650. package/dist/components/gov-message.js +1 -1
  651. package/dist/components/gov-message.js.map +1 -1
  652. package/dist/components/gov-modal.d.ts +2 -2
  653. package/dist/components/gov-modal.js +1 -1
  654. package/dist/components/gov-modal.js.map +1 -1
  655. package/dist/components/gov-nav-item.d.ts +2 -2
  656. package/dist/components/gov-nav-item.js +1 -1
  657. package/dist/components/gov-nav-item.js.map +1 -1
  658. package/dist/components/gov-nav.d.ts +2 -2
  659. package/dist/components/gov-nav.js +1 -2
  660. package/dist/components/gov-nav.js.map +1 -1
  661. package/dist/components/gov-pagination.d.ts +2 -2
  662. package/dist/components/gov-pagination.js +1 -1
  663. package/dist/components/gov-pagination.js.map +1 -1
  664. package/dist/components/gov-prompt.d.ts +2 -2
  665. package/dist/components/gov-prompt.js +1 -1
  666. package/dist/components/gov-prompt.js.map +1 -1
  667. package/dist/components/gov-side-nav-item.d.ts +2 -2
  668. package/dist/components/gov-side-nav-item.js +1 -1
  669. package/dist/components/gov-side-nav-item.js.map +1 -1
  670. package/dist/components/gov-side-nav.d.ts +2 -2
  671. package/dist/components/gov-side-nav.js +1 -2
  672. package/dist/components/gov-side-nav.js.map +1 -1
  673. package/dist/components/gov-skeleton.d.ts +2 -2
  674. package/dist/components/gov-skeleton.js +1 -2
  675. package/dist/components/gov-skeleton.js.map +1 -1
  676. package/dist/components/gov-spacer.d.ts +2 -2
  677. package/dist/components/gov-spacer.js +1 -1
  678. package/dist/components/gov-spacer.js.map +1 -1
  679. package/dist/components/gov-statsbar-item.d.ts +2 -2
  680. package/dist/components/gov-statsbar-item.js +1 -1
  681. package/dist/components/gov-statsbar-item.js.map +1 -1
  682. package/dist/components/gov-statsbar.d.ts +2 -2
  683. package/dist/components/gov-statsbar.js +1 -1
  684. package/dist/components/gov-statsbar.js.map +1 -1
  685. package/dist/components/gov-stepper-item.d.ts +2 -2
  686. package/dist/components/gov-stepper-item.js +1 -1
  687. package/dist/components/gov-stepper-item.js.map +1 -1
  688. package/dist/components/gov-stepper.d.ts +2 -2
  689. package/dist/components/gov-stepper.js +1 -1
  690. package/dist/components/gov-stepper.js.map +1 -1
  691. package/dist/components/gov-tabs-item.d.ts +2 -2
  692. package/dist/components/gov-tabs-item.js +1 -1
  693. package/dist/components/gov-tabs-item.js.map +1 -1
  694. package/dist/components/gov-tabs.d.ts +2 -2
  695. package/dist/components/gov-tabs.js +1 -1
  696. package/dist/components/gov-tabs.js.map +1 -1
  697. package/dist/components/gov-tag.d.ts +2 -2
  698. package/dist/components/gov-tag.js +1 -1
  699. package/dist/components/gov-tag.js.map +1 -1
  700. package/dist/components/gov-tile.d.ts +2 -2
  701. package/dist/components/gov-tile.js +1 -1
  702. package/dist/components/gov-tile.js.map +1 -1
  703. package/dist/components/gov-tiles.d.ts +2 -2
  704. package/dist/components/gov-tiles.js +1 -1
  705. package/dist/components/gov-tiles.js.map +1 -1
  706. package/dist/components/gov-toast.d.ts +2 -2
  707. package/dist/components/gov-toast.js +1 -1
  708. package/dist/components/gov-toast.js.map +1 -1
  709. package/dist/components/gov-tooltip-content.d.ts +2 -2
  710. package/dist/components/gov-tooltip-content.js +1 -1
  711. package/dist/components/gov-tooltip-content.js.map +1 -1
  712. package/dist/components/gov-tooltip.d.ts +2 -2
  713. package/dist/components/gov-tooltip.js +1 -1
  714. package/dist/components/gov-tooltip.js.map +1 -1
  715. package/dist/components/gov-wizard-item.d.ts +2 -2
  716. package/dist/components/gov-wizard-item.js +1 -1
  717. package/dist/components/gov-wizard-item.js.map +1 -1
  718. package/dist/components/gov-wizard.d.ts +2 -2
  719. package/dist/components/gov-wizard.js +1 -2
  720. package/dist/components/gov-wizard.js.map +1 -1
  721. package/dist/components/index.js +1 -1
  722. package/dist/components/index.js.map +1 -1
  723. package/dist/components/{p-be4aab0e.js → p-0134b442.js} +1 -1
  724. package/dist/{core/p-be4aab0e.js.map → components/p-0134b442.js.map} +1 -1
  725. package/dist/components/{p-74b2311a.js → p-016118d2.js} +2 -2
  726. package/dist/components/{p-74b2311a.js.map → p-016118d2.js.map} +1 -1
  727. package/dist/components/{p-2bf5b814.js → p-016bbea6.js} +1 -1
  728. package/dist/components/{p-2bf5b814.js.map → p-016bbea6.js.map} +1 -1
  729. package/dist/components/{p-ff7365ae.js → p-03dbb8b1.js} +1 -1
  730. package/dist/components/{p-ff7365ae.js.map → p-03dbb8b1.js.map} +1 -1
  731. package/dist/components/{p-b72a7bed.js → p-07165d99.js} +1 -1
  732. package/dist/components/{p-b72a7bed.js.map → p-07165d99.js.map} +1 -1
  733. package/dist/components/{p-ab5a13ea.js → p-0a6a373e.js} +1 -1
  734. package/dist/{core/p-ab5a13ea.js.map → components/p-0a6a373e.js.map} +1 -1
  735. package/dist/components/{p-1653073c.js → p-0ef9ca38.js} +2 -2
  736. package/dist/components/p-0ef9ca38.js.map +1 -0
  737. package/dist/components/{p-5defdc5e.js → p-13ebd887.js} +1 -1
  738. package/dist/components/{p-5defdc5e.js.map → p-13ebd887.js.map} +1 -1
  739. package/dist/components/p-1c1d0bbe.js.map +1 -1
  740. package/dist/components/{p-6834d779.js → p-20fd8011.js} +2 -2
  741. package/dist/components/{p-6834d779.js.map → p-20fd8011.js.map} +1 -1
  742. package/dist/components/{p-8fcc8483.js → p-240c302e.js} +1 -1
  743. package/dist/components/{p-8fcc8483.js.map → p-240c302e.js.map} +1 -1
  744. package/dist/components/{p-dcb5fb35.js → p-344c72d7.js} +2 -2
  745. package/dist/components/{p-dcb5fb35.js.map → p-344c72d7.js.map} +1 -1
  746. package/dist/components/p-38129200.js +2 -0
  747. package/dist/components/p-38129200.js.map +1 -0
  748. package/dist/components/{p-a6d14a47.js → p-3983d290.js} +1 -1
  749. package/dist/components/{p-a6d14a47.js.map → p-3983d290.js.map} +1 -1
  750. package/dist/components/p-3d3231ab.js +2 -0
  751. package/dist/components/p-3d3231ab.js.map +1 -0
  752. package/dist/components/p-4faa3ba6.js +2 -0
  753. package/dist/components/{p-fa1e4aea.js.map → p-4faa3ba6.js.map} +1 -1
  754. package/dist/components/p-5a881c4f.js +2 -0
  755. package/dist/components/p-5a881c4f.js.map +1 -0
  756. package/dist/components/p-67f93e2f.js +2 -0
  757. package/dist/components/p-67f93e2f.js.map +1 -0
  758. package/dist/components/p-6b0471a8.js +2 -0
  759. package/dist/components/p-6b0471a8.js.map +1 -0
  760. package/dist/components/{p-f04382c3.js → p-77a6e3be.js} +2 -2
  761. package/dist/components/{p-f04382c3.js.map → p-77a6e3be.js.map} +1 -1
  762. package/dist/components/p-7ba4daf4.js +2 -0
  763. package/dist/components/{p-3464136c.js.map → p-7ba4daf4.js.map} +1 -1
  764. package/dist/components/p-850f41a3.js +2 -0
  765. package/dist/components/p-850f41a3.js.map +1 -0
  766. package/dist/components/{p-ffb7495c.js → p-880743a5.js} +1 -1
  767. package/dist/components/{p-ffb7495c.js.map → p-880743a5.js.map} +1 -1
  768. package/dist/components/{p-9144dde1.js → p-8dfac7d7.js} +2 -2
  769. package/dist/components/{p-9144dde1.js.map → p-8dfac7d7.js.map} +1 -1
  770. package/dist/components/{p-b8bb638e.js → p-8f752a63.js} +2 -2
  771. package/dist/components/p-8f752a63.js.map +1 -0
  772. package/dist/components/{p-55500e5a.js → p-92f420cb.js} +1 -1
  773. package/dist/components/{p-55500e5a.js.map → p-92f420cb.js.map} +1 -1
  774. package/dist/components/p-9370b15f.js +2 -0
  775. package/dist/components/{p-3c71d697.js.map → p-9370b15f.js.map} +1 -1
  776. package/dist/components/{p-17ebfe85.js → p-94dd1649.js} +2 -2
  777. package/dist/components/{p-17ebfe85.js.map → p-94dd1649.js.map} +1 -1
  778. package/dist/components/{p-24636c53.js → p-95d41a3b.js} +1 -1
  779. package/dist/components/{p-24636c53.js.map → p-95d41a3b.js.map} +1 -1
  780. package/dist/components/p-bfce6f99.js +2 -0
  781. package/dist/components/p-bfce6f99.js.map +1 -0
  782. package/dist/components/{p-4f23b264.js → p-cc51369e.js} +2 -2
  783. package/dist/components/p-cc51369e.js.map +1 -0
  784. package/dist/components/p-ce45c786.js +2 -0
  785. package/dist/components/{p-9a4c910d.js.map → p-ce45c786.js.map} +1 -1
  786. package/dist/components/p-cff54227.js +3 -0
  787. package/dist/components/p-cff54227.js.map +1 -0
  788. package/dist/components/{p-db1f0452.js → p-d0288df5.js} +1 -1
  789. package/dist/components/{p-db1f0452.js.map → p-d0288df5.js.map} +1 -1
  790. package/dist/components/{p-c353678b.js → p-d687df8f.js} +1 -1
  791. package/dist/components/{p-c353678b.js.map → p-d687df8f.js.map} +1 -1
  792. package/dist/components/{p-03990da5.js → p-e0e2e9c1.js} +1 -1
  793. package/dist/components/{p-03990da5.js.map → p-e0e2e9c1.js.map} +1 -1
  794. package/dist/components/p-e296ca83.js +2 -0
  795. package/dist/components/{p-7f2c9830.js.map → p-e296ca83.js.map} +1 -1
  796. package/dist/components/p-e44a0fee.js +2 -0
  797. package/dist/components/{p-3a04fb9b.js.map → p-e44a0fee.js.map} +1 -1
  798. package/dist/components/p-e618f1cb.js +2 -0
  799. package/dist/components/{p-003e6cca.js.map → p-e618f1cb.js.map} +1 -1
  800. package/dist/components/p-e6b44c13.js +2 -0
  801. package/dist/components/p-e6b44c13.js.map +1 -0
  802. package/dist/components/p-f0d542f2.js +2 -0
  803. package/dist/components/{p-6278531b.js.map → p-f0d542f2.js.map} +1 -1
  804. package/dist/components/{p-0fa5ab52.js → p-f0e6e095.js} +2 -2
  805. package/dist/components/p-f0e6e095.js.map +1 -0
  806. package/dist/core/core.esm.js +1 -1
  807. package/dist/core/core.esm.js.map +1 -1
  808. package/dist/core/index.esm.js.map +1 -1
  809. package/dist/core/{p-be4aab0e.js → p-0134b442.js} +1 -1
  810. package/dist/{components/p-be4aab0e.js.map → core/p-0134b442.js.map} +1 -1
  811. package/dist/core/{p-2bf5b814.js → p-016bbea6.js} +1 -1
  812. package/dist/core/{p-2bf5b814.js.map → p-016bbea6.js.map} +1 -1
  813. package/dist/core/{p-ff7365ae.js → p-03dbb8b1.js} +1 -1
  814. package/dist/core/{p-ff7365ae.js.map → p-03dbb8b1.js.map} +1 -1
  815. package/dist/core/p-071857ce.entry.js +2 -0
  816. package/dist/core/p-071857ce.entry.js.map +1 -0
  817. package/dist/core/{p-ab5a13ea.js → p-0a6a373e.js} +1 -1
  818. package/dist/{components/p-ab5a13ea.js.map → core/p-0a6a373e.js.map} +1 -1
  819. package/dist/core/{p-aaf2510a.entry.js → p-0c78bb6a.entry.js} +2 -2
  820. package/dist/core/p-0c78bb6a.entry.js.map +1 -0
  821. package/dist/core/{p-5defdc5e.js → p-13ebd887.js} +1 -1
  822. package/dist/core/{p-5defdc5e.js.map → p-13ebd887.js.map} +1 -1
  823. package/dist/core/p-16ed4995.entry.js +2 -0
  824. package/dist/core/p-16ed4995.entry.js.map +1 -0
  825. package/dist/core/p-1c1d0bbe.js.map +1 -1
  826. package/dist/core/{p-6834d779.js → p-20fd8011.js} +2 -2
  827. package/dist/core/{p-6834d779.js.map → p-20fd8011.js.map} +1 -1
  828. package/dist/core/{p-8fcc8483.js → p-240c302e.js} +1 -1
  829. package/dist/core/{p-8fcc8483.js.map → p-240c302e.js.map} +1 -1
  830. package/dist/core/p-28d8b65c.entry.js +2 -0
  831. package/dist/core/p-28d8b65c.entry.js.map +1 -0
  832. package/dist/core/{p-555eaa93.entry.js → p-2cc5dda1.entry.js} +2 -2
  833. package/dist/core/p-2cc5dda1.entry.js.map +1 -0
  834. package/dist/core/p-307906c9.entry.js +2 -0
  835. package/dist/core/p-307906c9.entry.js.map +1 -0
  836. package/dist/core/{p-6bf8e7bf.entry.js → p-314df6e2.entry.js} +2 -2
  837. package/dist/core/p-314df6e2.entry.js.map +1 -0
  838. package/dist/core/{p-dcb5fb35.js → p-344c72d7.js} +2 -2
  839. package/dist/core/{p-dcb5fb35.js.map → p-344c72d7.js.map} +1 -1
  840. package/dist/core/{p-f2f2c14a.entry.js → p-35a77e2d.entry.js} +2 -3
  841. package/dist/core/p-35a77e2d.entry.js.map +1 -0
  842. package/dist/core/{p-1f769a40.entry.js → p-372910de.entry.js} +2 -2
  843. package/dist/core/p-372910de.entry.js.map +1 -0
  844. package/dist/core/p-37a58991.entry.js +2 -0
  845. package/dist/core/p-37a58991.entry.js.map +1 -0
  846. package/dist/core/p-37f5729b.entry.js +2 -0
  847. package/dist/core/p-37f5729b.entry.js.map +1 -0
  848. package/dist/core/{p-a6d14a47.js → p-3983d290.js} +1 -1
  849. package/dist/core/{p-a6d14a47.js.map → p-3983d290.js.map} +1 -1
  850. package/dist/core/p-3e4a8fa7.entry.js +2 -0
  851. package/dist/core/p-3e4a8fa7.entry.js.map +1 -0
  852. package/dist/core/{p-74b2311a.js → p-3f0dd8fa.js} +2 -2
  853. package/dist/core/{p-74b2311a.js.map → p-3f0dd8fa.js.map} +1 -1
  854. package/dist/core/{p-5de606f8.js → p-4191acf2.js} +1 -1
  855. package/dist/core/{p-5de606f8.js.map → p-4191acf2.js.map} +1 -1
  856. package/dist/core/p-4382ee13.entry.js +2 -0
  857. package/dist/core/p-4382ee13.entry.js.map +1 -0
  858. package/dist/core/{p-55cb727e.entry.js → p-443894aa.entry.js} +2 -2
  859. package/dist/core/p-443894aa.entry.js.map +1 -0
  860. package/dist/core/{p-dd4445ee.entry.js → p-45411344.entry.js} +2 -2
  861. package/dist/core/p-45411344.entry.js.map +1 -0
  862. package/dist/core/p-45b869ae.js +2 -0
  863. package/dist/core/{p-9dab01be.js.map → p-45b869ae.js.map} +1 -1
  864. package/dist/core/p-46ddd055.entry.js +2 -0
  865. package/dist/core/p-46ddd055.entry.js.map +1 -0
  866. package/dist/core/{p-72c5997f.entry.js → p-47efa303.entry.js} +2 -2
  867. package/dist/core/p-47efa303.entry.js.map +1 -0
  868. package/dist/core/p-49f584a3.entry.js +2 -0
  869. package/dist/core/p-49f584a3.entry.js.map +1 -0
  870. package/dist/core/p-4c68eb90.entry.js +2 -0
  871. package/dist/core/p-4c68eb90.entry.js.map +1 -0
  872. package/dist/core/p-4faa3ba6.js +2 -0
  873. package/dist/core/{p-fa1e4aea.js.map → p-4faa3ba6.js.map} +1 -1
  874. package/dist/core/{p-1ebf3575.entry.js → p-51f069f2.entry.js} +2 -3
  875. package/dist/core/p-51f069f2.entry.js.map +1 -0
  876. package/dist/core/p-5cf78f1c.entry.js +2 -0
  877. package/dist/core/p-5cf78f1c.entry.js.map +1 -0
  878. package/dist/core/p-5d1f350b.entry.js +2 -0
  879. package/dist/core/p-5d1f350b.entry.js.map +1 -0
  880. package/dist/core/p-5fa30ebf.entry.js +2 -0
  881. package/dist/core/p-5fa30ebf.entry.js.map +1 -0
  882. package/dist/core/{p-d2c370d6.entry.js → p-6378b5af.entry.js} +2 -2
  883. package/dist/core/p-6378b5af.entry.js.map +1 -0
  884. package/dist/core/p-671041de.entry.js +2 -0
  885. package/dist/core/p-671041de.entry.js.map +1 -0
  886. package/dist/core/{p-f6a4bf04.entry.js → p-680c0fee.entry.js} +2 -3
  887. package/dist/core/p-680c0fee.entry.js.map +1 -0
  888. package/dist/core/p-7ba4daf4.js +2 -0
  889. package/dist/core/{p-3464136c.js.map → p-7ba4daf4.js.map} +1 -1
  890. package/dist/core/{p-fc710edb.entry.js → p-7eeb23c5.entry.js} +2 -2
  891. package/dist/core/p-7eeb23c5.entry.js.map +1 -0
  892. package/dist/core/p-815d86ed.entry.js +2 -0
  893. package/dist/core/p-815d86ed.entry.js.map +1 -0
  894. package/dist/core/{p-529ce9a4.entry.js → p-854e705c.entry.js} +2 -2
  895. package/dist/core/p-854e705c.entry.js.map +1 -0
  896. package/dist/core/{p-ffb7495c.js → p-880743a5.js} +1 -1
  897. package/dist/core/{p-ffb7495c.js.map → p-880743a5.js.map} +1 -1
  898. package/dist/core/p-893bc0ef.entry.js +2 -0
  899. package/dist/core/p-893bc0ef.entry.js.map +1 -0
  900. package/dist/core/{p-60963ed7.entry.js → p-8c80d1aa.entry.js} +2 -2
  901. package/dist/core/p-8c80d1aa.entry.js.map +1 -0
  902. package/dist/core/{p-9144dde1.js → p-8dfac7d7.js} +2 -2
  903. package/dist/core/{p-9144dde1.js.map → p-8dfac7d7.js.map} +1 -1
  904. package/dist/core/p-8fc87295.entry.js +2 -0
  905. package/dist/core/p-8fc87295.entry.js.map +1 -0
  906. package/dist/core/p-92b7481f.js +2 -0
  907. package/dist/core/p-92b7481f.js.map +1 -0
  908. package/dist/core/p-92bef3b8.entry.js +2 -0
  909. package/dist/core/p-92bef3b8.entry.js.map +1 -0
  910. package/dist/core/{p-55500e5a.js → p-92f420cb.js} +1 -1
  911. package/dist/core/{p-55500e5a.js.map → p-92f420cb.js.map} +1 -1
  912. package/dist/core/{p-28a50f60.entry.js → p-94bc809d.entry.js} +2 -3
  913. package/dist/core/p-94bc809d.entry.js.map +1 -0
  914. package/dist/core/{p-17ebfe85.js → p-94dd1649.js} +2 -2
  915. package/dist/core/{p-17ebfe85.js.map → p-94dd1649.js.map} +1 -1
  916. package/dist/core/{p-24636c53.js → p-95d41a3b.js} +1 -1
  917. package/dist/core/{p-24636c53.js.map → p-95d41a3b.js.map} +1 -1
  918. package/dist/core/p-9de457bf.entry.js +2 -0
  919. package/dist/core/p-9de457bf.entry.js.map +1 -0
  920. package/dist/core/{p-127af1b4.entry.js → p-9f08ac81.entry.js} +2 -2
  921. package/dist/core/p-9f08ac81.entry.js.map +1 -0
  922. package/dist/core/{p-90c068ff.entry.js → p-a01a9f16.entry.js} +2 -2
  923. package/dist/core/p-a01a9f16.entry.js.map +1 -0
  924. package/dist/core/p-a0b01f1b.entry.js +2 -0
  925. package/dist/core/p-a0b01f1b.entry.js.map +1 -0
  926. package/dist/core/p-a14aa161.entry.js +2 -0
  927. package/dist/core/p-a14aa161.entry.js.map +1 -0
  928. package/dist/core/p-a45a55eb.entry.js +2 -0
  929. package/dist/core/p-a45a55eb.entry.js.map +1 -0
  930. package/dist/core/p-a6221940.js +3 -0
  931. package/dist/core/p-a6221940.js.map +1 -0
  932. package/dist/core/p-a82a8d9c.entry.js +2 -0
  933. package/dist/core/p-a82a8d9c.entry.js.map +1 -0
  934. package/dist/core/{p-715dccc0.entry.js → p-aaad919f.entry.js} +2 -3
  935. package/dist/core/p-aaad919f.entry.js.map +1 -0
  936. package/dist/core/p-b25da41e.entry.js +2 -0
  937. package/dist/core/p-b25da41e.entry.js.map +1 -0
  938. package/dist/core/p-b4b79f0a.entry.js +2 -0
  939. package/dist/core/p-b4b79f0a.entry.js.map +1 -0
  940. package/dist/core/{p-d07d3dcc.entry.js → p-b5ceb3ba.entry.js} +2 -2
  941. package/dist/core/p-b5ceb3ba.entry.js.map +1 -0
  942. package/dist/core/p-b7e96a9d.entry.js +2 -0
  943. package/dist/core/p-b7e96a9d.entry.js.map +1 -0
  944. package/dist/core/{p-148613fd.entry.js → p-c1911b6a.entry.js} +2 -3
  945. package/dist/core/p-c1911b6a.entry.js.map +1 -0
  946. package/dist/core/p-c366f797.entry.js +2 -0
  947. package/dist/core/p-c366f797.entry.js.map +1 -0
  948. package/dist/core/{p-61a2b12a.js → p-c98fe646.js} +2 -2
  949. package/dist/core/{p-61a2b12a.js.map → p-c98fe646.js.map} +1 -1
  950. package/dist/core/{p-67096d72.entry.js → p-c9bd2a6e.entry.js} +2 -2
  951. package/dist/core/p-c9bd2a6e.entry.js.map +1 -0
  952. package/dist/core/p-ce45c786.js +2 -0
  953. package/dist/core/{p-9a4c910d.js.map → p-ce45c786.js.map} +1 -1
  954. package/dist/core/{p-db1f0452.js → p-d0288df5.js} +1 -1
  955. package/dist/core/{p-db1f0452.js.map → p-d0288df5.js.map} +1 -1
  956. package/dist/core/p-d51fa875.entry.js +2 -0
  957. package/dist/core/p-d51fa875.entry.js.map +1 -0
  958. package/dist/core/p-dd45944f.entry.js +2 -0
  959. package/dist/core/p-dd45944f.entry.js.map +1 -0
  960. package/dist/core/{p-0f4f02a6.entry.js → p-de924143.entry.js} +2 -3
  961. package/dist/core/p-de924143.entry.js.map +1 -0
  962. package/dist/core/{p-03990da5.js → p-e0e2e9c1.js} +1 -1
  963. package/dist/core/{p-03990da5.js.map → p-e0e2e9c1.js.map} +1 -1
  964. package/dist/core/p-e1255160.js +2 -0
  965. package/dist/core/p-e1255160.js.map +1 -0
  966. package/dist/core/p-e1a5a373.entry.js +2 -0
  967. package/dist/core/p-e1a5a373.entry.js.map +1 -0
  968. package/dist/core/p-e296ca83.js +2 -0
  969. package/dist/core/{p-7f2c9830.js.map → p-e296ca83.js.map} +1 -1
  970. package/dist/core/p-e44a0fee.js +2 -0
  971. package/dist/core/{p-3a04fb9b.js.map → p-e44a0fee.js.map} +1 -1
  972. package/dist/core/p-e618f1cb.js +2 -0
  973. package/dist/core/{p-003e6cca.js.map → p-e618f1cb.js.map} +1 -1
  974. package/dist/core/{p-0c5c6dee.entry.js → p-e7845795.entry.js} +2 -2
  975. package/dist/core/p-e7845795.entry.js.map +1 -0
  976. package/dist/core/{p-43fc5c70.entry.js → p-ecbb9731.entry.js} +2 -3
  977. package/dist/core/p-ecbb9731.entry.js.map +1 -0
  978. package/dist/core/{p-4988c0bb.entry.js → p-ee1637ef.entry.js} +2 -2
  979. package/dist/core/p-ee1637ef.entry.js.map +1 -0
  980. package/dist/core/p-f0d542f2.js +2 -0
  981. package/dist/core/{p-6278531b.js.map → p-f0d542f2.js.map} +1 -1
  982. package/dist/core/{p-f3967a1d.entry.js → p-f10ad856.entry.js} +2 -3
  983. package/dist/core/p-f10ad856.entry.js.map +1 -0
  984. package/dist/core/{p-151f1b89.entry.js → p-f6416cb8.entry.js} +2 -2
  985. package/dist/core/p-f6416cb8.entry.js.map +1 -0
  986. package/dist/core/{p-c67ddbd3.entry.js → p-fbbd1e5d.entry.js} +2 -3
  987. package/dist/core/p-fbbd1e5d.entry.js.map +1 -0
  988. package/dist/core/{p-30673e46.entry.js → p-fccbecd3.entry.js} +2 -2
  989. package/dist/core/p-fccbecd3.entry.js.map +1 -0
  990. package/dist/core/p-fdead70e.js +2 -0
  991. package/dist/core/{p-4c55142b.js.map → p-fdead70e.js.map} +1 -1
  992. package/dist/esm/app-globals-0f993ce5.js +5 -0
  993. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  994. package/dist/esm/array.utils-5ce9a471.js +43 -0
  995. package/dist/esm/array.utils-5ce9a471.js.map +1 -0
  996. package/dist/esm/constants-0014bc7f.js +24 -0
  997. package/dist/esm/{constants-2499979c.js.map → constants-0014bc7f.js.map} +1 -1
  998. package/dist/esm/constants-122ac484.js +25 -0
  999. package/dist/esm/{constants-78474786.js.map → constants-122ac484.js.map} +1 -1
  1000. package/dist/esm/constants-14f351fd.js +23 -0
  1001. package/dist/esm/{constants-887c5391.js.map → constants-14f351fd.js.map} +1 -1
  1002. package/dist/esm/constants-1998bac1.js +19 -0
  1003. package/dist/esm/{constants-867ac6e2.js.map → constants-1998bac1.js.map} +1 -1
  1004. package/dist/esm/{constants-2b14bb01.js → constants-2d5a0e18.js} +3 -3
  1005. package/dist/esm/{constants-2b14bb01.js.map → constants-2d5a0e18.js.map} +1 -1
  1006. package/dist/esm/constants-43f10674.js +12 -0
  1007. package/dist/esm/{constants-ebec7de8.js.map → constants-43f10674.js.map} +1 -1
  1008. package/dist/esm/{constants-e80d9514.js → constants-4da2b3c0.js} +8 -8
  1009. package/dist/esm/{constants-e80d9514.js.map → constants-4da2b3c0.js.map} +1 -1
  1010. package/dist/esm/constants-66db9786.js +25 -0
  1011. package/dist/esm/{constants-09bda759.js.map → constants-66db9786.js.map} +1 -1
  1012. package/dist/esm/constants-78d0d7ff.js +13 -0
  1013. package/dist/esm/{constants-3df712e2.js.map → constants-78d0d7ff.js.map} +1 -1
  1014. package/dist/esm/constants-a2828485.js +12 -0
  1015. package/dist/esm/{constants-d71c09e0.js.map → constants-a2828485.js.map} +1 -1
  1016. package/dist/esm/constants-a5fadb10.js +29 -0
  1017. package/dist/esm/{constants-6df4edc4.js.map → constants-a5fadb10.js.map} +1 -1
  1018. package/dist/esm/constants-f0f531b6.js +22 -0
  1019. package/dist/esm/{constants-3786b01b.js.map → constants-f0f531b6.js.map} +1 -1
  1020. package/dist/esm/constants-f63d2d63.js +18 -0
  1021. package/dist/esm/{constants-2a283e9a.js.map → constants-f63d2d63.js.map} +1 -1
  1022. package/dist/esm/constants-f6ecfd4e.js +33 -0
  1023. package/dist/esm/{constants-34a29ae2.js.map → constants-f6ecfd4e.js.map} +1 -1
  1024. package/dist/esm/constants-f98e7750.js +22 -0
  1025. package/dist/esm/{constants-27b48cd1.js.map → constants-f98e7750.js.map} +1 -1
  1026. package/dist/esm/constants-ff234810.js +17 -0
  1027. package/dist/esm/{constants-47d7a8bc.js.map → constants-ff234810.js.map} +1 -1
  1028. package/dist/esm/core.js +33 -33
  1029. package/dist/esm/core.js.map +1 -1
  1030. package/dist/esm/form-738c5b12.js +145 -0
  1031. package/dist/esm/form-738c5b12.js.map +1 -0
  1032. package/dist/esm/gov-accordion-item.entry.js +89 -88
  1033. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  1034. package/dist/esm/gov-accordion.entry.js +63 -62
  1035. package/dist/esm/gov-accordion.entry.js.map +1 -1
  1036. package/dist/esm/gov-attachments_3.entry.js +91 -88
  1037. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  1038. package/dist/esm/gov-backdrop.entry.js +34 -33
  1039. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  1040. package/dist/esm/gov-breadcrumbs.entry.js +57 -56
  1041. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  1042. package/dist/esm/gov-button.entry.js +166 -165
  1043. package/dist/esm/gov-button.entry.js.map +1 -1
  1044. package/dist/esm/gov-card.entry.js +91 -90
  1045. package/dist/esm/gov-card.entry.js.map +1 -1
  1046. package/dist/esm/gov-chip.entry.js +90 -89
  1047. package/dist/esm/gov-chip.entry.js.map +1 -1
  1048. package/dist/esm/gov-container.entry.js +21 -20
  1049. package/dist/esm/gov-container.entry.js.map +1 -1
  1050. package/dist/esm/gov-control-group.entry.js +27 -26
  1051. package/dist/esm/gov-control-group.entry.js.map +1 -1
  1052. package/dist/esm/gov-cookiebar.entry.js +18 -17
  1053. package/dist/esm/gov-cookiebar.entry.js.map +1 -1
  1054. package/dist/esm/gov-dropdown.entry.js +62 -59
  1055. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  1056. package/dist/esm/gov-empty.entry.js +16 -15
  1057. package/dist/esm/gov-empty.entry.js.map +1 -1
  1058. package/dist/esm/gov-error-code.entry.js +16 -15
  1059. package/dist/esm/gov-error-code.entry.js.map +1 -1
  1060. package/dist/esm/gov-form-autocomplete.entry.js +237 -236
  1061. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  1062. package/dist/esm/gov-form-checkbox-group.entry.js +70 -69
  1063. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  1064. package/dist/esm/gov-form-checkbox.entry.js +121 -120
  1065. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  1066. package/dist/esm/gov-form-control.entry.js +91 -90
  1067. package/dist/esm/gov-form-control.entry.js.map +1 -1
  1068. package/dist/esm/gov-form-file.entry.js +226 -225
  1069. package/dist/esm/gov-form-file.entry.js.map +1 -1
  1070. package/dist/esm/gov-form-group.entry.js +36 -35
  1071. package/dist/esm/gov-form-group.entry.js.map +1 -1
  1072. package/dist/esm/gov-form-input.entry.js +180 -178
  1073. package/dist/esm/gov-form-input.entry.js.map +1 -1
  1074. package/dist/esm/gov-form-label.entry.js +18 -17
  1075. package/dist/esm/gov-form-label.entry.js.map +1 -1
  1076. package/dist/esm/gov-form-multi-select.entry.js +261 -264
  1077. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  1078. package/dist/esm/gov-form-password-power.entry.js +13 -12
  1079. package/dist/esm/gov-form-password-power.entry.js.map +1 -1
  1080. package/dist/esm/gov-form-radio-group.entry.js +59 -58
  1081. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  1082. package/dist/esm/gov-form-radio.entry.js +121 -120
  1083. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  1084. package/dist/esm/gov-form-search.entry.js +16 -15
  1085. package/dist/esm/gov-form-search.entry.js.map +1 -1
  1086. package/dist/esm/gov-form-select.entry.js +151 -150
  1087. package/dist/esm/gov-form-select.entry.js.map +1 -1
  1088. package/dist/esm/gov-form-switch.entry.js +121 -120
  1089. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  1090. package/dist/esm/gov-grid-item.entry.js +18 -17
  1091. package/dist/esm/gov-grid-item.entry.js.map +1 -1
  1092. package/dist/esm/gov-grid.entry.js +16 -15
  1093. package/dist/esm/gov-grid.entry.js.map +1 -1
  1094. package/dist/esm/gov-icon.entry.js +96 -95
  1095. package/dist/esm/gov-icon.entry.js.map +1 -1
  1096. package/dist/esm/gov-infobar.entry.js +71 -70
  1097. package/dist/esm/gov-infobar.entry.js.map +1 -1
  1098. package/dist/esm/gov-layout-column.entry.js +13 -12
  1099. package/dist/esm/gov-layout-column.entry.js.map +1 -1
  1100. package/dist/esm/gov-layout.entry.js +22 -21
  1101. package/dist/esm/gov-layout.entry.js.map +1 -1
  1102. package/dist/esm/gov-loading.entry.js +15 -14
  1103. package/dist/esm/gov-loading.entry.js.map +1 -1
  1104. package/dist/esm/gov-message.entry.js +28 -27
  1105. package/dist/esm/gov-message.entry.js.map +1 -1
  1106. package/dist/esm/gov-modal.entry.js +93 -90
  1107. package/dist/esm/gov-modal.entry.js.map +1 -1
  1108. package/dist/esm/gov-nav-item.entry.js +26 -25
  1109. package/dist/esm/gov-nav-item.entry.js.map +1 -1
  1110. package/dist/esm/gov-nav.entry.js +29 -28
  1111. package/dist/esm/gov-nav.entry.js.map +1 -1
  1112. package/dist/esm/gov-pagination.entry.js +193 -192
  1113. package/dist/esm/gov-pagination.entry.js.map +1 -1
  1114. package/dist/esm/gov-prompt.entry.js +89 -88
  1115. package/dist/esm/gov-prompt.entry.js.map +1 -1
  1116. package/dist/esm/gov-side-nav-item.entry.js +74 -73
  1117. package/dist/esm/gov-side-nav-item.entry.js.map +1 -1
  1118. package/dist/esm/gov-side-nav.entry.js +43 -42
  1119. package/dist/esm/gov-side-nav.entry.js.map +1 -1
  1120. package/dist/esm/gov-skeleton.entry.js +92 -91
  1121. package/dist/esm/gov-skeleton.entry.js.map +1 -1
  1122. package/dist/esm/gov-spacer.entry.js +39 -38
  1123. package/dist/esm/gov-spacer.entry.js.map +1 -1
  1124. package/dist/esm/gov-statsbar-item.entry.js +28 -27
  1125. package/dist/esm/gov-statsbar-item.entry.js.map +1 -1
  1126. package/dist/esm/gov-statsbar.entry.js +41 -40
  1127. package/dist/esm/gov-statsbar.entry.js.map +1 -1
  1128. package/dist/esm/gov-stepper-item.entry.js +64 -63
  1129. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  1130. package/dist/esm/gov-stepper.entry.js +39 -38
  1131. package/dist/esm/gov-stepper.entry.js.map +1 -1
  1132. package/dist/esm/gov-tabs-item.entry.js +48 -40
  1133. package/dist/esm/gov-tabs-item.entry.js.map +1 -1
  1134. package/dist/esm/gov-tabs.entry.js +196 -183
  1135. package/dist/esm/gov-tabs.entry.js.map +1 -1
  1136. package/dist/esm/gov-tag.entry.js +43 -42
  1137. package/dist/esm/gov-tag.entry.js.map +1 -1
  1138. package/dist/esm/gov-tile.entry.js +27 -26
  1139. package/dist/esm/gov-tile.entry.js.map +1 -1
  1140. package/dist/esm/gov-tiles.entry.js +18 -17
  1141. package/dist/esm/gov-tiles.entry.js.map +1 -1
  1142. package/dist/esm/gov-toast.entry.js +81 -80
  1143. package/dist/esm/gov-toast.entry.js.map +1 -1
  1144. package/dist/esm/gov-tooltip-content.entry.js +39 -38
  1145. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  1146. package/dist/esm/gov-tooltip.entry.js +216 -207
  1147. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  1148. package/dist/esm/gov-wizard-item.entry.js +97 -96
  1149. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  1150. package/dist/esm/gov-wizard.entry.js +56 -55
  1151. package/dist/esm/gov-wizard.entry.js.map +1 -1
  1152. package/dist/esm/gov.log-431da6b2.js +25 -0
  1153. package/dist/esm/{gov.log-49da0221.js.map → gov.log-431da6b2.js.map} +1 -1
  1154. package/dist/esm/helpers-5d179d4b.js +17 -0
  1155. package/dist/{cjs/helpers-2c870ff5.js.map → esm/helpers-5d179d4b.js.map} +1 -1
  1156. package/dist/esm/index-84a63a3e.js +2010 -0
  1157. package/dist/esm/index-84a63a3e.js.map +1 -0
  1158. package/dist/esm/loader.js +6 -4
  1159. package/dist/esm/loader.js.map +1 -1
  1160. package/dist/esm/props-ec3beb91.js +14 -0
  1161. package/dist/esm/{props-a85d9c89.js.map → props-ec3beb91.js.map} +1 -1
  1162. package/dist/esm/sizes-5b9e579f.js +18 -0
  1163. package/dist/esm/{sizes-6c5943b4.js.map → sizes-5b9e579f.js.map} +1 -1
  1164. package/dist/esm/stencil.utils-5d8e3d11.js +9 -0
  1165. package/dist/esm/{stencil.utils-7cb5b075.js.map → stencil.utils-5d8e3d11.js.map} +1 -1
  1166. package/dist/esm/string.utils-5ce3f551.js +20 -0
  1167. package/dist/esm/{string.utils-f268fc6b.js.map → string.utils-5ce3f551.js.map} +1 -1
  1168. package/dist/esm/template-94812ab3.js +123 -0
  1169. package/dist/esm/template-94812ab3.js.map +1 -0
  1170. package/dist/esm/{utils-c057a3fa.js → utils-e10e994d.js} +9 -9
  1171. package/dist/esm/{utils-c057a3fa.js.map → utils-e10e994d.js.map} +1 -1
  1172. package/dist/esm/variants-69f013c1.js +18 -0
  1173. package/dist/esm/{variants-2b936d58.js.map → variants-69f013c1.js.map} +1 -1
  1174. package/dist/esm/wcag-6ad92279.js +62 -0
  1175. package/dist/esm/{wcag-7d25e12b.js.map → wcag-6ad92279.js.map} +1 -1
  1176. package/dist/esm/{win-1dbd3f5c.js → win-b64cd8a6.js} +16 -16
  1177. package/dist/esm/{win-1dbd3f5c.js.map → win-b64cd8a6.js.map} +1 -1
  1178. package/dist/hydrate/index.d.ts +36 -18
  1179. package/dist/hydrate/index.js +23081 -11875
  1180. package/dist/hydrate/index.mjs +24102 -0
  1181. package/dist/hydrate/package.json +7 -1
  1182. package/dist/stencil.config.js +78 -78
  1183. package/dist/stencil.config.js.map +1 -1
  1184. package/dist/types/components/gov-accordion/constants.d.ts +11 -11
  1185. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +53 -53
  1186. package/dist/types/components/gov-accordion/gov-accordion.d.ts +37 -37
  1187. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +4 -4
  1188. package/dist/types/components/gov-attachments/constants.d.ts +7 -7
  1189. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +2 -2
  1190. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +21 -21
  1191. package/dist/types/components/gov-attachments/gov-attachments.d.ts +17 -17
  1192. package/dist/types/components/gov-backdrop/constants.d.ts +2 -2
  1193. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +25 -25
  1194. package/dist/types/components/gov-breadcrumbs/constants.d.ts +1 -1
  1195. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +2 -2
  1196. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +38 -38
  1197. package/dist/types/components/gov-button/button/constants.d.ts +12 -12
  1198. package/dist/types/components/gov-button/button/gov-button.d.ts +176 -176
  1199. package/dist/types/components/gov-button/button/gov-button.types.d.ts +1 -1
  1200. package/dist/types/components/gov-button/dropdown/constants.d.ts +4 -4
  1201. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +34 -29
  1202. package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +1 -1
  1203. package/dist/types/components/gov-card/constants.d.ts +11 -11
  1204. package/dist/types/components/gov-card/gov-card.d.ts +56 -56
  1205. package/dist/types/components/gov-card/interfaces.d.ts +2 -2
  1206. package/dist/types/components/gov-chip/constants.d.ts +7 -7
  1207. package/dist/types/components/gov-chip/gov-chip.d.ts +89 -89
  1208. package/dist/types/components/gov-container/constants.d.ts +1 -1
  1209. package/dist/types/components/gov-container/gov-container.d.ts +10 -10
  1210. package/dist/types/components/gov-control-group/constants.d.ts +1 -1
  1211. package/dist/types/components/gov-control-group/gov-control-group.d.ts +13 -13
  1212. package/dist/types/components/gov-cookiebar/constants.d.ts +6 -6
  1213. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +4 -4
  1214. package/dist/types/components/gov-empty/constants.d.ts +4 -4
  1215. package/dist/types/components/gov-empty/gov-empty.d.ts +4 -4
  1216. package/dist/types/components/gov-error-code/constants.d.ts +4 -4
  1217. package/dist/types/components/gov-error-code/gov-error-code.d.ts +4 -4
  1218. package/dist/types/components/gov-form/autocomplete/constants.d.ts +5 -5
  1219. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +160 -160
  1220. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +3 -3
  1221. package/dist/types/components/gov-form/checkbox/constants.d.ts +3 -3
  1222. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +84 -84
  1223. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +2 -2
  1224. package/dist/types/components/gov-form/control/constants.d.ts +3 -3
  1225. package/dist/types/components/gov-form/control/gov-form-control.d.ts +44 -44
  1226. package/dist/types/components/gov-form/file/constants.d.ts +7 -7
  1227. package/dist/types/components/gov-form/file/gov-form-file.d.ts +138 -138
  1228. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +6 -6
  1229. package/dist/types/components/gov-form/group/constants.d.ts +5 -5
  1230. package/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +25 -25
  1231. package/dist/types/components/gov-form/group/gov-form-group.d.ts +15 -15
  1232. package/dist/types/components/gov-form/group/gov-form-group.types.d.ts +2 -2
  1233. package/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +26 -26
  1234. package/dist/types/components/gov-form/input/constants.d.ts +15 -15
  1235. package/dist/types/components/gov-form/input/gov-form-input.d.ts +184 -180
  1236. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +1 -1
  1237. package/dist/types/components/gov-form/label/constants.d.ts +2 -2
  1238. package/dist/types/components/gov-form/label/gov-form-label.d.ts +22 -22
  1239. package/dist/types/components/gov-form/message/constants.d.ts +3 -3
  1240. package/dist/types/components/gov-form/message/gov-form-message.d.ts +15 -15
  1241. package/dist/types/components/gov-form/multiselect/constants.d.ts +4 -4
  1242. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +140 -140
  1243. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +4 -4
  1244. package/dist/types/components/gov-form/password-power/constants.d.ts +3 -3
  1245. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +5 -5
  1246. package/dist/types/components/gov-form/radio/constants.d.ts +5 -5
  1247. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +84 -84
  1248. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +2 -2
  1249. package/dist/types/components/gov-form/search/constants.d.ts +3 -3
  1250. package/dist/types/components/gov-form/search/gov-form-search.d.ts +6 -6
  1251. package/dist/types/components/gov-form/select/constants.d.ts +2 -2
  1252. package/dist/types/components/gov-form/select/gov-form-select.d.ts +107 -107
  1253. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +4 -4
  1254. package/dist/types/components/gov-form/switch/constants.d.ts +4 -4
  1255. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +84 -84
  1256. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +2 -2
  1257. package/dist/types/components/gov-grid/constants.d.ts +2 -2
  1258. package/dist/types/components/gov-grid/gov-grid-item.d.ts +24 -24
  1259. package/dist/types/components/gov-grid/gov-grid.d.ts +12 -12
  1260. package/dist/types/components/gov-icon/constants.d.ts +5 -5
  1261. package/dist/types/components/gov-icon/gov-icon.d.ts +21 -21
  1262. package/dist/types/components/gov-icon/helpers.d.ts +2 -2
  1263. package/dist/types/components/gov-infobar/constants.d.ts +7 -7
  1264. package/dist/types/components/gov-infobar/gov-infobar.d.ts +45 -45
  1265. package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +1 -1
  1266. package/dist/types/components/gov-layout/constants.d.ts +8 -8
  1267. package/dist/types/components/gov-layout/gov-layout-column.d.ts +4 -4
  1268. package/dist/types/components/gov-layout/gov-layout.d.ts +17 -17
  1269. package/dist/types/components/gov-loading/loading/constants.d.ts +3 -3
  1270. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +4 -4
  1271. package/dist/types/components/gov-loading/skeleton/constants.d.ts +8 -8
  1272. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +48 -48
  1273. package/dist/types/components/gov-message/constants.d.ts +4 -4
  1274. package/dist/types/components/gov-message/gov-message.d.ts +9 -9
  1275. package/dist/types/components/gov-modal/constants.d.ts +12 -12
  1276. package/dist/types/components/gov-modal/gov-modal.d.ts +74 -66
  1277. package/dist/types/components/gov-nav/constants.d.ts +4 -4
  1278. package/dist/types/components/gov-nav/gov-nav-item.d.ts +10 -10
  1279. package/dist/types/components/gov-nav/gov-nav.d.ts +15 -15
  1280. package/dist/types/components/gov-pagination/constants.d.ts +10 -10
  1281. package/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -97
  1282. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +1 -1
  1283. package/dist/types/components/gov-pagination/pagination.d.ts +9 -9
  1284. package/dist/types/components/gov-promp/constants.d.ts +10 -10
  1285. package/dist/types/components/gov-promp/gov-prompt.d.ts +62 -62
  1286. package/dist/types/components/gov-side-nav/constants.d.ts +11 -11
  1287. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +2 -2
  1288. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +63 -63
  1289. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +28 -28
  1290. package/dist/types/components/gov-spacer/constants.d.ts +6 -6
  1291. package/dist/types/components/gov-spacer/gov-spacer.d.ts +15 -15
  1292. package/dist/types/components/gov-statsbar/constants.d.ts +7 -7
  1293. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +10 -10
  1294. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +16 -16
  1295. package/dist/types/components/gov-stepper/constants.d.ts +11 -11
  1296. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +2 -2
  1297. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +43 -43
  1298. package/dist/types/components/gov-stepper/gov-stepper.d.ts +15 -15
  1299. package/dist/types/components/gov-tabs/constants.d.ts +11 -11
  1300. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +43 -35
  1301. package/dist/types/components/gov-tabs/gov-tabs.d.ts +68 -67
  1302. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +7 -6
  1303. package/dist/types/components/gov-tag/constants.d.ts +1 -1
  1304. package/dist/types/components/gov-tag/gov-tag.d.ts +27 -27
  1305. package/dist/types/components/gov-tile/constants.d.ts +7 -7
  1306. package/dist/types/components/gov-tile/container/constants.d.ts +1 -1
  1307. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +13 -13
  1308. package/dist/types/components/gov-tile/gov-tile.d.ts +18 -18
  1309. package/dist/types/components/gov-toast/constants.d.ts +6 -6
  1310. package/dist/types/components/gov-toast/gov-toast.d.ts +49 -49
  1311. package/dist/types/components/gov-tooltip/constants.d.ts +6 -6
  1312. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +25 -25
  1313. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +52 -51
  1314. package/dist/types/components/gov-wizard/constants.d.ts +10 -10
  1315. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +2 -2
  1316. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +67 -67
  1317. package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +1 -1
  1318. package/dist/types/components/gov-wizard/gov-wizard.d.ts +28 -28
  1319. package/dist/types/components.d.ts +422 -0
  1320. package/dist/types/core/constants/sizes.d.ts +11 -11
  1321. package/dist/types/core/constants/tags.d.ts +9 -9
  1322. package/dist/types/core/constants/variants.d.ts +8 -8
  1323. package/dist/types/helpers/Dom/form.types.d.ts +8 -8
  1324. package/dist/types/helpers/Dom/template.types.d.ts +10 -10
  1325. package/dist/types/helpers/Dom/win.d.ts +14 -14
  1326. package/dist/types/helpers/Log/gov.log.d.ts +2 -2
  1327. package/dist/types/pages/Accordion.d.ts +1 -1
  1328. package/dist/types/pages/Breadcrumbs.d.ts +1 -1
  1329. package/dist/types/pages/Button.d.ts +1 -1
  1330. package/dist/types/pages/Card.d.ts +1 -1
  1331. package/dist/types/pages/Chip.d.ts +1 -1
  1332. package/dist/types/pages/Container.d.ts +1 -1
  1333. package/dist/types/pages/ControlGroup.d.ts +1 -1
  1334. package/dist/types/pages/Cookiebar.d.ts +1 -1
  1335. package/dist/types/pages/Empty.d.ts +1 -1
  1336. package/dist/types/pages/Error.d.ts +1 -1
  1337. package/dist/types/pages/FormLabel.d.ts +1 -1
  1338. package/dist/types/pages/FormMessage.d.ts +1 -1
  1339. package/dist/types/pages/Forms.d.ts +2 -2
  1340. package/dist/types/pages/FormsRestructure.d.ts +1 -1
  1341. package/dist/types/pages/Grid.d.ts +1 -1
  1342. package/dist/types/pages/Home.d.ts +1 -1
  1343. package/dist/types/pages/Infobar.d.ts +1 -1
  1344. package/dist/types/pages/Layout.d.ts +1 -1
  1345. package/dist/types/pages/Loading.d.ts +1 -1
  1346. package/dist/types/pages/Message.d.ts +1 -1
  1347. package/dist/types/pages/Modal.d.ts +1 -1
  1348. package/dist/types/pages/Nav.d.ts +1 -1
  1349. package/dist/types/pages/Pagination.d.ts +1 -1
  1350. package/dist/types/pages/Prompt.d.ts +1 -1
  1351. package/dist/types/pages/SideNav.d.ts +1 -1
  1352. package/dist/types/pages/Spacer.d.ts +1 -1
  1353. package/dist/types/pages/Statsbar.d.ts +1 -1
  1354. package/dist/types/pages/Stepper.d.ts +1 -1
  1355. package/dist/types/pages/Tabs.d.ts +1 -1
  1356. package/dist/types/pages/Tag.d.ts +1 -1
  1357. package/dist/types/pages/Tiles.d.ts +1 -1
  1358. package/dist/types/pages/ToastMessage.d.ts +1 -1
  1359. package/dist/types/pages/ToastMessageCountdown.d.ts +1 -1
  1360. package/dist/types/pages/Tooltip.d.ts +1 -1
  1361. package/dist/types/pages/Typography.d.ts +1 -1
  1362. package/dist/types/pages/Wizard.d.ts +1 -1
  1363. package/dist/types/stencil-public-runtime.d.ts +35 -13
  1364. package/dist/types/types/event.types.d.ts +2 -2
  1365. package/dist/types/utils/helpers.types.d.ts +12 -12
  1366. package/dist/types/utils/icon.utils.d.ts +2 -2
  1367. package/loader/cdn.js +1 -3
  1368. package/loader/index.cjs.js +1 -3
  1369. package/loader/index.d.ts +3 -0
  1370. package/loader/index.es2017.js +1 -3
  1371. package/loader/index.js +1 -3
  1372. package/package.json +7 -7
  1373. package/dist/cjs/array.utils-5a024b3a.js +0 -46
  1374. package/dist/cjs/array.utils-5a024b3a.js.map +0 -1
  1375. package/dist/cjs/constants-0c6c8e11.js +0 -30
  1376. package/dist/cjs/constants-25f7a6be.js +0 -22
  1377. package/dist/cjs/constants-2b1c31b8.js +0 -15
  1378. package/dist/cjs/constants-427a2843.js +0 -33
  1379. package/dist/cjs/constants-440cd5c8.js +0 -29
  1380. package/dist/cjs/constants-66cb0615.js +0 -20
  1381. package/dist/cjs/constants-6df82618.js +0 -21
  1382. package/dist/cjs/constants-97eea364.js +0 -14
  1383. package/dist/cjs/constants-caad94b4.js +0 -16
  1384. package/dist/cjs/constants-dde21dcf.js +0 -30
  1385. package/dist/cjs/form-893791cf.js +0 -163
  1386. package/dist/cjs/form-893791cf.js.map +0 -1
  1387. package/dist/cjs/gov.log-b842920d.js +0 -28
  1388. package/dist/cjs/helpers-2c870ff5.js +0 -19
  1389. package/dist/cjs/index-7b6bba34.js +0 -2721
  1390. package/dist/cjs/index-7b6bba34.js.map +0 -1
  1391. package/dist/cjs/props-d6146e54.js +0 -16
  1392. package/dist/cjs/sizes-79872c2a.js +0 -18
  1393. package/dist/cjs/stencil.utils-22814956.js +0 -11
  1394. package/dist/cjs/string.utils-0f08c48c.js +0 -24
  1395. package/dist/cjs/template-9534c584.js +0 -132
  1396. package/dist/cjs/template-9534c584.js.map +0 -1
  1397. package/dist/cjs/variants-f5ffeef3.js +0 -18
  1398. package/dist/cjs/wcag-e6257f27.js +0 -67
  1399. package/dist/components/p-003e6cca.js +0 -2
  1400. package/dist/components/p-033f8bda.js +0 -2
  1401. package/dist/components/p-033f8bda.js.map +0 -1
  1402. package/dist/components/p-04691758.js +0 -2
  1403. package/dist/components/p-04691758.js.map +0 -1
  1404. package/dist/components/p-0fa5ab52.js.map +0 -1
  1405. package/dist/components/p-1653073c.js.map +0 -1
  1406. package/dist/components/p-16ce28bd.js +0 -2
  1407. package/dist/components/p-16ce28bd.js.map +0 -1
  1408. package/dist/components/p-2dee9951.js +0 -2
  1409. package/dist/components/p-2dee9951.js.map +0 -1
  1410. package/dist/components/p-3464136c.js +0 -2
  1411. package/dist/components/p-3a04fb9b.js +0 -2
  1412. package/dist/components/p-3c71d697.js +0 -2
  1413. package/dist/components/p-4f23b264.js.map +0 -1
  1414. package/dist/components/p-4ff831e3.js +0 -2
  1415. package/dist/components/p-4ff831e3.js.map +0 -1
  1416. package/dist/components/p-6278531b.js +0 -2
  1417. package/dist/components/p-7f2c9830.js +0 -2
  1418. package/dist/components/p-9a4c910d.js +0 -2
  1419. package/dist/components/p-b8bb638e.js.map +0 -1
  1420. package/dist/components/p-b9ee51d6.js +0 -3
  1421. package/dist/components/p-b9ee51d6.js.map +0 -1
  1422. package/dist/components/p-e20bdd6e.js +0 -2
  1423. package/dist/components/p-e20bdd6e.js.map +0 -1
  1424. package/dist/components/p-f8b7ea69.js +0 -3
  1425. package/dist/components/p-f8b7ea69.js.map +0 -1
  1426. package/dist/components/p-fa1e4aea.js +0 -2
  1427. package/dist/core/p-0028fadc.entry.js +0 -2
  1428. package/dist/core/p-0028fadc.entry.js.map +0 -1
  1429. package/dist/core/p-003e6cca.js +0 -2
  1430. package/dist/core/p-0c5c6dee.entry.js.map +0 -1
  1431. package/dist/core/p-0e53df52.entry.js +0 -3
  1432. package/dist/core/p-0e53df52.entry.js.map +0 -1
  1433. package/dist/core/p-0f4f02a6.entry.js.map +0 -1
  1434. package/dist/core/p-127af1b4.entry.js.map +0 -1
  1435. package/dist/core/p-148613fd.entry.js.map +0 -1
  1436. package/dist/core/p-151f1b89.entry.js.map +0 -1
  1437. package/dist/core/p-1ebf3575.entry.js.map +0 -1
  1438. package/dist/core/p-1f769a40.entry.js.map +0 -1
  1439. package/dist/core/p-28a50f60.entry.js.map +0 -1
  1440. package/dist/core/p-2d15339f.entry.js +0 -3
  1441. package/dist/core/p-2d15339f.entry.js.map +0 -1
  1442. package/dist/core/p-2d1f3d62.entry.js +0 -2
  1443. package/dist/core/p-2d1f3d62.entry.js.map +0 -1
  1444. package/dist/core/p-30673e46.entry.js.map +0 -1
  1445. package/dist/core/p-3464136c.js +0 -2
  1446. package/dist/core/p-3a04fb9b.js +0 -2
  1447. package/dist/core/p-43fc5c70.entry.js.map +0 -1
  1448. package/dist/core/p-46467293.entry.js +0 -3
  1449. package/dist/core/p-46467293.entry.js.map +0 -1
  1450. package/dist/core/p-4988c0bb.entry.js.map +0 -1
  1451. package/dist/core/p-4c55142b.js +0 -2
  1452. package/dist/core/p-4d7ff31f.entry.js +0 -2
  1453. package/dist/core/p-4d7ff31f.entry.js.map +0 -1
  1454. package/dist/core/p-529ce9a4.entry.js.map +0 -1
  1455. package/dist/core/p-53e0ad52.entry.js +0 -2
  1456. package/dist/core/p-53e0ad52.entry.js.map +0 -1
  1457. package/dist/core/p-542ce647.entry.js +0 -2
  1458. package/dist/core/p-542ce647.entry.js.map +0 -1
  1459. package/dist/core/p-54fa7af5.entry.js +0 -2
  1460. package/dist/core/p-54fa7af5.entry.js.map +0 -1
  1461. package/dist/core/p-555eaa93.entry.js.map +0 -1
  1462. package/dist/core/p-55cb727e.entry.js.map +0 -1
  1463. package/dist/core/p-5bc604a3.js +0 -3
  1464. package/dist/core/p-5bc604a3.js.map +0 -1
  1465. package/dist/core/p-60963ed7.entry.js.map +0 -1
  1466. package/dist/core/p-60d681a6.entry.js +0 -2
  1467. package/dist/core/p-60d681a6.entry.js.map +0 -1
  1468. package/dist/core/p-6278531b.js +0 -2
  1469. package/dist/core/p-67096d72.entry.js.map +0 -1
  1470. package/dist/core/p-6bf8e7bf.entry.js.map +0 -1
  1471. package/dist/core/p-705efbf1.entry.js +0 -2
  1472. package/dist/core/p-705efbf1.entry.js.map +0 -1
  1473. package/dist/core/p-715dccc0.entry.js.map +0 -1
  1474. package/dist/core/p-71ca4aee.entry.js +0 -3
  1475. package/dist/core/p-71ca4aee.entry.js.map +0 -1
  1476. package/dist/core/p-72c5997f.entry.js.map +0 -1
  1477. package/dist/core/p-74882c70.entry.js +0 -2
  1478. package/dist/core/p-74882c70.entry.js.map +0 -1
  1479. package/dist/core/p-7724b535.js +0 -2
  1480. package/dist/core/p-7724b535.js.map +0 -1
  1481. package/dist/core/p-7abfd047.entry.js +0 -3
  1482. package/dist/core/p-7abfd047.entry.js.map +0 -1
  1483. package/dist/core/p-7d921045.entry.js +0 -3
  1484. package/dist/core/p-7d921045.entry.js.map +0 -1
  1485. package/dist/core/p-7f2c9830.js +0 -2
  1486. package/dist/core/p-90c068ff.entry.js.map +0 -1
  1487. package/dist/core/p-9469ecc2.entry.js +0 -2
  1488. package/dist/core/p-9469ecc2.entry.js.map +0 -1
  1489. package/dist/core/p-973da3e6.entry.js +0 -2
  1490. package/dist/core/p-973da3e6.entry.js.map +0 -1
  1491. package/dist/core/p-9a4c910d.js +0 -2
  1492. package/dist/core/p-9c04470d.entry.js +0 -2
  1493. package/dist/core/p-9c04470d.entry.js.map +0 -1
  1494. package/dist/core/p-9dab01be.js +0 -2
  1495. package/dist/core/p-a35484ed.entry.js +0 -2
  1496. package/dist/core/p-a35484ed.entry.js.map +0 -1
  1497. package/dist/core/p-aaf2510a.entry.js.map +0 -1
  1498. package/dist/core/p-ab1c25e7.entry.js +0 -3
  1499. package/dist/core/p-ab1c25e7.entry.js.map +0 -1
  1500. package/dist/core/p-b7e0b030.entry.js +0 -2
  1501. package/dist/core/p-b7e0b030.entry.js.map +0 -1
  1502. package/dist/core/p-b88d732b.entry.js +0 -3
  1503. package/dist/core/p-b88d732b.entry.js.map +0 -1
  1504. package/dist/core/p-bdd4ee7c.entry.js +0 -3
  1505. package/dist/core/p-bdd4ee7c.entry.js.map +0 -1
  1506. package/dist/core/p-c67ddbd3.entry.js.map +0 -1
  1507. package/dist/core/p-ce1486b8.entry.js +0 -2
  1508. package/dist/core/p-ce1486b8.entry.js.map +0 -1
  1509. package/dist/core/p-d07d3dcc.entry.js.map +0 -1
  1510. package/dist/core/p-d2c370d6.entry.js.map +0 -1
  1511. package/dist/core/p-d513468a.entry.js +0 -2
  1512. package/dist/core/p-d513468a.entry.js.map +0 -1
  1513. package/dist/core/p-d6eed6df.entry.js +0 -3
  1514. package/dist/core/p-d6eed6df.entry.js.map +0 -1
  1515. package/dist/core/p-dd4445ee.entry.js.map +0 -1
  1516. package/dist/core/p-e5bcedb7.entry.js +0 -2
  1517. package/dist/core/p-e5bcedb7.entry.js.map +0 -1
  1518. package/dist/core/p-eaedc9e3.entry.js +0 -2
  1519. package/dist/core/p-eaedc9e3.entry.js.map +0 -1
  1520. package/dist/core/p-f2206bbb.entry.js +0 -2
  1521. package/dist/core/p-f2206bbb.entry.js.map +0 -1
  1522. package/dist/core/p-f2f2c14a.entry.js.map +0 -1
  1523. package/dist/core/p-f3967a1d.entry.js.map +0 -1
  1524. package/dist/core/p-f4ef1b95.entry.js +0 -2
  1525. package/dist/core/p-f4ef1b95.entry.js.map +0 -1
  1526. package/dist/core/p-f6a4bf04.entry.js.map +0 -1
  1527. package/dist/core/p-fa1e4aea.js +0 -2
  1528. package/dist/core/p-fc710edb.entry.js.map +0 -1
  1529. package/dist/core/p-ff3323bd.entry.js +0 -3
  1530. package/dist/core/p-ff3323bd.entry.js.map +0 -1
  1531. package/dist/esm/array.utils-b27436ea.js +0 -43
  1532. package/dist/esm/array.utils-b27436ea.js.map +0 -1
  1533. package/dist/esm/constants-09bda759.js +0 -25
  1534. package/dist/esm/constants-2499979c.js +0 -24
  1535. package/dist/esm/constants-27b48cd1.js +0 -22
  1536. package/dist/esm/constants-2a283e9a.js +0 -18
  1537. package/dist/esm/constants-34a29ae2.js +0 -33
  1538. package/dist/esm/constants-3786b01b.js +0 -22
  1539. package/dist/esm/constants-3df712e2.js +0 -13
  1540. package/dist/esm/constants-47d7a8bc.js +0 -17
  1541. package/dist/esm/constants-6df4edc4.js +0 -29
  1542. package/dist/esm/constants-78474786.js +0 -25
  1543. package/dist/esm/constants-867ac6e2.js +0 -19
  1544. package/dist/esm/constants-887c5391.js +0 -23
  1545. package/dist/esm/constants-d71c09e0.js +0 -12
  1546. package/dist/esm/constants-ebec7de8.js +0 -12
  1547. package/dist/esm/form-b81fd97e.js +0 -145
  1548. package/dist/esm/form-b81fd97e.js.map +0 -1
  1549. package/dist/esm/gov.log-49da0221.js +0 -25
  1550. package/dist/esm/helpers-bc0fd116.js +0 -17
  1551. package/dist/esm/helpers-bc0fd116.js.map +0 -1
  1552. package/dist/esm/index-eb59f132.js +0 -2690
  1553. package/dist/esm/index-eb59f132.js.map +0 -1
  1554. package/dist/esm/polyfills/core-js.js +0 -11
  1555. package/dist/esm/polyfills/dom.js +0 -79
  1556. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1557. package/dist/esm/polyfills/index.js +0 -34
  1558. package/dist/esm/polyfills/system.js +0 -6
  1559. package/dist/esm/props-a85d9c89.js +0 -14
  1560. package/dist/esm/sizes-6c5943b4.js +0 -18
  1561. package/dist/esm/stencil.utils-7cb5b075.js +0 -9
  1562. package/dist/esm/string.utils-f268fc6b.js +0 -20
  1563. package/dist/esm/template-a0067bb6.js +0 -123
  1564. package/dist/esm/template-a0067bb6.js.map +0 -1
  1565. package/dist/esm/variants-2b936d58.js +0 -18
  1566. package/dist/esm/wcag-7d25e12b.js +0 -62
@@ -1,101 +1,102 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-eb59f132.js';
2
- import { g as govHost, a as toBoolAttr } from './template-a0067bb6.js';
3
- import { c as canValidateWcagOnRender } from './win-1dbd3f5c.js';
4
- import { a as govErrorLog } from './gov.log-49da0221.js';
5
- import { a as validateWcagRef } from './wcag-7d25e12b.js';
6
- import { c as createID } from './string.utils-f268fc6b.js';
7
- import { d as delay } from './utils-c057a3fa.js';
8
- import { M as ModalClass } from './constants-2a283e9a.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-84a63a3e.js';
2
+ import { g as govHost, a as toBoolAttr } from './template-94812ab3.js';
3
+ import { c as canValidateWcagOnRender } from './win-b64cd8a6.js';
4
+ import { a as govErrorLog } from './gov.log-431da6b2.js';
5
+ import { a as validateWcagRef } from './wcag-6ad92279.js';
6
+ import { c as createID } from './string.utils-5ce3f551.js';
7
+ import { d as delay } from './utils-e10e994d.js';
8
+ import { M as ModalClass } from './constants-f63d2d63.js';
9
9
 
10
10
  const govPromptCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-modal{display:none}.gov-modal__dialog{z-index:101;position:fixed;top:50%;left:50%;display:flex;justify-content:center;align-items:center;width:100%;max-width:var(--gov-modal-max-width, 52.5rem);height:100%;padding:0.5rem;border:none;background:transparent;transform:translate(-50%, -50%);pointer-events:none}.gov-modal__inner{position:relative;display:flex;flex-direction:column;width:100%;max-height:100%;border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-modal-bg, var(--gov-color-neutral-white));overflow:hidden;pointer-events:auto;box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-modal__header{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem 1rem;border-bottom:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__icon{flex:0 0 auto;padding-top:calc((var(--gov-text-3xl-font-size) * 1.5 - 1.5rem) / 2)}.gov-modal__icon>*{width:1.5rem;height:1.5rem}.gov-modal__title{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin:0}.gov-modal__close{flex:0 0 auto;margin-left:auto}.gov-modal__content{height:100%;padding:1.5rem 1rem;color:var(--gov-modal-text-color, var(--gov-color-secondary-700));overflow:auto}.gov-modal__content>*:last-child{margin-bottom:0}.gov-modal__footer,.gov-modal__actions{padding:1.5rem 1rem;border-top:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__actions{display:flex;gap:0.5rem 1rem;flex-wrap:wrap;justify-content:flex-end}.gov-modal__dialog:focus .gov-modal__inner{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}.gov-modal[open=\"\"],.gov-modal[open=true i],.gov-modal[open=\"1\"]{display:block}@media (min-width: 30em){.gov-modal__dialog{max-width:calc(var(--gov-modal-max-width, 52.5rem) + 3rem);padding:1.5rem}.gov-modal__dialog:focus{outline-offset:-1.5rem}.gov-modal__inner{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-modal--prompt .gov-modal__dialog{max-width:calc(var(--gov-modal-prompt-max-width, 33.125rem) + 3rem)}}@media (min-width: 48em){.gov-modal__header{gap:1.25rem;padding:2rem 2.5rem 2rem 3rem}.gov-modal__content{padding:2rem 3rem}.gov-modal__footer{padding:1rem 3rem}.gov-modal--prompt .gov-modal__header,.gov-modal--prompt .gov-modal__content,.gov-modal--prompt .gov-modal__footer,.gov-modal--prompt .gov-modal__actions{padding:1.5rem}}";
11
+ const GovPromptStyle0 = govPromptCss;
11
12
 
12
13
  const GovPrompt = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
15
- this.govClose = createEvent(this, "gov-close", 7);
16
- this.open = false;
17
- this.label = undefined;
18
- this.role = 'dialog';
19
- this.labelTag = 'h2';
20
- this.wcagLabelledBy = undefined;
21
- this.wcagDescribedBy = undefined;
22
- this.wcagCloseLabel = 'Zavřít okno';
23
- this.wcagCloseLabelledBy = undefined;
24
- this.h = govHost(this.host);
25
- this.labelId = createID('GovPromptLabel');
26
- this.contentId = createID('GovPromptContent');
27
- }
28
- validateLabelTag(newValue) {
29
- const validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
30
- if (newValue) {
31
- if (!validTags.includes(newValue)) {
32
- govErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`);
33
- }
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ this.govClose = createEvent(this, "gov-close", 7);
17
+ this.open = false;
18
+ this.label = undefined;
19
+ this.role = 'dialog';
20
+ this.labelTag = 'h2';
21
+ this.wcagLabelledBy = undefined;
22
+ this.wcagDescribedBy = undefined;
23
+ this.wcagCloseLabel = 'Zavřít okno';
24
+ this.wcagCloseLabelledBy = undefined;
25
+ this.h = govHost(this.host);
26
+ this.labelId = createID('GovPromptLabel');
27
+ this.contentId = createID('GovPromptContent');
34
28
  }
35
- }
36
- watchOpen(newValue) {
37
- this.open = newValue;
38
- if (newValue && this.closeCtaRef) {
39
- this.closeCtaRef.setFocus().catch();
29
+ validateLabelTag(newValue) {
30
+ const validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
31
+ if (newValue) {
32
+ if (!validTags.includes(newValue)) {
33
+ govErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`);
34
+ }
35
+ }
40
36
  }
41
- }
42
- showModal() {
43
- this.open = true;
44
- document.body.classList.add(ModalClass.bodyFix);
45
- }
46
- hideModal() {
47
- this.open = false;
48
- document.body.classList.remove(ModalClass.bodyFix);
49
- }
50
- async componentWillRender() {
51
- if (this.open) {
52
- this.showModal();
37
+ watchOpen(newValue) {
38
+ this.open = newValue;
39
+ if (newValue && this.closeCtaRef) {
40
+ this.closeCtaRef.setFocus().catch();
41
+ }
53
42
  }
54
- else {
55
- this.hideModal();
43
+ showModal() {
44
+ this.open = true;
45
+ document.body.classList.add(ModalClass.bodyFix);
56
46
  }
57
- }
58
- async componentDidRender() {
59
- if (canValidateWcagOnRender()) {
60
- await delay(500);
61
- await this.validateWcag();
47
+ hideModal() {
48
+ this.open = false;
49
+ document.body.classList.remove(ModalClass.bodyFix);
62
50
  }
63
- }
64
- render() {
65
- const LabelTag = this.labelTag;
66
- return (h(Host, { class: this.h.classes(ModalClass.rootPrompt), open: this.open }, h("dialog", { class: ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, h("div", { class: ModalClass.inner }, h("div", { class: ModalClass.header }, this.h.hasSlot('icon') && (h("div", { class: ModalClass.icon }, h("slot", { name: "icon" }))), this.label && (h(LabelTag, { class: ModalClass.title, id: this.labelId }, this.label)), h("gov-button", { class: ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", ref: el => (this.closeCtaRef = el), "on-gov-click": this.onCloseHandler.bind(this) }, h("gov-icon", { name: "x-lg" }))), h("div", { class: ModalClass.content, id: this.contentId }, h("slot", null)), h("div", { class: ModalClass.actions }, h("slot", { name: "actions" })))), this.open ? (h("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
67
- }
68
- onCloseHandler(e) {
69
- e.stopPropagation();
70
- this.hideModal();
71
- this.govClose.emit(e);
72
- }
73
- /**
74
- * Showing the modal
75
- */
76
- async show() {
77
- this.showModal();
78
- }
79
- /**
80
- * Hiding the modal
81
- */
82
- async hide() {
83
- this.hideModal();
84
- }
85
- /**
86
- * Validate the WCAG attributes of the component
87
- */
88
- async validateWcag() {
89
- validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root);
90
- validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root);
91
- }
92
- get host() { return getElement(this); }
93
- static get watchers() { return {
94
- "labelTag": ["validateLabelTag"],
95
- "open": ["watchOpen"]
96
- }; }
51
+ async componentWillRender() {
52
+ if (this.open) {
53
+ this.showModal();
54
+ }
55
+ else {
56
+ this.hideModal();
57
+ }
58
+ }
59
+ async componentDidRender() {
60
+ if (canValidateWcagOnRender()) {
61
+ await delay(500);
62
+ await this.validateWcag();
63
+ }
64
+ }
65
+ render() {
66
+ const LabelTag = this.labelTag;
67
+ return (h(Host, { key: 'eafb47c3de00f2944cf648244a0cc4d57579c7ff', class: this.h.classes(ModalClass.rootPrompt), open: this.open }, h("dialog", { key: '4e93478ea3a360bb6249725b4299f1db89626e72', class: ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, h("div", { key: '0e4dc70872d6bab33e36e192ec921a05e278e844', class: ModalClass.inner }, h("div", { key: '3be8a8bed33a9640dcba8e8374512efadb4c4a63', class: ModalClass.header }, this.h.hasSlot('icon') && (h("div", { key: '76931e2ab2a270ce04a71c7d8d32ead065da6eca', class: ModalClass.icon }, h("slot", { key: '3a49590e4c2b67742aa7202e440408a307975ad3', name: "icon" }))), this.label && (h(LabelTag, { key: '8e3cd8b4940f6222e15efb63317e151efa2e6b5f', class: ModalClass.title, id: this.labelId }, this.label)), h("gov-button", { key: '23de5a7c3bb39f3896c134665aa564d584160914', class: ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", ref: el => (this.closeCtaRef = el), "on-gov-click": this.onCloseHandler.bind(this) }, h("gov-icon", { key: '4769f23e5e772c92ed07ba8244d2da674acb8d33', name: "x-lg" }))), h("div", { key: '1b181dd790d066b2aa943c91ef2e0f47f8a0e5df', class: ModalClass.content, id: this.contentId }, h("slot", { key: '04cf9527b390b134ee7900ff3283b84cb5b6cdcb' })), h("div", { key: '350de95cfb9e765da4ebdc8f0f179bcc040baf28', class: ModalClass.actions }, h("slot", { key: '206f016467e43154a75c02c2708a65a589d09710', name: "actions" })))), this.open ? (h("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
68
+ }
69
+ onCloseHandler(e) {
70
+ e.stopPropagation();
71
+ this.hideModal();
72
+ this.govClose.emit(e);
73
+ }
74
+ /**
75
+ * Showing the modal
76
+ */
77
+ async show() {
78
+ this.showModal();
79
+ }
80
+ /**
81
+ * Hiding the modal
82
+ */
83
+ async hide() {
84
+ this.hideModal();
85
+ }
86
+ /**
87
+ * Validate the WCAG attributes of the component
88
+ */
89
+ async validateWcag() {
90
+ validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root);
91
+ validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root);
92
+ }
93
+ get host() { return getElement(this); }
94
+ static get watchers() { return {
95
+ "labelTag": ["validateLabelTag"],
96
+ "open": ["watchOpen"]
97
+ }; }
97
98
  };
98
- GovPrompt.style = govPromptCss;
99
+ GovPrompt.style = GovPromptStyle0;
99
100
 
100
101
  export { GovPrompt as gov_prompt };
101
102
 
@@ -1 +1 @@
1
- {"file":"gov-prompt.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-promp/gov-prompt.scss?tag=gov-prompt","../../../packages/core/src/components/gov-promp/gov-prompt.tsx"],"sourcesContent":["/*\n * Prompt\n */\n\n// $class: \".gov-prompt\";\n@import \"../gov-modal/gov-modal.scss\";\n\n// #{$class} {\n// \t//\n// }\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govErrorLog} from '../../helpers/Log/gov.log'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {delay} from '../../utils/utils'\nimport {ModalClass} from '../gov-modal/constants'\n\n@Component({\n\ttag: 'gov-prompt',\n\tstyleUrl: 'gov-prompt.scss',\n})\nexport class GovPrompt {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovPromptLabel')\n\t\tthis.contentId = createID('GovPromptContent')\n\t}\n\n\t@Element() host: HTMLGovPromptElement\n\t/**\n\t * Attribute for modal window display\n\t */\n\t@Prop({mutable: true}) open = false\n\t/**\n\t * Title of modal window\n\t */\n\t@Prop() label: string\n\t/**\n\t * Role of modal\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the modal label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'wcag-labelled-by'}) wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the modal.\n\t */\n\t@Prop({attribute: 'wcag-described-by'}) wcagDescribedBy: string\n\t/**\n\t * Adds accessible label for the modal close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'wcag-close-label'}) readonly wcagCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the modal window\n\t */\n\t@Prop({attribute: 'wcag-close-labelled-by'}) wcagCloseLabelledBy: string\n\t/**\n\t * Emitted when modal window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('labelTag')\n\tvalidateLabelTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tif (newValue && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\tprivate showModal() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(ModalClass.bodyFix)\n\t}\n\n\tprivate hideModal() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(ModalClass.bodyFix)\n\t}\n\n\tasync componentWillRender() {\n\t\tif (this.open) {\n\t\t\tthis.showModal()\n\t\t} else {\n\t\t\tthis.hideModal()\n\t\t}\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst LabelTag = this.labelTag\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ModalClass.rootPrompt)} open={this.open}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={ModalClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.wcagDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={ModalClass.inner}>\n\t\t\t\t\t\t<div class={ModalClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<div class={ModalClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.label && (\n\t\t\t\t\t\t\t\t<LabelTag class={ModalClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t\t\t</LabelTag>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tclass={ModalClass.close}\n\t\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\t\twcagLabel={this.wcagCloseLabel}\n\t\t\t\t\t\t\t\twcagLabelledBy={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon name=\"x-lg\"/>\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.actions}>\n\t\t\t\t\t\t\t<slot name=\"actions\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop wcag-label={this.wcagCloseLabel} wcag-labelled-by={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\tthis.hideModal()\n\t\tthis.govClose.emit(e)\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showModal()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.hideModal()\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-prompt.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-promp/gov-prompt.scss?tag=gov-prompt","../../../packages/core/src/components/gov-promp/gov-prompt.tsx"],"sourcesContent":["/*\n * Prompt\n */\n\n// $class: \".gov-prompt\";\n@import \"../gov-modal/gov-modal.scss\";\n\n// #{$class} {\n// \t//\n// }\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govErrorLog} from '../../helpers/Log/gov.log'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {delay} from '../../utils/utils'\nimport {ModalClass} from '../gov-modal/constants'\n\n@Component({\n\ttag: 'gov-prompt',\n\tstyleUrl: 'gov-prompt.scss',\n})\nexport class GovPrompt {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovPromptLabel')\n\t\tthis.contentId = createID('GovPromptContent')\n\t}\n\n\t@Element() host: HTMLGovPromptElement\n\t/**\n\t * Attribute for modal window display\n\t */\n\t@Prop({mutable: true}) open = false\n\t/**\n\t * Title of modal window\n\t */\n\t@Prop() label: string\n\t/**\n\t * Role of modal\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the modal label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'wcag-labelled-by'}) wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the modal.\n\t */\n\t@Prop({attribute: 'wcag-described-by'}) wcagDescribedBy: string\n\t/**\n\t * Adds accessible label for the modal close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'wcag-close-label'}) readonly wcagCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the modal window\n\t */\n\t@Prop({attribute: 'wcag-close-labelled-by'}) wcagCloseLabelledBy: string\n\t/**\n\t * Emitted when modal window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('labelTag')\n\tvalidateLabelTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tif (newValue && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\tprivate showModal() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(ModalClass.bodyFix)\n\t}\n\n\tprivate hideModal() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(ModalClass.bodyFix)\n\t}\n\n\tasync componentWillRender() {\n\t\tif (this.open) {\n\t\t\tthis.showModal()\n\t\t} else {\n\t\t\tthis.hideModal()\n\t\t}\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst LabelTag = this.labelTag\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ModalClass.rootPrompt)} open={this.open}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={ModalClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.wcagDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={ModalClass.inner}>\n\t\t\t\t\t\t<div class={ModalClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<div class={ModalClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.label && (\n\t\t\t\t\t\t\t\t<LabelTag class={ModalClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t\t\t</LabelTag>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tclass={ModalClass.close}\n\t\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\t\twcagLabel={this.wcagCloseLabel}\n\t\t\t\t\t\t\t\twcagLabelledBy={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon name=\"x-lg\"/>\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.actions}>\n\t\t\t\t\t\t\t<slot name=\"actions\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop wcag-label={this.wcagCloseLabel} wcag-labelled-by={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\tthis.hideModal()\n\t\tthis.govClose.emit(e)\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showModal()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.hideModal()\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root)\n\t}\n}\n"],"version":3}
@@ -1,82 +1,83 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-eb59f132.js';
2
- import { a as govErrorLog } from './gov.log-49da0221.js';
3
- import { S as SideNavItemClass } from './constants-867ac6e2.js';
4
- import { g as govHost, p as prepareClasses, b as booleanString } from './template-a0067bb6.js';
5
- import './win-1dbd3f5c.js';
6
- import './utils-c057a3fa.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-84a63a3e.js';
2
+ import { a as govErrorLog } from './gov.log-431da6b2.js';
3
+ import { S as SideNavItemClass } from './constants-1998bac1.js';
4
+ import { g as govHost, p as prepareClasses, b as booleanString } from './template-94812ab3.js';
5
+ import './win-b64cd8a6.js';
6
+ import './utils-e10e994d.js';
7
7
 
8
8
  const govSideNavItemCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-side-nav-item{position:relative;display:block;width:100%}.gov-side-nav-item__header{display:flex;align-items:center;border-bottom:var(--gov-side-nav-border, 0.0625rem solid var(--gov-color-secondary-500))}.gov-side-nav-item__name{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);display:flex;gap:1rem;flex:1 1 auto;justify-content:flex-start;padding:0.75rem 1rem 0.75rem 0.5rem;color:var(--gov-side-nav-color, var(--gov-color-secondary));text-align:left;transition:background-color 150ms}.gov-side-nav-item__name:focus{outline:none}.gov-side-nav-item__name:focus{outline:none}.gov-side-nav-item__name:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}button.gov-side-nav-item__name{padding-right:0 !important}@media not all and (pointer: coarse){.gov-side-nav-item__name:hover{background:var(--gov-side-nav-hover-bg, var(--gov-color-primary-200))}}.gov-side-nav-item__icon{display:flex;flex:0 0 auto;width:1rem;height:1rem}.gov-side-nav-item__icon .gov-icon{margin:0;color:var(--gov-side-nav-color, var(--gov-color-secondary))}.gov-side-nav-item__label{color:inherit}.gov-side-nav-item__chip{display:flex;flex:0 0 auto}.gov-side-nav-item__arrow{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;align-self:stretch;width:3rem;margin-left:auto;color:var(--gov-side-nav-arrow-color, var(--gov-color-primary));transition:background-color 150ms}.gov-side-nav-item__arrow:focus{outline:none}.gov-side-nav-item__arrow:focus{outline:none}.gov-side-nav-item__arrow:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-side-nav-item__arrow .gov-icon{width:0.75rem;height:0.75rem}@media not all and (pointer: coarse){.gov-side-nav-item__arrow:hover{background:var(--gov-side-nav-hover-bg, var(--gov-color-primary-200))}}.gov-side-nav-item__content{display:none}.gov-side-nav-item--w-icon .gov-side-nav-item__label{margin-left:2rem}.gov-side-nav-item--w-icon .gov-side-nav-item__icon+.gov-side-nav-item__label{margin-left:0}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__header{border:none !important}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__name{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);padding:0.625rem 0.5rem;font-weight:bold}.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"]{background:var(--gov-side-nav-bg-level-2, var(--gov-color-secondary-300))}.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=\"1\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=\"1\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=\"1\"]{background:var(--gov-side-nav-bg-level-2, var(--gov-color-neutral-white))}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__name{gap:0.75rem;font-weight:inherit}.gov-side-nav-item[compact=\"\"] .gov-side-nav-item__header,.gov-side-nav-item[compact=true i] .gov-side-nav-item__header,.gov-side-nav-item[compact=\"1\"] .gov-side-nav-item__header{border-bottom:none}.gov-side-nav-item[aria-expanded=\"\"]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon,.gov-side-nav-item[aria-expanded=true i]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon,.gov-side-nav-item[aria-expanded=\"1\"]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon{transform:scale(-1)}.gov-side-nav-item[aria-expanded=\"\"]>.gov-side-nav-item__content,.gov-side-nav-item[aria-expanded=true i]>.gov-side-nav-item__content,.gov-side-nav-item[aria-expanded=\"1\"]>.gov-side-nav-item__content{display:block}";
9
+ const GovSideNavItemStyle0 = govSideNavItemCss;
9
10
 
10
11
  const GovSideNavItem = class {
11
- constructor(hostRef) {
12
- registerInstance(this, hostRef);
13
- this.govChange = createEvent(this, "gov-change", 7);
14
- this.isExpandedState = undefined;
15
- this.inverse = false;
16
- this.compact = false;
17
- this.identifier = undefined;
18
- this.count = false;
19
- this.label = undefined;
20
- this.disabled = false;
21
- this.href = undefined;
22
- this.isExpanded = false;
23
- this.h = govHost(this.host);
24
- }
25
- validateLabel(newValue) {
26
- if (!newValue) {
27
- govErrorLog(`[${SideNavItemClass.root}]: Parameter label is required.`);
12
+ constructor(hostRef) {
13
+ registerInstance(this, hostRef);
14
+ this.govChange = createEvent(this, "gov-change", 7);
15
+ this.isExpandedState = undefined;
16
+ this.inverse = false;
17
+ this.compact = false;
18
+ this.identifier = undefined;
19
+ this.count = false;
20
+ this.label = undefined;
21
+ this.disabled = false;
22
+ this.href = undefined;
23
+ this.isExpanded = false;
24
+ this.h = govHost(this.host);
28
25
  }
29
- }
30
- emmitChange() {
31
- this.govChange.emit({ open: this.isExpandedState, element: this.host });
32
- }
33
- componentWillLoad() {
34
- this.isExpandedState = this.isExpanded;
35
- this.validateLabel(this.label);
36
- }
37
- get classNames() {
38
- const { h } = this;
39
- return prepareClasses([SideNavItemClass.root, h.hasSlot('icon') && SideNavItemClass.rootWithIcon]);
40
- }
41
- render() {
42
- const { isExpandedState, label } = this;
43
- // TODO: správný počet zanořených childů
44
- const hasChilds = this.host.children.length > 1;
45
- return (h(Host, { class: this.classNames, role: "listitem", inverse: this.inverse, "aria-expanded": booleanString(isExpandedState) }, this.href ? (h("div", { class: SideNavItemClass.header }, h("a", { class: SideNavItemClass.name, href: this.href }, this.h.hasSlot('icon') && (h("span", { class: SideNavItemClass.icon }, h("slot", { name: "icon" }))), h("span", { class: SideNavItemClass.label }, label), this.count && (h("span", { class: SideNavItemClass.chip }, h("gov-chip", { variant: "secondary", size: "s", inverse: this.inverse }, "3")))), hasChilds && (h("button", { type: "button", class: SideNavItemClass.arrow, onClick: () => this.toggle() }, h("gov-icon", { name: "chevron-down" }))))) : (h("div", { class: SideNavItemClass.header }, h("button", { class: SideNavItemClass.name, type: "button", onClick: () => this.toggle() }, this.h.hasSlot('icon') && (h("span", { class: SideNavItemClass.icon }, h("slot", { name: "icon" }))), h("span", { class: SideNavItemClass.label }, label), hasChilds && (h("span", { class: SideNavItemClass.arrow }, h("gov-icon", { name: "chevron-down" })))))), hasChilds && (h("div", { class: SideNavItemClass.content }, h("slot", null)))));
46
- }
47
- /**
48
- * Opening the sidenav
49
- */
50
- async open() {
51
- this.isExpandedState = true;
52
- this.emmitChange();
53
- }
54
- /**
55
- * Closing the sidenav
56
- */
57
- async close() {
58
- this.isExpandedState = false;
59
- this.emmitChange();
60
- }
61
- /**
62
- * sidenav switch
63
- */
64
- async toggle() {
65
- this.isExpandedState = !this.isExpandedState;
66
- this.emmitChange();
67
- }
68
- /**
69
- * Returns the current state of the component
70
- */
71
- async currentState() {
72
- return this.isExpandedState;
73
- }
74
- get host() { return getElement(this); }
75
- static get watchers() { return {
76
- "label": ["validateLabel"]
77
- }; }
26
+ validateLabel(newValue) {
27
+ if (!newValue) {
28
+ govErrorLog(`[${SideNavItemClass.root}]: Parameter label is required.`);
29
+ }
30
+ }
31
+ emmitChange() {
32
+ this.govChange.emit({ open: this.isExpandedState, element: this.host });
33
+ }
34
+ componentWillLoad() {
35
+ this.isExpandedState = this.isExpanded;
36
+ this.validateLabel(this.label);
37
+ }
38
+ get classNames() {
39
+ const { h } = this;
40
+ return prepareClasses([SideNavItemClass.root, h.hasSlot('icon') && SideNavItemClass.rootWithIcon]);
41
+ }
42
+ render() {
43
+ const { isExpandedState, label } = this;
44
+ // TODO: správný počet zanořených childů
45
+ const hasChilds = this.host.children.length > 1;
46
+ return (h(Host, { key: 'f8390dc60ed9cdf08e407dad71d23d6d885dd8fd', class: this.classNames, role: "listitem", inverse: this.inverse, "aria-expanded": booleanString(isExpandedState) }, this.href ? (h("div", { class: SideNavItemClass.header }, h("a", { class: SideNavItemClass.name, href: this.href }, this.h.hasSlot('icon') && (h("span", { class: SideNavItemClass.icon }, h("slot", { name: "icon" }))), h("span", { class: SideNavItemClass.label }, label), this.count && (h("span", { class: SideNavItemClass.chip }, h("gov-chip", { variant: "secondary", size: "s", inverse: this.inverse }, "3")))), hasChilds && (h("button", { type: "button", class: SideNavItemClass.arrow, onClick: () => this.toggle() }, h("gov-icon", { name: "chevron-down" }))))) : (h("div", { class: SideNavItemClass.header }, h("button", { class: SideNavItemClass.name, type: "button", onClick: () => this.toggle() }, this.h.hasSlot('icon') && (h("span", { class: SideNavItemClass.icon }, h("slot", { name: "icon" }))), h("span", { class: SideNavItemClass.label }, label), hasChilds && (h("span", { class: SideNavItemClass.arrow }, h("gov-icon", { name: "chevron-down" })))))), hasChilds && (h("div", { key: '679bafab6040bf267fecefd362fb202ccb6e6706', class: SideNavItemClass.content }, h("slot", { key: '835734ba7e65a8ff8911282e0ee23ee43a080b70' })))));
47
+ }
48
+ /**
49
+ * Opening the sidenav
50
+ */
51
+ async open() {
52
+ this.isExpandedState = true;
53
+ this.emmitChange();
54
+ }
55
+ /**
56
+ * Closing the sidenav
57
+ */
58
+ async close() {
59
+ this.isExpandedState = false;
60
+ this.emmitChange();
61
+ }
62
+ /**
63
+ * sidenav switch
64
+ */
65
+ async toggle() {
66
+ this.isExpandedState = !this.isExpandedState;
67
+ this.emmitChange();
68
+ }
69
+ /**
70
+ * Returns the current state of the component
71
+ */
72
+ async currentState() {
73
+ return this.isExpandedState;
74
+ }
75
+ get host() { return getElement(this); }
76
+ static get watchers() { return {
77
+ "label": ["validateLabel"]
78
+ }; }
78
79
  };
79
- GovSideNavItem.style = govSideNavItemCss;
80
+ GovSideNavItem.style = GovSideNavItemStyle0;
80
81
 
81
82
  export { GovSideNavItem as gov_side_nav_item };
82
83
 
@@ -1 +1 @@
1
- {"file":"gov-side-nav-item.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.scss?tag=gov-side-nav-item","../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.tsx"],"sourcesContent":["/*\n * Side nav - Item\n */\n\n$class: \".gov-side-nav-item\";\n\n#{$class} {\n\t@include base();\n\t&__header {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tborder-bottom: $side-nav-border;\n\t}\n\t&__name {\n\t\t@include button-core();\n\t\t@include typography($font-size-m);\n\t\t@include focus-outline();\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex: 1 1 auto;\n\t\tjustify-content: flex-start;\n\t\tpadding: rem-calc(12 16 12 8);\n\t\tcolor: $side-nav-color;\n\t\ttext-align: left;\n\t\ttransition: background-color $t;\n\t\t@at-root button#{&} {\n\t\t\tpadding-right: 0 !important;\n\t\t}\n\n\t\t// HOVERS\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__icon {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(16);\n\t\theight: rem-calc(16);\n\t\t.gov-icon {\n\t\t\tmargin: 0;\n\t\t\tcolor: $side-nav-color;\n\t\t}\n\t}\n\t&__label {\n\t\tcolor: inherit;\n\t}\n\t&__chip {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t}\n\t&__arrow {\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\tflex: 0 0 auto;\n\t\talign-self: stretch;\n\t\twidth: rem-calc(48);\n\t\tmargin-left: auto;\n\t\tcolor: $side-nav-arrow-color;\n\t\ttransition: background-color $t;\n\t\t.gov-icon {\n\t\t\twidth: rem-calc(12);\n\t\t\theight: rem-calc(12);\n\t\t}\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__content {\n\t\tdisplay: none;\n\t}\n\n\t// VARIANTS\n\t&--w-icon &__label {\n\t\tmargin-left: rem-calc(32);\n\t}\n\t&--w-icon &__icon + &__label {\n\t\tmargin-left: 0;\n\t}\n\t// nested styles\n\t& & {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder: none !important;\n\t\t\t}\n\t\t\t&__name {\n\t\t\t\t@include typography($font-size-s);\n\t\t\t\tpadding: rem-calc(10 8);\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t}\n\t\t@include parameter(\"aria-expanded\") {\n\t\t\tbackground: $side-nav-bg-level-2;\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tbackground: $side-nav-bg-level-2-inverse;\n\t\t\t}\n\t\t}\n\t}\n\t& & & {\n\t\t#{$class} {\n\t\t\t&__name {\n\t\t\t\tgap: rem-calc(12);\n\t\t\t\tfont-weight: inherit;\n\t\t\t}\n\t\t}\n\t}\n\t@include parameter(\"compact\") {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder-bottom: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t@include parameter(\"aria-expanded\") {\n\t\t& > #{$class}__header #{$class}__arrow .gov-icon {\n\t\t\ttransform: scale(-1);\n\t\t}\n\t\t& > #{$class}__content {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { SideNavItemClass } from './constants'\nimport { booleanString, prepareClasses } from '../../helpers/Dom/template'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-side-nav-item',\n\tstyleUrl: 'gov-side-nav-item.scss',\n})\nexport class GovSideNavItem {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovSideNavItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Custom sidenav item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defined the count of nested items\n\t */\n\t@Prop() readonly count: boolean = false\n\t/**\n\t * Item name of the sidenav\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Defines whether the sidenav is open or closed by button\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\t@Watch('label')\n\tvalidateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${SideNavItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ open: this.isExpandedState, element: this.host })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpandedState = this.isExpanded\n\t\tthis.validateLabel(this.label)\n\t}\n\n\tget classNames(): string {\n\t\tconst { h } = this\n\n\t\treturn prepareClasses([SideNavItemClass.root, h.hasSlot('icon') && SideNavItemClass.rootWithIcon])\n\t}\n\n\trender() {\n\t\tconst { isExpandedState, label } = this\n\t\t// TODO: správný počet zanořených childů\n\t\tconst hasChilds = this.host.children.length > 1\n\n\t\treturn (\n\t\t\t<Host class={this.classNames} role=\"listitem\" inverse={this.inverse} aria-expanded={booleanString(isExpandedState)}>\n\t\t\t\t{this.href ? (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<a class={SideNavItemClass.name} href={this.href}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{this.count && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.chip}>\n\t\t\t\t\t\t\t\t\t<gov-chip variant=\"secondary\" size=\"s\" inverse={this.inverse}>\n\t\t\t\t\t\t\t\t\t\t{/* // TODO: správný počet zanořených childů */}3\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</a>\n\n\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t<button type=\"button\" class={SideNavItemClass.arrow} onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<button class={SideNavItemClass.name} type=\"button\" onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.arrow}>\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\n\t\t\t\t{hasChilds && (\n\t\t\t\t\t<div class={SideNavItemClass.content}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the sidenav\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpandedState = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the sidenav\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.isExpandedState = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * sidenav switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.isExpandedState = !this.isExpandedState\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-side-nav-item.entry.js","mappings":"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","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.scss?tag=gov-side-nav-item","../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.tsx"],"sourcesContent":["/*\n * Side nav - Item\n */\n\n$class: \".gov-side-nav-item\";\n\n#{$class} {\n\t@include base();\n\t&__header {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tborder-bottom: $side-nav-border;\n\t}\n\t&__name {\n\t\t@include button-core();\n\t\t@include typography($font-size-m);\n\t\t@include focus-outline();\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex: 1 1 auto;\n\t\tjustify-content: flex-start;\n\t\tpadding: rem-calc(12 16 12 8);\n\t\tcolor: $side-nav-color;\n\t\ttext-align: left;\n\t\ttransition: background-color $t;\n\t\t@at-root button#{&} {\n\t\t\tpadding-right: 0 !important;\n\t\t}\n\n\t\t// HOVERS\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__icon {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(16);\n\t\theight: rem-calc(16);\n\t\t.gov-icon {\n\t\t\tmargin: 0;\n\t\t\tcolor: $side-nav-color;\n\t\t}\n\t}\n\t&__label {\n\t\tcolor: inherit;\n\t}\n\t&__chip {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t}\n\t&__arrow {\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\tflex: 0 0 auto;\n\t\talign-self: stretch;\n\t\twidth: rem-calc(48);\n\t\tmargin-left: auto;\n\t\tcolor: $side-nav-arrow-color;\n\t\ttransition: background-color $t;\n\t\t.gov-icon {\n\t\t\twidth: rem-calc(12);\n\t\t\theight: rem-calc(12);\n\t\t}\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__content {\n\t\tdisplay: none;\n\t}\n\n\t// VARIANTS\n\t&--w-icon &__label {\n\t\tmargin-left: rem-calc(32);\n\t}\n\t&--w-icon &__icon + &__label {\n\t\tmargin-left: 0;\n\t}\n\t// nested styles\n\t& & {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder: none !important;\n\t\t\t}\n\t\t\t&__name {\n\t\t\t\t@include typography($font-size-s);\n\t\t\t\tpadding: rem-calc(10 8);\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t}\n\t\t@include parameter(\"aria-expanded\") {\n\t\t\tbackground: $side-nav-bg-level-2;\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tbackground: $side-nav-bg-level-2-inverse;\n\t\t\t}\n\t\t}\n\t}\n\t& & & {\n\t\t#{$class} {\n\t\t\t&__name {\n\t\t\t\tgap: rem-calc(12);\n\t\t\t\tfont-weight: inherit;\n\t\t\t}\n\t\t}\n\t}\n\t@include parameter(\"compact\") {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder-bottom: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t@include parameter(\"aria-expanded\") {\n\t\t& > #{$class}__header #{$class}__arrow .gov-icon {\n\t\t\ttransform: scale(-1);\n\t\t}\n\t\t& > #{$class}__content {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { SideNavItemClass } from './constants'\nimport { booleanString, prepareClasses } from '../../helpers/Dom/template'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-side-nav-item',\n\tstyleUrl: 'gov-side-nav-item.scss',\n})\nexport class GovSideNavItem {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovSideNavItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Custom sidenav item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defined the count of nested items\n\t */\n\t@Prop() readonly count: boolean = false\n\t/**\n\t * Item name of the sidenav\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Defines whether the sidenav is open or closed by button\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\t@Watch('label')\n\tvalidateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${SideNavItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ open: this.isExpandedState, element: this.host })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpandedState = this.isExpanded\n\t\tthis.validateLabel(this.label)\n\t}\n\n\tget classNames(): string {\n\t\tconst { h } = this\n\n\t\treturn prepareClasses([SideNavItemClass.root, h.hasSlot('icon') && SideNavItemClass.rootWithIcon])\n\t}\n\n\trender() {\n\t\tconst { isExpandedState, label } = this\n\t\t// TODO: správný počet zanořených childů\n\t\tconst hasChilds = this.host.children.length > 1\n\n\t\treturn (\n\t\t\t<Host class={this.classNames} role=\"listitem\" inverse={this.inverse} aria-expanded={booleanString(isExpandedState)}>\n\t\t\t\t{this.href ? (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<a class={SideNavItemClass.name} href={this.href}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{this.count && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.chip}>\n\t\t\t\t\t\t\t\t\t<gov-chip variant=\"secondary\" size=\"s\" inverse={this.inverse}>\n\t\t\t\t\t\t\t\t\t\t{/* // TODO: správný počet zanořených childů */}3\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</a>\n\n\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t<button type=\"button\" class={SideNavItemClass.arrow} onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<button class={SideNavItemClass.name} type=\"button\" onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.arrow}>\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\n\t\t\t\t{hasChilds && (\n\t\t\t\t\t<div class={SideNavItemClass.content}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the sidenav\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpandedState = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the sidenav\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.isExpandedState = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * sidenav switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.isExpandedState = !this.isExpandedState\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"version":3}
@@ -1,51 +1,52 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-eb59f132.js';
2
- import { S as SideNavItemClass, a as SideNavClass } from './constants-867ac6e2.js';
3
- import { v as validateWcagLabel } from './wcag-7d25e12b.js';
4
- import { c as canValidateWcagOnRender } from './win-1dbd3f5c.js';
5
- import { d as delay } from './utils-c057a3fa.js';
6
- import { b as booleanString } from './template-a0067bb6.js';
7
- import './gov.log-49da0221.js';
8
- import './string.utils-f268fc6b.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-84a63a3e.js';
2
+ import { S as SideNavItemClass, a as SideNavClass } from './constants-1998bac1.js';
3
+ import { v as validateWcagLabel } from './wcag-6ad92279.js';
4
+ import { c as canValidateWcagOnRender } from './win-b64cd8a6.js';
5
+ import { d as delay } from './utils-e10e994d.js';
6
+ import { b as booleanString } from './template-94812ab3.js';
7
+ import './gov.log-431da6b2.js';
8
+ import './string.utils-5ce3f551.js';
9
9
 
10
10
  const govSideNavCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-side-nav{position:relative;display:block;width:100%}";
11
+ const GovSideNavStyle0 = govSideNavCss;
11
12
 
12
13
  const GovSideNav = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
15
- this.govChange = createEvent(this, "gov-change", 7);
16
- this.inverse = false;
17
- this.compact = false;
18
- this.wcagLabel = undefined;
19
- this.wcagLabelledBy = undefined;
20
- }
21
- componentDidLoad() {
22
- this.host.querySelectorAll(SideNavItemClass.root).forEach((child) => {
23
- child.setAttribute('inverse', booleanString(this.inverse));
24
- child.setAttribute('compact', booleanString(this.compact));
25
- child.addEventListener('gov-change', (e) => {
26
- e.stopPropagation();
27
- this.govChange.emit(e.detail);
28
- });
29
- });
30
- }
31
- async componentDidRender() {
32
- if (canValidateWcagOnRender()) {
33
- await delay(500);
34
- await this.validateWcag();
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ this.govChange = createEvent(this, "gov-change", 7);
17
+ this.inverse = false;
18
+ this.compact = false;
19
+ this.wcagLabel = undefined;
20
+ this.wcagLabelledBy = undefined;
35
21
  }
36
- }
37
- render() {
38
- return (h(Host, { class: SideNavClass.root, compact: this.compact, inverse: this.inverse, "arial-label": this.wcagLabel, "arial-labelledby": this.wcagLabelledBy }, h("aside", { class: SideNavClass.aside, role: 'list' }, h("slot", null))));
39
- }
40
- /**
41
- * Validate the WCAG attributes of the component
42
- */
43
- async validateWcag() {
44
- validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, SideNavClass.root);
45
- }
46
- get host() { return getElement(this); }
22
+ componentDidLoad() {
23
+ this.host.querySelectorAll(SideNavItemClass.root).forEach((child) => {
24
+ child.setAttribute('inverse', booleanString(this.inverse));
25
+ child.setAttribute('compact', booleanString(this.compact));
26
+ child.addEventListener('gov-change', (e) => {
27
+ e.stopPropagation();
28
+ this.govChange.emit(e.detail);
29
+ });
30
+ });
31
+ }
32
+ async componentDidRender() {
33
+ if (canValidateWcagOnRender()) {
34
+ await delay(500);
35
+ await this.validateWcag();
36
+ }
37
+ }
38
+ render() {
39
+ return (h(Host, { key: '9546176e33d0e26d9f13f49634661d59bc523870', class: SideNavClass.root, compact: this.compact, inverse: this.inverse, "arial-label": this.wcagLabel, "arial-labelledby": this.wcagLabelledBy }, h("aside", { key: '6937c47b89dfee6f329663a6b9c2a507b0cbd02e', class: SideNavClass.aside, role: 'list' }, h("slot", { key: 'aaaefa730cc7caa5c17be272585d7be21c3b83ee' }))));
40
+ }
41
+ /**
42
+ * Validate the WCAG attributes of the component
43
+ */
44
+ async validateWcag() {
45
+ validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, SideNavClass.root);
46
+ }
47
+ get host() { return getElement(this); }
47
48
  };
48
- GovSideNav.style = govSideNavCss;
49
+ GovSideNav.style = GovSideNavStyle0;
49
50
 
50
51
  export { GovSideNav as gov_side_nav };
51
52
 
@@ -1 +1 @@
1
- {"file":"gov-side-nav.entry.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,iZAAiZ;;MCa1Z,UAAU;;;;mBAMc,KAAK;mBAIL,KAAK;;;;EAczC,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAgC;MAC1F,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;MAC1D,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;MAC1D,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAuD;QAC5F,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;OAC7B,CAAC,CAAA;KACF,CAAC,CAAA;GACF;EAED,MAAM,kBAAkB;IACvB,IAAI,uBAAuB,EAAE,EAAE;MAC9B,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,iBAAe,IAAI,CAAC,SAAS,sBAAoB,IAAI,CAAC,cAAc,IAC/I,aAAO,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,IAC7C,eAAQ,CACD,CACF,EACP;GACD;;;;EAMD,MAAM,YAAY;IACjB,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;GACzE;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav.scss?tag=gov-side-nav","../../../packages/core/src/components/gov-side-nav/gov-side-nav.tsx"],"sourcesContent":["/*\n * Side nav\n */\n\n$class: \".gov-side-nav\";\n\n#{$class} {\n\t@include base();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core'\nimport { SideNavClass, SideNavItemClass } from './constants'\nimport { GovSideNavItemCustomEvent } from '../../components'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { booleanString } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-side-nav',\n\tstyleUrl: 'gov-side-nav.scss',\n})\nexport class GovSideNav {\n\t@Element() readonly host: HTMLGovSideNavElement\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background.\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Adds accessible label for the sidenav that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(SideNavItemClass.root).forEach((child: HTMLGovSideNavItemElement) => {\n\t\t\tchild.setAttribute('inverse', booleanString(this.inverse))\n\t\t\tchild.setAttribute('compact', booleanString(this.compact))\n\t\t\tchild.addEventListener('gov-change', (e: GovSideNavItemCustomEvent<GovSideNavItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={SideNavClass.root} compact={this.compact} inverse={this.inverse} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t<aside class={SideNavClass.aside} role={'list'}>\n\t\t\t\t\t<slot />\n\t\t\t\t</aside>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, SideNavClass.root)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-side-nav.entry.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,iZAAiZ,CAAC;AACxa,yBAAe,aAAa;;MCYf,UAAU;;;;uBAMc,KAAK;uBAIL,KAAK;;;;IAczC,gBAAgB;QACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAgC;YAC1F,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;YAC1D,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;YAC1D,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAuD;gBAC5F,CAAC,CAAC,eAAe,EAAE,CAAA;gBACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;aAC7B,CAAC,CAAA;SACF,CAAC,CAAA;KACF;IAED,MAAM,kBAAkB;QACvB,IAAI,uBAAuB,EAAE,EAAE;YAC9B,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;YAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;SACzB;KACD;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,iBAAe,IAAI,CAAC,SAAS,sBAAoB,IAAI,CAAC,cAAc,IAC/I,8DAAO,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,IAC7C,8DAAQ,CACD,CACF,EACP;KACD;;;;IAMD,MAAM,YAAY;QACjB,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;KACzE;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav.scss?tag=gov-side-nav","../../../packages/core/src/components/gov-side-nav/gov-side-nav.tsx"],"sourcesContent":["/*\n * Side nav\n */\n\n$class: \".gov-side-nav\";\n\n#{$class} {\n\t@include base();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core'\nimport { SideNavClass, SideNavItemClass } from './constants'\nimport { GovSideNavItemCustomEvent } from '../../components'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { booleanString } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-side-nav',\n\tstyleUrl: 'gov-side-nav.scss',\n})\nexport class GovSideNav {\n\t@Element() readonly host: HTMLGovSideNavElement\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background.\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Adds accessible label for the sidenav that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(SideNavItemClass.root).forEach((child: HTMLGovSideNavItemElement) => {\n\t\t\tchild.setAttribute('inverse', booleanString(this.inverse))\n\t\t\tchild.setAttribute('compact', booleanString(this.compact))\n\t\t\tchild.addEventListener('gov-change', (e: GovSideNavItemCustomEvent<GovSideNavItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={SideNavClass.root} compact={this.compact} inverse={this.inverse} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t<aside class={SideNavClass.aside} role={'list'}>\n\t\t\t\t\t<slot />\n\t\t\t\t</aside>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, SideNavClass.root)\n\t}\n}\n"],"version":3}