@gov-design-system-ce/components 4.1.1 → 4.1.2

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 (435) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
  3. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-card.cjs.entry.js +9 -6
  5. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gov-chip.cjs.entry.js +2 -2
  7. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  13. package/dist/cjs/{gov-flex_4.cjs.entry.js → gov-flex_3.cjs.entry.js} +11 -28
  14. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
  15. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +2 -2
  17. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
  18. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  19. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
  22. package/dist/cjs/gov-form-label.cjs.entry.js +27 -0
  23. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
  24. package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
  25. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  26. package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
  27. package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
  30. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  31. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  33. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  34. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  37. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  40. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  41. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-tag.cjs.entry.js +2 -1
  45. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  47. package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
  48. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
  51. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  52. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  53. package/dist/cjs/index-7ff4447c.js +6 -2
  54. package/dist/cjs/loader.cjs.js +1 -1
  55. package/dist/collection/components/gov-attachments/gov-attachments-item.css +2 -7
  56. package/dist/collection/components/gov-card/constants.js +7 -4
  57. package/dist/collection/components/gov-card/constants.js.map +1 -1
  58. package/dist/collection/components/gov-card/gov-card.js +16 -10
  59. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  60. package/dist/collection/components/gov-chip/gov-chip.js +2 -2
  61. package/dist/collection/components/gov-container/gov-container.js +1 -1
  62. package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
  63. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
  64. package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
  65. package/dist/collection/components/gov-empty/gov-empty.js +1 -1
  66. package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
  67. package/dist/collection/components/gov-flex/constants.js +2 -0
  68. package/dist/collection/components/gov-flex/constants.js.map +1 -1
  69. package/dist/collection/components/gov-flex/gov-flex.js +33 -9
  70. package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
  71. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
  72. package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
  73. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  74. package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
  75. package/dist/collection/components/gov-form/group/gov-form-group.css +3 -8
  76. package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
  77. package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
  78. package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
  79. package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
  80. package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
  81. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
  82. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
  83. package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
  84. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  85. package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
  86. package/dist/collection/components/gov-grid/gov-grid.js +1 -1
  87. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  88. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  89. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  90. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  91. package/dist/collection/components/gov-link/gov-link.js +1 -1
  92. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  93. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  94. package/dist/collection/components/gov-message/gov-message.js +1 -1
  95. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  96. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  97. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  98. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  99. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  100. package/dist/collection/components/gov-tag/gov-tag.js +20 -1
  101. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
  102. package/dist/collection/components/gov-theme-switch/constants.js +0 -2
  103. package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
  104. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +32 -9
  105. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
  106. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  107. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  108. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  109. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  110. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  111. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  112. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  113. package/dist/collection/pages/Card.js +22 -37
  114. package/dist/collection/pages/Card.js.map +1 -1
  115. package/dist/collection/pages/Flex.js +62 -0
  116. package/dist/collection/pages/Flex.js.map +1 -0
  117. package/dist/collection/pages/Forms.js +5 -5
  118. package/dist/collection/pages/Forms.js.map +1 -1
  119. package/dist/collection/pages/Tag.js +30 -23
  120. package/dist/collection/pages/Tag.js.map +1 -1
  121. package/dist/components/gov-accordion-item.js +1 -1
  122. package/dist/components/gov-attachments-item.js +1 -1
  123. package/dist/components/gov-breadcrumbs.js +1 -1
  124. package/dist/components/gov-button.js +1 -1
  125. package/dist/components/gov-card.js +1 -1
  126. package/dist/components/gov-card.js.map +1 -1
  127. package/dist/components/gov-chip.js +1 -1
  128. package/dist/components/gov-container.js +1 -1
  129. package/dist/components/gov-control-group.js +1 -1
  130. package/dist/components/gov-cookiebar.js +1 -1
  131. package/dist/components/gov-dialog.js +1 -1
  132. package/dist/components/gov-empty.js +1 -1
  133. package/dist/components/gov-error-code.js +1 -1
  134. package/dist/components/gov-flex.js +1 -1
  135. package/dist/components/gov-flex.js.map +1 -1
  136. package/dist/components/gov-form-autocomplete.js +1 -1
  137. package/dist/components/gov-form-checkbox-group.js +1 -1
  138. package/dist/components/gov-form-checkbox-group.js.map +1 -1
  139. package/dist/components/gov-form-checkbox.js +1 -1
  140. package/dist/components/gov-form-control.js +1 -1
  141. package/dist/components/gov-form-file.js +1 -1
  142. package/dist/components/gov-form-file.js.map +1 -1
  143. package/dist/components/gov-form-group.js +1 -1
  144. package/dist/components/gov-form-input.js +1 -1
  145. package/dist/components/gov-form-label.js +1 -1
  146. package/dist/components/gov-form-label.js.map +1 -1
  147. package/dist/components/gov-form-message.js +1 -1
  148. package/dist/components/gov-form-multi-select.js +1 -1
  149. package/dist/components/gov-form-password-power.js +1 -1
  150. package/dist/components/gov-form-radio-group.js +1 -1
  151. package/dist/components/gov-form-radio-group.js.map +1 -1
  152. package/dist/components/gov-form-search.js +1 -1
  153. package/dist/components/gov-form-select.js +1 -1
  154. package/dist/components/gov-form-switch.js +1 -1
  155. package/dist/components/gov-grid-item.js +1 -1
  156. package/dist/components/gov-grid.js +1 -1
  157. package/dist/components/gov-icon.js +1 -1
  158. package/dist/components/gov-infobar.js +1 -1
  159. package/dist/components/gov-layout-column.js +1 -1
  160. package/dist/components/gov-layout.js +1 -1
  161. package/dist/components/gov-lifecycle.js +1 -1
  162. package/dist/components/gov-link.js +1 -1
  163. package/dist/components/gov-link.js.map +1 -1
  164. package/dist/components/gov-loading.js +1 -1
  165. package/dist/components/gov-loading.js.map +1 -1
  166. package/dist/components/gov-message.js +1 -1
  167. package/dist/components/gov-pagination.js +1 -1
  168. package/dist/components/gov-skeleton.js +1 -1
  169. package/dist/components/gov-spacer.js +1 -1
  170. package/dist/components/gov-stepper-item.js +1 -1
  171. package/dist/components/gov-stepper.js +1 -1
  172. package/dist/components/gov-tabs-item.js +1 -1
  173. package/dist/components/gov-tabs.js +1 -1
  174. package/dist/components/gov-tag.js +1 -1
  175. package/dist/components/gov-tag.js.map +1 -1
  176. package/dist/components/gov-theme-switch.js +1 -1
  177. package/dist/components/gov-theme-switch.js.map +1 -1
  178. package/dist/components/gov-tile.js +1 -1
  179. package/dist/components/gov-tiles.js +1 -1
  180. package/dist/components/gov-toast.js +1 -1
  181. package/dist/components/gov-tooltip-content.js +1 -1
  182. package/dist/components/gov-tooltip.js +1 -1
  183. package/dist/components/gov-tooltip.js.map +1 -1
  184. package/dist/components/gov-wizard-item.js +1 -1
  185. package/dist/components/gov-wizard.js +1 -1
  186. package/dist/components/{p-46c567fd.js → p-18ab0d24.js} +2 -2
  187. package/dist/components/p-28776006.js +2 -0
  188. package/dist/components/{p-b95ebe8c.js.map → p-28776006.js.map} +1 -1
  189. package/dist/components/p-40c2fb42.js +2 -0
  190. package/dist/components/{p-1eb9c053.js.map → p-40c2fb42.js.map} +1 -1
  191. package/dist/components/{p-283b66c3.js → p-48c4d5c8.js} +2 -2
  192. package/dist/components/{p-318d89bd.js → p-b25af2cf.js} +2 -2
  193. package/dist/components/{p-ac359044.js → p-b97d8edd.js} +2 -2
  194. package/dist/components/p-c438a723.js +2 -0
  195. package/dist/components/{p-a6be4769.js → p-ce90ff14.js} +2 -2
  196. package/dist/components/p-d962bf44.js +2 -0
  197. package/dist/core/core.css +438 -273
  198. package/dist/core/core.esm.js +1 -1
  199. package/dist/core/core.esm.js.map +1 -1
  200. package/dist/core/{p-c916d0d2.entry.js → p-0dac0792.entry.js} +2 -2
  201. package/dist/core/{p-b7cfe254.entry.js → p-12d1e5bc.entry.js} +2 -2
  202. package/dist/core/p-182d03c1.entry.js +2 -0
  203. package/dist/core/p-2496f2a5.entry.js +2 -0
  204. package/dist/core/{p-e61aa53b.entry.js.map → p-2496f2a5.entry.js.map} +1 -1
  205. package/dist/core/p-29d16111.entry.js +2 -0
  206. package/dist/core/{p-019e967c.entry.js.map → p-29d16111.entry.js.map} +1 -1
  207. package/dist/core/p-2b51b8e8.entry.js +2 -0
  208. package/dist/core/p-2b51b8e8.entry.js.map +1 -0
  209. package/dist/core/p-2bde147f.entry.js +2 -0
  210. package/dist/core/{p-bdc51179.entry.js.map → p-2bde147f.entry.js.map} +1 -1
  211. package/dist/core/{p-ed833334.entry.js → p-2e21a994.entry.js} +2 -2
  212. package/dist/core/p-3df6c6cd.entry.js +2 -0
  213. package/dist/core/p-436e7690.entry.js +2 -0
  214. package/dist/core/p-467f778b.entry.js +2 -0
  215. package/dist/core/p-4d81039c.entry.js +2 -0
  216. package/dist/core/p-520ac994.entry.js +2 -0
  217. package/dist/core/p-53fa7648.entry.js +2 -0
  218. package/dist/core/{p-5c9e6275.entry.js.map → p-53fa7648.entry.js.map} +1 -1
  219. package/dist/core/{p-0fdd8929.entry.js → p-581c8075.entry.js} +2 -2
  220. package/dist/core/{p-d836fcde.entry.js → p-5a92b9d9.entry.js} +2 -2
  221. package/dist/core/{p-8506b611.js → p-5fbde4f9.js} +2 -2
  222. package/dist/core/{p-9fe35463.entry.js → p-605e72b1.entry.js} +2 -2
  223. package/dist/core/{p-3cb36bae.entry.js → p-64dc1cdb.entry.js} +2 -2
  224. package/dist/core/{p-7e04730a.entry.js → p-6603e3df.entry.js} +2 -2
  225. package/dist/core/p-6f260a90.entry.js +2 -0
  226. package/dist/core/{p-c054f955.entry.js.map → p-6f260a90.entry.js.map} +1 -1
  227. package/dist/core/{p-bcb45a18.entry.js → p-71dc8171.entry.js} +2 -2
  228. package/dist/core/p-87562d9e.entry.js +2 -0
  229. package/dist/core/{p-6bb37fe2.entry.js.map → p-87562d9e.entry.js.map} +1 -1
  230. package/dist/core/p-88b69d30.entry.js +2 -0
  231. package/dist/core/{p-bc966c46.entry.js.map → p-88b69d30.entry.js.map} +1 -1
  232. package/dist/core/{p-ed8fc183.entry.js → p-8ece244d.entry.js} +2 -2
  233. package/dist/core/{p-561718cd.entry.js → p-913331e8.entry.js} +2 -2
  234. package/dist/core/p-979b03eb.entry.js +2 -0
  235. package/dist/core/{p-da7f1e11.entry.js.map → p-979b03eb.entry.js.map} +1 -1
  236. package/dist/core/{p-97a9725d.entry.js → p-97c65665.entry.js} +2 -2
  237. package/dist/core/p-97e8b4b3.entry.js +2 -0
  238. package/dist/core/{p-439b66a5.entry.js.map → p-97e8b4b3.entry.js.map} +1 -1
  239. package/dist/core/{p-d65cef62.entry.js → p-abefa59b.entry.js} +2 -2
  240. package/dist/core/{p-72130a8f.entry.js → p-aeab9c1a.entry.js} +2 -2
  241. package/dist/core/{p-ccec8019.entry.js → p-af9fe91a.entry.js} +2 -2
  242. package/dist/core/p-b0d1073c.entry.js +2 -0
  243. package/dist/core/{p-b923a8d9.entry.js.map → p-b0d1073c.entry.js.map} +1 -1
  244. package/dist/core/p-b245d627.entry.js +2 -0
  245. package/dist/core/{p-56dc370d.entry.js.map → p-b245d627.entry.js.map} +1 -1
  246. package/dist/core/p-b2abc2fc.entry.js +2 -0
  247. package/dist/core/{p-3d6edb09.entry.js.map → p-b2abc2fc.entry.js.map} +1 -1
  248. package/dist/core/{p-0be19b89.entry.js → p-b4cf97ab.entry.js} +2 -2
  249. package/dist/core/p-b766810e.entry.js +2 -0
  250. package/dist/core/p-b766810e.entry.js.map +1 -0
  251. package/dist/core/p-bc0ed2c1.entry.js +2 -0
  252. package/dist/core/{p-dea64896.entry.js → p-bf8529f8.entry.js} +2 -2
  253. package/dist/core/{p-1200a32d.entry.js → p-cd988543.entry.js} +2 -2
  254. package/dist/core/p-d2b11492.entry.js +2 -0
  255. package/dist/core/{p-41c6b262.entry.js.map → p-d2b11492.entry.js.map} +1 -1
  256. package/dist/core/p-d3f7d3d5.entry.js +2 -0
  257. package/dist/core/p-d6e972c0.entry.js +2 -0
  258. package/dist/core/p-d952e56f.entry.js +2 -0
  259. package/dist/core/p-eaa83b2f.entry.js +2 -0
  260. package/dist/core/p-ebc318d7.entry.js +2 -0
  261. package/dist/core/p-ebeb1a03.entry.js +2 -0
  262. package/dist/core/{p-04fa0ab5.entry.js.map → p-ebeb1a03.entry.js.map} +1 -1
  263. package/dist/core/{p-432c3875.entry.js → p-ee0f3bd9.entry.js} +2 -2
  264. package/dist/core/p-ee7af1ab.entry.js +2 -0
  265. package/dist/core/{p-2739fa61.entry.js.map → p-ee7af1ab.entry.js.map} +1 -1
  266. package/dist/core/{p-f7a4da9d.entry.js → p-eeee2325.entry.js} +2 -2
  267. package/dist/core/p-f83b9da5.entry.js +2 -0
  268. package/dist/core/{p-4c5f6299.entry.js.map → p-f83b9da5.entry.js.map} +1 -1
  269. package/dist/core/p-fa161f10.entry.js +2 -0
  270. package/dist/core/{p-e834ee73.entry.js → p-fa5b72de.entry.js} +2 -2
  271. package/dist/core/p-fb8c019a.entry.js +2 -0
  272. package/dist/core/p-fb8c019a.entry.js.map +1 -0
  273. package/dist/core/p-ff609d0e.entry.js +2 -0
  274. package/dist/esm/core.js +3 -3
  275. package/dist/esm/gov-accordion-item.entry.js +1 -1
  276. package/dist/esm/gov-accordion.entry.js +1 -1
  277. package/dist/esm/gov-attachments_3.entry.js +3 -3
  278. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  279. package/dist/esm/gov-backdrop.entry.js +1 -1
  280. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  281. package/dist/esm/gov-button.entry.js +1 -1
  282. package/dist/esm/gov-card.entry.js +10 -7
  283. package/dist/esm/gov-card.entry.js.map +1 -1
  284. package/dist/esm/gov-chip.entry.js +3 -3
  285. package/dist/esm/gov-container.entry.js +2 -2
  286. package/dist/esm/gov-control-group.entry.js +2 -2
  287. package/dist/esm/gov-cookiebar.entry.js +2 -2
  288. package/dist/esm/gov-dialog.entry.js +2 -2
  289. package/dist/esm/gov-dropdown.entry.js +1 -1
  290. package/dist/esm/gov-empty.entry.js +2 -2
  291. package/dist/esm/gov-error-code.entry.js +2 -2
  292. package/dist/esm/{gov-flex_4.entry.js → gov-flex_3.entry.js} +13 -29
  293. package/dist/esm/gov-flex_3.entry.js.map +1 -0
  294. package/dist/esm/gov-form-autocomplete.entry.js +2 -2
  295. package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
  296. package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
  297. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  298. package/dist/esm/gov-form-control.entry.js +2 -2
  299. package/dist/esm/gov-form-file.entry.js +2 -2
  300. package/dist/esm/gov-form-group.entry.js +2 -2
  301. package/dist/esm/gov-form-input_2.entry.js +7 -7
  302. package/dist/esm/gov-form-label.entry.js +23 -0
  303. package/dist/esm/gov-form-label.entry.js.map +1 -0
  304. package/dist/esm/gov-form-multi-select.entry.js +3 -3
  305. package/dist/esm/gov-form-password-power.entry.js +2 -2
  306. package/dist/esm/gov-form-radio-group.entry.js +3 -3
  307. package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
  308. package/dist/esm/gov-form-radio.entry.js +1 -1
  309. package/dist/esm/gov-form-search.entry.js +2 -2
  310. package/dist/esm/gov-form-select.entry.js +3 -3
  311. package/dist/esm/gov-form-switch.entry.js +1 -1
  312. package/dist/esm/gov-grid-item.entry.js +2 -2
  313. package/dist/esm/gov-grid.entry.js +2 -2
  314. package/dist/esm/gov-infobar.entry.js +3 -3
  315. package/dist/esm/gov-layout-column.entry.js +2 -2
  316. package/dist/esm/gov-layout.entry.js +2 -2
  317. package/dist/esm/gov-lifecycle.entry.js +2 -2
  318. package/dist/esm/gov-link.entry.js +2 -2
  319. package/dist/esm/gov-loading.entry.js +2 -2
  320. package/dist/esm/gov-message.entry.js +2 -2
  321. package/dist/esm/gov-pagination.entry.js +1 -1
  322. package/dist/esm/gov-spacer.entry.js +2 -2
  323. package/dist/esm/gov-stepper-item.entry.js +2 -2
  324. package/dist/esm/gov-stepper.entry.js +2 -2
  325. package/dist/esm/gov-tabs-item.entry.js +2 -2
  326. package/dist/esm/gov-tabs.entry.js +2 -2
  327. package/dist/esm/gov-tag.entry.js +3 -2
  328. package/dist/esm/gov-tag.entry.js.map +1 -1
  329. package/dist/esm/gov-tile.entry.js +2 -2
  330. package/dist/esm/gov-tiles.entry.js +2 -2
  331. package/dist/esm/gov-toast.entry.js +2 -2
  332. package/dist/esm/gov-tooltip-content.entry.js +2 -2
  333. package/dist/esm/gov-tooltip.entry.js +3 -3
  334. package/dist/esm/gov-wizard-item.entry.js +3 -3
  335. package/dist/esm/gov-wizard.entry.js +2 -2
  336. package/dist/esm/{index-c263e031.js → index-8dc58a1a.js} +8 -4
  337. package/dist/esm/{index-c263e031.js.map → index-8dc58a1a.js.map} +1 -1
  338. package/dist/esm/loader.js +3 -3
  339. package/dist/hydrate/index.js +83 -76
  340. package/dist/hydrate/index.mjs +83 -76
  341. package/dist/types/components/gov-card/constants.d.ts +8 -4
  342. package/dist/types/components/gov-card/gov-card.d.ts +3 -2
  343. package/dist/types/components/gov-flex/constants.d.ts +4 -0
  344. package/dist/types/components/gov-flex/gov-flex.d.ts +9 -7
  345. package/dist/types/components/gov-tag/gov-tag.d.ts +4 -0
  346. package/dist/types/components/gov-theme-switch/constants.d.ts +0 -2
  347. package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +8 -4
  348. package/dist/types/components.d.ts +50 -22
  349. package/dist/types/pages/Flex.d.ts +3 -0
  350. package/package.json +1 -1
  351. package/dist/cjs/gov-flex_4.cjs.entry.js.map +0 -1
  352. package/dist/components/p-1eb9c053.js +0 -2
  353. package/dist/components/p-3d7a21b5.js +0 -2
  354. package/dist/components/p-68a1aaec.js +0 -2
  355. package/dist/components/p-68a1aaec.js.map +0 -1
  356. package/dist/components/p-a6b7a6c2.js +0 -2
  357. package/dist/components/p-b95ebe8c.js +0 -2
  358. package/dist/core/p-00d153bf.entry.js +0 -2
  359. package/dist/core/p-019e967c.entry.js +0 -2
  360. package/dist/core/p-04fa0ab5.entry.js +0 -2
  361. package/dist/core/p-22fa411d.entry.js +0 -2
  362. package/dist/core/p-2739fa61.entry.js +0 -2
  363. package/dist/core/p-30eaeeec.entry.js +0 -2
  364. package/dist/core/p-3d6edb09.entry.js +0 -2
  365. package/dist/core/p-3f6a2d20.entry.js +0 -2
  366. package/dist/core/p-3f6a2d20.entry.js.map +0 -1
  367. package/dist/core/p-41c6b262.entry.js +0 -2
  368. package/dist/core/p-439b66a5.entry.js +0 -2
  369. package/dist/core/p-4b90fbc4.entry.js +0 -2
  370. package/dist/core/p-4c5f6299.entry.js +0 -2
  371. package/dist/core/p-535316b4.entry.js +0 -2
  372. package/dist/core/p-5396935e.entry.js +0 -2
  373. package/dist/core/p-56dc370d.entry.js +0 -2
  374. package/dist/core/p-5b2131c1.entry.js +0 -2
  375. package/dist/core/p-5c9e6275.entry.js +0 -2
  376. package/dist/core/p-65e67731.entry.js +0 -2
  377. package/dist/core/p-6bb37fe2.entry.js +0 -2
  378. package/dist/core/p-6e457b3d.entry.js +0 -2
  379. package/dist/core/p-7b7e502b.entry.js +0 -2
  380. package/dist/core/p-9c2c5447.entry.js +0 -2
  381. package/dist/core/p-9c2c5447.entry.js.map +0 -1
  382. package/dist/core/p-b923a8d9.entry.js +0 -2
  383. package/dist/core/p-bc966c46.entry.js +0 -2
  384. package/dist/core/p-bdc51179.entry.js +0 -2
  385. package/dist/core/p-c054f955.entry.js +0 -2
  386. package/dist/core/p-cd2d335d.entry.js +0 -2
  387. package/dist/core/p-da7f1e11.entry.js +0 -2
  388. package/dist/core/p-e61aa53b.entry.js +0 -2
  389. package/dist/core/p-ea44d447.entry.js +0 -2
  390. package/dist/core/p-f4bcf817.entry.js +0 -2
  391. package/dist/core/p-f4dac942.entry.js +0 -2
  392. package/dist/esm/gov-flex_4.entry.js.map +0 -1
  393. /package/dist/components/{p-46c567fd.js.map → p-18ab0d24.js.map} +0 -0
  394. /package/dist/components/{p-283b66c3.js.map → p-48c4d5c8.js.map} +0 -0
  395. /package/dist/components/{p-318d89bd.js.map → p-b25af2cf.js.map} +0 -0
  396. /package/dist/components/{p-ac359044.js.map → p-b97d8edd.js.map} +0 -0
  397. /package/dist/components/{p-a6b7a6c2.js.map → p-c438a723.js.map} +0 -0
  398. /package/dist/components/{p-a6be4769.js.map → p-ce90ff14.js.map} +0 -0
  399. /package/dist/components/{p-3d7a21b5.js.map → p-d962bf44.js.map} +0 -0
  400. /package/dist/core/{p-c916d0d2.entry.js.map → p-0dac0792.entry.js.map} +0 -0
  401. /package/dist/core/{p-b7cfe254.entry.js.map → p-12d1e5bc.entry.js.map} +0 -0
  402. /package/dist/core/{p-22fa411d.entry.js.map → p-182d03c1.entry.js.map} +0 -0
  403. /package/dist/core/{p-ed833334.entry.js.map → p-2e21a994.entry.js.map} +0 -0
  404. /package/dist/core/{p-30eaeeec.entry.js.map → p-3df6c6cd.entry.js.map} +0 -0
  405. /package/dist/core/{p-5396935e.entry.js.map → p-436e7690.entry.js.map} +0 -0
  406. /package/dist/core/{p-6e457b3d.entry.js.map → p-467f778b.entry.js.map} +0 -0
  407. /package/dist/core/{p-7b7e502b.entry.js.map → p-4d81039c.entry.js.map} +0 -0
  408. /package/dist/core/{p-cd2d335d.entry.js.map → p-520ac994.entry.js.map} +0 -0
  409. /package/dist/core/{p-0fdd8929.entry.js.map → p-581c8075.entry.js.map} +0 -0
  410. /package/dist/core/{p-d836fcde.entry.js.map → p-5a92b9d9.entry.js.map} +0 -0
  411. /package/dist/core/{p-8506b611.js.map → p-5fbde4f9.js.map} +0 -0
  412. /package/dist/core/{p-9fe35463.entry.js.map → p-605e72b1.entry.js.map} +0 -0
  413. /package/dist/core/{p-3cb36bae.entry.js.map → p-64dc1cdb.entry.js.map} +0 -0
  414. /package/dist/core/{p-7e04730a.entry.js.map → p-6603e3df.entry.js.map} +0 -0
  415. /package/dist/core/{p-bcb45a18.entry.js.map → p-71dc8171.entry.js.map} +0 -0
  416. /package/dist/core/{p-ed8fc183.entry.js.map → p-8ece244d.entry.js.map} +0 -0
  417. /package/dist/core/{p-561718cd.entry.js.map → p-913331e8.entry.js.map} +0 -0
  418. /package/dist/core/{p-97a9725d.entry.js.map → p-97c65665.entry.js.map} +0 -0
  419. /package/dist/core/{p-d65cef62.entry.js.map → p-abefa59b.entry.js.map} +0 -0
  420. /package/dist/core/{p-72130a8f.entry.js.map → p-aeab9c1a.entry.js.map} +0 -0
  421. /package/dist/core/{p-ccec8019.entry.js.map → p-af9fe91a.entry.js.map} +0 -0
  422. /package/dist/core/{p-0be19b89.entry.js.map → p-b4cf97ab.entry.js.map} +0 -0
  423. /package/dist/core/{p-5b2131c1.entry.js.map → p-bc0ed2c1.entry.js.map} +0 -0
  424. /package/dist/core/{p-dea64896.entry.js.map → p-bf8529f8.entry.js.map} +0 -0
  425. /package/dist/core/{p-1200a32d.entry.js.map → p-cd988543.entry.js.map} +0 -0
  426. /package/dist/core/{p-f4dac942.entry.js.map → p-d3f7d3d5.entry.js.map} +0 -0
  427. /package/dist/core/{p-00d153bf.entry.js.map → p-d6e972c0.entry.js.map} +0 -0
  428. /package/dist/core/{p-4b90fbc4.entry.js.map → p-d952e56f.entry.js.map} +0 -0
  429. /package/dist/core/{p-65e67731.entry.js.map → p-eaa83b2f.entry.js.map} +0 -0
  430. /package/dist/core/{p-ea44d447.entry.js.map → p-ebc318d7.entry.js.map} +0 -0
  431. /package/dist/core/{p-432c3875.entry.js.map → p-ee0f3bd9.entry.js.map} +0 -0
  432. /package/dist/core/{p-f7a4da9d.entry.js.map → p-eeee2325.entry.js.map} +0 -0
  433. /package/dist/core/{p-535316b4.entry.js.map → p-fa161f10.entry.js.map} +0 -0
  434. /package/dist/core/{p-e834ee73.entry.js.map → p-fa5b72de.entry.js.map} +0 -0
  435. /package/dist/core/{p-f4bcf817.entry.js.map → p-ff609d0e.entry.js.map} +0 -0
