@gov-design-system-ce/components 4.0.5-alpha.1 → 4.0.5

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/LICENSE +21 -0
  2. package/package.json +1 -1
  3. package/readme.md +8 -0
  4. package/dist/cjs/Fragment-52846f79.js +0 -7
  5. package/dist/cjs/Fragment-52846f79.js.map +0 -1
  6. package/dist/cjs/constants-0c6c8e11.js +0 -30
  7. package/dist/cjs/constants-0c6c8e11.js.map +0 -1
  8. package/dist/cjs/constants-1490a5eb.js +0 -25
  9. package/dist/cjs/constants-1490a5eb.js.map +0 -1
  10. package/dist/cjs/constants-20b3f7ee.js +0 -28
  11. package/dist/cjs/constants-20b3f7ee.js.map +0 -1
  12. package/dist/cjs/constants-25f7a6be.js +0 -22
  13. package/dist/cjs/constants-25f7a6be.js.map +0 -1
  14. package/dist/cjs/constants-2b1c31b8.js +0 -15
  15. package/dist/cjs/constants-2b1c31b8.js.map +0 -1
  16. package/dist/cjs/constants-427a2843.js +0 -33
  17. package/dist/cjs/constants-427a2843.js.map +0 -1
  18. package/dist/cjs/constants-440cd5c8.js +0 -29
  19. package/dist/cjs/constants-440cd5c8.js.map +0 -1
  20. package/dist/cjs/constants-61f8be34.js +0 -26
  21. package/dist/cjs/constants-61f8be34.js.map +0 -1
  22. package/dist/cjs/constants-66cb0615.js +0 -20
  23. package/dist/cjs/constants-66cb0615.js.map +0 -1
  24. package/dist/cjs/constants-6df82618.js +0 -21
  25. package/dist/cjs/constants-6df82618.js.map +0 -1
  26. package/dist/cjs/constants-97eea364.js +0 -14
  27. package/dist/cjs/constants-97eea364.js.map +0 -1
  28. package/dist/cjs/constants-a31344ad.js +0 -37
  29. package/dist/cjs/constants-a31344ad.js.map +0 -1
  30. package/dist/cjs/constants-caad94b4.js +0 -16
  31. package/dist/cjs/constants-caad94b4.js.map +0 -1
  32. package/dist/cjs/constants-dde21dcf.js +0 -30
  33. package/dist/cjs/constants-dde21dcf.js.map +0 -1
  34. package/dist/cjs/constants-ded92f8a.js +0 -13
  35. package/dist/cjs/constants-ded92f8a.js.map +0 -1
  36. package/dist/cjs/core.cjs.js +0 -48
  37. package/dist/cjs/core.cjs.js.map +0 -1
  38. package/dist/cjs/form-74063d50.js +0 -163
  39. package/dist/cjs/form-74063d50.js.map +0 -1
  40. package/dist/cjs/gov-accordion-item.cjs.entry.js +0 -102
  41. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +0 -1
  42. package/dist/cjs/gov-accordion.cjs.entry.js +0 -77
  43. package/dist/cjs/gov-accordion.cjs.entry.js.map +0 -1
  44. package/dist/cjs/gov-attachments_3.cjs.entry.js +0 -120
  45. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +0 -1
  46. package/dist/cjs/gov-backdrop.cjs.entry.js +0 -50
  47. package/dist/cjs/gov-backdrop.cjs.entry.js.map +0 -1
  48. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +0 -50
  49. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +0 -1
  50. package/dist/cjs/gov-button.cjs.entry.js +0 -180
  51. package/dist/cjs/gov-button.cjs.entry.js.map +0 -1
  52. package/dist/cjs/gov-card.cjs.entry.js +0 -112
  53. package/dist/cjs/gov-card.cjs.entry.js.map +0 -1
  54. package/dist/cjs/gov-chip.cjs.entry.js +0 -108
  55. package/dist/cjs/gov-chip.cjs.entry.js.map +0 -1
  56. package/dist/cjs/gov-container.cjs.entry.js +0 -36
  57. package/dist/cjs/gov-container.cjs.entry.js.map +0 -1
  58. package/dist/cjs/gov-control-group.cjs.entry.js +0 -43
  59. package/dist/cjs/gov-control-group.cjs.entry.js.map +0 -1
  60. package/dist/cjs/gov-cookiebar.cjs.entry.js +0 -33
  61. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +0 -1
  62. package/dist/cjs/gov-dropdown.cjs.entry.js +0 -135
  63. package/dist/cjs/gov-dropdown.cjs.entry.js.map +0 -1
  64. package/dist/cjs/gov-empty.cjs.entry.js +0 -31
  65. package/dist/cjs/gov-empty.cjs.entry.js.map +0 -1
  66. package/dist/cjs/gov-error-code.cjs.entry.js +0 -31
  67. package/dist/cjs/gov-error-code.cjs.entry.js.map +0 -1
  68. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +0 -245
  69. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +0 -1
  70. package/dist/cjs/gov-form-checkbox.cjs.entry.js +0 -131
  71. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +0 -1
  72. package/dist/cjs/gov-form-control.cjs.entry.js +0 -107
  73. package/dist/cjs/gov-form-control.cjs.entry.js.map +0 -1
  74. package/dist/cjs/gov-form-file.cjs.entry.js +0 -240
  75. package/dist/cjs/gov-form-file.cjs.entry.js.map +0 -1
  76. package/dist/cjs/gov-form-group.cjs.entry.js +0 -59
  77. package/dist/cjs/gov-form-group.cjs.entry.js.map +0 -1
  78. package/dist/cjs/gov-form-input.cjs.entry.js +0 -190
  79. package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
  80. package/dist/cjs/gov-form-label.cjs.entry.js +0 -30
  81. package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
  82. package/dist/cjs/gov-form-multi-select.cjs.entry.js +0 -304
  83. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +0 -1
  84. package/dist/cjs/gov-form-password-power.cjs.entry.js +0 -28
  85. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +0 -1
  86. package/dist/cjs/gov-form-radio.cjs.entry.js +0 -131
  87. package/dist/cjs/gov-form-radio.cjs.entry.js.map +0 -1
  88. package/dist/cjs/gov-form-search.cjs.entry.js +0 -32
  89. package/dist/cjs/gov-form-search.cjs.entry.js.map +0 -1
  90. package/dist/cjs/gov-form-select.cjs.entry.js +0 -167
  91. package/dist/cjs/gov-form-select.cjs.entry.js.map +0 -1
  92. package/dist/cjs/gov-form-switch.cjs.entry.js +0 -131
  93. package/dist/cjs/gov-form-switch.cjs.entry.js.map +0 -1
  94. package/dist/cjs/gov-grid-item.cjs.entry.js +0 -30
  95. package/dist/cjs/gov-grid-item.cjs.entry.js.map +0 -1
  96. package/dist/cjs/gov-grid.cjs.entry.js +0 -28
  97. package/dist/cjs/gov-grid.cjs.entry.js.map +0 -1
  98. package/dist/cjs/gov-icon.cjs.entry.js +0 -135
  99. package/dist/cjs/gov-icon.cjs.entry.js.map +0 -1
  100. package/dist/cjs/gov-infobar.cjs.entry.js +0 -91
  101. package/dist/cjs/gov-infobar.cjs.entry.js.map +0 -1
  102. package/dist/cjs/gov-layout-column.cjs.entry.js +0 -25
  103. package/dist/cjs/gov-layout-column.cjs.entry.js.map +0 -1
  104. package/dist/cjs/gov-layout.cjs.entry.js +0 -34
  105. package/dist/cjs/gov-layout.cjs.entry.js.map +0 -1
  106. package/dist/cjs/gov-loading.cjs.entry.js +0 -30
  107. package/dist/cjs/gov-loading.cjs.entry.js.map +0 -1
  108. package/dist/cjs/gov-message.cjs.entry.js +0 -44
  109. package/dist/cjs/gov-message.cjs.entry.js.map +0 -1
  110. package/dist/cjs/gov-modal.cjs.entry.js +0 -106
  111. package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
  112. package/dist/cjs/gov-nav-item.cjs.entry.js +0 -39
  113. package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
  114. package/dist/cjs/gov-nav.cjs.entry.js +0 -42
  115. package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
  116. package/dist/cjs/gov-pagination.cjs.entry.js +0 -224
  117. package/dist/cjs/gov-pagination.cjs.entry.js.map +0 -1
  118. package/dist/cjs/gov-prompt.cjs.entry.js +0 -103
  119. package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
  120. package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -87
  121. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
  122. package/dist/cjs/gov-side-nav.cjs.entry.js +0 -56
  123. package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
  124. package/dist/cjs/gov-skeleton.cjs.entry.js +0 -117
  125. package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
  126. package/dist/cjs/gov-spacer.cjs.entry.js +0 -58
  127. package/dist/cjs/gov-spacer.cjs.entry.js.map +0 -1
  128. package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -40
  129. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
  130. package/dist/cjs/gov-statsbar.cjs.entry.js +0 -53
  131. package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
  132. package/dist/cjs/gov-stepper-item.cjs.entry.js +0 -78
  133. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +0 -1
  134. package/dist/cjs/gov-stepper.cjs.entry.js +0 -51
  135. package/dist/cjs/gov-stepper.cjs.entry.js.map +0 -1
  136. package/dist/cjs/gov-tabs-item.cjs.entry.js +0 -53
  137. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +0 -1
  138. package/dist/cjs/gov-tabs.cjs.entry.js +0 -198
  139. package/dist/cjs/gov-tabs.cjs.entry.js.map +0 -1
  140. package/dist/cjs/gov-tag.cjs.entry.js +0 -57
  141. package/dist/cjs/gov-tag.cjs.entry.js.map +0 -1
  142. package/dist/cjs/gov-tile.cjs.entry.js +0 -42
  143. package/dist/cjs/gov-tile.cjs.entry.js.map +0 -1
  144. package/dist/cjs/gov-tiles.cjs.entry.js +0 -33
  145. package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
  146. package/dist/cjs/gov-toast.cjs.entry.js +0 -101
  147. package/dist/cjs/gov-toast.cjs.entry.js.map +0 -1
  148. package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -54
  149. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
  150. package/dist/cjs/gov-tooltip.cjs.entry.js +0 -224
  151. package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
  152. package/dist/cjs/gov-wizard-item.cjs.entry.js +0 -115
  153. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +0 -1
  154. package/dist/cjs/gov-wizard.cjs.entry.js +0 -69
  155. package/dist/cjs/gov-wizard.cjs.entry.js.map +0 -1
  156. package/dist/cjs/gov.log-b842920d.js +0 -28
  157. package/dist/cjs/gov.log-b842920d.js.map +0 -1
  158. package/dist/cjs/helpers-2c870ff5.js +0 -19
  159. package/dist/cjs/helpers-2c870ff5.js.map +0 -1
  160. package/dist/cjs/index-7b6bba34.js +0 -2713
  161. package/dist/cjs/index-7b6bba34.js.map +0 -1
  162. package/dist/cjs/index.cjs.js +0 -4
  163. package/dist/cjs/index.cjs.js.map +0 -1
  164. package/dist/cjs/loader.cjs.js +0 -15
  165. package/dist/cjs/loader.cjs.js.map +0 -1
  166. package/dist/cjs/props-d6146e54.js +0 -16
  167. package/dist/cjs/props-d6146e54.js.map +0 -1
  168. package/dist/cjs/sizes-79872c2a.js +0 -18
  169. package/dist/cjs/sizes-79872c2a.js.map +0 -1
  170. package/dist/cjs/string.utils-0f08c48c.js +0 -24
  171. package/dist/cjs/string.utils-0f08c48c.js.map +0 -1
  172. package/dist/cjs/template-4b951d1d.js +0 -128
  173. package/dist/cjs/template-4b951d1d.js.map +0 -1
  174. package/dist/cjs/utils-c9b1bba3.js +0 -41
  175. package/dist/cjs/utils-c9b1bba3.js.map +0 -1
  176. package/dist/cjs/variants-f5ffeef3.js +0 -18
  177. package/dist/cjs/variants-f5ffeef3.js.map +0 -1
  178. package/dist/cjs/wcag-e6257f27.js +0 -67
  179. package/dist/cjs/wcag-e6257f27.js.map +0 -1
  180. package/dist/cjs/win-5521073d.js +0 -39
  181. package/dist/cjs/win-5521073d.js.map +0 -1
  182. package/dist/collection/collection-manifest.json +0 -71
  183. package/dist/collection/components/gov-accordion/constants.js +0 -21
  184. package/dist/collection/components/gov-accordion/constants.js.map +0 -1
  185. package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
  186. package/dist/collection/components/gov-accordion/gov-accordion-item.js +0 -304
  187. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +0 -1
  188. package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
  189. package/dist/collection/components/gov-accordion/gov-accordion.js +0 -226
  190. package/dist/collection/components/gov-accordion/gov-accordion.js.map +0 -1
  191. package/dist/collection/components/gov-accordion/gov-accordion.types.js +0 -2
  192. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +0 -1
  193. package/dist/collection/components/gov-attachments/constants.js +0 -12
  194. package/dist/collection/components/gov-attachments/constants.js.map +0 -1
  195. package/dist/collection/components/gov-attachments/gov-attachments-item.css +0 -261
  196. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +0 -2
  197. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +0 -1
  198. package/dist/collection/components/gov-attachments/gov-attachments-item.js +0 -123
  199. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +0 -1
  200. package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
  201. package/dist/collection/components/gov-attachments/gov-attachments.js +0 -100
  202. package/dist/collection/components/gov-attachments/gov-attachments.js.map +0 -1
  203. package/dist/collection/components/gov-backdrop/constants.js +0 -5
  204. package/dist/collection/components/gov-backdrop/constants.js.map +0 -1
  205. package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
  206. package/dist/collection/components/gov-backdrop/gov-backdrop.js +0 -142
  207. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +0 -1
  208. package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
  209. package/dist/collection/components/gov-breadcrumbs/constants.js.map +0 -1
  210. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -279
  211. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +0 -2
  212. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +0 -1
  213. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +0 -162
  214. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +0 -1
  215. package/dist/collection/components/gov-button/button/constants.js +0 -29
  216. package/dist/collection/components/gov-button/button/constants.js.map +0 -1
  217. package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
  218. package/dist/collection/components/gov-button/button/gov-button.js +0 -891
  219. package/dist/collection/components/gov-button/button/gov-button.js.map +0 -1
  220. package/dist/collection/components/gov-button/button/gov-button.types.js +0 -2
  221. package/dist/collection/components/gov-button/button/gov-button.types.js.map +0 -1
  222. package/dist/collection/components/gov-button/dropdown/constants.js +0 -10
  223. package/dist/collection/components/gov-button/dropdown/constants.js.map +0 -1
  224. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
  225. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +0 -177
  226. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +0 -1
  227. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +0 -2
  228. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +0 -1
  229. package/dist/collection/components/gov-card/constants.js +0 -14
  230. package/dist/collection/components/gov-card/constants.js.map +0 -1
  231. package/dist/collection/components/gov-card/gov-card.css +0 -377
  232. package/dist/collection/components/gov-card/gov-card.js +0 -311
  233. package/dist/collection/components/gov-card/gov-card.js.map +0 -1
  234. package/dist/collection/components/gov-card/interfaces.js +0 -2
  235. package/dist/collection/components/gov-card/interfaces.js.map +0 -1
  236. package/dist/collection/components/gov-chip/constants.js +0 -13
  237. package/dist/collection/components/gov-chip/constants.js.map +0 -1
  238. package/dist/collection/components/gov-chip/gov-chip.css +0 -1255
  239. package/dist/collection/components/gov-chip/gov-chip.js +0 -462
  240. package/dist/collection/components/gov-chip/gov-chip.js.map +0 -1
  241. package/dist/collection/components/gov-container/constants.js +0 -4
  242. package/dist/collection/components/gov-container/constants.js.map +0 -1
  243. package/dist/collection/components/gov-container/gov-container.css +0 -247
  244. package/dist/collection/components/gov-container/gov-container.js +0 -60
  245. package/dist/collection/components/gov-container/gov-container.js.map +0 -1
  246. package/dist/collection/components/gov-control-group/constants.js +0 -7
  247. package/dist/collection/components/gov-control-group/constants.js.map +0 -1
  248. package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
  249. package/dist/collection/components/gov-control-group/gov-control-group.js +0 -84
  250. package/dist/collection/components/gov-control-group/gov-control-group.js.map +0 -1
  251. package/dist/collection/components/gov-cookiebar/constants.js +0 -9
  252. package/dist/collection/components/gov-cookiebar/constants.js.map +0 -1
  253. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
  254. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +0 -24
  255. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +0 -1
  256. package/dist/collection/components/gov-empty/constants.js +0 -7
  257. package/dist/collection/components/gov-empty/constants.js.map +0 -1
  258. package/dist/collection/components/gov-empty/gov-empty.css +0 -255
  259. package/dist/collection/components/gov-empty/gov-empty.js +0 -24
  260. package/dist/collection/components/gov-empty/gov-empty.js.map +0 -1
  261. package/dist/collection/components/gov-error-code/constants.js +0 -7
  262. package/dist/collection/components/gov-error-code/constants.js.map +0 -1
  263. package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
  264. package/dist/collection/components/gov-error-code/gov-error-code.js +0 -24
  265. package/dist/collection/components/gov-error-code/gov-error-code.js.map +0 -1
  266. package/dist/collection/components/gov-form/autocomplete/constants.js +0 -13
  267. package/dist/collection/components/gov-form/autocomplete/constants.js.map +0 -1
  268. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -290
  269. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +0 -824
  270. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +0 -1
  271. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +0 -2
  272. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +0 -1
  273. package/dist/collection/components/gov-form/checkbox/constants.js +0 -9
  274. package/dist/collection/components/gov-form/checkbox/constants.js.map +0 -1
  275. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
  276. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +0 -442
  277. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +0 -1
  278. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +0 -2
  279. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +0 -1
  280. package/dist/collection/components/gov-form/control/constants.js +0 -9
  281. package/dist/collection/components/gov-form/control/constants.js.map +0 -1
  282. package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
  283. package/dist/collection/components/gov-form/control/gov-form-control.js +0 -241
  284. package/dist/collection/components/gov-form/control/gov-form-control.js.map +0 -1
  285. package/dist/collection/components/gov-form/file/constants.js +0 -10
  286. package/dist/collection/components/gov-form/file/constants.js.map +0 -1
  287. package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
  288. package/dist/collection/components/gov-form/file/gov-form-file.js +0 -702
  289. package/dist/collection/components/gov-form/file/gov-form-file.js.map +0 -1
  290. package/dist/collection/components/gov-form/file/gov-form-file.types.js +0 -2
  291. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +0 -1
  292. package/dist/collection/components/gov-form/group/constants.js +0 -12
  293. package/dist/collection/components/gov-form/group/constants.js.map +0 -1
  294. package/dist/collection/components/gov-form/group/gov-form-group.css +0 -261
  295. package/dist/collection/components/gov-form/group/gov-form-group.js +0 -102
  296. package/dist/collection/components/gov-form/group/gov-form-group.js.map +0 -1
  297. package/dist/collection/components/gov-form/input/constants.js +0 -29
  298. package/dist/collection/components/gov-form/input/constants.js.map +0 -1
  299. package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
  300. package/dist/collection/components/gov-form/input/gov-form-input.js +0 -930
  301. package/dist/collection/components/gov-form/input/gov-form-input.js.map +0 -1
  302. package/dist/collection/components/gov-form/input/gov-form-input.types.js +0 -2
  303. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +0 -1
  304. package/dist/collection/components/gov-form/label/constants.js +0 -8
  305. package/dist/collection/components/gov-form/label/constants.js.map +0 -1
  306. package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
  307. package/dist/collection/components/gov-form/label/gov-form-label.js +0 -130
  308. package/dist/collection/components/gov-form/label/gov-form-label.js.map +0 -1
  309. package/dist/collection/components/gov-form/message/constants.js +0 -9
  310. package/dist/collection/components/gov-form/message/constants.js.map +0 -1
  311. package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
  312. package/dist/collection/components/gov-form/message/gov-form-message.js +0 -95
  313. package/dist/collection/components/gov-form/message/gov-form-message.js.map +0 -1
  314. package/dist/collection/components/gov-form/multiselect/constants.js +0 -12
  315. package/dist/collection/components/gov-form/multiselect/constants.js.map +0 -1
  316. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -639
  317. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +0 -936
  318. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +0 -1
  319. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +0 -2
  320. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +0 -1
  321. package/dist/collection/components/gov-form/password-power/constants.js +0 -6
  322. package/dist/collection/components/gov-form/password-power/constants.js.map +0 -1
  323. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
  324. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +0 -43
  325. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +0 -1
  326. package/dist/collection/components/gov-form/radio/constants.js +0 -11
  327. package/dist/collection/components/gov-form/radio/constants.js.map +0 -1
  328. package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
  329. package/dist/collection/components/gov-form/radio/gov-form-radio.js +0 -442
  330. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +0 -1
  331. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +0 -2
  332. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +0 -1
  333. package/dist/collection/components/gov-form/search/constants.js +0 -9
  334. package/dist/collection/components/gov-form/search/constants.js.map +0 -1
  335. package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
  336. package/dist/collection/components/gov-form/search/gov-form-search.js +0 -51
  337. package/dist/collection/components/gov-form/search/gov-form-search.js.map +0 -1
  338. package/dist/collection/components/gov-form/select/constants.js +0 -10
  339. package/dist/collection/components/gov-form/select/constants.js.map +0 -1
  340. package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
  341. package/dist/collection/components/gov-form/select/gov-form-select.js +0 -613
  342. package/dist/collection/components/gov-form/select/gov-form-select.js.map +0 -1
  343. package/dist/collection/components/gov-form/select/gov-form-select.types.js +0 -2
  344. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +0 -1
  345. package/dist/collection/components/gov-form/switch/constants.js +0 -10
  346. package/dist/collection/components/gov-form/switch/constants.js.map +0 -1
  347. package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
  348. package/dist/collection/components/gov-form/switch/gov-form-switch.js +0 -442
  349. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +0 -1
  350. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +0 -2
  351. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +0 -1
  352. package/dist/collection/components/gov-grid/constants.js +0 -7
  353. package/dist/collection/components/gov-grid/constants.js.map +0 -1
  354. package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
  355. package/dist/collection/components/gov-grid/gov-grid-item.js +0 -119
  356. package/dist/collection/components/gov-grid/gov-grid-item.js.map +0 -1
  357. package/dist/collection/components/gov-grid/gov-grid.css +0 -256
  358. package/dist/collection/components/gov-grid/gov-grid.js +0 -65
  359. package/dist/collection/components/gov-grid/gov-grid.js.map +0 -1
  360. package/dist/collection/components/gov-icon/constants.js +0 -11
  361. package/dist/collection/components/gov-icon/constants.js.map +0 -1
  362. package/dist/collection/components/gov-icon/gov-icon.css +0 -250
  363. package/dist/collection/components/gov-icon/gov-icon.js +0 -139
  364. package/dist/collection/components/gov-icon/gov-icon.js.map +0 -1
  365. package/dist/collection/components/gov-icon/helpers.js +0 -14
  366. package/dist/collection/components/gov-icon/helpers.js.map +0 -1
  367. package/dist/collection/components/gov-icon/list.js +0 -282
  368. package/dist/collection/components/gov-icon/list.js.map +0 -1
  369. package/dist/collection/components/gov-infobar/constants.js +0 -13
  370. package/dist/collection/components/gov-infobar/constants.js.map +0 -1
  371. package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
  372. package/dist/collection/components/gov-infobar/gov-infobar.js +0 -246
  373. package/dist/collection/components/gov-infobar/gov-infobar.js.map +0 -1
  374. package/dist/collection/components/gov-infobar/gov-infobar.types.js +0 -2
  375. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +0 -1
  376. package/dist/collection/components/gov-layout/constants.js +0 -19
  377. package/dist/collection/components/gov-layout/constants.js.map +0 -1
  378. package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
  379. package/dist/collection/components/gov-layout/gov-layout-column.js +0 -24
  380. package/dist/collection/components/gov-layout/gov-layout-column.js.map +0 -1
  381. package/dist/collection/components/gov-layout/gov-layout.css +0 -282
  382. package/dist/collection/components/gov-layout/gov-layout.js +0 -102
  383. package/dist/collection/components/gov-layout/gov-layout.js.map +0 -1
  384. package/dist/collection/components/gov-loading/loading/constants.js +0 -6
  385. package/dist/collection/components/gov-loading/loading/constants.js.map +0 -1
  386. package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
  387. package/dist/collection/components/gov-loading/loading/gov-loading.js +0 -24
  388. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +0 -1
  389. package/dist/collection/components/gov-loading/skeleton/constants.js +0 -20
  390. package/dist/collection/components/gov-loading/skeleton/constants.js.map +0 -1
  391. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
  392. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +0 -271
  393. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +0 -1
  394. package/dist/collection/components/gov-message/constants.js +0 -10
  395. package/dist/collection/components/gov-message/constants.js.map +0 -1
  396. package/dist/collection/components/gov-message/gov-message.css +0 -319
  397. package/dist/collection/components/gov-message/gov-message.js +0 -64
  398. package/dist/collection/components/gov-message/gov-message.js.map +0 -1
  399. package/dist/collection/components/gov-modal/constants.js +0 -15
  400. package/dist/collection/components/gov-modal/constants.js.map +0 -1
  401. package/dist/collection/components/gov-modal/gov-modal.css +0 -345
  402. package/dist/collection/components/gov-modal/gov-modal.js +0 -355
  403. package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
  404. package/dist/collection/components/gov-nav/constants.js +0 -9
  405. package/dist/collection/components/gov-nav/constants.js.map +0 -1
  406. package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
  407. package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
  408. package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
  409. package/dist/collection/components/gov-nav/gov-nav.css +0 -254
  410. package/dist/collection/components/gov-nav/gov-nav.js +0 -98
  411. package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
  412. package/dist/collection/components/gov-pagination/constants.js +0 -21
  413. package/dist/collection/components/gov-pagination/constants.js.map +0 -1
  414. package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
  415. package/dist/collection/components/gov-pagination/gov-pagination.js +0 -460
  416. package/dist/collection/components/gov-pagination/gov-pagination.js.map +0 -1
  417. package/dist/collection/components/gov-pagination/gov-pagination.types.js +0 -2
  418. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +0 -1
  419. package/dist/collection/components/gov-pagination/pagination.js +0 -55
  420. package/dist/collection/components/gov-pagination/pagination.js.map +0 -1
  421. package/dist/collection/components/gov-promp/constants.js +0 -13
  422. package/dist/collection/components/gov-promp/constants.js.map +0 -1
  423. package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
  424. package/dist/collection/components/gov-promp/gov-prompt.js +0 -334
  425. package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
  426. package/dist/collection/components/gov-side-nav/constants.js +0 -16
  427. package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
  428. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
  429. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
  430. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
  431. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
  432. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
  433. package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
  434. package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
  435. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
  436. package/dist/collection/components/gov-spacer/constants.js +0 -15
  437. package/dist/collection/components/gov-spacer/constants.js.map +0 -1
  438. package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
  439. package/dist/collection/components/gov-spacer/gov-spacer.js +0 -97
  440. package/dist/collection/components/gov-spacer/gov-spacer.js.map +0 -1
  441. package/dist/collection/components/gov-statsbar/constants.js +0 -18
  442. package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
  443. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
  444. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
  445. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
  446. package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
  447. package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
  448. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
  449. package/dist/collection/components/gov-stepper/constants.js +0 -21
  450. package/dist/collection/components/gov-stepper/constants.js.map +0 -1
  451. package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
  452. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +0 -2
  453. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
  454. package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -250
  455. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
  456. package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
  457. package/dist/collection/components/gov-stepper/gov-stepper.js +0 -99
  458. package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
  459. package/dist/collection/components/gov-tabs/constants.js +0 -25
  460. package/dist/collection/components/gov-tabs/constants.js.map +0 -1
  461. package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
  462. package/dist/collection/components/gov-tabs/gov-tabs-item.js +0 -186
  463. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +0 -1
  464. package/dist/collection/components/gov-tabs/gov-tabs.css +0 -389
  465. package/dist/collection/components/gov-tabs/gov-tabs.js +0 -440
  466. package/dist/collection/components/gov-tabs/gov-tabs.js.map +0 -1
  467. package/dist/collection/components/gov-tabs/gov-tabs.types.js +0 -2
  468. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +0 -1
  469. package/dist/collection/components/gov-tag/constants.js +0 -4
  470. package/dist/collection/components/gov-tag/constants.js.map +0 -1
  471. package/dist/collection/components/gov-tag/gov-tag.css +0 -1259
  472. package/dist/collection/components/gov-tag/gov-tag.js +0 -157
  473. package/dist/collection/components/gov-tag/gov-tag.js.map +0 -1
  474. package/dist/collection/components/gov-tile/constants.js +0 -10
  475. package/dist/collection/components/gov-tile/constants.js.map +0 -1
  476. package/dist/collection/components/gov-tile/container/constants.js +0 -4
  477. package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
  478. package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
  479. package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -70
  480. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
  481. package/dist/collection/components/gov-tile/gov-tile.css +0 -316
  482. package/dist/collection/components/gov-tile/gov-tile.js +0 -108
  483. package/dist/collection/components/gov-tile/gov-tile.js.map +0 -1
  484. package/dist/collection/components/gov-toast/constants.js +0 -13
  485. package/dist/collection/components/gov-toast/constants.js.map +0 -1
  486. package/dist/collection/components/gov-toast/gov-toast.css +0 -403
  487. package/dist/collection/components/gov-toast/gov-toast.js +0 -267
  488. package/dist/collection/components/gov-toast/gov-toast.js.map +0 -1
  489. package/dist/collection/components/gov-tooltip/constants.js +0 -19
  490. package/dist/collection/components/gov-tooltip/constants.js.map +0 -1
  491. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -347
  492. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +0 -159
  493. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +0 -1
  494. package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
  495. package/dist/collection/components/gov-tooltip/gov-tooltip.js +0 -397
  496. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +0 -1
  497. package/dist/collection/components/gov-wizard/constants.js +0 -20
  498. package/dist/collection/components/gov-wizard/constants.js.map +0 -1
  499. package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
  500. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +0 -2
  501. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +0 -1
  502. package/dist/collection/components/gov-wizard/gov-wizard-item.js +0 -387
  503. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +0 -1
  504. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +0 -2
  505. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +0 -1
  506. package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
  507. package/dist/collection/components/gov-wizard/gov-wizard.js +0 -173
  508. package/dist/collection/components/gov-wizard/gov-wizard.js.map +0 -1
  509. package/dist/collection/core/constants/sizes.js +0 -15
  510. package/dist/collection/core/constants/sizes.js.map +0 -1
  511. package/dist/collection/core/constants/tags.js +0 -14
  512. package/dist/collection/core/constants/tags.js.map +0 -1
  513. package/dist/collection/core/constants/tokens.js +0 -17
  514. package/dist/collection/core/constants/tokens.js.map +0 -1
  515. package/dist/collection/core/constants/variants.js +0 -15
  516. package/dist/collection/core/constants/variants.js.map +0 -1
  517. package/dist/collection/data/color-definitions.js +0 -307
  518. package/dist/collection/data/font-definitions.js +0 -94
  519. package/dist/collection/helpers/Dom/form.js +0 -72
  520. package/dist/collection/helpers/Dom/form.js.map +0 -1
  521. package/dist/collection/helpers/Dom/form.types.js +0 -2
  522. package/dist/collection/helpers/Dom/form.types.js.map +0 -1
  523. package/dist/collection/helpers/Dom/template.js +0 -117
  524. package/dist/collection/helpers/Dom/template.js.map +0 -1
  525. package/dist/collection/helpers/Dom/template.types.js +0 -2
  526. package/dist/collection/helpers/Dom/template.types.js.map +0 -1
  527. package/dist/collection/helpers/Dom/win.js +0 -27
  528. package/dist/collection/helpers/Dom/win.js.map +0 -1
  529. package/dist/collection/helpers/Fragment.js +0 -2
  530. package/dist/collection/helpers/Fragment.js.map +0 -1
  531. package/dist/collection/helpers/Log/gov.log.js +0 -21
  532. package/dist/collection/helpers/Log/gov.log.js.map +0 -1
  533. package/dist/collection/helpers/Validate/props.js +0 -10
  534. package/dist/collection/helpers/Validate/props.js.map +0 -1
  535. package/dist/collection/helpers/Validate/wcag.js +0 -58
  536. package/dist/collection/helpers/Validate/wcag.js.map +0 -1
  537. package/dist/collection/index.js +0 -2
  538. package/dist/collection/index.js.map +0 -1
  539. package/dist/collection/pages/Accordion.js +0 -239
  540. package/dist/collection/pages/Accordion.js.map +0 -1
  541. package/dist/collection/pages/Breadcrumbs.js +0 -36
  542. package/dist/collection/pages/Breadcrumbs.js.map +0 -1
  543. package/dist/collection/pages/Button.js +0 -1346
  544. package/dist/collection/pages/Button.js.map +0 -1
  545. package/dist/collection/pages/Card.js +0 -104
  546. package/dist/collection/pages/Card.js.map +0 -1
  547. package/dist/collection/pages/Chip.js +0 -381
  548. package/dist/collection/pages/Chip.js.map +0 -1
  549. package/dist/collection/pages/Container.js +0 -15
  550. package/dist/collection/pages/Container.js.map +0 -1
  551. package/dist/collection/pages/ControlGroup.js +0 -301
  552. package/dist/collection/pages/ControlGroup.js.map +0 -1
  553. package/dist/collection/pages/Cookiebar.js +0 -29
  554. package/dist/collection/pages/Cookiebar.js.map +0 -1
  555. package/dist/collection/pages/Empty.js +0 -43
  556. package/dist/collection/pages/Empty.js.map +0 -1
  557. package/dist/collection/pages/Error.js +0 -16
  558. package/dist/collection/pages/Error.js.map +0 -1
  559. package/dist/collection/pages/FormLabel.js +0 -13
  560. package/dist/collection/pages/FormLabel.js.map +0 -1
  561. package/dist/collection/pages/FormMessage.js +0 -82
  562. package/dist/collection/pages/FormMessage.js.map +0 -1
  563. package/dist/collection/pages/Forms.js +0 -1574
  564. package/dist/collection/pages/Forms.js.map +0 -1
  565. package/dist/collection/pages/FormsRestructure.js +0 -13
  566. package/dist/collection/pages/FormsRestructure.js.map +0 -1
  567. package/dist/collection/pages/Grid.js +0 -92
  568. package/dist/collection/pages/Grid.js.map +0 -1
  569. package/dist/collection/pages/Home.js +0 -51
  570. package/dist/collection/pages/Home.js.map +0 -1
  571. package/dist/collection/pages/Infobar.js +0 -149
  572. package/dist/collection/pages/Infobar.js.map +0 -1
  573. package/dist/collection/pages/Layout.js +0 -97
  574. package/dist/collection/pages/Layout.js.map +0 -1
  575. package/dist/collection/pages/Loading.js +0 -95
  576. package/dist/collection/pages/Loading.js.map +0 -1
  577. package/dist/collection/pages/Message.js +0 -94
  578. package/dist/collection/pages/Message.js.map +0 -1
  579. package/dist/collection/pages/Modal.js +0 -57
  580. package/dist/collection/pages/Modal.js.map +0 -1
  581. package/dist/collection/pages/Nav.js +0 -30
  582. package/dist/collection/pages/Nav.js.map +0 -1
  583. package/dist/collection/pages/Pagination.js +0 -38
  584. package/dist/collection/pages/Pagination.js.map +0 -1
  585. package/dist/collection/pages/Prompt.js +0 -48
  586. package/dist/collection/pages/Prompt.js.map +0 -1
  587. package/dist/collection/pages/SideNav.js +0 -117
  588. package/dist/collection/pages/SideNav.js.map +0 -1
  589. package/dist/collection/pages/Spacer.js +0 -25
  590. package/dist/collection/pages/Spacer.js.map +0 -1
  591. package/dist/collection/pages/Statsbar.js +0 -202
  592. package/dist/collection/pages/Statsbar.js.map +0 -1
  593. package/dist/collection/pages/Stepper.js +0 -88
  594. package/dist/collection/pages/Stepper.js.map +0 -1
  595. package/dist/collection/pages/Tabs.js +0 -323
  596. package/dist/collection/pages/Tabs.js.map +0 -1
  597. package/dist/collection/pages/Tag.js +0 -253
  598. package/dist/collection/pages/Tag.js.map +0 -1
  599. package/dist/collection/pages/Tiles.js +0 -125
  600. package/dist/collection/pages/Tiles.js.map +0 -1
  601. package/dist/collection/pages/ToastMessage.js +0 -47
  602. package/dist/collection/pages/ToastMessage.js.map +0 -1
  603. package/dist/collection/pages/ToastMessageCountdown.js +0 -47
  604. package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
  605. package/dist/collection/pages/Tooltip.js +0 -161
  606. package/dist/collection/pages/Tooltip.js.map +0 -1
  607. package/dist/collection/pages/Typography.js +0 -75
  608. package/dist/collection/pages/Typography.js.map +0 -1
  609. package/dist/collection/pages/Wizard.js +0 -88
  610. package/dist/collection/pages/Wizard.js.map +0 -1
  611. package/dist/collection/types/event.types.js +0 -2
  612. package/dist/collection/types/event.types.js.map +0 -1
  613. package/dist/collection/types/interfaces.js +0 -2
  614. package/dist/collection/types/interfaces.js.map +0 -1
  615. package/dist/collection/utils/array.utils.js +0 -7
  616. package/dist/collection/utils/array.utils.js.map +0 -1
  617. package/dist/collection/utils/bool.utils.js +0 -15
  618. package/dist/collection/utils/bool.utils.js.map +0 -1
  619. package/dist/collection/utils/ds.utils.js +0 -5
  620. package/dist/collection/utils/ds.utils.js.map +0 -1
  621. package/dist/collection/utils/file.utils.js +0 -26
  622. package/dist/collection/utils/file.utils.js.map +0 -1
  623. package/dist/collection/utils/helpers.types.js +0 -54
  624. package/dist/collection/utils/helpers.types.js.map +0 -1
  625. package/dist/collection/utils/icon.utils.js +0 -32
  626. package/dist/collection/utils/icon.utils.js.map +0 -1
  627. package/dist/collection/utils/number.utils.js +0 -4
  628. package/dist/collection/utils/number.utils.js.map +0 -1
  629. package/dist/collection/utils/string.utils.js +0 -17
  630. package/dist/collection/utils/string.utils.js.map +0 -1
  631. package/dist/collection/utils/utils.js +0 -35
  632. package/dist/collection/utils/utils.js.map +0 -1
  633. package/dist/components/gov-accordion-item.d.ts +0 -11
  634. package/dist/components/gov-accordion-item.js +0 -2
  635. package/dist/components/gov-accordion-item.js.map +0 -1
  636. package/dist/components/gov-accordion.d.ts +0 -11
  637. package/dist/components/gov-accordion.js +0 -2
  638. package/dist/components/gov-accordion.js.map +0 -1
  639. package/dist/components/gov-attachments-item.d.ts +0 -11
  640. package/dist/components/gov-attachments-item.js +0 -2
  641. package/dist/components/gov-attachments-item.js.map +0 -1
  642. package/dist/components/gov-attachments.d.ts +0 -11
  643. package/dist/components/gov-attachments.js +0 -2
  644. package/dist/components/gov-attachments.js.map +0 -1
  645. package/dist/components/gov-backdrop.d.ts +0 -11
  646. package/dist/components/gov-backdrop.js +0 -2
  647. package/dist/components/gov-backdrop.js.map +0 -1
  648. package/dist/components/gov-breadcrumbs.d.ts +0 -11
  649. package/dist/components/gov-breadcrumbs.js +0 -2
  650. package/dist/components/gov-breadcrumbs.js.map +0 -1
  651. package/dist/components/gov-button.d.ts +0 -11
  652. package/dist/components/gov-button.js +0 -2
  653. package/dist/components/gov-button.js.map +0 -1
  654. package/dist/components/gov-card.d.ts +0 -11
  655. package/dist/components/gov-card.js +0 -2
  656. package/dist/components/gov-card.js.map +0 -1
  657. package/dist/components/gov-chip.d.ts +0 -11
  658. package/dist/components/gov-chip.js +0 -2
  659. package/dist/components/gov-chip.js.map +0 -1
  660. package/dist/components/gov-container.d.ts +0 -11
  661. package/dist/components/gov-container.js +0 -2
  662. package/dist/components/gov-container.js.map +0 -1
  663. package/dist/components/gov-control-group.d.ts +0 -11
  664. package/dist/components/gov-control-group.js +0 -2
  665. package/dist/components/gov-control-group.js.map +0 -1
  666. package/dist/components/gov-cookiebar.d.ts +0 -11
  667. package/dist/components/gov-cookiebar.js +0 -2
  668. package/dist/components/gov-cookiebar.js.map +0 -1
  669. package/dist/components/gov-dropdown.d.ts +0 -11
  670. package/dist/components/gov-dropdown.js +0 -2
  671. package/dist/components/gov-dropdown.js.map +0 -1
  672. package/dist/components/gov-empty.d.ts +0 -11
  673. package/dist/components/gov-empty.js +0 -2
  674. package/dist/components/gov-empty.js.map +0 -1
  675. package/dist/components/gov-error-code.d.ts +0 -11
  676. package/dist/components/gov-error-code.js +0 -2
  677. package/dist/components/gov-error-code.js.map +0 -1
  678. package/dist/components/gov-form-autocomplete.d.ts +0 -11
  679. package/dist/components/gov-form-autocomplete.js +0 -2
  680. package/dist/components/gov-form-autocomplete.js.map +0 -1
  681. package/dist/components/gov-form-checkbox.d.ts +0 -11
  682. package/dist/components/gov-form-checkbox.js +0 -2
  683. package/dist/components/gov-form-checkbox.js.map +0 -1
  684. package/dist/components/gov-form-control.d.ts +0 -11
  685. package/dist/components/gov-form-control.js +0 -2
  686. package/dist/components/gov-form-control.js.map +0 -1
  687. package/dist/components/gov-form-file.d.ts +0 -11
  688. package/dist/components/gov-form-file.js +0 -2
  689. package/dist/components/gov-form-file.js.map +0 -1
  690. package/dist/components/gov-form-group.d.ts +0 -11
  691. package/dist/components/gov-form-group.js +0 -2
  692. package/dist/components/gov-form-group.js.map +0 -1
  693. package/dist/components/gov-form-input.d.ts +0 -11
  694. package/dist/components/gov-form-input.js +0 -2
  695. package/dist/components/gov-form-input.js.map +0 -1
  696. package/dist/components/gov-form-label.d.ts +0 -11
  697. package/dist/components/gov-form-label.js +0 -2
  698. package/dist/components/gov-form-label.js.map +0 -1
  699. package/dist/components/gov-form-message.d.ts +0 -11
  700. package/dist/components/gov-form-message.js +0 -2
  701. package/dist/components/gov-form-message.js.map +0 -1
  702. package/dist/components/gov-form-multi-select.d.ts +0 -11
  703. package/dist/components/gov-form-multi-select.js +0 -2
  704. package/dist/components/gov-form-multi-select.js.map +0 -1
  705. package/dist/components/gov-form-password-power.d.ts +0 -11
  706. package/dist/components/gov-form-password-power.js +0 -2
  707. package/dist/components/gov-form-password-power.js.map +0 -1
  708. package/dist/components/gov-form-radio.d.ts +0 -11
  709. package/dist/components/gov-form-radio.js +0 -2
  710. package/dist/components/gov-form-radio.js.map +0 -1
  711. package/dist/components/gov-form-search.d.ts +0 -11
  712. package/dist/components/gov-form-search.js +0 -2
  713. package/dist/components/gov-form-search.js.map +0 -1
  714. package/dist/components/gov-form-select.d.ts +0 -11
  715. package/dist/components/gov-form-select.js +0 -2
  716. package/dist/components/gov-form-select.js.map +0 -1
  717. package/dist/components/gov-form-switch.d.ts +0 -11
  718. package/dist/components/gov-form-switch.js +0 -2
  719. package/dist/components/gov-form-switch.js.map +0 -1
  720. package/dist/components/gov-grid-item.d.ts +0 -11
  721. package/dist/components/gov-grid-item.js +0 -2
  722. package/dist/components/gov-grid-item.js.map +0 -1
  723. package/dist/components/gov-grid.d.ts +0 -11
  724. package/dist/components/gov-grid.js +0 -2
  725. package/dist/components/gov-grid.js.map +0 -1
  726. package/dist/components/gov-icon.d.ts +0 -11
  727. package/dist/components/gov-icon.js +0 -2
  728. package/dist/components/gov-icon.js.map +0 -1
  729. package/dist/components/gov-infobar.d.ts +0 -11
  730. package/dist/components/gov-infobar.js +0 -2
  731. package/dist/components/gov-infobar.js.map +0 -1
  732. package/dist/components/gov-layout-column.d.ts +0 -11
  733. package/dist/components/gov-layout-column.js +0 -2
  734. package/dist/components/gov-layout-column.js.map +0 -1
  735. package/dist/components/gov-layout.d.ts +0 -11
  736. package/dist/components/gov-layout.js +0 -2
  737. package/dist/components/gov-layout.js.map +0 -1
  738. package/dist/components/gov-loading.d.ts +0 -11
  739. package/dist/components/gov-loading.js +0 -2
  740. package/dist/components/gov-loading.js.map +0 -1
  741. package/dist/components/gov-message.d.ts +0 -11
  742. package/dist/components/gov-message.js +0 -2
  743. package/dist/components/gov-message.js.map +0 -1
  744. package/dist/components/gov-modal.d.ts +0 -11
  745. package/dist/components/gov-modal.js +0 -2
  746. package/dist/components/gov-modal.js.map +0 -1
  747. package/dist/components/gov-nav-item.d.ts +0 -11
  748. package/dist/components/gov-nav-item.js +0 -2
  749. package/dist/components/gov-nav-item.js.map +0 -1
  750. package/dist/components/gov-nav.d.ts +0 -11
  751. package/dist/components/gov-nav.js +0 -2
  752. package/dist/components/gov-nav.js.map +0 -1
  753. package/dist/components/gov-pagination.d.ts +0 -11
  754. package/dist/components/gov-pagination.js +0 -2
  755. package/dist/components/gov-pagination.js.map +0 -1
  756. package/dist/components/gov-prompt.d.ts +0 -11
  757. package/dist/components/gov-prompt.js +0 -2
  758. package/dist/components/gov-prompt.js.map +0 -1
  759. package/dist/components/gov-side-nav-item.d.ts +0 -11
  760. package/dist/components/gov-side-nav-item.js +0 -2
  761. package/dist/components/gov-side-nav-item.js.map +0 -1
  762. package/dist/components/gov-side-nav.d.ts +0 -11
  763. package/dist/components/gov-side-nav.js +0 -2
  764. package/dist/components/gov-side-nav.js.map +0 -1
  765. package/dist/components/gov-skeleton.d.ts +0 -11
  766. package/dist/components/gov-skeleton.js +0 -2
  767. package/dist/components/gov-skeleton.js.map +0 -1
  768. package/dist/components/gov-spacer.d.ts +0 -11
  769. package/dist/components/gov-spacer.js +0 -2
  770. package/dist/components/gov-spacer.js.map +0 -1
  771. package/dist/components/gov-statsbar-item.d.ts +0 -11
  772. package/dist/components/gov-statsbar-item.js +0 -2
  773. package/dist/components/gov-statsbar-item.js.map +0 -1
  774. package/dist/components/gov-statsbar.d.ts +0 -11
  775. package/dist/components/gov-statsbar.js +0 -2
  776. package/dist/components/gov-statsbar.js.map +0 -1
  777. package/dist/components/gov-stepper-item.d.ts +0 -11
  778. package/dist/components/gov-stepper-item.js +0 -2
  779. package/dist/components/gov-stepper-item.js.map +0 -1
  780. package/dist/components/gov-stepper.d.ts +0 -11
  781. package/dist/components/gov-stepper.js +0 -2
  782. package/dist/components/gov-stepper.js.map +0 -1
  783. package/dist/components/gov-tabs-item.d.ts +0 -11
  784. package/dist/components/gov-tabs-item.js +0 -2
  785. package/dist/components/gov-tabs-item.js.map +0 -1
  786. package/dist/components/gov-tabs.d.ts +0 -11
  787. package/dist/components/gov-tabs.js +0 -2
  788. package/dist/components/gov-tabs.js.map +0 -1
  789. package/dist/components/gov-tag.d.ts +0 -11
  790. package/dist/components/gov-tag.js +0 -2
  791. package/dist/components/gov-tag.js.map +0 -1
  792. package/dist/components/gov-tile.d.ts +0 -11
  793. package/dist/components/gov-tile.js +0 -2
  794. package/dist/components/gov-tile.js.map +0 -1
  795. package/dist/components/gov-tiles.d.ts +0 -11
  796. package/dist/components/gov-tiles.js +0 -2
  797. package/dist/components/gov-tiles.js.map +0 -1
  798. package/dist/components/gov-toast.d.ts +0 -11
  799. package/dist/components/gov-toast.js +0 -2
  800. package/dist/components/gov-toast.js.map +0 -1
  801. package/dist/components/gov-tooltip-content.d.ts +0 -11
  802. package/dist/components/gov-tooltip-content.js +0 -2
  803. package/dist/components/gov-tooltip-content.js.map +0 -1
  804. package/dist/components/gov-tooltip.d.ts +0 -11
  805. package/dist/components/gov-tooltip.js +0 -2
  806. package/dist/components/gov-tooltip.js.map +0 -1
  807. package/dist/components/gov-wizard-item.d.ts +0 -11
  808. package/dist/components/gov-wizard-item.js +0 -2
  809. package/dist/components/gov-wizard-item.js.map +0 -1
  810. package/dist/components/gov-wizard.d.ts +0 -11
  811. package/dist/components/gov-wizard.js +0 -2
  812. package/dist/components/gov-wizard.js.map +0 -1
  813. package/dist/components/index.d.ts +0 -33
  814. package/dist/components/index.js +0 -2
  815. package/dist/components/index.js.map +0 -1
  816. package/dist/components/p-003e6cca.js +0 -2
  817. package/dist/components/p-003e6cca.js.map +0 -1
  818. package/dist/components/p-03990da5.js +0 -2
  819. package/dist/components/p-03990da5.js.map +0 -1
  820. package/dist/components/p-17ebfe85.js +0 -2
  821. package/dist/components/p-17ebfe85.js.map +0 -1
  822. package/dist/components/p-1c1d0bbe.js +0 -2
  823. package/dist/components/p-1c1d0bbe.js.map +0 -1
  824. package/dist/components/p-1ddab9ab.js +0 -2
  825. package/dist/components/p-1ddab9ab.js.map +0 -1
  826. package/dist/components/p-24636c53.js +0 -2
  827. package/dist/components/p-24636c53.js.map +0 -1
  828. package/dist/components/p-2468fe3a.js +0 -2
  829. package/dist/components/p-2468fe3a.js.map +0 -1
  830. package/dist/components/p-28e59384.js +0 -2
  831. package/dist/components/p-28e59384.js.map +0 -1
  832. package/dist/components/p-2bf5b814.js +0 -2
  833. package/dist/components/p-2bf5b814.js.map +0 -1
  834. package/dist/components/p-2dee9951.js +0 -2
  835. package/dist/components/p-2dee9951.js.map +0 -1
  836. package/dist/components/p-3464136c.js +0 -2
  837. package/dist/components/p-3464136c.js.map +0 -1
  838. package/dist/components/p-3c71d697.js +0 -2
  839. package/dist/components/p-3c71d697.js.map +0 -1
  840. package/dist/components/p-4ff831e3.js +0 -2
  841. package/dist/components/p-4ff831e3.js.map +0 -1
  842. package/dist/components/p-53e02bee.js +0 -2
  843. package/dist/components/p-53e02bee.js.map +0 -1
  844. package/dist/components/p-55500e5a.js +0 -2
  845. package/dist/components/p-55500e5a.js.map +0 -1
  846. package/dist/components/p-570803ab.js +0 -2
  847. package/dist/components/p-570803ab.js.map +0 -1
  848. package/dist/components/p-5defdc5e.js +0 -2
  849. package/dist/components/p-5defdc5e.js.map +0 -1
  850. package/dist/components/p-6278531b.js +0 -2
  851. package/dist/components/p-6278531b.js.map +0 -1
  852. package/dist/components/p-6834d779.js +0 -2
  853. package/dist/components/p-6834d779.js.map +0 -1
  854. package/dist/components/p-74b2311a.js +0 -2
  855. package/dist/components/p-74b2311a.js.map +0 -1
  856. package/dist/components/p-758c31bd.js +0 -2
  857. package/dist/components/p-758c31bd.js.map +0 -1
  858. package/dist/components/p-7f2c9830.js +0 -2
  859. package/dist/components/p-7f2c9830.js.map +0 -1
  860. package/dist/components/p-841fff80.js +0 -2
  861. package/dist/components/p-841fff80.js.map +0 -1
  862. package/dist/components/p-9144dde1.js +0 -2
  863. package/dist/components/p-9144dde1.js.map +0 -1
  864. package/dist/components/p-9795ad94.js +0 -2
  865. package/dist/components/p-9795ad94.js.map +0 -1
  866. package/dist/components/p-9a4c910d.js +0 -2
  867. package/dist/components/p-9a4c910d.js.map +0 -1
  868. package/dist/components/p-a6d14a47.js +0 -2
  869. package/dist/components/p-a6d14a47.js.map +0 -1
  870. package/dist/components/p-ae462f9e.js +0 -2
  871. package/dist/components/p-ae462f9e.js.map +0 -1
  872. package/dist/components/p-b526e440.js +0 -2
  873. package/dist/components/p-b526e440.js.map +0 -1
  874. package/dist/components/p-b72a7bed.js +0 -2
  875. package/dist/components/p-b72a7bed.js.map +0 -1
  876. package/dist/components/p-be4aab0e.js +0 -2
  877. package/dist/components/p-be4aab0e.js.map +0 -1
  878. package/dist/components/p-cc508639.js +0 -2
  879. package/dist/components/p-cc508639.js.map +0 -1
  880. package/dist/components/p-db1f0452.js +0 -2
  881. package/dist/components/p-db1f0452.js.map +0 -1
  882. package/dist/components/p-dcb5fb35.js +0 -2
  883. package/dist/components/p-dcb5fb35.js.map +0 -1
  884. package/dist/components/p-e00b2707.js +0 -2
  885. package/dist/components/p-e00b2707.js.map +0 -1
  886. package/dist/components/p-fa1e4aea.js +0 -2
  887. package/dist/components/p-fa1e4aea.js.map +0 -1
  888. package/dist/components/p-ff7365ae.js +0 -2
  889. package/dist/components/p-ff7365ae.js.map +0 -1
  890. package/dist/components/p-ffb7495c.js +0 -2
  891. package/dist/components/p-ffb7495c.js.map +0 -1
  892. package/dist/core/core.css +0 -1
  893. package/dist/core/core.esm.js +0 -2
  894. package/dist/core/core.esm.js.map +0 -1
  895. package/dist/core/index.esm.js +0 -2
  896. package/dist/core/index.esm.js.map +0 -1
  897. package/dist/core/p-003e6cca.js +0 -2
  898. package/dist/core/p-003e6cca.js.map +0 -1
  899. package/dist/core/p-01d928c5.entry.js +0 -2
  900. package/dist/core/p-01d928c5.entry.js.map +0 -1
  901. package/dist/core/p-03990da5.js +0 -2
  902. package/dist/core/p-03990da5.js.map +0 -1
  903. package/dist/core/p-044f4c35.entry.js +0 -2
  904. package/dist/core/p-044f4c35.entry.js.map +0 -1
  905. package/dist/core/p-09966eaa.entry.js +0 -2
  906. package/dist/core/p-09966eaa.entry.js.map +0 -1
  907. package/dist/core/p-0e5fa8bf.js +0 -2
  908. package/dist/core/p-0e5fa8bf.js.map +0 -1
  909. package/dist/core/p-1116fec6.entry.js +0 -2
  910. package/dist/core/p-1116fec6.entry.js.map +0 -1
  911. package/dist/core/p-141d9af4.entry.js +0 -2
  912. package/dist/core/p-141d9af4.entry.js.map +0 -1
  913. package/dist/core/p-17ebfe85.js +0 -2
  914. package/dist/core/p-17ebfe85.js.map +0 -1
  915. package/dist/core/p-1c1d0bbe.js +0 -2
  916. package/dist/core/p-1c1d0bbe.js.map +0 -1
  917. package/dist/core/p-1fee1753.entry.js +0 -2
  918. package/dist/core/p-1fee1753.entry.js.map +0 -1
  919. package/dist/core/p-22abe742.entry.js +0 -2
  920. package/dist/core/p-22abe742.entry.js.map +0 -1
  921. package/dist/core/p-24636c53.js +0 -2
  922. package/dist/core/p-24636c53.js.map +0 -1
  923. package/dist/core/p-2712444e.entry.js +0 -2
  924. package/dist/core/p-2712444e.entry.js.map +0 -1
  925. package/dist/core/p-28e59384.js +0 -2
  926. package/dist/core/p-28e59384.js.map +0 -1
  927. package/dist/core/p-2969eb69.entry.js +0 -2
  928. package/dist/core/p-2969eb69.entry.js.map +0 -1
  929. package/dist/core/p-2bf5b814.js +0 -2
  930. package/dist/core/p-2bf5b814.js.map +0 -1
  931. package/dist/core/p-2f858bf5.entry.js +0 -2
  932. package/dist/core/p-2f858bf5.entry.js.map +0 -1
  933. package/dist/core/p-3464136c.js +0 -2
  934. package/dist/core/p-3464136c.js.map +0 -1
  935. package/dist/core/p-3b42950e.entry.js +0 -2
  936. package/dist/core/p-3b42950e.entry.js.map +0 -1
  937. package/dist/core/p-3c12c766.entry.js +0 -2
  938. package/dist/core/p-3c12c766.entry.js.map +0 -1
  939. package/dist/core/p-41c18f64.entry.js +0 -2
  940. package/dist/core/p-41c18f64.entry.js.map +0 -1
  941. package/dist/core/p-497c90ea.entry.js +0 -2
  942. package/dist/core/p-497c90ea.entry.js.map +0 -1
  943. package/dist/core/p-4a235ef5.entry.js +0 -2
  944. package/dist/core/p-4a235ef5.entry.js.map +0 -1
  945. package/dist/core/p-4c55142b.js +0 -2
  946. package/dist/core/p-4c55142b.js.map +0 -1
  947. package/dist/core/p-55500e5a.js +0 -2
  948. package/dist/core/p-55500e5a.js.map +0 -1
  949. package/dist/core/p-5bc604a3.js +0 -3
  950. package/dist/core/p-5bc604a3.js.map +0 -1
  951. package/dist/core/p-5defdc5e.js +0 -2
  952. package/dist/core/p-5defdc5e.js.map +0 -1
  953. package/dist/core/p-60963ed7.entry.js +0 -2
  954. package/dist/core/p-60963ed7.entry.js.map +0 -1
  955. package/dist/core/p-6278531b.js +0 -2
  956. package/dist/core/p-6278531b.js.map +0 -1
  957. package/dist/core/p-6675a0f0.entry.js +0 -2
  958. package/dist/core/p-6675a0f0.entry.js.map +0 -1
  959. package/dist/core/p-67138ae9.entry.js +0 -2
  960. package/dist/core/p-67138ae9.entry.js.map +0 -1
  961. package/dist/core/p-6834d779.js +0 -2
  962. package/dist/core/p-6834d779.js.map +0 -1
  963. package/dist/core/p-6dc942b8.entry.js +0 -2
  964. package/dist/core/p-6dc942b8.entry.js.map +0 -1
  965. package/dist/core/p-705efbf1.entry.js +0 -2
  966. package/dist/core/p-705efbf1.entry.js.map +0 -1
  967. package/dist/core/p-73b7585b.entry.js +0 -2
  968. package/dist/core/p-73b7585b.entry.js.map +0 -1
  969. package/dist/core/p-74882c70.entry.js +0 -2
  970. package/dist/core/p-74882c70.entry.js.map +0 -1
  971. package/dist/core/p-74b2311a.js +0 -2
  972. package/dist/core/p-74b2311a.js.map +0 -1
  973. package/dist/core/p-7724b535.js +0 -2
  974. package/dist/core/p-7724b535.js.map +0 -1
  975. package/dist/core/p-7757e4a1.entry.js +0 -2
  976. package/dist/core/p-7757e4a1.entry.js.map +0 -1
  977. package/dist/core/p-78942f76.entry.js +0 -2
  978. package/dist/core/p-78942f76.entry.js.map +0 -1
  979. package/dist/core/p-7f2c9830.js +0 -2
  980. package/dist/core/p-7f2c9830.js.map +0 -1
  981. package/dist/core/p-81593c86.entry.js +0 -2
  982. package/dist/core/p-81593c86.entry.js.map +0 -1
  983. package/dist/core/p-83e998d8.entry.js +0 -2
  984. package/dist/core/p-83e998d8.entry.js.map +0 -1
  985. package/dist/core/p-8418fce1.entry.js +0 -2
  986. package/dist/core/p-8418fce1.entry.js.map +0 -1
  987. package/dist/core/p-89b3e4d4.entry.js +0 -2
  988. package/dist/core/p-89b3e4d4.entry.js.map +0 -1
  989. package/dist/core/p-9144dde1.js +0 -2
  990. package/dist/core/p-9144dde1.js.map +0 -1
  991. package/dist/core/p-92af05f2.entry.js +0 -2
  992. package/dist/core/p-92af05f2.entry.js.map +0 -1
  993. package/dist/core/p-96d141a3.entry.js +0 -2
  994. package/dist/core/p-96d141a3.entry.js.map +0 -1
  995. package/dist/core/p-9a4c910d.js +0 -2
  996. package/dist/core/p-9a4c910d.js.map +0 -1
  997. package/dist/core/p-9c6699d6.entry.js +0 -2
  998. package/dist/core/p-9c6699d6.entry.js.map +0 -1
  999. package/dist/core/p-9dab01be.js +0 -2
  1000. package/dist/core/p-9dab01be.js.map +0 -1
  1001. package/dist/core/p-a63bb91e.entry.js +0 -2
  1002. package/dist/core/p-a63bb91e.entry.js.map +0 -1
  1003. package/dist/core/p-a6b6dc73.entry.js +0 -2
  1004. package/dist/core/p-a6b6dc73.entry.js.map +0 -1
  1005. package/dist/core/p-a6d14a47.js +0 -2
  1006. package/dist/core/p-a6d14a47.js.map +0 -1
  1007. package/dist/core/p-ac5e5b2c.entry.js +0 -2
  1008. package/dist/core/p-ac5e5b2c.entry.js.map +0 -1
  1009. package/dist/core/p-b1184db4.entry.js +0 -2
  1010. package/dist/core/p-b1184db4.entry.js.map +0 -1
  1011. package/dist/core/p-b127c8a8.entry.js +0 -2
  1012. package/dist/core/p-b127c8a8.entry.js.map +0 -1
  1013. package/dist/core/p-b49293dc.entry.js +0 -2
  1014. package/dist/core/p-b49293dc.entry.js.map +0 -1
  1015. package/dist/core/p-b4a59c79.entry.js +0 -2
  1016. package/dist/core/p-b4a59c79.entry.js.map +0 -1
  1017. package/dist/core/p-b4ab0d15.entry.js +0 -2
  1018. package/dist/core/p-b4ab0d15.entry.js.map +0 -1
  1019. package/dist/core/p-b580666b.entry.js +0 -2
  1020. package/dist/core/p-b580666b.entry.js.map +0 -1
  1021. package/dist/core/p-b5e1ee46.entry.js +0 -2
  1022. package/dist/core/p-b5e1ee46.entry.js.map +0 -1
  1023. package/dist/core/p-b7d23697.entry.js +0 -2
  1024. package/dist/core/p-b7d23697.entry.js.map +0 -1
  1025. package/dist/core/p-bb7f0a66.entry.js +0 -2
  1026. package/dist/core/p-bb7f0a66.entry.js.map +0 -1
  1027. package/dist/core/p-be4aab0e.js +0 -2
  1028. package/dist/core/p-be4aab0e.js.map +0 -1
  1029. package/dist/core/p-c574ecc8.entry.js +0 -2
  1030. package/dist/core/p-c574ecc8.entry.js.map +0 -1
  1031. package/dist/core/p-ccf73a1a.entry.js +0 -2
  1032. package/dist/core/p-ccf73a1a.entry.js.map +0 -1
  1033. package/dist/core/p-cf86a858.entry.js +0 -2
  1034. package/dist/core/p-cf86a858.entry.js.map +0 -1
  1035. package/dist/core/p-d69599bc.entry.js +0 -2
  1036. package/dist/core/p-d69599bc.entry.js.map +0 -1
  1037. package/dist/core/p-db1f0452.js +0 -2
  1038. package/dist/core/p-db1f0452.js.map +0 -1
  1039. package/dist/core/p-dcb5fb35.js +0 -2
  1040. package/dist/core/p-dcb5fb35.js.map +0 -1
  1041. package/dist/core/p-de3429ab.entry.js +0 -2
  1042. package/dist/core/p-de3429ab.entry.js.map +0 -1
  1043. package/dist/core/p-e24236b0.entry.js +0 -2
  1044. package/dist/core/p-e24236b0.entry.js.map +0 -1
  1045. package/dist/core/p-e5c2f601.entry.js +0 -2
  1046. package/dist/core/p-e5c2f601.entry.js.map +0 -1
  1047. package/dist/core/p-ee4c58e3.entry.js +0 -2
  1048. package/dist/core/p-ee4c58e3.entry.js.map +0 -1
  1049. package/dist/core/p-f1227928.entry.js +0 -2
  1050. package/dist/core/p-f1227928.entry.js.map +0 -1
  1051. package/dist/core/p-f29b0193.entry.js +0 -2
  1052. package/dist/core/p-f29b0193.entry.js.map +0 -1
  1053. package/dist/core/p-f636a1ca.entry.js +0 -2
  1054. package/dist/core/p-f636a1ca.entry.js.map +0 -1
  1055. package/dist/core/p-fa1e4aea.js +0 -2
  1056. package/dist/core/p-fa1e4aea.js.map +0 -1
  1057. package/dist/core/p-fb51d693.entry.js +0 -2
  1058. package/dist/core/p-fb51d693.entry.js.map +0 -1
  1059. package/dist/core/p-fc2a1e14.entry.js +0 -2
  1060. package/dist/core/p-fc2a1e14.entry.js.map +0 -1
  1061. package/dist/core/p-fc8a29e9.entry.js +0 -2
  1062. package/dist/core/p-fc8a29e9.entry.js.map +0 -1
  1063. package/dist/core/p-fd4b0f54.entry.js +0 -2
  1064. package/dist/core/p-fd4b0f54.entry.js.map +0 -1
  1065. package/dist/core/p-ff7365ae.js +0 -2
  1066. package/dist/core/p-ff7365ae.js.map +0 -1
  1067. package/dist/core/p-ffb7495c.js +0 -2
  1068. package/dist/core/p-ffb7495c.js.map +0 -1
  1069. package/dist/esm/Fragment-8d8d54fb.js +0 -5
  1070. package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
  1071. package/dist/esm/constants-09bda759.js +0 -25
  1072. package/dist/esm/constants-09bda759.js.map +0 -1
  1073. package/dist/esm/constants-2499979c.js +0 -24
  1074. package/dist/esm/constants-2499979c.js.map +0 -1
  1075. package/dist/esm/constants-27b48cd1.js +0 -22
  1076. package/dist/esm/constants-27b48cd1.js.map +0 -1
  1077. package/dist/esm/constants-2a283e9a.js +0 -18
  1078. package/dist/esm/constants-2a283e9a.js.map +0 -1
  1079. package/dist/esm/constants-2b14bb01.js +0 -10
  1080. package/dist/esm/constants-2b14bb01.js.map +0 -1
  1081. package/dist/esm/constants-34a29ae2.js +0 -33
  1082. package/dist/esm/constants-34a29ae2.js.map +0 -1
  1083. package/dist/esm/constants-3786b01b.js +0 -22
  1084. package/dist/esm/constants-3786b01b.js.map +0 -1
  1085. package/dist/esm/constants-3df712e2.js +0 -13
  1086. package/dist/esm/constants-3df712e2.js.map +0 -1
  1087. package/dist/esm/constants-47d7a8bc.js +0 -17
  1088. package/dist/esm/constants-47d7a8bc.js.map +0 -1
  1089. package/dist/esm/constants-6df4edc4.js +0 -29
  1090. package/dist/esm/constants-6df4edc4.js.map +0 -1
  1091. package/dist/esm/constants-78474786.js +0 -25
  1092. package/dist/esm/constants-78474786.js.map +0 -1
  1093. package/dist/esm/constants-867ac6e2.js +0 -19
  1094. package/dist/esm/constants-867ac6e2.js.map +0 -1
  1095. package/dist/esm/constants-887c5391.js +0 -23
  1096. package/dist/esm/constants-887c5391.js.map +0 -1
  1097. package/dist/esm/constants-d71c09e0.js +0 -12
  1098. package/dist/esm/constants-d71c09e0.js.map +0 -1
  1099. package/dist/esm/constants-ebec7de8.js +0 -12
  1100. package/dist/esm/constants-ebec7de8.js.map +0 -1
  1101. package/dist/esm/core.js +0 -43
  1102. package/dist/esm/core.js.map +0 -1
  1103. package/dist/esm/form-39dc6896.js +0 -145
  1104. package/dist/esm/form-39dc6896.js.map +0 -1
  1105. package/dist/esm/gov-accordion-item.entry.js +0 -98
  1106. package/dist/esm/gov-accordion-item.entry.js.map +0 -1
  1107. package/dist/esm/gov-accordion.entry.js +0 -73
  1108. package/dist/esm/gov-accordion.entry.js.map +0 -1
  1109. package/dist/esm/gov-attachments_3.entry.js +0 -114
  1110. package/dist/esm/gov-attachments_3.entry.js.map +0 -1
  1111. package/dist/esm/gov-backdrop.entry.js +0 -46
  1112. package/dist/esm/gov-backdrop.entry.js.map +0 -1
  1113. package/dist/esm/gov-breadcrumbs.entry.js +0 -46
  1114. package/dist/esm/gov-breadcrumbs.entry.js.map +0 -1
  1115. package/dist/esm/gov-button.entry.js +0 -176
  1116. package/dist/esm/gov-button.entry.js.map +0 -1
  1117. package/dist/esm/gov-card.entry.js +0 -108
  1118. package/dist/esm/gov-card.entry.js.map +0 -1
  1119. package/dist/esm/gov-chip.entry.js +0 -104
  1120. package/dist/esm/gov-chip.entry.js.map +0 -1
  1121. package/dist/esm/gov-container.entry.js +0 -32
  1122. package/dist/esm/gov-container.entry.js.map +0 -1
  1123. package/dist/esm/gov-control-group.entry.js +0 -39
  1124. package/dist/esm/gov-control-group.entry.js.map +0 -1
  1125. package/dist/esm/gov-cookiebar.entry.js +0 -29
  1126. package/dist/esm/gov-cookiebar.entry.js.map +0 -1
  1127. package/dist/esm/gov-dropdown.entry.js +0 -131
  1128. package/dist/esm/gov-dropdown.entry.js.map +0 -1
  1129. package/dist/esm/gov-empty.entry.js +0 -27
  1130. package/dist/esm/gov-empty.entry.js.map +0 -1
  1131. package/dist/esm/gov-error-code.entry.js +0 -27
  1132. package/dist/esm/gov-error-code.entry.js.map +0 -1
  1133. package/dist/esm/gov-form-autocomplete.entry.js +0 -241
  1134. package/dist/esm/gov-form-autocomplete.entry.js.map +0 -1
  1135. package/dist/esm/gov-form-checkbox.entry.js +0 -127
  1136. package/dist/esm/gov-form-checkbox.entry.js.map +0 -1
  1137. package/dist/esm/gov-form-control.entry.js +0 -103
  1138. package/dist/esm/gov-form-control.entry.js.map +0 -1
  1139. package/dist/esm/gov-form-file.entry.js +0 -236
  1140. package/dist/esm/gov-form-file.entry.js.map +0 -1
  1141. package/dist/esm/gov-form-group.entry.js +0 -55
  1142. package/dist/esm/gov-form-group.entry.js.map +0 -1
  1143. package/dist/esm/gov-form-input.entry.js +0 -186
  1144. package/dist/esm/gov-form-input.entry.js.map +0 -1
  1145. package/dist/esm/gov-form-label.entry.js +0 -26
  1146. package/dist/esm/gov-form-label.entry.js.map +0 -1
  1147. package/dist/esm/gov-form-multi-select.entry.js +0 -300
  1148. package/dist/esm/gov-form-multi-select.entry.js.map +0 -1
  1149. package/dist/esm/gov-form-password-power.entry.js +0 -24
  1150. package/dist/esm/gov-form-password-power.entry.js.map +0 -1
  1151. package/dist/esm/gov-form-radio.entry.js +0 -127
  1152. package/dist/esm/gov-form-radio.entry.js.map +0 -1
  1153. package/dist/esm/gov-form-search.entry.js +0 -28
  1154. package/dist/esm/gov-form-search.entry.js.map +0 -1
  1155. package/dist/esm/gov-form-select.entry.js +0 -163
  1156. package/dist/esm/gov-form-select.entry.js.map +0 -1
  1157. package/dist/esm/gov-form-switch.entry.js +0 -127
  1158. package/dist/esm/gov-form-switch.entry.js.map +0 -1
  1159. package/dist/esm/gov-grid-item.entry.js +0 -26
  1160. package/dist/esm/gov-grid-item.entry.js.map +0 -1
  1161. package/dist/esm/gov-grid.entry.js +0 -24
  1162. package/dist/esm/gov-grid.entry.js.map +0 -1
  1163. package/dist/esm/gov-icon.entry.js +0 -131
  1164. package/dist/esm/gov-icon.entry.js.map +0 -1
  1165. package/dist/esm/gov-infobar.entry.js +0 -87
  1166. package/dist/esm/gov-infobar.entry.js.map +0 -1
  1167. package/dist/esm/gov-layout-column.entry.js +0 -21
  1168. package/dist/esm/gov-layout-column.entry.js.map +0 -1
  1169. package/dist/esm/gov-layout.entry.js +0 -30
  1170. package/dist/esm/gov-layout.entry.js.map +0 -1
  1171. package/dist/esm/gov-loading.entry.js +0 -26
  1172. package/dist/esm/gov-loading.entry.js.map +0 -1
  1173. package/dist/esm/gov-message.entry.js +0 -40
  1174. package/dist/esm/gov-message.entry.js.map +0 -1
  1175. package/dist/esm/gov-modal.entry.js +0 -102
  1176. package/dist/esm/gov-modal.entry.js.map +0 -1
  1177. package/dist/esm/gov-nav-item.entry.js +0 -35
  1178. package/dist/esm/gov-nav-item.entry.js.map +0 -1
  1179. package/dist/esm/gov-nav.entry.js +0 -38
  1180. package/dist/esm/gov-nav.entry.js.map +0 -1
  1181. package/dist/esm/gov-pagination.entry.js +0 -220
  1182. package/dist/esm/gov-pagination.entry.js.map +0 -1
  1183. package/dist/esm/gov-prompt.entry.js +0 -99
  1184. package/dist/esm/gov-prompt.entry.js.map +0 -1
  1185. package/dist/esm/gov-side-nav-item.entry.js +0 -83
  1186. package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
  1187. package/dist/esm/gov-side-nav.entry.js +0 -52
  1188. package/dist/esm/gov-side-nav.entry.js.map +0 -1
  1189. package/dist/esm/gov-skeleton.entry.js +0 -113
  1190. package/dist/esm/gov-skeleton.entry.js.map +0 -1
  1191. package/dist/esm/gov-spacer.entry.js +0 -54
  1192. package/dist/esm/gov-spacer.entry.js.map +0 -1
  1193. package/dist/esm/gov-statsbar-item.entry.js +0 -36
  1194. package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
  1195. package/dist/esm/gov-statsbar.entry.js +0 -49
  1196. package/dist/esm/gov-statsbar.entry.js.map +0 -1
  1197. package/dist/esm/gov-stepper-item.entry.js +0 -74
  1198. package/dist/esm/gov-stepper-item.entry.js.map +0 -1
  1199. package/dist/esm/gov-stepper.entry.js +0 -47
  1200. package/dist/esm/gov-stepper.entry.js.map +0 -1
  1201. package/dist/esm/gov-tabs-item.entry.js +0 -49
  1202. package/dist/esm/gov-tabs-item.entry.js.map +0 -1
  1203. package/dist/esm/gov-tabs.entry.js +0 -194
  1204. package/dist/esm/gov-tabs.entry.js.map +0 -1
  1205. package/dist/esm/gov-tag.entry.js +0 -53
  1206. package/dist/esm/gov-tag.entry.js.map +0 -1
  1207. package/dist/esm/gov-tile.entry.js +0 -38
  1208. package/dist/esm/gov-tile.entry.js.map +0 -1
  1209. package/dist/esm/gov-tiles.entry.js +0 -29
  1210. package/dist/esm/gov-tiles.entry.js.map +0 -1
  1211. package/dist/esm/gov-toast.entry.js +0 -97
  1212. package/dist/esm/gov-toast.entry.js.map +0 -1
  1213. package/dist/esm/gov-tooltip-content.entry.js +0 -50
  1214. package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
  1215. package/dist/esm/gov-tooltip.entry.js +0 -220
  1216. package/dist/esm/gov-tooltip.entry.js.map +0 -1
  1217. package/dist/esm/gov-wizard-item.entry.js +0 -111
  1218. package/dist/esm/gov-wizard-item.entry.js.map +0 -1
  1219. package/dist/esm/gov-wizard.entry.js +0 -65
  1220. package/dist/esm/gov-wizard.entry.js.map +0 -1
  1221. package/dist/esm/gov.log-49da0221.js +0 -25
  1222. package/dist/esm/gov.log-49da0221.js.map +0 -1
  1223. package/dist/esm/helpers-bc0fd116.js +0 -17
  1224. package/dist/esm/helpers-bc0fd116.js.map +0 -1
  1225. package/dist/esm/index-eb59f132.js +0 -2682
  1226. package/dist/esm/index-eb59f132.js.map +0 -1
  1227. package/dist/esm/index.js +0 -3
  1228. package/dist/esm/index.js.map +0 -1
  1229. package/dist/esm/loader.js +0 -11
  1230. package/dist/esm/loader.js.map +0 -1
  1231. package/dist/esm/polyfills/core-js.js +0 -11
  1232. package/dist/esm/polyfills/dom.js +0 -79
  1233. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1234. package/dist/esm/polyfills/index.js +0 -34
  1235. package/dist/esm/polyfills/system.js +0 -6
  1236. package/dist/esm/props-a85d9c89.js +0 -14
  1237. package/dist/esm/props-a85d9c89.js.map +0 -1
  1238. package/dist/esm/sizes-6c5943b4.js +0 -18
  1239. package/dist/esm/sizes-6c5943b4.js.map +0 -1
  1240. package/dist/esm/string.utils-f268fc6b.js +0 -20
  1241. package/dist/esm/string.utils-f268fc6b.js.map +0 -1
  1242. package/dist/esm/template-df429738.js +0 -120
  1243. package/dist/esm/template-df429738.js.map +0 -1
  1244. package/dist/esm/utils-c057a3fa.js +0 -35
  1245. package/dist/esm/utils-c057a3fa.js.map +0 -1
  1246. package/dist/esm/variants-2b936d58.js +0 -18
  1247. package/dist/esm/variants-2b936d58.js.map +0 -1
  1248. package/dist/esm/wcag-7d25e12b.js +0 -62
  1249. package/dist/esm/wcag-7d25e12b.js.map +0 -1
  1250. package/dist/esm/win-1dbd3f5c.js +0 -31
  1251. package/dist/esm/win-1dbd3f5c.js.map +0 -1
  1252. package/dist/globals.d.ts +0 -2
  1253. package/dist/hydrate/index.d.ts +0 -218
  1254. package/dist/hydrate/index.js +0 -12646
  1255. package/dist/hydrate/package.json +0 -6
  1256. package/dist/index.cjs.js +0 -1
  1257. package/dist/index.js +0 -1
  1258. package/dist/stencil.config.js +0 -75
  1259. package/dist/stencil.config.js.map +0 -1
  1260. package/dist/types/Users/leo/Projects/repos/asseco/design-system/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
  1261. package/dist/types/components/gov-accordion/constants.d.ts +0 -22
  1262. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -58
  1263. package/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -42
  1264. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
  1265. package/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1266. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1267. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1268. package/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1269. package/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1270. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -28
  1271. package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1272. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1273. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -33
  1274. package/dist/types/components/gov-button/button/constants.d.ts +0 -30
  1275. package/dist/types/components/gov-button/button/gov-button.d.ts +0 -180
  1276. package/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
  1277. package/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
  1278. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -34
  1279. package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
  1280. package/dist/types/components/gov-card/constants.d.ts +0 -13
  1281. package/dist/types/components/gov-card/gov-card.d.ts +0 -60
  1282. package/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1283. package/dist/types/components/gov-chip/constants.d.ts +0 -13
  1284. package/dist/types/components/gov-chip/gov-chip.d.ts +0 -93
  1285. package/dist/types/components/gov-container/constants.d.ts +0 -3
  1286. package/dist/types/components/gov-container/gov-container.d.ts +0 -12
  1287. package/dist/types/components/gov-control-group/constants.d.ts +0 -7
  1288. package/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -16
  1289. package/dist/types/components/gov-cookiebar/constants.d.ts +0 -8
  1290. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1291. package/dist/types/components/gov-empty/constants.d.ts +0 -6
  1292. package/dist/types/components/gov-empty/gov-empty.d.ts +0 -6
  1293. package/dist/types/components/gov-error-code/constants.d.ts +0 -6
  1294. package/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1295. package/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -14
  1296. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -151
  1297. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
  1298. package/dist/types/components/gov-form/checkbox/constants.d.ts +0 -9
  1299. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -87
  1300. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
  1301. package/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1302. package/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -47
  1303. package/dist/types/components/gov-form/file/constants.d.ts +0 -9
  1304. package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -133
  1305. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
  1306. package/dist/types/components/gov-form/group/constants.d.ts +0 -12
  1307. package/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
  1308. package/dist/types/components/gov-form/input/constants.d.ts +0 -30
  1309. package/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -181
  1310. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
  1311. package/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1312. package/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1313. package/dist/types/components/gov-form/message/constants.d.ts +0 -9
  1314. package/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -19
  1315. package/dist/types/components/gov-form/multiselect/constants.d.ts +0 -13
  1316. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -157
  1317. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -9
  1318. package/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1319. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1320. package/dist/types/components/gov-form/radio/constants.d.ts +0 -11
  1321. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -87
  1322. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
  1323. package/dist/types/components/gov-form/search/constants.d.ts +0 -9
  1324. package/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -9
  1325. package/dist/types/components/gov-form/select/constants.d.ts +0 -11
  1326. package/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -115
  1327. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
  1328. package/dist/types/components/gov-form/switch/constants.d.ts +0 -10
  1329. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -87
  1330. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
  1331. package/dist/types/components/gov-grid/constants.d.ts +0 -6
  1332. package/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -26
  1333. package/dist/types/components/gov-grid/gov-grid.d.ts +0 -14
  1334. package/dist/types/components/gov-icon/constants.d.ts +0 -12
  1335. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -23
  1336. package/dist/types/components/gov-icon/helpers.d.ts +0 -5
  1337. package/dist/types/components/gov-icon/list.d.ts +0 -3
  1338. package/dist/types/components/gov-infobar/constants.d.ts +0 -13
  1339. package/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -47
  1340. package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
  1341. package/dist/types/components/gov-layout/constants.d.ts +0 -20
  1342. package/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1343. package/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1344. package/dist/types/components/gov-loading/loading/constants.d.ts +0 -5
  1345. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -6
  1346. package/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -20
  1347. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -52
  1348. package/dist/types/components/gov-message/constants.d.ts +0 -10
  1349. package/dist/types/components/gov-message/gov-message.d.ts +0 -12
  1350. package/dist/types/components/gov-modal/constants.d.ts +0 -14
  1351. package/dist/types/components/gov-modal/gov-modal.d.ts +0 -69
  1352. package/dist/types/components/gov-nav/constants.d.ts +0 -8
  1353. package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
  1354. package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
  1355. package/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1356. package/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -87
  1357. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
  1358. package/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1359. package/dist/types/components/gov-promp/constants.d.ts +0 -12
  1360. package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -65
  1361. package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
  1362. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
  1363. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
  1364. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
  1365. package/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1366. package/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1367. package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
  1368. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
  1369. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
  1370. package/dist/types/components/gov-stepper/constants.d.ts +0 -22
  1371. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +0 -4
  1372. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -48
  1373. package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -20
  1374. package/dist/types/components/gov-tabs/constants.d.ts +0 -25
  1375. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -37
  1376. package/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -72
  1377. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -8
  1378. package/dist/types/components/gov-tag/constants.d.ts +0 -3
  1379. package/dist/types/components/gov-tag/gov-tag.d.ts +0 -30
  1380. package/dist/types/components/gov-tile/constants.d.ts +0 -9
  1381. package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
  1382. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -15
  1383. package/dist/types/components/gov-tile/gov-tile.d.ts +0 -21
  1384. package/dist/types/components/gov-toast/constants.d.ts +0 -14
  1385. package/dist/types/components/gov-toast/gov-toast.d.ts +0 -53
  1386. package/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1387. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
  1388. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -54
  1389. package/dist/types/components/gov-wizard/constants.d.ts +0 -21
  1390. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
  1391. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -72
  1392. package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
  1393. package/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -33
  1394. package/dist/types/components.d.ts +0 -4448
  1395. package/dist/types/core/constants/sizes.d.ts +0 -13
  1396. package/dist/types/core/constants/tags.d.ts +0 -12
  1397. package/dist/types/core/constants/tokens.d.ts +0 -1
  1398. package/dist/types/core/constants/variants.d.ts +0 -12
  1399. package/dist/types/helpers/Dom/form.d.ts +0 -3
  1400. package/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1401. package/dist/types/helpers/Dom/template.d.ts +0 -10
  1402. package/dist/types/helpers/Dom/template.types.d.ts +0 -13
  1403. package/dist/types/helpers/Dom/win.d.ts +0 -18
  1404. package/dist/types/helpers/Fragment.d.ts +0 -2
  1405. package/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1406. package/dist/types/helpers/Validate/props.d.ts +0 -1
  1407. package/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1408. package/dist/types/index.d.ts +0 -1
  1409. package/dist/types/interfaces.d.ts +0 -1
  1410. package/dist/types/pages/Accordion.d.ts +0 -3
  1411. package/dist/types/pages/Breadcrumbs.d.ts +0 -3
  1412. package/dist/types/pages/Button.d.ts +0 -3
  1413. package/dist/types/pages/Card.d.ts +0 -3
  1414. package/dist/types/pages/Chip.d.ts +0 -3
  1415. package/dist/types/pages/Container.d.ts +0 -3
  1416. package/dist/types/pages/ControlGroup.d.ts +0 -3
  1417. package/dist/types/pages/Cookiebar.d.ts +0 -3
  1418. package/dist/types/pages/Empty.d.ts +0 -3
  1419. package/dist/types/pages/Error.d.ts +0 -3
  1420. package/dist/types/pages/FormLabel.d.ts +0 -3
  1421. package/dist/types/pages/FormMessage.d.ts +0 -3
  1422. package/dist/types/pages/Forms.d.ts +0 -8
  1423. package/dist/types/pages/FormsRestructure.d.ts +0 -3
  1424. package/dist/types/pages/Grid.d.ts +0 -3
  1425. package/dist/types/pages/Home.d.ts +0 -3
  1426. package/dist/types/pages/Infobar.d.ts +0 -3
  1427. package/dist/types/pages/Layout.d.ts +0 -3
  1428. package/dist/types/pages/Loading.d.ts +0 -3
  1429. package/dist/types/pages/Message.d.ts +0 -3
  1430. package/dist/types/pages/Modal.d.ts +0 -3
  1431. package/dist/types/pages/Nav.d.ts +0 -3
  1432. package/dist/types/pages/Pagination.d.ts +0 -3
  1433. package/dist/types/pages/Prompt.d.ts +0 -3
  1434. package/dist/types/pages/SideNav.d.ts +0 -3
  1435. package/dist/types/pages/Spacer.d.ts +0 -3
  1436. package/dist/types/pages/Statsbar.d.ts +0 -3
  1437. package/dist/types/pages/Stepper.d.ts +0 -3
  1438. package/dist/types/pages/Tabs.d.ts +0 -3
  1439. package/dist/types/pages/Tag.d.ts +0 -3
  1440. package/dist/types/pages/Tiles.d.ts +0 -3
  1441. package/dist/types/pages/ToastMessage.d.ts +0 -3
  1442. package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
  1443. package/dist/types/pages/Tooltip.d.ts +0 -3
  1444. package/dist/types/pages/Typography.d.ts +0 -3
  1445. package/dist/types/pages/Wizard.d.ts +0 -3
  1446. package/dist/types/stencil-public-runtime.d.ts +0 -1652
  1447. package/dist/types/types/event.types.d.ts +0 -4
  1448. package/dist/types/types/interfaces.d.ts +0 -2
  1449. package/dist/types/types/typings.d.ts +0 -6
  1450. package/dist/types/utils/array.utils.d.ts +0 -1
  1451. package/dist/types/utils/bool.utils.d.ts +0 -1
  1452. package/dist/types/utils/ds.utils.d.ts +0 -1
  1453. package/dist/types/utils/file.utils.d.ts +0 -3
  1454. package/dist/types/utils/helpers.types.d.ts +0 -49
  1455. package/dist/types/utils/icon.utils.d.ts +0 -4
  1456. package/dist/types/utils/number.utils.d.ts +0 -1
  1457. package/dist/types/utils/string.utils.d.ts +0 -3
  1458. package/dist/types/utils/utils.d.ts +0 -20
  1459. package/loader/cdn.js +0 -3
  1460. package/loader/index.cjs.js +0 -3
  1461. package/loader/index.d.ts +0 -21
  1462. package/loader/index.es2017.js +0 -3
  1463. package/loader/index.js +0 -4
  1464. package/loader/package.json +0 -11
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import{d as t,r as i,h as s,a as n,g as e}from"./p-5bc604a3.js";import{i as o,e as a}from"./p-003e6cca.js";import{g as r}from"./p-28e59384.js";import"./p-03990da5.js";var c;(function(t){t["BASIC"]="basic";t["COMPLEX"]="complex";t["COLORED"]="colored"})(c||(c={}));const h={root:"gov-icon",holder:"gov-icon__holder"};const l="4.0.5-debug-1";const p=()=>l;const d={};const f={};const u=t=>t.startsWith("http://")||t.startsWith("https://");const g=(i,s,n)=>{if(u(i)){return`${i}/${n}/${s}.svg?v=${p()}`}return t(`${i}/${n}/${s}.svg`)+`?v=${p()}`};async function m({name:t,type:i}){const s=i+"-"+t;if(d[s]){return d[s]}if(!f[s]){f[s]=fetch(g(o(),t,i)).then((t=>{if(t.status===200){return t.text()}else{throw new Error("Gov Icon doesn't exists")}}))}const n=await f[s];d[s]=n;return n}const y=".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-icon{display:inline-flex}.gov-icon__holder{display:inline-flex;width:100%;height:100%}.gov-icon__holder+.gov-icon__holder{display:none !important}.gov-icon svg{display:inline-flex;width:100%;height:100%;max-width:100%;max-height:100%}";const v=class{constructor(t){i(this,t);this.name=null;this.type="basic";this.iconData=undefined;this.visible=false;this.error=false;this.h=r(this.host)}async loadIconPathData(){const{name:t,visible:i,type:s}=this;if(!t||!i){return}try{this.iconData=await m({name:t,type:s})}catch(t){this.error=true}}connectedCallback(){if(a()){this.visible=true;this.loadIconPathData().finally()}else{this.waitUntilVisible((async()=>{this.visible=true;await this.loadIconPathData()}))}}disconnectedCallback(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}}async componentWillLoad(){await this.loadIconPathData()}waitUntilVisible(t){if(typeof window==="undefined"||!window.IntersectionObserver){t();return}this.intersectionObserver=new IntersectionObserver((i=>{i.forEach((i=>{if(i.isIntersecting){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null}t()}}))}),{rootMargin:"50px"});this.intersectionObserver.observe(this.host)}render(){if(this.error){return null}return s(n,{class:this.h.classes(h.root)},s("span",{class:h.holder,innerHTML:this.iconData}))}static get assetsDirs(){return["assets"]}get host(){return e(this)}static get watchers(){return{name:["loadIconPathData"]}}};v.style=y;export{v as gov_icon};
2
- //# sourceMappingURL=p-8418fce1.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Types","IconClass","root","holder","dsVersion","version","iconCache","requestCache","isExternalUrl","path","startsWith","iconUrl","name","type","getAssetPath","async","fetchIcon","cacheKey","fetch","iconsPath","then","resp","status","text","Error","govIconCss","GovIcon","constructor","hostRef","this","h","govHost","host","loadIconPathData","visible","iconData","e","error","connectedCallback","iconsLazyLoad","finally","waitUntilVisible","disconnectedCallback","intersectionObserver","disconnect","componentWillLoad","callback","window","IntersectionObserver","entries","forEach","entry","isIntersecting","rootMargin","observe","render","Host","class","classes","innerHTML"],"sources":["../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/components/gov-icon/gov-icon.scss?tag=gov-icon","../../../packages/core/src/components/gov-icon/gov-icon.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import { getAssetPath } from \"@stencil/core\"\nimport { dsVersion } from \"./ds.utils\"\nimport { iconsPath } from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n\tif (isExternalUrl(path)) {\n\t\treturn `${path}/${type}/${name}.svg?v=${dsVersion()}`\n\t}\n\treturn getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({ name, type }: { name: string; type: string }): Promise<string> {\n\tconst cacheKey = type + \"-\" + name\n\tif (iconCache[cacheKey]) {\n\t\treturn iconCache[cacheKey]\n\t}\n\tif (!requestCache[cacheKey]) {\n\t\trequestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n\t\t\tif (resp.status === 200) {\n\t\t\t\treturn resp.text()\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Gov Icon doesn't exists\")\n\t\t\t}\n\t\t})\n\t}\n\tconst path = await requestCache[cacheKey]\n\ticonCache[cacheKey] = path\n\treturn path\n}\n","/*\n * Icon\n */\n\n$class: \".gov-icon\";\n\n#{$class} {\n\tdisplay: inline-flex;\n\t&__holder {\n\t\tdisplay: inline-flex;\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t& + #{$class}__holder {\n\t\t\tdisplay: none !important;\n\t\t}\n\t}\n\tsvg {\n\t\tdisplay: inline-flex;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tmax-width: 100%;\n\t\tmax-height: 100%;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\n\n@Component({\n assetsDirs: [\"assets\"],\n styleUrl: \"gov-icon.scss\",\n tag: \"gov-icon\",\n})\nexport class GovIcon {\n private h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovIconElement\n /**\n * Name of icon\n */\n @Prop() name: string = null\n /**\n * Type (folder) of icon\n */\n @Prop() type: string = \"basic\"\n @State() private iconData: string\n @State() private visible = false\n @State() private error = false\n private intersectionObserver: IntersectionObserver\n\n @Watch(\"name\")\n private async loadIconPathData(): Promise<void> {\n const {name, visible, type} = this\n if (!Build.isBrowser || !name || !visible) {\n return\n }\n try {\n this.iconData = await fetchIcon({name, type})\n } catch (e) {\n this.error = true\n }\n }\n\n connectedCallback(): void {\n if (iconsLazyLoad()) {\n this.visible = true\n this.loadIconPathData().finally()\n } else {\n this.waitUntilVisible(async () => {\n this.visible = true\n await this.loadIconPathData()\n })\n }\n }\n\n disconnectedCallback(): void {\n if (this.intersectionObserver) {\n this.intersectionObserver.disconnect()\n this.intersectionObserver = null\n }\n }\n\n async componentWillLoad(): Promise<void> {\n await this.loadIconPathData()\n }\n\n private waitUntilVisible(callback: () => void): void {\n if (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n callback()\n return\n }\n this.intersectionObserver = new IntersectionObserver(\n entries => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n if (this.intersectionObserver) {\n this.intersectionObserver.disconnect()\n this.intersectionObserver = null\n }\n callback()\n }\n })\n },\n {rootMargin: \"50px\"},\n )\n this.intersectionObserver.observe(this.host)\n }\n\n render() {\n if (this.error) {\n return null\n }\n return (\n <Host class={this.h.classes(IconClass.root)}>\n <span class={IconClass.holder} innerHTML={this.iconData}></span>\n </Host>\n )\n }\n}\n"],"mappings":"uKAEA,IAAKA,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,qBACAA,EAAA,oBACA,EAJD,CAAKA,MAAK,KAOH,MAAMC,EAAY,CACxBC,KAAM,WACNC,OAAQ,oB,wBCTF,MAAMC,EAAY,IACjBC,ECCR,MAAMC,EAAuC,GAC7C,MAAMC,EAAmD,GAEzD,MAAMC,EAAiBC,GAAiBA,EAAKC,WAAW,YAAcD,EAAKC,WAAW,YACtF,MAAMC,EAAU,CAACF,EAAcG,EAAcC,KAC5C,GAAIL,EAAcC,GAAO,CACxB,MAAO,GAAGA,KAAQI,KAAQD,WAAcR,K,CAEzC,OAAOU,EAAa,GAAGL,KAAQI,KAAQD,SAAc,MAAMR,KAAa,EAGlEW,eAAeC,GAAUJ,KAAEA,EAAIC,KAAEA,IACvC,MAAMI,EAAWJ,EAAO,IAAMD,EAC9B,GAAIN,EAAUW,GAAW,CACxB,OAAOX,EAAUW,E,CAElB,IAAKV,EAAaU,GAAW,CAC5BV,EAAaU,GAAYC,MAAMP,EAAQQ,IAAaP,EAAMC,IAAOO,MAAKC,IACrE,GAAIA,EAAKC,SAAW,IAAK,CACxB,OAAOD,EAAKE,M,KACN,CACN,MAAM,IAAIC,MAAM,0B,KAInB,MAAMf,QAAaF,EAAaU,GAChCX,EAAUW,GAAYR,EACtB,OAAOA,CACR,CChCA,MAAMgB,EAAa,wkB,MCYNC,EAAO,MAGlB,WAAAC,CAAAC,G,oBAQuB,K,UAIA,Q,qCAEI,M,WACF,MAdvBC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAkBhB,sBAAMC,GACZ,MAAMrB,KAACA,EAAIsB,QAAEA,EAAOrB,KAAEA,GAAQgB,KAC9B,IAAyBjB,IAASsB,EAAS,CACzC,M,CAEF,IACEL,KAAKM,eAAiBnB,EAAU,CAACJ,OAAMC,Q,CACvC,MAAOuB,GACPP,KAAKQ,MAAQ,I,EAIjB,iBAAAC,GACE,GAAIC,IAAiB,CACnBV,KAAKK,QAAU,KACfL,KAAKI,mBAAmBO,S,KACnB,CACLX,KAAKY,kBAAiB1B,UACpBc,KAAKK,QAAU,WACTL,KAAKI,kBAAkB,G,EAKnC,oBAAAS,GACE,GAAIb,KAAKc,qBAAsB,CAC7Bd,KAAKc,qBAAqBC,aAC1Bf,KAAKc,qBAAuB,I,EAIhC,uBAAME,SACEhB,KAAKI,kB,CAGL,gBAAAQ,CAAiBK,GACvB,UAA+BC,SAAW,cAAiBA,OAAeC,qBAAsB,CAC9FF,IACA,M,CAEFjB,KAAKc,qBAAuB,IAAIK,sBAC9BC,IACEA,EAAQC,SAAQC,IACd,GAAIA,EAAMC,eAAgB,CACxB,GAAIvB,KAAKc,qBAAsB,CAC7Bd,KAAKc,qBAAqBC,aAC1Bf,KAAKc,qBAAuB,I,CAE9BG,G,IAEF,GAEJ,CAACO,WAAY,SAEfxB,KAAKc,qBAAqBW,QAAQzB,KAAKG,K,CAGzC,MAAAuB,GACE,GAAI1B,KAAKQ,MAAO,CACd,OAAO,I,CAET,OACEP,EAAC0B,EAAI,CAACC,MAAO5B,KAAKC,EAAE4B,QAAQzD,EAAUC,OACpC4B,EAAA,QAAM2B,MAAOxD,EAAUE,OAAQwD,UAAW9B,KAAKM,W"}
@@ -1,2 +0,0 @@
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