@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":["govGridCss","GovGrid","constructor","hostRef","this","h","govHost","host","render","Host","class","classes","GridClass","root","alignX","alignY","role"],"sources":["../../../packages/core/src/components/gov-grid/gov-grid.scss?tag=gov-grid","../../../packages/core/src/components/gov-grid/gov-grid.tsx"],"sourcesContent":["/*\n * Grid\n */\n\n$class: \".gov-grid\";\n\n#{$class} {\n\t@include base(flex);\n\tflex-wrap: wrap;\n\n\t// VARIANTS\n\t&[align-x=\"middle\"] {\n\t\talign-items: center;\n\t}\n\t&[align-x=\"bottom\"] {\n\t\talign-items: flex-end;\n\t}\n\t&[align-y=\"center\"] {\n\t\tjustify-content: center;\n\t}\n\t&[align-y=\"right\"] {\n\t\tjustify-content: flex-end;\n\t}\n\t&[align-y=\"space-between\"] {\n\t\tjustify-content: space-between;\n\t}\n\t&[align-y=\"space-around\"] {\n\t\tjustify-content: space-around;\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { GridClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-grid',\n\tstyleUrl: 'gov-grid.scss',\n})\nexport class GovGrid {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\t/**\n\t * Horizontal align of cells\n\t */\n\t@Prop({ attribute: 'align-x' }) readonly alignX: string\n\n\t/**\n\t * Vertical align of cells\n\t */\n\t@Prop({ attribute: 'align-y' }) readonly alignY: string\n\n\t// vertical / horizontal align\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(GridClass.root)} align-x={this.alignX} align-y={this.alignY} role=\"list\">\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"iIAAA,MAAMA,EAAa,utB,MCSNC,EAAO,MAGnB,WAAAC,CAAAC,G,sDACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAgBvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAACC,MAAON,KAAKC,EAAEM,QAAQC,EAAUC,MAAK,UAAWT,KAAKU,OAAM,UAAWV,KAAKW,OAAQC,KAAK,QAC7FX,EAAA,a"}
@@ -0,0 +1,2 @@
1
+ import{V as a}from"./p-ff7365ae.js";import{S as o}from"./p-55500e5a.js";import{p as t}from"./p-03990da5.js";const r=t(a,["PRIMARY","SECONDARY","WARNING","ERROR","SUCCESS"]);const e=t(o,["_XS","_S","_M"]);const i={root:"gov-wizard"};const _={root:"gov-wizard-item",header:"gov-wizard-item__header",arrow:"gov-wizard-item__arrow",title:"gov-wizard-item__title",name:"gov-wizard-item__name",label:"gov-wizard-item__label",annot:"gov-wizard-item__annot",prefix:"gov-wizard-item__prefix",content:"gov-wizard-item__content"};export{_ as W,i as a,e as b,r as c};
2
+ //# sourceMappingURL=p-6834d779.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["WizardVariants","pick","Variants","WizardSizes","Sizes","WizardClass","root","WizardItemClass","header","arrow","title","name","label","annot","prefix","content"],"sources":["../../../packages/core/src/components/gov-wizard/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const WizardVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type WizardVariantsType = `${ValueOf<typeof WizardVariants>}`\n\nexport const WizardSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\n\nexport const WizardClass = {\n\troot: 'gov-wizard',\n}\n\nexport const WizardItemClass = {\n\troot: 'gov-wizard-item',\n\theader: 'gov-wizard-item__header',\n\tarrow: 'gov-wizard-item__arrow',\n\ttitle: 'gov-wizard-item__title',\n\tname: 'gov-wizard-item__name',\n\tlabel: 'gov-wizard-item__label',\n\tannot: 'gov-wizard-item__annot',\n\tprefix: 'gov-wizard-item__prefix',\n\tcontent: 'gov-wizard-item__content',\n}\n"],"mappings":"kHAKaA,EAAiBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,Y,MAG7EC,EAAcF,EAAKG,EAAO,CAAC,MAAO,KAAM,O,MAGxCC,EAAc,CAC1BC,KAAM,c,MAGMC,EAAkB,CAC9BD,KAAM,kBACNE,OAAQ,0BACRC,MAAO,yBACPC,MAAO,yBACPC,KAAM,wBACNC,MAAO,yBACPC,MAAO,yBACPC,OAAQ,0BACRC,QAAS,mC"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as r,h as o,a as i,g as n}from"./p-5bc604a3.js";import{v as a}from"./p-dcb5fb35.js";import{g as v,a as t}from"./p-28e59384.js";import{a as l,b as s}from"./p-4c55142b.js";import{c}from"./p-24636c53.js";import{p as g}from"./p-2bf5b814.js";import"./p-7f2c9830.js";import"./p-003e6cca.js";import"./p-03990da5.js";import"./p-55500e5a.js";import"./p-ff7365ae.js";var d;(function(e){e["A"]="a";e["SPAN"]="span";e["BUTTON"]="button"})(d||(d={}));const p={root:"gov-chip",inner:"gov-chip__inner",hasRight:"gov-chip--has-right",hasLeft:"gov-chip--has-left"};const b='.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-chip .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-chip .element:focus{outline:none}.gov-chip .element .gov-icon{flex:0 0 auto;color:inherit}.gov-chip .element>*{display:flex}[hoverable].gov-chip .element{cursor:pointer}[hoverable].gov-chip .element:focus{outline:none}[hoverable].gov-chip .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-chip .element:focus-visible,[hoverable][type=base].gov-chip .element:focus-visible{outline-offset:0}[hoverable][disabled=""].gov-chip,[hoverable][disabled=true i].gov-chip,[hoverable][disabled="1"].gov-chip{cursor:not-allowed}[hoverable][disabled=""].gov-chip .element,[hoverable][disabled=true i].gov-chip .element,[hoverable][disabled="1"].gov-chip .element{pointer-events:none}[expanded=""].gov-chip,[expanded=true i].gov-chip,[expanded="1"].gov-chip{display:block}[expanded=""].gov-chip .element,[expanded=true i].gov-chip .element,[expanded="1"].gov-chip .element{display:flex;width:100%;margin-right:0;margin-left:0}[type=solid][variant=primary].gov-chip .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-chip .element,[type=solid][variant=primary][inverse=true i].gov-chip .element,[type=solid][variant=primary][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=solid][variant=primary][inverse=true i].gov-chip .element:focus-visible,[type=solid][variant=primary][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-primary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=primary][disabled=""].gov-chip .element,[type=solid][variant=primary][disabled=true i].gov-chip .element,[type=solid][variant=primary][disabled="1"].gov-chip .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-chip .element,[type=solid][variant=primary][disabled=""][inverse=true i].gov-chip .element,[type=solid][variant=primary][disabled=""][inverse="1"].gov-chip .element,[type=solid][variant=primary][disabled=true i][inverse=""].gov-chip .element,[type=solid][variant=primary][disabled=true i][inverse=true i].gov-chip .element,[type=solid][variant=primary][disabled=true i][inverse="1"].gov-chip .element,[type=solid][variant=primary][disabled="1"][inverse=""].gov-chip .element,[type=solid][variant=primary][disabled="1"][inverse=true i].gov-chip .element,[type=solid][variant=primary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=solid][variant=primary][hoverable][inverse=true i].gov-chip .element:hover,[type=solid][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=solid][variant=primary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=solid][variant=primary][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-primary-solid-inverse-active-bg, var(--gov-color-primary-800))}}[type=outlined][variant=primary].gov-chip .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-chip .element,[type=outlined][variant=primary][inverse=true i].gov-chip .element,[type=outlined][variant=primary][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=outlined][variant=primary][inverse=true i].gov-chip .element:focus-visible,[type=outlined][variant=primary][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-primary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=primary][disabled=""].gov-chip .element,[type=outlined][variant=primary][disabled=true i].gov-chip .element,[type=outlined][variant=primary][disabled="1"].gov-chip .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-chip .element,[type=outlined][variant=primary][disabled=""][inverse=true i].gov-chip .element,[type=outlined][variant=primary][disabled=""][inverse="1"].gov-chip .element,[type=outlined][variant=primary][disabled=true i][inverse=""].gov-chip .element,[type=outlined][variant=primary][disabled=true i][inverse=true i].gov-chip .element,[type=outlined][variant=primary][disabled=true i][inverse="1"].gov-chip .element,[type=outlined][variant=primary][disabled="1"][inverse=""].gov-chip .element,[type=outlined][variant=primary][disabled="1"][inverse=true i].gov-chip .element,[type=outlined][variant=primary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=outlined][variant=primary][hoverable][inverse=true i].gov-chip .element:hover,[type=outlined][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=outlined][variant=primary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=outlined][variant=primary][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-primary-outlined-inverse-active-bg, var(--gov-color-primary-400))}}[type=base][variant=primary].gov-chip .element{color:var(--gov-button-primary-base-color, var(--gov-color-primary))}[type=base][variant=primary][inverse=""].gov-chip .element,[type=base][variant=primary][inverse=true i].gov-chip .element,[type=base][variant=primary][inverse="1"].gov-chip .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-chip .element,[type=base][variant=primary][disabled=true i].gov-chip .element,[type=base][variant=primary][disabled="1"].gov-chip .element{color:var(--gov-button-primary-base-disabled-color, var(--gov-color-primary-400))}[type=base][variant=primary][disabled=""][inverse=""].gov-chip .element,[type=base][variant=primary][disabled=""][inverse=true i].gov-chip .element,[type=base][variant=primary][disabled=""][inverse="1"].gov-chip .element,[type=base][variant=primary][disabled=true i][inverse=""].gov-chip .element,[type=base][variant=primary][disabled=true i][inverse=true i].gov-chip .element,[type=base][variant=primary][disabled=true i][inverse="1"].gov-chip .element,[type=base][variant=primary][disabled="1"][inverse=""].gov-chip .element,[type=base][variant=primary][disabled="1"][inverse=true i].gov-chip .element,[type=base][variant=primary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=base][variant=primary][hoverable][inverse=true i].gov-chip .element:hover,[type=base][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=base][variant=primary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=base][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-primary-link-color, var(--gov-color-primary))}[type=link][variant=primary][inverse=""].gov-chip .element,[type=link][variant=primary][inverse=true i].gov-chip .element,[type=link][variant=primary][inverse="1"].gov-chip .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-chip .element,[type=link][variant=primary][disabled=true i].gov-chip .element,[type=link][variant=primary][disabled="1"].gov-chip .element{color:var(--gov-button-primary-link-disabled-color, var(--gov-color-primary-400))}[type=link][variant=primary][disabled=""][inverse=""].gov-chip .element,[type=link][variant=primary][disabled=""][inverse=true i].gov-chip .element,[type=link][variant=primary][disabled=""][inverse="1"].gov-chip .element,[type=link][variant=primary][disabled=true i][inverse=""].gov-chip .element,[type=link][variant=primary][disabled=true i][inverse=true i].gov-chip .element,[type=link][variant=primary][disabled=true i][inverse="1"].gov-chip .element,[type=link][variant=primary][disabled="1"][inverse=""].gov-chip .element,[type=link][variant=primary][disabled="1"][inverse=true i].gov-chip .element,[type=link][variant=primary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=link][variant=primary][hoverable][inverse=true i].gov-chip .element:hover,[type=link][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=link][variant=primary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=link][variant=primary][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element,[type=solid][variant=secondary][inverse=true i].gov-chip .element,[type=solid][variant=secondary][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=solid][variant=secondary][inverse=true i].gov-chip .element:focus-visible,[type=solid][variant=secondary][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-secondary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=secondary][disabled=""].gov-chip .element,[type=solid][variant=secondary][disabled=true i].gov-chip .element,[type=solid][variant=secondary][disabled="1"].gov-chip .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-chip .element,[type=solid][variant=secondary][disabled=""][inverse=true i].gov-chip .element,[type=solid][variant=secondary][disabled=""][inverse="1"].gov-chip .element,[type=solid][variant=secondary][disabled=true i][inverse=""].gov-chip .element,[type=solid][variant=secondary][disabled=true i][inverse=true i].gov-chip .element,[type=solid][variant=secondary][disabled=true i][inverse="1"].gov-chip .element,[type=solid][variant=secondary][disabled="1"][inverse=""].gov-chip .element,[type=solid][variant=secondary][disabled="1"][inverse=true i].gov-chip .element,[type=solid][variant=secondary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=solid][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover,[type=solid][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=solid][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=solid][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element,[type=outlined][variant=secondary][inverse=true i].gov-chip .element,[type=outlined][variant=secondary][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=outlined][variant=secondary][inverse=true i].gov-chip .element:focus-visible,[type=outlined][variant=secondary][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-secondary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=secondary][disabled=""].gov-chip .element,[type=outlined][variant=secondary][disabled=true i].gov-chip .element,[type=outlined][variant=secondary][disabled="1"].gov-chip .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-chip .element,[type=outlined][variant=secondary][disabled=""][inverse=true i].gov-chip .element,[type=outlined][variant=secondary][disabled=""][inverse="1"].gov-chip .element,[type=outlined][variant=secondary][disabled=true i][inverse=""].gov-chip .element,[type=outlined][variant=secondary][disabled=true i][inverse=true i].gov-chip .element,[type=outlined][variant=secondary][disabled=true i][inverse="1"].gov-chip .element,[type=outlined][variant=secondary][disabled="1"][inverse=""].gov-chip .element,[type=outlined][variant=secondary][disabled="1"][inverse=true i].gov-chip .element,[type=outlined][variant=secondary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-secondary-base-color, var(--gov-color-secondary))}[type=base][variant=secondary][inverse=""].gov-chip .element,[type=base][variant=secondary][inverse=true i].gov-chip .element,[type=base][variant=secondary][inverse="1"].gov-chip .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-chip .element,[type=base][variant=secondary][disabled=true i].gov-chip .element,[type=base][variant=secondary][disabled="1"].gov-chip .element{color:var(--gov-button-secondary-base-disabled-color, var(--gov-color-secondary-600))}[type=base][variant=secondary][disabled=""][inverse=""].gov-chip .element,[type=base][variant=secondary][disabled=""][inverse=true i].gov-chip .element,[type=base][variant=secondary][disabled=""][inverse="1"].gov-chip .element,[type=base][variant=secondary][disabled=true i][inverse=""].gov-chip .element,[type=base][variant=secondary][disabled=true i][inverse=true i].gov-chip .element,[type=base][variant=secondary][disabled=true i][inverse="1"].gov-chip .element,[type=base][variant=secondary][disabled="1"][inverse=""].gov-chip .element,[type=base][variant=secondary][disabled="1"][inverse=true i].gov-chip .element,[type=base][variant=secondary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=base][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover,[type=base][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=base][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=base][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-secondary-link-color, var(--gov-color-secondary))}[type=link][variant=secondary][inverse=""].gov-chip .element,[type=link][variant=secondary][inverse=true i].gov-chip .element,[type=link][variant=secondary][inverse="1"].gov-chip .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-chip .element,[type=link][variant=secondary][disabled=true i].gov-chip .element,[type=link][variant=secondary][disabled="1"].gov-chip .element{color:var(--gov-button-secondary-link-disabled-color, var(--gov-color-secondary-600))}[type=link][variant=secondary][disabled=""][inverse=""].gov-chip .element,[type=link][variant=secondary][disabled=""][inverse=true i].gov-chip .element,[type=link][variant=secondary][disabled=""][inverse="1"].gov-chip .element,[type=link][variant=secondary][disabled=true i][inverse=""].gov-chip .element,[type=link][variant=secondary][disabled=true i][inverse=true i].gov-chip .element,[type=link][variant=secondary][disabled=true i][inverse="1"].gov-chip .element,[type=link][variant=secondary][disabled="1"][inverse=""].gov-chip .element,[type=link][variant=secondary][disabled="1"][inverse=true i].gov-chip .element,[type=link][variant=secondary][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=link][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover,[type=link][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=link][variant=secondary][hoverable][inverse=true i].gov-chip .element:hover:active,[type=link][variant=secondary][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element,[type=solid][variant=error][inverse=true i].gov-chip .element,[type=solid][variant=error][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=solid][variant=error][inverse=true i].gov-chip .element:focus-visible,[type=solid][variant=error][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-error-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=error][disabled=""].gov-chip .element,[type=solid][variant=error][disabled=true i].gov-chip .element,[type=solid][variant=error][disabled="1"].gov-chip .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-chip .element,[type=solid][variant=error][disabled=""][inverse=true i].gov-chip .element,[type=solid][variant=error][disabled=""][inverse="1"].gov-chip .element,[type=solid][variant=error][disabled=true i][inverse=""].gov-chip .element,[type=solid][variant=error][disabled=true i][inverse=true i].gov-chip .element,[type=solid][variant=error][disabled=true i][inverse="1"].gov-chip .element,[type=solid][variant=error][disabled="1"][inverse=""].gov-chip .element,[type=solid][variant=error][disabled="1"][inverse=true i].gov-chip .element,[type=solid][variant=error][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=solid][variant=error][hoverable][inverse=true i].gov-chip .element:hover,[type=solid][variant=error][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=solid][variant=error][hoverable][inverse=true i].gov-chip .element:hover:active,[type=solid][variant=error][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-error-solid-inverse-active-bg, var(--gov-color-error-600))}}[type=outlined][variant=error].gov-chip .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-chip .element,[type=outlined][variant=error][inverse=true i].gov-chip .element,[type=outlined][variant=error][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=outlined][variant=error][inverse=true i].gov-chip .element:focus-visible,[type=outlined][variant=error][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-error-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=error][disabled=""].gov-chip .element,[type=outlined][variant=error][disabled=true i].gov-chip .element,[type=outlined][variant=error][disabled="1"].gov-chip .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-chip .element,[type=outlined][variant=error][disabled=""][inverse=true i].gov-chip .element,[type=outlined][variant=error][disabled=""][inverse="1"].gov-chip .element,[type=outlined][variant=error][disabled=true i][inverse=""].gov-chip .element,[type=outlined][variant=error][disabled=true i][inverse=true i].gov-chip .element,[type=outlined][variant=error][disabled=true i][inverse="1"].gov-chip .element,[type=outlined][variant=error][disabled="1"][inverse=""].gov-chip .element,[type=outlined][variant=error][disabled="1"][inverse=true i].gov-chip .element,[type=outlined][variant=error][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=outlined][variant=error][hoverable][inverse=true i].gov-chip .element:hover,[type=outlined][variant=error][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=outlined][variant=error][hoverable][inverse=true i].gov-chip .element:hover:active,[type=outlined][variant=error][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-error-outlined-inverse-active-bg, var(--gov-color-error-400))}}[type=base][variant=error].gov-chip .element{color:var(--gov-button-error-base-color, var(--gov-color-error))}[type=base][variant=error][inverse=""].gov-chip .element,[type=base][variant=error][inverse=true i].gov-chip .element,[type=base][variant=error][inverse="1"].gov-chip .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-chip .element,[type=base][variant=error][disabled=true i].gov-chip .element,[type=base][variant=error][disabled="1"].gov-chip .element{color:var(--gov-button-error-base-disabled-color, var(--gov-color-error-200))}[type=base][variant=error][disabled=""][inverse=""].gov-chip .element,[type=base][variant=error][disabled=""][inverse=true i].gov-chip .element,[type=base][variant=error][disabled=""][inverse="1"].gov-chip .element,[type=base][variant=error][disabled=true i][inverse=""].gov-chip .element,[type=base][variant=error][disabled=true i][inverse=true i].gov-chip .element,[type=base][variant=error][disabled=true i][inverse="1"].gov-chip .element,[type=base][variant=error][disabled="1"][inverse=""].gov-chip .element,[type=base][variant=error][disabled="1"][inverse=true i].gov-chip .element,[type=base][variant=error][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=base][variant=error][hoverable][inverse=true i].gov-chip .element:hover,[type=base][variant=error][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=base][variant=error][hoverable][inverse=true i].gov-chip .element:hover:active,[type=base][variant=error][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-error-link-color, var(--gov-color-error))}[type=link][variant=error][inverse=""].gov-chip .element,[type=link][variant=error][inverse=true i].gov-chip .element,[type=link][variant=error][inverse="1"].gov-chip .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-chip .element,[type=link][variant=error][disabled=true i].gov-chip .element,[type=link][variant=error][disabled="1"].gov-chip .element{color:var(--gov-button-error-link-disabled-color, var(--gov-color-error-200))}[type=link][variant=error][disabled=""][inverse=""].gov-chip .element,[type=link][variant=error][disabled=""][inverse=true i].gov-chip .element,[type=link][variant=error][disabled=""][inverse="1"].gov-chip .element,[type=link][variant=error][disabled=true i][inverse=""].gov-chip .element,[type=link][variant=error][disabled=true i][inverse=true i].gov-chip .element,[type=link][variant=error][disabled=true i][inverse="1"].gov-chip .element,[type=link][variant=error][disabled="1"][inverse=""].gov-chip .element,[type=link][variant=error][disabled="1"][inverse=true i].gov-chip .element,[type=link][variant=error][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=link][variant=error][hoverable][inverse=true i].gov-chip .element:hover,[type=link][variant=error][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=link][variant=error][hoverable][inverse=true i].gov-chip .element:hover:active,[type=link][variant=error][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element,[type=solid][variant=success][inverse=true i].gov-chip .element,[type=solid][variant=success][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=solid][variant=success][inverse=true i].gov-chip .element:focus-visible,[type=solid][variant=success][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-success-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=success][disabled=""].gov-chip .element,[type=solid][variant=success][disabled=true i].gov-chip .element,[type=solid][variant=success][disabled="1"].gov-chip .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-chip .element,[type=solid][variant=success][disabled=""][inverse=true i].gov-chip .element,[type=solid][variant=success][disabled=""][inverse="1"].gov-chip .element,[type=solid][variant=success][disabled=true i][inverse=""].gov-chip .element,[type=solid][variant=success][disabled=true i][inverse=true i].gov-chip .element,[type=solid][variant=success][disabled=true i][inverse="1"].gov-chip .element,[type=solid][variant=success][disabled="1"][inverse=""].gov-chip .element,[type=solid][variant=success][disabled="1"][inverse=true i].gov-chip .element,[type=solid][variant=success][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=solid][variant=success][hoverable][inverse=true i].gov-chip .element:hover,[type=solid][variant=success][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=solid][variant=success][hoverable][inverse=true i].gov-chip .element:hover:active,[type=solid][variant=success][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-success-solid-inverse-active-bg, var(--gov-color-success-800))}}[type=outlined][variant=success].gov-chip .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-chip .element,[type=outlined][variant=success][inverse=true i].gov-chip .element,[type=outlined][variant=success][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=outlined][variant=success][inverse=true i].gov-chip .element:focus-visible,[type=outlined][variant=success][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-success-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=success][disabled=""].gov-chip .element,[type=outlined][variant=success][disabled=true i].gov-chip .element,[type=outlined][variant=success][disabled="1"].gov-chip .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-chip .element,[type=outlined][variant=success][disabled=""][inverse=true i].gov-chip .element,[type=outlined][variant=success][disabled=""][inverse="1"].gov-chip .element,[type=outlined][variant=success][disabled=true i][inverse=""].gov-chip .element,[type=outlined][variant=success][disabled=true i][inverse=true i].gov-chip .element,[type=outlined][variant=success][disabled=true i][inverse="1"].gov-chip .element,[type=outlined][variant=success][disabled="1"][inverse=""].gov-chip .element,[type=outlined][variant=success][disabled="1"][inverse=true i].gov-chip .element,[type=outlined][variant=success][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=outlined][variant=success][hoverable][inverse=true i].gov-chip .element:hover,[type=outlined][variant=success][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=outlined][variant=success][hoverable][inverse=true i].gov-chip .element:hover:active,[type=outlined][variant=success][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-success-outlined-inverse-active-bg, var(--gov-color-success-400))}}[type=base][variant=success].gov-chip .element{color:var(--gov-button-success-base-color, var(--gov-color-success-500))}[type=base][variant=success][inverse=""].gov-chip .element,[type=base][variant=success][inverse=true i].gov-chip .element,[type=base][variant=success][inverse="1"].gov-chip .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-chip .element,[type=base][variant=success][disabled=true i].gov-chip .element,[type=base][variant=success][disabled="1"].gov-chip .element{color:var(--gov-button-success-base-disabled-color, var(--gov-color-success-300))}[type=base][variant=success][disabled=""][inverse=""].gov-chip .element,[type=base][variant=success][disabled=""][inverse=true i].gov-chip .element,[type=base][variant=success][disabled=""][inverse="1"].gov-chip .element,[type=base][variant=success][disabled=true i][inverse=""].gov-chip .element,[type=base][variant=success][disabled=true i][inverse=true i].gov-chip .element,[type=base][variant=success][disabled=true i][inverse="1"].gov-chip .element,[type=base][variant=success][disabled="1"][inverse=""].gov-chip .element,[type=base][variant=success][disabled="1"][inverse=true i].gov-chip .element,[type=base][variant=success][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=base][variant=success][hoverable][inverse=true i].gov-chip .element:hover,[type=base][variant=success][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=base][variant=success][hoverable][inverse=true i].gov-chip .element:hover:active,[type=base][variant=success][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-success-link-color, var(--gov-color-success-500))}[type=link][variant=success][inverse=""].gov-chip .element,[type=link][variant=success][inverse=true i].gov-chip .element,[type=link][variant=success][inverse="1"].gov-chip .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-chip .element,[type=link][variant=success][disabled=true i].gov-chip .element,[type=link][variant=success][disabled="1"].gov-chip .element{color:var(--gov-button-success-link-disabled-color, var(--gov-color-success-300))}[type=link][variant=success][disabled=""][inverse=""].gov-chip .element,[type=link][variant=success][disabled=""][inverse=true i].gov-chip .element,[type=link][variant=success][disabled=""][inverse="1"].gov-chip .element,[type=link][variant=success][disabled=true i][inverse=""].gov-chip .element,[type=link][variant=success][disabled=true i][inverse=true i].gov-chip .element,[type=link][variant=success][disabled=true i][inverse="1"].gov-chip .element,[type=link][variant=success][disabled="1"][inverse=""].gov-chip .element,[type=link][variant=success][disabled="1"][inverse=true i].gov-chip .element,[type=link][variant=success][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=link][variant=success][hoverable][inverse=true i].gov-chip .element:hover,[type=link][variant=success][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=link][variant=success][hoverable][inverse=true i].gov-chip .element:hover:active,[type=link][variant=success][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element,[type=solid][variant=warning][inverse=true i].gov-chip .element,[type=solid][variant=warning][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=solid][variant=warning][inverse=true i].gov-chip .element:focus-visible,[type=solid][variant=warning][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-warning-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=warning][disabled=""].gov-chip .element,[type=solid][variant=warning][disabled=true i].gov-chip .element,[type=solid][variant=warning][disabled="1"].gov-chip .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-chip .element,[type=solid][variant=warning][disabled=""][inverse=true i].gov-chip .element,[type=solid][variant=warning][disabled=""][inverse="1"].gov-chip .element,[type=solid][variant=warning][disabled=true i][inverse=""].gov-chip .element,[type=solid][variant=warning][disabled=true i][inverse=true i].gov-chip .element,[type=solid][variant=warning][disabled=true i][inverse="1"].gov-chip .element,[type=solid][variant=warning][disabled="1"][inverse=""].gov-chip .element,[type=solid][variant=warning][disabled="1"][inverse=true i].gov-chip .element,[type=solid][variant=warning][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=solid][variant=warning][hoverable][inverse=true i].gov-chip .element:hover,[type=solid][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=solid][variant=warning][hoverable][inverse=true i].gov-chip .element:hover:active,[type=solid][variant=warning][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-warning-solid-inverse-active-bg, var(--gov-color-warning-800))}}[type=outlined][variant=warning].gov-chip .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-chip .element,[type=outlined][variant=warning][inverse=true i].gov-chip .element,[type=outlined][variant=warning][inverse="1"].gov-chip .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-chip .element:focus-visible,[type=outlined][variant=warning][inverse=true i].gov-chip .element:focus-visible,[type=outlined][variant=warning][inverse="1"].gov-chip .element:focus-visible{background-color:var(--gov-button-warning-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=warning][disabled=""].gov-chip .element,[type=outlined][variant=warning][disabled=true i].gov-chip .element,[type=outlined][variant=warning][disabled="1"].gov-chip .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-chip .element,[type=outlined][variant=warning][disabled=""][inverse=true i].gov-chip .element,[type=outlined][variant=warning][disabled=""][inverse="1"].gov-chip .element,[type=outlined][variant=warning][disabled=true i][inverse=""].gov-chip .element,[type=outlined][variant=warning][disabled=true i][inverse=true i].gov-chip .element,[type=outlined][variant=warning][disabled=true i][inverse="1"].gov-chip .element,[type=outlined][variant=warning][disabled="1"][inverse=""].gov-chip .element,[type=outlined][variant=warning][disabled="1"][inverse=true i].gov-chip .element,[type=outlined][variant=warning][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=outlined][variant=warning][hoverable][inverse=true i].gov-chip .element:hover,[type=outlined][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=outlined][variant=warning][hoverable][inverse=true i].gov-chip .element:hover:active,[type=outlined][variant=warning][hoverable][inverse="1"].gov-chip .element:hover:active{background-color:var(--gov-button-warning-outlined-inverse-active-bg, var(--gov-color-warning-400))}}[type=base][variant=warning].gov-chip .element{color:var(--gov-button-warning-base-color, var(--gov-color-warning-500))}[type=base][variant=warning][inverse=""].gov-chip .element,[type=base][variant=warning][inverse=true i].gov-chip .element,[type=base][variant=warning][inverse="1"].gov-chip .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-chip .element,[type=base][variant=warning][disabled=true i].gov-chip .element,[type=base][variant=warning][disabled="1"].gov-chip .element{color:var(--gov-button-warning-base-disabled-color, var(--gov-color-warning))}[type=base][variant=warning][disabled=""][inverse=""].gov-chip .element,[type=base][variant=warning][disabled=""][inverse=true i].gov-chip .element,[type=base][variant=warning][disabled=""][inverse="1"].gov-chip .element,[type=base][variant=warning][disabled=true i][inverse=""].gov-chip .element,[type=base][variant=warning][disabled=true i][inverse=true i].gov-chip .element,[type=base][variant=warning][disabled=true i][inverse="1"].gov-chip .element,[type=base][variant=warning][disabled="1"][inverse=""].gov-chip .element,[type=base][variant=warning][disabled="1"][inverse=true i].gov-chip .element,[type=base][variant=warning][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=base][variant=warning][hoverable][inverse=true i].gov-chip .element:hover,[type=base][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=base][variant=warning][hoverable][inverse=true i].gov-chip .element:hover:active,[type=base][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .element{color:var(--gov-button-warning-link-color, var(--gov-color-warning-500))}[type=link][variant=warning][inverse=""].gov-chip .element,[type=link][variant=warning][inverse=true i].gov-chip .element,[type=link][variant=warning][inverse="1"].gov-chip .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-chip .element,[type=link][variant=warning][disabled=true i].gov-chip .element,[type=link][variant=warning][disabled="1"].gov-chip .element{color:var(--gov-button-warning-link-disabled-color, var(--gov-color-warning))}[type=link][variant=warning][disabled=""][inverse=""].gov-chip .element,[type=link][variant=warning][disabled=""][inverse=true i].gov-chip .element,[type=link][variant=warning][disabled=""][inverse="1"].gov-chip .element,[type=link][variant=warning][disabled=true i][inverse=""].gov-chip .element,[type=link][variant=warning][disabled=true i][inverse=true i].gov-chip .element,[type=link][variant=warning][disabled=true i][inverse="1"].gov-chip .element,[type=link][variant=warning][disabled="1"][inverse=""].gov-chip .element,[type=link][variant=warning][disabled="1"][inverse=true i].gov-chip .element,[type=link][variant=warning][disabled="1"][inverse="1"].gov-chip .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-chip .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-chip .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-chip .element:hover,[type=link][variant=warning][hoverable][inverse=true i].gov-chip .element:hover,[type=link][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .element:hover:active,[type=link][variant=warning][hoverable][inverse=true i].gov-chip .element:hover:active,[type=link][variant=warning][hoverable][inverse="1"].gov-chip .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-chip .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-chip .element .gov-icon{width:var(--gov-button-xs-icon-size, 1rem);height:var(--gov-button-xs-icon-size, 1rem)}[size=s].gov-chip .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-chip .element .gov-icon{width:var(--gov-button-s-icon-size, 1rem);height:var(--gov-button-s-icon-size, 1rem)}[size=m].gov-chip .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-chip .element .gov-icon{width:var(--gov-button-m-icon-size, 1.25rem);height:var(--gov-button-m-icon-size, 1.25rem)}[size=l].gov-chip .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-chip .element .gov-icon{width:var(--gov-button-l-icon-size, 1.5rem);height:var(--gov-button-l-icon-size, 1.5rem)}[size=xl].gov-chip .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-chip .element .gov-icon{width:var(--gov-button-xl-icon-size, 1.75rem);height:var(--gov-button-xl-icon-size, 1.75rem)}.gov-chip{display:inline-flex}.gov-chip a .gov-icon{margin:0}.gov-chip .element{padding:0.25rem 0.625rem;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;letter-spacing:initial}.gov-chip .gov-button .element{border:none}.gov-chip--has-right>.element{padding-top:0 !important;padding-right:0 !important;padding-bottom:0 !important}.gov-chip--has-left>.element{padding-top:0 !important;padding-bottom:0 !important;padding-left:0 !important}.gov-chip[size=xs] .element{border-radius:calc(var(--gov-button-xs-min-height, 1.5rem) * 0.5)}.gov-chip[size=xs][hoverable] .element:focus{outline:none}.gov-chip[size=xs][hoverable] .element:focus-visible{border-radius:calc(var(--gov-button-xs-min-height, 1.5rem) * 0.5);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-chip[size=s] .element{border-radius:calc(var(--gov-button-s-min-height, 2rem) * 0.5)}.gov-chip[size=s][hoverable] .element:focus{outline:none}.gov-chip[size=s][hoverable] .element:focus-visible{border-radius:calc(var(--gov-button-s-min-height, 2rem) * 0.5);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-chip[size=m] .element{border-radius:calc(var(--gov-button-m-min-height, 2.5rem) * 0.5)}.gov-chip[size=m][hoverable] .element:focus{outline:none}.gov-chip[size=m][hoverable] .element:focus-visible{border-radius:calc(var(--gov-button-m-min-height, 2.5rem) * 0.5);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-chip[size=l] .element{border-radius:calc(var(--gov-button-l-min-height, 3rem) * 0.5)}.gov-chip[size=l][hoverable] .element:focus{outline:none}.gov-chip[size=l][hoverable] .element:focus-visible{border-radius:calc(var(--gov-button-l-min-height, 3rem) * 0.5);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-chip[size=xl] .element{border-radius:calc(var(--gov-button-xl-min-height, 3.5rem) * 0.5)}.gov-chip[size=xl][hoverable] .element:focus{outline:none}.gov-chip[size=xl][hoverable] .element:focus-visible{border-radius:calc(var(--gov-button-xl-min-height, 3.5rem) * 0.5);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}.gov-chip[variant=primary][inverse=""] .element,.gov-chip[variant=primary][inverse=""] .element .element,.gov-chip[variant=primary][inverse=true i] .element,.gov-chip[variant=primary][inverse=true i] .element .element,.gov-chip[variant=primary][inverse="1"] .element,.gov-chip[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-chip[variant=primary][inverse=""] .element:hover,.gov-chip[variant=primary][inverse=""] .element .element:hover,.gov-chip[variant=primary][inverse=true i] .element:hover,.gov-chip[variant=primary][inverse=true i] .element .element:hover,.gov-chip[variant=primary][inverse="1"] .element:hover,.gov-chip[variant=primary][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-primary-border-color-hover, var(--gov-color-primary-200))}}.gov-chip[variant=secondary][inverse=""] .element,.gov-chip[variant=secondary][inverse=""] .element .element,.gov-chip[variant=secondary][inverse=true i] .element,.gov-chip[variant=secondary][inverse=true i] .element .element,.gov-chip[variant=secondary][inverse="1"] .element,.gov-chip[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-chip[variant=secondary][inverse=""] .element:hover,.gov-chip[variant=secondary][inverse=""] .element .element:hover,.gov-chip[variant=secondary][inverse=true i] .element:hover,.gov-chip[variant=secondary][inverse=true i] .element .element:hover,.gov-chip[variant=secondary][inverse="1"] .element:hover,.gov-chip[variant=secondary][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-secondary-border-color-hover, var(--gov-color-secondary-400))}}.gov-chip[variant=success][inverse=""] .element,.gov-chip[variant=success][inverse=""] .element .element,.gov-chip[variant=success][inverse=true i] .element,.gov-chip[variant=success][inverse=true i] .element .element,.gov-chip[variant=success][inverse="1"] .element,.gov-chip[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-chip[variant=success][inverse=""] .element:hover,.gov-chip[variant=success][inverse=""] .element .element:hover,.gov-chip[variant=success][inverse=true i] .element:hover,.gov-chip[variant=success][inverse=true i] .element .element:hover,.gov-chip[variant=success][inverse="1"] .element:hover,.gov-chip[variant=success][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-success-border-color-hover, var(--gov-color-success-200))}}.gov-chip[variant=warning][inverse=""] .element,.gov-chip[variant=warning][inverse=""] .element .element,.gov-chip[variant=warning][inverse=true i] .element,.gov-chip[variant=warning][inverse=true i] .element .element,.gov-chip[variant=warning][inverse="1"] .element,.gov-chip[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-chip[variant=warning][inverse=""] .element:hover,.gov-chip[variant=warning][inverse=""] .element .element:hover,.gov-chip[variant=warning][inverse=true i] .element:hover,.gov-chip[variant=warning][inverse=true i] .element .element:hover,.gov-chip[variant=warning][inverse="1"] .element:hover,.gov-chip[variant=warning][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-warning-border-color-hover, var(--gov-color-warning-200))}}.gov-chip[variant=error][inverse=""] .element,.gov-chip[variant=error][inverse=""] .element .element,.gov-chip[variant=error][inverse=true i] .element,.gov-chip[variant=error][inverse=true i] .element .element,.gov-chip[variant=error][inverse="1"] .element,.gov-chip[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-chip[variant=error][inverse=""] .element:hover,.gov-chip[variant=error][inverse=""] .element .element:hover,.gov-chip[variant=error][inverse=true i] .element:hover,.gov-chip[variant=error][inverse=true i] .element .element:hover,.gov-chip[variant=error][inverse="1"] .element:hover,.gov-chip[variant=error][inverse="1"] .element .element:hover{border-color:var(--gov-chip-inverse-error-border-color-hover, var(--gov-color-error-200))}}';const u=class{constructor(o){e(this,o);this.govClick=r(this,"gov-click",7);this.inverse=false;this.disabled=false;this.href=undefined;this.target=undefined;this.iconLeft=undefined;this.iconRight=undefined;this.size=l._M;this.tag="span";this.variant=s.PRIMARY;this.focusable=true;this.identifier=undefined;this.wcagLabel=undefined;this.wcagControls=undefined;this.wcagSelected=undefined;this.h=v(this.host);this.chipId=c("GovChip")}validateVariant(e){a(s,e,p.root)}validateSize(e){a(l,e,p.root)}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size)}render(){const e=this.href?d.A:this.tag;const r=e==d.BUTTON?d.BUTTON:undefined;const n=g(this.iconLeft);const a=g(this.iconRight);return o(i,{class:this.h.classes([p.root,this.h.hasSlot("right")?p.hasRight:undefined,this.h.hasSlot("left")?p.hasLeft:undefined]),disabled:this.disabled,href:this.href,variant:this.variant,type:this.inverse?undefined:"solid",size:this.size,inverse:this.inverse,hoverable:e==d.A||e==d.BUTTON},o(e,{class:"element",href:this.href,target:this.target,"aria-label":this.wcagLabel,ref:e=>this.triggerRef=e,onClick:this.onClickHandler.bind(this),"aria-controls":this.wcagControls,"aria-selected":t(this.wcagSelected),tabindex:this.focusable?"0":"-1",id:this.identifier||this.chipId,type:r},this.h.hasSlot("left")&&o("slot",{name:"left"}),this.h.hasSlot("left-icon")&&o("slot",{name:"left-icon"}),n&&o("gov-icon",{type:n.type,name:n.name}),o("slot",null),this.h.hasSlot("right-icon")&&o("slot",{name:"right-icon"}),this.h.hasSlot("right")&&o("slot",{name:"right"}),a&&o("gov-icon",{type:a.type,name:a.name})))}onClickHandler(e){e.stopPropagation();if(this.disabled===false&&this.tag===d.BUTTON){this.govClick.emit(e)}}async getTriggerRef(){return this.triggerRef}async getTriggerIdentifier(){return this.identifier||this.chipId}async setFocus(){this.triggerRef.focus()}get host(){return n(this)}static get watchers(){return{variant:["validateVariant"],size:["validateSize"]}}};u.style=b;export{u as gov_chip};
2
+ //# sourceMappingURL=p-6dc942b8.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["NativeType","ChipClass","root","inner","hasRight","hasLeft","govChipCss","GovChip","constructor","hostRef","ButtonSizes","_M","ButtonVariants","PRIMARY","this","h","govHost","host","chipId","createID","validateVariant","newValue","validateProp","validateSize","componentWillLoad","variant","size","render","Tag","href","A","tag","nativeType","BUTTON","undefined","iconLeft","prepareIconFormat","iconRight","Host","class","classes","hasSlot","disabled","type","inverse","hoverable","target","wcagLabel","ref","el","triggerRef","onClick","onClickHandler","bind","wcagControls","toBoolAttr","wcagSelected","tabindex","focusable","id","identifier","name","e","stopPropagation","govClick","emit","getTriggerRef","getTriggerIdentifier","setFocus","focus"],"sources":["../../../packages/core/src/components/gov-chip/constants.ts","../../../packages/core/src/components/gov-chip/gov-chip.scss?tag=gov-chip","../../../packages/core/src/components/gov-chip/gov-chip.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\n\nexport enum NativeType {\n\tA = 'a',\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport const ChipClass = {\n\troot: 'gov-chip',\n\tinner: 'gov-chip__inner',\n\thasRight: 'gov-chip--has-right',\n\thasLeft: 'gov-chip--has-left',\n}\n","/*\n * Chip\n */\n\n// Shared definitions - button & chip\n@import \"../gov-button/button/gov-button-core\";\n\n.gov-chip {\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 10);\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\t&--has-right > .element {\n\t\tpadding-top: 0 !important;\n\t\tpadding-right: 0 !important;\n\t\tpadding-bottom: 0 !important;\n\t}\n\n\t&--has-left > .element {\n\t\tpadding-top: 0 !important;\n\t\tpadding-bottom: 0 !important;\n\t\tpadding-left: 0 !important;\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $button-sizes {\n\t\t$radius: calc(#{get(\"min-height\", $definitions)} * 0.5);\n\t\t&[size=\"#{$size}\"] {\n\t\t\t.element {\n\t\t\t\tborder-radius: $radius;\n\t\t\t}\n\n\t\t\t// HOVERS\n\t\t\t&[hoverable] .element {\n\t\t\t\t@include focus-outline($radius, $outline-offset);\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, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { govHost, toBoolAttr } from \"../../helpers/Dom/template\"\nimport { ChipClass, NativeType, NativeTypesType } from \"./constants\"\nimport { ButtonSizes, ButtonSizesType, ButtonVariants, ButtonVariantType } from \"../gov-button/button/constants\"\nimport { createID } from \"../../utils/string.utils\"\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: \"gov-chip\",\n\tstyleUrl: \"gov-chip.scss\",\n})\nexport class GovChip {\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement | HTMLSpanElement\n\tprivate h: GovHost\n\tprivate readonly chipId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.chipId = createID('GovChip')\n\t}\n\n\t@Element() host: HTMLGovChipElement\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 * Makes the chip component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * 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: 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-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 * Chip’s size.\n\t */\n\t@Prop() readonly size: ButtonSizesType = ButtonSizes._M\n\t/**\n\t * Used to change the HTML tag in the chip\n\t */\n\t@Prop() readonly tag: NativeTypesType = \"span\"\n\t/**\n\t * Style variation of the chip.\n\t */\n\t@Prop() readonly variant: ButtonVariantType = ButtonVariants.PRIMARY\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom chip identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers.\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Use this property to add an aria-controls attribute to the button. Use the attribute to point to the unique id of the content that the button manages\n\t */\n\t@Prop({ attribute: \"wcag-controls\" }) readonly wcagControls: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected\n\t */\n\t@Prop({ attribute: \"wcag-selected\" }) readonly wcagSelected: boolean\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({ eventName: \"gov-click\" }) govClick: EventEmitter<PointerEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, ChipClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, ChipClass.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 Tag = this.href ? NativeType.A : this.tag\n\t\tconst nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined\n\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([\n\t\t\t\t\tChipClass.root,\n\t\t\t\t\tthis.h.hasSlot(\"right\") ? ChipClass.hasRight : undefined,\n\t\t\t\t\tthis.h.hasSlot(\"left\") ? ChipClass.hasLeft : undefined,\n\t\t\t\t])}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tvariant={this.variant}\n\t\t\t\ttype={this.inverse ? undefined : \"solid\"}\n\t\t\t\tsize={this.size}\n\t\t\t\tinverse={this.inverse}\n\t\t\t\thoverable={Tag == NativeType.A || Tag == NativeType.BUTTON}\n\t\t\t>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLLinkElement | HTMLButtonElement | HTMLSpanElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\taria-controls={this.wcagControls}\n\t\t\t\t\taria-selected={toBoolAttr(this.wcagSelected)}\n\t\t\t\t\ttabindex={this.focusable ? \"0\" : \"-1\"}\n\t\t\t\t\tid={this.identifier || this.chipId}\n\t\t\t\t\ttype={nativeType}>\n\t\t\t\t\t{this.h.hasSlot(\"left\") && <slot name=\"left\"></slot>}\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{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"right\") && <slot name=\"right\"></slot>}\n\t\t\t\t\t{iconRight && \t<gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false && this.tag === NativeType.BUTTON) {\n\t\t\tthis.govClick.emit(e)\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\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.chipId\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n}\n"],"mappings":"qXAEA,IAAYA,GAAZ,SAAYA,GACXA,EAAA,SACAA,EAAA,eACAA,EAAA,kBACA,EAJD,CAAYA,MAAU,KAQf,MAAMC,EAAY,CACxBC,KAAM,WACNC,MAAO,kBACPC,SAAU,sBACVC,QAAS,sBCdV,MAAMC,EAAa,ww4E,MCaNC,EAAO,MAKnB,WAAAC,CAAAC,G,2DAUoC,M,cAKC,M,qGAsBIC,EAAYC,G,SAIb,O,aAIMC,EAAeC,Q,eAKvB,K,2GAjDrCC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,OAASC,EAAS,U,CAyExB,eAAAC,CAAgBC,GACfC,EAAaV,EAAgBS,EAAUpB,EAAUC,K,CAIlD,YAAAqB,CAAaF,GACZC,EAAaZ,EAAaW,EAAUpB,EAAUC,K,CAG/C,iBAAAsB,GACCV,KAAKM,gBAAgBN,KAAKW,SAC1BX,KAAKS,aAAaT,KAAKY,K,CAGxB,MAAAC,GACC,MAAMC,EAAMd,KAAKe,KAAO7B,EAAW8B,EAAIhB,KAAKiB,IAC5C,MAAMC,EAAaJ,GAAO5B,EAAWiC,OAASjC,EAAWiC,OAASC,UAElE,MAAMC,EAAWC,EAAkBtB,KAAKqB,UACxC,MAAME,EAAYD,EAAkBtB,KAAKuB,WAEzC,OACCtB,EAACuB,EAAI,CACJC,MAAOzB,KAAKC,EAAEyB,QAAQ,CACrBvC,EAAUC,KACVY,KAAKC,EAAE0B,QAAQ,SAAWxC,EAAUG,SAAW8B,UAC/CpB,KAAKC,EAAE0B,QAAQ,QAAUxC,EAAUI,QAAU6B,YAE9CQ,SAAU5B,KAAK4B,SACfb,KAAMf,KAAKe,KACXJ,QAASX,KAAKW,QACdkB,KAAM7B,KAAK8B,QAAUV,UAAY,QACjCR,KAAMZ,KAAKY,KACXkB,QAAS9B,KAAK8B,QACdC,UAAWjB,GAAO5B,EAAW8B,GAAKF,GAAO5B,EAAWiC,QAEpDlB,EAACa,EAAG,CACHW,MAAM,UACNV,KAAMf,KAAKe,KACXiB,OAAQhC,KAAKgC,OAAM,aACPhC,KAAKiC,UACjBC,IAAKC,GAAOnC,KAAKoC,WAAaD,EAC9BE,QAASrC,KAAKsC,eAAeC,KAAKvC,MAAK,gBACxBA,KAAKwC,aAAY,gBACjBC,EAAWzC,KAAK0C,cAC/BC,SAAU3C,KAAK4C,UAAY,IAAM,KACjCC,GAAI7C,KAAK8C,YAAc9C,KAAKI,OAC5ByB,KAAMX,GACLlB,KAAKC,EAAE0B,QAAQ,SAAW1B,EAAA,QAAM8C,KAAK,SACrC/C,KAAKC,EAAE0B,QAAQ,cAAgB1B,EAAA,QAAM8C,KAAK,cAC1C1B,GAAapB,EAAA,YAAU4B,KAAMR,EAASQ,KAAMkB,KAAM1B,EAAS0B,OAC5D9C,EAAA,aACCD,KAAKC,EAAE0B,QAAQ,eAAiB1B,EAAA,QAAM8C,KAAK,eAC3C/C,KAAKC,EAAE0B,QAAQ,UAAY1B,EAAA,QAAM8C,KAAK,UACtCxB,GAActB,EAAA,YAAU4B,KAAMN,EAAUM,KAAMkB,KAAMxB,EAAUwB,Q,CAM3D,cAAAT,CAAeU,GACtBA,EAAEC,kBACF,GAAIjD,KAAK4B,WAAa,OAAS5B,KAAKiB,MAAQ/B,EAAWiC,OAAQ,CAC9DnB,KAAKkD,SAASC,KAAKH,E,EAQrB,mBAAMI,GACL,OAAOpD,KAAKoC,U,CAOb,0BAAMiB,GACL,OAAOrD,KAAK8C,YAAc9C,KAAKI,M,CAOhC,cAAMkD,GACLtD,KAAKoC,WAAWmB,O"}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as r,a as s}from"./p-5bc604a3.js";const a={root:"gov-form-password-power",bar:"gov-form-password-power__bar",text:"gov-form-password-power__text"};const e='.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-form-password-power{display:flex;align-items:center;width:100%;gap:1.5rem;height:1.5rem}.gov-form-password-power__bar{display:flex;gap:0.25rem;width:100%}.gov-form-password-power__bar span{display:inline-block;width:100%;height:var(--gov-form-password-power-height, 0.25rem);border-radius:var(--gov-form-password-power-radius, 0.125rem);background-color:var(--gov-form-password-power-color, var(--gov-color-secondary-600))}.gov-form-password-power__text{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);text-align:right;flex-basis:3.5rem}.gov-form-password-power[power="1"]{color:var(--gov-form-password-power-color-weak, var(--gov-color-error))}.gov-form-password-power[power="1"] .gov-form-password-power__bar span:nth-child(1){background-color:var(--gov-form-password-power-color-weak, var(--gov-color-error))}.gov-form-password-power[power="2"]{color:var(--gov-form-password-power-color-medium, var(--gov-color-warning-500))}.gov-form-password-power[power="2"] .gov-form-password-power__bar span:nth-child(1),.gov-form-password-power[power="2"] .gov-form-password-power__bar span:nth-child(2){background-color:var(--gov-form-password-power-color-medium, var(--gov-color-warning-500))}.gov-form-password-power[power="3"]{color:var(--gov-form-password-power-color-strong, var(--gov-color-success-500))}.gov-form-password-power[power="3"] .gov-form-password-power__bar span{background-color:var(--gov-form-password-power-color-strong, var(--gov-color-success-500))}';const p=class{constructor(r){o(this,r);this.power=undefined}render(){return r(s,{class:a.root},r("span",{class:a.bar},r("span",null),r("span",null),r("span",null)),r("span",{class:a.text},r("slot",null)))}};p.style=e;export{p as gov_form_password_power};
2
+ //# sourceMappingURL=p-705efbf1.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FormPasswordPowerClass","root","bar","text","govFormPasswordPowerCss","GovFormPasswordPower","render","h","Host","class"],"sources":["../../../packages/core/src/components/gov-form/password-power/constants.ts","../../../packages/core/src/components/gov-form/password-power/gov-form-password-power.scss?tag=gov-form-password-power","../../../packages/core/src/components/gov-form/password-power/gov-form-password-power.tsx"],"sourcesContent":["export const FormPasswordPowerClass = {\n\troot: 'gov-form-password-power',\n bar: 'gov-form-password-power__bar',\n text: 'gov-form-password-power__text',\n}\n","$class: \".gov-form-password-power\";\n\n#{$class} {\n display: flex;\n align-items: center;\n width: 100%;\n gap: rem-calc(24);\n height: rem-calc(24);\n &__bar {\n display: flex;\n gap: rem-calc(4);\n width: 100%;\n span {\n display: inline-block;\n width: 100%;\n height: $form-password-power-height;\n border-radius: $form-password-power-radius;\n background-color: $form-password-power-color;\n }\n }\n &__text {\n @include typography($font-size-s);\n text-align: right;\n flex-basis: rem-calc(56);\n }\n\n // STATES\n &[power=\"1\"] {\n color: $form-password-power-color-weak;\n #{$class}__bar {\n span:nth-child(1) {\n background-color: $form-password-power-color-weak;\n }\n }\n }\n &[power=\"2\"] {\n color: $form-password-power-color-medium;\n #{$class}__bar {\n span:nth-child(1),\n span:nth-child(2) {\n background-color: $form-password-power-color-medium;\n }\n }\n }\n &[power=\"3\"] {\n color: $form-password-power-color-strong;\n #{$class}__bar {\n span {\n background-color: $form-password-power-color-strong;\n }\n }\n }\n}\n","import {Component, h, Host, Prop} from '@stencil/core'\nimport {FormPasswordPowerClass} from './constants'\n\n@Component({\n\ttag: 'gov-form-password-power',\n\tstyleUrl: 'gov-form-password-power.scss',\n})\nexport class GovFormPasswordPower {\n\t/**\n\t * Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong\n\t */\n\t@Prop({reflect: true}) readonly power: number\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormPasswordPowerClass.root}>\n\t\t\t\t\t<span class={FormPasswordPowerClass.bar}>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class={FormPasswordPowerClass.text}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"kDAAO,MAAMA,EAAyB,CACrCC,KAAM,0BACHC,IAAK,+BACLC,KAAM,iCCHV,MAAMC,EAA0B,i5D,MCOnBC,EAAoB,M,8CAMhC,MAAAC,GACC,OACCC,EAACC,EAAI,CAACC,MAAOT,EAAuBC,MAClCM,EAAA,QAAME,MAAOT,EAAuBE,KAClCK,EAAA,aACAA,EAAA,aACAA,EAAA,cAEFA,EAAA,QAAME,MAAOT,EAAuBG,MAClCI,EAAA,c"}
@@ -0,0 +1,2 @@
1
+ import{r as i,h as t,a as s,g as o}from"./p-5bc604a3.js";import{v as h}from"./p-dcb5fb35.js";import{T as e,a as n,b as a,c as r,d as p}from"./p-9a4c910d.js";import{c}from"./p-24636c53.js";import{g as l}from"./p-28e59384.js";import"./p-7f2c9830.js";import"./p-003e6cca.js";import"./p-03990da5.js";import"./p-ff7365ae.js";import"./p-55500e5a.js";const f='.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{display:inline-block;border-bottom:1px dashed currentcolor;color:var(--gov-color-primary);cursor:help}.gov-tooltip[icon=""],.gov-tooltip[icon=true i],.gov-tooltip[icon="1"]{border-bottom:0}';const d=class{constructor(t){i(this,t);this.tooltipContentId=undefined;this.tooltipId=undefined;this.variant=e.PRIMARY;this.size=n._M;this.position="right";this.message=undefined;this.identifier=undefined;this.icon=undefined;this.persist=false;this.h=l(this.host);this.tooltipId=c("GovTooltip");this.tooltipContentId=c("GovContentTooltip")}validateVariant(i){h(e,i,p.root)}validateSize(i){h(n,i,p.root)}validatePosition(i){h(r,i,p.root)}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size);this.validatePosition(this.position);this.createContentWrapper();this.registerListeners()}disconnectedCallback(){this.removeContent()}createContentWrapper(){var i;const t=this.host.querySelector(a.root);if(t){this.content=t}else{this.content=document.createElement(a.root);this.content.innerHTML=this.message;this.host.appendChild(this.content)}const s=this.host.getBoundingClientRect();this.content.style.left=s.left+"px";this.content.style.top=s.top+"px";this.content.style.visibility="hidden";this.content.setAttribute("id",(i=this.identifier)!==null&&i!==void 0?i:this.tooltipContentId);this.content.setAttribute("parent-id",this.tooltipId);this.content.setAttribute("variant",this.variant);this.content.setAttribute("size",this.size);document.body.appendChild(this.content)}registerListeners(){this.host.addEventListener("click",(i=>{i.preventDefault();this.persist=true;if(this.content){this.content.setAttribute("persist","true")}this.showTooltip()}));this.host.addEventListener("focus",(i=>{i.preventDefault();this.showTooltip()}));this.host.addEventListener("blur",(i=>{i.preventDefault();if(this.persist===false){this.hideTooltip()}}));this.host.addEventListener("mouseenter",(i=>{i.preventDefault();this.showTooltip()}));this.host.addEventListener("mouseleave",(i=>{i.preventDefault();if(this.persist===false){this.hideTooltip()}}))}verifyPositionSpace(){const i=12;const t=window.innerWidth;const s=this.host.getBoundingClientRect();const o=this.host.offsetWidth;const h=this.host.offsetHeight;const e=this.content.offsetWidth;const n=this.content.offsetHeight;const a={left:s.left+document.documentElement.scrollLeft,top:s.top+document.documentElement.scrollTop};const p=a.left+i+s.width+e<=t;const c=a.left>e;if(this.position===r.LEFT||this.position===r.RIGHT){this.content.style.top=a.top-(n-h)/2+"px";if(p===false&&c===false){this.position=r.TOP;this.content.setAttribute("position",r.TOP)}if(c&&p===false&&this.position===r.RIGHT){this.position=r.LEFT}if(p&&c===false&&this.position===r.LEFT){this.position=r.RIGHT}}if(this.position===r.RIGHT){this.content.setAttribute("position",r.RIGHT);this.content.style.left=a.left+i+s.width+"px"}if(this.position===r.LEFT){this.content.setAttribute("position",r.LEFT);this.content.style.left=a.left-(e+i)+"px"}if(this.position===r.TOP||this.position===r.BOTTOM){if(e>o){let s=a.left-(e-o)/2;const h=s<0;const n=s+e>t;if(h&&n){this.content.style.width="auto";this.content.style.left=i+"px";this.content.style.right=i+"px"}else{if(h){s=i}if(n){s=s-(t-(s+e+i))*-1}this.content.style.left=s+"px"}}else{const i=a.left+(o-e)/2;this.content.style.left=i+"px"}}if(this.position===r.TOP){this.content.setAttribute("position",r.TOP);this.content.style.top=a.top-(n+i)+"px"}if(this.position===r.BOTTOM){this.content.setAttribute("position",r.BOTTOM);this.content.style.top=a.top+(h+i)+"px"}this.content.setAttribute("is-visible","true");this.content.style.opacity="1"}showTooltip(){if(this.content){this.content.style.opacity="0";this.content.hidden=false;this.verifyPositionSpace()}}hideTooltip(){if(this.content){this.content.setAttribute("is-visible","false");this.content.setAttribute("persist","false")}}removeContent(){const i=document.getElementById(this.tooltipContentId);if(i){i.remove()}}render(){var i;return t(s,{id:this.tooltipId,class:this.h.classes(p.root),position:this.position,tabindex:0,"aria-describedby":(i=this.identifier)!==null&&i!==void 0?i:this.tooltipContentId},t("slot",null))}async show(){this.showTooltip()}async hide(){this.persist=false;this.hideTooltip()}get host(){return o(this)}static get watchers(){return{variant:["validateVariant"],size:["validateSize"],position:["validatePosition"]}}};d.style=f;export{d as gov_tooltip};
2
+ //# sourceMappingURL=p-73b7585b.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govTooltipCss","GovTooltip","constructor","hostRef","this","tooltipContentId","undefined","tooltipId","TooltipVariant","PRIMARY","TooltipSize","_M","h","govHost","host","createID","validateVariant","newValue","validateProp","TooltipClass","root","validateSize","validatePosition","TooltipPosition","componentWillLoad","variant","size","position","createContentWrapper","registerListeners","disconnectedCallback","removeContent","hasContentInside","querySelector","TooltipContentClass","content","document","createElement","innerHTML","message","appendChild","trigger","getBoundingClientRect","style","left","top","visibility","setAttribute","_a","identifier","body","addEventListener","e","preventDefault","persist","showTooltip","hideTooltip","verifyPositionSpace","offset","windowWidth","window","innerWidth","trgWidth","offsetWidth","trgHeight","offsetHeight","contentWidth","contentHeight","triggerPos","documentElement","scrollLeft","scrollTop","isRightSpace","width","isLeftSpace","LEFT","RIGHT","TOP","BOTTOM","leftPosition","isNotLeftSpace","isNotRightSpace","right","opacity","hidden","contentEl","getElementById","remove","render","Host","id","class","classes","tabindex","show","hide"],"sources":["../../../packages/core/src/components/gov-tooltip/gov-tooltip.scss?tag=gov-tooltip","../../../packages/core/src/components/gov-tooltip/gov-tooltip.tsx"],"sourcesContent":["/*\n * Tooltip\n */\n\n$class: \".gov-tooltip\";\n\n#{$class} {\n\tdisplay: inline-block;\n\tborder-bottom: 1px dashed currentcolor;\n\tcolor: color(\"primary\");\n\tcursor: help;\n\n\t@include parameter(\"icon\") {\n\t\tborder-bottom: 0;\n\t}\n}\n","import {Component, Element, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {\n\tTooltipClass,\n\tTooltipContentClass,\n\tTooltipPosition,\n\tTooltipPositionType,\n\tTooltipSize,\n\tTooltipSizeType,\n\tTooltipVariant,\n\tTooltipVariantType,\n} from \"./constants\"\nimport {createID} from \"../../utils/string.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\n\n@Component({\n\ttag: \"gov-tooltip\",\n\tstyleUrl: \"gov-tooltip.scss\",\n})\nexport class GovTooltip {\n\tprivate h: GovHost\n\tprivate content: HTMLGovTooltipContentElement\n\tprivate readonly tooltipContentId = undefined\n\tprivate readonly tooltipId = undefined\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.tooltipId = createID(\"GovTooltip\")\n\t\tthis.tooltipContentId = createID(\"GovContentTooltip\")\n\t}\n\n\t@Element() host: HTMLGovTooltipElement\n\t/**\n\t * Style variation of the tooltip\n\t */\n\t@Prop() readonly variant?: TooltipVariantType = TooltipVariant.PRIMARY\n\t/**\n\t * Tooltip’s size.\n\t */\n\t@Prop() readonly size?: TooltipSizeType = TooltipSize._M\n\t/**\n\t * Tooltip display position\n\t */\n\t@Prop({mutable: true}) position: TooltipPositionType = \"right\"\n\t/**\n\t * Information contained in the tooltip\n\t */\n\t@Prop() readonly message: string = undefined\n\t/**\n\t * Custom tooltip identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Trigger is just an icon\n\t */\n\t@Prop({reflect: true}) readonly icon: boolean = undefined\n\n\t@State() persist = false\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(TooltipVariant, newValue, TooltipClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(TooltipSize, newValue, TooltipClass.root)\n\t}\n\n\t@Watch(\"position\")\n\tvalidatePosition(newValue: string): void {\n\t\tvalidateProp(TooltipPosition, newValue, TooltipClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t\tthis.validatePosition(this.position)\n\n\t\tthis.createContentWrapper()\n\t\tthis.registerListeners()\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.removeContent()\n\t}\n\n\tprivate createContentWrapper() {\n\t\tconst hasContentInside = this.host.querySelector(TooltipContentClass.root) as HTMLGovTooltipContentElement\n\t\tif (hasContentInside) {\n\t\t\tthis.content = hasContentInside\n\t\t} else {\n\t\t\tthis.content = document.createElement(TooltipContentClass.root) as HTMLGovTooltipContentElement\n\t\t\tthis.content.innerHTML = this.message\n\t\t\tthis.host.appendChild(this.content)\n\t\t}\n\n\t\tconst trigger = this.host.getBoundingClientRect()\n\t\tthis.content.style.left = trigger.left + 'px'\n\t\tthis.content.style.top = trigger.top + 'px'\n\t\tthis.content.style.visibility = 'hidden'\n\n\t\tthis.content.setAttribute(\"id\", this.identifier ?? this.tooltipContentId)\n\t\tthis.content.setAttribute(\"parent-id\", this.tooltipId)\n\t\tthis.content.setAttribute(\"variant\", this.variant)\n\t\tthis.content.setAttribute(\"size\", this.size)\n\t\tdocument.body.appendChild(this.content)\n\t}\n\n\tprivate registerListeners() {\n\t\tthis.host.addEventListener(\"click\", e => {\n\t\t\te.preventDefault()\n\t\t\tthis.persist = true\n\t\t\tif (this.content) {\n\t\t\t\tthis.content.setAttribute(\"persist\", \"true\")\n\t\t\t}\n\t\t\tthis.showTooltip()\n\t\t})\n\t\tthis.host.addEventListener(\"focus\", e => {\n\t\t\te.preventDefault()\n\t\t\tthis.showTooltip()\n\t\t})\n\t\tthis.host.addEventListener(\"blur\", e => {\n\t\t\te.preventDefault()\n\t\t\tif (this.persist === false) {\n\t\t\t\tthis.hideTooltip()\n\t\t\t}\n\t\t})\n\t\tthis.host.addEventListener(\"mouseenter\", e => {\n\t\t\te.preventDefault()\n\t\t\tthis.showTooltip()\n\t\t})\n\t\tthis.host.addEventListener(\"mouseleave\", e => {\n\t\t\te.preventDefault()\n\t\t\tif (this.persist === false) {\n\t\t\t\tthis.hideTooltip()\n\t\t\t}\n\t\t})\n\t}\n\n\tprivate verifyPositionSpace() {\n\t\tconst offset = 12\n\t\tconst windowWidth = window.innerWidth\n\t\tconst trigger = this.host.getBoundingClientRect()\n\t\tconst trgWidth = this.host.offsetWidth\n\t\tconst trgHeight = this.host.offsetHeight\n\t\tconst contentWidth = this.content.offsetWidth\n\t\tconst contentHeight = this.content.offsetHeight\n\t\tconst triggerPos = {\n\t\t\tleft: trigger.left + document.documentElement.scrollLeft,\n\t\t\ttop: trigger.top + document.documentElement.scrollTop,\n\t\t}\n\n\t\tconst isRightSpace = ((triggerPos.left + offset + trigger.width) + contentWidth) <= windowWidth;\n\t\tconst isLeftSpace = triggerPos.left > contentWidth;\n\n\t\t// LEFT/RIGHT\n\t\tif (this.position === TooltipPosition.LEFT || this.position === TooltipPosition.RIGHT) {\n\t\t\tthis.content.style.top = (triggerPos.top - ((contentHeight - trgHeight) / 2)) + \"px\";\n\t\t\tif (isRightSpace === false && isLeftSpace === false) {\n\t\t\t\tthis.position = TooltipPosition.TOP\n\t\t\t\tthis.content.setAttribute(\"position\", TooltipPosition.TOP)\n\t\t\t}\n\t\t\tif (isLeftSpace && isRightSpace === false && this.position === TooltipPosition.RIGHT) {\n\t\t\t\tthis.position = TooltipPosition.LEFT\n\t\t\t}\n\t\t\tif (isRightSpace && isLeftSpace === false && this.position === TooltipPosition.LEFT) {\n\t\t\t\tthis.position = TooltipPosition.RIGHT\n\t\t\t}\n\t\t}\n\t\tif (this.position === TooltipPosition.RIGHT) {\n\t\t\tthis.content.setAttribute(\"position\", TooltipPosition.RIGHT)\n\t\t\tthis.content.style.left = (triggerPos.left + offset + trigger.width) + \"px\"\n\t\t}\n\t\tif (this.position === TooltipPosition.LEFT) {\n\t\t\tthis.content.setAttribute(\"position\", TooltipPosition.LEFT)\n\t\t\tthis.content.style.left = (triggerPos.left - (contentWidth + offset)) + \"px\"\n\t\t}\n\n\t\t// LEFT/RIGHT FOR TOP/BOTTOM\n\t\tif (this.position === TooltipPosition.TOP || this.position === TooltipPosition.BOTTOM) {\n\t\t\tif (contentWidth > trgWidth) {\n\t\t\t\tlet leftPosition = (triggerPos.left - ((contentWidth - trgWidth) / 2));\n\t\t\t\tconst isNotLeftSpace = leftPosition < 0;\n\t\t\t\tconst isNotRightSpace = (leftPosition + contentWidth) > windowWidth;\n\t\t\t\tif (isNotLeftSpace && isNotRightSpace) {\n\t\t\t\t\tthis.content.style.width = \"auto\";\n\t\t\t\t\tthis.content.style.left = offset + \"px\";\n\t\t\t\t\tthis.content.style.right = offset + \"px\";\n\t\t\t\t} else {\n\t\t\t\t\tif (isNotLeftSpace) {\n\t\t\t\t\t\tleftPosition = offset\n\t\t\t\t\t}\n\t\t\t\t\tif (isNotRightSpace) {\n\t\t\t\t\t\tleftPosition = leftPosition - ((windowWidth - (leftPosition + contentWidth + offset)) * -1)\n\t\t\t\t\t}\n\t\t\t\t\tthis.content.style.left = leftPosition + \"px\"\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst leftPosition = (triggerPos.left + ((trgWidth - contentWidth) / 2))\n\n\t\t\t\tthis.content.style.left = leftPosition + \"px\"\n\t\t\t}\n\t\t}\n\t\tif (this.position === TooltipPosition.TOP) {\n\t\t\tthis.content.setAttribute(\"position\", TooltipPosition.TOP)\n\t\t\tthis.content.style.top = (triggerPos.top - (contentHeight + offset)) + \"px\"\n\t\t}\n\t\tif (this.position === TooltipPosition.BOTTOM) {\n\t\t\tthis.content.setAttribute(\"position\", TooltipPosition.BOTTOM)\n\t\t\tthis.content.style.top = (triggerPos.top + (trgHeight + offset)) + \"px\"\n\t\t}\n\n\t\tthis.content.setAttribute(\"is-visible\", \"true\")\n\t\tthis.content.style.opacity = '1'\n\n\t}\n\n\tprivate showTooltip() {\n\t\tif (this.content) {\n\t\t\tthis.content.style.opacity = '0'\n\t\t\tthis.content.hidden = false\n\t\t\tthis.verifyPositionSpace()\n\t\t}\n\t}\n\n\tprivate hideTooltip() {\n\t\tif (this.content) {\n\t\t\tthis.content.setAttribute(\"is-visible\", \"false\")\n\t\t\tthis.content.setAttribute(\"persist\", \"false\")\n\t\t}\n\t}\n\n\tprivate removeContent() {\n\t\tconst contentEl = document.getElementById(this.tooltipContentId)\n\t\tif (contentEl) {\n\t\t\tcontentEl.remove()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tid={this.tooltipId}\n\t\t\t\tclass={this.h.classes(TooltipClass.root)}\n\t\t\t\tposition={this.position}\n\t\t\t\ttabindex={0}\n\t\t\t\taria-describedby={this.identifier ?? this.tooltipContentId}>\n\t\t\t\t<slot/>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showTooltip()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.persist = false\n\t\tthis.hideTooltip()\n\t}\n}\n"],"mappings":"wVAAA,MAAMA,EAAgB,miB,MCoBTC,EAAU,MAMtB,WAAAC,CAAAC,G,UAHiBC,KAAAC,iBAAmBC,UACnBF,KAAAG,UAAYD,U,aAYmBE,EAAeC,Q,UAIrBC,EAAYC,G,cAIC,Q,aAIpBL,U,oCAQaA,U,aAE7B,MA/BlBF,KAAKQ,EAAIC,EAAQT,KAAKU,MACtBV,KAAKG,UAAYQ,EAAS,cAC1BX,KAAKC,iBAAmBU,EAAS,oB,CAgClC,eAAAC,CAAgBC,GACfC,EAAaV,EAAgBS,EAAUE,EAAaC,K,CAIrD,YAAAC,CAAaJ,GACZC,EAAaR,EAAaO,EAAUE,EAAaC,K,CAIlD,gBAAAE,CAAiBL,GAChBC,EAAaK,EAAiBN,EAAUE,EAAaC,K,CAGtD,iBAAAI,GACCpB,KAAKY,gBAAgBZ,KAAKqB,SAC1BrB,KAAKiB,aAAajB,KAAKsB,MACvBtB,KAAKkB,iBAAiBlB,KAAKuB,UAE3BvB,KAAKwB,uBACLxB,KAAKyB,mB,CAGN,oBAAAC,GACC1B,KAAK2B,e,CAGE,oBAAAH,G,MACP,MAAMI,EAAmB5B,KAAKU,KAAKmB,cAAcC,EAAoBd,MACrE,GAAIY,EAAkB,CACrB5B,KAAK+B,QAAUH,C,KACT,CACN5B,KAAK+B,QAAUC,SAASC,cAAcH,EAAoBd,MAC1DhB,KAAK+B,QAAQG,UAAYlC,KAAKmC,QAC9BnC,KAAKU,KAAK0B,YAAYpC,KAAK+B,Q,CAG5B,MAAMM,EAAUrC,KAAKU,KAAK4B,wBAC1BtC,KAAK+B,QAAQQ,MAAMC,KAAOH,EAAQG,KAAO,KACzCxC,KAAK+B,QAAQQ,MAAME,IAAMJ,EAAQI,IAAM,KACvCzC,KAAK+B,QAAQQ,MAAMG,WAAa,SAEhC1C,KAAK+B,QAAQY,aAAa,MAAMC,EAAA5C,KAAK6C,cAAU,MAAAD,SAAA,EAAAA,EAAI5C,KAAKC,kBACxDD,KAAK+B,QAAQY,aAAa,YAAa3C,KAAKG,WAC5CH,KAAK+B,QAAQY,aAAa,UAAW3C,KAAKqB,SAC1CrB,KAAK+B,QAAQY,aAAa,OAAQ3C,KAAKsB,MACvCU,SAASc,KAAKV,YAAYpC,KAAK+B,Q,CAGxB,iBAAAN,GACPzB,KAAKU,KAAKqC,iBAAiB,SAASC,IACnCA,EAAEC,iBACFjD,KAAKkD,QAAU,KACf,GAAIlD,KAAK+B,QAAS,CACjB/B,KAAK+B,QAAQY,aAAa,UAAW,O,CAEtC3C,KAAKmD,aAAa,IAEnBnD,KAAKU,KAAKqC,iBAAiB,SAASC,IACnCA,EAAEC,iBACFjD,KAAKmD,aAAa,IAEnBnD,KAAKU,KAAKqC,iBAAiB,QAAQC,IAClCA,EAAEC,iBACF,GAAIjD,KAAKkD,UAAY,MAAO,CAC3BlD,KAAKoD,a,KAGPpD,KAAKU,KAAKqC,iBAAiB,cAAcC,IACxCA,EAAEC,iBACFjD,KAAKmD,aAAa,IAEnBnD,KAAKU,KAAKqC,iBAAiB,cAAcC,IACxCA,EAAEC,iBACF,GAAIjD,KAAKkD,UAAY,MAAO,CAC3BlD,KAAKoD,a,KAKA,mBAAAC,GACP,MAAMC,EAAS,GACf,MAAMC,EAAcC,OAAOC,WAC3B,MAAMpB,EAAUrC,KAAKU,KAAK4B,wBAC1B,MAAMoB,EAAW1D,KAAKU,KAAKiD,YAC3B,MAAMC,EAAY5D,KAAKU,KAAKmD,aAC5B,MAAMC,EAAe9D,KAAK+B,QAAQ4B,YAClC,MAAMI,EAAgB/D,KAAK+B,QAAQ8B,aACnC,MAAMG,EAAa,CAClBxB,KAAMH,EAAQG,KAAOR,SAASiC,gBAAgBC,WAC9CzB,IAAKJ,EAAQI,IAAMT,SAASiC,gBAAgBE,WAG7C,MAAMC,EAAiBJ,EAAWxB,KAAOc,EAASjB,EAAQgC,MAASP,GAAiBP,EACpF,MAAMe,EAAcN,EAAWxB,KAAOsB,EAGtC,GAAI9D,KAAKuB,WAAaJ,EAAgBoD,MAAQvE,KAAKuB,WAAaJ,EAAgBqD,MAAO,CACtFxE,KAAK+B,QAAQQ,MAAME,IAAOuB,EAAWvB,KAAQsB,EAAgBH,GAAa,EAAM,KAChF,GAAIQ,IAAiB,OAASE,IAAgB,MAAO,CACpDtE,KAAKuB,SAAWJ,EAAgBsD,IAChCzE,KAAK+B,QAAQY,aAAa,WAAYxB,EAAgBsD,I,CAEvD,GAAIH,GAAeF,IAAiB,OAASpE,KAAKuB,WAAaJ,EAAgBqD,MAAO,CACrFxE,KAAKuB,SAAWJ,EAAgBoD,I,CAEjC,GAAIH,GAAgBE,IAAgB,OAAStE,KAAKuB,WAAaJ,EAAgBoD,KAAM,CACpFvE,KAAKuB,SAAWJ,EAAgBqD,K,EAGlC,GAAIxE,KAAKuB,WAAaJ,EAAgBqD,MAAO,CAC5CxE,KAAK+B,QAAQY,aAAa,WAAYxB,EAAgBqD,OACtDxE,KAAK+B,QAAQQ,MAAMC,KAAQwB,EAAWxB,KAAOc,EAASjB,EAAQgC,MAAS,I,CAExE,GAAIrE,KAAKuB,WAAaJ,EAAgBoD,KAAM,CAC3CvE,KAAK+B,QAAQY,aAAa,WAAYxB,EAAgBoD,MACtDvE,KAAK+B,QAAQQ,MAAMC,KAAQwB,EAAWxB,MAAQsB,EAAeR,GAAW,I,CAIzE,GAAItD,KAAKuB,WAAaJ,EAAgBsD,KAAOzE,KAAKuB,WAAaJ,EAAgBuD,OAAQ,CACtF,GAAIZ,EAAeJ,EAAU,CAC5B,IAAIiB,EAAgBX,EAAWxB,MAASsB,EAAeJ,GAAY,EACnE,MAAMkB,EAAiBD,EAAe,EACtC,MAAME,EAAmBF,EAAeb,EAAgBP,EACxD,GAAIqB,GAAkBC,EAAiB,CACtC7E,KAAK+B,QAAQQ,MAAM8B,MAAQ,OAC3BrE,KAAK+B,QAAQQ,MAAMC,KAAOc,EAAS,KACnCtD,KAAK+B,QAAQQ,MAAMuC,MAAQxB,EAAS,I,KAC9B,CACN,GAAIsB,EAAgB,CACnBD,EAAerB,C,CAEhB,GAAIuB,EAAiB,CACpBF,EAAeA,GAAiBpB,GAAeoB,EAAeb,EAAeR,KAAY,C,CAE1FtD,KAAK+B,QAAQQ,MAAMC,KAAOmC,EAAe,I,MAEpC,CACN,MAAMA,EAAgBX,EAAWxB,MAASkB,EAAWI,GAAgB,EAErE9D,KAAK+B,QAAQQ,MAAMC,KAAOmC,EAAe,I,EAG3C,GAAI3E,KAAKuB,WAAaJ,EAAgBsD,IAAK,CAC1CzE,KAAK+B,QAAQY,aAAa,WAAYxB,EAAgBsD,KACtDzE,KAAK+B,QAAQQ,MAAME,IAAOuB,EAAWvB,KAAOsB,EAAgBT,GAAW,I,CAExE,GAAItD,KAAKuB,WAAaJ,EAAgBuD,OAAQ,CAC7C1E,KAAK+B,QAAQY,aAAa,WAAYxB,EAAgBuD,QACtD1E,KAAK+B,QAAQQ,MAAME,IAAOuB,EAAWvB,KAAOmB,EAAYN,GAAW,I,CAGpEtD,KAAK+B,QAAQY,aAAa,aAAc,QACxC3C,KAAK+B,QAAQQ,MAAMwC,QAAU,G,CAItB,WAAA5B,GACP,GAAInD,KAAK+B,QAAS,CACjB/B,KAAK+B,QAAQQ,MAAMwC,QAAU,IAC7B/E,KAAK+B,QAAQiD,OAAS,MACtBhF,KAAKqD,qB,EAIC,WAAAD,GACP,GAAIpD,KAAK+B,QAAS,CACjB/B,KAAK+B,QAAQY,aAAa,aAAc,SACxC3C,KAAK+B,QAAQY,aAAa,UAAW,Q,EAI/B,aAAAhB,GACP,MAAMsD,EAAYjD,SAASkD,eAAelF,KAAKC,kBAC/C,GAAIgF,EAAW,CACdA,EAAUE,Q,EAIZ,MAAAC,G,MACC,OACC5E,EAAC6E,EAAI,CACJC,GAAItF,KAAKG,UACToF,MAAOvF,KAAKQ,EAAEgF,QAAQzE,EAAaC,MACnCO,SAAUvB,KAAKuB,SACfkE,SAAU,EAAC,oBACO7C,EAAA5C,KAAK6C,cAAU,MAAAD,SAAA,EAAAA,EAAI5C,KAAKC,kBAC1CO,EAAA,a,CASH,UAAMkF,GACL1F,KAAKmD,a,CAON,UAAMwC,GACL3F,KAAKkD,QAAU,MACflD,KAAKoD,a"}
@@ -0,0 +1,2 @@
1
+ import{r as o,c as e,h as l,a as t}from"./p-5bc604a3.js";import{F as r}from"./p-3464136c.js";import"./p-03990da5.js";import"./p-55500e5a.js";const a='.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-form-label{position:relative;display:flex;width:100%}.gov-form-label__label{display:inline-block;color:var(--gov-form-label-color, #686868);cursor:pointer;box-sizing:border-box}.gov-form-label[legend=""] .gov-form-label__label,.gov-form-label[legend=true i] .gov-form-label__label,.gov-form-label[legend="1"] .gov-form-label__label{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);margin-bottom:1rem;padding:0;color:var(--gov-form-legend-color, #3b3b3b)}';const i=class{constructor(l){o(this,l);this.govClick=e(this,"gov-click",7);this.identifier=undefined;this.size="m";this.required=false;this.legend=false}render(){const o=this.legend?"legend":"label";return l(t,{class:r.root,size:this.size},l(o,{class:r.label,htmlFor:this.identifier,onClick:()=>this.govClick.emit()},l("slot",null),this.required?l("span",{class:"gov-color--error-500"}," *"):null))}};i.style=a;export{i as gov_form_label};
2
+ //# sourceMappingURL=p-74882c70.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govFormLabelCss","GovFormLabel","render","Tag","this","legend","h","Host","class","FormLabelClass","root","size","label","htmlFor","identifier","onClick","govClick","emit","required"],"sources":["../../../packages/core/src/components/gov-form/label/gov-form-label.scss?tag=gov-form-label","../../../packages/core/src/components/gov-form/label/gov-form-label.tsx"],"sourcesContent":["/*\n * Label\n */\n\n$class: \".gov-form-label\";\n\n#{$class} {\n\t@include base(flex);\n\t&__label {\n\t\tdisplay: inline-block;\n\t\tcolor: $form-label-color;\n\t\tcursor: pointer;\n\t\tbox-sizing: border-box;\n\t}\n\n\t@include parameter(\"legend\") {\n\t\t#{$class}__label {\n\t\t\t@include typography($font-size-l);\n\t\t\tmargin-bottom: 1rem;\n\t\t\tpadding: 0;\n\t\t\tcolor: $form-legend-color;\n\t\t}\n\t}\n}\n","import { Component, Event, EventEmitter, h, Prop, Host } from '@stencil/core'\nimport { FormLabelClass, FormLabelSizesTypes } from './constants'\n\n@Component({\n\ttag: 'gov-form-label',\n\tstyleUrl: 'gov-form-label.scss',\n})\nexport class GovFormLabel {\n\t/**\n\t * Identifier for label.\n\t */\n\t@Prop({ attribute: 'identifier' }) readonly identifier: string\n\t/**\n\t * Label's size.\n\t */\n\t@Prop() readonly size?: FormLabelSizesTypes = 'm'\n\t/**\n\t * Set whether the input is required or not.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Use label as a legend for better accessibility.\n\t * Note: Don't forget to set the fieldset attribute of the gov-form-control component\n\t */\n\t@Prop() readonly legend: boolean = false\n\t/**\n\t * Emitted when the label click.\n\t */\n\t@Event({ eventName: 'gov-click' }) govClick: EventEmitter<PointerEvent>\n\n\trender() {\n\t\tconst Tag = this.legend ? 'legend' : 'label'\n\t\treturn (\n\t\t\t<Host class={FormLabelClass.root} size={this.size}>\n\t\t\t\t<Tag class={FormLabelClass.label} htmlFor={this.identifier} onClick={() => this.govClick.emit()}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t\t{this.required ? <span class=\"gov-color--error-500\">&nbsp;*</span> : null}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6IAAA,MAAMA,EAAkB,65B,MCOXC,EAAY,M,iGAQsB,I,cAIT,M,YAKF,K,CAMnC,MAAAC,GACC,MAAMC,EAAMC,KAAKC,OAAS,SAAW,QACrC,OACCC,EAACC,EAAI,CAACC,MAAOC,EAAeC,KAAMC,KAAMP,KAAKO,MAC5CL,EAACH,EAAG,CAACK,MAAOC,EAAeG,MAAOC,QAAST,KAAKU,WAAYC,QAAS,IAAMX,KAAKY,SAASC,QACxFX,EAAA,aACCF,KAAKc,SAAWZ,EAAA,QAAME,MAAM,wBAAsB,MAAkB,M"}
@@ -0,0 +1,2 @@
1
+ import{S as o}from"./p-55500e5a.js";import{V as i}from"./p-ff7365ae.js";import{p as t}from"./p-03990da5.js";const a=t(o,["_XS","_S","_M","_L"]);const c=t(i,["PRIMARY","SECONDARY","CUSTOM"]);const r={root:"gov-accordion"};const n={root:"gov-accordion-item",header:"gov-accordion-item__header",icon:"gov-accordion-item__icon",title:"gov-accordion-item__title",label:"gov-accordion-item__label",annotation:"gov-accordion-item__annotation",suffix:"gov-accordion-item__suffix",right:"gov-accordion-item__right",arrow:"gov-accordion-item__arrow",content:"gov-accordion-item__content"};export{n as A,r as a,a as b,c};
2
+ //# sourceMappingURL=p-74b2311a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AccordionSizes","pick","Sizes","AccordionVariants","Variants","AccordionClass","root","AccordionItemClass","header","icon","title","label","annotation","suffix","right","arrow","content"],"sources":["../../../packages/core/src/components/gov-accordion/constants.ts"],"sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const AccordionSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type AccordionSizeType = `${ValueOf<typeof AccordionSizes>}`\n\nexport const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM'])\nexport type AccordionVariantType = `${ValueOf<typeof AccordionVariants>}`\n\nexport const AccordionClass = {\n\troot: 'gov-accordion',\n}\n\nexport const AccordionItemClass = {\n\troot: 'gov-accordion-item',\n\theader: 'gov-accordion-item__header',\n\ticon: 'gov-accordion-item__icon',\n\ttitle: 'gov-accordion-item__title',\n\tlabel: 'gov-accordion-item__label',\n\tannotation: 'gov-accordion-item__annotation',\n\tsuffix: 'gov-accordion-item__suffix',\n\tright: 'gov-accordion-item__right',\n\tarrow: 'gov-accordion-item__arrow',\n\tcontent: 'gov-accordion-item__content',\n}\n"],"mappings":"kHAKaA,EAAiBC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,O,MAGjDC,EAAoBF,EAAKG,EAAU,CAAC,UAAW,YAAa,W,MAG5DC,EAAiB,CAC7BC,KAAM,iB,MAGMC,EAAqB,CACjCD,KAAM,qBACNE,OAAQ,6BACRC,KAAM,2BACNC,MAAO,4BACPC,MAAO,4BACPC,WAAY,iCACZC,OAAQ,6BACRC,MAAO,4BACPC,MAAO,4BACPC,QAAS,sC"}
@@ -0,0 +1,2 @@
1
+ import{g as e}from"./p-7f2c9830.js";import{s as t}from"./p-24636c53.js";import{d as r}from"./p-003e6cca.js";const n=(t,r,n)=>{if(t===undefined||String(t).length===0){e(`[${n}]: The (${r}) attribute is important for correct accessibility.`)}};const i=(n,i,s)=>{if(typeof n==="undefined"||n===undefined){return true}if(String(n).length===0){e(`[${s}]: Attribute (${i}) is defined with an empty value.`);return false}let a=[];const f=t(n);if(Array.isArray(f)){a=f.filter((function(e){return e.trim().length>0}))}return!!a.filter((e=>{if(r().getElementById(e)===null){return false}else{return true}})).length};const s=(t,n,i)=>{const s=r().querySelector(`[for=${t}]`);if(s===null){const t=r().getElementById(n);if(t===null){e(`[${i}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`);return false}}return true};const a=(t,n,i)=>{if(typeof t==="string"&&t.length>0){return true}if(typeof n==="string"&&n.length>0){const e=r().getElementById(n);if(e){return true}}e(`[${i}]: The element has no defined wcag-label or wcag-labelled-by attribute.`);return false};export{i as a,s as b,n as c,a as v};
2
+ //# sourceMappingURL=p-7724b535.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateWcagProp","value","propName","component","undefined","String","length","govWarningLog","validateWcagRef","referenceId","name","strings","referenceIds","splitByWhitespace","Array","isArray","filter","e","trim","documentNode","getElementById","validateWcagLabelFor","inputId","labelledBy","labelEl","querySelector","labelledByEl","validateWcagLabel","label"],"sources":["../../../packages/core/src/helpers/Validate/wcag.ts"],"sourcesContent":["import { govWarningLog } from '../Log/gov.log'\nimport { splitByWhitespace } from '../../utils/string.utils'\nimport { documentNode } from '../Dom/win'\n\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\n\tif (value === undefined || String(value).length === 0) {\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\n\t}\n}\n\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\n\t\treturn true\n\t}\n\tif (String(referenceId).length === 0) {\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\n\t\treturn false\n\t}\n\tlet strings = []\n\tconst referenceIds = splitByWhitespace(referenceId)\n\tif (Array.isArray(referenceIds)) {\n\t\tstrings = referenceIds.filter(function (e) {\n\t\t\treturn e.trim().length > 0\n\t\t})\n\t}\n\n\treturn !!strings.filter(referenceId => {\n\t\tif (documentNode().getElementById(referenceId) === null) {\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\n\t\t\treturn false\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}).length\n}\n\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\n\tif (labelEl === null) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl === null) {\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n\nexport const validateWcagLabel = (label: string | undefined, labelledBy: string | undefined, component: string): boolean => {\n\tif (typeof label === 'string' && label.length > 0) {\n\t\treturn true\n\t}\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl) {\n\t\t\treturn true\n\t\t}\n\t}\n\tgovWarningLog(`[${component}]: The element has no defined wcag-label or wcag-labelled-by attribute.`)\n\treturn false\n}\n"],"mappings":"kHAIaA,EAAmB,CAACC,EAA2BC,EAAkBC,KAC7E,GAAIF,IAAUG,WAAaC,OAAOJ,GAAOK,SAAW,EAAG,CACtDC,EAAc,IAAIJ,YAAoBD,uD,SAI3BM,EAAkB,CAACC,EAAqBC,EAAcP,KAClE,UAAWM,IAAgB,aAAeA,IAAgBL,UAAW,CACpE,OAAO,I,CAER,GAAIC,OAAOI,GAAaH,SAAW,EAAG,CACrCC,EAAc,IAAIJ,kBAA0BO,sCAC5C,OAAO,K,CAER,IAAIC,EAAU,GACd,MAAMC,EAAeC,EAAkBJ,GACvC,GAAIK,MAAMC,QAAQH,GAAe,CAChCD,EAAUC,EAAaI,QAAO,SAAUC,GACvC,OAAOA,EAAEC,OAAOZ,OAAS,C,IAI3B,QAASK,EAAQK,QAAOP,IACvB,GAAIU,IAAeC,eAAeX,KAAiB,KAAM,CAExD,OAAO,K,KACD,CACN,OAAO,I,KAENH,MAAM,E,MAGGe,EAAuB,CAACC,EAAiBC,EAAgCpB,KACrF,MAAMqB,EAAUL,IAAeM,cAAc,QAAQH,MACrD,GAAIE,IAAY,KAAM,CACrB,MAAME,EAAeP,IAAeC,eAAeG,GACnD,GAAIG,IAAiB,KAAM,CAC1BnB,EAAc,IAAIJ,iFAClB,OAAO,K,EAGT,OAAO,IAAI,E,MAGCwB,EAAoB,CAACC,EAA2BL,EAAgCpB,KAC5F,UAAWyB,IAAU,UAAYA,EAAMtB,OAAS,EAAG,CAClD,OAAO,I,CAER,UAAWiB,IAAe,UAAYA,EAAWjB,OAAS,EAAG,CAC5D,MAAMoB,EAAeP,IAAeC,eAAeG,GACnD,GAAIG,EAAc,CACjB,OAAO,I,EAGTnB,EAAc,IAAIJ,4EAClB,OAAO,KAAK,S"}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as t,a as i,g as e}from"./p-5bc604a3.js";import{g as r}from"./p-28e59384.js";const n={root:"gov-empty",icon:"gov-empty__icon",container:"gov-empty__container",content:"gov-empty__content"};const a=".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-empty{position:relative;display:block;width:100%}.gov-empty__icon{display:inline-flex;justify-content:center;align-items:center;width:6rem;height:6rem;margin-bottom:2rem;border-radius:50%;background:var(--gov-empty-icon-circle-bg, linear-gradient(to bottom, var(--gov-color-primary-200), var(--gov-color-neutral-white)));color:var(--gov-empty-icon-color, var(--gov-color-primary))}.gov-empty__icon>*{width:3.5rem;height:3.5rem}.gov-empty__content>*:last-child{margin-bottom:0}";const s=class{constructor(t){o(this,t);this.h=r(this.host)}render(){return t(i,{class:this.h.classes(n.root)},this.h.hasSlot("icon")&&t("div",{class:n.icon},t("slot",{name:"icon"})),t("div",{class:n.content},t("slot",null)))}get host(){return e(this)}};s.style=a;export{s as gov_empty};
2
+ //# sourceMappingURL=p-7757e4a1.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["EmptyClass","root","icon","container","content","govEmptyCss","GovEmpty","constructor","hostRef","this","h","govHost","host","render","Host","class","classes","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-empty/constants.ts","../../../packages/core/src/components/gov-empty/gov-empty.scss?tag=gov-empty","../../../packages/core/src/components/gov-empty/gov-empty.tsx"],"sourcesContent":["export const EmptyClass = {\n\troot: 'gov-empty',\n\ticon: 'gov-empty__icon',\n\tcontainer: 'gov-empty__container',\n\tcontent: 'gov-empty__content',\n}\n","/*\n * Alert\n */\n\n$class: \".gov-empty\";\n\n#{$class} {\n\t@include base();\n\t&__icon {\n\t\tdisplay: inline-flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: rem-calc(96);\n\t\theight: rem-calc(96);\n\t\tmargin-bottom: calc(rem-calc(96) / 3);\n\t\tborder-radius: 50%;\n\t\tbackground: $empty-icon-circle-bg;\n\t\tcolor: $empty-icon-color;\n\t\t& > * {\n\t\t\twidth: rem-calc(56);\n\t\t\theight: rem-calc(56);\n\t\t}\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n}\n","import { Component, Element, Host, h } from '@stencil/core'\nimport { EmptyClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-empty',\n\tstyleUrl: 'gov-empty.scss',\n})\nexport class GovEmpty {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovEmptyElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(EmptyClass.root)}>\n\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t<div class={EmptyClass.icon}>\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t<div class={EmptyClass.content}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6FAAO,MAAMA,EAAa,CACzBC,KAAM,YACNC,KAAM,kBACNC,UAAW,uBACXC,QAAS,sBCJV,MAAMC,EAAc,0zB,MCSPC,EAAQ,MAGpB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAKvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAACC,MAAON,KAAKC,EAAEM,QAAQhB,EAAWC,OACrCQ,KAAKC,EAAEO,QAAQ,SACfP,EAAA,OAAKK,MAAOf,EAAWE,MACtBQ,EAAA,QAAMQ,KAAK,UAGbR,EAAA,OAAKK,MAAOf,EAAWI,SACtBM,EAAA,c"}
@@ -0,0 +1,2 @@
1
+ import{r as o,c as a,h as r,a as e,g as i}from"./p-5bc604a3.js";import{g as d,b as t}from"./p-28e59384.js";import{c}from"./p-24636c53.js";import{a as s}from"./p-7f2c9830.js";import{v as n}from"./p-7724b535.js";import{c as l}from"./p-003e6cca.js";import{d as g}from"./p-03990da5.js";const v={root:"gov-card",header:"gov-card__header",title:"gov-card__title",inner:"gov-card__inner",img:"gov-card__img",main:"gov-card__main",content:"gov-card__content",icon:"gov-card__icon",btns:"gov-card__btns",footer:"gov-card__footer",arrow:"gov-card__arrow"};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-card{position:relative;display:flex;width:100%;flex-direction:column;border:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-card-bg, var(--gov-color-neutral-white));overflow:hidden}.gov-card__header{gap:1.75rem;width:100%;padding:1.5rem;border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:0;text-align:left;text-transform:none;transition:background-color 150ms ease-in-out}.gov-card__arrow{flex:0 0 auto;width:1rem;height:1rem;color:var(--gov-card-arrow-color, var(--gov-color-primary))}.gov-card__title{margin:0;padding:0;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;box-sizing:border-box;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);color:var(--gov-card-title-color, var(--gov-color-secondary-800));font-weight:700}.gov-card__img{width:100%;margin:0;line-height:1}.gov-card__img img{width:100%;height:auto}.gov-card__inner{display:flex;flex:1 1 auto;flex-direction:column}.gov-card__inner[aria-hidden=""],.gov-card__inner[aria-hidden=true i],.gov-card__inner[aria-hidden="1"]{display:none}.gov-card__main{display:flex;gap:16px 24px;flex:1 1 auto;flex-direction:column;padding:1.5rem}.gov-card__icon{flex:0 0 auto;width:2.5rem;height:2.5rem;color:var(--gov-card-icon-color, var(--gov-color-primary))}.gov-card__btns{display:flex;gap:1rem;flex:0 0 auto;flex-wrap:wrap}.gov-card__content>*:last-child{margin-bottom:0}.gov-card__footer{padding:1rem 1.5rem;background:var(--gov-card-footer-bg, var(--gov-color-primary-100))}.gov-card__footer>*:last-child{margin-bottom:0}.gov-card__footer p{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-card[is-expanded=""],.gov-card[is-expanded=true i],.gov-card[is-expanded="1"]{height:100%}.gov-card[collapsible=""] .gov-card__header,.gov-card[collapsible=true i] .gov-card__header,.gov-card[collapsible="1"] .gov-card__header{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;justify-content:space-between;text-align:left}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus-visible,.gov-card[collapsible=true i] .gov-card__header:focus-visible,.gov-card[collapsible="1"] .gov-card__header: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.125rem}@media not all and (pointer: coarse){.gov-card[collapsible=""] .gov-card__header:hover,.gov-card[collapsible=true i] .gov-card__header:hover,.gov-card[collapsible="1"] .gov-card__header:hover{background:var(--gov-card-header-hover-bg, var(--gov-color-primary-100))}}.gov-card[collapsible=""][is-expanded=""] .gov-card__header,.gov-card[collapsible=""][is-expanded=true i] .gov-card__header,.gov-card[collapsible=""][is-expanded="1"] .gov-card__header,.gov-card[collapsible=true i][is-expanded=""] .gov-card__header,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__header,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__header,.gov-card[collapsible="1"][is-expanded=""] .gov-card__header,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__header,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__header{border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500))}.gov-card[collapsible=""][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=""][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=""][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=""] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__arrow{transform:scale(-1)}@media (min-width: 30em){.gov-card[promotion=""] .gov-card__main,.gov-card[promotion=true i] .gov-card__main,.gov-card[promotion="1"] .gov-card__main{flex-direction:row;padding:2rem}.gov-card[promotion=""] .gov-card__icon,.gov-card[promotion=true i] .gov-card__icon,.gov-card[promotion="1"] .gov-card__icon{width:3rem;height:3rem}.gov-card[promotion=""] .gov-card__btns,.gov-card[promotion=true i] .gov-card__btns,.gov-card[promotion="1"] .gov-card__btns{flex-direction:column}}';const p=class{constructor(r){o(this,r);this.govToggle=a(this,"gov-toggle",7);this.promotion=false;this.label=undefined;this.collapsible=false;this.expanded=false;this.headlineTag="h3";this.wcagTriggerLabel=undefined;this.wcagTriggerLabelledBy=undefined;this.isExpanded=undefined;this.h=d(this.host);this.headlineId=c("GovCardHeadline");this.contentId=c("GovCardContent")}validateHeadlineTag(o){const a=["h1","h2","h3","h4","h5","h6","span"];if(o){if(!a.includes(o)){s(`[${v.root}]: Tag ${o} is not allowed.`)}}}componentWillLoad(){this.isExpanded=this.label?this.expanded:true;this.validateHeadlineTag(this.headlineTag)}async componentDidRender(){if(l()){await g(500);await this.validateWcag()}}emmitChange(){this.govToggle.emit({open:this.isExpanded,element:this.host})}render(){const o=this.headlineTag;return r(e,{class:this.h.classes(v.root),"is-expanded":this.isExpanded,collapsible:t(this.collapsible),promotion:this.promotion},this.label&&this.collapsible?r("button",{id:this.headlineId,class:v.header,"aria-label":this.wcagTriggerLabel,"aria-labelledby":this.wcagTriggerLabelledBy,"aria-expanded":t(this.isExpanded),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},r(o,{class:v.title},this.label),r("gov-icon",{class:v.arrow,name:"chevron-down"})):null,this.label&&!this.collapsible?r("div",{class:v.header},r(o,{class:v.title},this.label)):null,r("div",{class:v.inner,id:this.contentId,"aria-hidden":this.collapsible?t(!this.isExpanded):undefined,hidden:this.collapsible?!this.isExpanded:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined},this.h.hasSlot("img")&&r("p",{class:v.img},r("slot",{name:"img"})),r("div",{class:v.main},this.h.hasSlot("icon")&&this.promotion&&r("div",{class:v.icon},r("slot",{name:"icon"})),r("div",{class:v.content},r("slot",null)),this.h.hasSlot("btn")&&this.promotion&&r("div",{class:v.btns},r("slot",{name:"btn"}))),this.h.hasSlot("footer")&&r("div",{class:v.footer},r("slot",{name:"footer"}))))}onClickHandler(o){o.stopPropagation();if(this.collapsible){this.isExpanded=!this.isExpanded;this.emmitChange()}}async open(){if(this.collapsible){this.isExpanded=true;this.emmitChange()}}async close(){if(this.collapsible){this.isExpanded=false;this.emmitChange()}}async validateWcag(){if(this.collapsible){n(this.wcagTriggerLabel,this.wcagTriggerLabelledBy,v.root)}}get host(){return i(this)}static get watchers(){return{headlineTag:["validateHeadlineTag"]}}};p.style=h;export{p as gov_card};
2
+ //# sourceMappingURL=p-78942f76.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CardClass","root","header","title","inner","img","main","content","icon","btns","footer","arrow","govCardCss","GovCard","constructor","hostRef","this","h","govHost","host","headlineId","createID","contentId","validateHeadlineTag","newValue","validTags","includes","govErrorLog","componentWillLoad","isExpanded","label","expanded","headlineTag","componentDidRender","canValidateWcagOnRender","delay","validateWcag","emmitChange","govToggle","emit","open","element","render","HeadlineTag","Host","class","classes","collapsible","booleanString","promotion","id","wcagTriggerLabel","wcagTriggerLabelledBy","onClick","onClickHandler","bind","name","undefined","hidden","hasSlot","e","stopPropagation","close","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-card/constants.ts","../../../packages/core/src/components/gov-card/gov-card.scss?tag=gov-card","../../../packages/core/src/components/gov-card/gov-card.tsx"],"sourcesContent":["export const CardClass = {\n\troot: 'gov-card',\n\theader: 'gov-card__header',\n\ttitle: 'gov-card__title',\n\tinner: 'gov-card__inner',\n\timg: 'gov-card__img',\n\tmain: 'gov-card__main',\n\tcontent: 'gov-card__content',\n\ticon: 'gov-card__icon',\n\tbtns: 'gov-card__btns',\n\tfooter: 'gov-card__footer',\n\tarrow: 'gov-card__arrow',\n}\n","/*\n * Alert\n */\n\n$class: \".gov-card\";\n\n#{$class} {\n\t@include base(flex);\n\tflex-direction: column;\n\tborder: $card-border;\n\tborder-radius: $border-radius;\n\tbackground: $card-bg;\n\toverflow: hidden;\n\t&__header {\n\t\tgap: rem-calc(28);\n\t\twidth: 100%;\n\t\tpadding: rem-calc(24);\n\t\tborder-bottom: $card-border;\n\t\tborder-radius: 0;\n\t\ttext-align: left;\n\t\ttext-transform: none;\n\t\ttransition: background-color $t ease-in-out;\n\t}\n\t&__arrow {\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(16);\n\t\theight: rem-calc(16);\n\t\tcolor: $card-arrow-color;\n\t}\n\t&__title {\n\t\t@include general;\n\t\t@include typography($font-size-xl);\n\t\tcolor: $card-title-color;\n\t\tfont-weight: 700;\n\t}\n\t&__img {\n\t\twidth: 100%;\n\t\tmargin: 0;\n\t\tline-height: 1;\n\t\timg {\n\t\t\twidth: 100%;\n\t\t\theight: auto;\n\t\t}\n\t}\n\t&__inner {\n\t\tdisplay: flex;\n\t\tflex: 1 1 auto;\n\t\tflex-direction: column;\n\t\t@include parameter(\"aria-hidden\") {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\t&__main {\n\t\tdisplay: flex;\n\t\tgap: 16px 24px;\n\t\tflex: 1 1 auto;\n\t\tflex-direction: column;\n\t\tpadding: rem-calc(24);\n\t}\n\t&__icon {\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(40);\n\t\theight: rem-calc(40);\n\t\tcolor: $card-icon-color;\n\t}\n\t&__btns {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex: 0 0 auto;\n\t\tflex-wrap: wrap;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n\t&__footer {\n\t\t@include reset-last-margin();\n\t\tpadding: rem-calc(16 24);\n\t\tbackground: $card-footer-bg;\n\t\tp {\n\t\t\t@include typography($font-size-s);\n\t\t}\n\t}\n\n\t// STATES\n\t@include parameter(\"is-expanded\") {\n\t\theight: 100%;\n\t}\n\n\t// VARIANTS\n\t@include parameter(\"collapsible\") {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\t@include button-core();\n\t\t\t\t@include focus-outline($border-radius, rem-calc(-2));\n\t\t\t\tjustify-content: space-between;\n\t\t\t\ttext-align: left;\n\t\t\t\t@include hover() {\n\t\t\t\t\tbackground: $card-header-hover-bg;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// STATES\n\t\t@include parameter(\"is-expanded\") {\n\t\t\t#{$class} {\n\t\t\t\t&__header {\n\t\t\t\t\tborder-bottom: $card-border;\n\t\t\t\t}\n\t\t\t\t&__arrow {\n\t\t\t\t\ttransform: scale(-1);\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// VARIANTS\n\t\t@include parameter(\"promotion\") {\n\t\t\t#{$class} {\n\t\t\t\t&__main {\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\tpadding: rem-calc(32);\n\t\t\t\t}\n\t\t\t\t&__icon {\n\t\t\t\t\twidth: rem-calc(48);\n\t\t\t\t\theight: rem-calc(48);\n\t\t\t\t}\n\t\t\t\t&__btns {\n\t\t\t\t\tflex-direction: column;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop, Watch, State, Method, Event, EventEmitter } from '@stencil/core'\nimport { CardClass } from './constants'\nimport { govHost, booleanString } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { createID } from '../../utils/string.utils'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { GovCardChangeEvent } from './interfaces'\n\n@Component({\n\ttag: 'gov-card',\n\tstyleUrl: 'gov-card.scss',\n})\nexport class GovCard {\n\tprivate h: GovHost\n\tprivate readonly headlineId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.headlineId = createID('GovCardHeadline')\n\t\tthis.contentId = createID('GovCardContent')\n\t}\n\n\t@Element() host: HTMLGovCardElement\n\n\t/**\n\t * Style variation of the card.\n\t */\n\t@Prop() readonly promotion: boolean = false\n\t/**\n\t * Item label of the card\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Defines wether the card can be collapsible\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the card is open or closed by button\n\t */\n\t@Prop() readonly expanded: boolean = false\n\t/**\n\t * Used to change the HMTL tag in the card headline for correct semantic structure\n\t */\n\t@Prop({ attribute: 'headline-tag' }) readonly headlineTag: string = 'h3'\n\t/**\n\t * Adds accessible label for the collapsible button that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-trigger-label' }) wcagTriggerLabel: string\n\t/**\n\t * A string of identifiers that indicate alternative label elements for collapsible card\n\t */\n\t@Prop({ attribute: 'wcag-trigger-labelled-by' }) wcagTriggerLabelledBy: string\n\t/**\n\t * Called when the card toggle state changes\n\t */\n\t@Event({ eventName: 'gov-toggle' }) govToggle: EventEmitter<GovCardChangeEvent>\n\t@State() isExpanded: boolean\n\n\t@Watch('headlineTag')\n\tvalidateHeadlineTag(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(`[${CardClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpanded = this.label ? this.expanded : true\n\t\tthis.validateHeadlineTag(this.headlineTag)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govToggle.emit({ open: this.isExpanded, element: this.host })\n\t}\n\n\trender() {\n\t\tconst HeadlineTag = this.headlineTag\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(CardClass.root)} is-expanded={this.isExpanded} collapsible={booleanString(this.collapsible)} promotion={this.promotion}>\n\t\t\t\t{this.label && this.collapsible ? (\n\t\t\t\t\t<button\n\t\t\t\t\t\tid={this.headlineId}\n\t\t\t\t\t\tclass={CardClass.header}\n\t\t\t\t\t\taria-label={this.wcagTriggerLabel}\n\t\t\t\t\t\taria-labelledby={this.wcagTriggerLabelledBy}\n\t\t\t\t\t\taria-expanded={booleanString(this.isExpanded)}\n\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<HeadlineTag class={CardClass.title}>{this.label}</HeadlineTag>\n\t\t\t\t\t\t<gov-icon class={CardClass.arrow} name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t</button>\n\t\t\t\t) : null}\n\n\t\t\t\t{this.label && !this.collapsible ? (\n\t\t\t\t\t<div class={CardClass.header}>\n\t\t\t\t\t\t<HeadlineTag class={CardClass.title}>{this.label}</HeadlineTag>\n\t\t\t\t\t</div>\n\t\t\t\t) : null}\n\n\t\t\t\t<div\n\t\t\t\t\tclass={CardClass.inner}\n\t\t\t\t\tid={this.contentId}\n\t\t\t\t\taria-hidden={this.collapsible ? booleanString(!this.isExpanded) : undefined}\n\t\t\t\t\thidden={this.collapsible ? !this.isExpanded : undefined}\n\t\t\t\t\taria-labelledby={this.collapsible ? this.headlineId : undefined}\n\t\t\t\t>\n\t\t\t\t\t{this.h.hasSlot('img') && (\n\t\t\t\t\t\t<p class={CardClass.img}>\n\t\t\t\t\t\t\t<slot name=\"img\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div class={CardClass.main}>\n\t\t\t\t\t\t{this.h.hasSlot('icon') && this.promotion && (\n\t\t\t\t\t\t\t<div class={CardClass.icon}>\n\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<div class={CardClass.content}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.h.hasSlot('btn') && this.promotion && (\n\t\t\t\t\t\t\t<div class={CardClass.btns}>\n\t\t\t\t\t\t\t\t<slot name=\"btn\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t<div class={CardClass.footer}>\n\t\t\t\t\t\t\t<slot name=\"footer\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e) {\n\t\te.stopPropagation()\n\t\tif (this.collapsible) {\n\t\t\tthis.isExpanded = !this.isExpanded\n\t\t\tthis.emmitChange()\n\t\t}\n\t}\n\n\t/**\n\t * Open the card if it is collapsible\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tthis.isExpanded = true\n\t\t\tthis.emmitChange()\n\t\t}\n\t}\n\n\t/**\n\t * Close the card if it is collapsible\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tthis.isExpanded = false\n\t\t\tthis.emmitChange()\n\t\t}\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tif (this.collapsible) {\n\t\t\tvalidateWcagLabel(this.wcagTriggerLabel, this.wcagTriggerLabelledBy, CardClass.root)\n\t\t}\n\t}\n}\n"],"mappings":"0RAAO,MAAMA,EAAY,CACxBC,KAAM,WACNC,OAAQ,mBACRC,MAAO,kBACPC,MAAO,kBACPC,IAAK,gBACLC,KAAM,iBACNC,QAAS,oBACTC,KAAM,iBACNC,KAAM,iBACNC,OAAQ,mBACRC,MAAO,mBCXR,MAAMC,EAAa,82K,MCeNC,EAAO,MAKnB,WAAAC,CAAAC,G,+DAWsC,M,sCAQE,M,cAIH,M,iBAI+B,K,+FA1BnEC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,WAAaC,EAAS,mBAC3BL,KAAKM,UAAYD,EAAS,iB,CAwC3B,mBAAAE,CAAoBC,GACnB,MAAMC,EAAY,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,QACvD,GAAID,EAAU,CACb,IAAKC,EAAUC,SAASF,GAAW,CAClCG,EAAY,IAAI3B,EAAUC,cAAcuB,oB,GAK3C,iBAAAI,GACCZ,KAAKa,WAAab,KAAKc,MAAQd,KAAKe,SAAW,KAC/Cf,KAAKO,oBAAoBP,KAAKgB,Y,CAG/B,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNnB,KAAKoB,c,EAIL,WAAAC,GACPrB,KAAKsB,UAAUC,KAAK,CAAEC,KAAMxB,KAAKa,WAAYY,QAASzB,KAAKG,M,CAG5D,MAAAuB,GACC,MAAMC,EAAc3B,KAAKgB,YAEzB,OACCf,EAAC2B,EAAI,CAACC,MAAO7B,KAAKC,EAAE6B,QAAQ9C,EAAUC,MAAK,cAAee,KAAKa,WAAYkB,YAAaC,EAAchC,KAAK+B,aAAcE,UAAWjC,KAAKiC,WACvIjC,KAAKc,OAASd,KAAK+B,YACnB9B,EAAA,UACCiC,GAAIlC,KAAKI,WACTyB,MAAO7C,EAAUE,OAAM,aACXc,KAAKmC,iBAAgB,kBAChBnC,KAAKoC,sBAAqB,gBAC5BJ,EAAchC,KAAKa,YAAW,gBAC9Bb,KAAKM,UACpB+B,QAASrC,KAAKsC,eAAeC,KAAKvC,OAElCC,EAAC0B,EAAW,CAACE,MAAO7C,EAAUG,OAAQa,KAAKc,OAC3Cb,EAAA,YAAU4B,MAAO7C,EAAUW,MAAO6C,KAAK,kBAErC,KAEHxC,KAAKc,QAAUd,KAAK+B,YACpB9B,EAAA,OAAK4B,MAAO7C,EAAUE,QACrBe,EAAC0B,EAAW,CAACE,MAAO7C,EAAUG,OAAQa,KAAKc,QAEzC,KAEJb,EAAA,OACC4B,MAAO7C,EAAUI,MACjB8C,GAAIlC,KAAKM,UAAS,cACLN,KAAK+B,YAAcC,GAAehC,KAAKa,YAAc4B,UAClEC,OAAQ1C,KAAK+B,aAAe/B,KAAKa,WAAa4B,UAAS,kBACtCzC,KAAK+B,YAAc/B,KAAKI,WAAaqC,WAErDzC,KAAKC,EAAE0C,QAAQ,QACf1C,EAAA,KAAG4B,MAAO7C,EAAUK,KACnBY,EAAA,QAAMuC,KAAK,SAIbvC,EAAA,OAAK4B,MAAO7C,EAAUM,MACpBU,KAAKC,EAAE0C,QAAQ,SAAW3C,KAAKiC,WAC/BhC,EAAA,OAAK4B,MAAO7C,EAAUQ,MACrBS,EAAA,QAAMuC,KAAK,UAIbvC,EAAA,OAAK4B,MAAO7C,EAAUO,SACrBU,EAAA,cAGAD,KAAKC,EAAE0C,QAAQ,QAAU3C,KAAKiC,WAC9BhC,EAAA,OAAK4B,MAAO7C,EAAUS,MACrBQ,EAAA,QAAMuC,KAAK,UAKbxC,KAAKC,EAAE0C,QAAQ,WACf1C,EAAA,OAAK4B,MAAO7C,EAAUU,QACrBO,EAAA,QAAMuC,KAAK,a,CAQT,cAAAF,CAAeM,GACtBA,EAAEC,kBACF,GAAI7C,KAAK+B,YAAa,CACrB/B,KAAKa,YAAcb,KAAKa,WACxBb,KAAKqB,a,EAQP,UAAMG,GACL,GAAIxB,KAAK+B,YAAa,CACrB/B,KAAKa,WAAa,KAClBb,KAAKqB,a,EAQP,WAAMyB,GACL,GAAI9C,KAAK+B,YAAa,CACrB/B,KAAKa,WAAa,MAClBb,KAAKqB,a,EAQP,kBAAMD,GACL,GAAIpB,KAAK+B,YAAa,CACrBgB,EAAkB/C,KAAKmC,iBAAkBnC,KAAKoC,sBAAuBpD,EAAUC,K"}
@@ -0,0 +1,2 @@
1
+ import{u as o,a as t,b as a}from"./p-003e6cca.js";const s={bg:"#ecae1a",text:"#3b3b3b"};const c={bg:"#2362a2",text:"#fff"};const f={bg:"#c52a3a",text:"#fff"};const n=(s,f=c)=>{const n=["color: "+f.text,"background: "+f.bg,"font-size: 11px","padding: 2px 4px","border-radius: 3px","font-weight: 600"].join(";");if(t()||a()||o()){console.log("%cgov",n,s)}};const e=o=>{if(a()){n(o,s)}};const b=t=>{if(o()){n(t,f)}};export{b as a,e as g};
2
+ //# sourceMappingURL=p-7f2c9830.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["WARNING_COLORS","bg","text","INFO_COLORS","ERROR_COLORS","govLog","message","colors","styles","join","useLog","useWarningLog","useErrorLog","console","log","govWarningLog","govErrorLog"],"sources":["../../../packages/core/src/helpers/Log/gov.log.ts"],"sourcesContent":["import {useErrorLog, useLog, useWarningLog} from \"../Dom/win\";\n\ninterface ColorConfig {\n\tbg: string\n\ttext: string\n}\n\nconst WARNING_COLORS: ColorConfig = {bg: '#ecae1a', text: '#3b3b3b'}\nconst INFO_COLORS: ColorConfig = {bg: '#2362a2', text: '#fff'}\nconst ERROR_COLORS: ColorConfig = {bg: '#c52a3a', text: '#fff'}\n\nexport const govLog = (message: string, colors: ColorConfig = INFO_COLORS): void => {\n\tconst styles = ['color: ' + colors.text, 'background: ' + colors.bg, 'font-size: 11px', 'padding: 2px 4px', 'border-radius: 3px', 'font-weight: 600'].join(\n\t\t';'\n\t)\n\n\tif(useLog() || useWarningLog() || useErrorLog()) {\n\t\tconsole.log('%cgov', styles, message)\n\t}\n}\n\nexport const govWarningLog = (message: string): void => {\n\tif (useWarningLog()) {\n\t\tgovLog(message, WARNING_COLORS)\n\t}\n}\n\nexport const govErrorLog = (message: string): void => {\n\tif (useErrorLog()) {\n\t\tgovLog(message, ERROR_COLORS)\n\t}\n}\n"],"mappings":"kDAOA,MAAMA,EAA8B,CAACC,GAAI,UAAWC,KAAM,WAC1D,MAAMC,EAA2B,CAACF,GAAI,UAAWC,KAAM,QACvD,MAAME,EAA4B,CAACH,GAAI,UAAWC,KAAM,QAEjD,MAAMG,EAAS,CAACC,EAAiBC,EAAsBJ,KAC7D,MAAMK,EAAS,CAAC,UAAYD,EAAOL,KAAM,eAAiBK,EAAON,GAAI,kBAAmB,mBAAoB,qBAAsB,oBAAoBQ,KACrJ,KAGD,GAAGC,KAAYC,KAAmBC,IAAe,CAChDC,QAAQC,IAAI,QAASN,EAAQF,E,SAIlBS,EAAiBT,IAC7B,GAAIK,IAAiB,CACpBN,EAAOC,EAASN,E,SAILgB,EAAeV,IAC3B,GAAIM,IAAe,CAClBP,EAAOC,EAASF,E"}
@@ -0,0 +1,2 @@
1
+ import{r as o,c as t,h as i,a as s,g as r}from"./p-5bc604a3.js";import{g as n,a as e}from"./p-28e59384.js";import{c as a}from"./p-24636c53.js";import{B as d}from"./p-4c55142b.js";import"./p-55500e5a.js";import"./p-ff7365ae.js";import"./p-03990da5.js";const c={triggerEvents:"click",exclude:""};function p(o,t,i,s=c){const r=g(s);h(s).forEach((s=>{window.addEventListener(s,(s=>{l(s,o,t,i,r)}),false)}))}function l(o,t,i,s,r){const n=o.target;if(!i.contains(n)&&!u(n,r)){s.call(t)}}function h(o){if(o.triggerEvents){return o.triggerEvents.split(",").map((o=>o.trim()))}return["click"]}function g(o){if(o.exclude){try{return Array.from(document.querySelectorAll(o.exclude))}catch(t){console.warn(`@ClickOutside: Exclude: '${o.exclude}' will not be evaluated. Check your exclude selector syntax.`,t)}}return}function u(o,t){if(o&&t){for(let i of t){if(i.contains(o)){return true}}}return false}var f;(function(o){o["LEFT"]="left";o["RIGHT"]="right"})(f||(f={}));const v={root:"gov-dropdown",list:"gov-dropdown__list"};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-dropdown{position:relative}.gov-dropdown__list{position:absolute;left:0;z-index:100}.gov-dropdown ul{padding:0.25rem;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-dropdown-bg-color, var(--gov-color-neutral-white));box-shadow:var(--gov-dropdown-box-shadow, 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1))}.gov-dropdown li{margin:0;white-space:nowrap}.gov-dropdown li::before{content:none}.gov-dropdown li>*{width:100%}.gov-dropdown li>* .element{justify-content:space-between;width:100%}.gov-dropdown[position=right] .gov-dropdown__list{right:0;left:initial}";const w=class{constructor(i){o(this,i);this.govChange=t(this,"gov-change",7);this.open=false;this.position=f.LEFT;this.h=n(this.host);this.listId=a("GovDropdownList");this.controlId=a("GovDropdownControl")}componentWillLoad(){if(this.trigger){this.trigger.setAttribute("wcag-controls",this.listId);this.trigger.setAttribute("wcag-has-popup",e(!!this.list));this.trigger.setAttribute("identifier",this.controlId);this.trigger.addEventListener("gov-click",(o=>{o.preventDefault();o.stopPropagation();this.open=!this.open;this.govChange.emit({component:v.root,originalEvent:o,open:this.open})}))}}get trigger(){return this.host.querySelector(`* > ${d.root}`)}get list(){return this.h.getSlot("list")}render(){return i(s,{class:this.h.classes([v.root]),open:this.open,position:this.position},i("slot",null),i("div",{ref:o=>p(this,o,(()=>this.open=false)),class:v.list,id:this.listId,"aria-labelledby":this.controlId,"aria-hidden":e(!this.open),hidden:!this.open},i("slot",{name:"list"})))}async getState(){return this.open}async setOpen(o){this.open=o}get host(){return r(this)}};w.style=m;export{w as gov_dropdown};
2
+ //# sourceMappingURL=p-81593c86.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ClickOutsideOptionsDefaults","triggerEvents","exclude","registerClickOutside","component","element","callback","opt","excludedNodes","getExcludedNodes","getTriggerEvents","forEach","triggerEvent","window","addEventListener","e","initClickOutside","event","target","contains","isExcluded","call","split","map","trim","Array","from","document","querySelectorAll","err","console","warn","excudedNodes","excludedNode","Position","DropdownClass","root","list","govDropdownCss","GovDropdown","constructor","hostRef","LEFT","this","h","govHost","host","listId","createID","controlId","componentWillLoad","trigger","setAttribute","toBoolAttr","preventDefault","stopPropagation","open","govChange","emit","originalEvent","querySelector","ButtonClass","getSlot","render","Host","class","classes","position","ref","el","id","hidden","name","getState","setOpen","state"],"sources":["../../../node_modules/stencil-click-outside/dist/esm/index.js","../../../packages/core/src/components/gov-button/dropdown/constants.ts","../../../packages/core/src/components/gov-button/dropdown/gov-dropdown.scss?tag=gov-dropdown","../../../packages/core/src/components/gov-button/dropdown/gov-dropdown.tsx"],"sourcesContent":["import { Build as BUILD, getElement } from '@stencil/core';\nconst ClickOutsideOptionsDefaults = {\n triggerEvents: \"click\",\n exclude: \"\"\n};\n/**\n * Call this function as soon as the click outside of annotated method's host is done.\n * @example\n```\n@ClickOutside()\ncallback() {\n // this will run when click outside of element (host component) is done.\n}\n```\n */\nexport function ClickOutside(opt = ClickOutsideOptionsDefaults) {\n return (proto, methodName) => {\n // this is to resolve the 'compiler optimization issue':\n // lifecycle events not being called when not explicitly declared in at least one of components from bundle\n BUILD.connectedCallback = true;\n BUILD.disconnectedCallback = true;\n const { connectedCallback, disconnectedCallback } = proto;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n registerClickOutside(this, host, method, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n removeClickOutside(this, host, method, opt);\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n/**\n * Register callback function for HTMLElement to be executed when user clicks outside of element.\n * @example\n```\n<span\n ref={spanEl => registerClickOutside(this, spanEl, () => this.test())}>\n Hello, World!\n</span>;\n```\n */\nexport function registerClickOutside(component, element, callback, opt = ClickOutsideOptionsDefaults) {\n const excludedNodes = getExcludedNodes(opt);\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.addEventListener(triggerEvent, (e) => {\n initClickOutside(e, component, element, callback, excludedNodes);\n }, false);\n });\n}\n/**\n * Remove click outside callback function for HTMLElement.\n */\nexport function removeClickOutside(component, element, callback, opt = ClickOutsideOptionsDefaults) {\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.removeEventListener(triggerEvent, (e) => {\n initClickOutside(e, component, element, callback);\n }, false);\n });\n}\nfunction initClickOutside(event, component, element, callback, excludedNodes) {\n const target = event.target;\n if (!element.contains(target) && !isExcluded(target, excludedNodes)) {\n callback.call(component);\n }\n}\nfunction getTriggerEvents(opt) {\n if (opt.triggerEvents) {\n return opt.triggerEvents.split(\",\").map(e => e.trim());\n }\n return [\"click\"];\n}\nfunction getExcludedNodes(opt) {\n if (opt.exclude) {\n try {\n return Array.from(document.querySelectorAll(opt.exclude));\n }\n catch (err) {\n console.warn(`@ClickOutside: Exclude: '${opt.exclude}' will not be evaluated. Check your exclude selector syntax.`, err);\n }\n }\n return;\n}\nfunction isExcluded(target, excudedNodes) {\n if (target && excudedNodes) {\n for (let excludedNode of excudedNodes) {\n if (excludedNode.contains(target)) {\n return true;\n }\n }\n }\n return false;\n}\n","import { ValueOf } from \"../../../types/interfaces\"\n\nexport enum Position {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n}\n\nexport type PositionType = `${ValueOf<typeof Position>}`\n\nexport const DropdownClass = {\n\troot: 'gov-dropdown',\n\tlist: 'gov-dropdown__list'\n}\n","/*\n * Dropdown\n */\n\n$class: \".gov-dropdown\";\n\n#{$class} {\n\tposition: relative;\n\n\t&__list {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tz-index: 100;\n\t}\n\tul {\n\t\tpadding: rem-calc(4);\n\t\tborder-radius: $border-radius;\n\t\tbackground-color: $dropdown-bg-color;\n\t\tbox-shadow: $dropdown-box-shadow;\n\t}\n\tli {\n\t\tmargin: 0;\n\t\twhite-space: nowrap;\n\t\t&::before {\n\t\t\tcontent: none;\n\t\t}\n\t\t> * {\n\t\t\twidth: 100%;\n\t\t}\n\t\t> * .element {\n\t\t\tjustify-content: space-between;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\t&[position=\"right\"] {\n\t\t#{$class}__list {\n\t\t\tright: 0;\n\t\t\tleft: initial;\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from \"@stencil/core\"\nimport { registerClickOutside } from \"stencil-click-outside\"\nimport { govHost, toBoolAttr } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { Nullable } from \"../../../types/interfaces\"\nimport { createID } from \"../../../utils/string.utils\"\nimport { ButtonClass } from \"../button/constants\"\nimport { DropdownClass, Position, PositionType } from \"./constants\"\nimport { DropdownEvent } from \"./gov-dropdown.types\"\n\n@Component({\n\ttag: \"gov-dropdown\",\n\tstyleUrl: \"gov-dropdown.scss\",\n})\nexport class GovDropdown {\n\tprivate h: GovHost\n\tprivate readonly listId: string\n\tprivate readonly controlId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.listId = createID(\"GovDropdownList\")\n\t\tthis.controlId = createID(\"GovDropdownControl\")\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\t/**\n\t * Dropdown open state\n\t */\n\t@Prop({ mutable: true }) open = false\n\t/**\n\t * Menu display position\n\t */\n\t@Prop() readonly position: PositionType = Position.LEFT\n\t/**\n\t * Emitted when the dropdown change state\n\t */\n\t@Event({ eventName: \"gov-change\" }) govChange: EventEmitter<DropdownEvent>\n\n\tcomponentWillLoad() {\n\t\tif (this.trigger) {\n\t\t\tthis.trigger.setAttribute(\"wcag-controls\", this.listId)\n\t\t\tthis.trigger.setAttribute(\"wcag-has-popup\", toBoolAttr(!!this.list))\n\t\t\tthis.trigger.setAttribute(\"identifier\", this.controlId)\n\n\t\t\tthis.trigger.addEventListener(\"gov-click\", (e) => {\n\t\t\t\te.preventDefault()\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.open = !this.open\n\n\t\t\t\tthis.govChange.emit({\n\t\t\t\t\tcomponent: DropdownClass.root,\n\t\t\t\t\toriginalEvent: e,\n\t\t\t\t\topen: this.open,\n\t\t\t\t})\n\t\t\t})\n\t\t}\n\t}\n\n\tget trigger() {\n\t\treturn this.host.querySelector(`* > ${ButtonClass.root}`) as HTMLGovButtonElement\n\t}\n\n\tget list() {\n\t\treturn this.h.getSlot(\"list\") as Nullable<HTMLUListElement>\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes([DropdownClass.root])} open={this.open} position={this.position}>\n\t\t\t\t<slot></slot>\n\t\t\t\t<div\n\t\t\t\t\tref={el => registerClickOutside(this, el, () => this.open = false)}\n\t\t\t\t\tclass={DropdownClass.list}\n\t\t\t\t\tid={this.listId}\n\t\t\t\t\taria-labelledby={this.controlId}\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\thidden={!this.open}>\n\t\t\t\t\t<slot name=\"list\"></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns the current state of the dropdown\n\t */\n\t@Method()\n\tasync getState() {\n\t\treturn this.open\n\t}\n\n\t/**\n\t * Sets the dropdown state\n\t */\n\t@Method()\n\tasync setOpen(state: boolean) {\n\t\tthis.open = state\n\t}\n}\n"],"mappings":"2PACA,MAAMA,EAA8B,CAChCC,cAAe,QACfC,QAAS,IA2CN,SAASC,EAAqBC,EAAWC,EAASC,EAAUC,EAAMP,GACrE,MAAMQ,EAAgBC,EAAiBF,GACvCG,EAAiBH,GAAKI,SAAQC,IAC1BC,OAAOC,iBAAiBF,GAAeG,IACnCC,EAAiBD,EAAGX,EAAWC,EAASC,EAAUE,EAAc,GACjE,MAAM,GAEjB,CAWA,SAASQ,EAAiBC,EAAOb,EAAWC,EAASC,EAAUE,GAC3D,MAAMU,EAASD,EAAMC,OACrB,IAAKb,EAAQc,SAASD,KAAYE,EAAWF,EAAQV,GAAgB,CACjEF,EAASe,KAAKjB,EACtB,CACA,CACA,SAASM,EAAiBH,GACtB,GAAIA,EAAIN,cAAe,CACnB,OAAOM,EAAIN,cAAcqB,MAAM,KAAKC,KAAIR,GAAKA,EAAES,QACvD,CACI,MAAO,CAAC,QACZ,CACA,SAASf,EAAiBF,GACtB,GAAIA,EAAIL,QAAS,CACb,IACI,OAAOuB,MAAMC,KAAKC,SAASC,iBAAiBrB,EAAIL,SAC5D,CACQ,MAAO2B,GACHC,QAAQC,KAAK,4BAA4BxB,EAAIL,sEAAuE2B,EAChI,CACA,CACI,MACJ,CACA,SAAST,EAAWF,EAAQc,GACxB,GAAId,GAAUc,EAAc,CACxB,IAAK,IAAIC,KAAgBD,EAAc,CACnC,GAAIC,EAAad,SAASD,GAAS,CAC/B,OAAO,IACvB,CACA,CACA,CACI,OAAO,KACX,CC9FA,IAAYgB,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,gBACA,EAHD,CAAYA,MAAQ,KAOb,MAAMC,EAAgB,CAC5BC,KAAM,eACNC,KAAM,sBCXP,MAAMC,EAAiB,g6B,MCcVC,EAAW,MAKvB,WAAAC,CAAAC,G,0DAUgC,M,cAIUP,EAASQ,KAblDC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,OAASC,EAAS,mBACvBL,KAAKM,UAAYD,EAAS,qB,CAiB3B,iBAAAE,GACC,GAAIP,KAAKQ,QAAS,CACjBR,KAAKQ,QAAQC,aAAa,gBAAiBT,KAAKI,QAChDJ,KAAKQ,QAAQC,aAAa,iBAAkBC,IAAaV,KAAKN,OAC9DM,KAAKQ,QAAQC,aAAa,aAAcT,KAAKM,WAE7CN,KAAKQ,QAAQrC,iBAAiB,aAAcC,IAC3CA,EAAEuC,iBACFvC,EAAEwC,kBACFZ,KAAKa,MAAQb,KAAKa,KAElBb,KAAKc,UAAUC,KAAK,CACnBtD,UAAW+B,EAAcC,KACzBuB,cAAe5C,EACfyC,KAAMb,KAAKa,MACV,G,EAKL,WAAIL,GACH,OAAOR,KAAKG,KAAKc,cAAc,OAAOC,EAAYzB,O,CAGnD,QAAIC,GACH,OAAOM,KAAKC,EAAEkB,QAAQ,O,CAGvB,MAAAC,GACC,OACCnB,EAACoB,EAAI,CAACC,MAAOtB,KAAKC,EAAEsB,QAAQ,CAAC/B,EAAcC,OAAQoB,KAAMb,KAAKa,KAAMW,SAAUxB,KAAKwB,UAClFvB,EAAA,aACAA,EAAA,OACCwB,IAAKC,GAAMlE,EAAqBwC,KAAM0B,GAAI,IAAM1B,KAAKa,KAAO,QAC5DS,MAAO9B,EAAcE,KACrBiC,GAAI3B,KAAKI,OAAM,kBACEJ,KAAKM,UAAS,cAClBI,GAAYV,KAAKa,MAC9Be,QAAS5B,KAAKa,MACdZ,EAAA,QAAM4B,KAAK,U,CAUf,cAAMC,GACL,OAAO9B,KAAKa,I,CAOb,aAAMkB,CAAQC,GACbhC,KAAKa,KAAOmB,C"}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as i,a as s,g as a}from"./p-5bc604a3.js";import{v as o}from"./p-dcb5fb35.js";import{S as t}from"./p-55500e5a.js";import{p as r}from"./p-03990da5.js";import{g as p}from"./p-28e59384.js";import"./p-7f2c9830.js";import"./p-003e6cca.js";const n=r(t,["_2XS","_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL"]);var c;(function(e){e["NONE"]="none";e["SM"]="sm";e["MD"]="md";e["LG"]="lg";e["XL"]="xl"})(c||(c={}));const m={root:"gov-spacer"};const g='.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-spacer{position:relative;display:block;width:100%}.gov-spacer[size=unset]{height:0}.gov-spacer[size="2xs"]{height:0.25rem}.gov-spacer[size=xs]{height:0.5rem}.gov-spacer[size=s]{height:0.75rem}.gov-spacer[size=m]{height:1rem}.gov-spacer[size=l]{height:1.25rem}.gov-spacer[size=xl]{height:1.75rem}.gov-spacer[size="2xl"]{height:2rem}.gov-spacer[size="3xl"]{height:3rem}.gov-spacer[size="4xl"]{height:4.5rem}.gov-spacer[breakpoint=none]{display:none}.gov-spacer[breakpoint=sm]{display:none}@media (min-width: 30em){.gov-spacer[breakpoint=sm]{display:block}}.gov-spacer[breakpoint=md]{display:none}@media (min-width: 48em){.gov-spacer[breakpoint=md]{display:block}}.gov-spacer[breakpoint=lg]{display:none}@media (min-width: 64em){.gov-spacer[breakpoint=lg]{display:block}}.gov-spacer[breakpoint=xl]{display:none}@media (min-width: 75em){.gov-spacer[breakpoint=xl]{display:block}}';const h=class{constructor(i){e(this,i);this.size=undefined;this.breakpoint=undefined;this.h=p(this.host)}validateSize(e){o(n,e,m.root)}validateBreakpoint(e){o(c,e,m.root)}componentWillLoad(){this.validateSize(this.size);this.validateBreakpoint(this.breakpoint)}render(){return i(s,{class:this.h.classes(m.root),size:this.size,breakpoint:this.breakpoint})}get host(){return a(this)}static get watchers(){return{size:["validateSize"],breakpoint:["validateBreakpoint"]}}};h.style=g;export{h as gov_spacer};
2
+ //# sourceMappingURL=p-83e998d8.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SpacerSize","pick","Sizes","SpacerBreakpoints","SpacerClass","root","govSpacerCss","GovSpacer","constructor","hostRef","undefined","this","h","govHost","host","validateSize","newValue","validateProp","validateBreakpoint","componentWillLoad","size","breakpoint","render","Host","class","classes"],"sources":["../../../packages/core/src/components/gov-spacer/constants.tsx","../../../packages/core/src/components/gov-spacer/gov-spacer.scss?tag=gov-spacer","../../../packages/core/src/components/gov-spacer/gov-spacer.tsx"],"sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const SpacerSize = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL'])\nexport type SpacerSizeType = `${ValueOf<typeof SpacerSize>}`\n\nexport enum SpacerBreakpoints {\n\tNONE = 'none',\n\tSM = 'sm',\n\tMD = 'md',\n\tLG = 'lg',\n\tXL = 'xl',\n}\nexport type SpacerBreakpointsType = `${ValueOf<typeof SpacerBreakpoints>}`\n\nexport const SpacerClass = {\n\troot: 'gov-spacer',\n}\n","/*\n * Spacer\n */\n\n$class: \".gov-spacer\";\n\n#{$class} {\n\t@include base();\n\n\t// VARIANTS\n\t@each $name, $value in $sizes {\n\t\t&[size=\"#{$name}\"] {\n\t\t\theight: #{$value};\n\t\t}\n\t}\n\t@each $name, $value in $mq-breakpoints {\n\t\t&[breakpoint=\"#{$name}\"] {\n\t\t\tdisplay: none;\n\n\t\t\t@if #{$value} != \"0\" {\n\t\t\t\t@include mq($from: #{$name}) {\n\t\t\t\t\tdisplay: block;\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 { validateProp } from '../../helpers/Validate/props'\nimport { SpacerBreakpoints, SpacerBreakpointsType, SpacerClass, SpacerSize, SpacerSizeType } from './constants'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-spacer',\n\tstyleUrl: 'gov-spacer.scss',\n})\nexport class GovSpacer {\n\tprivate h: GovHost\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t@Element() host: HTMLGovSpacerElement\n\t/**\n\t * Spacer’s size\n\t */\n\t@Prop() readonly size?: SpacerSizeType\n\t/**\n\t * Breakpoint\n\t */\n\t@Prop() readonly breakpoint?: SpacerBreakpointsType = undefined\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SpacerSize, newValue, SpacerClass.root)\n\t}\n\n\t@Watch('breakpoint')\n\tvalidateBreakpoint(newValue: string): void {\n\t\tvalidateProp(SpacerBreakpoints, newValue, SpacerClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateBreakpoint(this.breakpoint)\n\t}\n\n\trender() {\n\t\treturn <Host class={this.h.classes(SpacerClass.root)} size={this.size} breakpoint={this.breakpoint}></Host>\n\t}\n}\n"],"mappings":"yPAIO,MAAMA,EAAaC,EAAKC,EAAO,CAAC,OAAQ,MAAO,KAAM,KAAM,KAAM,MAAO,OAAQ,OAAQ,SAG/F,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,WACAA,EAAA,WACAA,EAAA,WACAA,EAAA,UACA,EAND,CAAYA,MAAiB,KAStB,MAAMC,EAAc,CAC1BC,KAAM,cCjBP,MAAMC,EAAe,ysC,MCURC,EAAS,MAErB,WAAAC,CAAAC,G,8CAWsDC,UAVrDC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,YAAAC,CAAaC,GACZC,EAAajB,EAAYgB,EAAUZ,EAAYC,K,CAIhD,kBAAAa,CAAmBF,GAClBC,EAAad,EAAmBa,EAAUZ,EAAYC,K,CAGvD,iBAAAc,GACCR,KAAKI,aAAaJ,KAAKS,MACvBT,KAAKO,mBAAmBP,KAAKU,W,CAG9B,MAAAC,GACC,OAAOV,EAACW,EAAI,CAACC,MAAOb,KAAKC,EAAEa,QAAQrB,EAAYC,MAAOe,KAAMT,KAAKS,KAAMC,WAAYV,KAAKU,Y"}
@@ -0,0 +1,2 @@
1
+ import{r as o,h as r,a as e,g as i}from"./p-5bc604a3.js";import{g as t}from"./p-28e59384.js";const n={root:"gov-error-code",icon:"gov-error-code__icon",holder:"gov-error-code__holder",content:"gov-error-code__content"};const a=".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-error-code{position:relative;display:block;width:100%}.gov-error-code__holder{margin:0 auto;text-align:center}.gov-error-code__content>*:last-child{margin-bottom:0}.gov-error-code__icon{display:flex;justify-content:center;align-items:center;width:9.375rem;height:9.375rem;margin:0 auto 1.5rem;border-radius:50%;background:var(--gov-error-icon-circle-bg, linear-gradient(to bottom, var(--gov-color-primary-200), var(--gov-color-neutral-white)));color:var(--gov-error-icon-color, var(--gov-color-primary))}.gov-error-code__icon>*{width:6.5625rem;height:6.5625rem}@media (min-width: 48em){.gov-error-code__icon{width:12.5rem;height:12.5rem;margin:0 auto 2rem}.gov-error-code__icon>*{width:8.75rem;height:8.75rem}}";const c=class{constructor(r){o(this,r);this.h=t(this.host)}render(){return r(e,{class:this.h.classes(n.root)},r("div",{class:n.holder},this.h.hasSlot("icon")&&r("div",{class:n.icon},r("slot",{name:"icon"})),r("div",{class:n.content},r("slot",null))))}get host(){return i(this)}};c.style=a;export{c as gov_error_code};
2
+ //# sourceMappingURL=p-89b3e4d4.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ErrorCodeClass","root","icon","holder","content","govErrorCodeCss","GovErrorCode","constructor","hostRef","this","h","govHost","host","render","Host","class","classes","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-error-code/constants.ts","../../../packages/core/src/components/gov-error-code/gov-error-code.scss?tag=gov-error-code","../../../packages/core/src/components/gov-error-code/gov-error-code.tsx"],"sourcesContent":["export const ErrorCodeClass = {\n\troot: 'gov-error-code',\n\ticon: 'gov-error-code__icon',\n\tholder: 'gov-error-code__holder',\n\tcontent: 'gov-error-code__content',\n}\n","/*\n * Alert\n */\n\n$class: \".gov-error-code\";\n\n#{$class} {\n\t@include base();\n\t&__holder {\n\t\tmargin: 0 auto;\n\t\ttext-align: center;\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t}\n\t&__icon {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: rem-calc(150);\n\t\theight: rem-calc(150);\n\t\tmargin: 0 auto rem-calc(24);\n\t\tborder-radius: 50%;\n\t\tbackground: $error-icon-circle-bg;\n\t\tcolor: $error-icon-color;\n\t\t& > * {\n\t\t\twidth: rem-calc(105);\n\t\t\theight: rem-calc(105);\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: md) {\n\t\t&__icon {\n\t\t\twidth: rem-calc(200);\n\t\t\theight: rem-calc(200);\n\t\t\tmargin: 0 auto rem-calc(32);\n\t\t\t& > * {\n\t\t\t\twidth: rem-calc(140);\n\t\t\t\theight: rem-calc(140);\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host } from '@stencil/core'\nimport { ErrorCodeClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-error-code',\n\tstyleUrl: 'gov-error-code.scss',\n})\nexport class GovErrorCode {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovErrorCodeElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ErrorCodeClass.root)}>\n\t\t\t\t<div class={ErrorCodeClass.holder}>\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={ErrorCodeClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={ErrorCodeClass.content}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6FAAO,MAAMA,EAAiB,CAC7BC,KAAM,iBACNC,KAAM,uBACNC,OAAQ,yBACRC,QAAS,2BCJV,MAAMC,EAAkB,oiC,MCSXC,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAKvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAACC,MAAON,KAAKC,EAAEM,QAAQhB,EAAeC,OAC1CS,EAAA,OAAKK,MAAOf,EAAeG,QACzBM,KAAKC,EAAEO,QAAQ,SACfP,EAAA,OAAKK,MAAOf,EAAeE,MAC1BQ,EAAA,QAAMQ,KAAK,UAGbR,EAAA,OAAKK,MAAOf,EAAeI,SAC1BM,EAAA,e"}
@@ -0,0 +1,2 @@
1
+ import{V as e}from"./p-ff7365ae.js";import{S as t}from"./p-55500e5a.js";import{p as o}from"./p-03990da5.js";const p=o(e,["PRIMARY","SECONDARY","WARNING","ERROR","SUCCESS"]);const s=o(t,["_XS","_S","_M"]);const r={root:"gov-stepper"};const i={root:"gov-stepper-item",rootWithAnnot:"gov-stepper-item gov-stepper-item--w-annot",header:"gov-stepper-item__header",title:"gov-stepper-item__title",label:"gov-stepper-item__label",name:"gov-stepper-item__name",annot:"gov-stepper-item__annot",prefix:"gov-stepper-item__prefix",content:"gov-stepper-item__content",suffix:"gov-stepper-item__suffix"};export{i as S,r as a,s as b,p as c};
2
+ //# sourceMappingURL=p-9144dde1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StepperVariants","pick","Variants","StepperSizes","Sizes","StepperClass","root","StepperItemClass","rootWithAnnot","header","title","label","name","annot","prefix","content","suffix"],"sources":["../../../packages/core/src/components/gov-stepper/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const StepperVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type StepperVariantType = `${ValueOf<typeof StepperVariants>}`\n\nexport const StepperSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type StepperSizesType = `${ValueOf<typeof StepperSizes>}`\n\nexport const StepperClass = {\n\troot: 'gov-stepper',\n}\n\nexport const StepperItemClass = {\n\troot: 'gov-stepper-item',\n\trootWithAnnot: 'gov-stepper-item gov-stepper-item--w-annot',\n\theader: 'gov-stepper-item__header',\n\ttitle: 'gov-stepper-item__title',\n\tlabel: 'gov-stepper-item__label',\n\tname: 'gov-stepper-item__name',\n\tannot: 'gov-stepper-item__annot',\n\tprefix: 'gov-stepper-item__prefix',\n\tcontent: 'gov-stepper-item__content',\n\tsuffix: 'gov-stepper-item__suffix',\n}\n"],"mappings":"kHAKaA,EAAkBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,Y,MAG9EC,EAAeF,EAAKG,EAAO,CAAC,MAAO,KAAM,O,MAGzCC,EAAe,CAC3BC,KAAM,e,MAGMC,EAAmB,CAC/BD,KAAM,mBACNE,cAAe,6CACfC,OAAQ,2BACRC,MAAO,0BACPC,MAAO,0BACPC,KAAM,yBACNC,MAAO,0BACPC,OAAQ,2BACRC,QAAS,4BACTC,OAAQ,mC"}