@gov-design-system-ce/components 4.0.5 → 4.0.6

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 (1464) hide show
  1. package/dist/cjs/Fragment-52846f79.js +7 -0
  2. package/dist/cjs/Fragment-52846f79.js.map +1 -0
  3. package/dist/cjs/constants-0c6c8e11.js +30 -0
  4. package/dist/cjs/constants-0c6c8e11.js.map +1 -0
  5. package/dist/cjs/constants-1490a5eb.js +25 -0
  6. package/dist/cjs/constants-1490a5eb.js.map +1 -0
  7. package/dist/cjs/constants-20b3f7ee.js +28 -0
  8. package/dist/cjs/constants-20b3f7ee.js.map +1 -0
  9. package/dist/cjs/constants-25f7a6be.js +22 -0
  10. package/dist/cjs/constants-25f7a6be.js.map +1 -0
  11. package/dist/cjs/constants-2b1c31b8.js +15 -0
  12. package/dist/cjs/constants-2b1c31b8.js.map +1 -0
  13. package/dist/cjs/constants-427a2843.js +33 -0
  14. package/dist/cjs/constants-427a2843.js.map +1 -0
  15. package/dist/cjs/constants-440cd5c8.js +29 -0
  16. package/dist/cjs/constants-440cd5c8.js.map +1 -0
  17. package/dist/cjs/constants-61f8be34.js +26 -0
  18. package/dist/cjs/constants-61f8be34.js.map +1 -0
  19. package/dist/cjs/constants-66cb0615.js +20 -0
  20. package/dist/cjs/constants-66cb0615.js.map +1 -0
  21. package/dist/cjs/constants-6df82618.js +21 -0
  22. package/dist/cjs/constants-6df82618.js.map +1 -0
  23. package/dist/cjs/constants-97eea364.js +14 -0
  24. package/dist/cjs/constants-97eea364.js.map +1 -0
  25. package/dist/cjs/constants-a31344ad.js +37 -0
  26. package/dist/cjs/constants-a31344ad.js.map +1 -0
  27. package/dist/cjs/constants-caad94b4.js +16 -0
  28. package/dist/cjs/constants-caad94b4.js.map +1 -0
  29. package/dist/cjs/constants-dde21dcf.js +30 -0
  30. package/dist/cjs/constants-dde21dcf.js.map +1 -0
  31. package/dist/cjs/constants-ded92f8a.js +13 -0
  32. package/dist/cjs/constants-ded92f8a.js.map +1 -0
  33. package/dist/cjs/core.cjs.js +48 -0
  34. package/dist/cjs/core.cjs.js.map +1 -0
  35. package/dist/cjs/form-74063d50.js +163 -0
  36. package/dist/cjs/form-74063d50.js.map +1 -0
  37. package/dist/cjs/gov-accordion-item.cjs.entry.js +102 -0
  38. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -0
  39. package/dist/cjs/gov-accordion.cjs.entry.js +77 -0
  40. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -0
  41. package/dist/cjs/gov-attachments_3.cjs.entry.js +120 -0
  42. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -0
  43. package/dist/cjs/gov-backdrop.cjs.entry.js +50 -0
  44. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -0
  45. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +50 -0
  46. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -0
  47. package/dist/cjs/gov-button.cjs.entry.js +180 -0
  48. package/dist/cjs/gov-button.cjs.entry.js.map +1 -0
  49. package/dist/cjs/gov-card.cjs.entry.js +112 -0
  50. package/dist/cjs/gov-card.cjs.entry.js.map +1 -0
  51. package/dist/cjs/gov-chip.cjs.entry.js +108 -0
  52. package/dist/cjs/gov-chip.cjs.entry.js.map +1 -0
  53. package/dist/cjs/gov-container.cjs.entry.js +36 -0
  54. package/dist/cjs/gov-container.cjs.entry.js.map +1 -0
  55. package/dist/cjs/gov-control-group.cjs.entry.js +43 -0
  56. package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -0
  57. package/dist/cjs/gov-cookiebar.cjs.entry.js +33 -0
  58. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -0
  59. package/dist/cjs/gov-dropdown.cjs.entry.js +135 -0
  60. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -0
  61. package/dist/cjs/gov-empty.cjs.entry.js +31 -0
  62. package/dist/cjs/gov-empty.cjs.entry.js.map +1 -0
  63. package/dist/cjs/gov-error-code.cjs.entry.js +31 -0
  64. package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -0
  65. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +245 -0
  66. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -0
  67. package/dist/cjs/gov-form-checkbox.cjs.entry.js +131 -0
  68. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -0
  69. package/dist/cjs/gov-form-control.cjs.entry.js +107 -0
  70. package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -0
  71. package/dist/cjs/gov-form-file.cjs.entry.js +240 -0
  72. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -0
  73. package/dist/cjs/gov-form-group.cjs.entry.js +59 -0
  74. package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -0
  75. package/dist/cjs/gov-form-input.cjs.entry.js +190 -0
  76. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -0
  77. package/dist/cjs/gov-form-label.cjs.entry.js +30 -0
  78. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
  79. package/dist/cjs/gov-form-multi-select.cjs.entry.js +304 -0
  80. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -0
  81. package/dist/cjs/gov-form-password-power.cjs.entry.js +28 -0
  82. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -0
  83. package/dist/cjs/gov-form-radio.cjs.entry.js +131 -0
  84. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -0
  85. package/dist/cjs/gov-form-search.cjs.entry.js +32 -0
  86. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -0
  87. package/dist/cjs/gov-form-select.cjs.entry.js +167 -0
  88. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -0
  89. package/dist/cjs/gov-form-switch.cjs.entry.js +131 -0
  90. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -0
  91. package/dist/cjs/gov-grid-item.cjs.entry.js +30 -0
  92. package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/gov-grid.cjs.entry.js +28 -0
  94. package/dist/cjs/gov-grid.cjs.entry.js.map +1 -0
  95. package/dist/cjs/gov-icon.cjs.entry.js +135 -0
  96. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -0
  97. package/dist/cjs/gov-infobar.cjs.entry.js +91 -0
  98. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -0
  99. package/dist/cjs/gov-layout-column.cjs.entry.js +25 -0
  100. package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -0
  101. package/dist/cjs/gov-layout.cjs.entry.js +34 -0
  102. package/dist/cjs/gov-layout.cjs.entry.js.map +1 -0
  103. package/dist/cjs/gov-loading.cjs.entry.js +30 -0
  104. package/dist/cjs/gov-loading.cjs.entry.js.map +1 -0
  105. package/dist/cjs/gov-message.cjs.entry.js +44 -0
  106. package/dist/cjs/gov-message.cjs.entry.js.map +1 -0
  107. package/dist/cjs/gov-modal.cjs.entry.js +106 -0
  108. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -0
  109. package/dist/cjs/gov-nav-item.cjs.entry.js +39 -0
  110. package/dist/cjs/gov-nav-item.cjs.entry.js.map +1 -0
  111. package/dist/cjs/gov-nav.cjs.entry.js +42 -0
  112. package/dist/cjs/gov-nav.cjs.entry.js.map +1 -0
  113. package/dist/cjs/gov-pagination.cjs.entry.js +224 -0
  114. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -0
  115. package/dist/cjs/gov-prompt.cjs.entry.js +103 -0
  116. package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -0
  117. package/dist/cjs/gov-side-nav-item.cjs.entry.js +87 -0
  118. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -0
  119. package/dist/cjs/gov-side-nav.cjs.entry.js +56 -0
  120. package/dist/cjs/gov-side-nav.cjs.entry.js.map +1 -0
  121. package/dist/cjs/gov-skeleton.cjs.entry.js +117 -0
  122. package/dist/cjs/gov-skeleton.cjs.entry.js.map +1 -0
  123. package/dist/cjs/gov-spacer.cjs.entry.js +58 -0
  124. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -0
  125. package/dist/cjs/gov-statsbar-item.cjs.entry.js +40 -0
  126. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +1 -0
  127. package/dist/cjs/gov-statsbar.cjs.entry.js +53 -0
  128. package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -0
  129. package/dist/cjs/gov-stepper-item.cjs.entry.js +78 -0
  130. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -0
  131. package/dist/cjs/gov-stepper.cjs.entry.js +51 -0
  132. package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -0
  133. package/dist/cjs/gov-tabs-item.cjs.entry.js +53 -0
  134. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -0
  135. package/dist/cjs/gov-tabs.cjs.entry.js +198 -0
  136. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -0
  137. package/dist/cjs/gov-tag.cjs.entry.js +57 -0
  138. package/dist/cjs/gov-tag.cjs.entry.js.map +1 -0
  139. package/dist/cjs/gov-tile.cjs.entry.js +42 -0
  140. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -0
  141. package/dist/cjs/gov-tiles.cjs.entry.js +33 -0
  142. package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -0
  143. package/dist/cjs/gov-toast.cjs.entry.js +101 -0
  144. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -0
  145. package/dist/cjs/gov-tooltip-content.cjs.entry.js +54 -0
  146. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -0
  147. package/dist/cjs/gov-tooltip.cjs.entry.js +224 -0
  148. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -0
  149. package/dist/cjs/gov-wizard-item.cjs.entry.js +115 -0
  150. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -0
  151. package/dist/cjs/gov-wizard.cjs.entry.js +69 -0
  152. package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -0
  153. package/dist/cjs/gov.log-b842920d.js +28 -0
  154. package/dist/cjs/gov.log-b842920d.js.map +1 -0
  155. package/dist/cjs/helpers-2c870ff5.js +19 -0
  156. package/dist/cjs/helpers-2c870ff5.js.map +1 -0
  157. package/dist/cjs/index-7b6bba34.js +2713 -0
  158. package/dist/cjs/index-7b6bba34.js.map +1 -0
  159. package/dist/cjs/index.cjs.js +4 -0
  160. package/dist/cjs/index.cjs.js.map +1 -0
  161. package/dist/cjs/loader.cjs.js +15 -0
  162. package/dist/cjs/loader.cjs.js.map +1 -0
  163. package/dist/cjs/props-d6146e54.js +16 -0
  164. package/dist/cjs/props-d6146e54.js.map +1 -0
  165. package/dist/cjs/sizes-79872c2a.js +18 -0
  166. package/dist/cjs/sizes-79872c2a.js.map +1 -0
  167. package/dist/cjs/string.utils-0f08c48c.js +24 -0
  168. package/dist/cjs/string.utils-0f08c48c.js.map +1 -0
  169. package/dist/cjs/template-4b951d1d.js +128 -0
  170. package/dist/cjs/template-4b951d1d.js.map +1 -0
  171. package/dist/cjs/utils-c9b1bba3.js +41 -0
  172. package/dist/cjs/utils-c9b1bba3.js.map +1 -0
  173. package/dist/cjs/variants-f5ffeef3.js +18 -0
  174. package/dist/cjs/variants-f5ffeef3.js.map +1 -0
  175. package/dist/cjs/wcag-e6257f27.js +67 -0
  176. package/dist/cjs/wcag-e6257f27.js.map +1 -0
  177. package/dist/cjs/win-5521073d.js +39 -0
  178. package/dist/cjs/win-5521073d.js.map +1 -0
  179. package/dist/collection/collection-manifest.json +71 -0
  180. package/dist/collection/components/gov-accordion/constants.js +21 -0
  181. package/dist/collection/components/gov-accordion/constants.js.map +1 -0
  182. package/dist/collection/components/gov-accordion/gov-accordion-item.css +524 -0
  183. package/dist/collection/components/gov-accordion/gov-accordion-item.js +304 -0
  184. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -0
  185. package/dist/collection/components/gov-accordion/gov-accordion.css +240 -0
  186. package/dist/collection/components/gov-accordion/gov-accordion.js +226 -0
  187. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -0
  188. package/dist/collection/components/gov-accordion/gov-accordion.types.js +2 -0
  189. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -0
  190. package/dist/collection/components/gov-attachments/constants.js +12 -0
  191. package/dist/collection/components/gov-attachments/constants.js.map +1 -0
  192. package/dist/collection/components/gov-attachments/gov-attachments-item.css +261 -0
  193. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +2 -0
  194. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -0
  195. package/dist/collection/components/gov-attachments/gov-attachments-item.js +123 -0
  196. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -0
  197. package/dist/collection/components/gov-attachments/gov-attachments.css +247 -0
  198. package/dist/collection/components/gov-attachments/gov-attachments.js +100 -0
  199. package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -0
  200. package/dist/collection/components/gov-backdrop/constants.js +5 -0
  201. package/dist/collection/components/gov-backdrop/constants.js.map +1 -0
  202. package/dist/collection/components/gov-backdrop/gov-backdrop.css +246 -0
  203. package/dist/collection/components/gov-backdrop/gov-backdrop.js +142 -0
  204. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -0
  205. package/dist/collection/components/gov-breadcrumbs/constants.js +4 -0
  206. package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -0
  207. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +279 -0
  208. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +2 -0
  209. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -0
  210. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +162 -0
  211. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -0
  212. package/dist/collection/components/gov-button/button/constants.js +29 -0
  213. package/dist/collection/components/gov-button/button/constants.js.map +1 -0
  214. package/dist/collection/components/gov-button/button/gov-button.css +1154 -0
  215. package/dist/collection/components/gov-button/button/gov-button.js +891 -0
  216. package/dist/collection/components/gov-button/button/gov-button.js.map +1 -0
  217. package/dist/collection/components/gov-button/button/gov-button.types.js +2 -0
  218. package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -0
  219. package/dist/collection/components/gov-button/dropdown/constants.js +10 -0
  220. package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -0
  221. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +264 -0
  222. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +177 -0
  223. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -0
  224. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +2 -0
  225. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -0
  226. package/dist/collection/components/gov-card/constants.js +14 -0
  227. package/dist/collection/components/gov-card/constants.js.map +1 -0
  228. package/dist/collection/components/gov-card/gov-card.css +377 -0
  229. package/dist/collection/components/gov-card/gov-card.js +311 -0
  230. package/dist/collection/components/gov-card/gov-card.js.map +1 -0
  231. package/dist/collection/components/gov-card/interfaces.js +2 -0
  232. package/dist/collection/components/gov-card/interfaces.js.map +1 -0
  233. package/dist/collection/components/gov-chip/constants.js +13 -0
  234. package/dist/collection/components/gov-chip/constants.js.map +1 -0
  235. package/dist/collection/components/gov-chip/gov-chip.css +1255 -0
  236. package/dist/collection/components/gov-chip/gov-chip.js +462 -0
  237. package/dist/collection/components/gov-chip/gov-chip.js.map +1 -0
  238. package/dist/collection/components/gov-container/constants.js +4 -0
  239. package/dist/collection/components/gov-container/constants.js.map +1 -0
  240. package/dist/collection/components/gov-container/gov-container.css +247 -0
  241. package/dist/collection/components/gov-container/gov-container.js +60 -0
  242. package/dist/collection/components/gov-container/gov-container.js.map +1 -0
  243. package/dist/collection/components/gov-control-group/constants.js +7 -0
  244. package/dist/collection/components/gov-control-group/constants.js.map +1 -0
  245. package/dist/collection/components/gov-control-group/gov-control-group.css +280 -0
  246. package/dist/collection/components/gov-control-group/gov-control-group.js +84 -0
  247. package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -0
  248. package/dist/collection/components/gov-cookiebar/constants.js +9 -0
  249. package/dist/collection/components/gov-cookiebar/constants.js.map +1 -0
  250. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +289 -0
  251. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +24 -0
  252. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -0
  253. package/dist/collection/components/gov-empty/constants.js +7 -0
  254. package/dist/collection/components/gov-empty/constants.js.map +1 -0
  255. package/dist/collection/components/gov-empty/gov-empty.css +255 -0
  256. package/dist/collection/components/gov-empty/gov-empty.js +24 -0
  257. package/dist/collection/components/gov-empty/gov-empty.js.map +1 -0
  258. package/dist/collection/components/gov-error-code/constants.js +7 -0
  259. package/dist/collection/components/gov-error-code/constants.js.map +1 -0
  260. package/dist/collection/components/gov-error-code/gov-error-code.css +270 -0
  261. package/dist/collection/components/gov-error-code/gov-error-code.js +24 -0
  262. package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -0
  263. package/dist/collection/components/gov-form/autocomplete/constants.js +13 -0
  264. package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -0
  265. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +290 -0
  266. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +824 -0
  267. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -0
  268. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +2 -0
  269. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -0
  270. package/dist/collection/components/gov-form/checkbox/constants.js +9 -0
  271. package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -0
  272. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +402 -0
  273. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +442 -0
  274. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -0
  275. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +2 -0
  276. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -0
  277. package/dist/collection/components/gov-form/control/constants.js +9 -0
  278. package/dist/collection/components/gov-form/control/constants.js.map +1 -0
  279. package/dist/collection/components/gov-form/control/gov-form-control.css +291 -0
  280. package/dist/collection/components/gov-form/control/gov-form-control.js +241 -0
  281. package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -0
  282. package/dist/collection/components/gov-form/file/constants.js +10 -0
  283. package/dist/collection/components/gov-form/file/constants.js.map +1 -0
  284. package/dist/collection/components/gov-form/file/gov-form-file.css +301 -0
  285. package/dist/collection/components/gov-form/file/gov-form-file.js +702 -0
  286. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -0
  287. package/dist/collection/components/gov-form/file/gov-form-file.types.js +2 -0
  288. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -0
  289. package/dist/collection/components/gov-form/group/constants.js +12 -0
  290. package/dist/collection/components/gov-form/group/constants.js.map +1 -0
  291. package/dist/collection/components/gov-form/group/gov-form-group.css +261 -0
  292. package/dist/collection/components/gov-form/group/gov-form-group.js +102 -0
  293. package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -0
  294. package/dist/collection/components/gov-form/input/constants.js +29 -0
  295. package/dist/collection/components/gov-form/input/constants.js.map +1 -0
  296. package/dist/collection/components/gov-form/input/gov-form-input.css +523 -0
  297. package/dist/collection/components/gov-form/input/gov-form-input.js +930 -0
  298. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -0
  299. package/dist/collection/components/gov-form/input/gov-form-input.types.js +2 -0
  300. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -0
  301. package/dist/collection/components/gov-form/label/constants.js +8 -0
  302. package/dist/collection/components/gov-form/label/constants.js.map +1 -0
  303. package/dist/collection/components/gov-form/label/gov-form-label.css +252 -0
  304. package/dist/collection/components/gov-form/label/gov-form-label.js +130 -0
  305. package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -0
  306. package/dist/collection/components/gov-form/message/constants.js +9 -0
  307. package/dist/collection/components/gov-form/message/constants.js.map +1 -0
  308. package/dist/collection/components/gov-form/message/gov-form-message.css +262 -0
  309. package/dist/collection/components/gov-form/message/gov-form-message.js +95 -0
  310. package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -0
  311. package/dist/collection/components/gov-form/multiselect/constants.js +12 -0
  312. package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -0
  313. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +639 -0
  314. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +936 -0
  315. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -0
  316. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +2 -0
  317. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -0
  318. package/dist/collection/components/gov-form/password-power/constants.js +6 -0
  319. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -0
  320. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +275 -0
  321. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +43 -0
  322. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -0
  323. package/dist/collection/components/gov-form/radio/constants.js +11 -0
  324. package/dist/collection/components/gov-form/radio/constants.js.map +1 -0
  325. package/dist/collection/components/gov-form/radio/gov-form-radio.css +401 -0
  326. package/dist/collection/components/gov-form/radio/gov-form-radio.js +442 -0
  327. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -0
  328. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +2 -0
  329. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -0
  330. package/dist/collection/components/gov-form/search/constants.js +9 -0
  331. package/dist/collection/components/gov-form/search/constants.js.map +1 -0
  332. package/dist/collection/components/gov-form/search/gov-form-search.css +274 -0
  333. package/dist/collection/components/gov-form/search/gov-form-search.js +51 -0
  334. package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -0
  335. package/dist/collection/components/gov-form/select/constants.js +10 -0
  336. package/dist/collection/components/gov-form/select/constants.js.map +1 -0
  337. package/dist/collection/components/gov-form/select/gov-form-select.css +598 -0
  338. package/dist/collection/components/gov-form/select/gov-form-select.js +613 -0
  339. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -0
  340. package/dist/collection/components/gov-form/select/gov-form-select.types.js +2 -0
  341. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -0
  342. package/dist/collection/components/gov-form/switch/constants.js +10 -0
  343. package/dist/collection/components/gov-form/switch/constants.js.map +1 -0
  344. package/dist/collection/components/gov-form/switch/gov-form-switch.css +440 -0
  345. package/dist/collection/components/gov-form/switch/gov-form-switch.js +442 -0
  346. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -0
  347. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +2 -0
  348. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -0
  349. package/dist/collection/components/gov-grid/constants.js +7 -0
  350. package/dist/collection/components/gov-grid/constants.js.map +1 -0
  351. package/dist/collection/components/gov-grid/gov-grid-item.css +437 -0
  352. package/dist/collection/components/gov-grid/gov-grid-item.js +119 -0
  353. package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -0
  354. package/dist/collection/components/gov-grid/gov-grid.css +256 -0
  355. package/dist/collection/components/gov-grid/gov-grid.js +65 -0
  356. package/dist/collection/components/gov-grid/gov-grid.js.map +1 -0
  357. package/dist/collection/components/gov-icon/constants.js +11 -0
  358. package/dist/collection/components/gov-icon/constants.js.map +1 -0
  359. package/dist/collection/components/gov-icon/gov-icon.css +250 -0
  360. package/dist/collection/components/gov-icon/gov-icon.js +139 -0
  361. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -0
  362. package/dist/collection/components/gov-icon/helpers.js +14 -0
  363. package/dist/collection/components/gov-icon/helpers.js.map +1 -0
  364. package/dist/collection/components/gov-icon/list.js +282 -0
  365. package/dist/collection/components/gov-icon/list.js.map +1 -0
  366. package/dist/collection/components/gov-infobar/constants.js +13 -0
  367. package/dist/collection/components/gov-infobar/constants.js.map +1 -0
  368. package/dist/collection/components/gov-infobar/gov-infobar.css +388 -0
  369. package/dist/collection/components/gov-infobar/gov-infobar.js +246 -0
  370. package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -0
  371. package/dist/collection/components/gov-infobar/gov-infobar.types.js +2 -0
  372. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -0
  373. package/dist/collection/components/gov-layout/constants.js +19 -0
  374. package/dist/collection/components/gov-layout/constants.js.map +1 -0
  375. package/dist/collection/components/gov-layout/gov-layout-column.css +237 -0
  376. package/dist/collection/components/gov-layout/gov-layout-column.js +24 -0
  377. package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -0
  378. package/dist/collection/components/gov-layout/gov-layout.css +282 -0
  379. package/dist/collection/components/gov-layout/gov-layout.js +102 -0
  380. package/dist/collection/components/gov-layout/gov-layout.js.map +1 -0
  381. package/dist/collection/components/gov-loading/loading/constants.js +6 -0
  382. package/dist/collection/components/gov-loading/loading/constants.js.map +1 -0
  383. package/dist/collection/components/gov-loading/loading/gov-loading.css +261 -0
  384. package/dist/collection/components/gov-loading/loading/gov-loading.js +24 -0
  385. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -0
  386. package/dist/collection/components/gov-loading/skeleton/constants.js +20 -0
  387. package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -0
  388. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +300 -0
  389. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +271 -0
  390. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -0
  391. package/dist/collection/components/gov-message/constants.js +10 -0
  392. package/dist/collection/components/gov-message/constants.js.map +1 -0
  393. package/dist/collection/components/gov-message/gov-message.css +319 -0
  394. package/dist/collection/components/gov-message/gov-message.js +64 -0
  395. package/dist/collection/components/gov-message/gov-message.js.map +1 -0
  396. package/dist/collection/components/gov-modal/constants.js +15 -0
  397. package/dist/collection/components/gov-modal/constants.js.map +1 -0
  398. package/dist/collection/components/gov-modal/gov-modal.css +345 -0
  399. package/dist/collection/components/gov-modal/gov-modal.js +355 -0
  400. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -0
  401. package/dist/collection/components/gov-nav/constants.js +9 -0
  402. package/dist/collection/components/gov-nav/constants.js.map +1 -0
  403. package/dist/collection/components/gov-nav/gov-nav-item.css +288 -0
  404. package/dist/collection/components/gov-nav/gov-nav-item.js +68 -0
  405. package/dist/collection/components/gov-nav/gov-nav-item.js.map +1 -0
  406. package/dist/collection/components/gov-nav/gov-nav.css +254 -0
  407. package/dist/collection/components/gov-nav/gov-nav.js +98 -0
  408. package/dist/collection/components/gov-nav/gov-nav.js.map +1 -0
  409. package/dist/collection/components/gov-pagination/constants.js +21 -0
  410. package/dist/collection/components/gov-pagination/constants.js.map +1 -0
  411. package/dist/collection/components/gov-pagination/gov-pagination.css +394 -0
  412. package/dist/collection/components/gov-pagination/gov-pagination.js +460 -0
  413. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -0
  414. package/dist/collection/components/gov-pagination/gov-pagination.types.js +2 -0
  415. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -0
  416. package/dist/collection/components/gov-pagination/pagination.js +55 -0
  417. package/dist/collection/components/gov-pagination/pagination.js.map +1 -0
  418. package/dist/collection/components/gov-promp/constants.js +13 -0
  419. package/dist/collection/components/gov-promp/constants.js.map +1 -0
  420. package/dist/collection/components/gov-promp/gov-prompt.css +348 -0
  421. package/dist/collection/components/gov-promp/gov-prompt.js +334 -0
  422. package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -0
  423. package/dist/collection/components/gov-side-nav/constants.js +16 -0
  424. package/dist/collection/components/gov-side-nav/constants.js.map +1 -0
  425. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +384 -0
  426. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +2 -0
  427. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +1 -0
  428. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +336 -0
  429. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -0
  430. package/dist/collection/components/gov-side-nav/gov-side-nav.css +237 -0
  431. package/dist/collection/components/gov-side-nav/gov-side-nav.js +171 -0
  432. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -0
  433. package/dist/collection/components/gov-spacer/constants.js +15 -0
  434. package/dist/collection/components/gov-spacer/constants.js.map +1 -0
  435. package/dist/collection/components/gov-spacer/gov-spacer.css +302 -0
  436. package/dist/collection/components/gov-spacer/gov-spacer.js +97 -0
  437. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -0
  438. package/dist/collection/components/gov-statsbar/constants.js +18 -0
  439. package/dist/collection/components/gov-statsbar/constants.js.map +1 -0
  440. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +296 -0
  441. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +66 -0
  442. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -0
  443. package/dist/collection/components/gov-statsbar/gov-statsbar.css +281 -0
  444. package/dist/collection/components/gov-statsbar/gov-statsbar.js +104 -0
  445. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -0
  446. package/dist/collection/components/gov-stepper/constants.js +21 -0
  447. package/dist/collection/components/gov-stepper/constants.js.map +1 -0
  448. package/dist/collection/components/gov-stepper/gov-stepper-item.css +467 -0
  449. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +2 -0
  450. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +1 -0
  451. package/dist/collection/components/gov-stepper/gov-stepper-item.js +250 -0
  452. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -0
  453. package/dist/collection/components/gov-stepper/gov-stepper.css +237 -0
  454. package/dist/collection/components/gov-stepper/gov-stepper.js +99 -0
  455. package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -0
  456. package/dist/collection/components/gov-tabs/constants.js +25 -0
  457. package/dist/collection/components/gov-tabs/constants.js.map +1 -0
  458. package/dist/collection/components/gov-tabs/gov-tabs-item.css +238 -0
  459. package/dist/collection/components/gov-tabs/gov-tabs-item.js +186 -0
  460. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -0
  461. package/dist/collection/components/gov-tabs/gov-tabs.css +389 -0
  462. package/dist/collection/components/gov-tabs/gov-tabs.js +440 -0
  463. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -0
  464. package/dist/collection/components/gov-tabs/gov-tabs.types.js +2 -0
  465. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -0
  466. package/dist/collection/components/gov-tag/constants.js +4 -0
  467. package/dist/collection/components/gov-tag/constants.js.map +1 -0
  468. package/dist/collection/components/gov-tag/gov-tag.css +1259 -0
  469. package/dist/collection/components/gov-tag/gov-tag.js +157 -0
  470. package/dist/collection/components/gov-tag/gov-tag.js.map +1 -0
  471. package/dist/collection/components/gov-tile/constants.js +10 -0
  472. package/dist/collection/components/gov-tile/constants.js.map +1 -0
  473. package/dist/collection/components/gov-tile/container/constants.js +4 -0
  474. package/dist/collection/components/gov-tile/container/constants.js.map +1 -0
  475. package/dist/collection/components/gov-tile/container/gov-tiles.css +319 -0
  476. package/dist/collection/components/gov-tile/container/gov-tiles.js +70 -0
  477. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -0
  478. package/dist/collection/components/gov-tile/gov-tile.css +316 -0
  479. package/dist/collection/components/gov-tile/gov-tile.js +108 -0
  480. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -0
  481. package/dist/collection/components/gov-toast/constants.js +13 -0
  482. package/dist/collection/components/gov-toast/constants.js.map +1 -0
  483. package/dist/collection/components/gov-toast/gov-toast.css +403 -0
  484. package/dist/collection/components/gov-toast/gov-toast.js +267 -0
  485. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -0
  486. package/dist/collection/components/gov-tooltip/constants.js +19 -0
  487. package/dist/collection/components/gov-tooltip/constants.js.map +1 -0
  488. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +347 -0
  489. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +159 -0
  490. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -0
  491. package/dist/collection/components/gov-tooltip/gov-tooltip.css +241 -0
  492. package/dist/collection/components/gov-tooltip/gov-tooltip.js +397 -0
  493. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -0
  494. package/dist/collection/components/gov-wizard/constants.js +20 -0
  495. package/dist/collection/components/gov-wizard/constants.js.map +1 -0
  496. package/dist/collection/components/gov-wizard/gov-wizard-item.css +474 -0
  497. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +2 -0
  498. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -0
  499. package/dist/collection/components/gov-wizard/gov-wizard-item.js +387 -0
  500. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -0
  501. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +2 -0
  502. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -0
  503. package/dist/collection/components/gov-wizard/gov-wizard.css +240 -0
  504. package/dist/collection/components/gov-wizard/gov-wizard.js +173 -0
  505. package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -0
  506. package/dist/collection/core/constants/sizes.js +15 -0
  507. package/dist/collection/core/constants/sizes.js.map +1 -0
  508. package/dist/collection/core/constants/tags.js +14 -0
  509. package/dist/collection/core/constants/tags.js.map +1 -0
  510. package/dist/collection/core/constants/tokens.js +17 -0
  511. package/dist/collection/core/constants/tokens.js.map +1 -0
  512. package/dist/collection/core/constants/variants.js +15 -0
  513. package/dist/collection/core/constants/variants.js.map +1 -0
  514. package/dist/collection/data/color-definitions.js +307 -0
  515. package/dist/collection/data/font-definitions.js +94 -0
  516. package/dist/collection/helpers/Dom/form.js +72 -0
  517. package/dist/collection/helpers/Dom/form.js.map +1 -0
  518. package/dist/collection/helpers/Dom/form.types.js +2 -0
  519. package/dist/collection/helpers/Dom/form.types.js.map +1 -0
  520. package/dist/collection/helpers/Dom/template.js +117 -0
  521. package/dist/collection/helpers/Dom/template.js.map +1 -0
  522. package/dist/collection/helpers/Dom/template.types.js +2 -0
  523. package/dist/collection/helpers/Dom/template.types.js.map +1 -0
  524. package/dist/collection/helpers/Dom/win.js +27 -0
  525. package/dist/collection/helpers/Dom/win.js.map +1 -0
  526. package/dist/collection/helpers/Fragment.js +2 -0
  527. package/dist/collection/helpers/Fragment.js.map +1 -0
  528. package/dist/collection/helpers/Log/gov.log.js +21 -0
  529. package/dist/collection/helpers/Log/gov.log.js.map +1 -0
  530. package/dist/collection/helpers/Validate/props.js +10 -0
  531. package/dist/collection/helpers/Validate/props.js.map +1 -0
  532. package/dist/collection/helpers/Validate/wcag.js +58 -0
  533. package/dist/collection/helpers/Validate/wcag.js.map +1 -0
  534. package/dist/collection/index.js +2 -0
  535. package/dist/collection/index.js.map +1 -0
  536. package/dist/collection/pages/Accordion.js +239 -0
  537. package/dist/collection/pages/Accordion.js.map +1 -0
  538. package/dist/collection/pages/Breadcrumbs.js +36 -0
  539. package/dist/collection/pages/Breadcrumbs.js.map +1 -0
  540. package/dist/collection/pages/Button.js +1346 -0
  541. package/dist/collection/pages/Button.js.map +1 -0
  542. package/dist/collection/pages/Card.js +104 -0
  543. package/dist/collection/pages/Card.js.map +1 -0
  544. package/dist/collection/pages/Chip.js +381 -0
  545. package/dist/collection/pages/Chip.js.map +1 -0
  546. package/dist/collection/pages/Container.js +15 -0
  547. package/dist/collection/pages/Container.js.map +1 -0
  548. package/dist/collection/pages/ControlGroup.js +301 -0
  549. package/dist/collection/pages/ControlGroup.js.map +1 -0
  550. package/dist/collection/pages/Cookiebar.js +29 -0
  551. package/dist/collection/pages/Cookiebar.js.map +1 -0
  552. package/dist/collection/pages/Empty.js +43 -0
  553. package/dist/collection/pages/Empty.js.map +1 -0
  554. package/dist/collection/pages/Error.js +16 -0
  555. package/dist/collection/pages/Error.js.map +1 -0
  556. package/dist/collection/pages/FormLabel.js +13 -0
  557. package/dist/collection/pages/FormLabel.js.map +1 -0
  558. package/dist/collection/pages/FormMessage.js +82 -0
  559. package/dist/collection/pages/FormMessage.js.map +1 -0
  560. package/dist/collection/pages/Forms.js +1574 -0
  561. package/dist/collection/pages/Forms.js.map +1 -0
  562. package/dist/collection/pages/FormsRestructure.js +13 -0
  563. package/dist/collection/pages/FormsRestructure.js.map +1 -0
  564. package/dist/collection/pages/Grid.js +92 -0
  565. package/dist/collection/pages/Grid.js.map +1 -0
  566. package/dist/collection/pages/Home.js +51 -0
  567. package/dist/collection/pages/Home.js.map +1 -0
  568. package/dist/collection/pages/Infobar.js +149 -0
  569. package/dist/collection/pages/Infobar.js.map +1 -0
  570. package/dist/collection/pages/Layout.js +97 -0
  571. package/dist/collection/pages/Layout.js.map +1 -0
  572. package/dist/collection/pages/Loading.js +95 -0
  573. package/dist/collection/pages/Loading.js.map +1 -0
  574. package/dist/collection/pages/Message.js +94 -0
  575. package/dist/collection/pages/Message.js.map +1 -0
  576. package/dist/collection/pages/Modal.js +57 -0
  577. package/dist/collection/pages/Modal.js.map +1 -0
  578. package/dist/collection/pages/Nav.js +30 -0
  579. package/dist/collection/pages/Nav.js.map +1 -0
  580. package/dist/collection/pages/Pagination.js +38 -0
  581. package/dist/collection/pages/Pagination.js.map +1 -0
  582. package/dist/collection/pages/Prompt.js +48 -0
  583. package/dist/collection/pages/Prompt.js.map +1 -0
  584. package/dist/collection/pages/SideNav.js +117 -0
  585. package/dist/collection/pages/SideNav.js.map +1 -0
  586. package/dist/collection/pages/Spacer.js +25 -0
  587. package/dist/collection/pages/Spacer.js.map +1 -0
  588. package/dist/collection/pages/Statsbar.js +202 -0
  589. package/dist/collection/pages/Statsbar.js.map +1 -0
  590. package/dist/collection/pages/Stepper.js +88 -0
  591. package/dist/collection/pages/Stepper.js.map +1 -0
  592. package/dist/collection/pages/Tabs.js +323 -0
  593. package/dist/collection/pages/Tabs.js.map +1 -0
  594. package/dist/collection/pages/Tag.js +253 -0
  595. package/dist/collection/pages/Tag.js.map +1 -0
  596. package/dist/collection/pages/Tiles.js +125 -0
  597. package/dist/collection/pages/Tiles.js.map +1 -0
  598. package/dist/collection/pages/ToastMessage.js +47 -0
  599. package/dist/collection/pages/ToastMessage.js.map +1 -0
  600. package/dist/collection/pages/ToastMessageCountdown.js +47 -0
  601. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -0
  602. package/dist/collection/pages/Tooltip.js +161 -0
  603. package/dist/collection/pages/Tooltip.js.map +1 -0
  604. package/dist/collection/pages/Typography.js +75 -0
  605. package/dist/collection/pages/Typography.js.map +1 -0
  606. package/dist/collection/pages/Wizard.js +88 -0
  607. package/dist/collection/pages/Wizard.js.map +1 -0
  608. package/dist/collection/types/event.types.js +2 -0
  609. package/dist/collection/types/event.types.js.map +1 -0
  610. package/dist/collection/types/interfaces.js +2 -0
  611. package/dist/collection/types/interfaces.js.map +1 -0
  612. package/dist/collection/utils/array.utils.js +7 -0
  613. package/dist/collection/utils/array.utils.js.map +1 -0
  614. package/dist/collection/utils/bool.utils.js +15 -0
  615. package/dist/collection/utils/bool.utils.js.map +1 -0
  616. package/dist/collection/utils/ds.utils.js +5 -0
  617. package/dist/collection/utils/ds.utils.js.map +1 -0
  618. package/dist/collection/utils/file.utils.js +26 -0
  619. package/dist/collection/utils/file.utils.js.map +1 -0
  620. package/dist/collection/utils/helpers.types.js +54 -0
  621. package/dist/collection/utils/helpers.types.js.map +1 -0
  622. package/dist/collection/utils/icon.utils.js +32 -0
  623. package/dist/collection/utils/icon.utils.js.map +1 -0
  624. package/dist/collection/utils/number.utils.js +4 -0
  625. package/dist/collection/utils/number.utils.js.map +1 -0
  626. package/dist/collection/utils/string.utils.js +17 -0
  627. package/dist/collection/utils/string.utils.js.map +1 -0
  628. package/dist/collection/utils/utils.js +35 -0
  629. package/dist/collection/utils/utils.js.map +1 -0
  630. package/dist/components/gov-accordion-item.d.ts +11 -0
  631. package/dist/components/gov-accordion-item.js +2 -0
  632. package/dist/components/gov-accordion-item.js.map +1 -0
  633. package/dist/components/gov-accordion.d.ts +11 -0
  634. package/dist/components/gov-accordion.js +2 -0
  635. package/dist/components/gov-accordion.js.map +1 -0
  636. package/dist/components/gov-attachments-item.d.ts +11 -0
  637. package/dist/components/gov-attachments-item.js +2 -0
  638. package/dist/components/gov-attachments-item.js.map +1 -0
  639. package/dist/components/gov-attachments.d.ts +11 -0
  640. package/dist/components/gov-attachments.js +2 -0
  641. package/dist/components/gov-attachments.js.map +1 -0
  642. package/dist/components/gov-backdrop.d.ts +11 -0
  643. package/dist/components/gov-backdrop.js +2 -0
  644. package/dist/components/gov-backdrop.js.map +1 -0
  645. package/dist/components/gov-breadcrumbs.d.ts +11 -0
  646. package/dist/components/gov-breadcrumbs.js +2 -0
  647. package/dist/components/gov-breadcrumbs.js.map +1 -0
  648. package/dist/components/gov-button.d.ts +11 -0
  649. package/dist/components/gov-button.js +2 -0
  650. package/dist/components/gov-button.js.map +1 -0
  651. package/dist/components/gov-card.d.ts +11 -0
  652. package/dist/components/gov-card.js +2 -0
  653. package/dist/components/gov-card.js.map +1 -0
  654. package/dist/components/gov-chip.d.ts +11 -0
  655. package/dist/components/gov-chip.js +2 -0
  656. package/dist/components/gov-chip.js.map +1 -0
  657. package/dist/components/gov-container.d.ts +11 -0
  658. package/dist/components/gov-container.js +2 -0
  659. package/dist/components/gov-container.js.map +1 -0
  660. package/dist/components/gov-control-group.d.ts +11 -0
  661. package/dist/components/gov-control-group.js +2 -0
  662. package/dist/components/gov-control-group.js.map +1 -0
  663. package/dist/components/gov-cookiebar.d.ts +11 -0
  664. package/dist/components/gov-cookiebar.js +2 -0
  665. package/dist/components/gov-cookiebar.js.map +1 -0
  666. package/dist/components/gov-dropdown.d.ts +11 -0
  667. package/dist/components/gov-dropdown.js +2 -0
  668. package/dist/components/gov-dropdown.js.map +1 -0
  669. package/dist/components/gov-empty.d.ts +11 -0
  670. package/dist/components/gov-empty.js +2 -0
  671. package/dist/components/gov-empty.js.map +1 -0
  672. package/dist/components/gov-error-code.d.ts +11 -0
  673. package/dist/components/gov-error-code.js +2 -0
  674. package/dist/components/gov-error-code.js.map +1 -0
  675. package/dist/components/gov-form-autocomplete.d.ts +11 -0
  676. package/dist/components/gov-form-autocomplete.js +2 -0
  677. package/dist/components/gov-form-autocomplete.js.map +1 -0
  678. package/dist/components/gov-form-checkbox.d.ts +11 -0
  679. package/dist/components/gov-form-checkbox.js +2 -0
  680. package/dist/components/gov-form-checkbox.js.map +1 -0
  681. package/dist/components/gov-form-control.d.ts +11 -0
  682. package/dist/components/gov-form-control.js +2 -0
  683. package/dist/components/gov-form-control.js.map +1 -0
  684. package/dist/components/gov-form-file.d.ts +11 -0
  685. package/dist/components/gov-form-file.js +2 -0
  686. package/dist/components/gov-form-file.js.map +1 -0
  687. package/dist/components/gov-form-group.d.ts +11 -0
  688. package/dist/components/gov-form-group.js +2 -0
  689. package/dist/components/gov-form-group.js.map +1 -0
  690. package/dist/components/gov-form-input.d.ts +11 -0
  691. package/dist/components/gov-form-input.js +2 -0
  692. package/dist/components/gov-form-input.js.map +1 -0
  693. package/dist/components/gov-form-label.d.ts +11 -0
  694. package/dist/components/gov-form-label.js +2 -0
  695. package/dist/components/gov-form-label.js.map +1 -0
  696. package/dist/components/gov-form-message.d.ts +11 -0
  697. package/dist/components/gov-form-message.js +2 -0
  698. package/dist/components/gov-form-message.js.map +1 -0
  699. package/dist/components/gov-form-multi-select.d.ts +11 -0
  700. package/dist/components/gov-form-multi-select.js +2 -0
  701. package/dist/components/gov-form-multi-select.js.map +1 -0
  702. package/dist/components/gov-form-password-power.d.ts +11 -0
  703. package/dist/components/gov-form-password-power.js +2 -0
  704. package/dist/components/gov-form-password-power.js.map +1 -0
  705. package/dist/components/gov-form-radio.d.ts +11 -0
  706. package/dist/components/gov-form-radio.js +2 -0
  707. package/dist/components/gov-form-radio.js.map +1 -0
  708. package/dist/components/gov-form-search.d.ts +11 -0
  709. package/dist/components/gov-form-search.js +2 -0
  710. package/dist/components/gov-form-search.js.map +1 -0
  711. package/dist/components/gov-form-select.d.ts +11 -0
  712. package/dist/components/gov-form-select.js +2 -0
  713. package/dist/components/gov-form-select.js.map +1 -0
  714. package/dist/components/gov-form-switch.d.ts +11 -0
  715. package/dist/components/gov-form-switch.js +2 -0
  716. package/dist/components/gov-form-switch.js.map +1 -0
  717. package/dist/components/gov-grid-item.d.ts +11 -0
  718. package/dist/components/gov-grid-item.js +2 -0
  719. package/dist/components/gov-grid-item.js.map +1 -0
  720. package/dist/components/gov-grid.d.ts +11 -0
  721. package/dist/components/gov-grid.js +2 -0
  722. package/dist/components/gov-grid.js.map +1 -0
  723. package/dist/components/gov-icon.d.ts +11 -0
  724. package/dist/components/gov-icon.js +2 -0
  725. package/dist/components/gov-icon.js.map +1 -0
  726. package/dist/components/gov-infobar.d.ts +11 -0
  727. package/dist/components/gov-infobar.js +2 -0
  728. package/dist/components/gov-infobar.js.map +1 -0
  729. package/dist/components/gov-layout-column.d.ts +11 -0
  730. package/dist/components/gov-layout-column.js +2 -0
  731. package/dist/components/gov-layout-column.js.map +1 -0
  732. package/dist/components/gov-layout.d.ts +11 -0
  733. package/dist/components/gov-layout.js +2 -0
  734. package/dist/components/gov-layout.js.map +1 -0
  735. package/dist/components/gov-loading.d.ts +11 -0
  736. package/dist/components/gov-loading.js +2 -0
  737. package/dist/components/gov-loading.js.map +1 -0
  738. package/dist/components/gov-message.d.ts +11 -0
  739. package/dist/components/gov-message.js +2 -0
  740. package/dist/components/gov-message.js.map +1 -0
  741. package/dist/components/gov-modal.d.ts +11 -0
  742. package/dist/components/gov-modal.js +2 -0
  743. package/dist/components/gov-modal.js.map +1 -0
  744. package/dist/components/gov-nav-item.d.ts +11 -0
  745. package/dist/components/gov-nav-item.js +2 -0
  746. package/dist/components/gov-nav-item.js.map +1 -0
  747. package/dist/components/gov-nav.d.ts +11 -0
  748. package/dist/components/gov-nav.js +2 -0
  749. package/dist/components/gov-nav.js.map +1 -0
  750. package/dist/components/gov-pagination.d.ts +11 -0
  751. package/dist/components/gov-pagination.js +2 -0
  752. package/dist/components/gov-pagination.js.map +1 -0
  753. package/dist/components/gov-prompt.d.ts +11 -0
  754. package/dist/components/gov-prompt.js +2 -0
  755. package/dist/components/gov-prompt.js.map +1 -0
  756. package/dist/components/gov-side-nav-item.d.ts +11 -0
  757. package/dist/components/gov-side-nav-item.js +2 -0
  758. package/dist/components/gov-side-nav-item.js.map +1 -0
  759. package/dist/components/gov-side-nav.d.ts +11 -0
  760. package/dist/components/gov-side-nav.js +2 -0
  761. package/dist/components/gov-side-nav.js.map +1 -0
  762. package/dist/components/gov-skeleton.d.ts +11 -0
  763. package/dist/components/gov-skeleton.js +2 -0
  764. package/dist/components/gov-skeleton.js.map +1 -0
  765. package/dist/components/gov-spacer.d.ts +11 -0
  766. package/dist/components/gov-spacer.js +2 -0
  767. package/dist/components/gov-spacer.js.map +1 -0
  768. package/dist/components/gov-statsbar-item.d.ts +11 -0
  769. package/dist/components/gov-statsbar-item.js +2 -0
  770. package/dist/components/gov-statsbar-item.js.map +1 -0
  771. package/dist/components/gov-statsbar.d.ts +11 -0
  772. package/dist/components/gov-statsbar.js +2 -0
  773. package/dist/components/gov-statsbar.js.map +1 -0
  774. package/dist/components/gov-stepper-item.d.ts +11 -0
  775. package/dist/components/gov-stepper-item.js +2 -0
  776. package/dist/components/gov-stepper-item.js.map +1 -0
  777. package/dist/components/gov-stepper.d.ts +11 -0
  778. package/dist/components/gov-stepper.js +2 -0
  779. package/dist/components/gov-stepper.js.map +1 -0
  780. package/dist/components/gov-tabs-item.d.ts +11 -0
  781. package/dist/components/gov-tabs-item.js +2 -0
  782. package/dist/components/gov-tabs-item.js.map +1 -0
  783. package/dist/components/gov-tabs.d.ts +11 -0
  784. package/dist/components/gov-tabs.js +2 -0
  785. package/dist/components/gov-tabs.js.map +1 -0
  786. package/dist/components/gov-tag.d.ts +11 -0
  787. package/dist/components/gov-tag.js +2 -0
  788. package/dist/components/gov-tag.js.map +1 -0
  789. package/dist/components/gov-tile.d.ts +11 -0
  790. package/dist/components/gov-tile.js +2 -0
  791. package/dist/components/gov-tile.js.map +1 -0
  792. package/dist/components/gov-tiles.d.ts +11 -0
  793. package/dist/components/gov-tiles.js +2 -0
  794. package/dist/components/gov-tiles.js.map +1 -0
  795. package/dist/components/gov-toast.d.ts +11 -0
  796. package/dist/components/gov-toast.js +2 -0
  797. package/dist/components/gov-toast.js.map +1 -0
  798. package/dist/components/gov-tooltip-content.d.ts +11 -0
  799. package/dist/components/gov-tooltip-content.js +2 -0
  800. package/dist/components/gov-tooltip-content.js.map +1 -0
  801. package/dist/components/gov-tooltip.d.ts +11 -0
  802. package/dist/components/gov-tooltip.js +2 -0
  803. package/dist/components/gov-tooltip.js.map +1 -0
  804. package/dist/components/gov-wizard-item.d.ts +11 -0
  805. package/dist/components/gov-wizard-item.js +2 -0
  806. package/dist/components/gov-wizard-item.js.map +1 -0
  807. package/dist/components/gov-wizard.d.ts +11 -0
  808. package/dist/components/gov-wizard.js +2 -0
  809. package/dist/components/gov-wizard.js.map +1 -0
  810. package/dist/components/index.d.ts +33 -0
  811. package/dist/components/index.js +2 -0
  812. package/dist/components/index.js.map +1 -0
  813. package/dist/components/p-003e6cca.js +2 -0
  814. package/dist/components/p-003e6cca.js.map +1 -0
  815. package/dist/components/p-03990da5.js +2 -0
  816. package/dist/components/p-03990da5.js.map +1 -0
  817. package/dist/components/p-17ebfe85.js +2 -0
  818. package/dist/components/p-17ebfe85.js.map +1 -0
  819. package/dist/components/p-1c1d0bbe.js +2 -0
  820. package/dist/components/p-1c1d0bbe.js.map +1 -0
  821. package/dist/components/p-24636c53.js +2 -0
  822. package/dist/components/p-24636c53.js.map +1 -0
  823. package/dist/components/p-28e59384.js +2 -0
  824. package/dist/components/p-28e59384.js.map +1 -0
  825. package/dist/components/p-2bf5b814.js +2 -0
  826. package/dist/components/p-2bf5b814.js.map +1 -0
  827. package/dist/components/p-2dee9951.js +2 -0
  828. package/dist/components/p-2dee9951.js.map +1 -0
  829. package/dist/components/p-3464136c.js +2 -0
  830. package/dist/components/p-3464136c.js.map +1 -0
  831. package/dist/components/p-3c71d697.js +2 -0
  832. package/dist/components/p-3c71d697.js.map +1 -0
  833. package/dist/components/p-43554d2d.js +2 -0
  834. package/dist/components/p-43554d2d.js.map +1 -0
  835. package/dist/components/p-4ff831e3.js +2 -0
  836. package/dist/components/p-4ff831e3.js.map +1 -0
  837. package/dist/components/p-53e02bee.js +2 -0
  838. package/dist/components/p-53e02bee.js.map +1 -0
  839. package/dist/components/p-55500e5a.js +2 -0
  840. package/dist/components/p-55500e5a.js.map +1 -0
  841. package/dist/components/p-570803ab.js +2 -0
  842. package/dist/components/p-570803ab.js.map +1 -0
  843. package/dist/components/p-5defdc5e.js +2 -0
  844. package/dist/components/p-5defdc5e.js.map +1 -0
  845. package/dist/components/p-62074db5.js +2 -0
  846. package/dist/components/p-62074db5.js.map +1 -0
  847. package/dist/components/p-6278531b.js +2 -0
  848. package/dist/components/p-6278531b.js.map +1 -0
  849. package/dist/components/p-6834d779.js +2 -0
  850. package/dist/components/p-6834d779.js.map +1 -0
  851. package/dist/components/p-6f391c4a.js +2 -0
  852. package/dist/components/p-6f391c4a.js.map +1 -0
  853. package/dist/components/p-74b2311a.js +2 -0
  854. package/dist/components/p-74b2311a.js.map +1 -0
  855. package/dist/components/p-7f2c9830.js +2 -0
  856. package/dist/components/p-7f2c9830.js.map +1 -0
  857. package/dist/components/p-9144dde1.js +2 -0
  858. package/dist/components/p-9144dde1.js.map +1 -0
  859. package/dist/components/p-9795ad94.js +2 -0
  860. package/dist/components/p-9795ad94.js.map +1 -0
  861. package/dist/components/p-990d2990.js +2 -0
  862. package/dist/components/p-990d2990.js.map +1 -0
  863. package/dist/components/p-9a4c910d.js +2 -0
  864. package/dist/components/p-9a4c910d.js.map +1 -0
  865. package/dist/components/p-a3d5a7e3.js +2 -0
  866. package/dist/components/p-a3d5a7e3.js.map +1 -0
  867. package/dist/components/p-a6d14a47.js +2 -0
  868. package/dist/components/p-a6d14a47.js.map +1 -0
  869. package/dist/components/p-b526e440.js +2 -0
  870. package/dist/components/p-b526e440.js.map +1 -0
  871. package/dist/components/p-b72a7bed.js +2 -0
  872. package/dist/components/p-b72a7bed.js.map +1 -0
  873. package/dist/components/p-be4aab0e.js +2 -0
  874. package/dist/components/p-be4aab0e.js.map +1 -0
  875. package/dist/components/p-d29431c0.js +2 -0
  876. package/dist/components/p-d29431c0.js.map +1 -0
  877. package/dist/components/p-db1f0452.js +2 -0
  878. package/dist/components/p-db1f0452.js.map +1 -0
  879. package/dist/components/p-dcb5fb35.js +2 -0
  880. package/dist/components/p-dcb5fb35.js.map +1 -0
  881. package/dist/components/p-ec6c2272.js +2 -0
  882. package/dist/components/p-ec6c2272.js.map +1 -0
  883. package/dist/components/p-fa1e4aea.js +2 -0
  884. package/dist/components/p-fa1e4aea.js.map +1 -0
  885. package/dist/components/p-ff7365ae.js +2 -0
  886. package/dist/components/p-ff7365ae.js.map +1 -0
  887. package/dist/components/p-ffb7495c.js +2 -0
  888. package/dist/components/p-ffb7495c.js.map +1 -0
  889. package/dist/core/core.css +1 -0
  890. package/dist/core/core.esm.js +2 -0
  891. package/dist/core/core.esm.js.map +1 -0
  892. package/dist/core/index.esm.js +2 -0
  893. package/dist/core/index.esm.js.map +1 -0
  894. package/dist/core/p-003e6cca.js +2 -0
  895. package/dist/core/p-003e6cca.js.map +1 -0
  896. package/dist/core/p-01d928c5.entry.js +2 -0
  897. package/dist/core/p-01d928c5.entry.js.map +1 -0
  898. package/dist/core/p-03990da5.js +2 -0
  899. package/dist/core/p-03990da5.js.map +1 -0
  900. package/dist/core/p-044f4c35.entry.js +2 -0
  901. package/dist/core/p-044f4c35.entry.js.map +1 -0
  902. package/dist/core/p-09966eaa.entry.js +2 -0
  903. package/dist/core/p-09966eaa.entry.js.map +1 -0
  904. package/dist/core/p-0e5fa8bf.js +2 -0
  905. package/dist/core/p-0e5fa8bf.js.map +1 -0
  906. package/dist/core/p-1116fec6.entry.js +2 -0
  907. package/dist/core/p-1116fec6.entry.js.map +1 -0
  908. package/dist/core/p-141d9af4.entry.js +2 -0
  909. package/dist/core/p-141d9af4.entry.js.map +1 -0
  910. package/dist/core/p-17ebfe85.js +2 -0
  911. package/dist/core/p-17ebfe85.js.map +1 -0
  912. package/dist/core/p-1c1d0bbe.js +2 -0
  913. package/dist/core/p-1c1d0bbe.js.map +1 -0
  914. package/dist/core/p-1fee1753.entry.js +2 -0
  915. package/dist/core/p-1fee1753.entry.js.map +1 -0
  916. package/dist/core/p-22abe742.entry.js +2 -0
  917. package/dist/core/p-22abe742.entry.js.map +1 -0
  918. package/dist/core/p-24636c53.js +2 -0
  919. package/dist/core/p-24636c53.js.map +1 -0
  920. package/dist/core/p-2712444e.entry.js +2 -0
  921. package/dist/core/p-2712444e.entry.js.map +1 -0
  922. package/dist/core/p-28e59384.js +2 -0
  923. package/dist/core/p-28e59384.js.map +1 -0
  924. package/dist/core/p-2969eb69.entry.js +2 -0
  925. package/dist/core/p-2969eb69.entry.js.map +1 -0
  926. package/dist/core/p-2bf5b814.js +2 -0
  927. package/dist/core/p-2bf5b814.js.map +1 -0
  928. package/dist/core/p-2f858bf5.entry.js +2 -0
  929. package/dist/core/p-2f858bf5.entry.js.map +1 -0
  930. package/dist/core/p-3464136c.js +2 -0
  931. package/dist/core/p-3464136c.js.map +1 -0
  932. package/dist/core/p-3b42950e.entry.js +2 -0
  933. package/dist/core/p-3b42950e.entry.js.map +1 -0
  934. package/dist/core/p-3c12c766.entry.js +2 -0
  935. package/dist/core/p-3c12c766.entry.js.map +1 -0
  936. package/dist/core/p-41c18f64.entry.js +2 -0
  937. package/dist/core/p-41c18f64.entry.js.map +1 -0
  938. package/dist/core/p-497c90ea.entry.js +2 -0
  939. package/dist/core/p-497c90ea.entry.js.map +1 -0
  940. package/dist/core/p-4a235ef5.entry.js +2 -0
  941. package/dist/core/p-4a235ef5.entry.js.map +1 -0
  942. package/dist/core/p-4c55142b.js +2 -0
  943. package/dist/core/p-4c55142b.js.map +1 -0
  944. package/dist/core/p-55500e5a.js +2 -0
  945. package/dist/core/p-55500e5a.js.map +1 -0
  946. package/dist/core/p-5bc604a3.js +3 -0
  947. package/dist/core/p-5bc604a3.js.map +1 -0
  948. package/dist/core/p-5defdc5e.js +2 -0
  949. package/dist/core/p-5defdc5e.js.map +1 -0
  950. package/dist/core/p-60963ed7.entry.js +2 -0
  951. package/dist/core/p-60963ed7.entry.js.map +1 -0
  952. package/dist/core/p-6278531b.js +2 -0
  953. package/dist/core/p-6278531b.js.map +1 -0
  954. package/dist/core/p-6675a0f0.entry.js +2 -0
  955. package/dist/core/p-6675a0f0.entry.js.map +1 -0
  956. package/dist/core/p-67138ae9.entry.js +2 -0
  957. package/dist/core/p-67138ae9.entry.js.map +1 -0
  958. package/dist/core/p-6834d779.js +2 -0
  959. package/dist/core/p-6834d779.js.map +1 -0
  960. package/dist/core/p-6dc942b8.entry.js +2 -0
  961. package/dist/core/p-6dc942b8.entry.js.map +1 -0
  962. package/dist/core/p-705efbf1.entry.js +2 -0
  963. package/dist/core/p-705efbf1.entry.js.map +1 -0
  964. package/dist/core/p-73b7585b.entry.js +2 -0
  965. package/dist/core/p-73b7585b.entry.js.map +1 -0
  966. package/dist/core/p-74882c70.entry.js +2 -0
  967. package/dist/core/p-74882c70.entry.js.map +1 -0
  968. package/dist/core/p-74b2311a.js +2 -0
  969. package/dist/core/p-74b2311a.js.map +1 -0
  970. package/dist/core/p-7724b535.js +2 -0
  971. package/dist/core/p-7724b535.js.map +1 -0
  972. package/dist/core/p-7757e4a1.entry.js +2 -0
  973. package/dist/core/p-7757e4a1.entry.js.map +1 -0
  974. package/dist/core/p-78942f76.entry.js +2 -0
  975. package/dist/core/p-78942f76.entry.js.map +1 -0
  976. package/dist/core/p-7f2c9830.js +2 -0
  977. package/dist/core/p-7f2c9830.js.map +1 -0
  978. package/dist/core/p-81593c86.entry.js +2 -0
  979. package/dist/core/p-81593c86.entry.js.map +1 -0
  980. package/dist/core/p-83e998d8.entry.js +2 -0
  981. package/dist/core/p-83e998d8.entry.js.map +1 -0
  982. package/dist/core/p-89b3e4d4.entry.js +2 -0
  983. package/dist/core/p-89b3e4d4.entry.js.map +1 -0
  984. package/dist/core/p-9144dde1.js +2 -0
  985. package/dist/core/p-9144dde1.js.map +1 -0
  986. package/dist/core/p-92af05f2.entry.js +2 -0
  987. package/dist/core/p-92af05f2.entry.js.map +1 -0
  988. package/dist/core/p-96d141a3.entry.js +2 -0
  989. package/dist/core/p-96d141a3.entry.js.map +1 -0
  990. package/dist/core/p-9a4c910d.js +2 -0
  991. package/dist/core/p-9a4c910d.js.map +1 -0
  992. package/dist/core/p-9c6699d6.entry.js +2 -0
  993. package/dist/core/p-9c6699d6.entry.js.map +1 -0
  994. package/dist/core/p-9dab01be.js +2 -0
  995. package/dist/core/p-9dab01be.js.map +1 -0
  996. package/dist/core/p-a63bb91e.entry.js +2 -0
  997. package/dist/core/p-a63bb91e.entry.js.map +1 -0
  998. package/dist/core/p-a6b6dc73.entry.js +2 -0
  999. package/dist/core/p-a6b6dc73.entry.js.map +1 -0
  1000. package/dist/core/p-a6d14a47.js +2 -0
  1001. package/dist/core/p-a6d14a47.js.map +1 -0
  1002. package/dist/core/p-ac5e5b2c.entry.js +2 -0
  1003. package/dist/core/p-ac5e5b2c.entry.js.map +1 -0
  1004. package/dist/core/p-b1184db4.entry.js +2 -0
  1005. package/dist/core/p-b1184db4.entry.js.map +1 -0
  1006. package/dist/core/p-b127c8a8.entry.js +2 -0
  1007. package/dist/core/p-b127c8a8.entry.js.map +1 -0
  1008. package/dist/core/p-b49293dc.entry.js +2 -0
  1009. package/dist/core/p-b49293dc.entry.js.map +1 -0
  1010. package/dist/core/p-b4a59c79.entry.js +2 -0
  1011. package/dist/core/p-b4a59c79.entry.js.map +1 -0
  1012. package/dist/core/p-b4ab0d15.entry.js +2 -0
  1013. package/dist/core/p-b4ab0d15.entry.js.map +1 -0
  1014. package/dist/core/p-b580666b.entry.js +2 -0
  1015. package/dist/core/p-b580666b.entry.js.map +1 -0
  1016. package/dist/core/p-b5e1ee46.entry.js +2 -0
  1017. package/dist/core/p-b5e1ee46.entry.js.map +1 -0
  1018. package/dist/core/p-b7d23697.entry.js +2 -0
  1019. package/dist/core/p-b7d23697.entry.js.map +1 -0
  1020. package/dist/core/p-bb7f0a66.entry.js +2 -0
  1021. package/dist/core/p-bb7f0a66.entry.js.map +1 -0
  1022. package/dist/core/p-be4aab0e.js +2 -0
  1023. package/dist/core/p-be4aab0e.js.map +1 -0
  1024. package/dist/core/p-c574ecc8.entry.js +2 -0
  1025. package/dist/core/p-c574ecc8.entry.js.map +1 -0
  1026. package/dist/core/p-ccf73a1a.entry.js +2 -0
  1027. package/dist/core/p-ccf73a1a.entry.js.map +1 -0
  1028. package/dist/core/p-cf86a858.entry.js +2 -0
  1029. package/dist/core/p-cf86a858.entry.js.map +1 -0
  1030. package/dist/core/p-d69599bc.entry.js +2 -0
  1031. package/dist/core/p-d69599bc.entry.js.map +1 -0
  1032. package/dist/core/p-db1f0452.js +2 -0
  1033. package/dist/core/p-db1f0452.js.map +1 -0
  1034. package/dist/core/p-dcb5fb35.js +2 -0
  1035. package/dist/core/p-dcb5fb35.js.map +1 -0
  1036. package/dist/core/p-de3429ab.entry.js +2 -0
  1037. package/dist/core/p-de3429ab.entry.js.map +1 -0
  1038. package/dist/core/p-e24236b0.entry.js +2 -0
  1039. package/dist/core/p-e24236b0.entry.js.map +1 -0
  1040. package/dist/core/p-e5c2f601.entry.js +2 -0
  1041. package/dist/core/p-e5c2f601.entry.js.map +1 -0
  1042. package/dist/core/p-ee4c58e3.entry.js +2 -0
  1043. package/dist/core/p-ee4c58e3.entry.js.map +1 -0
  1044. package/dist/core/p-f1227928.entry.js +2 -0
  1045. package/dist/core/p-f1227928.entry.js.map +1 -0
  1046. package/dist/core/p-f29b0193.entry.js +2 -0
  1047. package/dist/core/p-f29b0193.entry.js.map +1 -0
  1048. package/dist/core/p-f636a1ca.entry.js +2 -0
  1049. package/dist/core/p-f636a1ca.entry.js.map +1 -0
  1050. package/dist/core/p-f76f0a67.entry.js +2 -0
  1051. package/dist/core/p-f76f0a67.entry.js.map +1 -0
  1052. package/dist/core/p-fa1e4aea.js +2 -0
  1053. package/dist/core/p-fa1e4aea.js.map +1 -0
  1054. package/dist/core/p-fb51d693.entry.js +2 -0
  1055. package/dist/core/p-fb51d693.entry.js.map +1 -0
  1056. package/dist/core/p-fc2a1e14.entry.js +2 -0
  1057. package/dist/core/p-fc2a1e14.entry.js.map +1 -0
  1058. package/dist/core/p-fc8a29e9.entry.js +2 -0
  1059. package/dist/core/p-fc8a29e9.entry.js.map +1 -0
  1060. package/dist/core/p-fd4b0f54.entry.js +2 -0
  1061. package/dist/core/p-fd4b0f54.entry.js.map +1 -0
  1062. package/dist/core/p-ff7365ae.js +2 -0
  1063. package/dist/core/p-ff7365ae.js.map +1 -0
  1064. package/dist/core/p-ffb7495c.js +2 -0
  1065. package/dist/core/p-ffb7495c.js.map +1 -0
  1066. package/dist/esm/Fragment-8d8d54fb.js +5 -0
  1067. package/dist/esm/Fragment-8d8d54fb.js.map +1 -0
  1068. package/dist/esm/constants-09bda759.js +25 -0
  1069. package/dist/esm/constants-09bda759.js.map +1 -0
  1070. package/dist/esm/constants-2499979c.js +24 -0
  1071. package/dist/esm/constants-2499979c.js.map +1 -0
  1072. package/dist/esm/constants-27b48cd1.js +22 -0
  1073. package/dist/esm/constants-27b48cd1.js.map +1 -0
  1074. package/dist/esm/constants-2a283e9a.js +18 -0
  1075. package/dist/esm/constants-2a283e9a.js.map +1 -0
  1076. package/dist/esm/constants-2b14bb01.js +10 -0
  1077. package/dist/esm/constants-2b14bb01.js.map +1 -0
  1078. package/dist/esm/constants-34a29ae2.js +33 -0
  1079. package/dist/esm/constants-34a29ae2.js.map +1 -0
  1080. package/dist/esm/constants-3786b01b.js +22 -0
  1081. package/dist/esm/constants-3786b01b.js.map +1 -0
  1082. package/dist/esm/constants-3df712e2.js +13 -0
  1083. package/dist/esm/constants-3df712e2.js.map +1 -0
  1084. package/dist/esm/constants-47d7a8bc.js +17 -0
  1085. package/dist/esm/constants-47d7a8bc.js.map +1 -0
  1086. package/dist/esm/constants-6df4edc4.js +29 -0
  1087. package/dist/esm/constants-6df4edc4.js.map +1 -0
  1088. package/dist/esm/constants-78474786.js +25 -0
  1089. package/dist/esm/constants-78474786.js.map +1 -0
  1090. package/dist/esm/constants-867ac6e2.js +19 -0
  1091. package/dist/esm/constants-867ac6e2.js.map +1 -0
  1092. package/dist/esm/constants-887c5391.js +23 -0
  1093. package/dist/esm/constants-887c5391.js.map +1 -0
  1094. package/dist/esm/constants-d71c09e0.js +12 -0
  1095. package/dist/esm/constants-d71c09e0.js.map +1 -0
  1096. package/dist/esm/constants-ebec7de8.js +12 -0
  1097. package/dist/esm/constants-ebec7de8.js.map +1 -0
  1098. package/dist/esm/core.js +43 -0
  1099. package/dist/esm/core.js.map +1 -0
  1100. package/dist/esm/form-39dc6896.js +145 -0
  1101. package/dist/esm/form-39dc6896.js.map +1 -0
  1102. package/dist/esm/gov-accordion-item.entry.js +98 -0
  1103. package/dist/esm/gov-accordion-item.entry.js.map +1 -0
  1104. package/dist/esm/gov-accordion.entry.js +73 -0
  1105. package/dist/esm/gov-accordion.entry.js.map +1 -0
  1106. package/dist/esm/gov-attachments_3.entry.js +114 -0
  1107. package/dist/esm/gov-attachments_3.entry.js.map +1 -0
  1108. package/dist/esm/gov-backdrop.entry.js +46 -0
  1109. package/dist/esm/gov-backdrop.entry.js.map +1 -0
  1110. package/dist/esm/gov-breadcrumbs.entry.js +46 -0
  1111. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -0
  1112. package/dist/esm/gov-button.entry.js +176 -0
  1113. package/dist/esm/gov-button.entry.js.map +1 -0
  1114. package/dist/esm/gov-card.entry.js +108 -0
  1115. package/dist/esm/gov-card.entry.js.map +1 -0
  1116. package/dist/esm/gov-chip.entry.js +104 -0
  1117. package/dist/esm/gov-chip.entry.js.map +1 -0
  1118. package/dist/esm/gov-container.entry.js +32 -0
  1119. package/dist/esm/gov-container.entry.js.map +1 -0
  1120. package/dist/esm/gov-control-group.entry.js +39 -0
  1121. package/dist/esm/gov-control-group.entry.js.map +1 -0
  1122. package/dist/esm/gov-cookiebar.entry.js +29 -0
  1123. package/dist/esm/gov-cookiebar.entry.js.map +1 -0
  1124. package/dist/esm/gov-dropdown.entry.js +131 -0
  1125. package/dist/esm/gov-dropdown.entry.js.map +1 -0
  1126. package/dist/esm/gov-empty.entry.js +27 -0
  1127. package/dist/esm/gov-empty.entry.js.map +1 -0
  1128. package/dist/esm/gov-error-code.entry.js +27 -0
  1129. package/dist/esm/gov-error-code.entry.js.map +1 -0
  1130. package/dist/esm/gov-form-autocomplete.entry.js +241 -0
  1131. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -0
  1132. package/dist/esm/gov-form-checkbox.entry.js +127 -0
  1133. package/dist/esm/gov-form-checkbox.entry.js.map +1 -0
  1134. package/dist/esm/gov-form-control.entry.js +103 -0
  1135. package/dist/esm/gov-form-control.entry.js.map +1 -0
  1136. package/dist/esm/gov-form-file.entry.js +236 -0
  1137. package/dist/esm/gov-form-file.entry.js.map +1 -0
  1138. package/dist/esm/gov-form-group.entry.js +55 -0
  1139. package/dist/esm/gov-form-group.entry.js.map +1 -0
  1140. package/dist/esm/gov-form-input.entry.js +186 -0
  1141. package/dist/esm/gov-form-input.entry.js.map +1 -0
  1142. package/dist/esm/gov-form-label.entry.js +26 -0
  1143. package/dist/esm/gov-form-label.entry.js.map +1 -0
  1144. package/dist/esm/gov-form-multi-select.entry.js +300 -0
  1145. package/dist/esm/gov-form-multi-select.entry.js.map +1 -0
  1146. package/dist/esm/gov-form-password-power.entry.js +24 -0
  1147. package/dist/esm/gov-form-password-power.entry.js.map +1 -0
  1148. package/dist/esm/gov-form-radio.entry.js +127 -0
  1149. package/dist/esm/gov-form-radio.entry.js.map +1 -0
  1150. package/dist/esm/gov-form-search.entry.js +28 -0
  1151. package/dist/esm/gov-form-search.entry.js.map +1 -0
  1152. package/dist/esm/gov-form-select.entry.js +163 -0
  1153. package/dist/esm/gov-form-select.entry.js.map +1 -0
  1154. package/dist/esm/gov-form-switch.entry.js +127 -0
  1155. package/dist/esm/gov-form-switch.entry.js.map +1 -0
  1156. package/dist/esm/gov-grid-item.entry.js +26 -0
  1157. package/dist/esm/gov-grid-item.entry.js.map +1 -0
  1158. package/dist/esm/gov-grid.entry.js +24 -0
  1159. package/dist/esm/gov-grid.entry.js.map +1 -0
  1160. package/dist/esm/gov-icon.entry.js +131 -0
  1161. package/dist/esm/gov-icon.entry.js.map +1 -0
  1162. package/dist/esm/gov-infobar.entry.js +87 -0
  1163. package/dist/esm/gov-infobar.entry.js.map +1 -0
  1164. package/dist/esm/gov-layout-column.entry.js +21 -0
  1165. package/dist/esm/gov-layout-column.entry.js.map +1 -0
  1166. package/dist/esm/gov-layout.entry.js +30 -0
  1167. package/dist/esm/gov-layout.entry.js.map +1 -0
  1168. package/dist/esm/gov-loading.entry.js +26 -0
  1169. package/dist/esm/gov-loading.entry.js.map +1 -0
  1170. package/dist/esm/gov-message.entry.js +40 -0
  1171. package/dist/esm/gov-message.entry.js.map +1 -0
  1172. package/dist/esm/gov-modal.entry.js +102 -0
  1173. package/dist/esm/gov-modal.entry.js.map +1 -0
  1174. package/dist/esm/gov-nav-item.entry.js +35 -0
  1175. package/dist/esm/gov-nav-item.entry.js.map +1 -0
  1176. package/dist/esm/gov-nav.entry.js +38 -0
  1177. package/dist/esm/gov-nav.entry.js.map +1 -0
  1178. package/dist/esm/gov-pagination.entry.js +220 -0
  1179. package/dist/esm/gov-pagination.entry.js.map +1 -0
  1180. package/dist/esm/gov-prompt.entry.js +99 -0
  1181. package/dist/esm/gov-prompt.entry.js.map +1 -0
  1182. package/dist/esm/gov-side-nav-item.entry.js +83 -0
  1183. package/dist/esm/gov-side-nav-item.entry.js.map +1 -0
  1184. package/dist/esm/gov-side-nav.entry.js +52 -0
  1185. package/dist/esm/gov-side-nav.entry.js.map +1 -0
  1186. package/dist/esm/gov-skeleton.entry.js +113 -0
  1187. package/dist/esm/gov-skeleton.entry.js.map +1 -0
  1188. package/dist/esm/gov-spacer.entry.js +54 -0
  1189. package/dist/esm/gov-spacer.entry.js.map +1 -0
  1190. package/dist/esm/gov-statsbar-item.entry.js +36 -0
  1191. package/dist/esm/gov-statsbar-item.entry.js.map +1 -0
  1192. package/dist/esm/gov-statsbar.entry.js +49 -0
  1193. package/dist/esm/gov-statsbar.entry.js.map +1 -0
  1194. package/dist/esm/gov-stepper-item.entry.js +74 -0
  1195. package/dist/esm/gov-stepper-item.entry.js.map +1 -0
  1196. package/dist/esm/gov-stepper.entry.js +47 -0
  1197. package/dist/esm/gov-stepper.entry.js.map +1 -0
  1198. package/dist/esm/gov-tabs-item.entry.js +49 -0
  1199. package/dist/esm/gov-tabs-item.entry.js.map +1 -0
  1200. package/dist/esm/gov-tabs.entry.js +194 -0
  1201. package/dist/esm/gov-tabs.entry.js.map +1 -0
  1202. package/dist/esm/gov-tag.entry.js +53 -0
  1203. package/dist/esm/gov-tag.entry.js.map +1 -0
  1204. package/dist/esm/gov-tile.entry.js +38 -0
  1205. package/dist/esm/gov-tile.entry.js.map +1 -0
  1206. package/dist/esm/gov-tiles.entry.js +29 -0
  1207. package/dist/esm/gov-tiles.entry.js.map +1 -0
  1208. package/dist/esm/gov-toast.entry.js +97 -0
  1209. package/dist/esm/gov-toast.entry.js.map +1 -0
  1210. package/dist/esm/gov-tooltip-content.entry.js +50 -0
  1211. package/dist/esm/gov-tooltip-content.entry.js.map +1 -0
  1212. package/dist/esm/gov-tooltip.entry.js +220 -0
  1213. package/dist/esm/gov-tooltip.entry.js.map +1 -0
  1214. package/dist/esm/gov-wizard-item.entry.js +111 -0
  1215. package/dist/esm/gov-wizard-item.entry.js.map +1 -0
  1216. package/dist/esm/gov-wizard.entry.js +65 -0
  1217. package/dist/esm/gov-wizard.entry.js.map +1 -0
  1218. package/dist/esm/gov.log-49da0221.js +25 -0
  1219. package/dist/esm/gov.log-49da0221.js.map +1 -0
  1220. package/dist/esm/helpers-bc0fd116.js +17 -0
  1221. package/dist/esm/helpers-bc0fd116.js.map +1 -0
  1222. package/dist/esm/index-eb59f132.js +2682 -0
  1223. package/dist/esm/index-eb59f132.js.map +1 -0
  1224. package/dist/esm/index.js +3 -0
  1225. package/dist/esm/index.js.map +1 -0
  1226. package/dist/esm/loader.js +11 -0
  1227. package/dist/esm/loader.js.map +1 -0
  1228. package/dist/esm/polyfills/core-js.js +11 -0
  1229. package/dist/esm/polyfills/dom.js +79 -0
  1230. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1231. package/dist/esm/polyfills/index.js +34 -0
  1232. package/dist/esm/polyfills/system.js +6 -0
  1233. package/dist/esm/props-a85d9c89.js +14 -0
  1234. package/dist/esm/props-a85d9c89.js.map +1 -0
  1235. package/dist/esm/sizes-6c5943b4.js +18 -0
  1236. package/dist/esm/sizes-6c5943b4.js.map +1 -0
  1237. package/dist/esm/string.utils-f268fc6b.js +20 -0
  1238. package/dist/esm/string.utils-f268fc6b.js.map +1 -0
  1239. package/dist/esm/template-df429738.js +120 -0
  1240. package/dist/esm/template-df429738.js.map +1 -0
  1241. package/dist/esm/utils-c057a3fa.js +35 -0
  1242. package/dist/esm/utils-c057a3fa.js.map +1 -0
  1243. package/dist/esm/variants-2b936d58.js +18 -0
  1244. package/dist/esm/variants-2b936d58.js.map +1 -0
  1245. package/dist/esm/wcag-7d25e12b.js +62 -0
  1246. package/dist/esm/wcag-7d25e12b.js.map +1 -0
  1247. package/dist/esm/win-1dbd3f5c.js +31 -0
  1248. package/dist/esm/win-1dbd3f5c.js.map +1 -0
  1249. package/dist/globals.d.ts +2 -0
  1250. package/dist/hydrate/index.d.ts +218 -0
  1251. package/dist/hydrate/index.js +12646 -0
  1252. package/dist/hydrate/package.json +6 -0
  1253. package/dist/index.cjs.js +1 -0
  1254. package/dist/index.js +1 -0
  1255. package/dist/stencil.config.js +75 -0
  1256. package/dist/stencil.config.js.map +1 -0
  1257. package/dist/types/Users/leo/Projects/repos/asseco/design-system/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
  1258. package/dist/types/components/gov-accordion/constants.d.ts +22 -0
  1259. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +58 -0
  1260. package/dist/types/components/gov-accordion/gov-accordion.d.ts +42 -0
  1261. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
  1262. package/dist/types/components/gov-attachments/constants.d.ts +11 -0
  1263. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
  1264. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
  1265. package/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
  1266. package/dist/types/components/gov-backdrop/constants.d.ts +4 -0
  1267. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +28 -0
  1268. package/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
  1269. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
  1270. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +33 -0
  1271. package/dist/types/components/gov-button/button/constants.d.ts +30 -0
  1272. package/dist/types/components/gov-button/button/gov-button.d.ts +180 -0
  1273. package/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
  1274. package/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
  1275. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +34 -0
  1276. package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
  1277. package/dist/types/components/gov-card/constants.d.ts +13 -0
  1278. package/dist/types/components/gov-card/gov-card.d.ts +60 -0
  1279. package/dist/types/components/gov-card/interfaces.d.ts +4 -0
  1280. package/dist/types/components/gov-chip/constants.d.ts +13 -0
  1281. package/dist/types/components/gov-chip/gov-chip.d.ts +93 -0
  1282. package/dist/types/components/gov-container/constants.d.ts +3 -0
  1283. package/dist/types/components/gov-container/gov-container.d.ts +12 -0
  1284. package/dist/types/components/gov-control-group/constants.d.ts +7 -0
  1285. package/dist/types/components/gov-control-group/gov-control-group.d.ts +16 -0
  1286. package/dist/types/components/gov-cookiebar/constants.d.ts +8 -0
  1287. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
  1288. package/dist/types/components/gov-empty/constants.d.ts +6 -0
  1289. package/dist/types/components/gov-empty/gov-empty.d.ts +6 -0
  1290. package/dist/types/components/gov-error-code/constants.d.ts +6 -0
  1291. package/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
  1292. package/dist/types/components/gov-form/autocomplete/constants.d.ts +14 -0
  1293. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +151 -0
  1294. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
  1295. package/dist/types/components/gov-form/checkbox/constants.d.ts +9 -0
  1296. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +87 -0
  1297. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
  1298. package/dist/types/components/gov-form/control/constants.d.ts +9 -0
  1299. package/dist/types/components/gov-form/control/gov-form-control.d.ts +47 -0
  1300. package/dist/types/components/gov-form/file/constants.d.ts +9 -0
  1301. package/dist/types/components/gov-form/file/gov-form-file.d.ts +133 -0
  1302. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
  1303. package/dist/types/components/gov-form/group/constants.d.ts +12 -0
  1304. package/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
  1305. package/dist/types/components/gov-form/input/constants.d.ts +30 -0
  1306. package/dist/types/components/gov-form/input/gov-form-input.d.ts +181 -0
  1307. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
  1308. package/dist/types/components/gov-form/label/constants.d.ts +8 -0
  1309. package/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
  1310. package/dist/types/components/gov-form/message/constants.d.ts +9 -0
  1311. package/dist/types/components/gov-form/message/gov-form-message.d.ts +19 -0
  1312. package/dist/types/components/gov-form/multiselect/constants.d.ts +13 -0
  1313. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +157 -0
  1314. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +9 -0
  1315. package/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  1316. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  1317. package/dist/types/components/gov-form/radio/constants.d.ts +11 -0
  1318. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +87 -0
  1319. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
  1320. package/dist/types/components/gov-form/search/constants.d.ts +9 -0
  1321. package/dist/types/components/gov-form/search/gov-form-search.d.ts +9 -0
  1322. package/dist/types/components/gov-form/select/constants.d.ts +11 -0
  1323. package/dist/types/components/gov-form/select/gov-form-select.d.ts +115 -0
  1324. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
  1325. package/dist/types/components/gov-form/switch/constants.d.ts +10 -0
  1326. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +87 -0
  1327. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
  1328. package/dist/types/components/gov-grid/constants.d.ts +6 -0
  1329. package/dist/types/components/gov-grid/gov-grid-item.d.ts +26 -0
  1330. package/dist/types/components/gov-grid/gov-grid.d.ts +14 -0
  1331. package/dist/types/components/gov-icon/constants.d.ts +12 -0
  1332. package/dist/types/components/gov-icon/gov-icon.d.ts +23 -0
  1333. package/dist/types/components/gov-icon/helpers.d.ts +5 -0
  1334. package/dist/types/components/gov-icon/list.d.ts +3 -0
  1335. package/dist/types/components/gov-infobar/constants.d.ts +13 -0
  1336. package/dist/types/components/gov-infobar/gov-infobar.d.ts +47 -0
  1337. package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
  1338. package/dist/types/components/gov-layout/constants.d.ts +20 -0
  1339. package/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  1340. package/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
  1341. package/dist/types/components/gov-loading/loading/constants.d.ts +5 -0
  1342. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +6 -0
  1343. package/dist/types/components/gov-loading/skeleton/constants.d.ts +20 -0
  1344. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +52 -0
  1345. package/dist/types/components/gov-message/constants.d.ts +10 -0
  1346. package/dist/types/components/gov-message/gov-message.d.ts +12 -0
  1347. package/dist/types/components/gov-modal/constants.d.ts +14 -0
  1348. package/dist/types/components/gov-modal/gov-modal.d.ts +69 -0
  1349. package/dist/types/components/gov-nav/constants.d.ts +8 -0
  1350. package/dist/types/components/gov-nav/gov-nav-item.d.ts +12 -0
  1351. package/dist/types/components/gov-nav/gov-nav.d.ts +17 -0
  1352. package/dist/types/components/gov-pagination/constants.d.ts +22 -0
  1353. package/dist/types/components/gov-pagination/gov-pagination.d.ts +87 -0
  1354. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
  1355. package/dist/types/components/gov-pagination/pagination.d.ts +12 -0
  1356. package/dist/types/components/gov-promp/constants.d.ts +12 -0
  1357. package/dist/types/components/gov-promp/gov-prompt.d.ts +65 -0
  1358. package/dist/types/components/gov-side-nav/constants.d.ts +15 -0
  1359. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +4 -0
  1360. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +67 -0
  1361. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +32 -0
  1362. package/dist/types/components/gov-spacer/constants.d.ts +15 -0
  1363. package/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
  1364. package/dist/types/components/gov-statsbar/constants.d.ts +18 -0
  1365. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +14 -0
  1366. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +19 -0
  1367. package/dist/types/components/gov-stepper/constants.d.ts +22 -0
  1368. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +4 -0
  1369. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +48 -0
  1370. package/dist/types/components/gov-stepper/gov-stepper.d.ts +20 -0
  1371. package/dist/types/components/gov-tabs/constants.d.ts +25 -0
  1372. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +37 -0
  1373. package/dist/types/components/gov-tabs/gov-tabs.d.ts +72 -0
  1374. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +8 -0
  1375. package/dist/types/components/gov-tag/constants.d.ts +3 -0
  1376. package/dist/types/components/gov-tag/gov-tag.d.ts +30 -0
  1377. package/dist/types/components/gov-tile/constants.d.ts +9 -0
  1378. package/dist/types/components/gov-tile/container/constants.d.ts +3 -0
  1379. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +15 -0
  1380. package/dist/types/components/gov-tile/gov-tile.d.ts +21 -0
  1381. package/dist/types/components/gov-toast/constants.d.ts +14 -0
  1382. package/dist/types/components/gov-toast/gov-toast.d.ts +53 -0
  1383. package/dist/types/components/gov-tooltip/constants.d.ts +20 -0
  1384. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +28 -0
  1385. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +54 -0
  1386. package/dist/types/components/gov-wizard/constants.d.ts +21 -0
  1387. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  1388. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +72 -0
  1389. package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
  1390. package/dist/types/components/gov-wizard/gov-wizard.d.ts +33 -0
  1391. package/dist/types/components.d.ts +4448 -0
  1392. package/dist/types/core/constants/sizes.d.ts +13 -0
  1393. package/dist/types/core/constants/tags.d.ts +12 -0
  1394. package/dist/types/core/constants/tokens.d.ts +1 -0
  1395. package/dist/types/core/constants/variants.d.ts +12 -0
  1396. package/dist/types/helpers/Dom/form.d.ts +3 -0
  1397. package/dist/types/helpers/Dom/form.types.d.ts +11 -0
  1398. package/dist/types/helpers/Dom/template.d.ts +10 -0
  1399. package/dist/types/helpers/Dom/template.types.d.ts +13 -0
  1400. package/dist/types/helpers/Dom/win.d.ts +18 -0
  1401. package/dist/types/helpers/Fragment.d.ts +2 -0
  1402. package/dist/types/helpers/Log/gov.log.d.ts +8 -0
  1403. package/dist/types/helpers/Validate/props.d.ts +1 -0
  1404. package/dist/types/helpers/Validate/wcag.d.ts +4 -0
  1405. package/dist/types/index.d.ts +1 -0
  1406. package/dist/types/interfaces.d.ts +1 -0
  1407. package/dist/types/pages/Accordion.d.ts +3 -0
  1408. package/dist/types/pages/Breadcrumbs.d.ts +3 -0
  1409. package/dist/types/pages/Button.d.ts +3 -0
  1410. package/dist/types/pages/Card.d.ts +3 -0
  1411. package/dist/types/pages/Chip.d.ts +3 -0
  1412. package/dist/types/pages/Container.d.ts +3 -0
  1413. package/dist/types/pages/ControlGroup.d.ts +3 -0
  1414. package/dist/types/pages/Cookiebar.d.ts +3 -0
  1415. package/dist/types/pages/Empty.d.ts +3 -0
  1416. package/dist/types/pages/Error.d.ts +3 -0
  1417. package/dist/types/pages/FormLabel.d.ts +3 -0
  1418. package/dist/types/pages/FormMessage.d.ts +3 -0
  1419. package/dist/types/pages/Forms.d.ts +8 -0
  1420. package/dist/types/pages/FormsRestructure.d.ts +3 -0
  1421. package/dist/types/pages/Grid.d.ts +3 -0
  1422. package/dist/types/pages/Home.d.ts +3 -0
  1423. package/dist/types/pages/Infobar.d.ts +3 -0
  1424. package/dist/types/pages/Layout.d.ts +3 -0
  1425. package/dist/types/pages/Loading.d.ts +3 -0
  1426. package/dist/types/pages/Message.d.ts +3 -0
  1427. package/dist/types/pages/Modal.d.ts +3 -0
  1428. package/dist/types/pages/Nav.d.ts +3 -0
  1429. package/dist/types/pages/Pagination.d.ts +3 -0
  1430. package/dist/types/pages/Prompt.d.ts +3 -0
  1431. package/dist/types/pages/SideNav.d.ts +3 -0
  1432. package/dist/types/pages/Spacer.d.ts +3 -0
  1433. package/dist/types/pages/Statsbar.d.ts +3 -0
  1434. package/dist/types/pages/Stepper.d.ts +3 -0
  1435. package/dist/types/pages/Tabs.d.ts +3 -0
  1436. package/dist/types/pages/Tag.d.ts +3 -0
  1437. package/dist/types/pages/Tiles.d.ts +3 -0
  1438. package/dist/types/pages/ToastMessage.d.ts +3 -0
  1439. package/dist/types/pages/ToastMessageCountdown.d.ts +3 -0
  1440. package/dist/types/pages/Tooltip.d.ts +3 -0
  1441. package/dist/types/pages/Typography.d.ts +3 -0
  1442. package/dist/types/pages/Wizard.d.ts +3 -0
  1443. package/dist/types/stencil-public-runtime.d.ts +1652 -0
  1444. package/dist/types/types/event.types.d.ts +4 -0
  1445. package/dist/types/types/interfaces.d.ts +2 -0
  1446. package/dist/types/types/typings.d.ts +6 -0
  1447. package/dist/types/utils/array.utils.d.ts +1 -0
  1448. package/dist/types/utils/bool.utils.d.ts +1 -0
  1449. package/dist/types/utils/ds.utils.d.ts +1 -0
  1450. package/dist/types/utils/file.utils.d.ts +3 -0
  1451. package/dist/types/utils/helpers.types.d.ts +49 -0
  1452. package/dist/types/utils/icon.utils.d.ts +4 -0
  1453. package/dist/types/utils/number.utils.d.ts +1 -0
  1454. package/dist/types/utils/string.utils.d.ts +3 -0
  1455. package/dist/types/utils/utils.d.ts +20 -0
  1456. package/loader/cdn.js +3 -0
  1457. package/loader/index.cjs.js +3 -0
  1458. package/loader/index.d.ts +21 -0
  1459. package/loader/index.es2017.js +3 -0
  1460. package/loader/index.js +4 -0
  1461. package/loader/package.json +11 -0
  1462. package/package.json +1 -1
  1463. package/LICENSE +0 -21
  1464. package/readme.md +0 -8
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govStepperItemCss","GovStepperItem","proxyCustomElement","H","constructor","this","h","govHost","host","triggerId","createID","contentId","validateLabel","newValue","govErrorLog","StepperItemClass","root","validateTriggerTag","validTags","includes","validateVariant","validateProp","StepperVariants","componentWillLoad","label","variant","triggerTag","render","identifier","TriggerTag","Host","class","prepareClasses","annotation","rootWithAnnot","id","header","role","title","hasSlot","prefix","name","annot","content","currentState","isExpandedState"],"sources":["../../../packages/core/src/components/gov-stepper/gov-stepper-item.scss?tag=gov-stepper-item","../../../packages/core/src/components/gov-stepper/gov-stepper-item.tsx"],"sourcesContent":["/*\n * Stepper - Item\n */\n\n@import \"../gov-wizard/gov-wizard-item-core.scss\";\n$class: \".gov-stepper-item\";\n\n#{$class} {\n\t@include wizard-item-core;\n\t&::before {\n\t\t@include pseudo();\n\t\twidth: rem-calc(2);\n\t}\n\t&:last-child::before {\n\t\tcontent: none;\n\t}\n\n\t// VARIANTS\n\t@each $variant, $definitions in $wizard-core-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t&::before {\n\t\t\t\tbackground: get(\"indicator-bg\", $definitions);\n\t\t\t}\n\t\t}\n\t}\n\t@each $size, $definitions in $stepper-sizes {\n\t\t$connect-gap: get(\"connect-gap\", $definitions);\n\t\t&[size=\"#{$size}\"] {\n\t\t\tmin-height: calc(get(\"indicator-size\", $definitions) + 3 * $connect-gap);\n\t\t\t&::before {\n\t\t\t\ttop: calc(get(\"indicator-size\", $definitions) + $connect-gap);\n\t\t\t\tbottom: $connect-gap;\n\t\t\t\tleft: calc((get(\"indicator-size\", $definitions) - rem-calc(2)) / 2);\n\t\t\t}\n\t\t\t&:last-child {\n\t\t\t\tmin-height: 0;\n\t\t\t}\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\t@include typography(get(\"font-size\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__annot {\n\t\t\t\t\t@include typography(get(\"font-size-annot\", $definitions));\n\t\t\t\t}\n\t\t\t\t&__prefix {\n\t\t\t\t\t@include typography(get(\"font-size-indicator\", $definitions));\n\t\t\t\t\twidth: get(\"indicator-size\", $definitions);\n\t\t\t\t\theight: get(\"indicator-size\", $definitions);\n\t\t\t\t\tbox-shadow: 0 0 0 $connect-gap color(\"neutral.white\");\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tpadding: get(\"content-padding\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t&--w-annot[size=\"#{$size}\"] {\n\t\t\tmin-height: calc(get(\"indicator-size\", $definitions) * 1.5 + 3 * $connect-gap);\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { StepperSizesType, StepperItemClass, StepperVariantType, StepperVariants } from './constants'\nimport { createID } from '../../utils/string.utils'\nimport { govHost, prepareClasses } from '../../helpers/Dom/template'\nimport { GovStepperItemChangeEvent } from './gov-stepper-item.d'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-stepper-item',\n\tstyleUrl: 'gov-stepper-item.scss',\n})\nexport class GovStepperItem {\n\tprivate h: GovHost\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID('GovStepperItem')\n\t\tthis.contentId = createID('GovStepperContent')\n\t}\n\n\t@Element() readonly host: HTMLGovStepperItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant?: StepperVariantType = 'primary'\n\t/**\n\t * Size of stepper\n\t */\n\t@Prop() readonly size?: StepperSizesType = 'm'\n\t/**\n\t * Custom stepper item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Item name of the stepper\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Item annotation of the stepper\n\t */\n\t@Prop() readonly annotation: string\n\t/**\n\t * Used to change the HMTL tag in the stepper trigger for correct semantic structure\n\t */\n\t@Prop({ attribute: 'trigger-tag' }) readonly triggerTag: string = 'h3'\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovStepperItemChangeEvent>\n\n\t@Watch('label')\n\tvalidateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${StepperItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\t@Watch('triggerTag')\n\tvalidateTriggerTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${StepperItemClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(StepperVariants, newValue, StepperItemClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateLabel(this.label)\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateTriggerTag(this.triggerTag)\n\t}\n\n\trender() {\n\t\tconst triggerId = this.identifier || this.triggerId\n\t\tconst contentId = this.contentId\n\t\tconst { label } = this\n\t\tconst TriggerTag = this.triggerTag\n\n\t\treturn (\n\t\t\t<Host class={prepareClasses([StepperItemClass.root, this.annotation && StepperItemClass.rootWithAnnot])} variant={this.variant}>\n\t\t\t\t<div id={triggerId} class={StepperItemClass.header} role=\"listitem\">\n\t\t\t\t\t<TriggerTag class={StepperItemClass.title}>\n\t\t\t\t\t\t{this.h.hasSlot('prefix') && (\n\t\t\t\t\t\t\t<span class={StepperItemClass.prefix}>\n\t\t\t\t\t\t\t\t<slot name=\"prefix\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<span class={StepperItemClass.name}>\n\t\t\t\t\t\t\t<span class={StepperItemClass.label}>{label}</span>\n\t\t\t\t\t\t\t{this.annotation && <span class={StepperItemClass.annot}>{this.annotation}</span>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</TriggerTag>\n\t\t\t\t</div>\n\n\t\t\t\t{this.h.hasSlot('content') && (\n\t\t\t\t\t<div class={StepperItemClass.content} id={contentId} aria-labelledby={triggerId} role=\"tabpanel\">\n\t\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"mappings":"6PAAA,MAAMA,EAAoB,+wQ,MCabC,EAAcC,EAAA,MAAAD,UAAAE,EAK1B,WAAAC,G,gHAYgD,U,UAIL,I,yFAgBuB,KA/BjEC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,kBAC1BL,KAAKM,UAAYD,EAAS,oB,CAoC3B,aAAAE,CAAcC,GACb,IAAKA,EAAU,CACdC,EAAY,IAAIC,EAAiBC,sC,EAKnC,kBAAAC,CAAmBJ,GAClB,MAAMK,EAAY,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,QACvD,GAAIL,EAAU,CACb,IAAKK,EAAUC,SAASN,GAAW,CAClCC,EAAY,IAAIC,EAAiBC,cAAcH,oB,GAMlD,eAAAO,CAAgBP,GACfQ,EAAaC,EAAiBT,EAAUE,EAAiBC,K,CAG1D,iBAAAO,GACClB,KAAKO,cAAcP,KAAKmB,OACxBnB,KAAKe,gBAAgBf,KAAKoB,SAC1BpB,KAAKY,mBAAmBZ,KAAKqB,W,CAG9B,MAAAC,GACC,MAAMlB,EAAYJ,KAAKuB,YAAcvB,KAAKI,UAC1C,MAAME,EAAYN,KAAKM,UACvB,MAAMa,MAAEA,GAAUnB,KAClB,MAAMwB,EAAaxB,KAAKqB,WAExB,OACCpB,EAACwB,EAAI,CAACC,MAAOC,EAAe,CAACjB,EAAiBC,KAAMX,KAAK4B,YAAclB,EAAiBmB,gBAAiBT,QAASpB,KAAKoB,SACtHnB,EAAA,OAAK6B,GAAI1B,EAAWsB,MAAOhB,EAAiBqB,OAAQC,KAAK,YACxD/B,EAACuB,EAAU,CAACE,MAAOhB,EAAiBuB,OAClCjC,KAAKC,EAAEiC,QAAQ,WACfjC,EAAA,QAAMyB,MAAOhB,EAAiByB,QAC7BlC,EAAA,QAAMmC,KAAK,YAGbnC,EAAA,QAAMyB,MAAOhB,EAAiB0B,MAC7BnC,EAAA,QAAMyB,MAAOhB,EAAiBS,OAAQA,GACrCnB,KAAK4B,YAAc3B,EAAA,QAAMyB,MAAOhB,EAAiB2B,OAAQrC,KAAK4B,eAKjE5B,KAAKC,EAAEiC,QAAQ,YACfjC,EAAA,OAAKyB,MAAOhB,EAAiB4B,QAASR,GAAIxB,EAAS,kBAAmBF,EAAW4B,KAAK,YACrF/B,EAAA,QAAMmC,KAAK,a,CAWhB,kBAAMG,GACL,OAAOvC,KAAKwC,e"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovStepper extends Components.GovStepper, HTMLElement {}
4
+ export const GovStepper: {
5
+ prototype: GovStepper;
6
+ new (): GovStepper;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as s,H as t,c as e,h as i,d as o}from"./p-2dee9951.js";import{v as n}from"./p-dcb5fb35.js";import{S as a,a as r,b as p}from"./p-9144dde1.js";import{g as c}from"./p-28e59384.js";const m=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-stepper{position:relative;display:block;width:100%}";const l=s(class s extends t{constructor(){super();this.__registerHost();this.govChange=e(this,"gov-change",7);this.size="m";this.h=c(this.host)}validateSize(s){n(p,s,r.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(a.root).forEach((s=>{s.setAttribute("size",this.size);s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit(s.detail)}))}))}render(){return i(o,{class:this.h.classes(r.root),role:"list",size:this.size},i("slot",null))}get host(){return this}static get watchers(){return{size:["validateSize"]}}static get style(){return m}},[4,"gov-stepper",{size:[1]}]);function d(){if(typeof customElements==="undefined"){return}const s=["gov-stepper"];s.forEach((s=>{switch(s){case"gov-stepper":if(!customElements.get(s)){customElements.define(s,l)}break}}))}d();const h=l;const f=d;export{h as GovStepper,f as defineCustomElement};
2
+ //# sourceMappingURL=gov-stepper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govStepperCss","GovStepper","proxyCustomElement","H","constructor","this","h","govHost","host","validateSize","newValue","validateProp","StepperSizes","StepperClass","root","componentWillLoad","size","componentDidLoad","querySelectorAll","StepperItemClass","forEach","child","setAttribute","addEventListener","e","stopPropagation","govChange","emit","detail","render","Host","class","classes","role"],"sources":["../../../packages/core/src/components/gov-stepper/gov-stepper.scss?tag=gov-stepper","../../../packages/core/src/components/gov-stepper/gov-stepper.tsx"],"sourcesContent":["/*\n * Stepper\n */\n\n$class: \".gov-stepper\";\n\n#{$class} {\n\t@include base();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { StepperClass, StepperItemClass, StepperSizes, StepperSizesType } from './constants'\nimport { GovStepperItemCustomEvent } from '../../components'\nimport { GovStepperItemChangeEvent } from './gov-stepper-item.d'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-stepper',\n\tstyleUrl: 'gov-stepper.scss',\n})\nexport class GovStepper {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovStepperElement\n\t/**\n\t * Size of stepper\n\t */\n\t@Prop() readonly size?: StepperSizesType = 'm'\n\t/**\n\t * Called when the Stepper state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovStepperItemChangeEvent>\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(StepperSizes, newValue, StepperClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(StepperItemClass.root).forEach((child: HTMLGovStepperItemElement) => {\n\t\t\tchild.setAttribute('size', this.size)\n\t\t\tchild.addEventListener('gov-change', (e: GovStepperItemCustomEvent<GovStepperItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(StepperClass.root)} role=\"list\" size={this.size}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"0LAAA,MAAMA,EAAgB,iZ,MCYTC,EAAUC,EAAA,MAAAD,UAAAE,EAGtB,WAAAC,G,8EAQ2C,IAP1CC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAcvB,YAAAC,CAAaC,GACZC,EAAaC,EAAcF,EAAUG,EAAaC,K,CAGnD,iBAAAC,GACCV,KAAKI,aAAaJ,KAAKW,K,CAGxB,gBAAAC,GACCZ,KAAKG,KAAKU,iBAAiBC,EAAiBL,MAAMM,SAASC,IAC1DA,EAAMC,aAAa,OAAQjB,KAAKW,MAChCK,EAAME,iBAAiB,cAAeC,IACrCA,EAAEC,kBACFpB,KAAKqB,UAAUC,KAAKH,EAAEI,OAAO,GAC5B,G,CAIJ,MAAAC,GACC,OACCvB,EAACwB,EAAI,CAACC,MAAO1B,KAAKC,EAAE0B,QAAQnB,EAAaC,MAAOmB,KAAK,OAAOjB,KAAMX,KAAKW,MACtEV,EAAA,a"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTabsItem extends Components.GovTabsItem, HTMLElement {}
4
+ export const GovTabsItem: {
5
+ prototype: GovTabsItem;
6
+ new (): GovTabsItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,h as i,d as s}from"./p-2dee9951.js";import{c as r}from"./p-24636c53.js";import{g as n,t as a}from"./p-28e59384.js";import{T as o}from"./p-fa1e4aea.js";const c=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tabs-item{color:var(--gov-tabs-text-color, var(--gov-color-secondary-700))}.gov-tabs-item__inner>*:last-child{margin-bottom:0}";const d=t(class t extends e{constructor(){super();this.__registerHost();this.identifier=undefined;this.triggerIdentifier=undefined;this.label=undefined;this.default=false;this.isActive=false;this.h=n(this.host);this.contentId=r("GovTabContent");this.triggerId=r("GovTabTrigger")}render(){return i(s,{class:this.h.classes(o.root),default:this.default},i("div",{class:o.inner,role:"tabpanel",id:this.identifier||this.contentId,hidden:!this.isActive,"aria-labelledby":this.triggerIdentifier||this.triggerId,"aria-hidden":a(!this.isActive)},i("slot",null)))}async getIdentifier(){return this.identifier||this.contentId}async getTriggerIdentifier(){return this.triggerIdentifier||this.triggerId}async setActiveStatus(t){this.isActive=t}get host(){return this}static get style(){return c}},[4,"gov-tabs-item",{identifier:[1],triggerIdentifier:[1,"trigger-identifier"],label:[513],default:[4],isActive:[32],getIdentifier:[64],getTriggerIdentifier:[64],setActiveStatus:[64]}]);function f(){if(typeof customElements==="undefined"){return}const t=["gov-tabs-item"];t.forEach((t=>{switch(t){case"gov-tabs-item":if(!customElements.get(t)){customElements.define(t,d)}break}}))}f();const g=d;const l=f;export{g as GovTabsItem,l as defineCustomElement};
2
+ //# sourceMappingURL=gov-tabs-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govTabsItemCss","GovTabsItem","proxyCustomElement","H","constructor","this","h","govHost","host","contentId","createID","triggerId","render","Host","class","classes","TabsItemClass","root","default","inner","role","id","identifier","hidden","isActive","triggerIdentifier","toBoolAttrIfDefined","getIdentifier","getTriggerIdentifier","setActiveStatus","status"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.scss?tag=gov-tabs-item","../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"sourcesContent":["/*\n * Tabs - Item\n */\n\n$class: \".gov-tabs-item\";\n\n#{$class} {\n\tcolor: $tabs-text-color;\n\t&__inner {\n\t\t@include reset-last-margin();\n\t}\n}\n","import { Component, Element, h, Prop, Method, State, Host } from '@stencil/core'\nimport { createID } from '../../utils/string.utils'\nimport { govHost, toBoolAttrIfDefined } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { TabsItemClass } from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n\tstyleUrl: 'gov-tabs-item.scss',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggerId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggerId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop({reflect: true}) readonly label: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggerId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggerId\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"],"mappings":"4KAAA,MAAMA,EAAiB,4d,MCUVC,EAAWC,EAAA,MAAAD,UAAAE,EAKvB,WAAAC,G,2HAsBoC,M,cAChB,MAtBnBC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,iBAC1BL,KAAKM,UAAYD,EAAS,gB,CAsB3B,MAAAE,GACC,OACCN,EAACO,EAAI,CAACC,MAAOT,KAAKC,EAAES,QAAQC,EAAcC,MAAOC,QAASb,KAAKa,SAC9DZ,EAAA,OACCQ,MAAOE,EAAcG,MACrBC,KAAK,WACLC,GAAIhB,KAAKiB,YAAcjB,KAAKI,UAC5Bc,QAASlB,KAAKmB,SAAQ,kBACLnB,KAAKoB,mBAAqBpB,KAAKM,UAAS,cAC5Ce,GAAqBrB,KAAKmB,WAEvClB,EAAA,c,CAUJ,mBAAMqB,GACL,OAAOtB,KAAKiB,YAAcjB,KAAKI,S,CAOhC,0BAAMmB,GACL,OAAOvB,KAAKoB,mBAAqBpB,KAAKM,S,CAOvC,qBAAMkB,CAAgBC,GACrBzB,KAAKmB,SAAWM,C"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTabs extends Components.GovTabs, HTMLElement {}
4
+ export const GovTabs: {
5
+ prototype: GovTabs;
6
+ new (): GovTabs;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as o,c as r,h as e,d as a}from"./p-2dee9951.js";import{v as s}from"./p-dcb5fb35.js";import{T as i,a as n,b as c,c as v}from"./p-fa1e4aea.js";import{g as l,a as g}from"./p-28e59384.js";import{a as b,v as d}from"./p-4ff831e3.js";import{c as h}from"./p-003e6cca.js";import{d as m,t as p}from"./p-03990da5.js";import{c as f}from"./p-24636c53.js";import{d as u}from"./p-990d2990.js";import{d as y}from"./p-43554d2d.js";import{d as _}from"./p-6f391c4a.js";const w=".gov-tabs__list{margin:0;padding:0}.gov-tabs__list>.gov-tabs__item{margin:0;padding:0;background:none}.gov-tabs__list>.gov-tabs__item::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tabs{position:relative;display:block;width:100%}.gov-tabs__list{display:flex;flex-wrap:wrap;margin:0rem 0rem 1.25rem}.gov-tabs__list>.gov-tabs__item{display:flex;margin:0}.gov-tabs__btn{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0.75rem 0rem 0.625rem;border-bottom:0.125rem solid transparent;font-weight:700;text-align:center;transition:150ms linear color, 150ms linear border-color}.gov-tabs__btn:focus{outline:none}.gov-tabs__btn:focus{outline:none}.gov-tabs__btn:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-tabs[type=text] .gov-tabs__list{gap:0.5rem 2rem;border-bottom:var(--gov-tabs-list-border-width, 0.0625rem solid var(--gov-color-secondary-500))}.gov-tabs[type=chip] .gov-tabs__list{gap:0.5rem 1rem}.gov-tabs[variant=primary][type=text] .gov-tabs__btn{color:var(--gov-tabs-primary-color, var(--gov-color-primary))}@media not all and (pointer: coarse){.gov-tabs[variant=primary][type=text] .gov-tabs__btn:hover{color:var(--gov-tabs-primary-color-hover, var(--gov-color-primary-800))}}.gov-tabs[variant=primary][type=text] .gov-tabs__btn[aria-selected=true]{border-bottom-color:var(--gov-tabs-primary-color-active, var(--gov-color-primary-800));color:var(--gov-tabs-primary-color-active, var(--gov-color-primary-800))}.gov-tabs[variant=secondary][type=text] .gov-tabs__btn{color:var(--gov-tabs-secondary-color, var(--gov-color-secondary-700))}@media not all and (pointer: coarse){.gov-tabs[variant=secondary][type=text] .gov-tabs__btn:hover{color:var(--gov-tabs-secondary-color-hover, var(--gov-color-secondary-900))}}.gov-tabs[variant=secondary][type=text] .gov-tabs__btn[aria-selected=true]{border-bottom-color:var(--gov-tabs-secondary-color-active, var(--gov-color-secondary-900));color:var(--gov-tabs-secondary-color-active, var(--gov-color-secondary-900))}.gov-tabs[variant=success][type=text] .gov-tabs__btn{color:var(--gov-tabs-success-color, var(--gov-color-success-500))}@media not all and (pointer: coarse){.gov-tabs[variant=success][type=text] .gov-tabs__btn:hover{color:var(--gov-tabs-success-color-hover, var(--gov-color-success-700))}}.gov-tabs[variant=success][type=text] .gov-tabs__btn[aria-selected=true]{border-bottom-color:var(--gov-tabs-success-color-active, var(--gov-color-success-700));color:var(--gov-tabs-success-color-active, var(--gov-color-success-700))}.gov-tabs[variant=warning][type=text] .gov-tabs__btn{color:var(--gov-tabs-warning-color, var(--gov-color-warning-500))}@media not all and (pointer: coarse){.gov-tabs[variant=warning][type=text] .gov-tabs__btn:hover{color:var(--gov-tabs-warning-color-hover, var(--gov-color-warning-700))}}.gov-tabs[variant=warning][type=text] .gov-tabs__btn[aria-selected=true]{border-bottom-color:var(--gov-tabs-warning-color-active, var(--gov-color-warning-700));color:var(--gov-tabs-warning-color-active, var(--gov-color-warning-700))}.gov-tabs[variant=error][type=text] .gov-tabs__btn{color:var(--gov-tabs-error-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){.gov-tabs[variant=error][type=text] .gov-tabs__btn:hover{color:var(--gov-tabs-error-color-hover, var(--gov-color-error-600))}}.gov-tabs[variant=error][type=text] .gov-tabs__btn[aria-selected=true]{border-bottom-color:var(--gov-tabs-error-color-active, var(--gov-color-error-600));color:var(--gov-tabs-error-color-active, var(--gov-color-error-600))}.gov-tabs[orientation=vertical] .gov-tabs__btn{text-align:left}@media (min-width: 75em){.gov-tabs[orientation=vertical]{display:flex;flex-direction:row}.gov-tabs[orientation=vertical] .gov-tabs__list{flex-wrap:nowrap;flex-direction:column;width:-moz-max-content;width:max-content;max-width:30vw;margin-right:1.25rem;padding:0rem 0.5rem;border-bottom:none;border-right:var(--gov-tabs-list-border-width, 0.0625rem solid var(--gov-color-secondary-500))}.gov-tabs[orientation=vertical] .gov-tabs__item{justify-content:flex-end}.gov-tabs[orientation=vertical] .gov-tabs__btn{padding:0.5rem 0.75rem;text-align:right}}";const x=t(class t extends o{constructor(){super();this.__registerHost();this.govChange=r(this,"gov-change",7);this.triggerRefs={};this.controller=[];this.focusIndex=0;this.compactControls=false;this.type="text";this.variant="primary";this.orientation="horizontal";this.wcagLabel=undefined;this.wcagSelectLabel=undefined;this.wcagLabelledBy=undefined;this.h=l(this.host);this.formSelectId=f("GovFormSelect")}validateType(t){s(c,t,n.root)}validateVariant(t){s(v,t,n.root)}componentWillLoad(){this.prepareDataSource()}async componentDidRender(){if(h()){await m(500);await this.validateWcag()}this.resizeObserver()}prepareDataSource(){this.controller=[];const t=[];this.host.querySelectorAll(i.root).forEach((o=>{const r=Promise.all([o.getIdentifier(),o.getTriggerIdentifier()]).then((([t,r])=>{const e=typeof o.getAttribute("default")==="string";return{label:o.getAttribute("label"),contentIdentifier:t,triggerIdentifier:r,element:o,active:false,default:e}}));t.push(r)}));Promise.all(t).then((t=>{let o=t.findIndex((t=>t.default));if(o===-1)o=0;this.focusIndex=o;t[o].active=true;this.controller=[...t];this.reRender()}))}setActiveByIdentifier(t){const o=[];this.controller.map((r=>{r.active=t===r.triggerIdentifier||t===r.contentIdentifier;o.push(r)}));this.controller=[...o]}reRender(){this.controller.map((t=>{t.element.setActiveStatus(t.active)}))}resizeObserver(){const t=new ResizeObserver(p((()=>{}),200));t.observe(this.tabsRef)}render(){return e(a,{class:this.h.classes(n.root),variant:this.variant,type:this.type,role:"tablist",ref:t=>this.tabsRef=t,"aria-label":this.wcagLabel,"aria-labelledby":this.wcagLabelledBy,onKeyDown:this.onKeydownHandler.bind(this)},e("div",{class:n.tabs,"aria-hidden":g(this.compactControls)},e("ul",{class:n.list},this.controller.map(((t,o)=>e("li",{class:n.item},this.type=="text"?e("button",{class:n.btn,id:t.triggerIdentifier,role:"tab",onClick:()=>this.onSelectHandler(t,o),"aria-selected":g(t.active),"aria-controls":t.contentIdentifier,tabindex:t.active?0:-1,ref:o=>this.triggerRefs[t.triggerIdentifier]=o},t.label):e("gov-chip",{role:"tab",tag:"button",identifier:t.triggerIdentifier,"wcag-selected":t.active,"wcag-controls":t.contentIdentifier,focusable:t.active,variant:this.variant,inverse:!t.active,ref:o=>this.triggerRefs[t.triggerIdentifier]=o,"on-gov-click":()=>this.onSelectHandler(t,o)},t.label)))))),e("span",{id:this.formSelectId,hidden:true},this.wcagSelectLabel),this.compactControls?e("gov-form-select",{"wcag-labelled-by":this.formSelectId,"onGov-change":this.onChangeHandler.bind(this)},this.controller.map((t=>e("option",{value:t.triggerIdentifier,selected:t.active},t.label)))):null,e("slot",null))}getCurrentTab(){return this.controller.find((t=>t.active))||null}onSelectHandler(t,o){this.focusIndex=o;this.setActiveByIdentifier(t.triggerIdentifier);this.reRender();this.govChange.emit(this.getCurrentTab().element)}onChangeHandler(t){const o=t.target.value;t.stopPropagation();this.setActiveByIdentifier(o);this.reRender();this.govChange.emit(this.getCurrentTab().element)}onKeydownHandler(t){const o=t.keyCode;t.stopPropagation();if([37,38,39,40].includes(o)){if(false===(this.focusIndex>=0&&this.focusIndex<=this.controller.length-1)){return}this.controller[this.focusIndex].active=false;if(o===39||o===40){this.focusIndex++;if(this.focusIndex>=this.controller.length){this.focusIndex=0}}else if(o===37||o===38){this.focusIndex--;if(this.focusIndex<0){this.focusIndex=this.controller.length-1}}if(this.focusIndex>=0&&this.focusIndex<=this.controller.length-1){const t=this.controller[this.focusIndex];t.active=true;const o=this.triggerRefs[t.triggerIdentifier];if(o.nodeName.toLowerCase()==="gov-chip"){this.triggerRefs[t.triggerIdentifier].setFocus()}else{this.triggerRefs[t.triggerIdentifier].focus()}this.controller=[...this.controller];this.reRender();this.govChange.emit(this.getCurrentTab().element)}}}async refresh(){this.prepareDataSource()}async currentTab(){return this.getCurrentTab().element||null}async setActiveTab(t){this.setActiveByIdentifier(t);this.reRender()}async validateWcag(){b(this.wcagSelectLabel,"wcag-select-label",n.root);d(this.wcagLabel,this.wcagLabelledBy,n.root)}get host(){return this}static get watchers(){return{type:["validateType"],variant:["validateVariant"]}}static get style(){return w}},[4,"gov-tabs",{type:[1],variant:[1],orientation:[1],wcagLabel:[1,"wcag-label"],wcagSelectLabel:[1,"wcag-select-label"],wcagLabelledBy:[1,"wcag-labelled-by"],controller:[32],focusIndex:[32],compactControls:[32],refresh:[64],currentTab:[64],setActiveTab:[64],validateWcag:[64]}]);function k(){if(typeof customElements==="undefined"){return}const t=["gov-tabs","gov-chip","gov-form-select","gov-icon"];t.forEach((t=>{switch(t){case"gov-tabs":if(!customElements.get(t)){customElements.define(t,x)}break;case"gov-chip":if(!customElements.get(t)){u()}break;case"gov-form-select":if(!customElements.get(t)){y()}break;case"gov-icon":if(!customElements.get(t)){_()}break}}))}k();const j=x;const T=k;export{j as GovTabs,T as defineCustomElement};
2
+ //# sourceMappingURL=gov-tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govTabsCss","GovTabs","proxyCustomElement","H","constructor","this","triggerRefs","h","govHost","host","formSelectId","createID","validateType","newValue","validateProp","TabTypes","TabsClass","root","validateVariant","TabVariants","componentWillLoad","prepareDataSource","componentDidRender","canValidateWcagOnRender","delay","validateWcag","resizeObserver","controller","promises","querySelectorAll","TabsItemClass","forEach","tab","controlItem","Promise","all","getIdentifier","getTriggerIdentifier","then","identifier","triggerIdentifier","isDefault","getAttribute","label","contentIdentifier","element","active","default","push","controllers","defaultTab","findIndex","focusIndex","reRender","setActiveByIdentifier","temp","map","item","control","setActiveStatus","ResizeObserver","throttle","observe","tabsRef","render","Host","class","classes","variant","type","role","ref","el","wcagLabel","wcagLabelledBy","onKeyDown","onKeydownHandler","bind","tabs","toBoolAttr","compactControls","list","index","btn","id","onClick","onSelectHandler","tabindex","tag","focusable","inverse","hidden","wcagSelectLabel","onChangeHandler","value","selected","getCurrentTab","find","govChange","emit","e","triggerId","target","stopPropagation","keyCode","includes","length","current","trigger","nodeName","toLowerCase","setFocus","focus","refresh","currentTab","setActiveTab","validateWcagProp","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs.scss?tag=gov-tabs","../../../packages/core/src/components/gov-tabs/gov-tabs.tsx"],"sourcesContent":["/*\n * Tabs\n */\n\n$class: \".gov-tabs\";\n\n#{$class} {\n\t@include base();\n\t&__list {\n\t\t@extend %reset-ul;\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tmargin: rem-calc(0 0 20);\n\t}\n\t&__list > &__item {\n\t\t@extend %reset-ul-li;\n\t\tdisplay: flex;\n\t\tmargin: 0;\n\t}\n\t&__btn {\n\t\t@include typography($font-size-s);\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\tmargin: 0;\n\t\tpadding: rem-calc(12 0 10);\n\t\tborder-bottom: rem-calc(2) solid transparent;\n\t\tfont-weight: 700;\n\t\ttext-align: center;\n\t\ttransition: $t linear color, $t linear border-color;\n\n\t}\n\n\t// VARIANTS\n\t@each $type, $definitions in $tabs-types {\n\t\t&[type=\"#{$type}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__list {\n\t\t\t\t\tgap: get(\"item-spacing\", $definitions);\n\t\t\t\t\t@if deep-map-check($definitions, \"border\") {\n\t\t\t\t\t\tborder-bottom: $tabs-list-border;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $definitions in $tabs-variants {\n\t\t&[variant=\"#{$variant}\"][type=\"text\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__btn {\n\t\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t\t@include hover() {\n\t\t\t\t\t\tcolor: get(\"color-hover\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// STATES\n\t\t\t\t&__btn[aria-selected=\"true\"] {\n\t\t\t\t\tborder-bottom-color: get(\"color-active\", $definitions);\n\t\t\t\t\tcolor: get(\"color-active\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t&[orientation=\"vertical\"] {\n\t\t#{$class}__btn {\n\t\t\ttext-align: left;\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: xl) {\n\t\t&[orientation=\"vertical\"] {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\n\t\t\t#{$class}__list {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: max-content;\n\t\t\t\tmax-width: 30vw;\n\t\t\t\tmargin-right: rem-calc(20);\n\t\t\t\tpadding: rem-calc(0 8);\n\t\t\t\tborder-bottom: none;\n\t\t\t\tborder-right: $tabs-list-border;\n\t\t\t}\n\n\t\t\t#{$class}__item {\n\t\t\t\tjustify-content: flex-end;\n\t\t\t}\n\n\t\t\t#{$class}__btn {\n\t\t\t\tpadding: rem-calc(8 12);\n\t\t\t\ttext-align: right;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { TabOrientationType, TabsClass, TabsItemClass, TabType, TabTypes, TabVariants, VariantType } from \"./constants\"\nimport { GovTabControllerItem } from \"./gov-tabs.types\"\nimport { govHost, toBoolAttr } from \"../../helpers/Dom/template\"\nimport { validateWcagLabel, validateWcagProp } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay, throttle } from \"../../utils/utils\"\nimport { createID } from \"../../utils/string.utils\"\nimport { Nullable } from \"../../types/interfaces\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\n\n@Component({\n\ttag: \"gov-tabs\",\n\tstyleUrl: \"gov-tabs.scss\",\n})\nexport class GovTabs {\n\tprivate h: GovHost\n\tprivate triggerRefs: { [key: string]: HTMLButtonElement | HTMLGovChipElement } = {}\n\tprivate tabsRef?: HTMLDivElement\n\n\tprivate readonly formSelectId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.formSelectId = createID(\"GovFormSelect\")\n\t}\n\n\t@Element() host: HTMLGovTabsElement\n\t@State() controller: GovTabControllerItem[] = []\n\t@State() focusIndex = 0\n\t@State() compactControls = false\n\t/**\n\t * Tabs type\n\t */\n\t@Prop() readonly type: TabType = \"text\"\n\t/**\n\t * Style variation of the tab chips.\n\t */\n\t@Prop() readonly variant?: VariantType = \"primary\"\n\t/**\n\t * Tabs orientation\n\t */\n\t@Prop() readonly orientation: TabOrientationType = \"horizontal\"\n\t/**\n\t * Adds accessible label for the tabs that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Adds accessible label for the tabs select\n\t */\n\t@Prop({ attribute: \"wcag-select-label\" }) readonly wcagSelectLabel: string\n\t/**\n\t * Indicates the id of a component that labels the tabs.\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Emitted when the tab is changed.\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<HTMLGovTabsItemElement>\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(TabTypes, newValue, TabsClass.root)\n\t}\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(TabVariants, newValue, TabsClass.root)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.prepareDataSource()\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\n\t\tthis.resizeObserver()\n\t}\n\n\tprivate prepareDataSource(): void {\n\t\tthis.controller = []\n\t\tconst promises: Promise<GovTabControllerItem>[] = []\n\t\tthis.host.querySelectorAll(TabsItemClass.root).forEach((tab: HTMLGovTabsItemElement) => {\n\t\t\tconst controlItem = Promise.all([\n\t\t\t\ttab.getIdentifier(),\n\t\t\t\ttab.getTriggerIdentifier(),\n\t\t\t]).then(([identifier, triggerIdentifier]) => {\n\t\t\t\tconst isDefault = typeof tab.getAttribute(\"default\") === \"string\"\n\t\t\t\treturn {\n\t\t\t\t\tlabel: tab.getAttribute(\"label\"),\n\t\t\t\t\tcontentIdentifier: identifier,\n\t\t\t\t\ttriggerIdentifier: triggerIdentifier,\n\t\t\t\t\telement: tab,\n\t\t\t\t\tactive: false,\n\t\t\t\t\tdefault: isDefault,\n\t\t\t\t}\n\t\t\t})\n\t\t\tpromises.push(controlItem)\n\t\t});\n\t\tPromise.all(promises).then(controllers => {\n\t\t\tlet defaultTab = controllers.findIndex(controller => controller.default)\n\t\t\tif (defaultTab === -1) defaultTab = 0\n\t\t\tthis.focusIndex = defaultTab\n\t\t\tcontrollers[defaultTab].active = true\n\t\t\tthis.controller = [...controllers]\n\t\t\tthis.reRender()\n\t\t})\n\t}\n\n\tprivate setActiveByIdentifier(identifier: string) {\n\t\tconst temp = []\n\t\tthis.controller.map(item => {\n\t\t\titem.active = identifier === item.triggerIdentifier || identifier === item.contentIdentifier\n\t\t\ttemp.push(item)\n\t\t})\n\t\tthis.controller = [...temp]\n\t}\n\n\tprivate reRender() {\n\t\tthis.controller.map(control => {\n\t\t\tcontrol.element.setActiveStatus(control.active)\n\t\t})\n\t}\n\n\t/*\n\tprivate evaluateControls() {\n\t\tthis.compactControls = false\n\t\tlet sumOfWidth = this.tabsRef.querySelector(\"ul\").offsetWidth\n\t\tthis.compactControls = this.tabsRef.offsetWidth < sumOfWidth\n\t}\n\t*/\n\n\tprivate resizeObserver() {\n\t\tconst resizeObserver = new ResizeObserver(\n\t\t\tthrottle(() => {\n\t\t\t\t// this.evaluateControls()\n\t\t\t}, 200),\n\t\t)\n\n\t\tresizeObserver.observe(this.tabsRef)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(TabsClass.root)}\n\t\t\t\tvariant={this.variant}\n\t\t\t\ttype={this.type}\n\t\t\t\trole=\"tablist\"\n\t\t\t\tref={el => (this.tabsRef = el as HTMLDivElement)}\n\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\tonKeyDown={this.onKeydownHandler.bind(this)}\n\t\t\t>\n\t\t\t\t<div class={TabsClass.tabs} aria-hidden={toBoolAttr(this.compactControls)}>\n\t\t\t\t\t<ul class={TabsClass.list}>\n\t\t\t\t\t\t{this.controller.map((control, index) => (\n\t\t\t\t\t\t\t<li class={TabsClass.item}>\n\t\t\t\t\t\t\t\t{this.type == \"text\" ? (\n\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\tclass={TabsClass.btn}\n\t\t\t\t\t\t\t\t\t\tid={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\tonClick={() => this.onSelectHandler(control, index)}\n\t\t\t\t\t\t\t\t\t\taria-selected={toBoolAttr(control.active)}\n\t\t\t\t\t\t\t\t\t\taria-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\ttabindex={control.active ? 0 : -1}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLButtonElement)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<gov-chip\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\ttag={'button'}\n\t\t\t\t\t\t\t\t\t\tidentifier={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\twcag-selected={control.active}\n\t\t\t\t\t\t\t\t\t\twcag-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\tfocusable={control.active}\n\t\t\t\t\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\t\t\t\t\tinverse={!control.active}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLGovChipElement)}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.onSelectHandler(control, index)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\n\t\t\t\t<span id={this.formSelectId} hidden>\n\t\t\t\t\t{this.wcagSelectLabel}\n\t\t\t\t</span>\n\t\t\t\t{this.compactControls ? (\n\t\t\t\t\t<gov-form-select wcag-labelled-by={this.formSelectId} onGov-change={this.onChangeHandler.bind(this)}>\n\t\t\t\t\t\t{this.controller.map(control => (\n\t\t\t\t\t\t\t<option value={control.triggerIdentifier} selected={control.active}>\n\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</gov-form-select>\n\t\t\t\t) : null}\n\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate getCurrentTab(): GovTabControllerItem | null {\n\t\treturn this.controller.find(control => control.active) || null\n\t}\n\n\tprivate onSelectHandler(control: GovTabControllerItem, index: number) {\n\t\tthis.focusIndex = index\n\t\tthis.setActiveByIdentifier(control.triggerIdentifier)\n\t\tthis.reRender()\n\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t}\n\n\tprivate onChangeHandler(e: CustomEvent) {\n\t\tconst triggerId = (e.target as HTMLSelectElement).value\n\t\te.stopPropagation()\n\t\tthis.setActiveByIdentifier(triggerId)\n\t\tthis.reRender()\n\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t}\n\n\tprivate onKeydownHandler(e: KeyboardEvent) {\n\t\tconst keyCode = e.keyCode\n\t\te.stopPropagation()\n\t\tif ([37, 38, 39, 40].includes(keyCode)) {\n\t\t\tif (false === (this.focusIndex >= 0 && this.focusIndex <= this.controller.length - 1)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.controller[this.focusIndex].active = false\n\n\t\t\tif (keyCode === 39 || keyCode === 40) {\n\t\t\t\tthis.focusIndex++\n\t\t\t\tif (this.focusIndex >= this.controller.length) {\n\t\t\t\t\tthis.focusIndex = 0\n\t\t\t\t}\n\t\t\t} else if (keyCode === 37 || keyCode === 38) {\n\t\t\t\tthis.focusIndex--\n\t\t\t\tif (this.focusIndex < 0) {\n\t\t\t\t\tthis.focusIndex = this.controller.length - 1\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.focusIndex >= 0 && this.focusIndex <= this.controller.length - 1) {\n\t\t\t\tconst current = this.controller[this.focusIndex]\n\t\t\t\tcurrent.active = true\n\t\t\t\tconst trigger = this.triggerRefs[current.triggerIdentifier]\n\t\t\t\tif(trigger.nodeName.toLowerCase() === 'gov-chip') {\n\t\t\t\t\t(this.triggerRefs[current.triggerIdentifier] as HTMLGovChipElement).setFocus()\n\t\t\t\t} else {\n\t\t\t\t\tthis.triggerRefs[current.triggerIdentifier].focus()\n\t\t\t\t}\n\n\t\t\t\tthis.controller = [...this.controller]\n\t\t\t\tthis.reRender()\n\t\t\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync refresh(): Promise<void> {\n\t\tthis.prepareDataSource()\n\t}\n\n\t/**\n\t * Returns the currently selected tabs-item\n\t */\n\t@Method()\n\tasync currentTab(): Promise<Nullable<HTMLGovTabsItemElement>> {\n\t\treturn this.getCurrentTab().element || null\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync setActiveTab(identifier: string): Promise<void> {\n\t\tthis.setActiveByIdentifier(identifier)\n\t\tthis.reRender()\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagProp(this.wcagSelectLabel, \"wcag-select-label\", TabsClass.root)\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, TabsClass.root)\n\t}\n}\n"],"mappings":"kdAAA,MAAMA,EAAa,4zJ,MCgBNC,EAAOC,EAAA,MAAAD,UAAAE,EAOnB,WAAAC,G,oEALQC,KAAAC,YAAyE,G,gBAWnC,G,gBACxB,E,qBACK,M,UAIM,O,aAIQ,U,iBAIU,a,sFAnBlDD,KAAKE,EAAIC,EAAQH,KAAKI,MACtBJ,KAAKK,aAAeC,EAAS,gB,CAqC9B,YAAAC,CAAaC,GACZC,EAAaC,EAAUF,EAAUG,EAAUC,K,CAI5C,eAAAC,CAAgBL,GACfC,EAAaK,EAAaN,EAAUG,EAAUC,K,CAG/C,iBAAAG,GACCf,KAAKgB,mB,CAGN,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNnB,KAAKoB,c,CAGZpB,KAAKqB,gB,CAGE,iBAAAL,GACPhB,KAAKsB,WAAa,GAClB,MAAMC,EAA4C,GAClDvB,KAAKI,KAAKoB,iBAAiBC,EAAcb,MAAMc,SAASC,IACvD,MAAMC,EAAcC,QAAQC,IAAI,CAC/BH,EAAII,gBACJJ,EAAIK,yBACFC,MAAK,EAAEC,EAAYC,MACrB,MAAMC,SAAmBT,EAAIU,aAAa,aAAe,SACzD,MAAO,CACNC,MAAOX,EAAIU,aAAa,SACxBE,kBAAmBL,EACnBC,kBAAmBA,EACnBK,QAASb,EACTc,OAAQ,MACRC,QAASN,EACT,IAEFb,EAASoB,KAAKf,EAAY,IAE3BC,QAAQC,IAAIP,GAAUU,MAAKW,IAC1B,IAAIC,EAAaD,EAAYE,WAAUxB,GAAcA,EAAWoB,UAChE,GAAIG,KAAgB,EAAGA,EAAa,EACpC7C,KAAK+C,WAAaF,EAClBD,EAAYC,GAAYJ,OAAS,KACjCzC,KAAKsB,WAAa,IAAIsB,GACtB5C,KAAKgD,UAAU,G,CAIT,qBAAAC,CAAsBf,GAC7B,MAAMgB,EAAO,GACblD,KAAKsB,WAAW6B,KAAIC,IACnBA,EAAKX,OAASP,IAAekB,EAAKjB,mBAAqBD,IAAekB,EAAKb,kBAC3EW,EAAKP,KAAKS,EAAK,IAEhBpD,KAAKsB,WAAa,IAAI4B,E,CAGf,QAAAF,GACPhD,KAAKsB,WAAW6B,KAAIE,IACnBA,EAAQb,QAAQc,gBAAgBD,EAAQZ,OAAO,G,CAYzC,cAAApB,GACP,MAAMA,EAAiB,IAAIkC,eAC1BC,GAAS,QAEN,MAGJnC,EAAeoC,QAAQzD,KAAK0D,Q,CAG7B,MAAAC,GACC,OACCzD,EAAC0D,EAAI,CACJC,MAAO7D,KAAKE,EAAE4D,QAAQnD,EAAUC,MAChCmD,QAAS/D,KAAK+D,QACdC,KAAMhE,KAAKgE,KACXC,KAAK,UACLC,IAAKC,GAAOnE,KAAK0D,QAAUS,EAAqB,aACpCnE,KAAKoE,UAAS,kBACTpE,KAAKqE,eACtBC,UAAWtE,KAAKuE,iBAAiBC,KAAKxE,OAEtCE,EAAA,OAAK2D,MAAOlD,EAAU8D,KAAI,cAAeC,EAAW1E,KAAK2E,kBACxDzE,EAAA,MAAI2D,MAAOlD,EAAUiE,MACnB5E,KAAKsB,WAAW6B,KAAI,CAACE,EAASwB,IAC9B3E,EAAA,MAAI2D,MAAOlD,EAAUyC,MACnBpD,KAAKgE,MAAQ,OACb9D,EAAA,UACC2D,MAAOlD,EAAUmE,IACjBC,GAAI1B,EAAQlB,kBACZ8B,KAAK,MACLe,QAAS,IAAMhF,KAAKiF,gBAAgB5B,EAASwB,GAAM,gBACpCH,EAAWrB,EAAQZ,QAAO,gBAC1BY,EAAQd,kBACvB2C,SAAU7B,EAAQZ,OAAS,GAAK,EAChCyB,IAAKC,GAAOnE,KAAKC,YAAYoD,EAAQlB,mBAAqBgC,GAEzDd,EAAQf,OAGVpC,EAAA,YACC+D,KAAK,MACLkB,IAAK,SACLjD,WAAYmB,EAAQlB,kBAAiB,gBACtBkB,EAAQZ,OAAM,gBACdY,EAAQd,kBACvB6C,UAAW/B,EAAQZ,OACnBsB,QAAS/D,KAAK+D,QACdsB,SAAUhC,EAAQZ,OAClByB,IAAKC,GAAOnE,KAAKC,YAAYoD,EAAQlB,mBAAqBgC,EAAyB,eACrE,IAAMnE,KAAKiF,gBAAgB5B,EAASwB,IAEjDxB,EAAQf,YAQfpC,EAAA,QAAM6E,GAAI/E,KAAKK,aAAciF,OAAM,MACjCtF,KAAKuF,iBAENvF,KAAK2E,gBACLzE,EAAA,sCAAmCF,KAAKK,aAAY,eAAgBL,KAAKwF,gBAAgBhB,KAAKxE,OAC5FA,KAAKsB,WAAW6B,KAAIE,GACpBnD,EAAA,UAAQuF,MAAOpC,EAAQlB,kBAAmBuD,SAAUrC,EAAQZ,QAC1DY,EAAQf,UAIT,KAEJpC,EAAA,a,CAKK,aAAAyF,GACP,OAAO3F,KAAKsB,WAAWsE,MAAKvC,GAAWA,EAAQZ,UAAW,I,CAGnD,eAAAwC,CAAgB5B,EAA+BwB,GACtD7E,KAAK+C,WAAa8B,EAClB7E,KAAKiD,sBAAsBI,EAAQlB,mBACnCnC,KAAKgD,WACLhD,KAAK6F,UAAUC,KAAK9F,KAAK2F,gBAAgBnD,Q,CAGlC,eAAAgD,CAAgBO,GACvB,MAAMC,EAAaD,EAAEE,OAA6BR,MAClDM,EAAEG,kBACFlG,KAAKiD,sBAAsB+C,GAC3BhG,KAAKgD,WACLhD,KAAK6F,UAAUC,KAAK9F,KAAK2F,gBAAgBnD,Q,CAGlC,gBAAA+B,CAAiBwB,GACxB,MAAMI,EAAUJ,EAAEI,QAClBJ,EAAEG,kBACF,GAAI,CAAC,GAAI,GAAI,GAAI,IAAIE,SAASD,GAAU,CACvC,GAAI,SAAWnG,KAAK+C,YAAc,GAAK/C,KAAK+C,YAAc/C,KAAKsB,WAAW+E,OAAS,GAAI,CACtF,M,CAEDrG,KAAKsB,WAAWtB,KAAK+C,YAAYN,OAAS,MAE1C,GAAI0D,IAAY,IAAMA,IAAY,GAAI,CACrCnG,KAAK+C,aACL,GAAI/C,KAAK+C,YAAc/C,KAAKsB,WAAW+E,OAAQ,CAC9CrG,KAAK+C,WAAa,C,OAEb,GAAIoD,IAAY,IAAMA,IAAY,GAAI,CAC5CnG,KAAK+C,aACL,GAAI/C,KAAK+C,WAAa,EAAG,CACxB/C,KAAK+C,WAAa/C,KAAKsB,WAAW+E,OAAS,C,EAG7C,GAAIrG,KAAK+C,YAAc,GAAK/C,KAAK+C,YAAc/C,KAAKsB,WAAW+E,OAAS,EAAG,CAC1E,MAAMC,EAAUtG,KAAKsB,WAAWtB,KAAK+C,YACrCuD,EAAQ7D,OAAS,KACjB,MAAM8D,EAAUvG,KAAKC,YAAYqG,EAAQnE,mBACzC,GAAGoE,EAAQC,SAASC,gBAAkB,WAAY,CAChDzG,KAAKC,YAAYqG,EAAQnE,mBAA0CuE,U,KAC9D,CACN1G,KAAKC,YAAYqG,EAAQnE,mBAAmBwE,O,CAG7C3G,KAAKsB,WAAa,IAAItB,KAAKsB,YAC3BtB,KAAKgD,WACLhD,KAAK6F,UAAUC,KAAK9F,KAAK2F,gBAAgBnD,Q,GAS5C,aAAMoE,GACL5G,KAAKgB,mB,CAON,gBAAM6F,GACL,OAAO7G,KAAK2F,gBAAgBnD,SAAW,I,CAOxC,kBAAMsE,CAAa5E,GAClBlC,KAAKiD,sBAAsBf,GAC3BlC,KAAKgD,U,CAON,kBAAM5B,GACL2F,EAAiB/G,KAAKuF,gBAAiB,oBAAqB5E,EAAUC,MACtEoG,EAAkBhH,KAAKoE,UAAWpE,KAAKqE,eAAgB1D,EAAUC,K"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTag extends Components.GovTag, HTMLElement {}
4
+ export const GovTag: {
5
+ prototype: GovTag;
6
+ new (): GovTag;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as e,H as r,h as o,d as a}from"./p-2dee9951.js";import{g as t}from"./p-28e59384.js";import{v as n}from"./p-dcb5fb35.js";import{b as v,a as i}from"./p-3c71d697.js";import{p as l}from"./p-2bf5b814.js";import{d as s}from"./p-6f391c4a.js";const g={root:"gov-tag"};const c='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tag .element{margin:0;padding:0;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;box-sizing:border-box;display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--gov-button-border-width, 0.0625rem) solid transparent;transition:background-color 150ms ease-in-out, border-color 150ms ease-in-out, color 150ms ease-in-out;cursor:inherit;will-change:background-color, border-color}.gov-tag .element:focus{outline:none}.gov-tag .element .gov-icon{flex:0 0 auto;color:inherit}.gov-tag .element>*{display:flex}[hoverable].gov-tag .element{cursor:pointer}[hoverable].gov-tag .element:focus{outline:none}[hoverable].gov-tag .element:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}[hoverable][type=outlined].gov-tag .element:focus-visible,[hoverable][type=base].gov-tag .element:focus-visible{outline-offset:0}[hoverable][disabled=""].gov-tag,[hoverable][disabled=true i].gov-tag,[hoverable][disabled="1"].gov-tag{cursor:not-allowed}[hoverable][disabled=""].gov-tag .element,[hoverable][disabled=true i].gov-tag .element,[hoverable][disabled="1"].gov-tag .element{pointer-events:none}[expanded=""].gov-tag,[expanded=true i].gov-tag,[expanded="1"].gov-tag{display:block}[expanded=""].gov-tag .element,[expanded=true i].gov-tag .element,[expanded="1"].gov-tag .element{display:flex;width:100%;margin-right:0;margin-left:0}[type=solid][variant=primary].gov-tag .element{background-color:var(--gov-button-primary-solid-bg, var(--gov-color-primary));color:var(--gov-button-primary-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][inverse=""].gov-tag .element,[type=solid][variant=primary][inverse=true i].gov-tag .element,[type=solid][variant=primary][inverse="1"].gov-tag .element{color:var(--gov-button-primary-solid-inverse-color, var(--gov-color-primary));background-color:var(--gov-button-primary-solid-inverse-bg, var(--gov-color-primary-200))}[type=solid][variant=primary][inverse=""].gov-tag .element:focus-visible,[type=solid][variant=primary][inverse=true i].gov-tag .element:focus-visible,[type=solid][variant=primary][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-primary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=primary][disabled=""].gov-tag .element,[type=solid][variant=primary][disabled=true i].gov-tag .element,[type=solid][variant=primary][disabled="1"].gov-tag .element{background-color:var(--gov-button-primary-solid-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][disabled=""][inverse=""].gov-tag .element,[type=solid][variant=primary][disabled=""][inverse=true i].gov-tag .element,[type=solid][variant=primary][disabled=""][inverse="1"].gov-tag .element,[type=solid][variant=primary][disabled=true i][inverse=""].gov-tag .element,[type=solid][variant=primary][disabled=true i][inverse=true i].gov-tag .element,[type=solid][variant=primary][disabled=true i][inverse="1"].gov-tag .element,[type=solid][variant=primary][disabled="1"][inverse=""].gov-tag .element,[type=solid][variant=primary][disabled="1"][inverse=true i].gov-tag .element,[type=solid][variant=primary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-primary-solid-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-solid-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=solid][variant=primary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-primary-solid-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-primary-solid-active-bg, var(--gov-color-primary-800))}}@media not all and (pointer: coarse){[type=solid][variant=primary][hoverable][inverse=""].gov-tag .element:hover,[type=solid][variant=primary][hoverable][inverse=true i].gov-tag .element:hover,[type=solid][variant=primary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-primary-solid-inverse-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][hoverable][inverse=""].gov-tag .element:hover:active,[type=solid][variant=primary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=solid][variant=primary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-primary-solid-inverse-active-bg, var(--gov-color-primary-800))}}[type=outlined][variant=primary].gov-tag .element{color:var(--gov-button-primary-outlined-color, var(--gov-color-primary));border-color:var(--gov-button-primary-outlined-border, var(--gov-color-primary))}[type=outlined][variant=primary][inverse=""].gov-tag .element,[type=outlined][variant=primary][inverse=true i].gov-tag .element,[type=outlined][variant=primary][inverse="1"].gov-tag .element{color:var(--gov-button-primary-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-outlined-inverse-bg, transparent);border-color:var(--gov-button-primary-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=primary][inverse=""].gov-tag .element:focus-visible,[type=outlined][variant=primary][inverse=true i].gov-tag .element:focus-visible,[type=outlined][variant=primary][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-primary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=primary][disabled=""].gov-tag .element,[type=outlined][variant=primary][disabled=true i].gov-tag .element,[type=outlined][variant=primary][disabled="1"].gov-tag .element{background-color:var(--gov-button-primary-outlined-disabled-bg, transparent);color:var(--gov-button-primary-outlined-disabled-color, var(--gov-color-primary-400));border-color:var(--gov-button-primary-outlined-disabled-border, var(--gov-color-primary-300))}[type=outlined][variant=primary][disabled=""][inverse=""].gov-tag .element,[type=outlined][variant=primary][disabled=""][inverse=true i].gov-tag .element,[type=outlined][variant=primary][disabled=""][inverse="1"].gov-tag .element,[type=outlined][variant=primary][disabled=true i][inverse=""].gov-tag .element,[type=outlined][variant=primary][disabled=true i][inverse=true i].gov-tag .element,[type=outlined][variant=primary][disabled=true i][inverse="1"].gov-tag .element,[type=outlined][variant=primary][disabled="1"][inverse=""].gov-tag .element,[type=outlined][variant=primary][disabled="1"][inverse=true i].gov-tag .element,[type=outlined][variant=primary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-primary-outlined-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-outlined-inverse-disabled-color, var(--gov-color-primary-400));border-color:var(--gov-button-primary-outlined-inverse-disabled-border-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=outlined][variant=primary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-primary-outlined-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-outlined-hover-color, var(--gov-color-primary))}[type=outlined][variant=primary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-primary-outlined-active-bg, var(--gov-color-primary-300))}}@media not all and (pointer: coarse){[type=outlined][variant=primary][hoverable][inverse=""].gov-tag .element:hover,[type=outlined][variant=primary][hoverable][inverse=true i].gov-tag .element:hover,[type=outlined][variant=primary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-primary-outlined-inverse-hover-bg, var(--gov-color-primary-500));color:var(--gov-button-primary-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=primary][hoverable][inverse=""].gov-tag .element:hover:active,[type=outlined][variant=primary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=outlined][variant=primary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-primary-outlined-inverse-active-bg, var(--gov-color-primary-400))}}[type=base][variant=primary].gov-tag .element{color:var(--gov-button-primary-base-color, var(--gov-color-primary))}[type=base][variant=primary][inverse=""].gov-tag .element,[type=base][variant=primary][inverse=true i].gov-tag .element,[type=base][variant=primary][inverse="1"].gov-tag .element{color:var(--gov-button-primary-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-base-inverse-bg, transparent)}[type=base][variant=primary][disabled=""].gov-tag .element,[type=base][variant=primary][disabled=true i].gov-tag .element,[type=base][variant=primary][disabled="1"].gov-tag .element{color:var(--gov-button-primary-base-disabled-color, var(--gov-color-primary-400))}[type=base][variant=primary][disabled=""][inverse=""].gov-tag .element,[type=base][variant=primary][disabled=""][inverse=true i].gov-tag .element,[type=base][variant=primary][disabled=""][inverse="1"].gov-tag .element,[type=base][variant=primary][disabled=true i][inverse=""].gov-tag .element,[type=base][variant=primary][disabled=true i][inverse=true i].gov-tag .element,[type=base][variant=primary][disabled=true i][inverse="1"].gov-tag .element,[type=base][variant=primary][disabled="1"][inverse=""].gov-tag .element,[type=base][variant=primary][disabled="1"][inverse=true i].gov-tag .element,[type=base][variant=primary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-primary-base-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-base-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=base][variant=primary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-primary-base-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-base-hover-color, var(--gov-color-primary))}[type=base][variant=primary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-primary-base-active-bg, var(--gov-color-primary-300))}}@media not all and (pointer: coarse){[type=base][variant=primary][hoverable][inverse=""].gov-tag .element:hover,[type=base][variant=primary][hoverable][inverse=true i].gov-tag .element:hover,[type=base][variant=primary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-primary-base-inverse-hover-bg, var(--gov-color-primary-500));color:var(--gov-button-primary-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=primary][hoverable][inverse=""].gov-tag .element:hover:active,[type=base][variant=primary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=base][variant=primary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-primary-base-inverse-active-bg, var(--gov-color-primary-400));color:var(--gov-button-primary-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=primary].gov-tag .element{color:var(--gov-button-primary-link-color, var(--gov-color-primary))}[type=link][variant=primary][inverse=""].gov-tag .element,[type=link][variant=primary][inverse=true i].gov-tag .element,[type=link][variant=primary][inverse="1"].gov-tag .element{color:var(--gov-button-primary-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-link-inverse-bg, transparent)}[type=link][variant=primary][disabled=""].gov-tag .element,[type=link][variant=primary][disabled=true i].gov-tag .element,[type=link][variant=primary][disabled="1"].gov-tag .element{color:var(--gov-button-primary-link-disabled-color, var(--gov-color-primary-400))}[type=link][variant=primary][disabled=""][inverse=""].gov-tag .element,[type=link][variant=primary][disabled=""][inverse=true i].gov-tag .element,[type=link][variant=primary][disabled=""][inverse="1"].gov-tag .element,[type=link][variant=primary][disabled=true i][inverse=""].gov-tag .element,[type=link][variant=primary][disabled=true i][inverse=true i].gov-tag .element,[type=link][variant=primary][disabled=true i][inverse="1"].gov-tag .element,[type=link][variant=primary][disabled="1"][inverse=""].gov-tag .element,[type=link][variant=primary][disabled="1"][inverse=true i].gov-tag .element,[type=link][variant=primary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-primary-link-inverse-disabled-bg, transparent);color:var(--gov-button-primary-link-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=link][variant=primary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-primary-link-hover-bg, transparent);color:var(--gov-button-primary-link-hover-color, var(--gov-color-primary))}[type=link][variant=primary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-primary-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-primary-700))}}@media not all and (pointer: coarse){[type=link][variant=primary][hoverable][inverse=""].gov-tag .element:hover,[type=link][variant=primary][hoverable][inverse=true i].gov-tag .element:hover,[type=link][variant=primary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-primary-link-inverse-hover-bg, transparent);color:var(--gov-button-primary-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=primary][hoverable][inverse=""].gov-tag .element:hover:active,[type=link][variant=primary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=link][variant=primary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-primary-link-inverse-active-bg, transparent);color:var(--gov-button-primary-link-inverse-active-color, var(--gov-color-primary-200))}}[type=solid][variant=secondary].gov-tag .element{background-color:var(--gov-button-secondary-solid-bg, var(--gov-color-secondary));color:var(--gov-button-secondary-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][inverse=""].gov-tag .element,[type=solid][variant=secondary][inverse=true i].gov-tag .element,[type=solid][variant=secondary][inverse="1"].gov-tag .element{color:var(--gov-button-secondary-solid-inverse-color, var(--gov-color-secondary));background-color:var(--gov-button-secondary-solid-inverse-bg, var(--gov-color-neutral-white))}[type=solid][variant=secondary][inverse=""].gov-tag .element:focus-visible,[type=solid][variant=secondary][inverse=true i].gov-tag .element:focus-visible,[type=solid][variant=secondary][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-secondary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=secondary][disabled=""].gov-tag .element,[type=solid][variant=secondary][disabled=true i].gov-tag .element,[type=solid][variant=secondary][disabled="1"].gov-tag .element{background-color:var(--gov-button-secondary-solid-disabled-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-solid-disabled-color, var(--gov-color-secondary-600))}[type=solid][variant=secondary][disabled=""][inverse=""].gov-tag .element,[type=solid][variant=secondary][disabled=""][inverse=true i].gov-tag .element,[type=solid][variant=secondary][disabled=""][inverse="1"].gov-tag .element,[type=solid][variant=secondary][disabled=true i][inverse=""].gov-tag .element,[type=solid][variant=secondary][disabled=true i][inverse=true i].gov-tag .element,[type=solid][variant=secondary][disabled=true i][inverse="1"].gov-tag .element,[type=solid][variant=secondary][disabled="1"][inverse=""].gov-tag .element,[type=solid][variant=secondary][disabled="1"][inverse=true i].gov-tag .element,[type=solid][variant=secondary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-secondary-solid-inverse-disabled-bg, var(--gov-color-neutral-white));color:var(--gov-button-secondary-solid-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=solid][variant=secondary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-secondary-solid-hover-bg, var(--gov-color-secondary-900));color:var(--gov-button-secondary-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-solid-active-bg, var(--gov-color-secondary))}}@media not all and (pointer: coarse){[type=solid][variant=secondary][hoverable][inverse=""].gov-tag .element:hover,[type=solid][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover,[type=solid][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-secondary-solid-inverse-hover-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][hoverable][inverse=""].gov-tag .element:hover:active,[type=solid][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=solid][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-solid-inverse-active-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-solid-inverse-active-color, var(--gov-color-neutral-white))}}[type=outlined][variant=secondary].gov-tag .element{color:var(--gov-button-secondary-outlined-color, var(--gov-color-secondary));border-color:var(--gov-button-secondary-outlined-border, var(--gov-color-secondary))}[type=outlined][variant=secondary][inverse=""].gov-tag .element,[type=outlined][variant=secondary][inverse=true i].gov-tag .element,[type=outlined][variant=secondary][inverse="1"].gov-tag .element{color:var(--gov-button-secondary-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-outlined-inverse-bg, transparent);border-color:var(--gov-button-secondary-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=secondary][inverse=""].gov-tag .element:focus-visible,[type=outlined][variant=secondary][inverse=true i].gov-tag .element:focus-visible,[type=outlined][variant=secondary][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-secondary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=secondary][disabled=""].gov-tag .element,[type=outlined][variant=secondary][disabled=true i].gov-tag .element,[type=outlined][variant=secondary][disabled="1"].gov-tag .element{background-color:var(--gov-button-secondary-outlined-disabled-bg, transparent);color:var(--gov-button-secondary-outlined-disabled-color, var(--gov-color-secondary-500));border-color:var(--gov-button-secondary-outlined-disabled-border, var(--gov-color-secondary-500))}[type=outlined][variant=secondary][disabled=""][inverse=""].gov-tag .element,[type=outlined][variant=secondary][disabled=""][inverse=true i].gov-tag .element,[type=outlined][variant=secondary][disabled=""][inverse="1"].gov-tag .element,[type=outlined][variant=secondary][disabled=true i][inverse=""].gov-tag .element,[type=outlined][variant=secondary][disabled=true i][inverse=true i].gov-tag .element,[type=outlined][variant=secondary][disabled=true i][inverse="1"].gov-tag .element,[type=outlined][variant=secondary][disabled="1"][inverse=""].gov-tag .element,[type=outlined][variant=secondary][disabled="1"][inverse=true i].gov-tag .element,[type=outlined][variant=secondary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-secondary-outlined-inverse-disabled-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-outlined-inverse-disabled-color, var(--gov-color-secondary-600));border-color:var(--gov-button-secondary-outlined-inverse-disabled-border-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=outlined][variant=secondary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-secondary-outlined-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-outlined-hover-color, var(--gov-color-secondary))}[type=outlined][variant=secondary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-outlined-active-bg, var(--gov-color-secondary-400))}}@media not all and (pointer: coarse){[type=outlined][variant=secondary][hoverable][inverse=""].gov-tag .element:hover,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-secondary-outlined-inverse-hover-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=secondary][hoverable][inverse=""].gov-tag .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-outlined-inverse-active-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-outlined-inverse-active-color, var(--gov-color-secondary))}}[type=base][variant=secondary].gov-tag .element{color:var(--gov-button-secondary-base-color, var(--gov-color-secondary))}[type=base][variant=secondary][inverse=""].gov-tag .element,[type=base][variant=secondary][inverse=true i].gov-tag .element,[type=base][variant=secondary][inverse="1"].gov-tag .element{color:var(--gov-button-secondary-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-base-inverse-bg, transparent)}[type=base][variant=secondary][disabled=""].gov-tag .element,[type=base][variant=secondary][disabled=true i].gov-tag .element,[type=base][variant=secondary][disabled="1"].gov-tag .element{color:var(--gov-button-secondary-base-disabled-color, var(--gov-color-secondary-600))}[type=base][variant=secondary][disabled=""][inverse=""].gov-tag .element,[type=base][variant=secondary][disabled=""][inverse=true i].gov-tag .element,[type=base][variant=secondary][disabled=""][inverse="1"].gov-tag .element,[type=base][variant=secondary][disabled=true i][inverse=""].gov-tag .element,[type=base][variant=secondary][disabled=true i][inverse=true i].gov-tag .element,[type=base][variant=secondary][disabled=true i][inverse="1"].gov-tag .element,[type=base][variant=secondary][disabled="1"][inverse=""].gov-tag .element,[type=base][variant=secondary][disabled="1"][inverse=true i].gov-tag .element,[type=base][variant=secondary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-secondary-base-inverse-disabled-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-base-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=base][variant=secondary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-secondary-base-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-base-hover-color, var(--gov-color-secondary))}[type=base][variant=secondary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-base-active-bg, var(--gov-color-secondary-400))}}@media not all and (pointer: coarse){[type=base][variant=secondary][hoverable][inverse=""].gov-tag .element:hover,[type=base][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover,[type=base][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-secondary-base-inverse-hover-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=secondary][hoverable][inverse=""].gov-tag .element:hover:active,[type=base][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=base][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-base-inverse-active-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-base-inverse-active-color, var(--gov-color-secondary))}}[type=link][variant=secondary].gov-tag .element{color:var(--gov-button-secondary-link-color, var(--gov-color-secondary))}[type=link][variant=secondary][inverse=""].gov-tag .element,[type=link][variant=secondary][inverse=true i].gov-tag .element,[type=link][variant=secondary][inverse="1"].gov-tag .element{color:var(--gov-button-secondary-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-link-inverse-bg, transparent)}[type=link][variant=secondary][disabled=""].gov-tag .element,[type=link][variant=secondary][disabled=true i].gov-tag .element,[type=link][variant=secondary][disabled="1"].gov-tag .element{color:var(--gov-button-secondary-link-disabled-color, var(--gov-color-secondary-600))}[type=link][variant=secondary][disabled=""][inverse=""].gov-tag .element,[type=link][variant=secondary][disabled=""][inverse=true i].gov-tag .element,[type=link][variant=secondary][disabled=""][inverse="1"].gov-tag .element,[type=link][variant=secondary][disabled=true i][inverse=""].gov-tag .element,[type=link][variant=secondary][disabled=true i][inverse=true i].gov-tag .element,[type=link][variant=secondary][disabled=true i][inverse="1"].gov-tag .element,[type=link][variant=secondary][disabled="1"][inverse=""].gov-tag .element,[type=link][variant=secondary][disabled="1"][inverse=true i].gov-tag .element,[type=link][variant=secondary][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-secondary-link-inverse-disabled-bg, transparent);color:var(--gov-button-secondary-link-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=link][variant=secondary][hoverable].gov-tag .element:hover{background-color:var(--gov-button-secondary-link-hover-bg, transparent);color:var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary))}[type=link][variant=secondary][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-secondary))}}@media not all and (pointer: coarse){[type=link][variant=secondary][hoverable][inverse=""].gov-tag .element:hover,[type=link][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover,[type=link][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-secondary-link-inverse-hover-bg, transparent);color:var(--gov-button-secondary-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=secondary][hoverable][inverse=""].gov-tag .element:hover:active,[type=link][variant=secondary][hoverable][inverse=true i].gov-tag .element:hover:active,[type=link][variant=secondary][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-secondary-link-inverse-active-bg, transparent);color:var(--gov-button-secondary-link-inverse-active-color, var(--gov-color-secondary-500))}}[type=solid][variant=error].gov-tag .element{background-color:var(--gov-button-error-solid-bg, var(--gov-color-error));color:var(--gov-button-error-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=error][inverse=""].gov-tag .element,[type=solid][variant=error][inverse=true i].gov-tag .element,[type=solid][variant=error][inverse="1"].gov-tag .element{color:var(--gov-button-error-solid-inverse-color, var(--gov-color-error));background-color:var(--gov-button-error-solid-inverse-bg, var(--gov-color-error-200))}[type=solid][variant=error][inverse=""].gov-tag .element:focus-visible,[type=solid][variant=error][inverse=true i].gov-tag .element:focus-visible,[type=solid][variant=error][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-error-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=error][disabled=""].gov-tag .element,[type=solid][variant=error][disabled=true i].gov-tag .element,[type=solid][variant=error][disabled="1"].gov-tag .element{background-color:var(--gov-button-error-solid-disabled-bg, var(--gov-color-error-200));color:var(--gov-button-error-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=error][disabled=""][inverse=""].gov-tag .element,[type=solid][variant=error][disabled=""][inverse=true i].gov-tag .element,[type=solid][variant=error][disabled=""][inverse="1"].gov-tag .element,[type=solid][variant=error][disabled=true i][inverse=""].gov-tag .element,[type=solid][variant=error][disabled=true i][inverse=true i].gov-tag .element,[type=solid][variant=error][disabled=true i][inverse="1"].gov-tag .element,[type=solid][variant=error][disabled="1"][inverse=""].gov-tag .element,[type=solid][variant=error][disabled="1"][inverse=true i].gov-tag .element,[type=solid][variant=error][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-error-solid-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-solid-inverse-disabled-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=solid][variant=error][hoverable].gov-tag .element:hover{background-color:var(--gov-button-error-solid-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=error][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-error-solid-active-bg, var(--gov-color-error-600))}}@media not all and (pointer: coarse){[type=solid][variant=error][hoverable][inverse=""].gov-tag .element:hover,[type=solid][variant=error][hoverable][inverse=true i].gov-tag .element:hover,[type=solid][variant=error][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-error-solid-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=error][hoverable][inverse=""].gov-tag .element:hover:active,[type=solid][variant=error][hoverable][inverse=true i].gov-tag .element:hover:active,[type=solid][variant=error][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-error-solid-inverse-active-bg, var(--gov-color-error-600))}}[type=outlined][variant=error].gov-tag .element{color:var(--gov-button-error-outlined-color, var(--gov-color-error));border-color:var(--gov-button-error-outlined-border, var(--gov-color-error))}[type=outlined][variant=error][inverse=""].gov-tag .element,[type=outlined][variant=error][inverse=true i].gov-tag .element,[type=outlined][variant=error][inverse="1"].gov-tag .element{color:var(--gov-button-error-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-outlined-inverse-bg, transparent);border-color:var(--gov-button-error-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=error][inverse=""].gov-tag .element:focus-visible,[type=outlined][variant=error][inverse=true i].gov-tag .element:focus-visible,[type=outlined][variant=error][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-error-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=error][disabled=""].gov-tag .element,[type=outlined][variant=error][disabled=true i].gov-tag .element,[type=outlined][variant=error][disabled="1"].gov-tag .element{background-color:var(--gov-button-error-outlined-disabled-bg, transparent);color:var(--gov-button-error-outlined-disabled-color, var(--gov-color-error-200));border-color:var(--gov-button-error-outlined-disabled-border, var(--gov-color-error-200))}[type=outlined][variant=error][disabled=""][inverse=""].gov-tag .element,[type=outlined][variant=error][disabled=""][inverse=true i].gov-tag .element,[type=outlined][variant=error][disabled=""][inverse="1"].gov-tag .element,[type=outlined][variant=error][disabled=true i][inverse=""].gov-tag .element,[type=outlined][variant=error][disabled=true i][inverse=true i].gov-tag .element,[type=outlined][variant=error][disabled=true i][inverse="1"].gov-tag .element,[type=outlined][variant=error][disabled="1"][inverse=""].gov-tag .element,[type=outlined][variant=error][disabled="1"][inverse=true i].gov-tag .element,[type=outlined][variant=error][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-error-outlined-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-outlined-inverse-disabled-color, var(--gov-color-error-400));border-color:var(--gov-button-error-outlined-inverse-disabled-border-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=outlined][variant=error][hoverable].gov-tag .element:hover{background-color:var(--gov-button-error-outlined-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-outlined-hover-color, var(--gov-color-error))}[type=outlined][variant=error][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-error-outlined-active-bg, var(--gov-color-error-200))}}@media not all and (pointer: coarse){[type=outlined][variant=error][hoverable][inverse=""].gov-tag .element:hover,[type=outlined][variant=error][hoverable][inverse=true i].gov-tag .element:hover,[type=outlined][variant=error][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-error-outlined-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=error][hoverable][inverse=""].gov-tag .element:hover:active,[type=outlined][variant=error][hoverable][inverse=true i].gov-tag .element:hover:active,[type=outlined][variant=error][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-error-outlined-inverse-active-bg, var(--gov-color-error-400))}}[type=base][variant=error].gov-tag .element{color:var(--gov-button-error-base-color, var(--gov-color-error))}[type=base][variant=error][inverse=""].gov-tag .element,[type=base][variant=error][inverse=true i].gov-tag .element,[type=base][variant=error][inverse="1"].gov-tag .element{color:var(--gov-button-error-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-base-inverse-bg, transparent)}[type=base][variant=error][disabled=""].gov-tag .element,[type=base][variant=error][disabled=true i].gov-tag .element,[type=base][variant=error][disabled="1"].gov-tag .element{color:var(--gov-button-error-base-disabled-color, var(--gov-color-error-200))}[type=base][variant=error][disabled=""][inverse=""].gov-tag .element,[type=base][variant=error][disabled=""][inverse=true i].gov-tag .element,[type=base][variant=error][disabled=""][inverse="1"].gov-tag .element,[type=base][variant=error][disabled=true i][inverse=""].gov-tag .element,[type=base][variant=error][disabled=true i][inverse=true i].gov-tag .element,[type=base][variant=error][disabled=true i][inverse="1"].gov-tag .element,[type=base][variant=error][disabled="1"][inverse=""].gov-tag .element,[type=base][variant=error][disabled="1"][inverse=true i].gov-tag .element,[type=base][variant=error][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-error-base-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-base-inverse-disabled-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=base][variant=error][hoverable].gov-tag .element:hover{background-color:var(--gov-button-error-base-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-base-hover-color, var(--gov-color-error))}[type=base][variant=error][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-error-base-active-bg, var(--gov-color-error-200))}}@media not all and (pointer: coarse){[type=base][variant=error][hoverable][inverse=""].gov-tag .element:hover,[type=base][variant=error][hoverable][inverse=true i].gov-tag .element:hover,[type=base][variant=error][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-error-base-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=error][hoverable][inverse=""].gov-tag .element:hover:active,[type=base][variant=error][hoverable][inverse=true i].gov-tag .element:hover:active,[type=base][variant=error][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-error-base-inverse-active-bg, var(--gov-color-error-400));color:var(--gov-button-error-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=error].gov-tag .element{color:var(--gov-button-error-link-color, var(--gov-color-error))}[type=link][variant=error][inverse=""].gov-tag .element,[type=link][variant=error][inverse=true i].gov-tag .element,[type=link][variant=error][inverse="1"].gov-tag .element{color:var(--gov-button-error-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-link-inverse-bg, transparent)}[type=link][variant=error][disabled=""].gov-tag .element,[type=link][variant=error][disabled=true i].gov-tag .element,[type=link][variant=error][disabled="1"].gov-tag .element{color:var(--gov-button-error-link-disabled-color, var(--gov-color-error-200))}[type=link][variant=error][disabled=""][inverse=""].gov-tag .element,[type=link][variant=error][disabled=""][inverse=true i].gov-tag .element,[type=link][variant=error][disabled=""][inverse="1"].gov-tag .element,[type=link][variant=error][disabled=true i][inverse=""].gov-tag .element,[type=link][variant=error][disabled=true i][inverse=true i].gov-tag .element,[type=link][variant=error][disabled=true i][inverse="1"].gov-tag .element,[type=link][variant=error][disabled="1"][inverse=""].gov-tag .element,[type=link][variant=error][disabled="1"][inverse=true i].gov-tag .element,[type=link][variant=error][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-error-link-inverse-disabled-bg, transparent);color:var(--gov-button-error-link-inverse-disabled-color, var(--gov-color-error-200))}@media not all and (pointer: coarse){[type=link][variant=error][hoverable].gov-tag .element:hover{background-color:var(--gov-button-error-link-hover-bg, transparent);color:var(--gov-button-error-link-hover-color, var(--gov-color-error))}[type=link][variant=error][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-error-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-error-500))}}@media not all and (pointer: coarse){[type=link][variant=error][hoverable][inverse=""].gov-tag .element:hover,[type=link][variant=error][hoverable][inverse=true i].gov-tag .element:hover,[type=link][variant=error][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-error-link-inverse-hover-bg, transparent);color:var(--gov-button-error-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=error][hoverable][inverse=""].gov-tag .element:hover:active,[type=link][variant=error][hoverable][inverse=true i].gov-tag .element:hover:active,[type=link][variant=error][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-error-link-inverse-active-bg, transparent);color:var(--gov-button-error-link-inverse-active-color, var(--gov-color-neutral-white))}}[type=solid][variant=success].gov-tag .element{background-color:var(--gov-button-success-solid-bg, var(--gov-color-success-500));color:var(--gov-button-success-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=success][inverse=""].gov-tag .element,[type=solid][variant=success][inverse=true i].gov-tag .element,[type=solid][variant=success][inverse="1"].gov-tag .element{color:var(--gov-button-success-solid-inverse-color, var(--gov-color-success));background-color:var(--gov-button-success-solid-inverse-bg, var(--gov-color-success-200))}[type=solid][variant=success][inverse=""].gov-tag .element:focus-visible,[type=solid][variant=success][inverse=true i].gov-tag .element:focus-visible,[type=solid][variant=success][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-success-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=success][disabled=""].gov-tag .element,[type=solid][variant=success][disabled=true i].gov-tag .element,[type=solid][variant=success][disabled="1"].gov-tag .element{background-color:var(--gov-button-success-solid-disabled-bg, var(--gov-color-success-200));color:var(--gov-button-success-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=success][disabled=""][inverse=""].gov-tag .element,[type=solid][variant=success][disabled=""][inverse=true i].gov-tag .element,[type=solid][variant=success][disabled=""][inverse="1"].gov-tag .element,[type=solid][variant=success][disabled=true i][inverse=""].gov-tag .element,[type=solid][variant=success][disabled=true i][inverse=true i].gov-tag .element,[type=solid][variant=success][disabled=true i][inverse="1"].gov-tag .element,[type=solid][variant=success][disabled="1"][inverse=""].gov-tag .element,[type=solid][variant=success][disabled="1"][inverse=true i].gov-tag .element,[type=solid][variant=success][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-success-solid-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-solid-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=solid][variant=success][hoverable].gov-tag .element:hover{background-color:var(--gov-button-success-solid-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=success][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-success-solid-active-bg, var(--gov-color-success-700))}}@media not all and (pointer: coarse){[type=solid][variant=success][hoverable][inverse=""].gov-tag .element:hover,[type=solid][variant=success][hoverable][inverse=true i].gov-tag .element:hover,[type=solid][variant=success][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-success-solid-inverse-hover-bg, var(--gov-color-success-700));color:var(--gov-button-success-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=success][hoverable][inverse=""].gov-tag .element:hover:active,[type=solid][variant=success][hoverable][inverse=true i].gov-tag .element:hover:active,[type=solid][variant=success][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-success-solid-inverse-active-bg, var(--gov-color-success-800))}}[type=outlined][variant=success].gov-tag .element{color:var(--gov-button-success-outlined-color, var(--gov-color-success-500));border-color:var(--gov-button-success-outlined-border, var(--gov-color-success-500))}[type=outlined][variant=success][inverse=""].gov-tag .element,[type=outlined][variant=success][inverse=true i].gov-tag .element,[type=outlined][variant=success][inverse="1"].gov-tag .element{color:var(--gov-button-success-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-outlined-inverse-bg, transparent);border-color:var(--gov-button-success-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=success][inverse=""].gov-tag .element:focus-visible,[type=outlined][variant=success][inverse=true i].gov-tag .element:focus-visible,[type=outlined][variant=success][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-success-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=success][disabled=""].gov-tag .element,[type=outlined][variant=success][disabled=true i].gov-tag .element,[type=outlined][variant=success][disabled="1"].gov-tag .element{background-color:var(--gov-button-success-outlined-disabled-bg, transparent);color:var(--gov-button-success-outlined-disabled-color, var(--gov-color-success-300));border-color:var(--gov-button-success-outlined-disabled-border, var(--gov-color-success-300))}[type=outlined][variant=success][disabled=""][inverse=""].gov-tag .element,[type=outlined][variant=success][disabled=""][inverse=true i].gov-tag .element,[type=outlined][variant=success][disabled=""][inverse="1"].gov-tag .element,[type=outlined][variant=success][disabled=true i][inverse=""].gov-tag .element,[type=outlined][variant=success][disabled=true i][inverse=true i].gov-tag .element,[type=outlined][variant=success][disabled=true i][inverse="1"].gov-tag .element,[type=outlined][variant=success][disabled="1"][inverse=""].gov-tag .element,[type=outlined][variant=success][disabled="1"][inverse=true i].gov-tag .element,[type=outlined][variant=success][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-success-outlined-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-outlined-inverse-disabled-color, var(--gov-color-success-400));border-color:var(--gov-button-success-outlined-inverse-disabled-border-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=outlined][variant=success][hoverable].gov-tag .element:hover{background-color:var(--gov-button-success-outlined-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-outlined-hover-color, var(--gov-color-success-500))}[type=outlined][variant=success][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-success-outlined-active-bg, var(--gov-color-success-200))}}@media not all and (pointer: coarse){[type=outlined][variant=success][hoverable][inverse=""].gov-tag .element:hover,[type=outlined][variant=success][hoverable][inverse=true i].gov-tag .element:hover,[type=outlined][variant=success][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-success-outlined-inverse-hover-bg, var(--gov-color-success-500));color:var(--gov-button-success-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=success][hoverable][inverse=""].gov-tag .element:hover:active,[type=outlined][variant=success][hoverable][inverse=true i].gov-tag .element:hover:active,[type=outlined][variant=success][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-success-outlined-inverse-active-bg, var(--gov-color-success-400))}}[type=base][variant=success].gov-tag .element{color:var(--gov-button-success-base-color, var(--gov-color-success-500))}[type=base][variant=success][inverse=""].gov-tag .element,[type=base][variant=success][inverse=true i].gov-tag .element,[type=base][variant=success][inverse="1"].gov-tag .element{color:var(--gov-button-success-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-base-inverse-bg, transparent)}[type=base][variant=success][disabled=""].gov-tag .element,[type=base][variant=success][disabled=true i].gov-tag .element,[type=base][variant=success][disabled="1"].gov-tag .element{color:var(--gov-button-success-base-disabled-color, var(--gov-color-success-300))}[type=base][variant=success][disabled=""][inverse=""].gov-tag .element,[type=base][variant=success][disabled=""][inverse=true i].gov-tag .element,[type=base][variant=success][disabled=""][inverse="1"].gov-tag .element,[type=base][variant=success][disabled=true i][inverse=""].gov-tag .element,[type=base][variant=success][disabled=true i][inverse=true i].gov-tag .element,[type=base][variant=success][disabled=true i][inverse="1"].gov-tag .element,[type=base][variant=success][disabled="1"][inverse=""].gov-tag .element,[type=base][variant=success][disabled="1"][inverse=true i].gov-tag .element,[type=base][variant=success][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-success-base-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-base-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=base][variant=success][hoverable].gov-tag .element:hover{background-color:var(--gov-button-success-base-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-base-hover-color, var(--gov-color-success-500))}[type=base][variant=success][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-success-base-active-bg, var(--gov-color-success-200))}}@media not all and (pointer: coarse){[type=base][variant=success][hoverable][inverse=""].gov-tag .element:hover,[type=base][variant=success][hoverable][inverse=true i].gov-tag .element:hover,[type=base][variant=success][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-success-base-inverse-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=success][hoverable][inverse=""].gov-tag .element:hover:active,[type=base][variant=success][hoverable][inverse=true i].gov-tag .element:hover:active,[type=base][variant=success][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-success-base-inverse-active-bg, var(--gov-color-success-500));color:var(--gov-button-success-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=success].gov-tag .element{color:var(--gov-button-success-link-color, var(--gov-color-success-500))}[type=link][variant=success][inverse=""].gov-tag .element,[type=link][variant=success][inverse=true i].gov-tag .element,[type=link][variant=success][inverse="1"].gov-tag .element{color:var(--gov-button-success-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-link-inverse-bg, transparent)}[type=link][variant=success][disabled=""].gov-tag .element,[type=link][variant=success][disabled=true i].gov-tag .element,[type=link][variant=success][disabled="1"].gov-tag .element{color:var(--gov-button-success-link-disabled-color, var(--gov-color-success-300))}[type=link][variant=success][disabled=""][inverse=""].gov-tag .element,[type=link][variant=success][disabled=""][inverse=true i].gov-tag .element,[type=link][variant=success][disabled=""][inverse="1"].gov-tag .element,[type=link][variant=success][disabled=true i][inverse=""].gov-tag .element,[type=link][variant=success][disabled=true i][inverse=true i].gov-tag .element,[type=link][variant=success][disabled=true i][inverse="1"].gov-tag .element,[type=link][variant=success][disabled="1"][inverse=""].gov-tag .element,[type=link][variant=success][disabled="1"][inverse=true i].gov-tag .element,[type=link][variant=success][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-success-link-inverse-disabled-bg, transparent);color:var(--gov-button-success-link-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=link][variant=success][hoverable].gov-tag .element:hover{background-color:var(--gov-button-success-link-hover-bg, transparent);color:var(--gov-button-success-link-hover-color, var(--gov-color-success-500))}[type=link][variant=success][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-success-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){[type=link][variant=success][hoverable][inverse=""].gov-tag .element:hover,[type=link][variant=success][hoverable][inverse=true i].gov-tag .element:hover,[type=link][variant=success][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-success-link-inverse-hover-bg, transparent);color:var(--gov-button-success-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=success][hoverable][inverse=""].gov-tag .element:hover:active,[type=link][variant=success][hoverable][inverse=true i].gov-tag .element:hover:active,[type=link][variant=success][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-success-link-inverse-active-bg, transparent);color:var(--gov-button-success-link-inverse-active-color, var(--gov-color-neutral-white))}}[type=solid][variant=warning].gov-tag .element{background-color:var(--gov-button-warning-solid-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][inverse=""].gov-tag .element,[type=solid][variant=warning][inverse=true i].gov-tag .element,[type=solid][variant=warning][inverse="1"].gov-tag .element{color:var(--gov-button-warning-solid-inverse-color, var(--gov-color-warning));background-color:var(--gov-button-warning-solid-inverse-bg, var(--gov-color-warning-200))}[type=solid][variant=warning][inverse=""].gov-tag .element:focus-visible,[type=solid][variant=warning][inverse=true i].gov-tag .element:focus-visible,[type=solid][variant=warning][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-warning-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=warning][disabled=""].gov-tag .element,[type=solid][variant=warning][disabled=true i].gov-tag .element,[type=solid][variant=warning][disabled="1"].gov-tag .element{background-color:var(--gov-button-warning-solid-disabled-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][disabled=""][inverse=""].gov-tag .element,[type=solid][variant=warning][disabled=""][inverse=true i].gov-tag .element,[type=solid][variant=warning][disabled=""][inverse="1"].gov-tag .element,[type=solid][variant=warning][disabled=true i][inverse=""].gov-tag .element,[type=solid][variant=warning][disabled=true i][inverse=true i].gov-tag .element,[type=solid][variant=warning][disabled=true i][inverse="1"].gov-tag .element,[type=solid][variant=warning][disabled="1"][inverse=""].gov-tag .element,[type=solid][variant=warning][disabled="1"][inverse=true i].gov-tag .element,[type=solid][variant=warning][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-warning-solid-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-solid-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=solid][variant=warning][hoverable].gov-tag .element:hover{background-color:var(--gov-button-warning-solid-hover-bg, var(--gov-color-warning-600));color:var(--gov-button-warning-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-warning-solid-active-bg, var(--gov-color-warning-700))}}@media not all and (pointer: coarse){[type=solid][variant=warning][hoverable][inverse=""].gov-tag .element:hover,[type=solid][variant=warning][hoverable][inverse=true i].gov-tag .element:hover,[type=solid][variant=warning][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-warning-solid-inverse-hover-bg, var(--gov-color-warning-700));color:var(--gov-button-warning-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][hoverable][inverse=""].gov-tag .element:hover:active,[type=solid][variant=warning][hoverable][inverse=true i].gov-tag .element:hover:active,[type=solid][variant=warning][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-warning-solid-inverse-active-bg, var(--gov-color-warning-800))}}[type=outlined][variant=warning].gov-tag .element{color:var(--gov-button-warning-outlined-color, var(--gov-color-warning-500));border-color:var(--gov-button-warning-outlined-border, var(--gov-color-warning-500))}[type=outlined][variant=warning][inverse=""].gov-tag .element,[type=outlined][variant=warning][inverse=true i].gov-tag .element,[type=outlined][variant=warning][inverse="1"].gov-tag .element{color:var(--gov-button-warning-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-outlined-inverse-bg, transparent);border-color:var(--gov-button-warning-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=warning][inverse=""].gov-tag .element:focus-visible,[type=outlined][variant=warning][inverse=true i].gov-tag .element:focus-visible,[type=outlined][variant=warning][inverse="1"].gov-tag .element:focus-visible{background-color:var(--gov-button-warning-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=warning][disabled=""].gov-tag .element,[type=outlined][variant=warning][disabled=true i].gov-tag .element,[type=outlined][variant=warning][disabled="1"].gov-tag .element{background-color:var(--gov-button-warning-outlined-disabled-bg, transparent);color:var(--gov-button-warning-outlined-disabled-color, var(--gov-color-warning));border-color:var(--gov-button-warning-outlined-disabled-border, var(--gov-color-warning))}[type=outlined][variant=warning][disabled=""][inverse=""].gov-tag .element,[type=outlined][variant=warning][disabled=""][inverse=true i].gov-tag .element,[type=outlined][variant=warning][disabled=""][inverse="1"].gov-tag .element,[type=outlined][variant=warning][disabled=true i][inverse=""].gov-tag .element,[type=outlined][variant=warning][disabled=true i][inverse=true i].gov-tag .element,[type=outlined][variant=warning][disabled=true i][inverse="1"].gov-tag .element,[type=outlined][variant=warning][disabled="1"][inverse=""].gov-tag .element,[type=outlined][variant=warning][disabled="1"][inverse=true i].gov-tag .element,[type=outlined][variant=warning][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-warning-outlined-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-outlined-inverse-disabled-color, var(--gov-color-warning-400));border-color:var(--gov-button-warning-outlined-inverse-disabled-border-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=outlined][variant=warning][hoverable].gov-tag .element:hover{background-color:var(--gov-button-warning-outlined-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-outlined-hover-color, var(--gov-color-warning-500))}[type=outlined][variant=warning][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-warning-outlined-active-bg, var(--gov-color-warning-300))}}@media not all and (pointer: coarse){[type=outlined][variant=warning][hoverable][inverse=""].gov-tag .element:hover,[type=outlined][variant=warning][hoverable][inverse=true i].gov-tag .element:hover,[type=outlined][variant=warning][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-warning-outlined-inverse-hover-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=warning][hoverable][inverse=""].gov-tag .element:hover:active,[type=outlined][variant=warning][hoverable][inverse=true i].gov-tag .element:hover:active,[type=outlined][variant=warning][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-warning-outlined-inverse-active-bg, var(--gov-color-warning-400))}}[type=base][variant=warning].gov-tag .element{color:var(--gov-button-warning-base-color, var(--gov-color-warning-500))}[type=base][variant=warning][inverse=""].gov-tag .element,[type=base][variant=warning][inverse=true i].gov-tag .element,[type=base][variant=warning][inverse="1"].gov-tag .element{color:var(--gov-button-warning-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-base-inverse-bg, transparent)}[type=base][variant=warning][disabled=""].gov-tag .element,[type=base][variant=warning][disabled=true i].gov-tag .element,[type=base][variant=warning][disabled="1"].gov-tag .element{color:var(--gov-button-warning-base-disabled-color, var(--gov-color-warning))}[type=base][variant=warning][disabled=""][inverse=""].gov-tag .element,[type=base][variant=warning][disabled=""][inverse=true i].gov-tag .element,[type=base][variant=warning][disabled=""][inverse="1"].gov-tag .element,[type=base][variant=warning][disabled=true i][inverse=""].gov-tag .element,[type=base][variant=warning][disabled=true i][inverse=true i].gov-tag .element,[type=base][variant=warning][disabled=true i][inverse="1"].gov-tag .element,[type=base][variant=warning][disabled="1"][inverse=""].gov-tag .element,[type=base][variant=warning][disabled="1"][inverse=true i].gov-tag .element,[type=base][variant=warning][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-warning-base-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-base-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=base][variant=warning][hoverable].gov-tag .element:hover{background-color:var(--gov-button-warning-base-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-base-hover-color, var(--gov-color-warning-500))}[type=base][variant=warning][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-warning-base-active-bg, var(--gov-color-warning-300))}}@media not all and (pointer: coarse){[type=base][variant=warning][hoverable][inverse=""].gov-tag .element:hover,[type=base][variant=warning][hoverable][inverse=true i].gov-tag .element:hover,[type=base][variant=warning][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-warning-base-inverse-hover-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=warning][hoverable][inverse=""].gov-tag .element:hover:active,[type=base][variant=warning][hoverable][inverse=true i].gov-tag .element:hover:active,[type=base][variant=warning][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-warning-base-inverse-active-bg, var(--gov-color-warning-400));color:var(--gov-button-warning-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=warning].gov-tag .element{color:var(--gov-button-warning-link-color, var(--gov-color-warning-500))}[type=link][variant=warning][inverse=""].gov-tag .element,[type=link][variant=warning][inverse=true i].gov-tag .element,[type=link][variant=warning][inverse="1"].gov-tag .element{color:var(--gov-button-warning-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-link-inverse-bg, transparent)}[type=link][variant=warning][disabled=""].gov-tag .element,[type=link][variant=warning][disabled=true i].gov-tag .element,[type=link][variant=warning][disabled="1"].gov-tag .element{color:var(--gov-button-warning-link-disabled-color, var(--gov-color-warning))}[type=link][variant=warning][disabled=""][inverse=""].gov-tag .element,[type=link][variant=warning][disabled=""][inverse=true i].gov-tag .element,[type=link][variant=warning][disabled=""][inverse="1"].gov-tag .element,[type=link][variant=warning][disabled=true i][inverse=""].gov-tag .element,[type=link][variant=warning][disabled=true i][inverse=true i].gov-tag .element,[type=link][variant=warning][disabled=true i][inverse="1"].gov-tag .element,[type=link][variant=warning][disabled="1"][inverse=""].gov-tag .element,[type=link][variant=warning][disabled="1"][inverse=true i].gov-tag .element,[type=link][variant=warning][disabled="1"][inverse="1"].gov-tag .element{background-color:var(--gov-button-warning-link-inverse-disabled-bg, transparent);color:var(--gov-button-warning-link-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=link][variant=warning][hoverable].gov-tag .element:hover{background-color:var(--gov-button-warning-link-hover-bg, transparent);color:var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500))}[type=link][variant=warning][hoverable].gov-tag .element:hover:active{background-color:var(--gov-button-warning-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-warning-600))}}@media not all and (pointer: coarse){[type=link][variant=warning][hoverable][inverse=""].gov-tag .element:hover,[type=link][variant=warning][hoverable][inverse=true i].gov-tag .element:hover,[type=link][variant=warning][hoverable][inverse="1"].gov-tag .element:hover{background-color:var(--gov-button-warning-link-inverse-hover-bg, transparent);color:var(--gov-button-warning-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=warning][hoverable][inverse=""].gov-tag .element:hover:active,[type=link][variant=warning][hoverable][inverse=true i].gov-tag .element:hover:active,[type=link][variant=warning][hoverable][inverse="1"].gov-tag .element:hover:active{background-color:var(--gov-button-warning-link-inverse-active-bg, transparent);color:var(--gov-button-warning-link-inverse-active-color, var(--gov-color-neutral-white))}}[size=xs].gov-tag .element{font-weight:var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));font-size:var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));line-height:var(--gov-button-text-xs-line-height, var(--gov-text-xs-line-height));letter-spacing:var(--gov-button-text-xs-letter-spacing, var(--gov-text-xs-letter-spacing));-moz-column-gap:var(--gov-button-xs-padding-x, 0.625rem);column-gap:var(--gov-button-xs-padding-x, 0.625rem);min-height:var(--gov-button-xs-min-height, 1.5rem);padding:var(--gov-button-xs-padding-y, 0.125rem) var(--gov-button-xs-padding-x, 0.625rem)}[size=xs].gov-tag .element .gov-icon{width:var(--gov-button-xs-icon-size, 1rem);height:var(--gov-button-xs-icon-size, 1rem)}[size=s].gov-tag .element{font-weight:var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));font-size:var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));line-height:var(--gov-button-text-xs-line-height, var(--gov-text-xs-line-height));letter-spacing:var(--gov-button-text-xs-letter-spacing, var(--gov-text-xs-letter-spacing));-moz-column-gap:var(--gov-button-s-padding-x, 0.75rem);column-gap:var(--gov-button-s-padding-x, 0.75rem);min-height:var(--gov-button-s-min-height, 2rem);padding:var(--gov-button-s-padding-y, 0.25rem) var(--gov-button-s-padding-x, 0.75rem)}[size=s].gov-tag .element .gov-icon{width:var(--gov-button-s-icon-size, 1rem);height:var(--gov-button-s-icon-size, 1rem)}[size=m].gov-tag .element{font-weight:var(--gov-button-text-s-font-weight, var(--gov-text-s-font-weight));font-size:var(--gov-button-text-s-font-size, var(--gov-text-s-font-size));line-height:var(--gov-button-text-s-line-height, var(--gov-text-s-line-height));letter-spacing:var(--gov-button-text-s-letter-spacing, var(--gov-text-s-letter-spacing));-moz-column-gap:var(--gov-button-m-padding-x, 0.75rem);column-gap:var(--gov-button-m-padding-x, 0.75rem);min-height:var(--gov-button-m-min-height, 2.5rem);padding:var(--gov-button-m-padding-y, 0.375rem) var(--gov-button-m-padding-x, 0.75rem)}[size=m].gov-tag .element .gov-icon{width:var(--gov-button-m-icon-size, 1.25rem);height:var(--gov-button-m-icon-size, 1.25rem)}[size=l].gov-tag .element{font-weight:var(--gov-button-text-m-font-weight, var(--gov-text-m-font-weight));font-size:var(--gov-button-text-m-font-size, var(--gov-text-m-font-size));line-height:var(--gov-button-text-m-line-height, var(--gov-text-m-line-height));letter-spacing:var(--gov-button-text-m-letter-spacing, var(--gov-text-m-letter-spacing));-moz-column-gap:var(--gov-button-l-padding-x, 1rem);column-gap:var(--gov-button-l-padding-x, 1rem);min-height:var(--gov-button-l-min-height, 3rem);padding:var(--gov-button-l-padding-y, 0.5rem) var(--gov-button-l-padding-x, 1rem)}[size=l].gov-tag .element .gov-icon{width:var(--gov-button-l-icon-size, 1.5rem);height:var(--gov-button-l-icon-size, 1.5rem)}[size=xl].gov-tag .element{font-weight:var(--gov-button-text-xl-font-weight, var(--gov-text-xl-font-weight));font-size:var(--gov-button-text-xl-font-size, var(--gov-text-xl-font-size));line-height:var(--gov-button-text-xl-line-height, var(--gov-text-xl-line-height));letter-spacing:var(--gov-button-text-xl-letter-spacing, var(--gov-text-xl-letter-spacing));-moz-column-gap:var(--gov-button-xl-padding-x, 1.25rem);column-gap:var(--gov-button-xl-padding-x, 1.25rem);min-height:var(--gov-button-xl-min-height, 3.5rem);padding:var(--gov-button-xl-padding-y, 0.75rem) var(--gov-button-xl-padding-x, 1.25rem)}[size=xl].gov-tag .element .gov-icon{width:var(--gov-button-xl-icon-size, 1.75rem);height:var(--gov-button-xl-icon-size, 1.75rem)}.gov-tag{display:inline-flex}.gov-tag a .gov-icon{margin:0}.gov-tag .element{padding:0.25rem 0.5rem;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;letter-spacing:initial}.gov-tag .gov-button .element{border:none}.gov-tag[size=xs] .element{border-radius:var(--gov-tag-radius, 0.25rem);-moz-column-gap:var(--gov-tag-gap, 0.5rem);column-gap:var(--gov-tag-gap, 0.5rem)}.gov-tag[size=xs][hoverable] .element:focus{outline:none}.gov-tag[size=xs][hoverable] .element:focus-visible{border-radius:var(--gov-tag-radius, 0.25rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-tag[size=s] .element{border-radius:var(--gov-tag-radius, 0.25rem);-moz-column-gap:var(--gov-tag-gap, 0.5rem);column-gap:var(--gov-tag-gap, 0.5rem)}.gov-tag[size=s][hoverable] .element:focus{outline:none}.gov-tag[size=s][hoverable] .element:focus-visible{border-radius:var(--gov-tag-radius, 0.25rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-tag[size=m] .element{border-radius:var(--gov-tag-radius, 0.25rem);-moz-column-gap:var(--gov-tag-gap, 0.5rem);column-gap:var(--gov-tag-gap, 0.5rem)}.gov-tag[size=m][hoverable] .element:focus{outline:none}.gov-tag[size=m][hoverable] .element:focus-visible{border-radius:var(--gov-tag-radius, 0.25rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-tag[size=l] .element{border-radius:var(--gov-tag-radius, 0.25rem);-moz-column-gap:var(--gov-tag-gap, 0.5rem);column-gap:var(--gov-tag-gap, 0.5rem)}.gov-tag[size=l][hoverable] .element:focus{outline:none}.gov-tag[size=l][hoverable] .element:focus-visible{border-radius:var(--gov-tag-radius, 0.25rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-tag[size=xl] .element{border-radius:var(--gov-tag-radius, 0.25rem);-moz-column-gap:var(--gov-tag-gap, 0.5rem);column-gap:var(--gov-tag-gap, 0.5rem)}.gov-tag[size=xl][hoverable] .element:focus{outline:none}.gov-tag[size=xl][hoverable] .element:focus-visible{border-radius:var(--gov-tag-radius, 0.25rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-tag[type=solid][variant=warning] .element{background-color:var(--gov-button-warning-solid-bg, var(--gov-color-warning-400));color:var(--gov-button-warning-solid-color, var(--gov-color-neutral-black))}.gov-tag[variant=primary][inverse=""] .element,.gov-tag[variant=primary][inverse=""] .element .element,.gov-tag[variant=primary][inverse=true i] .element,.gov-tag[variant=primary][inverse=true i] .element .element,.gov-tag[variant=primary][inverse="1"] .element,.gov-tag[variant=primary][inverse="1"] .element .element{border-width:0.0625rem;border-color:var(--gov-chip-inverse-primary-border-color, var(--gov-color-primary-200));background-color:var(--gov-chip-inverse-primary-bg, var(--gov-color-primary-100));color:var(--gov-chip-inverse-primary-color, var(--gov-color-primary))}@media not all and (pointer: coarse){.gov-tag[variant=primary][inverse=""] .element:hover,.gov-tag[variant=primary][inverse=""] .element .element:hover,.gov-tag[variant=primary][inverse=true i] .element:hover,.gov-tag[variant=primary][inverse=true i] .element .element:hover,.gov-tag[variant=primary][inverse="1"] .element:hover,.gov-tag[variant=primary][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-primary-border-color-hover, var(--gov-color-primary-200))}}.gov-tag[variant=secondary][inverse=""] .element,.gov-tag[variant=secondary][inverse=""] .element .element,.gov-tag[variant=secondary][inverse=true i] .element,.gov-tag[variant=secondary][inverse=true i] .element .element,.gov-tag[variant=secondary][inverse="1"] .element,.gov-tag[variant=secondary][inverse="1"] .element .element{border-width:0.0625rem;border-color:var(--gov-chip-inverse-secondary-border-color, var(--gov-color-secondary-400));background-color:var(--gov-chip-inverse-secondary-bg, var(--gov-color-secondary-200));color:var(--gov-chip-inverse-secondary-color, var(--gov-color-secondary-900))}@media not all and (pointer: coarse){.gov-tag[variant=secondary][inverse=""] .element:hover,.gov-tag[variant=secondary][inverse=""] .element .element:hover,.gov-tag[variant=secondary][inverse=true i] .element:hover,.gov-tag[variant=secondary][inverse=true i] .element .element:hover,.gov-tag[variant=secondary][inverse="1"] .element:hover,.gov-tag[variant=secondary][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-secondary-border-color-hover, var(--gov-color-secondary-400))}}.gov-tag[variant=success][inverse=""] .element,.gov-tag[variant=success][inverse=""] .element .element,.gov-tag[variant=success][inverse=true i] .element,.gov-tag[variant=success][inverse=true i] .element .element,.gov-tag[variant=success][inverse="1"] .element,.gov-tag[variant=success][inverse="1"] .element .element{border-width:0.0625rem;border-color:var(--gov-chip-inverse-success-border-color, var(--gov-color-success-200));background-color:var(--gov-chip-inverse-success-bg, var(--gov-color-success-100));color:var(--gov-chip-inverse-success-color, var(--gov-color-success-600))}@media not all and (pointer: coarse){.gov-tag[variant=success][inverse=""] .element:hover,.gov-tag[variant=success][inverse=""] .element .element:hover,.gov-tag[variant=success][inverse=true i] .element:hover,.gov-tag[variant=success][inverse=true i] .element .element:hover,.gov-tag[variant=success][inverse="1"] .element:hover,.gov-tag[variant=success][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-success-border-color-hover, var(--gov-color-success-200))}}.gov-tag[variant=warning][inverse=""] .element,.gov-tag[variant=warning][inverse=""] .element .element,.gov-tag[variant=warning][inverse=true i] .element,.gov-tag[variant=warning][inverse=true i] .element .element,.gov-tag[variant=warning][inverse="1"] .element,.gov-tag[variant=warning][inverse="1"] .element .element{border-width:0.0625rem;border-color:var(--gov-chip-inverse-warning-border-color, var(--gov-color-warning-200));background-color:var(--gov-chip-inverse-warning-bg, var(--gov-color-warning-100));color:var(--gov-chip-inverse-warning-color, var(--gov-color-warning-600))}@media not all and (pointer: coarse){.gov-tag[variant=warning][inverse=""] .element:hover,.gov-tag[variant=warning][inverse=""] .element .element:hover,.gov-tag[variant=warning][inverse=true i] .element:hover,.gov-tag[variant=warning][inverse=true i] .element .element:hover,.gov-tag[variant=warning][inverse="1"] .element:hover,.gov-tag[variant=warning][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-warning-border-color-hover, var(--gov-color-warning-200))}}.gov-tag[variant=error][inverse=""] .element,.gov-tag[variant=error][inverse=""] .element .element,.gov-tag[variant=error][inverse=true i] .element,.gov-tag[variant=error][inverse=true i] .element .element,.gov-tag[variant=error][inverse="1"] .element,.gov-tag[variant=error][inverse="1"] .element .element{border-width:0.0625rem;border-color:var(--gov-chip-inverse-error-border-color, var(--gov-color-error-200));background-color:var(--gov-chip-inverse-error-bg, var(--gov-color-error-100));color:var(--gov-chip-inverse-error-color, var(--gov-color-error-500))}@media not all and (pointer: coarse){.gov-tag[variant=error][inverse=""] .element:hover,.gov-tag[variant=error][inverse=""] .element .element:hover,.gov-tag[variant=error][inverse=true i] .element:hover,.gov-tag[variant=error][inverse=true i] .element .element:hover,.gov-tag[variant=error][inverse="1"] .element:hover,.gov-tag[variant=error][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-error-border-color-hover, var(--gov-color-error-200))}}';const d=e(class e extends r{constructor(){super();this.__registerHost();this.inverse=false;this.iconLeft=undefined;this.iconRight=undefined;this.size=v._S;this.variant=i.PRIMARY;this.h=t(this.host)}validateVariant(e){n(i,e,g.root)}validateSize(e){n(v,e,g.root)}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size)}render(){const e=l(this.iconLeft);const r=l(this.iconRight);return o(a,{class:this.h.classes(g.root),variant:this.variant,type:this.inverse?undefined:"solid",size:this.size,inverse:this.inverse},o("span",{class:"element"},this.h.hasSlot("left-icon")&&o("slot",{name:"left-icon"}),e&&o("gov-icon",{type:e.type,name:e.name}),o("slot",null),r&&o("gov-icon",{type:r.type,name:r.name}),this.h.hasSlot("right-icon")&&o("slot",{name:"right-icon"})))}get host(){return this}static get watchers(){return{variant:["validateVariant"],size:["validateSize"]}}static get style(){return c}},[4,"gov-tag",{inverse:[4],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],size:[513],variant:[513]}]);function b(){if(typeof customElements==="undefined"){return}const e=["gov-tag","gov-icon"];e.forEach((e=>{switch(e){case"gov-tag":if(!customElements.get(e)){customElements.define(e,d)}break;case"gov-icon":if(!customElements.get(e)){s()}break}}))}b();const u=d;const m=b;export{u as GovTag,m as defineCustomElement};
2
+ //# sourceMappingURL=gov-tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TagClass","root","govTagCss","GovTag","proxyCustomElement","H","constructor","ButtonSizes","_S","ButtonVariants","PRIMARY","this","h","govHost","host","validateVariant","newValue","validateProp","validateSize","componentWillLoad","variant","size","render","iconLeft","prepareIconFormat","iconRight","Host","class","classes","type","inverse","undefined","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.scss?tag=gov-tag","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["export const TagClass = {\n\troot: 'gov-tag',\n}\n","/*\n * Tag\n */\n\n// Shared definitions - button & chip & tag\n@import \"../gov-button/button/gov-button-core\";\n\n.gov-tag {\n\t@extend %button-core;\n\tdisplay: inline-flex;\n\ta .gov-icon {\n\t\tmargin: 0;\n\t}\n\t.element {\n\t\tpadding: rem-calc(4 8);\n\t\tfont-family: $font-family-primary;\n\t\tfont-weight: 400;\n\t\tletter-spacing: initial;\n\t}\n\t.gov-button {\n\t\t.element {\n\t\t\tborder: none;\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $button-sizes {\n\t\t&[size=\"#{$size}\"] {\n\t\t\t.element {\n\t\t\t\tborder-radius: $tag-radius;\n\t\t\t\tcolumn-gap: $tag-gap;\n\t\t\t}\n\n\t\t\t// HOVERS\n\t\t\t&[hoverable] .element {\n\t\t\t\t@include focus-outline($tag-radius, $outline-offset);\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $types in $tag-variants {\n\t\t@each $type, $definitions in $types {\n\t\t\t&[type=\"#{$type}\"][variant=\"#{$variant}\"] {\n\t\t\t\t.element {\n\t\t\t\t\tbackground-color: deep-map-get($tag-variants, $variant, $type, \"bg\");\n\t\t\t\t\tcolor: deep-map-get($tag-variants, $variant, $type, \"color\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t@each $variant, $types in $chip-inverse-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\t.element,\n\t\t\t\t.element .element {\n\t\t\t\t\tborder-width: rem-calc(1);\n\t\t\t\t\tborder-color: deep-map-get($chip-inverse-variants, $variant, \"border-color\");\n\t\t\t\t\tbackground-color: deep-map-get($chip-inverse-variants, $variant, \"bg\");\n\t\t\t\t\tcolor: deep-map-get($chip-inverse-variants, $variant, \"color\");\n\t\t\t\t\t@include hover() {\n\t\t\t\t\t\tborder-color: deep-map-get($chip-inverse-variants, $variant, \"border-color-hover\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","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, ButtonSizesType, ButtonVariants, ButtonVariantType} from '../gov-button/button/constants'\nimport {TagClass} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n\tstyleUrl: 'gov-tag.scss',\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 * Determine if component should have inverse colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * 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-left\"}) readonly iconLeft?: 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-right\"}) readonly iconRight?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: ButtonSizesType = ButtonSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly variant: ButtonVariantType = ButtonVariants.PRIMARY\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, 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.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\ttype={this.inverse ? undefined : 'solid'}\n\t\t\t\t\t\tsize={this.size} inverse={this.inverse}>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot('left-icon') && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t{iconLeft && \t<gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{iconRight && \t<gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot('right-icon') && <slot name=\"right-icon\"></slot>}\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"oPAAO,MAAMA,EAAW,CACvBC,KAAM,WCDP,MAAMC,EAAY,813E,MCYLC,EAAMC,EAAA,MAAAD,UAAAE,EAGlB,WAAAC,G,2CASoC,M,2DAYoBC,EAAYC,G,aAIPC,EAAeC,QAxB3EC,KAAKC,EAAIC,EAAQF,KAAKG,K,CA2BvB,eAAAC,CAAgBC,GACfC,EAAaR,EAAgBO,EAAUhB,EAASC,K,CAIjD,YAAAiB,CAAaF,GACZC,EAAaV,EAAaS,EAAUhB,EAASC,K,CAG9C,iBAAAkB,GACCR,KAAKI,gBAAgBJ,KAAKS,SAC1BT,KAAKO,aAAaP,KAAKU,K,CAGxB,MAAAC,GACC,MAAMC,EAAWC,EAAkBb,KAAKY,UACxC,MAAME,EAAYD,EAAkBb,KAAKc,WACzC,OACCb,EAACc,EAAI,CAACC,MAAOhB,KAAKC,EAAEgB,QAAQ5B,EAASC,MAClCmB,QAAST,KAAKS,QACdS,KAAMlB,KAAKmB,QAAUC,UAAY,QACjCV,KAAMV,KAAKU,KAAMS,QAASnB,KAAKmB,SACjClB,EAAA,QAAMe,MAAM,WACVhB,KAAKC,EAAEoB,QAAQ,cAAgBpB,EAAA,QAAMqB,KAAK,cAC1CV,GAAaX,EAAA,YAAUiB,KAAMN,EAASM,KAAMI,KAAMV,EAASU,OAC5DrB,EAAA,aACCa,GAAcb,EAAA,YAAUiB,KAAMJ,EAAUI,KAAMI,KAAMR,EAAUQ,OAC9DtB,KAAKC,EAAEoB,QAAQ,eAAiBpB,EAAA,QAAMqB,KAAK,gB"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTile extends Components.GovTile, HTMLElement {}
4
+ export const GovTile: {
5
+ prototype: GovTile;
6
+ new (): GovTile;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,h as o,d as i}from"./p-2dee9951.js";import{g as n}from"./p-28e59384.js";import{d as r}from"./p-6f391c4a.js";const l={root:"gov-tile",icon:"gov-tile__icon",arrow:"gov-tile__arrow",title:"gov-tile__title",link:"gov-tile__link",content:"gov-tile__content",heading:"gov-tile__heading"};const s='.gov-tile__title::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tile{position:relative;display:block;width:100%;padding:0.75rem;transition:background-color 150ms}.gov-tile__icon{display:block;margin:0rem 0rem 1.5rem;color:var(--gov-tile-main-color, var(--gov-color-primary))}.gov-tile__icon .gov-icon{width:2.5rem;height:2.5rem}.gov-tile__title{display:flex;gap:0.5rem;justify-content:space-between;align-items:flex-start;color:var(--gov-tile-main-color, var(--gov-color-primary));text-decoration:none;margin-bottom:0.5rem}.gov-tile__title [slot=title]{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin:0}.gov-tile__arrow{flex:0 0 auto;width:1.25rem;height:1.25rem;position:relative;top:0.3125rem;color:inherit}.gov-tile__content{color:var(--gov-tile-text-color, var(--gov-color-secondary-700))}.gov-tile__content>*:last-child{margin-bottom:0}.gov-tile__content a{position:relative;z-index:1}.gov-tile__link{display:block;text-decoration:none}@media not all and (pointer: coarse){.gov-tile[href]:hover{background:var(--gov-tile-hover-bg, var(--gov-color-primary-200))}.gov-tile[href]:hover .gov-tile__title{color:var(--gov-tile-main-color, var(--gov-color-primary))}}@media (min-width: 48em){.gov-tile{padding:1.5rem}.gov-tile__icon{margin:0rem 0rem 1.5rem}.gov-tile__icon .gov-icon{width:3rem;height:3rem}}';const a=t(class t extends e{constructor(){super();this.__registerHost();this.href=undefined;this.target=undefined;this.h=n(this.host)}render(){return o(i,{class:this.h.classes(l.root)},this.href?o("a",{href:this.href,target:this.target,class:l.link,ref:t=>this.triggerRef=t},this.h.hasSlot("icon")&&o("span",{class:l.icon},o("slot",{name:"icon"})),this.h.hasSlot("title")&&o("span",{class:l.title},o("slot",{name:"title"}),o("gov-icon",{class:l.arrow,name:"chevron-right"})),o("div",{class:l.content},o("slot",null))):o("span",null,this.h.hasSlot("icon")&&o("span",{class:l.icon},o("slot",{name:"icon"})),this.h.hasSlot("title")&&o("span",{class:l.title},o("slot",{name:"title"})),o("div",{class:l.content},o("slot",null))))}async getTriggerRef(){return this.triggerRef}get host(){return this}static get style(){return s}},[4,"gov-tile",{href:[513],target:[1],getTriggerRef:[64]}]);function c(){if(typeof customElements==="undefined"){return}const t=["gov-tile","gov-icon"];t.forEach((t=>{switch(t){case"gov-tile":if(!customElements.get(t)){customElements.define(t,a)}break;case"gov-icon":if(!customElements.get(t)){r()}break}}))}c();const g=a;const v=c;export{g as GovTile,v as defineCustomElement};
2
+ //# sourceMappingURL=gov-tile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TileClass","root","icon","arrow","title","link","content","heading","govTileCss","GovTile","proxyCustomElement","H","constructor","this","h","govHost","host","render","Host","class","classes","href","target","ref","el","triggerRef","hasSlot","name","getTriggerRef"],"sources":["../../../packages/core/src/components/gov-tile/constants.ts","../../../packages/core/src/components/gov-tile/gov-tile.scss?tag=gov-tile","../../../packages/core/src/components/gov-tile/gov-tile.tsx"],"sourcesContent":["export const TileClass = {\n\troot: 'gov-tile',\n\ticon: 'gov-tile__icon',\n\tarrow: 'gov-tile__arrow',\n\ttitle: 'gov-tile__title',\n\tlink: 'gov-tile__link',\n\tcontent: 'gov-tile__content',\n\theading: 'gov-tile__heading',\n}\n","/*\n * Tile\n */\n\n$class: \".gov-tile\";\n\n#{$class} {\n\t@include base();\n\tpadding: rem-calc(12);\n\ttransition: background-color $t;\n\t&__icon {\n\t\tdisplay: block;\n\t\tmargin: rem-calc(0 0 24);\n\t\tcolor: $tile-main-color;\n\t\t.gov-icon {\n\t\t\twidth: rem-calc(40);\n\t\t\theight: rem-calc(40);\n\t\t}\n\t}\n\t&__title {\n\t\t@extend %link-mask;\n\t\tdisplay: flex;\n\t\tgap: rem-calc(8);\n\t\tjustify-content: space-between;\n\t\talign-items: flex-start;\n\t\tcolor: $tile-main-color;\n\t\ttext-decoration: none;\n\t\tmargin-bottom: rem-calc(8);\n\t\t& [slot=\"title\"] {\n\t\t\t@include typography($font-size-xl);\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\t&__arrow {\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(20);\n\t\theight: rem-calc(20);\n\t\tposition: relative;\n\t\ttop: rem-calc(5);\n\t\tcolor: inherit;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t\tcolor: $tile-text-color;\n\t\ta {\n\t\t\tposition: relative;\n\t\t\tz-index: 1;\n\t\t}\n\t}\n\t&__link {\n\t\tdisplay: block;\n\t\ttext-decoration: none;\n\t}\n\n\t// HOVERS\n\t&[href] {\n\t\t@include hover() {\n\t\t\tbackground: $tile-hover-bg;\n\t\t\t#{$class} {\n\t\t\t\t&__title {\n\t\t\t\t\tcolor: $tile-main-color;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: md) {\n\t\tpadding: rem-calc(24);\n\t\t&__icon {\n\t\t\tmargin: rem-calc(0 0 24);\n\t\t\t.gov-icon {\n\t\t\t\twidth: rem-calc(48);\n\t\t\t\theight: rem-calc(48);\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop } from \"@stencil/core\"\nimport { TileClass } from \"./constants\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { ButtonTargetType } from \"../gov-button/button/constants\"\n\n@Component({\n\ttag: \"gov-tile\",\n\tstyleUrl: \"gov-tile.scss\",\n})\nexport class GovTile {\n\tprivate triggerRef?: HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTileElement\n\t/**\n\t * Link on whole tile\n\t */\n\t@Prop({reflect: true}) readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TileClass.root)}>\n\t\t\t\t{this.href ? (\n\t\t\t\t\t<a\n\t\t\t\t\t\thref={this.href}\n\t\t\t\t\t\ttarget={this.target}\n\t\t\t\t\t\tclass={TileClass.link}\n\t\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLSpanElement)}>\n\t\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t\t<span class={TileClass.icon}>\n\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{this.h.hasSlot(\"title\") && (\n\t\t\t\t\t\t\t<span class={TileClass.title}>\n\t\t\t\t\t\t\t\t<slot name=\"title\" />\n\t\t\t\t\t\t\t\t<gov-icon class={TileClass.arrow} name=\"chevron-right\"></gov-icon>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<div class={TileClass.content}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</a>\n\t\t\t\t) : (\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t\t<span class={TileClass.icon}>\n\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{this.h.hasSlot(\"title\") && (\n\t\t\t\t\t\t\t<span class={TileClass.title}>\n\t\t\t\t\t\t\t\t<slot name=\"title\" />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<div class={TileClass.content}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n}\n"],"mappings":"iIAAO,MAAMA,EAAY,CACxBC,KAAM,WACNC,KAAM,iBACNC,MAAO,kBACPC,MAAO,kBACPC,KAAM,iBACNC,QAAS,oBACTC,QAAS,qBCPV,MAAMC,EAAa,0xD,MCUNC,EAAOC,EAAA,MAAAD,UAAAE,EAInB,WAAAC,G,wEACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAcvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAACC,MAAON,KAAKC,EAAEM,QAAQpB,EAAUC,OACpCY,KAAKQ,KACLP,EAAA,KACCO,KAAMR,KAAKQ,KACXC,OAAQT,KAAKS,OACbH,MAAOnB,EAAUK,KACjBkB,IAAKC,GAAOX,KAAKY,WAAaD,GAC7BX,KAAKC,EAAEY,QAAQ,SACfZ,EAAA,QAAMK,MAAOnB,EAAUE,MACtBY,EAAA,QAAMa,KAAK,UAGZd,KAAKC,EAAEY,QAAQ,UACfZ,EAAA,QAAMK,MAAOnB,EAAUI,OACtBU,EAAA,QAAMa,KAAK,UACXb,EAAA,YAAUK,MAAOnB,EAAUG,MAAOwB,KAAK,mBAGzCb,EAAA,OAAKK,MAAOnB,EAAUM,SACrBQ,EAAA,eAIFA,EAAA,YACED,KAAKC,EAAEY,QAAQ,SACfZ,EAAA,QAAMK,MAAOnB,EAAUE,MACtBY,EAAA,QAAMa,KAAK,UAGZd,KAAKC,EAAEY,QAAQ,UACfZ,EAAA,QAAMK,MAAOnB,EAAUI,OACtBU,EAAA,QAAMa,KAAK,WAGbb,EAAA,OAAKK,MAAOnB,EAAUM,SACrBQ,EAAA,e,CAYN,mBAAMc,GACL,OAAOf,KAAKY,U"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTiles extends Components.GovTiles, HTMLElement {}
4
+ export const GovTiles: {
5
+ prototype: GovTiles;
6
+ new (): GovTiles;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as e,H as t,h as i,d as r}from"./p-2dee9951.js";import{g as o,p as s}from"./p-28e59384.js";const d={root:"gov-tiles"};const n=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tiles{overflow:hidden}.gov-tiles>*{margin:0 -0.0625rem -0.0625rem 0;border:0.0625rem solid var(--gov-tiles-border-color, var(--gov-color-secondary-500));border-width:0 0 0.0625rem}.gov-tiles>*:last-child{border-bottom-width:0}.gov-tiles[no-border]>*{border:none}@media (min-width: 48em){.gov-tiles{display:grid}.gov-tiles--x2{grid-template-columns:repeat(2, 1fr)}.gov-tiles--x2>*{border-width:0.0625rem 0.0625rem 0.0625rem 0}.gov-tiles--x2>*:nth-child(-n+3){border-top-width:0}.gov-tiles--x2>*:nth-child(2n+2){border-right-width:0}}@media (min-width: 48em) and (max-width: 63.99em){.gov-tiles--x3,.gov-tiles--x4{grid-template-columns:repeat(2, 1fr)}.gov-tiles--x3>*,.gov-tiles--x4>*{border-width:0.0625rem 0.0625rem 0.0625rem 0}.gov-tiles--x3>*:nth-child(-n+3),.gov-tiles--x4>*:nth-child(-n+3){border-top-width:0}.gov-tiles--x3>*:nth-child(2n+2),.gov-tiles--x4>*:nth-child(2n+2){border-right-width:0}}@media (min-width: 64em){.gov-tiles--x3{grid-template-columns:repeat(3, 1fr)}.gov-tiles--x3>*{border-width:0.0625rem 0.0625rem 0.0625rem 0}.gov-tiles--x3>*:nth-child(-n+4){border-top-width:0}.gov-tiles--x3>*:nth-child(3n+3){border-right-width:0}}@media (min-width: 64em) and (max-width: 74.99em){.gov-tiles--x4{grid-template-columns:repeat(3, 1fr)}.gov-tiles--x4>*{border-width:0.0625rem 0.0625rem 0.0625rem 0}.gov-tiles--x4>*:nth-child(-n+4){border-top-width:0}.gov-tiles--x4>*:nth-child(3n+3){border-right-width:0}}@media (min-width: 75em){.gov-tiles--x4{grid-template-columns:repeat(4, 1fr)}.gov-tiles--x4>*{border-width:0.0625rem 0.0625rem 0.0625rem 0}.gov-tiles--x4>*:nth-child(-n+5){border-top-width:0}.gov-tiles--x4>*:nth-child(4n+4){border-right-width:0}}";const l=e(class e extends t{constructor(){super();this.__registerHost();this.columns=3;this.noBorder=false;this.h=o(this.host)}get classNames(){return s([d.root,this.columns&&d.root+"--x"+this.columns])}render(){return i(r,{class:this.h.classes(this.classNames)},i("slot",null))}get host(){return this}static get style(){return n}},[4,"gov-tiles",{columns:[2],noBorder:[4,"no-border"]}]);function m(){if(typeof customElements==="undefined"){return}const e=["gov-tiles"];e.forEach((e=>{switch(e){case"gov-tiles":if(!customElements.get(e)){customElements.define(e,l)}break}}))}m();const h=l;const a=m;export{h as GovTiles,a as defineCustomElement};
2
+ //# sourceMappingURL=gov-tiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TilesClass","root","govTilesCss","GovTiles","proxyCustomElement","H","constructor","this","h","govHost","host","classNames","prepareClasses","columns","render","Host","class","classes"],"sources":["../../../packages/core/src/components/gov-tile/container/constants.ts","../../../packages/core/src/components/gov-tile/container/gov-tiles.scss?tag=gov-tiles","../../../packages/core/src/components/gov-tile/container/gov-tiles.tsx"],"sourcesContent":["export const TilesClass = {\n\troot: 'gov-tiles',\n}\n","/*\n * Tiles\n */\n\n$class: \".gov-tiles\";\n$line-width: rem-calc(1);\n\n@mixin grid-lines($i) {\n\tgrid-template-columns: repeat(#{$i}, 1fr);\n\t& > * {\n\t\tborder-width: $line-width $line-width $line-width 0;\n\t\t&:nth-child(-n + #{$i + 1}) {\n\t\t\tborder-top-width: 0;\n\t\t}\n\t\t&:nth-child(#{$i}n + #{$i}) {\n\t\t\tborder-right-width: 0;\n\t\t}\n\t}\n}\n\n#{$class} {\n\toverflow: hidden;\n\t& > * {\n\t\tmargin: 0 calc($line-width * -1) calc($line-width * -1) 0;\n\t\tborder: $line-width solid $tiles-border-color;\n\t\tborder-width: 0 0 $line-width;\n\t\t&:last-child {\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\t}\n\t&[no-border] {\n\t\t& > * {\n\t\t\tborder: none;\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@include mq($from: md) {\n\t\tdisplay: grid;\n\t\t&--x2 {\n\t\t\t@include grid-lines(2);\n\t\t}\n\t\t@include mq($until: lg) {\n\t\t\t&--x3,\n\t\t\t&--x4 {\n\t\t\t\t@include grid-lines(2);\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: lg) {\n\t\t&--x3 {\n\t\t\t@include grid-lines(3);\n\t\t}\n\t\t@include mq($until: xl) {\n\t\t\t&--x4 {\n\t\t\t\t@include grid-lines(3);\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: xl) {\n\t\t&--x4 {\n\t\t\t@include grid-lines(4);\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { TilesClass } from './constants'\nimport { prepareClasses } from '../../../helpers/Dom/template'\nimport { govHost } from '../../../helpers/Dom/template'\nimport { GovHost } from '../../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-tiles',\n\tstyleUrl: 'gov-tiles.scss',\n})\nexport class GovTiles {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t/**\n\t * Number of columns between 1-4\n\t */\n\t@Prop() readonly columns: number = 3\n\t/**\n\t * Tiles border\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\n\t@Element() host: HTMLGovTilesElement\n\n\tget classNames(): string {\n\t\treturn prepareClasses([TilesClass.root, this.columns && TilesClass.root + '--x' + this.columns])\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(this.classNames)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"oGAAO,MAAMA,EAAa,CACzBC,KAAM,aCDP,MAAMC,EAAc,89D,MCUPC,EAAQC,EAAA,MAAAD,UAAAE,EAGpB,WAAAC,G,2CAMmC,E,cAI4B,MAT9DC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,cAAIC,GACH,OAAOC,EAAe,CAACZ,EAAWC,KAAMM,KAAKM,SAAWb,EAAWC,KAAO,MAAQM,KAAKM,S,CAGxF,MAAAC,GACC,OACCN,EAACO,EAAI,CAACC,MAAOT,KAAKC,EAAES,QAAQV,KAAKI,aAChCH,EAAA,a"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovToast extends Components.GovToast, HTMLElement {}
4
+ export const GovToast: {
5
+ prototype: GovToast;
6
+ new (): GovToast;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as o,H as t,c as r,h as a,d as s}from"./p-2dee9951.js";import{v as i}from"./p-dcb5fb35.js";import{V as e,T as n}from"./p-ff7365ae.js";import{p as c}from"./p-03990da5.js";import{g as v}from"./p-28e59384.js";import{c as g}from"./p-24636c53.js";import{d as l}from"./p-a3d5a7e3.js";import{d}from"./p-6f391c4a.js";const m=c(e,["SUCCESS","WARNING","ERROR","SECONDARY","PRIMARY"]);c(n,["CLASSIC","SOLID"]);const p={root:"gov-toast",hidden:"gov-toast--hidden",icon:"gov-toast__icon",content:"gov-toast__content",close:"gov-toast__close",timer:"gov-toast__timer"};const h=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-toast{position:relative;display:flex;gap:1rem;flex-direction:column;padding:0.75rem 1rem;border-left:0.25rem solid transparent;background:var(--gov-toast-message-bg, var(--gov-color-neutral-white));z-index:301;position:relative;position:fixed;max-width:23.4375rem;padding-right:3.125rem;opacity:1;transition:opacity 300ms ease-in-out}.gov-toast__icon{flex:0 0 1.25rem;width:1.25rem;height:1.25rem}.gov-toast__content{flex:1 1 auto}.gov-toast__content>*:last-child{margin-bottom:0}.gov-toast__content p{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}@media (min-width: 30em){.gov-toast{flex-direction:row}}.gov-toast__content{padding-right:0}.gov-toast__close{position:absolute;top:0.5rem;right:0.75rem}.gov-toast__timer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.gov-toast--hidden{opacity:0}.gov-toast[gravity=top i]{top:1rem}.gov-toast[gravity=bottom i]{bottom:1rem}.gov-toast[position=left i]{left:1rem}.gov-toast[position=center i]{left:50%;transform:translateX(-50%)}.gov-toast[position=right i]{right:1rem}.gov-toast[type=solid i]{border:none;border-radius:0.25rem;overflow:hidden;box-shadow:none}.gov-toast[type=solid i].is-initialized .gov-toast__timer{transform-origin:right;animation:countdown linear forwards var(--toast-duration, 0)}.gov-toast[variant=warning]{border-left-color:var(--gov-toast-warning-codecor-lor, var(--gov-color-warning))}.gov-toast[variant=warning] .gov-toast__icon{color:var(--gov-toast-warning-codecor-lor, var(--gov-color-warning))}.gov-toast[variant=warning][type=solid i]{background-color:var(--gov-toast-warning-background, var(--gov-color-warning));color:var(--gov-toast-warning-color, var(--gov-color-secondary))}.gov-toast[variant=warning][type=solid i] .gov-toast__icon{color:var(--gov-toast-warning-color, var(--gov-color-secondary))}.gov-toast[variant=warning][type=solid i] .gov-toast__timer{background-color:var(--gov-toast-warning-timer-background, rgba(var(--gov-color-warning-500-rgb), 0.3))}.gov-toast[variant=error]{border-left-color:var(--gov-toast-error-colodecor-r, var(--gov-color-error))}.gov-toast[variant=error] .gov-toast__icon{color:var(--gov-toast-error-colodecor-r, var(--gov-color-error))}.gov-toast[variant=error][type=solid i]{background-color:var(--gov-toast-error-background, var(--gov-color-error));color:var(--gov-toast-error-color, var(--gov-color-neutral-white))}.gov-toast[variant=error][type=solid i] .gov-toast__icon{color:var(--gov-toast-error-color, var(--gov-color-neutral-white))}.gov-toast[variant=error][type=solid i] .gov-toast__timer{background-color:var(--gov-toast-error-timer-background, rgba(var(--gov-color-error-500-rgb), 0.5))}.gov-toast[variant=success]{border-left-color:var(--gov-toast-success-codecor-lor, var(--gov-color-success))}.gov-toast[variant=success] .gov-toast__icon{color:var(--gov-toast-success-codecor-lor, var(--gov-color-success))}.gov-toast[variant=success][type=solid i]{background-color:var(--gov-toast-success-background, var(--gov-color-success-500));color:var(--gov-toast-success-color, var(--gov-color-neutral-white))}.gov-toast[variant=success][type=solid i] .gov-toast__icon{color:var(--gov-toast-success-color, var(--gov-color-neutral-white))}.gov-toast[variant=success][type=solid i] .gov-toast__timer{background-color:var(--gov-toast-success-timer-background, rgba(var(--gov-color-success-600-rgb), 0.5))}.gov-toast[variant=primary]{border-left-color:var(--gov-toast-primary-codecor-lor, var(--gov-color-primary))}.gov-toast[variant=primary] .gov-toast__icon{color:var(--gov-toast-primary-codecor-lor, var(--gov-color-primary))}.gov-toast[variant=primary][type=solid i]{background-color:var(--gov-toast-primary-background, var(--gov-color-primary));color:var(--gov-toast-primary-color, var(--gov-color-neutral-white))}.gov-toast[variant=primary][type=solid i] .gov-toast__icon{color:var(--gov-toast-primary-color, var(--gov-color-neutral-white))}.gov-toast[variant=primary][type=solid i] .gov-toast__timer{background-color:var(--gov-toast-primary-timer-background, rgba(var(--gov-color-primary-700-rgb), 0.5))}.gov-toast[variant=secondary]{border-left-color:var(--gov-toast-secondary-decor-color, var(--gov-color-secondary))}.gov-toast[variant=secondary] .gov-toast__icon{color:var(--gov-toast-secondary-decor-color, var(--gov-color-secondary))}.gov-toast[variant=secondary][type=solid i]{background-color:var(--gov-toast-secondary-background, var(--gov-color-secondary));color:var(--gov-toast-secondary-color, var(--gov-color-neutral-white))}.gov-toast[variant=secondary][type=solid i] .gov-toast__icon{color:var(--gov-toast-secondary-color, var(--gov-color-neutral-white))}.gov-toast[variant=secondary][type=solid i] .gov-toast__timer{background-color:var(--gov-toast-secondary-timer-background, rgba(var(--gov-color-secondary-900-rgb), 0.5))}@media (min-width: 30em){.gov-toast__content{padding-right:2rem}}";const u=o(class o extends t{constructor(){super();this.__registerHost();this.govClose=r(this,"gov-close",7);this.variant="primary";this.gravity="top";this.position="right";this.type="classic";this.time=0;this.closeLabel=undefined;this.wcagCloseLabel=undefined;this.h=v(this.host);this.toastId=g("GovToast")}validateVariant(o){i(m,o,p.root)}componentWillLoad(){this.validateVariant(this.variant);this.runTimer()}disconnectedCallback(){clearTimeout(this.timeout)}runTimer(){if(this.isSolid){this.host.classList.add("is-initialized")}if(this.isTimer){this.timeout=setTimeout((()=>{this.host.classList.add(p.hidden);setTimeout((()=>{this.destroy().catch();this.govClose.emit(this.toastId)}),600)}),this.time)}}render(){return a(s,{class:this.h.classes([p.root,"gov-box-shadow--m"]),"data-toast-id":this.toastId,gravity:this.gravity,position:this.position,variant:this.variant,type:this.type,style:{"--toast-duration":this.time+"ms"}},this.h.hasSlot("icon")&&a("span",{class:p.icon},a("slot",{name:"icon"})),a("div",{class:p.content,"aria-live":"polite",role:"status"},a("slot",null)),a("div",{class:p.close},a("gov-button",{size:"s","wcag-label":this.wcagCloseLabel,variant:this.isSolid?this.variant:"secondary",inverse:this.isSolid,type:"base","on-gov-click":this.onCloseHandler.bind(this)},this.closeLabel?this.closeLabel:a("gov-icon",{name:"x-lg"}))),a("div",{class:p.timer}))}onCloseHandler(){this.destroy().then((()=>this.govClose.emit(this.toastId))).catch()}get isSolid(){return this.type==="solid"}get isTimer(){return Number.isInteger(this.time)&&this.time>0}async destroy(){clearTimeout(this.timeout);const o=document.querySelector(`[data-toast-id="${this.toastId}"]`);if(o){o.classList.add(p.hidden);if(typeof o.remove==="function"){o.remove()}}}get host(){return this}static get watchers(){return{variant:["validateVariant"]}}static get style(){return h}},[4,"gov-toast",{variant:[1],gravity:[1],position:[1],type:[1],time:[2],closeLabel:[1,"close-label"],wcagCloseLabel:[1,"wcag-close-label"],destroy:[64]}]);function y(){if(typeof customElements==="undefined"){return}const o=["gov-toast","gov-button","gov-icon"];o.forEach((o=>{switch(o){case"gov-toast":if(!customElements.get(o)){customElements.define(o,u)}break;case"gov-button":if(!customElements.get(o)){l()}break;case"gov-icon":if(!customElements.get(o)){d()}break}}))}y();const b=u;const f=y;export{b as GovToast,f as defineCustomElement};
2
+ //# sourceMappingURL=gov-toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToastVariants","pick","Variants","Types","ToastClass","root","hidden","icon","content","close","timer","govToastCss","GovToast","proxyCustomElement","H","constructor","this","h","govHost","host","toastId","createID","validateVariant","newValue","validateProp","componentWillLoad","variant","runTimer","disconnectedCallback","clearTimeout","timeout","isSolid","classList","add","isTimer","setTimeout","destroy","catch","govClose","emit","time","render","Host","class","classes","gravity","position","type","style","hasSlot","name","role","size","wcagCloseLabel","inverse","onCloseHandler","bind","closeLabel","then","Number","isInteger","toast","document","querySelector","remove"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.scss?tag=gov-toast","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Variants, Types } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastVariants = pick(Variants, ['SUCCESS', 'WARNING', 'ERROR', 'SECONDARY', 'PRIMARY'])\nexport type ToastVariantType = `${ValueOf<typeof ToastVariants>}`\n\nexport const ToastTypes = pick(Types, ['CLASSIC', 'SOLID'])\nexport type ToastTypesType = `${ValueOf<typeof ToastTypes>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\ticon: 'gov-toast__icon',\n\tcontent: 'gov-toast__content',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","/*\n * Alert\n */\n\n@import \"./gov-toast-message-core.scss\";\n$class: \".gov-toast\";\n\n#{$class} {\n\t@include toast-message-core;\n\t@include z-index(\"toast\", 1);\n\tposition: relative;\n\tposition: fixed;\n\tmax-width: rem-calc(375);\n\tpadding-right: rem-calc(50);\n\topacity: 1;\n\ttransition: opacity 300ms ease-in-out;\n\t&__content {\n\t\tpadding-right: 0;\n\t}\n\t&__close {\n\t\tposition: absolute;\n\t\ttop: rem-calc(8);\n\t\tright: rem-calc(12);\n\t}\n\t&__timer {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tz-index: -1;\n\t}\n\n\t// VARIANTS\n\t&--hidden {\n\t\topacity: 0;\n\t}\n\t&[gravity=\"top\" i] {\n\t\ttop: rem-calc(16);\n\t}\n\t&[gravity=\"bottom\" i] {\n\t\tbottom: rem-calc(16);\n\t}\n\t&[position=\"left\" i] {\n\t\tleft: rem-calc(16);\n\t}\n\t&[position=\"center\" i] {\n\t\tleft: 50%;\n\t\ttransform: translateX(-50%);\n\t}\n\t&[position=\"right\" i] {\n\t\tright: rem-calc(16);\n\t}\n\t&[type=\"solid\" i] {\n\t\tborder: none;\n\t\tborder-radius: rem-calc(4);\n\t\toverflow: hidden;\n\t\tbox-shadow: none;\n\t\t&.is-initialized #{$class}__timer {\n\t\t\ttransform-origin: right;\n\t\t\tanimation: countdown linear forwards var(--toast-duration, 0);\n\t\t}\n\t}\n\n\t@each $variant, $definitions in $toast-message-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tborder-left-color: get(\"decor-color\", $definitions);\n\t\t\t#{$class} {\n\t\t\t\t&__icon {\n\t\t\t\t\tcolor: get(\"decor-color\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&[type=\"solid\" i] {\n\t\t\t\tbackground-color: get(\"background\", $definitions);\n\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t\t&__timer {\n\t\t\t\t\t\tbackground-color: get(\"timer-background\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: sm) {\n\t\t&__content {\n\t\t\tpadding-right: rem-calc(32);\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { ToastClass, ToastTypesType, ToastVariants, ToastVariantType } from \"./constants\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { createID } from \"../../utils/string.utils\"\n\n@Component({\n\ttag: \"gov-toast\",\n\tstyleUrl: \"gov-toast.scss\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly variant?: ToastVariantType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"classic\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({ attribute: \"close-label\" }) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({ attribute: \"wcag-close-label\" }) readonly wcagCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({ eventName: \"gov-close\" }) govClose: EventEmitter<string>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ToastVariants, newValue, ToastClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.runTimer()\n\t}\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isSolid) {\n\t\t\tthis.host.classList.add(\"is-initialized\")\n\t\t}\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([ToastClass.root, \"gov-box-shadow--m\"])}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tvariant={this.variant}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{ \"--toast-duration\": this.time + \"ms\" }}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<span class={ToastClass.icon}>\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\n\t\t\t\t<div class={ToastClass.close}>\n\t\t\t\t\t<gov-button\n\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\twcag-label={this.wcagCloseLabel}\n\t\t\t\t\t\tvariant={this.isSolid ? this.variant : \"secondary\"}\n\t\t\t\t\t\tinverse={this.isSolid}\n\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\"></gov-icon>}\n\t\t\t\t\t</gov-button>\n\t\t\t\t</div>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.destroy()\n\t\t\t.then(() => this.govClose.emit(this.toastId))\n\t\t\t.catch()\n\t}\n\n\tget isSolid(): boolean {\n\t\treturn this.type === \"solid\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"mappings":"8TAIO,MAAMA,EAAgBC,EAAKC,EAAU,CAAC,UAAW,UAAW,QAAS,YAAa,YAG/DD,EAAKE,EAAO,CAAC,UAAW,UAG3C,MAAMC,EAAa,CACzBC,KAAM,YACNC,OAAQ,oBACRC,KAAM,kBACNC,QAAS,qBACTC,MAAO,mBACPC,MAAO,oBChBR,MAAMC,EAAc,wsK,MCWPC,EAAQC,EAAA,MAAAD,UAAAE,EAKpB,WAAAC,G,+EAS8C,U,aAKD,M,cAIY,Q,UAIhB,U,UAIT,E,wDAzB/BC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,QAAUC,EAAS,W,CAuCzB,eAAAC,CAAgBC,GACfC,EAAaxB,EAAeuB,EAAUnB,EAAWC,K,CAGlD,iBAAAoB,GACCT,KAAKM,gBAAgBN,KAAKU,SAC1BV,KAAKW,U,CAGN,oBAAAC,GACCC,aAAab,KAAKc,Q,CAGX,QAAAH,GACP,GAAIX,KAAKe,QAAS,CACjBf,KAAKG,KAAKa,UAAUC,IAAI,iB,CAEzB,GAAIjB,KAAKkB,QAAS,CACjBlB,KAAKc,QAAUK,YAAW,KACzBnB,KAAKG,KAAKa,UAAUC,IAAI7B,EAAWE,QACnC6B,YAAW,KACVnB,KAAKoB,UAAUC,QACfrB,KAAKsB,SAASC,KAAKvB,KAAKI,QAAQ,GAC9B,IAAI,GACLJ,KAAKwB,K,EAIV,MAAAC,GACC,OACCxB,EAACyB,EAAI,CACJC,MAAO3B,KAAKC,EAAE2B,QAAQ,CAACxC,EAAWC,KAAM,sBAAqB,gBAC9CW,KAAKI,QACpByB,QAAS7B,KAAK6B,QACdC,SAAU9B,KAAK8B,SACfpB,QAASV,KAAKU,QACdqB,KAAM/B,KAAK+B,KACXC,MAAO,CAAE,mBAAoBhC,KAAKwB,KAAO,OAExCxB,KAAKC,EAAEgC,QAAQ,SACfhC,EAAA,QAAM0B,MAAOvC,EAAWG,MACvBU,EAAA,QAAMiC,KAAK,UAIbjC,EAAA,OAAK0B,MAAOvC,EAAWI,QAAO,YAAY,SAAS2C,KAAK,UACvDlC,EAAA,cAGDA,EAAA,OAAK0B,MAAOvC,EAAWK,OACtBQ,EAAA,cACCmC,KAAK,IAAG,aACIpC,KAAKqC,eACjB3B,QAASV,KAAKe,QAAUf,KAAKU,QAAU,YACvC4B,QAAStC,KAAKe,QACdgB,KAAK,OAAM,eACG/B,KAAKuC,eAAeC,KAAKxC,OAEtCA,KAAKyC,WAAazC,KAAKyC,WAAaxC,EAAA,YAAUiC,KAAK,WAItDjC,EAAA,OAAK0B,MAAOvC,EAAWM,Q,CAKlB,cAAA6C,GACPvC,KAAKoB,UACHsB,MAAK,IAAM1C,KAAKsB,SAASC,KAAKvB,KAAKI,WACnCiB,O,CAGH,WAAIN,GACH,OAAOf,KAAK+B,OAAS,O,CAGtB,WAAIb,GACH,OAAOyB,OAAOC,UAAU5C,KAAKwB,OAASxB,KAAKwB,KAAO,C,CAOnD,aAAMJ,GACLP,aAAab,KAAKc,SAClB,MAAM+B,EAAQC,SAASC,cAAc,mBAAmB/C,KAAKI,aAC7D,GAAIyC,EAAO,CACVA,EAAM7B,UAAUC,IAAI7B,EAAWE,QAC/B,UAAWuD,EAAMG,SAAW,WAAY,CACvCH,EAAMG,Q"}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GovTooltipContent extends Components.GovTooltipContent, HTMLElement {}
4
+ export const GovTooltipContent: {
5
+ prototype: GovTooltipContent;
6
+ new (): GovTooltipContent;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{p as t,H as o,h as e,d as i}from"./p-2dee9951.js";import{T as r,a as n,b as s}from"./p-9a4c910d.js";import{a}from"./p-28e59384.js";import{d as l}from"./p-a3d5a7e3.js";import{d as v}from"./p-6f391c4a.js";const c='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tooltip-content{z-index:51;font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);position:absolute;display:block;width:-moz-max-content;width:max-content;max-width:var(--gov-tooltip-content-max-width, 21rem);padding:1rem;border-radius:0.1875rem;background-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300));color:var(--gov-tooltip-content-text-color, var(--gov-color-secondary));letter-spacing:0.0125rem;visibility:hidden;opacity:0;transition:opacity 0.2s ease-in}.gov-tooltip-content::before{content:"";position:absolute;display:block;width:0;height:0;border:0.625rem solid transparent}.gov-tooltip-content gov-button{position:absolute;right:0;top:0}.gov-tooltip-content[persist=""],.gov-tooltip-content[persist=true i],.gov-tooltip-content[persist="1"]{padding-right:3.25rem}.gov-tooltip-content[is-visible=""],.gov-tooltip-content[is-visible=true i],.gov-tooltip-content[is-visible="1"]{opacity:1}.gov-tooltip-content[variant=secondary]{--gov-tooltip-content-bg-color:var(--gov-tooltip-secondary-bg-color, var(--gov-color-secondary));--gov-tooltip-content-text-color:var(--gov-tooltip-secondary-text-color, var(--gov-color-neutral-white))}.gov-tooltip-content[variant=secondary][inverse=""],.gov-tooltip-content[variant=secondary][inverse=true i],.gov-tooltip-content[variant=secondary][inverse="1"]{--gov-tooltip-content-bg-color:var(--gov-color-neutral-white);--gov-tooltip-content-text-color:var(--gov-tooltip-secondary-text-color-inverse, var(--gov-color-secondary))}.gov-tooltip-content[variant=primary]{--gov-tooltip-content-bg-color:var(--gov-tooltip-primary-bg-color, var(--gov-color-primary-300));--gov-tooltip-content-text-color:var(--gov-tooltip-primary-text-color, var(--gov-color-secondary))}.gov-tooltip-content[variant=primary][inverse=""],.gov-tooltip-content[variant=primary][inverse=true i],.gov-tooltip-content[variant=primary][inverse="1"]{--gov-tooltip-content-bg-color:var(--gov-color-neutral-white);--gov-tooltip-content-text-color:var(--gov-tooltip-primary-text-color-inverse, var(--gov-color-primary))}.gov-tooltip-content[size=s]{--gov-tooltip-content-padding:var(--gov-tooltip-s-padding, 0.5rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-s-arrow-size, 0.4375rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-s-letter-spacing, 0.0125rem);font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-tooltip-content[size=s][persist=true i]{padding-right:var(--gov-tooltip-s-persist-space, 3rem)}.gov-tooltip-content[size=l]{--gov-tooltip-content-padding:var(--gov-tooltip-l-padding, 1rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-l-arrow-size, 0.875rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-l-letter-spacing, 0.002rem);font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing)}.gov-tooltip-content[size=l][persist=true i]{padding-right:var(--gov-tooltip-s-persist-space, 4rem)}.gov-tooltip-content[position=top]::before{left:50%;transform:translateX(-50%)}.gov-tooltip-content[position=top]::before{top:100%;border-bottom-width:0;border-top-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=bottom]::before{left:50%;transform:translateX(-50%)}.gov-tooltip-content[position=bottom]::before{bottom:100%;border-top-width:0;border-bottom-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=left]::before{top:50%;transform:translateY(-50%)}.gov-tooltip-content[position=left]::before{left:100%;border-right-width:0;border-left-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=right]::before{top:50%;transform:translateY(-50%)}.gov-tooltip-content[position=right]::before{right:100%;border-left-width:0;border-right-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}';const p=t(class t extends o{constructor(){super();this.__registerHost();this.variant=r.PRIMARY;this.size=n._M;this.persist=false;this.isVisible=false;this.parentId=null}visibleContent(t){clearTimeout(this.timeout);if(t===false){this.timeout=setTimeout((()=>{this.host.style.visibility="hidden"}),250)}else{this.host.style.visibility="visible"}}hideContent(){this.isVisible=false;this.persist=false;const t=document.getElementById(this.parentId);if(t){t.hide().catch()}}render(){return e(i,{class:s.root,role:"tooltip",hidden:!this.isVisible,"aria-hidden":!a(this.isVisible),"is-visible":this.isVisible},e("slot",null),this.persist?e("gov-button",{"on-gov-click":this.hideContent.bind(this),variant:this.variant,size:this.size,type:"base",inverse:this.variant===r.SECONDARY},e("gov-icon",{slot:"left-icon",name:"x-lg",type:"basic"})):null)}get host(){return this}static get watchers(){return{isVisible:["visibleContent"]}}static get style(){return c}},[4,"gov-tooltip-content",{variant:[1],size:[1],persist:[4],isVisible:[1028,"is-visible"],parentId:[1,"parent-id"]}]);function g(){if(typeof customElements==="undefined"){return}const t=["gov-tooltip-content","gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-tooltip-content":if(!customElements.get(t)){customElements.define(t,p)}break;case"gov-button":if(!customElements.get(t)){l()}break;case"gov-icon":if(!customElements.get(t)){v()}break}}))}g();const d=p;const m=g;export{d as GovTooltipContent,m as defineCustomElement};
2
+ //# sourceMappingURL=gov-tooltip-content.js.map