@@ -111,7 +111,7 @@ export class GovFormAutocomplete {
111
111
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
112
112
  }
113
113
  render() {
114
- return (h(Host, { key: '1914bf635c1c0bf169d6f45fe4dab9a2738d390a', class: FormAutocompleteClass.root, size: this.size }, h("gov-form-input", Object.assign({ key: '75926414421d120acb5deea317d6d9afe11ddd11', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), h("slot", { key: '1870810c9a7d6a258da3ec6d26e19cceef9da425', name: "validation-icon" }), h("slot", { key: 'f6753deca157766fe66424d148a4416b1500e79e', name: "icon-end" })), h("ul", { key: '4a63a2c01d13870b6e49392118f291f2e43e3a34', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (h("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (h("li", { class: FormAutocompleteClass.loading }, h("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
114
+ return (h(Host, { key: 'a8bf269f28c969a01b9d6fd884b5e6dd253905f6', class: FormAutocompleteClass.root, size: this.size }, h("gov-form-input", Object.assign({ key: '13797f47506657569fe824ecb8d82f54cdd7f62e', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), h("slot", { key: 'aa60e7afc9f03418525f40f54989c56ac817a08a', name: "validation-icon" }), h("slot", { key: 'fd1aa38d3f92793689e7238c4cc7b11fdb6d7c83', name: "icon-end" })), h("ul", { key: 'f721a4bebd03c2837604e42d4ece440f2668e4db', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (h("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (h("li", { class: FormAutocompleteClass.loading }, h("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
115
115
  const isSelected = this.arrowCounter === index;
116
116
  return (h("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, h("slot", { name: "list-item-left" }), h("slot", { name: "list-item-right" })));
117
117
  }) : null)));
@@ -47,7 +47,7 @@ export class GovFormControl {
47
47
  }
48
48
  render() {
49
49
  const Tag = this.fieldset ? "fieldset" : "div";
50
- return (h(Host, { key: '5d1b7313e297a68d4349290d98190e7a0e3039b2', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: 'd4af40d1dcd012c374e0cd43a6d6777945b8e7d7', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: 'd46ee92af80770af49c075387f534b9d538a7e39', name: "top" }), h("slot", { key: 'ce46e5d88ca4a1069436d702b27ad0c5051e63b5' }), this.h.hasSlot("bottom") && (h("div", { key: 'b9da32bf3ad735b0c8bc187fb32528c710e3383c', class: FormControlClass.bottom }, h("slot", { key: '06f43763e2e0a88a2919e33d730898dd2048dcd0', name: "bottom" }))))));
50
+ return (h(Host, { key: 'ca3d81a16858cbe4b2c06580cb2e9523a77191be', size: this.size, class: this.h.classes(FormControlClass.root) }, h(Tag, { key: '4b2bdfbc3c227b910660596d5815c70ef8fa22dd', class: FormControlClass.holder }, this.h.hasSlot("top") && h("slot", { key: '21e1b5d8e989e6e4ecf9795a2d9d3ccd6dc29543', name: "top" }), h("slot", { key: 'd2acefce44c05404f9d1ce224f7f259361423d82' }), this.h.hasSlot("bottom") && (h("div", { key: 'e5c095ee40f41623e9f6a871e29724be42a8be8f', class: FormControlClass.bottom }, h("slot", { key: '941873ca1268fca177d3ff92b10a205dea0faad3', name: "bottom" }))))));
51
51
  }
52
52
  static get is() { return "gov-form-control"; }
53
53
  static get properties() {
@@ -136,7 +136,7 @@ export class GovFormFile {
136
136
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
137
137
  }
138
138
  render() {
139
- return (h(Host, { key: '30047bbc26c5d51b5e24a6e8ce33690b31fe3b1d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'f99d4ee71f9126f9fc72acb6adf2ea964410d738', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: 'a280d44c9b649aa8ccdc48356a0173e183dbd3ee' }), h("input", Object.assign({ key: '2abf8d4c1f0d9086fbe63d86f71c9cdc3e0867c3', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
139
+ return (h(Host, { key: '92ee90aa5d8d28d310c0229ce513be88edafd68d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, h("div", { key: 'ada51c64168a7cb4dcb4f123e7f74fe401b63c82', class: FormFileClass.area, ref: el => (this.areaRef = el) }, h("slot", { key: '77a4e7096f1949c8c284b0d6607ffd96567669ef' }), h("input", Object.assign({ key: '63382d1ccfc1254b9073923713677af25ed0fed3', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (h("div", { class: FormFileClass.attachments }, h("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (h("div", { class: FormFileClass.attachments }, h("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (h("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, h("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (h("gov-form-message", { slot: "message", color: "error" }, h("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, h("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
140
140
  }
141
141
  onRemoveFileHandler(file) {
142
142
  const index = this.files.findIndex(item => item.id === file.id);
@@ -56,7 +56,7 @@ export class GovFormCheckboxGroup {
56
56
  });
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: '9f0b69dea278df308a3ad5dacf989d4a89687b2a', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: '14abf79a5ef9bc899b2732f6ae159781afa51fe2' })));
59
+ return (h(Host, { key: '7f71876a9b72b688bb354a1477153bd8d1b5ad05', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: '2b3ce2b04ab3a2e55128a6d8c00a1d41217061f6' })));
60
60
  }
61
61
  static get is() { return "gov-form-checkbox-group"; }
62
62
  static get originalStyleUrls() {
@@ -10,20 +10,15 @@
10
10
  /* stylelint-enable order/order */
11
11
  /* stylelint-disable order/order */
12
12
  /* stylelint-enable order/order */
13
- /* Variables - breakpoints */ /* Variables - Colors */ /* Variables - Sizes */ /* Variables - General */
14
- :root {
15
- --roboto: Roboto, sans-serif;
16
- }
17
-
18
- /* Variables - Typography */ /* Variables - Container */ /* Variables - Forms */ /* Variables - shadows */ /* Variables - z-index */ /* stylelint-disable order/order */
13
+ /* Variables - breakpoints */ /* Variables - Colors */ /* Variables - Sizes */ /* Variables - General */ /* Variables - Typography */ /* Variables - Container */ /* Variables - Forms */ /* Variables - shadows */ /* Variables - z-index */ /* stylelint-disable order/order */
19
14
  /* stylelint-enable order/order */
20
15
  /* Form Control */
21
16
  gov-form-group, .gov-form-group,
22
17
  gov-form-radio-group, .gov-form-radio-group,
23
18
  gov-form-checkbox-group, .gov-form-checkbox-group {
24
19
  /* Variables - Form group */
25
- margin-top: 0 !important;
26
- margin-bottom: 0 !important;
20
+ margin-top: 0;
21
+ margin-bottom: 0;
27
22
  position: relative;
28
23
  display: flex;
29
24
  width: 100%;
@@ -23,7 +23,7 @@ export class GovFormGroup {
23
23
  this.validateOrientation(this.orientation);
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: 'a6b2a022f3c8573fb1bb7424d6a5ac2dc54b101b', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: 'e1b5f38d87e9f46f555e2fc3d247a9c3c10b5872' })));
26
+ return (h(Host, { key: 'b7a379997ac1f4080471c42c23cad6f0ed055fd7', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, h("slot", { key: 'a36809822e81913ec6c8cabdee9eaf64c9f9f471' })));
27
27
  }
28
28
  static get is() { return "gov-form-group"; }
29
29
  static get properties() {
@@ -45,7 +45,7 @@ export class GovFormRadioGroup {
45
45
  });
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '5a9b1bd507ef9c0a57cdb25fb200ab6c9fb46604', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: '34b587d61d716b51729431c52879b6fcd0285fee' })));
48
+ return (h(Host, { key: '0526062e74e480edc22bdbbdf8c1f82a91ff463d', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, h("slot", { key: 'f11696b75d4f0c4bc72da3ca70d3111825edd36a' })));
49
49
  }
50
50
  static get is() { return "gov-form-radio-group"; }
51
51
  static get originalStyleUrls() {
@@ -84,11 +84,11 @@ export class GovFormInput {
84
84
  }
85
85
  render() {
86
86
  const Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT;
87
- return (h(Host, { key: '5210373fd88e2b80df5a4206c5b25b5695f2894b', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '9215c45132a4b9dc8fd0da79ef8d082dcce0789b', name: "prefix" }), h("span", { key: 'e58ab94aa7926dbd8488ce8323b6c8dbec9ce765', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
88
- h("div", { key: '8e67ba10cfb47232f6c0d817df292668c2a4a7e8', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: 'a186f1fbe47936219f6a6a26cb2d0c2b0dbe08f8', name: "icon-start" })), h(Tag, Object.assign({ key: '1090f6e6705365ffc83b5397ad669638d996f5bd', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
89
- h("div", { key: '49cb072b3448735677c47883d851557f107dd6cb', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
90
- h("gov-icon", { key: 'f00df3e88ba3a0d695bf9f33ddb51af7a8fb4a96', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
91
- h("gov-icon", { key: '523966e75d3f3d49eff396226673c3c96cf6de60', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: 'b707c094fe32bf5864c66e40a95a22f2b27d79b3', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: '945df71d1a6c3edd76769ae3310bdd33df694d2b', name: "sufix" })));
87
+ return (h(Host, { key: '8b60864f0792fe1946d4b7cb6489cff0ffc767e1', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && h("slot", { key: '4d5d0bb755acbb42033f572633e4969c8e6e8b36', name: "prefix" }), h("span", { key: 'eaac4a690052077ca631ae1e9c69a65518a1902f', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
88
+ h("div", { key: 'e8be567c923c023bce7d0ebf0cccff592ac15c5a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, h("slot", { key: '4c76013e8a7db99b43e7b8f426f3907d89708b5a', name: "icon-start" })), h(Tag, Object.assign({ key: '22e1714e66085290e7fe984a4672512324143397', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
89
+ h("div", { key: '19ab7fe83fcecde7a506f21611fae64126464b88', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
90
+ h("gov-icon", { key: '9dd7b8413b351d957a63f7df09aee8b6e3e0ac53', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
91
+ h("gov-icon", { key: '06540c7f7cf3c0fbdab8b5a63aba35cf7a78df3a', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && h("slot", { key: '8cb1103f101fa9bd5719f1657ae1a404fc3882f4', name: "icon-end" }), this.inputType === 'password' ? (h("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, h("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && h("slot", { key: '78308cfef71f34839d86af88df5dadb28c01adf1', name: "sufix" })));
92
92
  }
93
93
  onFocusHandler(e) {
94
94
  e.stopPropagation();
@@ -9,7 +9,7 @@ export class GovFormLabel {
9
9
  }
10
10
  render() {
11
11
  const Tag = this.legend ? 'legend' : 'label';
12
- return (h(Host, { key: '3e02eaa899126807c31fac8d3b6f352a07a73a9d', class: FormLabelClass.root, size: this.size }, h(Tag, { key: 'a1213cf879e26565c4c84d31ab6a46dac2a9ee4e', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: '46a6a39821d6f3f786b843c037b0b423ba2445ae' }), this.required ? h("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
12
+ return (h(Host, { key: '3f52c93a7721a458d430874b447421f7a5d30a41', class: FormLabelClass.root, size: this.size }, h(Tag, { key: 'c122a9bce9b9a98b0c8c336190b70bc4bf5389cf', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, h("slot", { key: 'de892d47334dbd3448a33d18586c77248b08b036' }), this.required ? h("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
13
13
  }
14
14
  static get is() { return "gov-form-label"; }
15
15
  static get properties() {
@@ -17,7 +17,7 @@ export class GovFormMessage {
17
17
  this.validateColor(this.color);
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '0fc757895a58267edf28d9139e460a14e664de04', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: 'bca8235bbaebcd7066efb8e8e3fdbff7ba8e011c', name: "icon" })), h("span", { key: 'a0e46336d6a661bf6d6f2ee8f0cb89c967f5321d', id: this.messageId, class: FormMessageClass.content }, h("slot", { key: '2e0e474f9f9d35fc5cda1db690d2b7b4e2addb68' }))));
20
+ return (h(Host, { key: '86a59a0001123abc4ff9350657f71e4e4ac1b0c5', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (h("slot", { key: '94f919d5d79ab453be3cccab92e695c9a9a79276', name: "icon" })), h("span", { key: 'e112ca627b1d4deef23eb1567bcbb014a82388d9', id: this.messageId, class: FormMessageClass.content }, h("slot", { key: '1733f5e338c14f5d353a77266359033b42469eff' }))));
21
21
  }
22
22
  /**
23
23
  * Returns unique identifier of message
@@ -165,11 +165,11 @@ export class GovFormMultiSelect {
165
165
  });
166
166
  }
167
167
  render() {
168
- return (h(Host, { key: '11352c6950674badb00870e18c17a031c81235df', class: FormMultiSelectClass.root, size: this.size }, h("div", { key: 'edd74cbfbbf116700dfdcd7d33307c6416e2ad8c', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { key: '6aa65aa9875527890bfecb2a1e6c56b2eb9ce827', name: "prefix" }), h("gov-form-autocomplete", { key: '60c5065ccb09073c2e1ca17c329f980cda52761f', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && h("gov-icon", { key: '907aac2768a9bd5384326377fcad9e90795ff170', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '7294050c2910097d6a316b37fdc1f571f3450f8a', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: 'ac4474f517f8124831c22055e69d0eb45e6e2d4f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), h("select", Object.assign({ key: '9437199c079132409bdbf0f932605474b885781e', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '59f4071b90b40ed6291b9180b5caa29101b5e95a' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
168
+ return (h(Host, { key: 'e112f9d20d170e70616fd4f089b93dd040e737fa', class: FormMultiSelectClass.root, size: this.size }, h("div", { key: 'ffc5af48051e7d24559e0c77a595b48e287771f5', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { key: '3c22442cfbcb010f240a014ba7c9c48ec4522555', name: "prefix" }), h("gov-form-autocomplete", { key: 'c02857a7ea06c203aa94b317837ea2c7c921b505', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && h("gov-icon", { key: '2b06057b6343fce21d08731f5a6675ffccfa3f6e', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '6f33cb3764c0df058b0743ba617c950cf7909cdc', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '05be66ee199dee177d0b18a7a6a59e25a724571f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), h("select", Object.assign({ key: 'd50fe47c2c859561b8aba62e6d6dedd7bceed6ae', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: 'cf2ebfd8dc2cdf49c3581ba0ba3fff959a50a221' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
169
169
  var _a;
170
170
  const selectedOption = this.selectedValueIndex(option.value);
171
171
  return (h("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
172
- })), this.h.hasSlot('sufix') && h("slot", { key: '0620c4ab3b9d9d122456f91cc3dd5cefd85e8bba', name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
172
+ })), this.h.hasSlot('sufix') && h("slot", { key: 'dddc8a99daeb345be9d778ade22622ae9ed35769', name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
173
173
  var _a, _b;
174
174
  const option = this.getOption(selected);
175
175
  if (!option)
@@ -5,7 +5,7 @@ export class GovFormPasswordPower {
5
5
  this.power = undefined;
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '9125566cb99bfc49e2e61edb5af71b5b052d6790', class: FormPasswordPowerClass.root }, h("span", { key: 'b293292f3b8faca38bbbd6cb03fdd49d8601aab3', class: FormPasswordPowerClass.bar }, h("span", { key: '20995fbc87342a8e0db8031b0ff23a9cb01b4068' }), h("span", { key: '4fec375a3f27cc35025c165badbff731c8fb26ab' }), h("span", { key: '426f641b8b8e179e25e8a1006a0afd0394615058' })), h("span", { key: '7aeaf7222b484ad59084bb20fcbff4660cdcb1db', class: FormPasswordPowerClass.text }, h("slot", { key: '57c3415c9b2dfc688ec5762c33cdad473b8110bd' }))));
8
+ return (h(Host, { key: 'ca17606a7f29175d97da93daed3005a27b38d607', class: FormPasswordPowerClass.root }, h("span", { key: 'b2b80382c10034b88adb971db02c7e3f901453ee', class: FormPasswordPowerClass.bar }, h("span", { key: '0c0de35b5c257c175281792765d3fec89f5ee498' }), h("span", { key: '92847bc51174d38543a2e0f9a1a7c3ba37fec6f4' }), h("span", { key: '7cc7a9cbda4c54c4d1269874a1f8d2b91e533bad' })), h("span", { key: 'de62cf845c51d870e4fa1b1b6156348be8460d6b', class: FormPasswordPowerClass.text }, h("slot", { key: '8132df44d6ce3f83f89d1d45b34c182850663571' }))));
9
9
  }
10
10
  static get is() { return "gov-form-password-power"; }
11
11
  static get properties() {
@@ -6,7 +6,7 @@ export class GovFormSearch {
6
6
  this.color = 'neutral';
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '9d628d34bd6f19132ea398437faf9023a322bdcf', class: FormSearchClass.root, color: this.color, size: this.size }, h("slot", { key: 'aa70625f5e6b754a18b36ad87634fe5be1a34fb7', name: "input" }), h("slot", { key: 'd098e011406c85877131ee57c04bc9a3f05ded18', name: "button-erase" }), h("slot", { key: '6a5226ae29cf22f4ec33ecf5604db44d8154d2fa', name: "button" })));
9
+ return (h(Host, { key: '05f033c30dffd615b36b181535329704d46665ae', class: FormSearchClass.root, color: this.color, size: this.size }, h("slot", { key: '7c7fb4e2d90ace38aef4b63454e1f9513903977c', name: "input" }), h("slot", { key: '92484cbbbae29ba45bb963f80da8237d9406a91b', name: "button-erase" }), h("slot", { key: '92ebb818ee922d790534ffb7816be400ff4a1f98', name: "button" })));
10
10
  }
11
11
  static get is() { return "gov-form-search"; }
12
12
  static get properties() {
@@ -81,10 +81,10 @@ export class GovFormSelect {
81
81
  });
82
82
  }
83
83
  render() {
84
- return (h(Host, { key: 'b403868aaf854a9dc40f68cf093a8867cd20c4c4', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && h("slot", { key: 'de3d0cb80bd3b33a9b23b60f91739f0e23fdab4a', name: "prefix" }), h("span", { key: 'c501806b949bc6e1314922fce0ce088180fdebba', class: "element" }, h("select", Object.assign({ key: '7c1a04a65e69edda672d70b101b430d3c6105543', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '0bd46e42f5e5267366088b9902a5ef8c6aa99064' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
84
+ return (h(Host, { key: '1c2fb05a5cff0e1b1208130cc11568423f5a78a0', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && h("slot", { key: '3dadb5773f1a2abe0c54f6ee45bb3a404fc99a5b', name: "prefix" }), h("span", { key: '82bc3345147debd858c5f0eb4dd9c58faf168d5d', class: "element" }, h("select", Object.assign({ key: 'ee77d1768a549faa0e94025eb5b08390c49d2d32', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '2c6e5a91381a7a9819b92aa7844a8d512aed9577' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
85
85
  var _a;
86
86
  return (h("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
87
- })), this.success && h("gov-icon", { key: '8e919bd8dd122618b2b0233c7b14c8def277540f', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '78610616be9cdf65e9bbc1359e27bc9003c8fc34', class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '56c1ca03e5b23154a93056bba8758553a5c93f30', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && h("slot", { key: 'f3e3f1416d15a34402d446e6a72d0607cc8d90fc', name: "sufix" })));
87
+ })), this.success && h("gov-icon", { key: 'b08abba818740a7250956bf03962fb86eade55c2', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '5b9c0a3e7f7b6b678880b2e17e43ae702fff023b', class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '8b9afa5ebf08b1dd680aac751f8a0559b83132fc', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && h("slot", { key: '9178ca16301992f32c30f3609a388a2251d3bf85', name: "sufix" })));
88
88
  }
89
89
  onFocusHandler(e) {
90
90
  this.focused = true;
@@ -11,7 +11,7 @@ export class GovGridItem {
11
11
  this.h = govHost(this.host);
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'd830b7cb16e1ad4a07b5b5348c05434eb31a1f9e', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, h("slot", { key: '235bd47e47d94457cdbbf1d4530cf2e0bcddc4a3' })));
14
+ return (h(Host, { key: 'e1dc6e3517618361ab3b5e3ad499a5bbbaae3d6a', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, h("slot", { key: '53780db95fa728f252302cb86923ad9e9fcd9b66' })));
15
15
  }
16
16
  static get is() { return "gov-grid-item"; }
17
17
  static get properties() {
@@ -9,7 +9,7 @@ export class GovGrid {
9
9
  }
10
10
  // vertical / horizontal align
11
11
  render() {
12
- return (h(Host, { key: '81e96a065c6472ae76e4768cf2b8373b94f0d0a4', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, h("slot", { key: 'c3965bafe6a5870352a7cded3fc96adfbeb41724' })));
12
+ return (h(Host, { key: 'd2f4e42a186e0d8020abc96ef3ca0956e1492d05', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, h("slot", { key: '46c60ccdda81ce271aeaca46bead1bf33e22c041' })));
13
13
  }
14
14
  static get is() { return "gov-grid"; }
15
15
  static get properties() {
@@ -39,8 +39,8 @@ export class GovInfobar {
39
39
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
40
40
  }
41
41
  render() {
42
- const closeButton = (h("gov-button", { key: '4569d98296984f33ff83947f92a95a0a3bf0d3e3', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, h("gov-icon", { key: 'aafcdbde7ca0e13d9e733036da6cc6085143966d', name: "x-lg", type: "components" })));
43
- return (h(Host, { key: '9b558a0c786862d032ed6fb5d274fc0c3cdae617', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, h("section", Object.assign({ key: '9bded4750afdfef6ace0e5a39be2d6283b30d725', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), h("slot", { key: '011f9d52f9f971a560fd0220be40b5a221a5f4b3', name: "icon" }), h("div", { key: 'd613d4ab22f89da935fe60b866ea262802c5d18f', class: InfobarClass.content }, this.h.hasSlot('headline') ? (h(Fragment, null, h("div", { class: InfobarClass.headline }, h("slot", { name: "headline" }), h("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, h("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), h("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, h("slot", null)))) : (h("slot", null))), this.closable && closeButton)));
42
+ const closeButton = (h("gov-button", { key: '2d0597a56f6edb97e7feff654ba98885fa48033a', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, h("gov-icon", { key: 'c17ba542b02a4910a136eec6cb4556d1857dffb2', name: "x-lg", type: "components" })));
43
+ return (h(Host, { key: 'd71d1b8ffe158de90f3fb520bd996a8246988d3d', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, h("section", Object.assign({ key: '12cce82faa13fa39135fe92b0ab61bc2b01fa083', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), h("slot", { key: 'bc48d4e5dfad03cd9c54054225a4c3db0ec09cd9', name: "icon" }), h("div", { key: '70422e59cb69504d1aca5d45b9f9700b35b344f0', class: InfobarClass.content }, this.h.hasSlot('headline') ? (h(Fragment, null, h("div", { class: InfobarClass.headline }, h("slot", { name: "headline" }), h("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, h("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), h("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, h("slot", null)))) : (h("slot", null))), this.closable && closeButton)));
44
44
  }
45
45
  onCloseHandler(e) {
46
46
  this.govClose.emit({
@@ -6,7 +6,7 @@ export class GovLayoutColumn {
6
6
  this.h = govHost(this.host);
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '8566cc892984b1ce728c679107e228d8320f3048', class: this.h.classes(LayoutColumnClass.root) }, h("slot", { key: 'e3a085ef568fa75ef813b775344adbd6f4ef2773' })));
9
+ return (h(Host, { key: 'ebef4ca76b1308a566c862b5a49eecf1eb3fce99', class: this.h.classes(LayoutColumnClass.root) }, h("slot", { key: 'aaeefeb1a56b294d91b1327fd52eb16486cfb918' })));
10
10
  }
11
11
  static get is() { return "gov-layout-column"; }
12
12
  static get elementRef() { return "host"; }
@@ -15,7 +15,7 @@ export class GovLayout {
15
15
  return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'ba8fc53df2f13fcf8b87f25f073d0284b68b0a3a', type: this.type, class: this.h.classes(LayoutClass.root) }, h("section", { key: 'f645a9b32495c4fc1c0c86a0078c78c4bc00a1e8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, h("slot", { key: '5b0d1a3a137a8fe3bb90ae5dff2dbc179575af56' }))));
18
+ return (h(Host, { key: 'c35fc39e07229363bdf36be5856165e7e8eb7985', type: this.type, class: this.h.classes(LayoutClass.root) }, h("section", { key: 'dc50cf9cba8bd4e879291fddfbd41955f2d10330', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, h("slot", { key: '017a329c119529d3893e187b6a8bbccfbbc76679' }))));
19
19
  }
20
20
  static get is() { return "gov-layout"; }
21
21
  static get properties() {
@@ -32,7 +32,7 @@ export class GovLifecycle {
32
32
  console.log('componentDidUpdate', this.uniqueId);
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '7bd4b9b30b6fe4e1732232fa4e70d66756c2139d', identifier: this.uniqueId }, h("span", { key: '70d6b8d178133ee89b795c4018687c7afb2576f0' }, "lifecycle ", this.uniqueId)));
35
+ return (h(Host, { key: '506eabaae01ae888fa838c10572e55bbe6fb7015', identifier: this.uniqueId }, h("span", { key: '7604a29214fdffb1a470d83d7db37a583e5072ed' }, "lifecycle ", this.uniqueId)));
36
36
  }
37
37
  static get is() { return "gov-lifecycle"; }
38
38
  }
@@ -24,7 +24,7 @@ export class GovLink {
24
24
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '8723fc6fc0cf3faf4a0fb48b38ad2f0d0a21704b', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, h("a", Object.assign({ key: '1bfe7837dab38690789ec818f6134a50a93d1e4e', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), h("slot", { key: '96d6ce9e164a8fa5b6d5c115d52988bdfff3eceb', name: "icon-start" }), h("slot", { key: 'bcc373fec9e7e159c6b31a2ad846dd929d189d1e' }), this.external ? h("gov-icon", { name: "box-arrow-up-right", type: "components" }) : h("slot", { name: "icon-end" }))));
27
+ return (h(Host, { key: '233af48c179501fe03ee2e5931806e1955913b59', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, h("a", Object.assign({ key: '679067805205d76500979620b1ef4405139bb339', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), h("slot", { key: 'd24c4ab99451f317a453c8131bd0506606322553', name: "icon-start" }), h("slot", { key: '276923f48cdc13985115e8d4e8860a2fb0c692e2' }), this.external ? h("gov-icon", { name: "box-arrow-up-right", type: "components" }) : h("slot", { name: "icon-end" }))));
28
28
  }
29
29
  static get is() { return "gov-link"; }
30
30
  static get properties() {
@@ -14,7 +14,7 @@ export class GovLoading {
14
14
  this.validateSize(this.size);
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '3f7cec1f98aa0c68f42eb3049ae8d34270e17258', class: this.h.classes(LoadingClass.root), size: this.size }, h("div", { key: '9ad1ca86b0221f2668f47eb72c080e9ecd05ed68', class: LoadingClass.content }, h("gov-icon", { key: '5d75c634386c8226c553b787355b29b0581601c5', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), h("slot", { key: '99ff7f6f1c8bd8135959ea36bc484eab6c9a4b6b' })), h("gov-backdrop", { key: 'dcaa2ab6dbcca347d5934df52e0f4989701c0259', inverse: true })));
17
+ return (h(Host, { key: '4c33339523674f2f2415dfb326131858de9eecf9', class: this.h.classes(LoadingClass.root), size: this.size }, h("div", { key: '8c25628dd3072fd89665ccfedb9596383181b13d', class: LoadingClass.content }, h("gov-icon", { key: 'a9969874350b5316c61a94b12d41a0130eeded0f', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), h("slot", { key: '14c716ecc352a0d947a6e3d932d2ab9075dedb97' })), h("gov-backdrop", { key: '507610e5a61b34be2166fb4a30539a134dc1b262', inverse: true })));
18
18
  }
19
19
  static get is() { return "gov-loading"; }
20
20
  static get properties() {
@@ -66,7 +66,7 @@ export class GovSkeleton {
66
66
  return Object.assign({}, dimenssionsStyles);
67
67
  }
68
68
  render() {
69
- return (h(Host, Object.assign({ key: '9e026075a3ee04f09546bb686ec04309374da466', size: this.size, color: this.color, class: {
69
+ return (h(Host, Object.assign({ key: '175dad78f57ee2e44fe3097e0595f59254e1003b', size: this.size, color: this.color, class: {
70
70
  [SkeletonClass.root]: true,
71
71
  circle: this.shape === "circle",
72
72
  line: this.shape === "line",
@@ -13,7 +13,7 @@ export class GovMessage {
13
13
  validateProp(Colors, newValue, MessageClass.root);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'e9250a61d94bf14a9d32eef5a69a9347df89a1e2', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (h("slot", { key: '00a69ab91656245790d88c02cbaa14d365f48140', name: "icon" })), h("div", { key: 'c95cb839c2f24f744aff2a9580c44c18102d1fc9', class: MessageClass.content }, h("slot", { key: '71d8d21cff90b5498940d99947d62fec1f400f1e' }))));
16
+ return (h(Host, { key: 'b9e06c8f94940edf9d2c60119c35ec32baa23fc9', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (h("slot", { key: 'd478f414de8eaa276cc867ae5bb325c1090b08ac', name: "icon" })), h("div", { key: 'd5a113ca4061b445c583fb1b4f22fff594570b1e', class: MessageClass.content }, h("slot", { key: 'e9be2f4ff3603c5f77d46e042455174e6ccfb7be' }))));
17
17
  }
18
18
  static get is() { return "gov-message"; }
19
19
  static get properties() {
@@ -19,7 +19,7 @@ export class GovSpacer {
19
19
  this.validateBreakpoint(this.breakpoint);
20
20
  }
21
21
  render() {
22
- return h(Host, { key: '49415f0b2a4bfb25ececcd115bd1e8bfad250938', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
22
+ return h(Host, { key: '23aedb7f3b112a356319aba076eedf9a4743e25b', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
23
23
  }
24
24
  static get is() { return "gov-spacer"; }
25
25
  static get properties() {
@@ -25,7 +25,7 @@ export class GovStepperItem {
25
25
  render() {
26
26
  const triggerId = this.identifier || this.triggerId;
27
27
  const contentId = this.contentId;
28
- return (h(Host, { key: 'f722a022748d8fcb4ca0a27108a7e2e2980a1602', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (h("span", { key: 'eed745cace26ca1d31c6441dd7be76d3dfa6bd4c', class: StepperItemClass.prefix }, h("slot", { key: 'd5cab6411231cd082468bcc5c244ee75e0dba147', name: "prefix" }))), h("div", { key: 'c13c92aa7890f8406eb5870caa93d186801c0a75' }, h("span", { key: 'ad456eb4699a3d32dfa2d5d477bd346cb1814473', class: StepperItemClass.headline }, h("slot", { key: '0dfdb036dcc108943be0795269e7e0b5f8ac0a29', name: "headline" })), h("slot", { key: '24220b19c2f3c6af35407da423bb1900dc363db8', name: "annotation" }), this.h.hasSlot('content') && (h("div", { key: '2bdd3feeaeafdcf73534bfadb5ff29d90eb9e037', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, h("slot", { key: 'f2f70633c3c2adcc7bd407a23863e0a6fba5ec89', name: "content" }))))));
28
+ return (h(Host, { key: 'c24400b8ee5917005e6e3a21f47024c7ebad2960', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (h("span", { key: '010401daa60b44eed322de007fdd6e4ca035ff8d', class: StepperItemClass.prefix }, h("slot", { key: '27287e54365c7e72e01dd21f8d07f7144dc03f3c', name: "prefix" }))), h("div", { key: 'b50e23ee80b270bb5bb781c46e2cf2de73cad1bb' }, h("span", { key: '84500822ca2e529bff5e5cf4eb7ac7c9f0fc9d97', class: StepperItemClass.headline }, h("slot", { key: '18410e07be87715a96540789a82403bfab45e55c', name: "headline" })), h("slot", { key: 'dd2c20b9f07d2bcbf4223eca8de0d7592d178e86', name: "annotation" }), this.h.hasSlot('content') && (h("div", { key: 'cd34d17b5a14816dd91ee84f91a14217952bcfe5', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, h("slot", { key: 'c90f411f8d63c6381f55a0e6ac819369a9bfd2e5', name: "content" }))))));
29
29
  }
30
30
  static get is() { return "gov-stepper-item"; }
31
31
  static get properties() {
@@ -27,7 +27,7 @@ export class GovStepper {
27
27
  this.hydrated = true;
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '208bca5b06fce13b8f87f0cc4497860c01d2d56b', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: 'a0ec9b8b5e03062e4b9547cb9fbfc73fddaa0519' })));
30
+ return (h(Host, { key: '0815470dbe86e888ab922139e6f02347f89f4700', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: '2585c79a48236a8c2d333a437beb4d7f1d9d9d6c' })));
31
31
  }
32
32
  static get is() { return "gov-stepper"; }
33
33
  static get properties() {
@@ -23,7 +23,7 @@ export class GovTabsItem {
23
23
  }
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '7cf18cf8a10a4c03dd51922e31e18dac86aa217d', class: this.h.classes(TabsItemClass.root), default: this.default }, h("div", { key: '3a707d9494c5055c3763f4cdf840522fae5e7a2a', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, h("slot", { key: '289b661851fc6d68a5d6dd376a6e31b691e25aea' }))));
26
+ return (h(Host, { key: '89b01b0d025a89f89085dba24db6b8fadcd97e68', class: this.h.classes(TabsItemClass.root), default: this.default }, h("div", { key: '8868371d0da63c1727c8b3a55b930a4d0ce30a3c', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, h("slot", { key: '0d47bea8c416b1c57aac006f9eea9101ade9427d' }))));
27
27
  }
28
28
  /**
29
29
  * Returns a unique tab content identifier
@@ -112,7 +112,7 @@ export class GovTabs {
112
112
  });
113
113
  }
114
114
  render() {
115
- return (h(Host, { key: '75a6dc2d1bb8afb13e3d63b44bdd00e230a49fe6', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, h("div", Object.assign({ key: '1fc7ff9eafaaab713727787a1bb0c7364ad3cf4e', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), h("ul", { key: '82a67f585c9a394175bb64be57e669d886b3d4f6', class: TabsClass.list }, this.controllers.map(control => (h("li", { class: TabsClass.item }, this.type == "text" ? (h("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), h("slot", { key: '8af7e27c0410ba9a4c0f79a1c44275e5811e9463' })));
115
+ return (h(Host, { key: '4efcbedcc355a74456cc899bc48c7aaf8c604c12', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, h("div", Object.assign({ key: 'a64d1a7cadd5950ebc687c3f3d741ea0a59a3684', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), h("ul", { key: 'adab5148c97b041e11f3e7d11a4d87492df5320a', class: TabsClass.list }, this.controllers.map(control => (h("li", { class: TabsClass.item }, this.type == "text" ? (h("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), h("slot", { key: '2a3720ce9449d62ecd1d58bac806bf356d37375a' })));
116
116
  }
117
117
  getCurrentTab() {
118
118
  return this.controllers.find(control => control.active) || null;
@@ -11,6 +11,7 @@ export class GovTag {
11
11
  this.size = TagSizes._S;
12
12
  this.color = ButtonColors.PRIMARY;
13
13
  this.type = undefined;
14
+ this.expanded = false;
14
15
  this.h = govHost(this.host);
15
16
  }
16
17
  validateColor(newValue) {
@@ -26,7 +27,7 @@ export class GovTag {
26
27
  render() {
27
28
  const iconStart = prepareIconFormat(this.iconStart);
28
29
  const iconEnd = prepareIconFormat(this.iconEnd);
29
- return (h(Host, { key: 'c883cf9721b32aa8c06609bf09272ef196456e18', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, h("span", { key: '614f39f6f1004d6c3ee1d0f13990a4e52dee66bc', class: "element" }, h("slot", { key: 'f7d4dc9576768e917a363bc7cafa86567213ea82', name: "icon-start" }, iconStart && h("gov-icon", { key: '8d57b52a0314e8d76461872116b4ce04e546c180', type: iconStart.type, name: iconStart.name })), h("slot", { key: '4cd134377c3ea7843aa899b0a2962aa19f5d569e' }), h("slot", { key: '4dc1cccaced24ef26bb15e648788590a4b7d1838', name: "icon-end" }, iconEnd && h("gov-icon", { key: '7946e18900c98bdff4c610813b2422bf75b30049', type: iconEnd.type, name: iconEnd.name })))));
30
+ return (h(Host, { key: '8865709f2568a754160000138f413f352409e248', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, h("span", { key: '4ae6dc1d60a207510de61c2391af9eb268dd3588', class: "element" }, h("slot", { key: 'f08057eb346b918d1be45ad7561a71bac54237aa', name: "icon-start" }, iconStart && h("gov-icon", { key: '37554fce04335c45bb724efeb5e7701513336b7b', type: iconStart.type, name: iconStart.name })), h("slot", { key: 'b66970bf42b9fd9217cb2e3a03c2f47c608b14a5' }), h("slot", { key: '85bf0010dac55b808bba5a442d977e8538f93d3a', name: "icon-end" }, iconEnd && h("gov-icon", { key: '70bf541bac6a69871618cb520c7008099aa6f341', type: iconEnd.type, name: iconEnd.name })))));
30
31
  }
31
32
  static get is() { return "gov-tag"; }
32
33
  static get properties() {
@@ -135,6 +136,24 @@ export class GovTag {
135
136
  },
136
137
  "attribute": "type",
137
138
  "reflect": true
139
+ },
140
+ "expanded": {
141
+ "type": "boolean",
142
+ "mutable": false,
143
+ "complexType": {
144
+ "original": "boolean",
145
+ "resolved": "boolean",
146
+ "references": {}
147
+ },
148
+ "required": false,
149
+ "optional": false,
150
+ "docs": {
151
+ "tags": [],
152
+ "text": "Expands the tag to fill 100% of the container width"
153
+ },
154
+ "attribute": "expanded",
155
+ "reflect": true,
156
+ "defaultValue": "false"
138
157
  }
139
158
  };
140
159
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gov-tag.js","sourceRoot":"","sources":["../../../../../../src/components/gov-tag/gov-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAC,WAAW,EAAE,YAAY,EAAkB,MAAM,gCAAgC,CAAA;AACzF,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAA6B,MAAM,aAAa,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAKtD,MAAM,OAAO,MAAM;IAGlB;;;oBAiBqD,QAAQ,CAAC,EAAE;qBAIP,YAAY,CAAC,OAAO;;QApB5E,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA0BD,aAAa,CAAC,QAAgB;QAC7B,YAAY,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IACpD,CAAC;IAGD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IACnD,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;IAED,MAAM;QACL,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACnD,MAAM,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/C,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EACzC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI;YAEf,6DAAM,KAAK,EAAC,SAAS;gBACpB,6DAAM,IAAI,EAAC,YAAY,IACrB,SAAS,IAAI,iEAAU,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,GAAa,CACzE;gBACP,8DAAO;gBACP,6DAAM,IAAI,EAAC,UAAU,IACnB,OAAO,IAAI,iEAAU,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,GAAa,CACnE,CACD,CACD,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-start\"}) readonly iconStart?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-end\"}) readonly iconEnd?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconStart = prepareIconFormat(this.iconStart)\n\t\tconst iconEnd = prepareIconFormat(this.iconEnd)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\tcolor={this.color}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<slot name=\"icon-start\">\n\t\t\t\t\t\t{iconStart && <gov-icon type={iconStart.type} name={iconStart.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"icon-end\">\n\t\t\t\t\t\t{iconEnd && <gov-icon type={iconEnd.type} name={iconEnd.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-tag.js","sourceRoot":"","sources":["../../../../../../src/components/gov-tag/gov-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAC,WAAW,EAAE,YAAY,EAAkB,MAAM,gCAAgC,CAAA;AACzF,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAA6B,MAAM,aAAa,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAKtD,MAAM,OAAO,MAAM;IAGlB;;;oBAiBqD,QAAQ,CAAC,EAAE;qBAIP,YAAY,CAAC,OAAO;;wBAQzB,KAAK;QA5BxD,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA8BD,aAAa,CAAC,QAAgB;QAC7B,YAAY,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IACpD,CAAC;IAGD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IACnD,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;IAED,MAAM;QACL,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACnD,MAAM,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/C,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EACzC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI;YAEf,6DAAM,KAAK,EAAC,SAAS;gBACpB,6DAAM,IAAI,EAAC,YAAY,IACrB,SAAS,IAAI,iEAAU,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,GAAa,CACzE;gBACP,8DAAO;gBACP,6DAAM,IAAI,EAAC,UAAU,IACnB,OAAO,IAAI,iEAAU,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,GAAa,CACnE,CACD,CACD,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-start\"}) readonly iconStart?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-end\"}) readonly iconEnd?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\t/**\n\t * Expands the tag to fill 100% of the container width\n\t */\n\t@Prop({reflect: true}) readonly expanded: boolean = false\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconStart = prepareIconFormat(this.iconStart)\n\t\tconst iconEnd = prepareIconFormat(this.iconEnd)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\tcolor={this.color}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<slot name=\"icon-start\">\n\t\t\t\t\t\t{iconStart && <gov-icon type={iconStart.type} name={iconStart.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"icon-end\">\n\t\t\t\t\t\t{iconEnd && <gov-icon type={iconEnd.type} name={iconEnd.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -6,8 +6,6 @@ export const ThemeSwitchClass = {
6
6
  indicator: 'gov-theme-switch__indicator',
7
7
  iconLight: 'gov-theme-switch__icon-light',
8
8
  iconDark: 'gov-theme-switch__icon-dark',
9
- labelLight: 'gov-theme-switch__label-light',
10
- labelDark: 'gov-theme-switch__label-dark',
11
9
  };
12
10
  export const ATTRIBUTE_THEME_NAME = 'data-theme';
13
11
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-theme-switch/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAG7E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,kBAAkB;IACxB,SAAS,EAAE,6BAA6B;IACxC,SAAS,EAAE,8BAA8B;IACzC,QAAQ,EAAE,6BAA6B;IACvC,UAAU,EAAE,+BAA+B;IAC3C,SAAS,EAAE,8BAA8B;CACzC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAA","sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n\tlabelLight: 'gov-theme-switch__label-light',\n\tlabelDark: 'gov-theme-switch__label-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-theme-switch/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAG7E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,kBAAkB;IACxB,SAAS,EAAE,6BAA6B;IACxC,SAAS,EAAE,8BAA8B;IACzC,QAAQ,EAAE,6BAA6B;CACvC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAA","sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n"]}